:root {
  --bg:#f7f3ee;
  --bg-2:#efe7dd;
  --card:#ffffff;
  --muted:#6a6e75;
  --text:#0d0f14;
  --line:#e5dfd7;
  --brand:#0d0f14;
  --accent:#b47b2a;
  --accent-soft:rgba(180,123,42,.12);
  --shadow:0 22px 60px rgba(19,14,8,.12);
  --shadow-soft:0 10px 28px rgba(19,14,8,.08);
  --shadow-lg:0 28px 70px rgba(19,14,8,.16);
  --ring:0 0 0 3px rgba(180,123,42,.18);
  --radius-sm:12px;
  --radius:18px;
  --radius-lg:22px;
  --radius-pill:999px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:"Plus Jakarta Sans","Noto Sans",sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow-x:hidden;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility
}

body::before {
  content:"";
  position:fixed;
  inset:-15% -10% auto -10%;
  height:60%;
  background:radial-gradient(60% 70% at 8% 10%, rgba(180,123,42,.18), transparent 60%),radial-gradient(60% 60% at 92% 12%, rgba(8,116,172,.12), transparent 60%),linear-gradient(180deg,#faf6f1 0%,#f7f3ee 45%,#f7f3ee 100%);
  z-index:-1;
  pointer-events:none
}

a {
  color:inherit;
  text-decoration:none;
  transition:color .2s ease
}

img {
  max-width:100%;
  height:auto
}

button,input,select,textarea {
  font:inherit;
  color:inherit
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:none;
  box-shadow:var(--ring)
}

.wrap {
  max-width:1280px;
  margin:0 auto;
  padding:0 20px
}

.nav,.catbar,.section-head {
  min-width:0
}

h1,h2,h3,h4 {
  font-family:"Fraunces","Times New Roman",serif;
  letter-spacing:.2px
}

h2 {
  font-size:22px;
  font-weight:700
}

p {
  margin:0 0 12px
}

.topbar {
  position:sticky;
  top:0;
  background:rgba(250,247,243,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(13,15,20,.08);
  box-shadow:0 6px 24px rgba(13,15,20,.05);
  z-index:20
}

.nav {
  display:grid;
  grid-template-columns:auto minmax(280px,1fr) auto;
  align-items:center;
  gap:18px;
  padding:18px 0
}

.brand {
  font-family:"Fraunces","Times New Roman",serif;
  font-weight:700;
  letter-spacing:.6px;
  font-size:20px
}

.navlinks {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-end
}

.navlink {
  font-weight:600;
  letter-spacing:.02em;
  opacity:.75
}

.navlink:hover {
  opacity:1
}

.nav-account {
  position:relative
}

.nav-account summary {
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px
}

.nav-account summary::-webkit-details-marker {
  display:none
}

.nav-account-name {
  max-width:140px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.nav-account-chevron {
  font-size:10px;
  opacity:.6;
  transition:transform .2s ease
}

.nav-account[open] .nav-account-chevron {
  transform:rotate(180deg)
}

.nav-account-menu {
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  min-width:210px;
  padding:6px;
  box-shadow:0 18px 40px rgba(13,15,20,.12);
  z-index:15
}

.nav-account-menu a,.nav-account-menu button {
  display:block;
  width:100%;
  text-align:left;
  padding:8px 10px;
  border-radius:8px;
  border:0;
  background:transparent;
  font:inherit;
  color:var(--text);
  cursor:pointer
}

.nav-account-menu a:hover,.nav-account-menu button:hover {
  background:rgba(0,0,0,.04)
}

.nav-cart {
  position:relative
}

.nav-cart summary {
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px
}

.nav-cart-toggle {
  display:flex;
  align-items:center;
  gap:8px
}

.nav-cart-icon {
  width:18px;
  height:18px
}

.nav-cart summary::-webkit-details-marker {
  display:none
}

.nav-cart-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:var(--text);
  color:#fff;
  font-size:12px;
  font-weight:700
}

.cart-modal {
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:50;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease
}

.cart-modal.is-open {
  opacity:1;
  pointer-events:auto
}

.cart-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  transition:opacity .2s ease
}

.cart-modal-panel {
  position:relative;
  background:var(--card);
  border-radius:var(--radius-lg);
  padding:16px;
  width:360px;
  max-width:90vw;
  box-shadow:0 24px 60px rgba(13,15,20,.18);
  transform:translateY(10px) scale(.96);
  opacity:0;
  transition:transform .2s ease, opacity .2s ease
}

.cart-modal.is-open .cart-modal-backdrop {
  opacity:1
}

.cart-modal.is-open .cart-modal-panel {
  opacity:1;
  transform:translateY(0) scale(1)
}

.nav-cart-menu {
  display:none
}

.cart-modal-open {
  overflow:hidden
}

.nav-cart-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px
}

.nav-cart-status {
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800
}

.nav-cart-check {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
  font-size:12px
}

.nav-cart-close {
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(13,15,20,.08);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1
}

.nav-cart-close:hover {
  background:rgba(13,15,20,.06)
}

.nav-cart-focus {
  display:flex;
  gap:12px;
  align-items:flex-start
}

.nav-cart-focus img {
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line)
}

.nav-cart-item-title {
  font-weight:800;
  font-size:14px
}

.nav-cart-item-meta {
  color:var(--muted);
  font-size:12px;
  margin-top:4px
}

.nav-cart-subtotal {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:10px;
  margin-top:12px
}

.nav-cart-actions {
  display:grid;
  gap:10px;
  margin-top:12px
}

.nav-cart-actions .btn,.nav-cart-actions .pill {
  width:100%;
  text-align:center;
  border-radius:999px;
  padding:12px 14px
}

