/* iAthlous / collection and bag. Presentation only; all commerce state is retained. */
.shop-page {
  --shop-ink: #101114;
  --shop-paper: #ffffff;
  --shop-muted: #667078;
  --shop-line: #dfe3e7;
  --shop-accent: #eef1f4;
  background: var(--shop-paper);
}

/* A clear editorial opening, then a compact persistent collection index. */
.shop-page .shop-hero {
  width: min(100%, 1440px);
  padding: calc(var(--header-height, 84px) + 72px + var(--sat, 0px)) var(--page-gutter, 48px) 0;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: 36px 80px;
}
.shop-page .eyebrow {
  margin-bottom: 20px;
  color: var(--shop-muted);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .08em;
}
.shop-page .shop-hero h1 {
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.055em;
  text-wrap: balance;
}
html[dir=rtl] .shop-page .shop-hero h1 {
  font-size: clamp(40px, 4.9vw, 66px);
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: 0;
}
.shop-page .shop-hero > p {
  max-width: 360px;
  margin: 0 0 7px;
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.85;
}
.shop-page .shop-facts {
  margin-top: 8px;
  padding-block: 24px;
  border-color: var(--shop-line);
  font-size: 14px;
}
.shop-page .shop-facts b { font-size: 16px; font-weight: 600; }
.shop-page .collection-toolbar {
  position: sticky;
  top: calc(var(--header-height, 84px) + var(--sat, 0px));
  z-index: 70;
  align-items: center;
  width: min(100%, 1440px);
  padding: 22px var(--page-gutter, 48px);
  background: var(--shop-paper);
}
.shop-page .collection-toolbar h2 {
  color: var(--shop-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}
.shop-page .cnt { max-width: none; font-size: 14px; line-height: 1.6; }

/* Original front/back images remain intact, with their own quiet viewing surface. */
.shop-page .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 64px 26px;
  width: min(100%, 1440px);
  max-width: 1440px;
  padding: 0 var(--page-gutter, 48px) 100px;
}
.shop-page .card { scroll-margin-top: calc(var(--header-height, 84px) + 96px + var(--sat, 0px)); }
.shop-page .product-media {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
}
.shop-page .product-image {
  padding: 26px 22px 76px;
  object-fit: contain;
  mix-blend-mode: normal;
}
.shop-page .product-number, .shop-page .stock-note { display: none; }
.shop-page .gallery-switch {
  inset-inline: 20px;
  bottom: 16px;
  width: auto;
  padding: 3px;
  gap: 3px;
  background: #f4f5f6;
  border: 1px solid var(--shop-line);
  border-radius: 7px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.shop-page .gallery-btn {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.shop-page .gallery-btn.active { background: var(--shop-ink); color: #fff; }
.shop-page .info { padding: 22px 0 0; }
.shop-page .product-top { gap: 12px; }
.shop-page .pname, html[dir=rtl] .shop-page .pname {
  color: var(--shop-ink);
  font-size: 23px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.025em;
}
html[dir=rtl] .shop-page .pname { letter-spacing: 0; }
.shop-page .psub, html[dir=rtl] .shop-page .psub {
  margin-top: 4px;
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.shop-page .product-description {
  min-height: 5.1em;
  margin-top: 14px;
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.7;
}
.shop-page .size-label { margin: 24px 0 10px; font-size: 14px; line-height: 1.6; }
.shop-page .sizes { gap: 8px; margin-bottom: 22px; }
.shop-page .sz {
  min-height: 46px;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 5px;
  color: var(--shop-ink);
  font-size: 15px;
  font-weight: 500;
}
.shop-page .sz.active { background: var(--shop-ink); border-color: var(--shop-ink); color: #fff; }
.shop-page .foot { gap: 14px; }
.shop-page .price, .shop-page .price .pv,
html[dir=rtl] .shop-page .price, html[dir=rtl] .shop-page .price .pv {
  color: var(--shop-ink);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.shop-page .price span { color: var(--shop-muted); font-size: 14px; font-weight: 400; }
.shop-page .add-btn {
  min-width: 132px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--shop-ink);
  border-color: var(--shop-ink);
  font-size: 14px;
  font-weight: 550;
}
.shop-page .add-btn.ok { background: #eef1f4; border-color: #dfe3e7; color: var(--shop-ink); }

/* Bag visibility, transforms, reservation notices and payment gates stay untouched. */
.shop-page .cartbar {
  max-width: 540px;
  min-height: 64px;
  padding: 16px 24px;
  border: 1px solid #303238;
  border-radius: 12px;
  background: var(--shop-ink);
  box-shadow: 0 8px 28px #1011141a;
  font-size: 15px;
}
.shop-page .cb-total { color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; }
.shop-page .sheet {
  width: 100%;
  max-width: 600px;
  max-height: min(92dvh, 860px);
  background: #fff;
  border-color: var(--shop-line);
  border-radius: 18px 18px 0 0;
}
.shop-page .handle { width: 42px; height: 4px; background: #c4cbd1; margin-top: 12px; }
.shop-page .dh { padding: 20px 30px; border-color: var(--shop-line); }
.shop-page .dh h3, html[dir=rtl] .shop-page .dh h3 { color: var(--shop-ink); font-size: 26px; font-weight: 600; }
.shop-page .close, .shop-page .di-rm {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  color: var(--shop-ink);
  background: #fff;
}
.shop-page .ditems { padding: 6px 30px; }
.shop-page .ditem { gap: 18px; padding-block: 22px; border-color: var(--shop-line); }
.shop-page .di-name { font-size: 17px; font-weight: 550; line-height: 1.65; overflow-wrap: anywhere; }
.shop-page .di-pr { margin-top: 5px; color: var(--shop-muted); font-size: 15px; line-height: 1.8; }
.shop-page .df { padding: 24px 30px 30px; border-color: var(--shop-line); }
.shop-page .dtotal { gap: 16px; font-size: 17px; margin-bottom: 16px; }
.shop-page .dtotal span:last-child { color: var(--shop-ink); font-weight: 650; }
.shop-page .co-btn, .shop-page .reg-save {
  min-height: 54px;
  border-radius: 6px;
  background: var(--shop-ink);
  border-color: var(--shop-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 550;
}
.shop-page .reg-save.alt { background: #fff; color: var(--shop-ink); border-color: var(--shop-line); }
.shop-page .commerce-notice { color: var(--shop-muted); font-size: 14px; line-height: 1.85; }
.shop-page #cart-retention { font-size: 14px; }
.shop-page .policy-reference { gap: 8px 22px; font-size: 14px; }
.shop-page .reg-body { padding: 24px 30px; }
.shop-page .commerce-contact { font-size: 16px; }
.shop-page .field label { font-size: 14px; }
.shop-page .inp { min-height: 52px; border-radius: 6px; font-size: 16px; }
.shop-page .pill { min-height: 46px; border-radius: 6px; font-size: 14px; }
.shop-page .sumbox, .shop-page .reg-note { border-radius: 6px; }
.shop-page .sumrow { font-size: 14px; }
.shop-page .toast { border-radius: 8px; font-size: 15px; background: var(--shop-ink); border-color: #303238; }
.shop-page :is(.gallery-btn,.sz,.add-btn,.close,.di-rm,.co-btn,.reg-save,.pill,.inp):focus-visible {
  outline: 3px solid #275bdb;
  outline-offset: 4px;
}
@media (hover: hover) {
  .shop-page .gallery-btn:not(.active):not(:disabled):hover { background: #e5e9ed; color: var(--shop-ink); }
  .shop-page .add-btn:not(.ok):not(:disabled):hover,
  .shop-page .co-btn:not(:disabled):hover,
  .shop-page .reg-save:not(.alt):not(:disabled):hover { background: #303238; border-color: #303238; color: #fff; }
}
@media (max-width: 1099px) {
  .shop-page .shop-hero { gap: 28px 40px; }
  .shop-page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 52px 24px; }
  .shop-page .product-description { min-height: 5.1em; }
}
@media (max-width: 699px) {
  .shop-page .shop-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--header-height, 72px) + 38px + var(--sat, 0px));
    gap: 22px;
  }
  .shop-page .eyebrow { margin-bottom: 16px; }
  .shop-page .shop-hero h1 { font-size: clamp(42px, 10vw, 60px); }
  html[dir=rtl] .shop-page .shop-hero h1 { font-size: clamp(36px, 8.8vw, 50px); }
  .shop-page .shop-hero > p { max-width: 480px; font-size: 16px; }
  .shop-page .shop-facts { margin-top: 0; padding-block: 20px; gap: 14px 20px; font-size: 14px; }
  .shop-page .shop-facts b { font-size: 15px; }
  .shop-page .collection-toolbar { gap: 16px; padding-block: 20px; }
  .shop-page .collection-toolbar h2 { font-size: 14px; letter-spacing: 0; }
  .shop-page .cnt { max-width: 150px; font-size: 13px; }
  .shop-page .grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 600px; gap: 48px; padding-bottom: 72px; }
  .shop-page .product-media { aspect-ratio: 1.03; border-radius: 8px; }
  .shop-page .product-image { padding: 24px 24px 76px; }
  .shop-page .info { padding-top: 20px; }
  .shop-page .product-description { min-height: 0; margin-top: 12px; }
  .shop-page .size-label { margin-top: 22px; }
  .shop-page .foot { flex-direction: row; align-items: center; }
  .shop-page .cartbar { inset-inline: 16px; min-height: 62px; padding-inline: 20px; }
  .shop-page .sheet { max-height: 94dvh; }
  .shop-page .dh, .shop-page .ditems, .shop-page .df, .shop-page .reg-body { padding-inline: 24px; }
}
@media (max-width: 359px) {
  .shop-page .shop-facts > span { gap: 4px 10px; }
  .shop-page .collection-toolbar { gap: 12px; }
  .shop-page .collection-toolbar h2, .shop-page .cnt { font-size: 13px; }
  .shop-page .cnt { max-width: 130px; }
  .shop-page .pname, html[dir=rtl] .shop-page .pname { font-size: 22px; }
  .shop-page .add-btn { min-width: 122px; padding-inline: 14px; }
  .shop-page .price, .shop-page .price .pv,
  html[dir=rtl] .shop-page .price, html[dir=rtl] .shop-page .price .pv { font-size: 20px; }
  .shop-page .dh, .shop-page .ditems, .shop-page .df, .shop-page .reg-body { padding-inline: 20px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .shop-page .sheet { max-height: 96dvh; }
  .shop-page .dh { padding-block: 10px; }
  .shop-page .df { max-height: 57dvh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page .product-image, .shop-page .gallery-btn, .shop-page .sz, .shop-page .add-btn,
  .shop-page .co-btn, .shop-page .reg-save, .shop-page .cartbar, .shop-page .sheet,
  .shop-page .ov, .shop-page .toast { transition: none; animation: none; }
  .shop-page .product-media:hover .product-image { transform: none; }
}
