/* Storefront catalogue: categories and purchasable products deliberately have
   separate visual roles. The strip browses; product cards open checkout. */
.shop-categories { position: relative; isolation: isolate; overflow: hidden; scroll-margin-top: 84px; padding: clamp(34px, 4vw, 58px) 0 0; background: #061a30 url("/assets/images/shop/category-explore-background-v1.png") center / 100% 100% no-repeat; }
.shop-boot-loading { display: grid; min-height: min(56vh, 520px); place-items: center; padding: 48px 24px; background: linear-gradient(135deg, #f7fbfe, #eaf4fa); color: #52718a; text-align: center; }
.shop-boot-loading[hidden] { display: none !important; }
.shop-boot-loading .shop-kicker { color: #197abd; }
.shop-boot-loading p { margin: 10px 0 0; font-size: .92rem; font-weight: 700; }
.shop-categories::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(1,11,24,.18), rgba(1,16,30,0) 48%, rgba(247,251,254,.16)); content: ""; pointer-events: none; }
.shop-categories-inner { position: relative; z-index: 1; }
.shop-category-head { align-items: end; padding-bottom: 14px; border-color: rgba(188,225,246,.42); }
.shop-category-head .shop-kicker { color: #9bdcff; }
.shop-category-head h2 { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.8rem); text-shadow: 0 4px 30px rgba(0,0,0,.24); }
.shop-category-head > p { color: #d6eafb; text-shadow: 0 1px 15px rgba(0,0,0,.42); }
.shop-category-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(7px, .9vw, 15px); align-items: stretch; overflow: visible; padding: clamp(22px, 2.6vw, 38px) 0 clamp(20px, 2.8vw, 40px); scrollbar-width: none; scroll-snap-type: x proximity; }
.shop-category-strip::-webkit-scrollbar { display: none; }
.shop-category { display: grid; min-width: 0; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 86px; padding: 13px 10px; border: 1px solid rgba(207,224,236,.9); border-bottom: 2px solid transparent; border-radius: 14px; background: rgba(255,255,255,.92); color: #143c5f; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; box-shadow: 0 10px 28px rgba(3,25,45,.12); transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.shop-category:hover, .shop-category.active { border-color: rgba(28,132,195,.75); border-bottom-color: #197ec0; background: #fff; box-shadow: 0 15px 34px rgba(3,25,45,.18); color: #0d5a91; transform: translateY(-2px); }
.shop-category-icon { display: grid; place-items: center; width: 42px; height: 42px; color: #0f6fae; }
.shop-category-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.shop-category strong, .shop-category small { display: block; }
.shop-category strong { font-size: .88rem; line-height: 1.35; }
.shop-category small { margin-top: 5px; color: #587992; font-size: .67rem; line-height: 1.45; }
.shop-category.active small { color: #4d7697; }

.shop-products { min-height: 0; margin: 0 0 clamp(72px, 9vw, 132px); padding: clamp(34px, 4vw, 58px) 0 clamp(38px, 5vw, 72px); background: linear-gradient(135deg, rgba(247,251,254,.96), var(--catalog-tint, #edf6fb)); }
.shop-products.is-empty { padding-bottom: clamp(28px, 3vw, 46px); }
.shop-products.is-empty .shop-showcase-head { padding-bottom: 0; border-bottom-color: transparent; }
.shop-products.is-empty .shop-showcase-actions { display: none; }
.shop-showcase-head { align-items: end; gap: 25px; padding-bottom: 20px; }
.shop-showcase-head h2 { margin-bottom: 4px; }
.shop-category-description { max-width: 620px; margin: 9px 0 0; color: #6d8398; font-size: .86rem; line-height: 1.6; }
.shop-showcase-actions { display: flex; gap: 17px; align-items: center; padding-bottom: 4px; }
#shop-product-count { color: #71869a; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.shop-carousel-controls { display: flex; gap: 8px; }
.shop-carousel-controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #cfdae3; border-radius: 50%; background: #fff; color: #1d5f92; font: inherit; font-size: 1rem; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.shop-carousel-controls button:hover:not(:disabled) { border-color: #1378bb; background: #1378bb; color: #fff; }
.shop-carousel-controls button:disabled { opacity: .35; cursor: not-allowed; }
.shop-product-grid { display: flex; gap: clamp(12px, 1.4vw, 22px); width: 100%; margin-top: 24px; padding: 0 clamp(16px, 4.75vw, 92px) 20px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-behavior: smooth; scroll-padding-inline: clamp(16px, 4.75vw, 92px); scroll-snap-type: x mandatory; }
.shop-product-grid::-webkit-scrollbar { display: none; }
.shop-product-skeleton { flex: 0 0 clamp(280px, 20.5vw, 380px); height: clamp(365px, 24vw, 455px); border-radius: clamp(18px, 1.7vw, 27px); }
.shop-product-card, .shop-product-card:only-child { position: relative; display: block; flex: 0 0 clamp(280px, 20.5vw, 380px); min-height: clamp(365px, 24vw, 455px); overflow: hidden; border-radius: clamp(18px, 1.7vw, 27px); background: #0a1b2d; color: var(--card-copy-color, #fff); isolation: isolate; scroll-snap-align: start; scroll-snap-stop: always; }
.shop-product-art, .shop-product-card:only-child .shop-product-art { position: absolute; z-index: 0; inset: 0; display: block; min-height: 0; height: auto; background: #0a1b2d; }
.shop-product-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,15,29,.66) 0%, rgba(3,15,29,.12) 53%, rgba(3,15,29,.58) 100%); content: ""; pointer-events: none; transition: opacity .25s ease; }
.shop-product-card[data-copy-visible="false"] .shop-product-art::after { opacity: 0; }
.shop-product-art img { width: 100%; height: 100%; object-fit: cover; }
.shop-product-info, .shop-product-card:only-child .shop-product-info { position: relative; z-index: 1; display: flex; min-height: clamp(365px, 24vw, 455px); height: 100%; flex: 1; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: clamp(20px, 2vw, 29px); background: transparent; color: var(--card-copy-color, #fff); text-align: left; text-shadow: 0 1px 16px rgba(0,0,0,.42); }
.shop-product-info[hidden] { display: none !important; }
.shop-product-info h3, .shop-product-card:only-child .shop-product-info h3 { margin: 6px 0 8px; color: inherit; font-size: clamp(1.36rem, 1.55vw, 1.8rem); letter-spacing: -.048em; line-height: 1.08; }
.shop-product-info p, .shop-product-card:only-child .shop-product-info p { display: -webkit-box; overflow: hidden; max-width: 27ch; margin: 0; color: inherit; font-size: .82rem; line-height: 1.55; opacity: .9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shop-product-price, .shop-product-card:only-child .shop-product-price { position: static; margin-top: 14px; padding: 0; color: inherit; font-size: .78rem; font-weight: 800; }
.shop-product-state, .shop-product-card:only-child .shop-product-state { margin: 0; color: inherit; font-size: .67rem; font-weight: 900; letter-spacing: .12em; opacity: .93; }
.shop-product-card[data-copy-position="top_center"] .shop-product-info, .shop-product-card[data-copy-position="bottom_center"] .shop-product-info { align-items: center; text-align: center; }
.shop-product-card[data-copy-position="top_right"] .shop-product-info, .shop-product-card[data-copy-position="bottom_right"] .shop-product-info { align-items: flex-end; text-align: right; }
.shop-product-card[data-copy-position="bottom_left"] .shop-product-info, .shop-product-card[data-copy-position="bottom_center"] .shop-product-info, .shop-product-card[data-copy-position="bottom_right"] .shop-product-info { justify-content: flex-end; }
.shop-product-card[data-copy-size="compact"] .shop-product-info h3 { font-size: clamp(1.05rem, 1.2vw, 1.35rem); }
.shop-product-card[data-copy-size="compact"] .shop-product-info p { font-size: .72rem; }
.shop-product-card[data-copy-size="large"] .shop-product-info h3 { font-size: clamp(1.7rem, 2.2vw, 2.4rem); }
.shop-product-card[data-copy-size="large"] .shop-product-info p { font-size: .92rem; }
.shop-empty { flex: 0 0 min(100%, 700px); min-height: 220px; padding: 70px 34px; border: 1px dashed #bfcfdb; background: #f7fafc; color: #668095; text-align: center; }

#shop-main[data-category="all"] { --catalog-tint: #edf5fa; --catalog-deep: #143d62; }
#shop-main[data-category="software"] { --catalog-tint: #e5f3fb; --catalog-deep: #0b4777; }
#shop-main[data-category="servers"] { --catalog-tint: #edf0f7; --catalog-deep: #344b83; }
#shop-main[data-category="network"] { --catalog-tint: #e6f6f3; --catalog-deep: #16685f; }
#shop-main[data-category="cloud"] { --catalog-tint: #f0edff; --catalog-deep: #5b4992; }
#shop-main[data-category="devices"] { --catalog-tint: #fff1e6; --catalog-deep: #8b4d20; }
#shop-main .shop-product-placeholder { background: radial-gradient(circle at 70% 22%, rgba(103,199,247,.62), transparent 0 18%), linear-gradient(140deg, var(--catalog-deep, #174c7d), #071b31); }
#shop-main[data-category="servers"] .shop-product-placeholder { background: radial-gradient(circle at 28% 26%, rgba(174,192,255,.68), transparent 0 16%), linear-gradient(140deg, #273a70, #08152b); }
#shop-main[data-category="network"] .shop-product-placeholder { background: radial-gradient(circle at 70% 26%, rgba(93,231,193,.55), transparent 0 16%), linear-gradient(140deg, #0d605b, #092b3a); }
#shop-main[data-category="cloud"] .shop-product-placeholder { background: radial-gradient(circle at 65% 28%, rgba(199,166,255,.64), transparent 0 18%), linear-gradient(140deg, #493b83, #101d4e); }
#shop-main[data-category="devices"] .shop-product-placeholder { background: radial-gradient(circle at 68% 24%, rgba(255,188,119,.65), transparent 0 16%), linear-gradient(140deg, #814114, #20253e); }

.shop-order-form[hidden], .shop-order-success[hidden] { display: none !important; }
.shop-order-success { display: grid; min-height: 390px; align-content: center; justify-items: start; gap: 14px; padding: 22px 0; }
.shop-order-success-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e9f8ef; color: #227252; font-size: 1.75rem; font-weight: 900; }
.shop-order-success h3 { margin: 4px 0 0; color: #173f70; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.04em; }
.shop-order-success p { max-width: 460px; margin: 0; color: #638096; line-height: 1.7; }
.shop-order-success strong { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; background: #edf6fb; color: #176eab; font-size: .82rem; }

/* Product configurator: keep the decision context visible while only the
   long option column scrolls. The broad stage uses the available display
   width instead of the catalogue's deliberately narrower reading measure. */
#product-main { min-height: calc(100vh - 72px); }
.product-sticky-bar { position: sticky; z-index: 35; top: 72px; border-bottom: 1px solid rgba(206, 218, 228, .9); background: rgba(255, 255, 255, .94); box-shadow: 0 9px 24px rgba(23, 57, 88, .05); backdrop-filter: blur(18px); }
.product-sticky-bar-inner { display: flex; width: calc(100% - clamp(64px, 6vw, 180px)); min-height: 66px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 28px; }
.product-topbar-title { overflow: hidden; margin: 0; color: #102d4a; font-size: clamp(1.05rem, 1.4vw, 1.45rem); line-height: 1.2; letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.product-topbar-price { flex: 0 0 auto; margin: 0; color: #144f80; font-size: clamp(.92rem, 1.1vw, 1.08rem); font-weight: 900; white-space: nowrap; }
.product-layout { grid-template-columns: minmax(0, 1fr) clamp(420px, 23vw, 720px); align-items: start; gap: clamp(26px, 3.2vw, 64px); width: calc(100% - clamp(64px, 6vw, 180px)); padding: clamp(25px, 2.4vw, 44px) 0 clamp(54px, 6vw, 100px); }
.product-media { top: 154px; height: max(520px, calc(100dvh - 200px)); min-height: 0; padding: clamp(24px, 3vw, 64px); border: 1px solid #e2e7eb; border-radius: clamp(20px, 2vw, 32px); background: #f1f2f4; box-shadow: 0 20px 54px rgba(16, 38, 61, .08); }
.product-media-visual { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.product-media img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-media .shop-product-placeholder { width: 100%; height: 100%; border-radius: 18px; }
.product-media-copy { position: absolute; z-index: 2; top: clamp(20px, 2.2vw, 34px); left: clamp(20px, 2.2vw, 34px); max-width: min(72%, 460px); color: #30475b; pointer-events: none; }
.product-media-copy span { display: block; color: #1477b9; font-size: .7rem; font-weight: 900; letter-spacing: .11em; }
.product-media-copy p { margin: 7px 0 0; color: #617384; font-size: clamp(.76rem, .9vw, .9rem); line-height: 1.65; }
.product-config-shell { position: sticky; top: 154px; align-self: start; height: calc(100dvh - 200px); min-height: 0; padding-right: 34px; }
.product-config { height: 100%; overflow-y: auto; padding: 2px 2px 34px; overscroll-behavior: contain; scrollbar-width: none; }
.product-config::-webkit-scrollbar { width: 0; height: 0; }
.product-step-dots { position: absolute; z-index: 6; top: 50%; right: 0; display: grid; gap: 11px; padding: 10px 0; transform: translateY(-50%); }
.product-step-dot { display: block; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #d2dce4; color: transparent; cursor: pointer; transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, opacity .22s ease; }
.product-step-dot:hover:not(:disabled) { background: #7ba8ca; transform: scale(1.28); }
.product-step-dot.active { background: #164e7d; box-shadow: 0 0 0 4px rgba(25, 126, 192, .13); animation: product-step-dot-arrive .38s cubic-bezier(.2, .9, .28, 1.22); }
.product-step-dot:disabled { opacity: .38; cursor: not-allowed; }
@keyframes product-step-dot-arrive { 0% { transform: scale(.52); } 58% { transform: scale(1.42); } 100% { transform: scale(1); } }
.product-config .product-price { position: sticky; z-index: 3; top: -2px; margin: -2px 0 18px; padding: 12px 0 16px; border-bottom: 1px solid var(--store-line); background: #fff; color: #144f80; }
.product-config .product-step:first-child { border-top: 0; }

@media (max-width: 900px) {
  #product-main { min-height: auto; }
  .product-sticky-bar { position: relative; top: auto; }
  .product-sticky-bar-inner, .product-layout { width: var(--store-shell); }
  .product-sticky-bar-inner { min-height: 60px; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .product-media { position: relative; top: auto; width: 100%; height: min(78vw, 560px); min-height: 0; }
  .product-config-shell { position: relative; top: auto; height: auto; padding-right: 0; }
  .product-config { height: auto; overflow: visible; padding: 0 0 42px; }
  .product-step-dots { display: none; }
  .product-config .product-price { position: static; margin: 0 0 24px; padding: 0 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-step-dot { transition: none; }
  .product-step-dot.active { animation: none; }
}

@media (max-width: 580px) {
  .product-sticky-bar-inner { width: min(100% - 32px, 1440px); min-height: 56px; gap: 16px; }
  .product-topbar-title { font-size: 1rem; }
  .product-topbar-price { font-size: .82rem; }
  .product-layout { width: min(100% - 32px, 1440px); padding-top: 20px; }
  .product-media { height: 360px; min-height: 0; padding: 24px; border-radius: 20px; }
  .product-media-copy { top: 18px; left: 18px; max-width: calc(100% - 36px); }
}

/* Product media carousel: imagery and long-form copy live on separate pages,
   never on top of each other.  The scroll-snap track also provides native
   swipe interaction on touch screens. */
.product-media { display: block; padding: 0; }
.product-media-copy { display: none; }
.product-media-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}
.product-media-track::-webkit-scrollbar { display: none; }
.product-media-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.product-media-image { padding: clamp(30px, 4.2vw, 76px); background: #f1f2f4; }
.product-media-image .product-media-visual { width: 100%; height: 100%; }
.product-media-details {
  overflow: hidden;
  padding: clamp(38px, 4.5vw, 68px) clamp(64px, 7vw, 108px) clamp(66px, 6vw, 84px);
  background: linear-gradient(145deg, #f8fbfd 0%, #edf4f8 100%);
}
.product-media-detail-card { display: grid; width: 100%; height: 100%; min-height: 0; grid-template-rows: auto minmax(0,1fr); gap: clamp(18px,2.1vw,28px); color: #173b5d; }
.product-media-detail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 2px 16px; border-bottom: 1px solid #d2e0e9; }
.product-media-detail-head span { color: #1477b9; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.product-media-detail-head h2 { margin: 7px 0 0; font-size: clamp(1.65rem,2.5vw,2.55rem); line-height: 1.05; letter-spacing: -.055em; }
.product-media-detail-head small { flex: 0 0 auto; color: #7890a3; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.product-media-section-grid { display: grid; min-height: 0; grid-template-columns: repeat(var(--detail-columns,1),minmax(0,1fr)); gap: clamp(12px,1.5vw,20px); }
.product-media-section { position: relative; min-width: 0; overflow: hidden; padding: clamp(19px,2vw,28px); border: 1px solid #d5e2eb; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 14px 36px rgba(18,59,91,.06); }
.product-media-section > span { display: inline-grid; width: 27px; height: 27px; place-items: center; margin-bottom: 12px; border-radius: 50%; background: #eaf5fc; color: #1475b4; font-size: .62rem; font-weight: 900; }
.product-media-section h3 { margin: 0 0 13px; color: #163f65; font-size: clamp(.95rem,1.25vw,1.17rem); letter-spacing: -.025em; }
.product-media-section ul { display: grid; align-content: start; gap: clamp(7px,1vh,11px); margin: 0; padding: 0; list-style: none; }
.product-media-section li { position: relative; margin: 0; padding-left: 15px; color: #536f85; font-size: clamp(.72rem,.86vw,.88rem); line-height: 1.58; overflow-wrap: anywhere; }
.product-media-section li::before { position: absolute; top: .62em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #2c8bc4; content: ""; }
.product-media-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(133,158,178,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 24px rgba(15,48,76,.13);
  color: #174f7d;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.product-media-arrow:hover:not(:disabled) { background: #fff; transform: translateY(-50%) scale(1.06); }
.product-media-arrow:disabled { opacity: .3; cursor: default; }
.product-media-previous { left: 18px; }
.product-media-next { right: 18px; }
.product-media-pagination {
  position: absolute;
  z-index: 6;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 7px 20px rgba(16,50,79,.1);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}
.product-media-pagination button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #b7c6d2; cursor: pointer; transition: width .25s ease, border-radius .25s ease, background-color .25s ease; }
.product-media-pagination button.active { width: 22px; border-radius: 8px; background: #176fac; }
.product-media-counter { position: absolute; z-index: 6; right: 22px; bottom: 24px; color: #597287; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
@media (max-width: 900px) {
  .product-media-image { padding: clamp(28px, 7vw, 62px); }
  .product-media-details { padding: 38px 64px 68px; }
}
@media (max-width: 580px) {
  .product-media { padding: 0; }
  .product-media-image { padding: 28px 24px 52px; }
  .product-media-details { padding: 24px 52px 54px; }
  .product-media-detail-card { gap: 12px; }
  .product-media-detail-head { align-items: center; gap: 10px; padding-bottom: 10px; }
  .product-media-detail-head span { font-size: .52rem; letter-spacing: .1em; }
  .product-media-detail-head h2 { margin-top: 4px; font-size: 1.35rem; }
  .product-media-detail-head small { font-size: .55rem; }
  .product-media-section { padding: 16px 17px; border-radius: 11px; }
  .product-media-section > span { width: 23px; height: 23px; margin-bottom: 7px; font-size: .55rem; }
  .product-media-section h3 { margin-bottom: 8px; font-size: .92rem; }
  .product-media-section ul { gap: 6px; }
  .product-media-section li { padding-left: 12px; font-size: .7rem; line-height: 1.42; }
  .product-media-section li::before { width: 4px; height: 4px; }
  .product-media-arrow { width: 38px; height: 38px; font-size: .9rem; }
  .product-media-previous { left: 10px; }
  .product-media-next { right: 10px; }
  .product-media-pagination { bottom: 13px; }
  .product-media-counter { right: 14px; bottom: 18px; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .product-media-track { scroll-behavior: auto; }
  .product-media-arrow,.product-media-pagination button { transition: none; }
}

/* Customer account and saved cart: customer data is kept separate from the
   staff portal and only the account dialog handles Google Identity Services. */
.shop-tool-button { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; border: 1px solid #d8e2eb; background: #fff; color: #1b5f9a; font: inherit; font-size: .74rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.shop-tool-button:hover { border-color: #1b70b2; background: #eef7fd; }
.shop-cart-button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; padding: 0 9px; }
#shop-cart-count { display: inline-grid; min-width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #1477bb; color: #fff; font-size: .62rem; }
.shop-account-shell { position: fixed; z-index: 160; inset: 0; display: grid; place-items: center; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: rgba(4, 19, 34, .72); backdrop-filter: blur(9px); -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.shop-account-shell[hidden] { display: none; }
.shop-account-open { overscroll-behavior: none; }
body.shop-account-open { position: fixed; right: 0; left: 0; width: 100%; overflow: hidden; }
.shop-account-dialog { position: relative; width: min(100%, 760px); max-height: min(90dvh, 920px); overflow: hidden; padding: clamp(28px, 4vw, 52px); background: #fff; box-shadow: 0 34px 100px rgba(0,0,0,.34); }
.shop-account-dialog[data-mode="flow"] { display: grid; width: min(100%, 880px); max-height: calc(100dvh - 48px); grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.shop-account-dialog[data-mode="flow"] .shop-account-content { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.shop-account-close { position: absolute; top: 15px; right: 18px; border: 0; background: transparent; color: #52728d; font-size: 1.7rem; cursor: pointer; }
.shop-account-dialog h2 { margin: 9px 0; color: #173f70; font-size: clamp(1.75rem, 3.2vw, 2.65rem); letter-spacing: -.055em; }
.shop-account-lead { max-width: 600px; margin: 0; color: #637c91; line-height: 1.75; }
.shop-google-slot { min-height: 44px; margin-top: 25px; }
.shop-account-message { min-height: 1.5em; margin: 16px 0 0; color: #607488; font-size: .82rem; line-height: 1.55; }
.shop-account-message.error { color: #af3f49; }
.shop-account-message.success { color: #207342; }
.shop-legal-review { margin-top: 20px; padding-top: 19px; border-top: 1px solid #dce6ee; }
.shop-legal-review h3 { margin: 0 0 9px; color: #194c78; font-size: .98rem; }
.shop-legal-check,.shop-remember-choice { display: flex; gap: 9px; align-items: flex-start; margin-top: 10px; color: #3e617d; font-size: .8rem; line-height: 1.55; }
.shop-legal-check input,.shop-remember-choice input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: #1477bb; }
.shop-account-primary,.shop-account-secondary,.shop-account-danger { min-height: 39px; margin: 19px 9px 0 0; padding: 0 14px; border: 1px solid #bcd0df; background: #fff; color: #265a82; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.shop-account-primary { border-color: #1477bb; background: #1477bb; color: #fff; }
.shop-account-primary:disabled { border-color: #b5c8d6; background: #b5c8d6; cursor: not-allowed; }
.shop-account-danger { border-color: #e2c7ca; color: #a24a50; }
.shop-account-identity,.shop-account-session { margin: 16px 0 0; color: #52718a; font-size: .8rem; }

/* Sign-in and first-account consent use distinct, focused panels. */
.shop-account-dialog[data-mode="login"] { width: min(100%, 900px); padding: 0; }
.shop-account-dialog[data-mode="login"] .shop-account-close { z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.88); line-height: 1; }
.shop-login-layout { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(360px,1.15fr); min-height: 510px; }
.shop-login-visual { position: relative; overflow: hidden; padding: 52px 42px; background: radial-gradient(circle at 86% 20%,rgba(44,177,237,.35),transparent 0 22%),linear-gradient(145deg,#071d35,#0c3e67 60%,#0d6599); color: #fff; }
.shop-login-visual .shop-kicker { color: #8bd8ff; }
.shop-login-visual h3 { max-width: 320px; margin: 20px 0 34px; color: #fff; font-size: clamp(1.8rem,3.1vw,2.65rem); letter-spacing: -.055em; line-height: 1.12; }
.shop-login-visual ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; color: #d0e8f5; font-size: .82rem; }
.shop-login-visual li::before { margin-right: 9px; color: #83d9ff; content: "✓"; font-weight: 900; }
.shop-login-orbit { position: absolute; right: -76px; bottom: -76px; width: 235px; height: 235px; border: 1px solid rgba(149,224,255,.35); border-radius: 50%; box-shadow: 0 0 0 30px rgba(129,213,251,.08),0 0 0 61px rgba(129,213,251,.04); }
.shop-login-panel { display: flex; justify-content: center; flex-direction: column; min-width: 0; padding: 55px clamp(36px,5vw,68px); }
.shop-login-panel h2 { font-size: clamp(2.25rem,4vw,3.4rem); }
.shop-login-legal { max-width: 420px; margin: 24px 0 0; color: #718699; font-size: .72rem; line-height: 1.7; }
.shop-login-legal a { color: #176da7; text-underline-offset: 3px; }
.shop-signup-progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin: 0 0 28px; padding: 0; list-style: none; }
.shop-signup-progress li { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid #d9e5ed; color: #8295a6; font-size: .69rem; font-weight: 800; }
.shop-signup-progress li span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #cbdbe6; border-radius: 50%; font-size: .62rem; }
.shop-signup-progress li.active { border-color: #1478bc; color: #175e90; }
.shop-signup-progress li.active span { border-color: #1478bc; background: #1478bc; color: #fff; }
.shop-signup-progress li.done { border-color: #75b6dc; color: #598099; }
.shop-signup-progress li.done span { overflow: hidden; border-color: #1478bc; background: #1478bc; color: transparent; font-size: 0; }
.shop-signup-progress li.done span::after { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; content: "✓"; font-size: 1rem; font-weight: 900; line-height: 1; transform: translateY(-.02em); }
.shop-policy-card { display: grid; grid-template-columns: 1fr auto; gap: 7px 24px; margin-top: 16px; padding: 18px 20px; border: 1px solid #d5e3ec; border-radius: 12px; background: linear-gradient(135deg,#fff,#f5fafd); }
.shop-policy-card h3 { margin: 0; color: #194a75; font-size: .96rem; }
.shop-policy-card p { grid-column: 1/-1; margin: 0; color: #60788c; font-size: .78rem; line-height: 1.62; }
.shop-policy-card>a { grid-row: 1; grid-column: 2; color: #1374b4; font-size: .7rem; font-weight: 800; text-decoration: none; }
.shop-policy-card .shop-legal-check { grid-column: 1/-1; margin-top: 6px; padding-top: 10px; border-top: 1px solid #e1e9ef; }

/* Each policy is displayed in full. The acknowledgement stays locked until
   the reader has actually reached the end of the current document. */
.shop-account-dialog[data-mode="legal-reader"] { width: min(100%, 1040px); height: min(880px, calc(100dvh - 42px)); max-height: none; padding: 28px 34px 25px; overflow: hidden; }
.shop-account-dialog[data-mode="legal-reader"] .shop-account-close { z-index: 3; top: 18px; right: 22px; width: 34px; height: 34px; border: 1px solid #d4e1ea; border-radius: 50%; background: #fff; font-size: 1.4rem; line-height: 1; }
.shop-account-dialog[data-mode="legal-reader"] .shop-account-content { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto minmax(0,1fr) 3px auto; }
.shop-account-dialog[data-mode="legal-reader"] .shop-signup-progress { margin: 0 52px 18px 0; }
.shop-inline-legal-head { min-width: 0; padding: 0 4px 15px; }
.shop-inline-legal-head .shop-kicker { margin: 0 0 4px; color: #1375b5; font-size: .65rem; font-weight: 900; letter-spacing: .14em; }
.shop-inline-legal-head h2 { margin: 0; font-size: clamp(1.65rem,2.6vw,2.35rem); }
.shop-inline-legal-head>p:last-child { margin: 7px 0 0; color: #657e92; font-size: .78rem; line-height: 1.55; }
.shop-inline-legal-document { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 31px 36px; border: 1px solid #d6e3ec; border-bottom: 0; border-radius: 10px 10px 0 0; background: #fbfdfe; scrollbar-color: #9cb8ca transparent; scrollbar-width: thin; }
.shop-inline-legal-document:focus-visible { outline: 2px solid #1478bc; outline-offset: -2px; }
.shop-inline-legal-document h3 { margin: 0 0 10px; color: #123c64; font-size: clamp(1.45rem,2.3vw,2.05rem); letter-spacing: -.045em; }
.shop-inline-legal-document h4 { margin: 34px 0 12px; padding-top: 22px; border-top: 1px solid #dce6ed; color: #17466f; font-size: 1.08rem; }
.shop-inline-legal-document p,.shop-inline-legal-document li { color: #466176; font-size: .82rem; line-height: 1.82; }
.shop-inline-legal-document p { margin: 0 0 14px; }
.shop-inline-legal-document h3+p { color: #6a8396; font-size: .72rem; }
.shop-inline-legal-document ul { display: grid; gap: 5px; margin: 7px 0 18px; padding-left: 1.2rem; }
.shop-inline-legal-document a { color: #126fae; text-underline-offset: 3px; }
.shop-inline-legal-loading { display: flex; min-height: 220px; align-items: center; justify-content: center; gap: 11px; color: #6d8395; font-size: .78rem; }
.shop-inline-legal-loading span { width: 20px; height: 20px; border: 2px solid #d3e3ed; border-top-color: #1478bc; border-radius: 50%; animation: shop-inline-legal-spin .8s linear infinite; }
.shop-inline-legal-error { padding: 22px; border: 1px solid #eed3d5; border-radius: 6px; background: #fff7f7; color: #a14049; font-size: .82rem; line-height: 1.7; }
.shop-inline-read-progress { overflow: hidden; background: #dce9f1; }
.shop-inline-read-progress span { display: block; width: 0; height: 100%; background: #1478bc; transition: width .12s linear; }
.shop-inline-legal-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 15px 2px 0; }
.shop-inline-legal-footer .shop-legal-check { min-width: 0; margin: 0; color: #71879a; }
.shop-inline-legal-footer .shop-legal-check.is-ready { color: #285b7f; }
.shop-inline-legal-footer .shop-legal-check input:disabled { opacity: .42; }
.shop-inline-legal-footer .shop-account-primary { min-width: 205px; margin: 0; }
@keyframes shop-inline-legal-spin { to { transform: rotate(360deg); } }
.shop-device-card { display: flex; align-items: center; gap: 16px; margin-top: 23px; padding: 19px; border: 1px solid #d4e4ee; border-radius: 12px; background: #f5fafe; }
.shop-device-card>span { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #0f6fae; color: #fff; font-size: 1.5rem; }
.shop-device-card>span svg { display: block; width: 25px; height: 25px; stroke: currentColor; }
.shop-device-card strong { color: #173f69; font-size: .9rem; }
.shop-device-card p { margin: 4px 0 0; color: #6b8092; font-size: .75rem; }
.shop-account-dialog[data-mode="success"] { width: min(100%,620px); text-align: center; }
.shop-account-dialog[data-mode="success"] .shop-account-close { display: none; }
.shop-login-success { display: grid; min-height: 360px; place-items: center; align-content: center; }
.shop-success-rings { position: relative; display: grid; width: 100px; height: 100px; place-items: center; margin-bottom: 27px; border-radius: 50%; background: #ecf8ff; }
.shop-success-rings::before,.shop-success-rings::after { position: absolute; inset: 0; border: 1px solid #61b8e8; border-radius: inherit; content: ""; animation: shop-success-pulse 1.35s ease-out infinite; }
.shop-success-rings::after { animation-delay: .32s; }
.shop-success-rings span { display: grid; width: 57px; height: 57px; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#1683c8,#0e5f9a); color: #fff; font-size: 1.6rem; box-shadow: 0 12px 25px rgba(20,119,187,.26); animation: shop-success-pop .5s cubic-bezier(.16,1,.3,1) both; }
.shop-login-success .shop-kicker { margin-top: 0; }
.shop-login-success h2 { margin-top: 8px; }
.shop-login-success>p:not(.shop-kicker) { max-width: 430px; margin: 0; color: #698095; line-height: 1.7; }
.shop-success-line { width: 210px; height: 3px; margin-top: 28px; overflow: hidden; background: #dbeaf3; }
.shop-success-line span { display: block; width: 100%; height: 100%; background: #1478bc; transform-origin: left; animation: shop-success-line 1.45s linear both; }
@keyframes shop-success-pulse { to { opacity: 0; transform: scale(1.7); } }
@keyframes shop-success-pop { from { opacity: 0; transform: scale(.35) rotate(-18deg); } }
@keyframes shop-success-line { from { transform: scaleX(0); } }
.shop-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 22px; }
.shop-profile-form label { display: grid; gap: 7px; color: #466680; font-size: .74rem; font-weight: 800; }
.shop-profile-form input,.shop-profile-form textarea { width: 100%; border: 1px solid #cbd9e5; padding: 10px; color: #183c61; font: inherit; font-size: .84rem; }
.shop-profile-form textarea { resize: vertical; }
.shop-profile-form label:nth-child(6),.shop-profile-form label:nth-child(9),.shop-profile-form label:nth-child(10),.shop-profile-form .shop-account-primary,.shop-profile-form .shop-account-message { grid-column: 1 / -1; }

/* Account settings intentionally use a fixed, tabbed canvas.  Keeping each
   information group isolated prevents the customer from having to discover a
   second internal scrollbar just to reach the action buttons. */
.shop-account-dialog[data-mode="profile"] { width: min(100%, 980px); height: min(760px, calc(100dvh - 48px)); max-height: none; padding: 0; overflow: hidden; }
.shop-account-dialog[data-mode="profile"] .shop-account-close { z-index: 2; top: 18px; right: 20px; width: 34px; height: 34px; border: 1px solid #d5e1ea; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 1.45rem; line-height: 1; }
.shop-account-dialog[data-mode="profile"] .shop-account-content,.shop-account-layout { height: 100%; }
.shop-account-layout { display: grid; grid-template-columns: minmax(235px, .77fr) minmax(0, 1.75fr); background: #fff; }
.shop-profile-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 44px 32px 30px; background: linear-gradient(155deg, #0f3f6c 0%, #164f83 55%, #0b3054 100%); color: #fff; }
.shop-profile-sidebar .shop-kicker { color: #8ed4ff; }
.shop-profile-sidebar h2 { max-width: 165px; margin: 9px 0 12px; color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.55rem); letter-spacing: -.06em; }
.shop-profile-sidebar .shop-account-lead { color: #d7ebf9; font-size: .82rem; line-height: 1.65; }
.shop-profile-sidebar .shop-account-identity { margin: 20px 0 22px; overflow-wrap: anywhere; color: #a8d8f3; font-size: .76rem; }
.shop-profile-tabs { display: grid; gap: 6px; margin-top: auto; }
.shop-profile-tab { width: 100%; min-height: 42px; padding: 0 13px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #c4e1f2; text-align: left; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.shop-profile-tab:hover { background: rgba(255,255,255,.10); color: #fff; }
.shop-profile-tab.is-active { border-color: rgba(255,255,255,.35); background: #fff; color: #175182; box-shadow: 0 6px 18px rgba(1,24,45,.2); }
.shop-profile-skip { align-self: flex-start; margin-top: 14px; border-color: rgba(255,255,255,.48); background: transparent; color: #fff; }
.shop-profile-main { display: grid; min-width: 0; padding: 48px 52px 34px; background: linear-gradient(135deg, #fff 0%, #f8fbfd 100%); }
.shop-profile-panels { min-height: 0; }
.shop-profile-panel { height: 100%; }
.shop-profile-panel.is-active { display: grid; grid-template-rows: auto 1fr; align-content: start; }
.shop-profile-panel-head { max-width: 610px; }
.shop-profile-panel-head .shop-kicker { margin-bottom: 7px; }
.shop-profile-panel-head h3 { margin: 0; color: #143c67; font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -.045em; }
.shop-profile-panel-head > p:last-child { max-width: 590px; margin: 9px 0 0; color: #627c93; font-size: .83rem; line-height: 1.6; }
.shop-account-dialog[data-mode="profile"] .shop-profile-form { align-content: start; margin-top: 26px; gap: 15px 16px; }
.shop-account-dialog[data-mode="profile"] .shop-profile-form label { gap: 6px; font-size: .75rem; }
.shop-account-dialog[data-mode="profile"] .shop-profile-form input,.shop-account-dialog[data-mode="profile"] .shop-profile-form textarea { box-sizing: border-box; min-height: 42px; padding: 9px 10px; background: #fff; }
.shop-account-dialog[data-mode="profile"] .shop-profile-form textarea { height: 68px; resize: none; }
.shop-account-dialog[data-mode="profile"] .shop-profile-form label:nth-child(6),.shop-account-dialog[data-mode="profile"] .shop-profile-form label:nth-child(9),.shop-account-dialog[data-mode="profile"] .shop-profile-form label:nth-child(10) { grid-column: auto; }
.shop-profile-actions { display: flex; align-items: center; gap: 13px; grid-column: 1 / -1; margin-top: 5px; }
.shop-profile-actions .shop-account-primary { flex: 0 0 auto; margin: 0; min-width: 118px; }
.shop-profile-actions .shop-account-message { margin: 0; }
.shop-security-panel { display: grid; align-content: start; gap: 10px; max-width: 560px; margin-top: 26px; padding: 24px; border: 1px solid #d9e5ee; background: #fff; }
.shop-security-panel > span { color: #6b8498; font-size: .74rem; font-weight: 800; }
.shop-security-panel > strong { overflow-wrap: anywhere; color: #173f69; font-size: 1rem; }
.shop-security-panel .shop-account-session { margin: 14px 0 0; }
.shop-security-panel .shop-account-secondary,.shop-security-panel .shop-account-danger { justify-self: start; margin: 1px 0 0; }
.shop-security-panel .shop-account-message { margin: 0; }
.shop-cart-list { display: grid; gap: 12px; margin-top: 22px; }
.shop-cart-item { padding: 18px; border: 1px solid #d7e4ed; background: #f8fbfd; }
.shop-cart-item h3 { margin: 0; color: #193f64; font-size: 1.05rem; }
.shop-cart-item p { margin: 8px 0; color: #617a90; font-size: .79rem; line-height: 1.55; }
.shop-cart-item strong { color: #135584; font-size: .88rem; }
.product-action-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.product-action-row .product-order { margin-top: 0; }
.product-cart { min-height: 46px; border: 1px solid #1d78b5; background: #fff; color: #176096; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.product-cart:hover:not(:disabled) { background: #edf8ff; }
.product-cart:disabled { border-color: #d7e3eb; background: #f2f6f9; color: #9aabb8; cursor: not-allowed; }
.shop-order-import { min-height: 40px; border: 1px solid #aac9dc; background: #eff8fe; color: #185c8c; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.shop-order-legal { display: grid; gap: 10px; padding: 16px; border: 1px solid #d8e5ee; border-radius: 10px; background: #f7fafc; }
.shop-order-legal .shop-order-consent { margin: 0; }
.shop-order-consent a { color: #126fae; text-underline-offset: 2px; }
.shop-digital-consent { padding-top: 10px; border-top: 1px solid #dde7ee; }
.shop-digital-consent[hidden] { display: none !important; }
.shop-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.shop-footer .shop-shell { align-items: center; }
.shop-footer-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; }
.shop-footer-contact a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.shop-footer-contact span { color: #7a8a99; }
.shop-footer-contact strong { color: #174f7d; font-size: .75rem; font-weight: 800; }
.shop-footer-contact a:hover strong,.shop-footer-contact a:focus-visible strong { color: #0874bf; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .shop-header .shop-tools { gap: 7px; }
  .shop-tool-button { padding-inline: 7px; font-size: .68rem; }
  .shop-footer-links { order: 3; width: 100%; }
  .shop-footer-contact { margin-left: auto; }
}
@media (max-width: 580px) {
  .shop-header { grid-template-columns: 1fr auto; }
  .shop-header .shop-tools { gap: 5px; }
  .shop-header .shop-back { display: none; }
  .shop-tool-button { max-width: 82px; overflow: hidden; text-overflow: ellipsis; }
  .shop-account-dialog { padding: 35px 20px 26px; }
  .shop-account-dialog[data-mode="flow"] { width: 100%; height: 100dvh; max-height: none; padding: calc(35px + env(safe-area-inset-top)) 20px calc(26px + env(safe-area-inset-bottom)); border: 0; }
  .shop-account-dialog[data-mode="flow"] .shop-account-content { padding-right: 2px; }
  .shop-account-dialog[data-mode="login"] { width: 100%; }
  .shop-login-layout { grid-template-columns: 1fr; min-height: 0; }
  .shop-login-visual { min-height: 185px; padding: 33px 25px; }
  .shop-login-visual h3 { max-width: 280px; margin: 10px 0 0; font-size: 1.65rem; }
  .shop-login-visual ul { display: none; }
  .shop-login-panel { padding: 34px 25px 30px; }
  .shop-policy-card { grid-template-columns: 1fr; padding: 15px; }
  .shop-policy-card>a { grid-row: auto; grid-column: 1; }
  .shop-signup-progress { margin-bottom: 21px; }
  .shop-signup-progress li { display: grid; justify-items: center; gap: 4px; font-size: .6rem; text-align: center; }
  .shop-account-dialog[data-mode="legal-reader"] { width: 100%; height: 100dvh; padding: 18px 16px 15px; border: 0; }
  .shop-account-dialog[data-mode="legal-reader"] .shop-account-close { top: 10px; right: 10px; }
  .shop-account-dialog[data-mode="legal-reader"] .shop-signup-progress { margin: 0 42px 12px 0; gap: 4px; }
  .shop-account-dialog[data-mode="legal-reader"] .shop-signup-progress li { padding-bottom: 6px; font-size: .54rem; }
  .shop-account-dialog[data-mode="legal-reader"] .shop-signup-progress li span { width: 22px; height: 22px; }
  .shop-inline-legal-head { padding-bottom: 10px; }
  .shop-inline-legal-head h2 { font-size: 1.45rem; }
  .shop-inline-legal-head>p:last-child { margin-top: 4px; font-size: .7rem; }
  .shop-inline-legal-document { padding: 20px 18px 30px; }
  .shop-inline-legal-document p,.shop-inline-legal-document li { font-size: .78rem; }
  .shop-inline-legal-footer { grid-template-columns: 1fr; gap: 9px; padding-top: 10px; }
  .shop-inline-legal-footer .shop-legal-check { font-size: .71rem; }
  .shop-inline-legal-footer .shop-account-primary { width: 100%; min-width: 0; min-height: 38px; }
  .shop-profile-form { grid-template-columns: 1fr; }
  .shop-profile-form label,.shop-profile-form label:nth-child(6),.shop-profile-form label:nth-child(9),.shop-profile-form label:nth-child(10),.shop-profile-form .shop-account-primary,.shop-profile-form .shop-account-message { grid-column: auto; }
  .shop-account-shell { padding: 0; }
  .shop-account-dialog[data-mode="profile"] { width: 100%; height: 100dvh; border: 0; }
  .shop-account-dialog[data-mode="profile"] .shop-account-close { top: 12px; right: 12px; }
  .shop-account-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); }
  .shop-profile-sidebar { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 21px 58px 13px 20px; }
  .shop-profile-sidebar .shop-kicker { display: none; }
  .shop-profile-sidebar h2 { grid-column: 1; margin: 0; max-width: none; font-size: 1.7rem; }
  .shop-profile-sidebar .shop-account-lead,.shop-profile-sidebar .shop-account-identity { display: none; }
  .shop-profile-tabs { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 16px; }
  .shop-profile-tab { min-height: 34px; padding: 0 5px; font-size: .68rem; text-align: center; white-space: nowrap; }
  .shop-profile-skip { display: none; }
  .shop-profile-main { min-height: 0; padding: 23px 20px 20px; }
  .shop-profile-panel-head .shop-kicker { margin-bottom: 4px; font-size: .62rem; }
  .shop-profile-panel-head h3 { font-size: 1.43rem; }
  .shop-profile-panel-head > p:last-child { margin-top: 5px; font-size: .74rem; line-height: 1.45; }
  .shop-account-dialog[data-mode="profile"] .shop-profile-form { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .shop-account-dialog[data-mode="profile"] .shop-profile-form label { font-size: .68rem; }
  .shop-account-dialog[data-mode="profile"] .shop-profile-form input { min-height: 37px; padding: 7px 8px; font-size: .79rem; }
  .shop-account-dialog[data-mode="profile"] .shop-profile-form textarea { height: 52px; padding: 7px 8px; font-size: .79rem; }
  .shop-account-dialog[data-mode="profile"] .shop-profile-form label:nth-child(3),.shop-account-dialog[data-mode="profile"] .shop-profile-form label:nth-child(4) { grid-column: auto; }
  .shop-profile-actions { gap: 8px; margin-top: 0; }
  .shop-profile-actions .shop-account-primary { min-height: 35px; min-width: 103px; }
  .shop-profile-actions .shop-account-message { font-size: .72rem; }
  .shop-security-panel { gap: 8px; margin-top: 18px; padding: 18px; }
  .product-action-row { grid-template-columns: 1fr; }
  .shop-footer-links { justify-content: flex-start; gap: 11px 16px; }
  .shop-footer-contact { order: 2; width: 100%; margin-left: 0; justify-content: flex-start; }
}

@media (max-height: 760px) and (min-width: 581px) {
  .shop-account-dialog[data-mode="flow"] { padding-block: 27px; }
  .shop-signup-progress { margin-bottom: 18px; }
  .shop-account-dialog[data-mode="flow"] h2 { margin-block: 6px; font-size: 2rem; }
  .shop-account-dialog[data-mode="flow"] .shop-account-lead { font-size: .78rem; line-height: 1.5; }
  .shop-policy-card { margin-top: 11px; padding: 13px 17px; }
  .shop-account-dialog[data-mode="flow"] .shop-account-primary,.shop-account-dialog[data-mode="flow"] .shop-account-secondary { margin-top: 12px; }
  .shop-account-dialog[data-mode="legal-reader"] { height: calc(100dvh - 24px); padding: 18px 24px 15px; }
  .shop-account-dialog[data-mode="legal-reader"] .shop-signup-progress { margin-bottom: 10px; }
  .shop-inline-legal-head { padding-bottom: 9px; }
  .shop-inline-legal-head h2 { font-size: 1.65rem; }
  .shop-inline-legal-head>p:last-child { margin-top: 3px; }
  .shop-inline-legal-footer { padding-top: 9px; }
}
@media (max-height: 700px) {
  .shop-account-dialog[data-mode="flow"] { padding: 16px; }
  .shop-account-dialog[data-mode="flow"] .shop-signup-progress { margin-bottom: 10px; }
  .shop-account-dialog[data-mode="flow"] .shop-signup-progress li { padding-bottom: 5px; }
  .shop-account-dialog[data-mode="flow"] .shop-signup-progress li span { width: 21px; height: 21px; }
  .shop-account-dialog[data-mode="flow"]>.shop-account-content>.shop-kicker { display: none; }
  .shop-account-dialog[data-mode="flow"] h2 { margin: 3px 0; font-size: 1.55rem; }
  .shop-account-dialog[data-mode="flow"] .shop-account-lead { font-size: .68rem; line-height: 1.35; }
  .shop-account-dialog[data-mode="flow"] .shop-policy-card { gap: 3px 10px; margin-top: 7px; padding: 9px 11px; }
  .shop-account-dialog[data-mode="flow"] .shop-policy-card p { font-size: .66rem; line-height: 1.35; }
  .shop-account-dialog[data-mode="flow"] .shop-policy-card .shop-legal-check { margin-top: 2px; padding-top: 5px; font-size: .68rem; }
  .shop-account-dialog[data-mode="flow"] .shop-account-primary,.shop-account-dialog[data-mode="flow"] .shop-account-secondary { min-height: 34px; margin-top: 7px; }
}
@media (prefers-reduced-motion:reduce) {
  .shop-success-rings::before,.shop-success-rings::after,.shop-success-rings span,.shop-success-line span,.shop-inline-legal-loading span { animation: none; }
  .shop-inline-read-progress span { transition: none; }
}

/* Short desktop viewports need a denser first screen so the product collection is
   not clipped below the fold. Width breakpoints alone cannot solve this. */
@media (min-width: 621px) and (max-height: 1050px) {
  .shop-categories { padding-top: 29px; }
  .shop-category-head { padding-bottom: 10px; }
  .shop-category-head h2 { font-size: clamp(1.7rem, 2.35vw, 2.35rem); }
  .shop-category-strip { padding-top: 17px; padding-bottom: 20px; }
  .shop-category { min-height: 76px; padding-block: 9px; }
  .shop-category-icon { width: 38px; height: 38px; }
  .shop-category-icon svg { width: 34px; height: 34px; }
  .shop-products { padding-top: 28px; padding-bottom: 34px; }
  .shop-showcase-head { padding-bottom: 14px; }
  .shop-product-grid { margin-top: 18px; }
  .shop-product-skeleton { height: clamp(300px, 37vh, 355px); }
  .shop-product-card, .shop-product-card:only-child { min-height: clamp(300px, 37vh, 355px); }
  .shop-product-info, .shop-product-card:only-child .shop-product-info { min-height: clamp(300px, 37vh, 355px); padding: clamp(17px, 1.6vw, 23px); }
}

@media (max-width: 620px) {
  .shop-categories { padding-top: 29px; background-size: auto 100%; }
  .shop-category-strip { display: flex; gap: 8px; margin-right: -16px; padding-top: 20px; padding-bottom: 22px; overflow-x: auto; }
  .shop-category { flex: 0 0 154px; grid-template-columns: 38px 1fr; min-height: 76px; padding: 9px 7px; background: rgba(255,255,255,.77); }
  .shop-category-icon { width: 38px; height: 38px; }
  .shop-category-icon svg { width: 34px; height: 34px; }
  .shop-category small { display: none; }
  .shop-showcase-head { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .shop-showcase-head > div:first-child { grid-column: 1 / -1; }
  .shop-showcase-actions { justify-content: space-between; grid-column: 1 / -1; padding-top: 6px; }
  .shop-products { margin: 0 0 54px; padding: 28px 0 34px; }
  .shop-products.is-empty { padding-bottom: 28px; }
  .shop-showcase-head { width: var(--store-shell); }
  .shop-product-grid { gap: 12px; margin-top: 18px; padding: 0 16px 18px; scroll-padding-inline: 16px; }
  .shop-product-skeleton { flex-basis: min(82vw, 350px); height: clamp(430px, 123vw, 530px); border-radius: 22px; }
  .shop-product-card, .shop-product-card:only-child { flex-basis: min(82vw, 350px); min-height: clamp(430px, 123vw, 530px); border-radius: 22px; }
  .shop-product-info, .shop-product-card:only-child .shop-product-info { min-height: clamp(430px, 123vw, 530px); padding: 20px; }
  .shop-product-info h3, .shop-product-card:only-child .shop-product-info h3 { font-size: 1.12rem; }
  .shop-product-info p, .shop-product-card:only-child .shop-product-info p { font-size: .7rem; }
  .shop-product-card[data-copy-size="large"] .shop-product-info h3 { font-size: 1.42rem; }
}

/* Scheduled store pause / launch screen.  One square key visual is reused as
   a softly extended full-viewport backdrop so the page stays visually whole. */
.shop-unavailable {
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 4vw, 58px);
  background: #061a30;
}
.shop-unavailable-backdrop {
  position: absolute;
  z-index: -3;
  inset: -7vmax;
  background: center / cover no-repeat linear-gradient(145deg, #235f91, #071b31 68%);
  filter: blur(clamp(28px, 4vw, 68px)) saturate(1.18);
  opacity: .86;
  transform: scale(1.13);
  transition: opacity .45s ease;
}
.shop-unavailable-veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,14,27,.24), rgba(2,14,27,.53)), radial-gradient(circle at center, transparent 0 22%, rgba(1,13,25,.35) 78%);
  backdrop-filter: saturate(.92);
}
.shop-unavailable-card {
  position: relative;
  display: block;
  width: min(76vmin, 720px);
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(216,239,255,.28);
  background: linear-gradient(145deg, rgba(19,68,107,.92), rgba(4,27,49,.98));
  box-shadow: 0 42px 120px rgba(0,0,0,.42);
  text-align: center;
  backdrop-filter: none;
  animation: shop-status-enter .75s cubic-bezier(.16,1,.3,1) both;
}
.shop-unavailable-card .shop-unavailable-artwork {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-unavailable-card .shop-unavailable-artwork[hidden] { display: none; }
.shop-unavailable-artwork-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,19,35,.12) 12%, rgba(3,19,35,.28) 50%, rgba(3,19,35,.91) 100%);
}
.shop-unavailable-copy {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  padding: clamp(42px, 7vmin, 78px);
}
.shop-unavailable-card .shop-unavailable-logo {
  position: absolute;
  top: clamp(28px, 5vmin, 52px);
  left: 50%;
  width: clamp(38px, 5vmin, 52px);
  height: clamp(38px, 5vmin, 52px);
  transform: translateX(-50%);
}
.shop-unavailable-copy .shop-kicker { margin: 0 0 12px; color: #a4dcff; }
.shop-unavailable-copy h1 {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5.1vmin, 4rem);
  letter-spacing: -.065em;
  line-height: 1.08;
  text-wrap: balance;
}
.shop-unavailable-copy > p:not(.shop-kicker) {
  max-width: 540px;
  margin: 15px 0 0;
  color: rgba(235,246,255,.86);
  font-size: clamp(.78rem, 1.45vmin, .98rem);
  line-height: 1.75;
}
.shop-unavailable-copy .shop-unavailable-window { color: #9ed7fb !important; font-weight: 800; }
.shop-unavailable-copy .shop-primary-link { margin-top: clamp(18px, 3vmin, 28px); }
@keyframes shop-status-enter {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 620px) {
  .shop-unavailable { padding: 16px; }
  .shop-unavailable-card { width: min(calc(100vw - 32px), 560px); }
  .shop-unavailable-copy { padding: 30px 24px; }
  .shop-unavailable-card .shop-unavailable-logo { top: 24px; }
  .shop-unavailable-copy h1 { font-size: clamp(1.7rem, 8.5vw, 2.65rem); }
  .shop-unavailable-copy > p:not(.shop-kicker) { font-size: .74rem; line-height: 1.55; }
  .shop-unavailable-copy .shop-primary-link { margin-top: 15px; padding: 11px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-unavailable-card { animation: none; }
}