.pill {
  padding:10px 14px;
  border:1px solid rgba(13,15,20,.12);
  border-radius:var(--radius-pill);
  background:#fff;
  box-shadow:0 8px 18px rgba(13,15,20,.06);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.pill:hover {
  border-color:rgba(13,15,20,.18);
  box-shadow:0 12px 22px rgba(13,15,20,.08);
  transform:translateY(-1px)
}

.search {
  display:flex;
  gap:8px;
  align-items:center;
  padding:4px;
  border-radius:999px;
  border:1px solid rgba(13,15,20,.12);
  background:#fff;
  box-shadow:0 12px 24px rgba(13,15,20,.08)
}

.search .inp {
  border:0;
  box-shadow:none;
  background:transparent;
  padding:8px 10px;
  width:100%;
  max-width:none
}

.search .btn {
  padding:9px 14px;
  border-radius:999px;
  box-shadow:none
}

.search .btn:hover {
  transform:none;
  box-shadow:none
}

.inp {
  width:260px;
  max-width:42vw;
  padding:11px 12px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(13,15,20,.12);
  background:#fff;
  color:var(--text);
  box-shadow:inset 0 1px 2px rgba(13,15,20,.06);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease
}

.inp:focus {
  outline:none;
  border-color:rgba(13,15,20,.3);
  box-shadow:var(--ring);
  transform:translateY(-1px)
}

.btn {
  padding:11px 16px;
  border-radius:14px;
  border:1px solid var(--text);
  background:var(--text);
  color:#fff;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(13,15,20,.18);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  max-width:100%
}

.btn:hover {
  background:#0a0b0e;
  box-shadow:0 14px 28px rgba(13,15,20,.22);
  transform:translateY(-1px)
}

.btn:disabled {
  opacity:.6;
  cursor:not-allowed;
  box-shadow:none;
  transform:none
}

.pill {
  max-width:100%
}

.card .btn,.card .pill, .catalog-filters .btn,.catalog-filters .pill, .summary-card .btn,.summary-card .pill, .auth-card .btn,.auth-card .pill {
  box-shadow:none;
  transform:none;
}

.card .btn:hover,.card .pill:hover, .catalog-filters .btn:hover,.catalog-filters .pill:hover, .summary-card .btn:hover,.summary-card .pill:hover, .auth-card .btn:hover,.auth-card .pill:hover {
  box-shadow:none;
  transform:none;
}

.grid {
  display:grid;
  gap:16px
}

.grid > * {
  animation:cardIn .45s ease both
}

.grid > *:nth-child(1) {
  animation-delay:.02s
}

.grid > *:nth-child(2) {
  animation-delay:.04s
}

.grid > *:nth-child(3) {
  animation-delay:.06s
}

.grid > *:nth-child(4) {
  animation-delay:.08s
}

.grid > *:nth-child(5) {
  animation-delay:.1s
}

.grid > *:nth-child(6) {
  animation-delay:.12s
}

.grid > *:nth-child(7) {
  animation-delay:.14s
}

.grid > *:nth-child(8) {
  animation-delay:.16s
}

.grid-4 {
  grid-template-columns:repeat(4,minmax(0,1fr))
}

.grid-3 {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
@media(max-width:980px) {
  .grid-4 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .grid-3 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:560px) {
  .grid {
    gap:10px
  }

  .grid-4,.grid-3 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .inp {
    width:180px
  }

  body:not(.admin) .grid.grid-4 .pcard .cardpad,
  body:not(.admin) .grid.grid-3 .pcard .cardpad {
    padding:9px;
  }

  body:not(.admin) .grid.grid-4 .pcard-title,
  body:not(.admin) .grid.grid-3 .pcard-title {
    font-size:14px;
    line-height:1.24;
  }

  body:not(.admin) .grid.grid-4 .muted,
  body:not(.admin) .grid.grid-3 .muted {
    font-size:12px;
  }

  body:not(.admin) .grid.grid-4 .price-current,
  body:not(.admin) .grid.grid-3 .price-current {
    font-size:15px;
  }

  body:not(.admin) .grid.grid-4 .rating-count,
  body:not(.admin) .grid.grid-3 .rating-count {
    font-size:11px;
  }
}
@media(max-width:980px) {
  .nav {
    grid-template-columns:1fr;
    align-items:stretch
  }

  .search {
    order:3;
    width:100%
  }

  .navlinks {
    order:2;
    width:100%;
    justify-content:space-between
  }
}
@media(max-width:640px) {
  .navlink {
    display:none
  }
}

.card {
  border:1px solid rgba(13,15,20,.06);
  border-radius:var(--radius);
  background:var(--card);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease
}

.cardpad {
  padding:16px
}

.muted {
  color:var(--muted)
}

.h1 {
  font-family:"Fraunces","Times New Roman",serif;
  font-size:clamp(30px,3vw,38px);
  line-height:1.05;
  margin:18px 0 8px;
  font-weight:700;
  letter-spacing:.2px
}

.h2 {
  font-family:"Fraunces","Times New Roman",serif;
  font-size:19px;
  margin:0 0 6px;
  font-weight:600
}

.row {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap
}

.sp {
  height:18px
}

.tag {
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(13,15,20,.12);
  background:#fff;
  font-size:12px;
  color:var(--text);
  font-weight:600;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.tag:hover {
  box-shadow:0 10px 20px rgba(13,15,20,.12);
  transform:translateY(-1px);
  border-color:rgba(13,15,20,.2)
}
@keyframes pageIn {
  from {
    opacity:0;
    transform:translateY(10px)
  }

  to {
    opacity:1;
    transform:translateY(0)
  }
}
@keyframes cardIn {
  from {
    opacity:0;
    transform:translateY(12px)
  }

  to {
    opacity:1;
    transform:translateY(0)
  }
}
@media(prefers-reduced-motion: reduce) {
  * {
    animation:none !important;
    transition:none !important
  }
}

/* Product card */ .pimg {
  position:relative;
  aspect-ratio:1/1;
  background:#0b0f14
}

.pimg img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.pimg img.alt {
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .2s ease
}

.pcard {
  display:flex;
  flex-direction:column;
  height:100%;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.pcard .cardpad {
  display:flex;
  flex-direction:column;
  flex:1;
}

.pcard-title {
  line-height:1.25;
}

.pcard:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(13,15,20,.12)
}

.pcard:hover .pimg img.alt {
  opacity:1
}

.product-badge {
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15,15,15,.85);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em
}

.product-discount {
  position:absolute;
  top:12px;
  right:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(180,123,42,.12);
  color:var(--accent);
  border:1px solid rgba(180,123,42,.35);
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em
}

.price {
  font-weight:900;
  letter-spacing:.01em
}

.price-row {
  display:flex;
  gap:8px;
  align-items:baseline;
  margin-top:auto;
  padding-top:8px;
  flex-wrap:wrap
}

.price-current {
  font-size:18px
}

.price-compare {
  color:var(--muted);
  text-decoration:line-through;
  font-size:13px
}

.price-discount {
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 8px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(180,123,42,.2)
}

.footer {
  margin-top:46px;
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted)
}

.flash {
  margin:14px 0;
  padding:12px 14px;
  border:1px solid rgba(180,123,42,.28);
  border-radius:12px;
  background:var(--accent-soft)
}

.table {
  width:100%;
  border-collapse:collapse
}

.table th,.table td {
  padding:10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top
}

.app-pagination {
  margin:18px 0 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap
}

.app-pagination-summary {
  color:var(--muted);
  font-size:13px;
  font-weight:600
}

.app-pagination-list {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap
}

.app-pagination-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border:1px solid rgba(13,15,20,.16);
  border-radius:10px;
  background:#fff;
  color:var(--text);
  font-size:14px;
  font-weight:700;
  line-height:1;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease
}

a.app-pagination-link:hover {
  transform:translateY(-1px);
  border-color:rgba(13,15,20,.28);
  box-shadow:0 8px 18px rgba(13,15,20,.12)
}

.app-pagination-link.is-active {
  background:var(--text);
  border-color:var(--text);
  color:#fff;
  box-shadow:none;
  transform:none
}

.app-pagination-link.is-disabled {
  opacity:.45;
  cursor:not-allowed;
  pointer-events:none;
  box-shadow:none
}

.app-pagination-link.is-arrow {
  min-width:36px;
  padding:0 10px;
  font-size:18px
}

@media(max-width:700px) {
  .app-pagination {
    justify-content:center
  }

  .app-pagination-summary {
    width:100%;
    text-align:center
  }

  .app-pagination-link {
    min-width:34px;
    height:34px;
    padding:0 10px;
    font-size:13px
  }

  .app-pagination-link.is-arrow {
    min-width:34px;
    font-size:16px
  }
}

.pcard:hover .pimg img:first-child {
  opacity:0
}

.pimg img {
  transition:opacity .2s ease
}

.product-breadcrumb {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  flex-wrap:wrap
}

.product-breadcrumb a {
  color:inherit
}

.product-layout {
  display:grid;
  grid-template-columns:1.3fr .9fr;
  gap:26px;
  align-items:start
}

.product-gallery {
  display:grid;
  grid-template-columns:90px 1fr;
  gap:12px;
  align-items:start
}

.product-thumbs {
  display:grid;
  gap:8px
}

.product-thumb {
  position:relative;
  padding:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  overflow:hidden
}

.product-thumb img {
  width:100%;
  height:70px;
  object-fit:cover;
  display:block
}

.product-thumb.is-active {
  border-color:var(--text);
  box-shadow:inset 0 0 0 2px var(--text)
}

.product-main {
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  max-width:620px;
  margin:0 auto;
  background:var(--bg-2);
  border-radius:var(--radius-lg);
  border:1px solid rgba(13,15,20,.08);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center
}

.product-main img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  image-rendering:auto
}

.gallery-arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center
}

.gallery-arrow.prev {
  left:12px
}

.gallery-arrow.next {
  right:12px
}

.product-panel {
  display:flex;
  flex-direction:column;
  gap:6px
}

.product-eyebrow {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  color:#dc2626;
  font-weight:700
}

.product-price {
  font-size:22px
}

#variant-discount {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:4px 10px !important;
  border-radius:999px;
  border:1px solid rgba(220,38,38,.34);
  background:rgba(220,38,38,.12);
  color:#b91c1c;
  font-weight:800;
}

.size-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(60px,1fr));
  gap:8px
}

.size-grid.is-kids {
  grid-template-columns:repeat(auto-fit,minmax(132px,1fr))
}

.size-btn {
  padding:12px 0;
  border:1px solid rgba(13,15,20,.12);
  border-radius:12px;
  background:#fff;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.size-btn:hover {
  border-color:rgba(13,15,20,.2);
  box-shadow:0 8px 18px rgba(13,15,20,.08);
  transform:translateY(-1px)
}

.size-btn.is-active {
  background:var(--text);
  color:#fff;
  border-color:var(--text);
  box-shadow:0 10px 18px rgba(13,15,20,.18)
}

.size-grid.is-kids .size-btn {
  padding:10px 8px;
  min-height:48px;
  line-height:1.2;
  font-size:13px;
  text-align:center;
}

.size-fit-group {
  display:flex;
  align-items:center;
  gap:6px;
  width:100%;
  max-width:260px;
}

.size-fit-btn {
  flex:1 1 0;
  min-width:0;
  padding:10px 12px;
  border-radius:999px;
  border-color:#ccd8eb;
  line-height:1.1;
  font-size:14px;
  text-align:center;
  white-space:nowrap;
  box-shadow:none;
}

.size-fit-btn:hover {
  transform:none;
  box-shadow:none;
}

.size-fit-btn:not(.is-active) {
  background:#fff;
  color:#203154;
}

.size-fit-btn:not(.is-active):hover {
  background:#fff;
  border-color:#c5d3e9;
}

.size-fit-btn.is-active {
  box-shadow:0 8px 16px rgba(16,32,66,.16);
}

.size-guide-trigger {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border:1px solid #c7d4ea;
  background:#f7faff;
  color:#122142;
  font-weight:800;
}

.product-cta {
  width:100%;
  border-radius:999px;
  padding:14px 16px;
  background:var(--text);
  color:#fff;
  border-color:var(--text);
  font-weight:800;
  box-shadow:0 12px 24px rgba(13,15,20,.18)
}

.product-cta:hover {
  background:#0a0b0e
}

.product-perks {
  display:grid;
  gap:8px;
  margin-top:8px
}

