/* Store-only presentation. Corporate navigation, homepage and shared styles are retained. */
.store-page {
  --store-blue: #0650a3;
  --store-ink: #111318;
  --store-muted: #616b7b;
  background: #fff;
  color: var(--store-ink);
  font-family: Inter, "DM Sans", Arial, sans-serif;
}
.store-page h1,
.store-page h2,
.store-page h3 {
  font-family: inherit;
}
.store-page [hidden] {
  display: none !important;
}
.store-shell {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 32px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 14px;
  background: #afe0e9;
  color: #071b25;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.store-masthead {
  background: #050507;
  color: #fff;
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-block: 23px;
}
.store-wordmark {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.store-wordmark > span {
  color: #65b3ff;
}
.store-wordmark small {
  display: block;
  margin-top: 7px;
  color: #c4ccda;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.store-search {
  display: none;
  flex: 1;
  max-width: 680px;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 5px 5px 5px 20px;
  border-radius: 40px;
  background: white;
  margin: 0;
}
.store-search.is-ready {
  display: flex;
}
.store-search input {
  min-width: 0;
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 6px 0;
  color: #171717;
  background: white;
  font: inherit;
  font-size: 14px;
}
.store-search button {
  display: grid;
  place-items: center;
  border: 0;
  background: #e8eaed;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: pointer;
  color: #102745;
}
.store-search svg {
  width: 21px;
  height: 21px;
}
.masthead-status {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: #d3e2f9;
}
.masthead-status span {
  color: #65b3ff;
  margin-right: 5px;
}
.collection-nav {
  background: #06488f;
  color: white;
}
.collection-nav .store-shell {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
}
.collection-nav a {
  padding: 17px 24px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}
.collection-nav a:first-child,
.collection-nav a:hover {
  background: #0c65bd;
}
.launch-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  font-size: 13px;
  text-align: center;
}
.launch-strip strong {
  font-size: 12px;
  color: #0650a3;
  letter-spacing: 2px;
}
.showroom {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: linear-gradient(100deg, #050c1a 2%, #091d39 46%, #142545 100%);
  --light-x: 70%;
  --light-y: 40%;
}
.showroom::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      circle at var(--light-x) var(--light-y),
      #1e70db44,
      transparent 45%
    ),
    radial-gradient(circle at 98% 0%, #ad37ff23, transparent 45%);
}
.showroom-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image:
    linear-gradient(#6a9bd4 1px, transparent 1px),
    linear-gradient(90deg, #6a9bd4 1px, transparent 1px);
  background-size: 65px 65px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.showroom-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 550px;
  padding-block: 62px;
}
.hero-copy {
  position: relative;
  max-width: 58%;
  z-index: 2;
}
.store-eyebrow {
  margin: 0 0 19px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #83bdff;
}
.store-page .hero-copy h1 {
  font-size: clamp(38px, 4.8vw, 70px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -3px;
  margin: 0 0 23px;
}
.hero-copy h1 span {
  color: #55adff;
}
.store-intro {
  color: #d3dbe8;
  font-size: 15px;
  line-height: 1.8;
  max-width: 515px;
  margin: 0 0 27px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-primary,
.store-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 16px 21px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.store-primary {
  background: #1268ce;
  color: white;
}
.store-primary:hover {
  background: #0755b4;
  transform: translateY(-2px);
}
.store-secondary {
  border: 1px solid #687c98;
  color: white;
}
.store-secondary:hover {
  background: #ffffff12;
}
.visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 57%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, #1687ff4c, transparent 68%);
  filter: blur(20px);
}
.device {
  position: relative;
  width: min(78%, 510px);
  aspect-ratio: 1.25;
  transform: perspective(900px) rotateY(-13deg) rotateX(7deg) rotateZ(-4deg);
  filter: drop-shadow(0 42px 30px #0009);
}
.device-screen {
  position: absolute;
  inset: 0 0 11%;
  border-radius: 18px;
  background: linear-gradient(140deg, #162334, #070e18);
  border: 13px solid #1a2433;
  box-shadow:
    inset 0 0 0 2px #354b65,
    0 0 60px #006fee55;
  overflow: hidden;
}
.device-screen:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 32%, #347fff 0%, transparent 34%),
    conic-gradient(
      from 40deg at 50% 50%,
      #09183e,
      #173c8a,
      #0d1533,
      #7d42c3,
      #09183e
    );
  opacity: 0.88;
}
.device-screen:after {
  content: "GREAT PEARL";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(20px, 3vw, 38px);
  letter-spacing: 5px;
  font-weight: 900;
  text-shadow: 0 4px 20px #04090e;
}
.device-base {
  position: absolute;
  bottom: 0;
  left: -9%;
  width: 118%;
  height: 12%;
  background: linear-gradient(#8395ad, #23354a 42%, #0b1420);
  clip-path: polygon(9% 0, 91% 0, 100% 95%, 0 95%);
  border-radius: 4px;
}
.floating-chip {
  position: absolute;
  right: 6%;
  top: 20%;
  padding: 13px 16px;
  background: #ffffff12;
  border: 1px solid #ffffff30;
  backdrop-filter: blur(12px);
  border-radius: 13px;
  font-weight: 800;
  color: #cce5ff;
  box-shadow: 0 18px 38px #0004;
}
.visual {
  width: 46%;
  right: 10px;
}
.device {
  animation: device-float 8s ease-in-out infinite;
}
.device-screen::after {
  font-size: clamp(14px, 2.1vw, 30px);
}
.floating-chip {
  top: 14%;
  right: 5%;
  font-size: 11px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 25px;
  border-bottom: 1px solid #e7e9ed;
}
.features > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 3px 16px;
  border-right: 1px solid #e7e9ed;
  font-size: 13px;
  font-weight: 600;
}
.features > div:last-child {
  border: 0;
}
.features span {
  color: #0759b3;
  font-size: 25px;
}
.store-section {
  padding-block: 55px;
}
.section-heading-store {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.store-page h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.section-heading-store p {
  color: var(--store-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}
.preview-label {
  font-size: 11px;
  color: #59677a;
  white-space: nowrap;
  padding-bottom: 5px;
}
.category-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}
.category-tile {
  display: block;
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border-radius: 12px;
  padding: 23px 18px;
  background: linear-gradient(145deg, #edf4ff, #d3e5fa);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.tile-networking {
  background: linear-gradient(145deg, #e7e5ff, #c9c5f2);
}
.tile-smart {
  background: linear-gradient(145deg, #e2f7f7, #a8dddd);
}
.tile-engineering {
  background: linear-gradient(145deg, #f7e9e2, #e7c7b5);
}
.tile-software {
  background: linear-gradient(145deg, #e6efff, #c3d7ee);
}
.category-tile h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 9px;
  position: relative;
  z-index: 1;
}
.category-tile p {
  font-size: 11px;
  color: #40556b;
  margin: 0;
  position: relative;
  z-index: 1;
}
.tile-art {
  position: absolute;
  right: 8px;
  bottom: -14px;
  font-size: 92px;
  transform: rotate(-14deg);
  filter: drop-shadow(0 16px 12px #20304635);
}
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px #14304d15;
}
.collections {
  background: #f6f7fa;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.category-card {
  position: relative;
  min-width: 0;
  background: white;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  overflow: hidden;
  --accent: #1475e3;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  scroll-margin-top: 25px;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #16396013;
  border-color: #91b5de;
}
.card-visual {
  height: 205px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #eef4ff, #e0e8f3);
  overflow: hidden;
}
.tone-violet .card-visual {
  background: radial-gradient(circle at center, #f3eeff, #ded8f2);
}
.tone-white .card-visual {
  background: radial-gradient(circle at center, #f8f4ee, #eae2d8);
}
.card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    180px circle at var(--light-x, -300px) var(--light-y, -300px),
    #fff9,
    transparent
  );
}
.category-art {
  font-size: 96px;
  filter: drop-shadow(0 15px 9px #455b7a25);
  transition: transform 0.3s;
}
.category-card:hover .category-art {
  transform: translateY(-3px) rotate(-3deg);
}
.category-status {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 16px;
  border-radius: 3px;
  background: #0d59a5;
  color: white;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.card-body {
  padding: 23px;
}
.card-kicker {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #616b7b;
  margin: 0 0 9px;
}
.category-card h3 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-weight: 800;
  margin: 0 0 10px;
}
.card-body > p:not(.card-kicker) {
  font-size: 13px;
  color: var(--store-muted);
  line-height: 1.8;
  margin: 0;
  min-height: 47px;
}
.card-footnote {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e7e9ed;
  margin-top: 20px;
  padding-top: 16px;
  color: #0650a3;
  font-size: 11px;
  font-weight: 600;
}
.store-outline {
  border: 1px solid #bcc9da;
  color: #18436d;
  background: white;
  border-radius: 5px;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.search-status {
  color: #45536a;
  font-size: 14px;
  line-height: 1.8;
}
.search-status:empty {
  display: none;
}
.future-note {
  background: #06152a;
  color: white;
  text-align: center;
  padding: 55px 0;
}
.future-note h2 {
  font-size: 32px;
}
.future-note p:not(.store-eyebrow) {
  color: #c2d0e3;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 23px;
}
.future-note .store-eyebrow {
  font-size: 10px;
}
.store-page footer {
  background: #030912;
  color: #d5e2f2;
  font-size: 11px;
}
.store-page footer > span {
  color: #a3b1c5;
}
.reveal {
  transition:
    opacity 0.6s,
    transform 0.6s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.awaiting-reveal {
  opacity: 0;
  transform: translateY(15px);
}
@keyframes device-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@media (min-width: 1600px) {
  .store-shell {
    padding-inline: 40px;
  }
}
@media (max-width: 1100px) {
  .masthead-inner {
    gap: 25px;
  }
  .store-wordmark {
    font-size: 21px;
  }
  .masthead-status {
    display: none;
  }
  .collection-nav a {
    padding-inline: 17px;
  }
  .category-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-copy {
    max-width: 60%;
  }
  .store-page .hero-copy h1 {
    font-size: clamp(37px, 4.8vw, 55px);
    letter-spacing: -2px;
  }
  .floating-chip {
    font-size: 9px;
    top: 19%;
  }
  .visual {
    width: 42%;
  }
  .device {
    width: 90%;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .store-shell {
    padding-inline: 22px;
  }
  .masthead-inner {
    flex-wrap: wrap;
    gap: 17px;
    padding-block: 19px;
  }
  .store-search {
    flex-basis: 100%;
    max-width: none;
    height: 46px;
  }
  .store-search button {
    height: 36px;
    width: 36px;
  }
  .store-wordmark {
    font-size: 22px;
  }
  .store-wordmark small {
    font-size: 10px;
  }
  .collection-nav .store-shell {
    justify-content: flex-start;
    padding-inline: 7px;
    gap: 0;
  }
  .collection-nav a {
    padding: 14px 16px;
    font-size: 12px;
  }
  .launch-strip {
    flex-direction: column;
    gap: 7px;
    padding: 13px 16px;
    font-size: 12px;
  }
  .showroom-inner {
    display: block;
    padding-block: 38px 315px;
    min-height: 0;
  }
  .hero-copy {
    max-width: 100%;
  }
  .store-page .hero-copy h1 {
    font-size: clamp(35px, 7.5vw, 56px);
    letter-spacing: -1.9px;
  }
  .store-eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
    margin-bottom: 17px;
  }
  .store-intro {
    font-size: 14px;
    max-width: 520px;
  }
  .visual {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 290px;
    right: 0;
  }
  .device {
    width: 270px;
    max-width: 69%;
  }
  .floating-chip {
    top: 6%;
    right: 7%;
    font-size: 9px;
  }
  .glow {
    width: 300px;
    height: 300px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-block: 18px;
  }
  .features > div {
    border: 0;
    justify-content: flex-start;
    padding: 0;
    font-size: 12px;
  }
  .features span {
    font-size: 21px;
  }
  .store-section {
    padding-block: 40px;
  }
  .section-heading-store {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }
  .store-page h2 {
    font-size: 26px;
  }
  .section-heading-store p {
    font-size: 13px;
  }
  .category-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-tile {
    min-height: 175px;
    padding: 20px 16px;
  }
  .category-tile h3 {
    font-size: 16px;
  }
  .category-tile p {
    font-size: 10px;
    max-width: 110px;
    line-height: 1.6;
  }
  .tile-art {
    font-size: 78px;
  }
  .category-grid {
    gap: 14px;
  }
  .card-visual {
    height: 175px;
  }
  .category-art {
    font-size: 78px;
  }
  .card-body {
    padding: 18px;
  }
  .category-card h3 {
    font-size: 17px;
  }
  .card-body > p:not(.card-kicker) {
    min-height: 0;
  }
  .card-footnote {
    font-size: 10px;
    gap: 10px;
    line-height: 1.6;
  }
  .future-note {
    padding-block: 45px;
  }
}
@media (max-width: 440px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .card-visual {
    height: 195px;
  }
  .category-art {
    font-size: 96px;
  }
  .store-primary,
  .store-secondary {
    padding: 14px 15px;
    font-size: 12px;
  }
  .store-shell {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-page *,
  .store-page *::before,
  .store-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .awaiting-reveal {
    opacity: 1;
    transform: none;
  }
  .category-card:hover,
  .category-tile:hover,
  .category-card:hover .category-art,
  .store-primary:hover {
    transform: none;
  }
  .showroom::after,
  .card-visual::after {
    display: none;
  }
}

/* Vector illustrations render consistently on every device. */
.tile-art {
  width: 145px;
  height: 130px;
  font-size: 0;
  bottom: -9px;
  right: -10px;
}
.tile-art svg,
.category-art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.category-art {
  width: 165px;
  height: 145px;
  font-size: 0;
}
@media (max-width: 760px) {
  .tile-art {
    width: 125px;
    height: 110px;
    right: -10px;
  }
  .category-art {
    width: 145px;
    height: 130px;
  }
}

/* Integrate the preview with greatpearl-web's shared shell and local fonts. */
.store-page #main a {
  text-decoration: none;
}
.store-page .collection-nav {
  display: block;
}
.store-page .collection-nav .store-shell {
  width: 100%;
}
.store-page .store-wordmark {
  color: white;
}
.store-page #main :is(a, button, input):focus-visible {
  outline: 3px solid #398bf2;
  outline-offset: 4px;
}