.product-perk {
  padding:10px 12px;
  border-radius:10px;
  background:rgba(17,24,39,.04);
  border:1px solid rgba(17,24,39,.08);
  font-size:13px
}

.product-info-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.info-card {
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:6px
}

.info-title {
  font-weight:800
}

.info-link {
  font-size:12px;
  color:var(--muted)
}

.product-reco {
  display:grid;
  gap:12px
}

.product-reco-head {
  margin-bottom:0
}

.product-reco-nav {
  display:flex;
  align-items:center;
  gap:8px
}

.product-reco-arrow {
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-size:20px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer
}

.product-reco-arrow:disabled {
  opacity:.45;
  cursor:not-allowed
}

.product-reco-track {
  display:flex;
  align-items:stretch;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  touch-action:pan-x;
  padding-bottom:0;
  margin-bottom:0;
  background:transparent;
  box-shadow:none;
  border:0;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none
}

.product-reco-track::-webkit-scrollbar {
  display:none;
  width:0;
  height:0
}

.product-reco-item {
  flex:0 0 236px;
  min-width:236px;
  scroll-snap-align:start
}

.product-reco-item .pcard {
  height:100%;
  box-shadow:none;
  transform:none
}

.product-reco-item .pcard:hover {
  box-shadow:none;
  transform:none
}

.product-reco-all {
  flex:0 0 236px;
  min-width:236px;
  scroll-snap-align:start;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--text);
  text-decoration:none;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:8px;
  padding:14px 12px
}

.product-reco-all-label {
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  text-align:center
}

.product-reco-all-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:999px;
  background:#122142;
  color:#fff;
  font-size:18px
}

.size-guide-modal {
  position:fixed;
  inset:0;
  z-index:220;
  display:none;
  align-items:center;
  justify-content:center;
  padding:12px;
}

.size-guide-modal.is-open {
  display:flex;
}

body.size-guide-modal-open {
  overflow:hidden;
}

.size-guide-modal[hidden] {
  display:none !important;
}

.size-guide-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(8,12,22,.56);
}

.size-guide-modal-panel {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:min(920px, 100%);
  max-height:calc(100vh - 24px);
  padding:16px;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 24px 54px rgba(13,15,20,.22);
}

.size-guide-modal-tabs {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.size-guide-modal-tabs .pill.is-active {
  background:#0f1a35;
  color:#fff;
  border-color:#0f1a35;
}

.size-guide-modal-body img {
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
  border:1px solid var(--line);
}

.size-guide-modal-body {
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}

@supports (height:100dvh) {
  .size-guide-modal-panel {
    max-height:calc(100dvh - 24px);
  }
}

@media(max-width:640px) {
  .size-guide-modal {
    align-items:flex-start;
    padding:8px;
  }

  .size-guide-modal-panel {
    width:100%;
    max-height:calc(100vh - 16px);
    padding:12px;
    border-radius:14px;
  }
}

@supports (height:100dvh) {
  @media(max-width:640px) {
    .size-guide-modal-panel {
      max-height:calc(100dvh - 16px);
    }
  }
}
@media(max-width:980px) {
  .product-layout {
    grid-template-columns:1fr
  }

  .product-gallery {
    grid-template-columns:1fr
  }

  .product-thumbs {
    grid-auto-flow:column;
    grid-auto-columns:80px;
    overflow:auto;
    padding-bottom:4px
  }

  .product-thumb img {
    height:80px
  }

  .product-main {
    max-width:100%
  }

  .size-grid.is-kids {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .product-info-grid {
    grid-template-columns:1fr
  }

  .product-reco-item,
  .product-reco-all {
    flex:0 0 min(78vw, 280px);
    min-width:min(78vw, 280px)
  }
}

.cart-layout {
  display:grid;
  grid-template-columns:1.6fr .9fr;
  gap:28px;
  align-items:start
}

.cart-banner {
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff
}

.cart-banner-title {
  font-weight:800;
  color:#ea580c;
  margin-bottom:4px
}

.loyalty-banner {
  border:1px solid rgba(180,123,42,.35);
  border-radius:16px;
  padding:12px 14px;
  background:var(--accent-soft);
  display:grid;
  gap:8px;
  margin-top:12px
}

.loyalty-banner-soft {
  border-color:rgba(13,15,20,.12);
  background:#fff
}

.loyalty-banner-title {
  font-weight:800;
  font-size:14px
}

.loyalty-banner-actions {
  gap:8px
}

.loyalty-banner-actions .pill {
  padding:8px 12px
}

.cart-list {
  display:grid;
  gap:14px;
  margin-top:10px
}

.cart-item-row {
  display:grid;
  grid-template-columns:120px 1fr auto;
  gap:16px;
  align-items:start;
  padding:16px 0;
  border-bottom:1px solid var(--line)
}

.cart-item-row:last-child {
  border-bottom:0
}

.cart-item-img {
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line)
}

.cart-item-title {
  font-weight:800
}

.cart-item-meta {
  color:var(--muted);
  font-size:13px;
  margin-top:4px
}

.cart-item-actions {
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:10px;
  flex-wrap:wrap
}

.cart-item-actions .pill {
  font-weight:600
}

.cart-item-price {
  font-weight:800;
  font-size:16px;
  white-space:nowrap
}

.cart-summary {
  position:sticky;
  top:120px
}

.cart-summary.card {
  overflow:visible
}

.cart-summary-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:10px 0;
  font-size:14px
}

.cart-summary-total {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:12px;
  margin-top:12px;
  font-size:16px;
  font-weight:800
}

.cart-checkout {
  width:100%;
  border-radius:999px;
  padding:14px 16px;
  font-weight:800;
  background:#111827;
  color:#fff;
  border-color:#111827;
  text-align:center
}

.cart-checkout:hover {
  background:#0b1220
}

.cart-secondary {
  width:100%;
  text-align:center
}

.cart-summary-note {
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.4
}

.cart-summary-actions {
  display:grid;
  gap:10px
}

.cart-summary .btn,.cart-summary .pill {
  min-height:44px;
  line-height:1.2;
}

.soft-card {
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:12px;
  box-shadow:0 10px 22px rgba(13,15,20,.06)
}

.review-card {
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px 12px;
  box-shadow:0 8px 18px rgba(13,15,20,.05)
}

.account-table-card {
  overflow:visible
}

.review-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px
}

.review-card {
  min-height:140px
}

.admin-toggle {
  margin-top:8px
}

.admin-toggle > summary {
  cursor:pointer;
  list-style:none
}

.admin-toggle > summary::-webkit-details-marker {
  display:none
}

.rating-row {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
  flex-wrap:wrap
}

.rating-stars {
  display:inline-flex;
  gap:2px;
  font-size:14px;
  color:#e5e7eb
}

.rating-stars .star.is-on {
  color:#f59e0b
}

.rating-count {
  font-size:12px;
  color:var(--muted)
}

.cart-empty {
  padding:24px 0
}
@media(max-width:980px) {
  .cart-layout {
    grid-template-columns:1fr
  }

  .cart-item-row {
    grid-template-columns:1fr
  }

  .cart-item-img {
    width:100%;
    height:auto;
    max-height:320px
  }

  .cart-summary {
    position:static
  }
}

/* Header */ .topbar {
  background:rgba(250,247,243,.9) !important;
  border-bottom:1px solid rgba(13,15,20,.08);
  box-shadow:0 6px 24px rgba(13,15,20,.05);
  overflow:visible;
}

/* Tira o look "pill" da barra de categorias (nav) */ .topbar .catbar {
  display:flex;
  gap:16px;
  margin-top:12px;
  padding:12px 0 14px;
  flex-wrap:wrap;
  overflow:visible;
  scrollbar-width:thin;
  scrollbar-color:rgba(13,15,20,.2) transparent;
  -webkit-overflow-scrolling:touch;
  border-top:1px solid rgba(13,15,20,.05);
}

.cat-item {
  position:relative;
  display:inline-flex;
  align-items:center;
  z-index:1
}

.cat-item > a {
  display:inline-block
}

.cat-caret {
  font-size:10px;
  margin-left:6px;
  opacity:.7
}

.cat-dropdown {
  position:absolute;
  left:0;
  top:100%;
  margin-top:2px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  min-width:220px;
  padding:8px;
  box-shadow:0 18px 34px rgba(13,15,20,.12);
  display:none;
  z-index:60
}

.topbar .catbar .cat-dropdown a {
  display:block;
  padding:8px 10px;
  border-radius:8px;
  font-weight:600;
  color:#111827
}

.topbar .catbar .cat-dropdown a:hover {
  background:rgba(0,0,0,.04)
}

.cat-dropdown-parent {
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  font-weight:700
}

.cat-sub-caret {
  font-size:12px;
  opacity:.65
}

.cat-subitem {
  position:relative
}

.cat-submenu {
  position:absolute;
  left:calc(100% + 6px);
  top:0;
  min-width:220px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:8px;
  box-shadow:0 18px 34px rgba(13,15,20,.12);
  display:none;
  z-index:70
}

.cat-subitem:hover .cat-submenu,.cat-subitem:focus-within .cat-submenu {
  display:block
}

.cat-submenu-link {
  display:block;
  padding:8px 10px;
  border-radius:8px;
  font-weight:600;
  color:#111827
}

.cat-submenu-link:hover {
  background:rgba(0,0,0,.04)
}

.cat-submenu-link-more {
  margin-top:6px;
  border:1px solid rgba(13,15,20,.14);
  text-align:center;
  font-weight:800;
}

.cat-item:hover,.cat-item:focus-within {
  z-index:40
}

.cat-item:hover .cat-dropdown,.cat-item:focus-within .cat-dropdown {
  display:block
}
@media(max-width:900px) {
  .topbar .catbar {
    gap:10px;
    padding:8px 0 10px;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .topbar .catbar::-webkit-scrollbar {
    display:none;
  }

  .topbar .catbar > * {
    flex:0 0 auto;
  }

  .topbar .catbar > a,.topbar .catbar .cat-item > a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 13px;
    border:1px solid rgba(13,15,20,.10) !important;
    border-radius:999px;
    background:#fff !important;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    white-space:nowrap;
    box-shadow:0 3px 8px rgba(13,15,20,.06);
  }

  .cat-caret {
    display:none
  }

  .cat-dropdown,.cat-submenu {
    display:none !important
  }

  .cat-item:hover .cat-dropdown,.cat-item:focus-within .cat-dropdown {
    display:none !important
  }
}
@media(min-width:901px) {
  .topbar .catbar a {
    display:inline-block;
    padding:6px 0;
    border-radius:0;
    background:transparent;
    border:0;
    color:var(--text);
    text-decoration:none;
    font-weight:600;
    letter-spacing:.02em;
    opacity:.9;
  }

  .topbar .catbar a:hover {
    opacity:1;
    text-decoration:underline;
    text-underline-offset:4px;
  }
}

html, body {
  height: 100%;
  max-width:100%;
  overflow-x:hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.wrap {
  flex: 1;
  padding-bottom:36px;
  animation:pageIn .5s ease both;
}

/* Auth */ .auth-shell {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:stretch;
  margin:28px 0 36px;
}

.auth-hero {
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,186,8,.18), transparent 60%), radial-gradient(120% 120% at 100% 0%, rgba(0,163,255,.14), transparent 55%), linear-gradient(135deg, #f7f7f8 0%, #ffffff 60%);
}

.auth-kicker {
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700;
}

.auth-title {
  font-size:34px;
  font-weight:900;
  margin-top:8px;
}

.auth-subtitle {
  margin:10px 0 16px;
  color:var(--muted);
  max-width:420px;
}

.auth-notes {
  display:grid;
  gap:10px;
}

.auth-note {
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-size:13px;
  font-weight:600;
}

.auth-card {
  align-self:center;
}

.password-field {
  position:relative;
}

.password-field-input {
  padding-right:96px;
}

.password-toggle {
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  border:1px solid rgba(13,15,20,.12);
  border-radius:999px;
  background:#fff;
  color:var(--text);
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  cursor:pointer;
}

.password-toggle:hover {
  background:rgba(13,15,20,.05);
}

.recaptcha-wrap {
  display:flex;
  justify-content:flex-start;
  overflow-x:auto;
}

.recaptcha-wrap .g-recaptcha {
  min-height:78px;
}

.auth-topbar .auth-topbar-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
@media(max-width:980px) {
  .auth-shell {
    grid-template-columns:1fr
  }

  .auth-card {
    order:-1
  }
}

/* Footer dark */ .st-footer {
  margin-top:46px;
  background:linear-gradient(120deg,#0d0f14 0%, #151922 100%);
  color:#f7f3ee;
  border-top:1px solid rgba(255,255,255,.08);
}

.st-footer-grid {
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap:28px;
  padding:34px 0;
}
@media(max-width: 900px) {
  .st-footer-grid {
    grid-template-columns: 1fr;
  }
}

.st-footer-brand {
  font-weight:900;
  letter-spacing:.2px;
  font-size:18px;
}

.st-footer-title {
  font-weight:800;
  margin-bottom:10px;
}

.st-footer-link {
  display:block;
  padding:8px 0;
  color:rgba(247,243,238,.8);
  border:0;
  background:transparent;
  font:inherit;
  text-align:left;
  cursor:pointer;
}

.st-footer-link:hover {
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}

.st-footer-link-btn {
  width:auto
}

.st-footer-social {
  display:flex;
  gap:10px;
  margin-top:12px;
}

.st-social {
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  background:rgba(255,255,255,.06);
}

.st-social:hover {
  background:rgba(255,255,255,.10);
}

.st-footer-contact {
  margin-top:12px;
  display:grid;
  gap:6px;
}

.st-footer-link-inline {
  display:inline-block;
  padding:0;
  color:rgba(247,243,238,.72);
}

.st-footer-link-inline:hover {
  color:#fff;
}

.st-footer-bottom {
  padding:14px 0 22px;
  border-top:1px solid rgba(255,255,255,.08);
}

.st-footer-muted {
  color:rgba(247,243,238,.6);
  font-size:13px;
}

/* Admin layout */ body.admin {
  background:#f5f7fb;
}

body.admin::before {
  display:none;
}

body.admin .wrap {
  max-width:1520px;
  padding:0 18px;
}

.admin .topbar {
  background:#ffffff !important;
  border-bottom:1px solid #e6eaf0;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}

.admin .brand {
  font-weight:900;
  letter-spacing:.3px;
}

.admin .catbar {
  gap:10px;
  border-top:1px solid #eef2f7;
}

.admin .catbar a {
  padding:8px 12px;
  border-radius:10px;
  background:#f1f5f9 !important;
  border:1px solid #e3e8ef !important;
  font-weight:700;
  opacity:1;
}

.admin .catbar a:hover {
  background:#e9eef6 !important;
  text-decoration:none;
}

.admin .card {
  border-color:#e5eaf1;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.admin .cardpad {
  padding:16px;
  overflow-x:visible;
}

.admin .h1 {
  font-size:28px;
}

.admin .h2 {
  font-size:16px;
}

.admin .inp {
  background:#ffffff;
  border-color:#d7dde6;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.04);
  width:100%;
  max-width:100%;
}

.admin .btn {
  background:#111827;
  color:#ffffff;
  border-color:#111827;
}

.admin .btn:hover {
  background:#0b1220;
}

.admin .btn,.admin .pill {
  box-shadow:none;
  transform:none;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  line-height:1.2;
  white-space:normal;
  text-align:center;
}

.admin .btn:hover,.admin .pill:hover {
  box-shadow:none;
  transform:none;
}

.admin .pill {
  background:#ffffff;
  border-color:#d7dde6;
}

.admin .pill:hover {
  background:#f2f5f9;
}

.admin .table th {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#6b7280;
  background:#f8fafc;
}

.admin .table th,.admin .table td {
  word-break:break-word
}

.admin .table {
  width:100%;
  display:table;
  table-layout:fixed;
  min-width:0;
}

.admin .table tr:nth-child(even) td {
  background:#fbfcfe;
}

.admin .admin-actions {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
  align-items:center;
}

.admin .admin-inline-form {
  display:inline-flex;
}

.admin .admin-actions .btn,
.admin .admin-actions .pill {
  white-space:nowrap;
}

.admin .table td:last-child {
  white-space:normal;
}

.admin-variant-quick-presets {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.admin-variant-quick-presets .pill.is-active {
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.admin-variant-quick-table-wrap {
  width:100%;
  overflow-x:auto;
}

.admin-variant-quick-table .inp {
  width:100%;
  min-width:120px;
}

.admin .flash {
  border-color:#c7d2fe;
  background:#eef2ff;
}

.admin-order-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
}

.admin-order-secondary {
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
}

.admin-order-grid > .card,.admin-order-secondary > .card {
  min-width:0
}

/* Catalog filters */ .catalog-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
  margin-top:18px
}

.catalog-layout {
  display:grid;
  grid-template-columns:260px 1fr;
  gap:28px;
  align-items:start
}

.catalog-sidebar {
  position:sticky;
  top:120px;
  min-width:0
}

.catalog-filters-desktop {
  display:block;
}

.catalog-mobile-filters-open,
.catalog-mobile-filters {
  display:none;
}

.catalog-main {
  min-width:0
}

.catalog-tags {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}

.catalog-filters {
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background:#fff;
  display:grid;
  gap:12px;
  overflow:hidden
}

.filter-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px
}

.filter-title {
  font-weight:800;
  font-size:14px
}

.filter-reset {
  font-size:12px;
  color:var(--muted)
}

.filter-reset:hover {
  text-decoration:underline;
  text-underline-offset:4px
}

.filter-group {
  display:grid;
  gap:6px
}

.filter-label {
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700
}

.catalog-price {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px
}

.filter-check {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:13px
}

.filter-actions {
  display:grid;
  gap:10px;
  margin-top:4px
}

.filter-actions .btn,.filter-actions .pill {
  width:100%;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-radius:16px;
  padding:12px 14px;
  box-shadow:none !important;
  transform:none !important
}

.filter-actions .btn:hover,.filter-actions .pill:hover {
  box-shadow:none !important;
  transform:none !important
}

.catalog-filters .inp {
  width:100%;
  max-width:100%
}
@media(max-width:980px) {
  .catalog-layout {
    grid-template-columns:1fr
  }

  .catalog-description-card {
    display:none;
  }

  .catalog-sidebar {
    position:static
  }

  .catalog-filters-desktop {
    display:none;
  }

  .catalog-mobile-filters-open {
    display:inline-flex;
    margin-bottom:10px;
  }

  .catalog-mobile-filters {
    position:fixed;
    inset:0;
    z-index:165;
    display:block;
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease;
  }

  .catalog-mobile-filters.is-open {
    opacity:1;
    pointer-events:auto;
  }

  .catalog-mobile-filters[hidden] {
    display:none !important;
  }

  .catalog-mobile-filters-backdrop {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.42);
    backdrop-filter:blur(1px);
  }

  .catalog-mobile-filters-panel {
    position:relative;
    z-index:1;
    width:min(520px, calc(100vw - 20px));
    max-height:calc(100dvh - 20px);
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    touch-action:pan-y;
    margin:10px auto;
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--card);
    box-shadow:0 24px 54px rgba(13,15,20,.26);
    padding:14px 14px calc(14px + env(safe-area-inset-bottom));
    opacity:0;
    transform:translateY(14px);
    transition:transform .2s ease, opacity .2s ease;
    will-change:transform;
  }

  .catalog-mobile-filters.is-open .catalog-mobile-filters-panel {
    opacity:1;
    transform:translateY(0);
  }

  .catalog-mobile-filters-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
}

@supports not (height:100dvh) {
  @media(max-width:980px) {
    .catalog-mobile-filters-panel {
      max-height:calc(100vh - 20px);
    }
  }
}
@media(max-width:1100px) {
  .admin .grid {
    grid-template-columns:1fr !important
  }

  .admin-order-grid {
    grid-template-columns:1fr
  }

  .admin-order-secondary {
    grid-template-columns:1fr
  }
}
@media(min-width:1400px) {
  .admin-order-secondary {
    grid-template-columns:1fr 1fr
  }
}

.cart-summary .btn,.cart-summary .pill {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.cart-item-actions .pill {
  background:#fff;
  border-color:rgba(13,15,20,.2);
}

.cart-item-actions .pill:hover {
  border-color:rgba(13,15,20,.3);
}

.account-shell {
  display:grid;
  gap:18px;
}

.account-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.account-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.account-actions .pill,.account-actions .btn {
  min-height:44px;
}

.account-reward-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.account-table-wrap {
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.account-table-wrap .table {
  min-width:640px;
}

.account-order-layout {
  display:grid;
  gap:18px;
}

.account-total-row {
  width:100%;
}

.account-review-form {
  display:grid;
  gap:8px;
}

.section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:18px 0 10px
}

.section-title {
  margin:0;
  font-size:22px
}

.league-badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:66px;
  height:66px;
  border-radius:12px;
  background:linear-gradient(135deg,#0d0f14 0%,#1f2937 100%);
  color:#fff;
  font-weight:800;
  font-size:16px;
  letter-spacing:.04em
}

.league-logo-wrap {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:66px;
  height:66px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  overflow:hidden
}

.league-logo {
  width:54px;
  height:54px;
  object-fit:contain
}

.league-name {
  font-size:13px;
  font-weight:700;
  line-height:1.25;
  color:var(--text)
}

.page-hero {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:18px 0 12px;
  align-items:flex-start;
  text-align:left
}

.page-hero .h1 {
  margin:0
}

.page-lead {
  color:var(--muted);
  max-width:720px
}

.order-flow-shell {
  display:grid;
  gap:16px
}

.order-flow-panel {
  display:grid;
  gap:10px
}

.order-flow-data {
  display:grid;
  gap:6px
}

.order-flow-status {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0
}

.order-flow-status-card {
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 22px rgba(13,15,20,.05)
}

.order-flow-label {
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:4px
}

.order-flow-value {
  font-weight:800;
  font-size:16px;
  line-height:1.3
}

.order-flow-total {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}

.order-flow-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}

.order-flow-actions .btn,.order-flow-actions .pill {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center
}

.order-flow-help {
  color:var(--muted);
  font-size:12px;
  line-height:1.5
}

.order-flow-urgency-note {
  margin-top:8px;
  margin-bottom:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  color:#b42318;
  text-transform:uppercase;
}

.mbway-urgent-card {
  border-color:#f59e0b;
  box-shadow:0 0 0 0 rgba(245, 158, 11, .26), 0 10px 22px rgba(13,15,20,.08);
  animation:mbwayUrgencyPulse 1.15s ease-in-out infinite;
}

@keyframes mbwayUrgencyPulse {
  0%, 100% {
    border-color:#f59e0b;
    box-shadow:0 0 0 0 rgba(245, 158, 11, .0), 0 10px 22px rgba(13,15,20,.08);
  }

  50% {
    border-color:#ef4444;
    box-shadow:0 0 0 7px rgba(239, 68, 68, .16), 0 10px 22px rgba(13,15,20,.08);
  }
}

@media (prefers-reduced-motion:reduce) {
  .mbway-urgent-card {
    animation:none;
  }
}

.empty-state {
  align-items:center;
  text-align:center;
  min-height:260px;
  justify-content:center
}

.empty-state .page-lead {
  max-width:420px
}

.seo-block {
  display:grid;
  gap:12px
}

.seo-block p {
  color:var(--muted);
  margin:0
}

.seo-tags {
  margin-top:2px
}

.form-section {
  margin-top:18px
}

.form-section-title {
  font-weight:800;
  margin-bottom:8px
}

.form-section-note {
  font-size:12px;
  color:var(--muted)
}

.checkout-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px
}

.summary-card {
  position:sticky;
  top:120px
}

.summary-list {
  display:grid;
  gap:6px
}

.summary-total {
  font-weight:800;
  font-size:18px
}

.catalog-header {
  align-items:center;
  margin-top:8px
}

.catalog-count {
  display:flex;
  gap:8px;
  align-items:baseline;
  font-weight:800
}

.catalog-tags {
  padding:8px 0
}

.table th {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#6b7280;
  background:#f8fafc
}

.table tr:hover td {
  background:rgba(13,15,20,.02)
}

.product-panel {
  position:sticky;
  top:120px
}

.product-panel .btn {
  width:100%
}

.cart-banner {
  box-shadow:var(--shadow-soft)
}

.auth-card .card {
  box-shadow:var(--shadow-lg)
}

/* Cookie consent */ .cookie-consent {
  position:fixed;
  left:20px;
  right:20px;
  bottom:18px;
  z-index:80;
  display:flex;
  justify-content:center;
  pointer-events:auto;
}

.cookie-consent[hidden], .cookie-preferences-modal[hidden] {
  display:none !important;
}

.cookie-consent-card {
  width:min(900px, 100%);
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(13,15,20,.18);
  padding:16px;
  pointer-events:auto;
}

.cookie-consent-title {
  font-weight:800;
  font-size:18px
}

.cookie-consent-text {
  margin:8px 0 0;
  color:var(--muted)
}

.cookie-consent-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px
}

.cookie-consent-links {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:10px;
  font-size:13px
}

.cookie-consent-links a {
  color:var(--muted);
  text-decoration:underline;
  text-underline-offset:3px
}

.cookie-preferences-modal {
  position:fixed;
  inset:0;
  z-index:90;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}

.cookie-preferences-modal.is-open {
  opacity:1;
  pointer-events:auto
}

.cookie-preferences-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.38);
}

.cookie-preferences-panel {
  position:relative;
  width:min(760px, 92vw);
  max-height:86vh;
  overflow:auto;
  margin:6vh auto 0;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 24px 54px rgba(13,15,20,.24);
  padding:18px;
}

.cookie-preferences-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px
}

.cookie-option {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding:12px 0;
  border-top:1px solid var(--line);
}

.cookie-option input[type="checkbox"] {
  width:18px;
  height:18px;
  margin-top:4px;
}

.cookie-badge {
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:12px;
  font-weight:700;
  color:var(--muted);
}
@media(max-width:980px) {
  .product-panel {
    position:static
  }

  .checkout-grid {
    grid-template-columns:1fr
  }

  .summary-card {
    position:static
  }

  .league-badge,.league-logo-wrap {
    width:56px;
    height:56px
  }

  .league-logo {
    width:46px;
    height:46px
  }

  .cookie-consent {
    left:10px;
    right:10px;
    bottom:10px;
  }

  .cookie-consent-actions .btn, .cookie-consent-actions .pill {
    width:100%;
    justify-content:center;
  }
}
@media(max-width:640px) {
  .wrap {
    padding:0 14px
  }

  html {
    scroll-behavior:auto
  }

  .brand {
    font-size:22px
  }

  .nav {
    gap:10px;
    padding:14px 0
  }

  .search {
    padding:3px
  }

  .search .btn {
    padding:8px 12px
  }

  .search .inp {
    padding:8px 8px
  }

  .section-head {
    flex-wrap:wrap;
    gap:8px
  }

  .section-head .pill {
    font-size:12px;
    padding:7px 10px
  }

  .league-badge,.league-logo-wrap {
    width:52px;
    height:52px
  }

  .league-logo {
    width:42px;
    height:42px
  }

  .league-name {
    font-size:12px
  }

  .section-head {
    align-items:center;
    gap:8px
  }

  .section-head .pill {
    padding:8px 10px;
    font-size:12px
  }

  .section-title {
    font-size:20px
  }

  .inp,
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size:16px;
  }

  .inp:focus {
    transform:none;
  }

}

@media(max-width:700px) {
  .order-flow-status,.order-flow-actions {
    grid-template-columns:1fr
  }
}

/* Mobile hardening for legacy inline layouts */ @media(max-width:980px) {
  .navlinks {
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-start;
  }

  .nav-account {
    margin-left:auto;
  }

  .nav-account-menu {
    max-width:min(92vw,280px);
  }

  .cart-modal-panel {
    width:min(420px,92vw);
  }

  .table {
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    white-space:nowrap;
  }

  .table thead, .table tbody, .table tr {
    white-space:nowrap;
  }

  .table th, .table td {
    min-width:110px;
  }

  .table th:first-child, .table td:first-child {
    min-width:160px;
  }

  .inp {
    width:100%;
    max-width:100%;
  }
}
@media(max-width:900px) {
  .row > * {
    min-width:0 !important;
  }

  .account-metrics,
  .account-reward-grid {
    grid-template-columns:1fr;
  }

  .account-actions {
    display:grid;
    grid-template-columns:1fr;
  }

  .account-actions .pill,
  .account-actions .btn {
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .account-table-wrap {
    margin:0 -16px;
    padding:0 16px 4px;
  }

  .account-table-wrap .table {
    min-width:620px;
  }

  .account-total-row {
    gap:6px;
  }

  .row > div[style*="min-width"], .row > label[style*="min-width"] {
    flex:1 1 100% !important;
    min-width:0 !important;
  }

  .row input.inp[style*="width:"], .row select.inp[style*="width:"], .row textarea.inp[style*="width:"] {
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  .row > .btn, .row > .pill, .row > button.btn, .row > button.pill, .row > a.btn, .row > a.pill {
    width:100%;
    justify-content:center;
    text-align:center;
  }

  body:not(.admin) #variant-discount {
    width:auto !important;
    min-width:0;
  }

  .grid[style*="grid-template-columns:repeat(2"], .grid[style*="grid-template-columns:1fr 1fr"], .grid[style*="grid-template-columns:1.1fr .9fr"], .grid[style*="grid-template-columns:1.2fr .8fr"] {
    grid-template-columns:1fr !important;
  }

  [style*="grid-column:span 2"] {
    grid-column:auto !important;
  }

  .cookie-preferences-panel {
    width:min(760px,96vw);
    margin-top:3vh;
    max-height:90vh;
  }

  .admin .table td[style*="white-space:nowrap"] {
    white-space:normal !important;
  }

  .admin .table td[style*="text-align:right"] {
    text-align:left !important;
  }

  .admin .table form[style*="display:inline-block"] {
    display:inline-flex !important;
    margin:4px 6px 0 0;
  }
}

/* Sport commerce redesign layer */
body:not(.admin) {
  --bg:#eff3fb;
  --bg-2:#e1e8f6;
  --card:#ffffff;
  --muted:#5b6883;
  --text:#0b1224;
  --line:#d2dced;
  --brand:#0b1224;
  --accent:#ff3b30;
  --accent-soft:rgba(255,59,48,.13);
  --shadow:0 20px 52px rgba(7,12,24,.1);
  --shadow-soft:0 10px 24px rgba(7,12,24,.08);
  --shadow-lg:0 28px 66px rgba(7,12,24,.14);
  --ring:0 0 0 3px rgba(255,59,48,.22);
  font-family:"Manrope","Segoe UI",sans-serif;
  background:
    radial-gradient(1200px 460px at 8% -10%, rgba(255,59,48,.18), transparent 58%),
    radial-gradient(950px 420px at 96% -8%, rgba(14,116,244,.18), transparent 62%),
    linear-gradient(180deg,#f6f9ff 0%,#eff3fb 36%,#eff3fb 100%);
}

body:not(.admin)::before {
  inset:-12% -10% auto -10%;
  height:55%;
  background:
    radial-gradient(56% 74% at 8% 8%, rgba(255,59,48,.16), transparent 62%),
    radial-gradient(62% 66% at 96% 8%, rgba(14,116,244,.13), transparent 64%),
    linear-gradient(180deg,#f8fbff 0%,#eff3fb 56%,#eff3fb 100%);
}

body:not(.admin) h1,
body:not(.admin) h2,
body:not(.admin) h3,
body:not(.admin) h4,
body:not(.admin) .h1,
body:not(.admin) .h2,
body:not(.admin) .brand {
  font-family:"Barlow Condensed","Arial Narrow",sans-serif;
  letter-spacing:.02em;
}

body:not(.admin) .h1 {
  text-transform:uppercase;
  font-size:clamp(32px,4vw,50px);
  line-height:.95;
}

body:not(.admin) .h2 {
  font-size:22px;
  letter-spacing:.015em;
}

body:not(.admin) .topbar {
  background:linear-gradient(180deg,rgba(10,16,33,.95) 0%, rgba(12,20,39,.9) 100%) !important;
  border-bottom:1px solid rgba(120,146,192,.3);
  box-shadow:0 14px 36px rgba(7,12,24,.32);
}

body:not(.admin) .brand {
  color:#f6f9ff;
  text-transform:uppercase;
  font-size:30px;
  font-weight:800;
  line-height:.95;
}

body:not(.admin) .navlink {
  color:#c6d4ec;
  opacity:1;
}

body:not(.admin) .navlink:hover {
  color:#ffffff;
}

body:not(.admin) .search {
  border:1px solid rgba(129,154,197,.28);
  background:rgba(15,24,43,.92);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
}

body:not(.admin) .search .inp {
  color:#e7efff;
}

body:not(.admin) .search .inp::placeholder {
  color:#9caeca;
}

body:not(.admin) .topbar .search {
  background:#ffffff;
  border-color:#c7d4ea;
}

body:not(.admin) .topbar .search .inp {
  color:#0f1b35;
  background:#ffffff;
  caret-color:#0f1b35;
  -webkit-text-fill-color:#0f1b35;
}

body:not(.admin) .topbar .search .inp:-webkit-autofill {
  -webkit-text-fill-color:#0f1b35;
  box-shadow:0 0 0 1000px #fff inset;
}

body:not(.admin) .topbar .search .inp::placeholder {
  color:#7a8cab;
}

body:not(.admin) .inp {
  border:1px solid #c9d5ea;
  background:#fff;
  color:#101b33;
  border-radius:14px;
}

body:not(.admin) .btn {
  border:1px solid #d92f25;
  background:linear-gradient(135deg,#ff4d42 0%, #e22f26 100%);
  color:#fff;
  border-radius:999px;
  box-shadow:0 14px 30px rgba(226,47,38,.28);
  font-weight:800;
  letter-spacing:.015em;
}

body:not(.admin) .btn:hover {
  background:linear-gradient(135deg,#ff6056 0%, #d52920 100%);
  box-shadow:0 18px 34px rgba(213,41,32,.32);
}

body:not(.admin) .pill {
  border:1px solid #c8d3e8;
  background:#fff;
  color:#111c34;
  border-radius:999px;
  font-weight:700;
}

body:not(.admin) .pill:hover {
  border-color:#a7b7d4;
  background:#f8fbff;
}

body:not(.admin) .nav-cart-count {
  background:linear-gradient(135deg,#ff4d42 0%, #d92f25 100%);
}

body:not(.admin) .nav-account-menu {
  background:#fff;
  border:1px solid #cfdbef;
  box-shadow:0 22px 46px rgba(8,14,28,.22);
}

body:not(.admin) .topbar .catbar {
  border-top:1px solid rgba(121,148,196,.28);
  margin-top:10px;
  padding:10px 0 12px;
}

body:not(.admin) .store-urgency-bar {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0 14px;
  border-top:1px solid rgba(121,148,196,.22);
}

body:not(.admin) .store-urgency-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,59,48,.26);
  border:1px solid rgba(255,135,128,.72);
  color:#ffe9e7;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
  white-space:nowrap;
  box-shadow:0 0 0 0 rgba(255,59,48,.45);
  animation:offerPulse 2.2s ease-in-out infinite;
}

body:not(.admin) .store-urgency-pill::before {
  content:"⚡";
  margin-right:6px;
  font-size:12px;
}

body:not(.admin) .store-urgency-text {
  color:#e5efff;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}

body:not(.admin) .store-urgency-link {
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(154,180,223,.46);
  color:#f2f7ff;
  background:rgba(16,26,46,.72);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

@keyframes offerPulse {
  0%, 100% {
    box-shadow:0 0 0 0 rgba(255,59,48,.0);
  }

  50% {
    box-shadow:0 0 0 8px rgba(255,59,48,.16);
  }
}

body:not(.admin) .topbar .catbar a {
  color:#d6e2f8;
  opacity:1;
  font-weight:700;
}

body:not(.admin) .topbar .catbar a:hover {
  color:#fff;
  text-decoration:none;
}

body:not(.admin) .topbar .catbar > a,
body:not(.admin) .topbar .catbar .cat-item > a {
  border:0;
  background:transparent !important;
  border-radius:0;
  padding:6px 0;
}

body:not(.admin) .cat-dropdown,
body:not(.admin) .cat-submenu {
  border:1px solid #cbd7eb;
  box-shadow:0 20px 38px rgba(8,14,28,.18);
}

body:not(.admin) .cat-dropdown {
  min-width:250px;
  margin-top:0;
  padding:10px;
  top:calc(100% - 1px);
  z-index:90;
}

@media(min-width:901px) {
  body:not(.admin) .topbar .catbar {
    justify-content:center;
  }

  body:not(.admin) .cat-item {
    position:relative;
  }

  body:not(.admin) .cat-item::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:100%;
    height:12px;
  }

  body:not(.admin) .cat-item:hover .cat-dropdown,
  body:not(.admin) .cat-item:focus-within .cat-dropdown {
    display:block;
  }

  body:not(.admin) .cat-subitem {
    position:relative;
  }

  body:not(.admin) .cat-subitem::after {
    content:"";
    position:absolute;
    top:0;
    left:100%;
    width:12px;
    height:100%;
  }

  body:not(.admin) .cat-sub-caret {
    display:inline-block;
  }

  body:not(.admin) .cat-submenu {
    position:absolute;
    left:calc(100% - 2px);
    top:-8px;
    min-width:220px;
    margin:0;
    padding:8px;
    border:1px solid #cbd7eb;
    border-radius:14px;
    background:#fff;
    box-shadow:0 20px 38px rgba(8,14,28,.18);
    display:none;
    z-index:95;
  }

  body:not(.admin) .cat-subitem:hover > .cat-submenu,
  body:not(.admin) .cat-subitem:focus-within > .cat-submenu {
    display:block;
  }

  body:not(.admin) .topbar .catbar .cat-submenu-link {
    display:block;
    padding:8px 10px;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
  }
}

body:not(.admin) .topbar .catbar .cat-dropdown a,
body:not(.admin) .topbar .catbar .cat-submenu a,
body:not(.admin) .topbar .catbar .cat-dropdown .cat-dropdown-parent,
body:not(.admin) .topbar .catbar .cat-submenu .cat-submenu-link {
  color:#0f1b35 !important;
  background:#fff !important;
  border:0 !important;
  border-radius:8px;
  padding:8px 10px;
  text-decoration:none;
}

body:not(.admin) .topbar .catbar .cat-submenu .cat-submenu-link-more,
body:not(.admin) .topbar .catbar .cat-dropdown .cat-submenu-link-more {
  margin-top:6px;
  background:#132341 !important;
  color:#f2f7ff !important;
  border:1px solid #294272 !important;
  font-weight:800;
  text-align:center;
}

body:not(.admin) .topbar .catbar .cat-submenu .cat-submenu-link-more:hover,
body:not(.admin) .topbar .catbar .cat-dropdown .cat-submenu-link-more:hover {
  background:#19305a !important;
  color:#ffffff !important;
}

body:not(.admin) .topbar .catbar .cat-dropdown a:hover,
body:not(.admin) .topbar .catbar .cat-submenu a:hover {
  background:rgba(15,27,53,.06) !important;
  color:#0b1730 !important;
}

body:not(.admin) .card {
  border:1px solid #d5deee;
  border-radius:22px;
  box-shadow:var(--shadow);
  background:rgba(255,255,255,.98);
}

body:not(.admin) .tag {
  border:1px solid #cfd9ea;
  background:#fff;
  color:#15213d;
  font-weight:700;
}

body:not(.admin) .tag:hover {
  border-color:#9fb3d4;
  box-shadow:0 10px 20px rgba(17,29,53,.12);
}

body:not(.admin) .section-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:22px 0 12px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(155,176,209,.32);
}

body:not(.admin) .section-title {
  color:#0f1b35;
  text-transform:uppercase;
  letter-spacing:.035em;
}

body:not(.admin) .page-hero {
  margin:20px 0 14px;
  padding:18px 18px 16px;
  border:1px solid #d0dbee;
  border-radius:22px;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255,59,48,.12), transparent 58%),
    radial-gradient(100% 120% at 100% 0%, rgba(14,116,244,.12), transparent 60%),
    #ffffff;
  box-shadow:0 14px 34px rgba(8,14,28,.1);
}

body:not(.admin) .page-lead {
  color:#4c5b78;
}

body:not(.admin) .pcard {
  border:1px solid #cfd9eb;
  overflow:hidden;
}

body:not(.admin) .pcard:hover {
  transform:translateY(-6px);
  box-shadow:0 24px 48px rgba(9,15,30,.16);
}

body:not(.admin) .pimg {
  background:linear-gradient(135deg,#0f1930 0%, #16284d 100%);
}

body:not(.admin) .product-badge {
  background:rgba(11,18,36,.88);
  border:1px solid rgba(255,255,255,.18);
}

body:not(.admin) .product-discount {
  background:rgba(255,59,48,.14);
  color:#dc2626;
  border:1px solid rgba(220,38,38,.34);
}

body:not(.admin) .price-current,
body:not(.admin) .product-price {
  color:#d72920;
  font-weight:900;
}

body:not(.admin) .price-discount {
  background:rgba(255,59,48,.11);
  color:#d52920;
  border:1px solid rgba(213,41,32,.24);
}

body:not(.admin) .catalog-filters,
body:not(.admin) .soft-card,
body:not(.admin) .review-card,
body:not(.admin) .info-card {
  border:1px solid #d4deee;
  box-shadow:0 12px 28px rgba(7,12,24,.07);
  border-radius:16px;
}

body:not(.admin) .auth-hero {
  border:1px solid rgba(130,153,191,.34);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,59,48,.16), transparent 58%),
    radial-gradient(100% 120% at 100% 0%, rgba(14,116,244,.2), transparent 60%),
    linear-gradient(140deg,#0c152b 0%, #101f3d 100%);
  color:#f2f7ff;
}

body:not(.admin) .auth-kicker,
body:not(.admin) .auth-subtitle {
  color:rgba(214,227,248,.88);
}

body:not(.admin) .auth-title {
  font-family:"Barlow Condensed","Arial Narrow",sans-serif;
  text-transform:uppercase;
  letter-spacing:.02em;
}

body:not(.admin) .auth-note {
  border:1px solid rgba(166,189,226,.42);
  background:rgba(255,255,255,.1);
  color:#ecf3ff;
}

body:not(.admin) .product-main {
  background:linear-gradient(145deg,#eef4ff 0%, #dde8f8 100%);
  border:1px solid #cfdbee;
}

body:not(.admin) .size-btn {
  border:1px solid #ccd8eb;
  background:#fff;
}

body:not(.admin) .size-btn.is-active {
  background:linear-gradient(135deg,#0f1a35 0%, #182b54 100%);
  border-color:#16264a;
}

body:not(.admin) .size-fit-btn:not(.is-active) {
  color:#1d2d52;
}

body:not(.admin) .product-cta,
body:not(.admin) .cart-checkout {
  background:linear-gradient(135deg,#ff4d42 0%, #e22f26 100%);
  border-color:#d92f25;
  box-shadow:0 16px 32px rgba(226,47,38,.24);
}

body:not(.admin) .product-cta:hover,
body:not(.admin) .cart-checkout:hover {
  background:linear-gradient(135deg,#ff6056 0%, #d52920 100%);
}

body:not(.admin) .product-perk,
body:not(.admin) .cart-banner,
body:not(.admin) .loyalty-banner {
  border:1px solid #d2ddef;
  background:#f8fbff;
}

body:not(.admin) .table th {
  background:#111d38;
  color:#eaf2ff;
  border-bottom:1px solid #24365d;
}

body:not(.admin) .table td {
  border-bottom:1px solid #d7e0ef;
}

body:not(.admin) .flash {
  border:1px solid rgba(14,116,244,.32);
  background:rgba(14,116,244,.1);
  color:#0c2d68;
}

body:not(.admin) .promo-announcements {
  margin:14px 0 6px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

body:not(.admin) .promo-announcement-card {
  border:1px solid #d2ddef;
  border-radius:18px;
  padding:14px;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(14,116,244,.09), transparent 55%),
    radial-gradient(110% 140% at 100% 0%, rgba(255,59,48,.11), transparent 62%),
    #fff;
  box-shadow:0 12px 28px rgba(8,14,28,.08);
}

body:not(.admin) .promo-announcement-kicker {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid #c8d4ea;
  background:#f8fbff;
  color:#1b315f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

body:not(.admin) .promo-announcement-title {
  margin:10px 0 8px;
  color:#0f1b35;
  font-family:"Barlow Condensed","Arial Narrow",sans-serif;
  font-size:28px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.01em;
}

body:not(.admin) .promo-announcement-copy {
  margin:0;
  color:#47597c;
  font-size:13px;
  line-height:1.45;
}

body:not(.admin) .promo-announcement-cta {
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid #c3d0e8;
  background:#fff;
  color:#102045;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}

body:not(.admin) .promo-announcement-cta:hover {
  border-color:#9db1d4;
  background:#f8fbff;
  text-decoration:none;
}

body:not(.admin) .cookie-consent-card,
body:not(.admin) .cookie-preferences-panel {
  border:1px solid #cfdbee;
  box-shadow:0 22px 48px rgba(8,14,28,.22);
}

body:not(.admin) .st-footer {
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(255,59,48,.2), transparent 56%),
    radial-gradient(110% 120% at 100% 0%, rgba(14,116,244,.18), transparent 60%),
    linear-gradient(130deg,#0a1020 0%, #111d38 100%);
  border-top:1px solid rgba(116,140,181,.3);
}

body:not(.admin) .st-footer-link {
  color:rgba(232,240,255,.84);
}

body:not(.admin) .st-footer-link:hover {
  color:#fff;
}

body:not(.admin) .st-social {
  border:1px solid rgba(146,172,216,.35);
  background:rgba(255,255,255,.06);
}

/* Fallback layout for home sections if home.css fails to load */
body:not(.admin) .store-home {
  display:grid;
  gap:22px;
}

body:not(.admin) .store-home-products {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

body:not(.admin) .store-home-product-slot {
  min-width:0;
}

body:not(.admin) .store-home-product-slot .pcard {
  height:100%;
}

body:not(.admin) .store-home-leagues {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

@media(max-width:980px) {
  body:not(.admin) .brand {
    font-size:26px;
  }

  body:not(.admin) .section-head {
    margin-top:18px;
  }

  body:not(.admin) .store-urgency-bar {
    padding:8px 0 10px;
  }

  body:not(.admin) .store-urgency-text {
    font-size:12px;
  }

  body:not(.admin) .section-head .pill {
    min-height:32px;
    padding:0 10px;
    font-size:12px;
  }

  body:not(.admin) .store-home-products,
  body:not(.admin) .store-home-leagues {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body:not(.admin) .promo-announcements {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:900px) {
  body:not(.admin) .topbar .catbar {
    gap:8px 14px;
    padding:6px 0 10px;
    flex-wrap:wrap;
    overflow:visible;
    justify-content:flex-start;
    scrollbar-width:auto;
  }

  body:not(.admin) .topbar .catbar::-webkit-scrollbar {
    display:block;
  }

  body:not(.admin) .topbar .catbar > a,
  body:not(.admin) .topbar .catbar .cat-item > a {
    color:#dde8fb;
    background:transparent !important;
    border:0 !important;
    border-radius:0;
    box-shadow:none !important;
    padding:6px 0;
    min-height:auto;
    font-size:13px;
    font-weight:700;
    border-bottom:2px solid transparent !important;
  }

  body:not(.admin) .topbar .catbar > a:hover,
  body:not(.admin) .topbar .catbar .cat-item > a:hover {
    color:#ffffff;
    border-bottom-color:rgba(255,255,255,.55) !important;
  }

  body:not(.admin) .store-urgency-pill {
    min-height:30px;
    padding:0 12px;
    font-size:11px;
  }

  body:not(.admin) .store-urgency-link {
    min-height:28px;
    font-size:11px;
  }
}

@media(max-width:640px) {
  body:not(.admin) .brand {
    font-size:23px;
  }

  body:not(.admin) .nav {
    gap:8px;
  }

  body:not(.admin) .search {
    border-radius:16px;
  }

  body:not(.admin) .btn,
  body:not(.admin) .pill {
    min-height:42px;
  }

  body:not(.admin) .h1 {
    font-size:clamp(30px,11vw,42px);
  }

  body:not(.admin) .page-hero {
    padding:14px;
    border-radius:18px;
  }

  body:not(.admin) .store-urgency-bar {
    flex-wrap:wrap;
    gap:8px;
  }

  body:not(.admin) .store-urgency-text {
    flex:1 1 100%;
    order:3;
    color:#c8d9f4;
  }

  body:not(.admin) .store-urgency-link {
    margin-left:0;
    min-height:28px;
    font-size:11px;
    padding:0 10px;
  }

  body:not(.admin) .store-home-products,
  body:not(.admin) .store-home-leagues {
    grid-template-columns:1fr;
  }

  body:not(.admin) .promo-announcements {
    grid-template-columns:1fr;
    gap:10px;
    margin:12px 0 2px;
  }

  body:not(.admin) .promo-announcement-card {
    padding:12px;
    border-radius:15px;
  }

  body:not(.admin) .promo-announcement-title {
    font-size:24px;
  }
}

/* Mobile header compaction on scroll */
@media(max-width:900px) {
  body:not(.admin) .topbar {
    position:relative !important;
    top:auto !important;
    transition:box-shadow .2s ease;
  }

  body:not(.admin) .topbar .catbar,
  body:not(.admin) .topbar .store-urgency-bar {
    overflow:hidden;
    max-height:180px;
    opacity:1;
    transition:max-height .24s ease, opacity .18s ease, padding .2s ease, margin .2s ease, border-color .2s ease;
  }

  body:not(.admin).header-compact .topbar .catbar {
    max-height:0;
    opacity:0;
    margin-top:0;
    padding-top:0;
    padding-bottom:0;
    border-top-color:transparent;
    pointer-events:none;
  }

  body:not(.admin).header-compact .topbar .store-urgency-bar {
    max-height:0;
    opacity:0;
    padding-top:0;
    padding-bottom:0;
    border-top-color:transparent;
    pointer-events:none;
  }

  body:not(.admin).header-compact .nav {
    padding:10px 0;
    gap:8px;
  }

  body:not(.admin) .topbar .search {
    background:#ffffff !important;
    border-color:#c7d4ea !important;
  }

  body:not(.admin) .topbar .search .inp {
    color:#0f1b35 !important;
    background:#ffffff !important;
    caret-color:#0f1b35;
    -webkit-text-fill-color:#0f1b35;
  }

  body:not(.admin) .topbar .search .inp:-webkit-autofill {
    -webkit-text-fill-color:#0f1b35;
    box-shadow:0 0 0 1000px #fff inset;
  }

  body:not(.admin) .topbar .search .inp::placeholder {
    color:#7a8cab !important;
  }
}

/* Mobile stacked tables for account/order flows */
@media(max-width:900px) {
  .table.table-stack {
    display:block;
    width:100%;
    max-width:100%;
    overflow:visible;
    white-space:normal !important;
  }

  .table.table-stack thead {
    display:none;
  }

  .table.table-stack tbody {
    display:grid;
    gap:10px;
  }

  .table.table-stack tr {
    display:block;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    padding:10px 12px;
  }

  .table.table-stack tr:hover td {
    background:transparent;
  }

  .table.table-stack td {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    width:100%;
    min-width:0 !important;
    border:0;
    padding:6px 0;
    white-space:normal;
  }

  .table.table-stack td::before {
    content:attr(data-label);
    flex:0 0 42%;
    max-width:42%;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
  }

  .table.table-stack td.actions-cell {
    display:block;
    padding-top:10px;
  }

  .table.table-stack td.actions-cell::before {
    display:none;
  }

  .table.table-stack td.actions-cell .btn,
  .table.table-stack td.actions-cell .pill {
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .admin .table.table-stack td.actions-cell .admin-actions {
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .admin .table.table-stack td.actions-cell .admin-inline-form {
    display:block;
  }

  .account-table-wrap {
    margin:0;
    padding:0;
  }

.account-table-wrap .table.table-stack {
    min-width:0;
  }
}

/* Category and product reminders */
body:not(.admin) .category-promo-card {
  border-style:dashed;
}

body:not(.admin) .category-promo-card .h2 {
  color:#102147;
}

body:not(.admin) .product-request-card {
  border:1px dashed #c1d1ea;
  border-radius:14px;
  padding:12px;
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(14, 116, 244, .08), transparent 58%),
    radial-gradient(100% 120% at 100% 0%, rgba(255, 59, 48, .08), transparent 62%),
    #f7fbff;
}

body:not(.admin) .product-request-title {
  font-weight:800;
  color:#102147;
  margin-bottom:4px;
}

body:not(.admin) .product-request-actions {
  margin-top:10px;
  gap:8px;
  flex-wrap:wrap;
}

@media(max-width:640px) {
  body:not(.admin) .product-request-actions .pill {
    width:100%;
    justify-content:center;
  }
}

/* Mobile header stability fix (avoid blue shadow trail while scrolling) */
@media (max-width: 900px) {
  body:not(.admin) .topbar {
    background: #0f1b35 !important;
    box-shadow: 0 6px 16px rgba(7, 12, 24, 0.18) !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

  body:not(.admin).header-compact .topbar {
    box-shadow: 0 3px 10px rgba(7, 12, 24, 0.14) !important;
  }

  body:not(.admin) .topbar .catbar,
  body:not(.admin) .topbar .store-urgency-bar {
    background: transparent;
  }
}
