/* ===========================================================
   Rass Jerseys — store component styles
   =========================================================== */

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .25s, box-shadow .25s, border-color .25s;
  background: transparent; border-bottom: 1px solid transparent;
}
.nav[data-solid] {
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(16,40,30,.04), 0 8px 26px rgba(16,40,30,.06);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 11px; background: none; border: none; padding: 0; flex: none; }
.crest { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.logo-word { font-family: var(--f-display); font-size: 25px; letter-spacing: .03em; color: var(--text); line-height: 1; white-space: nowrap; }
.logo-word-2 { color: var(--primary); }
.logo[data-light] .logo-word { color: #fff; }
.logo[data-light] .logo-word-2 { color: var(--accent); }
.nav-links { display: flex; gap: 6px; }
.nav-link { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--text); background: none; border: none; padding: 9px 14px; border-radius: 8px; transition: background .15s, color .15s; }
.nav-link:hover { background: rgba(45,106,79,.08); color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); transition: border-color .15s; position: relative; }
.nav-icon:hover { border-color: var(--secondary); }
.nav-cart-btn { position: relative; }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--primary); color: #fff; font-family: var(--f-num); font-weight: 700; font-size: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); padding: 0 3px; }
.nav-user { display: flex; align-items: center; gap: 8px; }
.nav-user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--secondary); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.nav-burger { display: none; background: none; border: none; color: var(--text); padding: 6px; }
.nav-sheet { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.nav-sheet-link { text-align: left; font-family: var(--f-head); font-weight: 600; font-size: 16px; background: none; border: none; padding: 11px 10px; border-radius: 8px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.nav-sheet-link:hover { background: rgba(45,106,79,.06); }
.cart-badge-inline { background: var(--primary); color: #fff; font-family: var(--f-num); font-weight: 700; font-size: 10px; border-radius: 99px; padding: 2px 7px; margin-left: 4px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-burger { display: inline-flex; } }

/* ── AUTH PAGE ── */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-visual { background: var(--primary); position: relative; overflow: hidden; display: flex; align-items: stretch; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(82,183,136,.55), transparent 55%), radial-gradient(60% 50% at 0% 100%, rgba(255,214,10,.18), transparent 50%); }
.auth-visual-inner { position: relative; z-index: 1; padding: 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth-hero-h { font-size: clamp(52px, 6vw, 80px); line-height: 1.0; color: #fff; margin: 0 0 16px; }
.auth-hero-sub { font-family: var(--f-head); font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.5; margin: 0; max-width: 32ch; }
.auth-nation-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.auth-nation-card { display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 16px 22px; backdrop-filter: blur(4px); transition: background .2s; }
.auth-nation-card:hover { background: rgba(255,255,255,.16); }
.auth-nation-flag { font-size: 36px; }
.auth-nation-name { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: #fff; }
.auth-nation-kits { font-family: var(--f-head); font-size: 12px; color: rgba(255,255,255,.6); }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: radial-gradient(90% 70% at 100% 0%, rgba(82,183,136,.11), transparent 58%), var(--bg); }
.auth-form-wrap { width: 100%; max-width: 408px; display: flex; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 28px; }
.auth-form-logo { display: none; justify-content: center; margin-bottom: 20px; }
@media (max-width: 820px) { .auth-form-logo { display: flex; } }
.auth-no-account-banner { display: flex; align-items: flex-start; gap: 12px; background: rgba(82,183,136,.1); border: 1.5px solid rgba(82,183,136,.35); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.auth-no-account-icon { flex-shrink: 0; width: 36px; height: 36px; background: var(--secondary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; }
.auth-no-account-title { font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--primary); margin: 0 0 4px; }
.auth-no-account-body { font-family: var(--f-head); font-size: 12.5px; color: var(--text-2); margin: 0; line-height: 1.5; }
.auth-guest-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 14px 18px; background: var(--primary); color: #fff; border: none; border-radius: var(--r-btn); cursor: pointer; transition: background .15s, box-shadow .15s; }
.auth-guest-btn:hover { background: #1a3d2e; box-shadow: 0 8px 24px rgba(16,40,30,.25); }
.auth-guest-btn-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.auth-guest-btn-label { font-family: var(--f-head); font-weight: 800; font-size: 15px; color: #fff; line-height: 1.2; }
.auth-guest-btn-sub { font-family: var(--f-head); font-weight: 500; font-size: 12px; color: rgba(255,255,255,.68); line-height: 1.3; }
.auth-tabs { display: flex; gap: 4px; background: #eef4f1; border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tab { flex: 1; min-height: 42px; padding: 10px 12px; border: none; background: transparent; border-radius: 8px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--text-2); transition: background .15s, color .15s, box-shadow .15s; }
.auth-tab[data-active] { background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(16,40,30,.09); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .field { margin: 0; }
.auth-form .field label { display: block; font-family: var(--f-head); font-weight: 700; font-size: 13px; margin-bottom: 7px; color: var(--text); }
.auth-form .field input { width: 100%; height: 46px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-btn); font-family: var(--f-body); font-size: 14.5px; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.auth-form .field input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(82,183,136,.16); }
.auth-form .field input::placeholder { color: var(--text-2); opacity: .78; }
.auth-form .field-pw { position: relative; }
.auth-form .field-pw input { padding-right: 46px; }
.auth-form .field-pw button { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 8px; background: transparent; color: var(--text-2); transition: background .15s, color .15s; }
.auth-form .field-pw button:hover { background: rgba(45,106,79,.08); color: var(--primary); }
.auth-form .btn-primary { min-height: 48px; margin-top: 2px !important; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--text-2); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-guest-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; }
.auth-guest-btn > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.auth-guest-note { display: inline-flex; font-size: 0; color: var(--text-2); font-weight: 500; }
.auth-guest-note::after { content: "No account needed"; font-size: 12.5px; }
.auth-err { color: #d6453f; font-size: 13px; margin: -4px 0 0; }
.auth-proto-note { display: none; }
@media (max-width: 820px) { .auth-wrap { grid-template-columns: 1fr; } .auth-visual { display: none; } .auth-form-side { min-height: 100vh; } }
@media (max-width: 520px) { .auth-form-side { padding: 22px 16px; align-items: center; } .auth-form-wrap { padding: 22px; border-radius: 12px; } .auth-tabs { margin-bottom: 20px; } }

/* ── HERO ── */
.hero { position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,214,10,.25); }
.hero-h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.04; margin: 14px 0 0; color: var(--text); }
.hero-sub { font-family: var(--f-head); font-size: 19px; max-width: 30ch; margin: 18px 0 28px; line-height: 1.45; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-classic { min-height: 92vh; display: flex; align-items: center; padding-top: 72px; }
.hero-classic-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 80% at 85% 10%, rgba(82,183,136,.16), transparent 60%), radial-gradient(90% 70% at 5% 90%, rgba(45,106,79,.08), transparent 55%), repeating-linear-gradient(135deg, rgba(0,0,0,0.015) 0 13px, rgba(0,0,0,0) 13px 26px), var(--bg); }
.hero-classic-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; width: 100%; }
.hero-trust-mini { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust-mini span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); font-family: var(--f-head); font-weight: 600; }
.hero-trust-mini svg { color: var(--secondary); }
.hero-classic-card { position: relative; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 16px; border: 1px solid var(--border); transform: rotate(1.2deg); transition: transform .3s; }
.hero-classic-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-float-tag { position: absolute; top: 26px; left: 26px; z-index: 2; box-shadow: var(--shadow); }
.hero-float-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 8px 6px; }
@media (max-width: 900px) {
  .hero-classic-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-classic { min-height: auto; padding: 100px 0 48px; }
  .hero-classic-text { order: 0; }
  .hero-classic-card {
    order: 1;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px;
    max-width: 100%;
  }
  /* clip the portrait image into a square thumbnail */
  .hero-card-img-wrap { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 10px; overflow: hidden; position: relative; }
  .hero-card-img-wrap .ph { width: 100%; height: 133px; margin-top: -10px; }
  .hero-float-tag { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .hero-float-meta { flex: 1; flex-direction: column; align-items: flex-start; padding: 0; gap: 4px; }
}

/* ── TRUST BAR ── */
.trust-bar { background: var(--primary); color: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 22px 32px; }
.trust-item { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.trust-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.12); color: var(--accent); flex: none; }

/* QUALITY SECTION */
.quality-sect { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quality-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: center; }
.quality-intro { max-width: 470px; }
.quality-summary { font-family: var(--f-head); font-size: 16px; line-height: 1.6; margin: 18px 0 22px; }
.quality-fabric { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; background: rgba(82,183,136,.1); border: 1px solid rgba(82,183,136,.28); border-radius: 12px; }
.quality-fabric span { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; background: var(--primary); }
.quality-fabric strong { display: block; font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--primary); }
.quality-fabric small { display: block; margin-top: 3px; font-family: var(--f-head); font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.quality-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quality-item { display: flex; align-items: flex-start; gap: 12px; min-height: 112px; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.quality-icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--primary); background: #fff; border: 1px solid var(--border); }
.quality-item h3 { font-family: var(--f-head); font-weight: 800; font-size: 15px; line-height: 1.2; margin: 1px 0 6px; color: var(--text); }
.quality-item p { margin: 0; font-family: var(--f-head); font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 860px) {
  .quality-inner { grid-template-columns: 1fr; gap: 28px; }
  .quality-intro { max-width: 620px; }
}
@media (max-width: 520px) {
  .quality-grid { grid-template-columns: 1fr; }
  .quality-item { min-height: 0; padding: 14px; }
  .quality-summary { font-size: 15px; }
}

/* ── SECTION RHYTHM ── */
.section { padding: 86px 0; }
.section-tight { padding: 56px 0; }
.sect-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.sect-kicker { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); margin: 0 0 10px; }
.sect-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(32px, 5vw, 52px); line-height: 1; margin: 0; }

/* ── PRODUCT GRID ── */
.grid-sect { background: linear-gradient(180deg, #fff, var(--bg)); }
.grid-count { font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.product-grid { display: grid; gap: 24px; }
.grid-three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.product-grid-featured-row { display: flex; margin-bottom: 32px; }
.product-grid-featured-row .card { width: 100%; flex-direction: row; align-items: stretch; min-height: 300px; }
.product-grid-featured-row .card-media { width: 40%; flex-shrink: 0; display: flex; position: relative; background: #eaf6ff; overflow: hidden; }
.product-grid-featured-row .card-media .ph { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 0; aspect-ratio: auto !important; border-radius: 0; }
.product-grid-featured-row .card-media img { width: 100%; height: 100%; object-fit: cover !important; }
.product-grid-featured-row .card-featured > .card-media { border-radius: 0; }
.product-grid-featured-row .card-body { flex: 1; padding: 24px 32px; justify-content: center; gap: 14px; }
.product-grid-featured-row .card-price { font-size: 26px; }
.product-grid-featured-row .card-team { font-size: 20px; }
.product-grid-featured-row .card-add-btn { margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-featured {
  background: linear-gradient(170deg, #fffef5 0%, #fffdf0 40%, #fff 100%);
  border: 1.5px solid rgba(255,214,10,.55);
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow:
    0 0 0 4px rgba(255,214,10,.13),
    0 14px 44px rgba(255,200,0,.32),
    0 4px 12px rgba(0,0,0,.11);
  transition: transform .25s, box-shadow .25s;
  z-index: 2;
}
.card-featured > .card-media,
.card-featured > .card-body {
  border-radius: var(--r-card);
  overflow: hidden;
}
.card-featured > .card-media { border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; }
.card-featured::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--r-card) + 2px);
  background: linear-gradient(140deg, #FFD60A 0%, #ffe566 35%, #fff5a0 55%, #FFD60A 100%);
  z-index: -1;
  pointer-events: none;
  opacity: .85;
}
.card-featured-crown {
  position: absolute;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  transform: none !important;
  background: #FFD60A;
  color: #3a2800;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(255,214,10,.5), 0 1px 3px rgba(0,0,0,.12);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}
.card-featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 4px rgba(255,214,10,.20),
    0 22px 60px rgba(255,200,0,.40),
    0 6px 16px rgba(0,0,0,.13);
}
.card-media { position: relative; }
.card-media .ph { width: 100%; }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-team { font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--text); line-height: 1.25; }
.card-price { font-size: 20px; }
.card-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card-add-btn { margin-top: auto; padding-top: 4px; text-align: center; justify-content: center; }
.size-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.size-dot { min-width: 26px; height: 26px; padding: 0 5px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 700; font-size: 11px; color: var(--text-2); background: #f1f4f3; border: 1px solid var(--border); }
.size-dot[data-on] { color: var(--primary); background: rgba(82,183,136,.14); border-color: rgba(82,183,136,.5); }
@media (max-width: 860px) {
  .grid-three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .product-grid-featured-row { margin-bottom: 28px; }
  .product-grid-featured-row .card {
    flex-direction: row;
    min-height: unset;
    align-items: stretch;
  }
  .product-grid-featured-row .card-media {
    width: 42%;
    flex: 0 0 42%;
  }
  .product-grid-featured-row .card-media .ph {
    height: 100% !important;
    min-height: 196px;
    aspect-ratio: 4 / 5 !important;
  }
  .product-grid-featured-row .card-media img {
    object-fit: cover !important;
  }
  .product-grid-featured-row .card-body {
    min-width: 0;
    padding: 14px 12px;
    gap: 9px;
  }
  .product-grid-featured-row .card-price { font-size: 21px; }
  .product-grid-featured-row .card-team { font-size: 16px; line-height: 1.2; }
  .product-grid-featured-row .size-dots { gap: 4px; }
  .product-grid-featured-row .size-dot { min-width: 23px; height: 23px; font-size: 10px; border-radius: 6px; }
  .product-grid-featured-row .card-add-btn { min-height: 38px; padding: 8px 10px; }
}
@media (max-width: 520px) {
  .sect-head { align-items: flex-start; margin-bottom: 26px; }
  .grid-count { width: 100%; font-size: 13px; }
  .grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .card-body { padding: 12px; gap: 8px; }
  .card-team { font-size: 14px; }
  .card-price { font-size: 18px; }
  .card-line .tag { font-size: 10px; padding: 4px 7px; }
  .card-add-btn { min-height: 38px; padding: 8px 10px; font-size: 13px; white-space: normal; }
  .card-badge { top: 8px; left: 8px; }
  .card-badge .tag { font-size: 9px; padding: 4px 7px; }
  .size-dots { gap: 4px; }
  .size-dot { min-width: 22px; height: 22px; padding: 0 4px; font-size: 10px; border-radius: 6px; }
}

/* ── HAPPY CUSTOMERS ── */
.happy-sect { background: var(--bg); }
.stat-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.stat { background: var(--primary); color: #fff; border-radius: var(--r-card); padding: 22px 38px; text-align: center; min-width: 160px; flex: 1; max-width: 220px; }
.stat-v { font-size: 36px; line-height: 1; color: var(--accent); font-family: var(--f-num); font-weight: 700; }
.stat-l { color: #fff !important; font-family: var(--f-head); font-weight: 600; font-size: 13.5px; margin-top: 4px; }
/* ── GROUP PHOTO GRID ── */
.group-photo-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.group-photo-item {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.group-photo-item.group-photo-featured {
  grid-row: 1 / 3;
  aspect-ratio: unset;
}
.group-photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.group-photo-item:hover img { transform: scale(1.04); }
@media (max-width: 860px) {
  .group-photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .group-photo-item.group-photo-featured { grid-row: unset; aspect-ratio: 4/3; }
}
@media (max-width: 500px) {
  .group-photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── CHAT REVIEWS ── */
.chat-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.chat-review-card {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.chat-review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.13); }
.chat-review-card img { width: 100%; display: block; max-height: 560px; object-fit: contain; background: #f2f2f2; }
@media (max-width: 820px) { .chat-review-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ── HOW IT WORKS ── */
.how-sect { background: #fff; }
.how-row { display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.how-step { flex: 1; max-width: 300px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); padding: 30px 26px; text-align: center; box-shadow: var(--shadow); position: relative; }
.how-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(45,106,79,.09); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.how-n { position: absolute; top: 14px; right: 16px; font-size: 28px; color: rgba(45,106,79,.12); }
.how-title { font-family: var(--f-head); font-weight: 700; font-size: 20px; margin: 4px 0 8px; }
.how-text { font-size: 14px; line-height: 1.55; margin: 0; color: var(--text-2); }
.how-arrow { display: flex; align-items: center; color: var(--secondary); flex: none; }
@media (max-width: 820px) { .how-row { flex-direction: column; align-items: center; } .how-step { max-width: 420px; width: 100%; } .how-arrow { transform: rotate(90deg); } }

/* ── DETAIL ── */
.detail { padding: 104px 0 90px; min-height: 100vh; }
.back-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--text-2); padding: 8px 0; margin-bottom: 18px; transition: color .15s; }
.back-link:hover { color: var(--primary); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.detail-media { position: sticky; top: 96px; }
.detail-img { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.detail-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 12px; margin-top: 12px; }
.detail-thumb { aspect-ratio: 1; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: border-color .15s; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-thumb[data-active] { border-color: var(--primary); border-width: 2px; }
.detail-title { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.0; margin: 10px 0 0; }
.detail-price { font-size: 38px; margin: 18px 0 8px; }
.detail-block { margin: 22px 0; }
.detail-label { font-family: var(--f-head); font-weight: 700; font-size: 14px; margin-bottom: 11px; }
.size-toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.size-toggle { width: 52px; height: 52px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--text); transition: .15s; }
.size-toggle:hover:not(:disabled) { border-color: var(--secondary); }
.size-toggle[data-active] { background: var(--primary); color: #fff; border-color: var(--primary); }
.size-toggle:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.detail-qty { display: flex; align-items: center; gap: 0; }
.qty-btn { width: 40px; height: 40px; border: 1.5px solid var(--border); background: #fff; font-size: 20px; color: var(--text); border-radius: 9px; font-weight: 600; transition: .15s; }
.qty-btn:hover:not(:disabled) { border-color: var(--secondary); color: var(--primary); }
.qty-btn:disabled { opacity: .3; cursor: not-allowed; }
.qty-val { min-width: 44px; text-align: center; font-family: var(--f-num); font-weight: 700; font-size: 18px; }
.qty-btn-lg { width: 46px; height: 46px; font-size: 22px; }
.qty-val-lg { min-width: 52px; font-size: 22px; }
.detail-name-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-btn); font-family: var(--f-head); font-size: 15px; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.detail-name-input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(82,183,136,.15); }
.detail-name-input::placeholder { color: var(--text-2); }
.name-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: #eef4f1; border: 1.5px solid var(--border); border-radius: 10px; }
.name-choice button { min-height: 34px; border: none; border-radius: 8px; background: transparent; color: var(--text-2); font-family: var(--f-head); font-weight: 700; font-size: 13px; transition: background .15s, color .15s, box-shadow .15s; }
.name-choice button[data-active] { background: #fff; color: var(--primary); box-shadow: 0 5px 14px rgba(16,40,30,.08); }
.detail-name-choice { max-width: 260px; margin-bottom: 10px; }
.name-input-list { display: flex; flex-direction: column; gap: 8px; }
.name-input-row { display: flex; flex-direction: column; gap: 4px; }
.name-input-label { font-family: var(--f-head); font-weight: 700; font-size: 12px; color: var(--text-2); }
.name-input-note { font-size: 12px; margin: 2px 0 0; }
.name-warning { font-size: 12.5px; line-height: 1.4; margin: 8px 0 0; padding: 8px 11px; color: #8a5a00; background: #fff8e6; border: 1px solid #ffe2a1; border-radius: 8px; }
.detail-desc { font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-width: 52ch; }
.detail-quality-card { margin: 24px 0; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow); }
.detail-quality-card .eyebrow { display: inline-flex; margin-bottom: 8px; color: var(--secondary); }
.detail-quality-card .detail-desc { margin: 0; }
.detail-fabric-line { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 9px 11px; border-radius: 9px; background: rgba(82,183,136,.1); color: var(--primary); font-family: var(--f-head); font-weight: 800; font-size: 13.5px; }
.detail-fabric-line svg { color: var(--secondary); flex: none; }
.detail-specs { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 9px; }
.detail-specs li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-family: var(--f-head); font-weight: 500; }
.detail-specs svg { color: var(--secondary); flex: none; }
.detail-add-btn { padding: 18px; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-added { background: var(--secondary) !important; color: #fff !important; }
.detail-reply { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-family: var(--f-head); font-weight: 600; }
.detail-reply svg { color: var(--wa); }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; gap: 30px; } .detail-media { position: static; } .detail { padding: 92px 0 80px; } }

/* ── CART DRAWER ── */
.cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(20,36,28,.38); backdrop-filter: blur(3px); display: flex; justify-content: flex-end; }
.cart-drawer { width: 100%; max-width: 440px; background: var(--bg); height: 100%; overflow-y: auto; box-shadow: -20px 0 50px rgba(0,0,0,.18); display: flex; flex-direction: column; animation: slideInRight .26s cubic-bezier(0.22,0.61,0.36,1); }
@keyframes slideInRight { from { transform: translateX(32px); opacity: .6; } to { transform: none; opacity: 1; } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 2; flex-shrink: 0; }
.cart-title { font-family: var(--f-head); font-weight: 700; font-size: 20px; margin: 0 0 2px; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 0; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; text-align: center; }
.cart-empty-icon { width: 70px; height: 70px; border-radius: 20px; background: rgba(45,106,79,.07); color: var(--text-2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cart-item { display: flex; gap: 14px; padding: 16px; background: #fff; border-radius: var(--r-card); border: 1px solid var(--border); margin-bottom: 10px; }
.cart-item-body { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cart-item-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cart-item-name { font-family: var(--f-head); font-weight: 700; font-size: 15px; }
.cart-item-price { font-size: 17px; flex-shrink: 0; }
.cart-row-label { display: flex; flex-direction: column; gap: 7px; }
.cart-label { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.cart-size-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cart-name-input { width: 100%; padding: 9px 11px; border: 1.5px solid var(--border); border-radius: 8px; font-family: var(--f-head); font-size: 14px; color: var(--text); background: var(--bg); }
.cart-name-input:focus { outline: none; border-color: var(--secondary); }
.cart-name-input::placeholder { color: var(--text-2); }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-qty { display: flex; align-items: center; gap: 0; background: var(--bg); border: 1.5px solid var(--border); border-radius: 9px; overflow: hidden; }
.cart-qty .qty-btn { width: 34px; height: 34px; font-size: 18px; border: none; border-radius: 0; }
.cart-qty .qty-val { min-width: 36px; font-size: 15px; }
.cart-remove-btn { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-head); font-weight: 600; font-size: 12.5px; color: var(--text-2); background: none; border: none; padding: 4px; transition: color .15s; }
.cart-remove-btn:hover { color: #d6453f; }
.cart-foot { padding: 18px 22px; background: #fff; border-top: 1px solid var(--border); position: sticky; bottom: 0; flex-shrink: 0; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cart-checkout-btn { padding: 16px; font-size: 16px; gap: 10px; }

/* ── ORDER PROMPT MODAL ── */
.prompt-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(20,36,28,.45); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.prompt-modal { width: 100%; max-width: 520px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.22); display: flex; flex-direction: column; max-height: 90vh; animation: scaleIn .22s cubic-bezier(0.22,0.61,0.36,1); }
@keyframes scaleIn { from { transform: scale(.95); opacity: .6; } to { transform: none; opacity: 1; } }
.prompt-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 22px 16px; border-bottom: 1px solid var(--border); gap: 12px; }
.prompt-title { font-family: var(--f-head); font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.prompt-sub { font-size: 13.5px; margin: 0; }
.prompt-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.prompt-wa-hint { display: flex; align-items: flex-start; gap: 10px; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.25); border-radius: 10px; padding: 12px 14px; font-family: var(--f-head); font-size: 13.5px; color: var(--text); }
.checkout-card { display: grid; gap: 14px; background: #f8faf9; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.checkout-field-wide { grid-column: 1 / -1; }
.checkout-field > span { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.checkout-field input, .checkout-field textarea, .checkout-field select { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font-family: var(--f-head); font-size: 14.5px; padding: 12px 13px; transition: border-color .15s, box-shadow .15s; }
.checkout-field input, .checkout-field select { min-height: 46px; }
.checkout-field textarea { resize: vertical; line-height: 1.45; }
.checkout-field input:focus, .checkout-field textarea:focus, .checkout-field select:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(82,183,136,.14); }
.phone-prefix-field { display: flex; align-items: center; min-height: 46px; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.phone-prefix-field:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(82,183,136,.14); }
.phone-prefix-field span { align-self: stretch; display: inline-flex; align-items: center; padding: 0 12px; background: #eef4f1; border-right: 1px solid var(--border); color: var(--primary); font-family: var(--f-num); font-weight: 700; font-size: 13px; }
.phone-prefix-field input { min-height: 0; border: none; box-shadow: none; border-radius: 0; padding-left: 11px; }
.phone-prefix-field input:focus { box-shadow: none; }
.prompt-message-wrap { background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; padding: 16px; overflow-x: auto; }
.prompt-message { font-family: "Courier New", monospace; font-size: 13.5px; line-height: 1.65; color: var(--text); white-space: pre-wrap; margin: 0; word-break: break-word; }
.prompt-foot { display: flex; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--border); }
.prompt-copy-btn { flex: 1; gap: 8px; display: flex; align-items: center; justify-content: center; }
.prompt-wa-btn { flex: 2; gap: 10px; display: flex; align-items: center; justify-content: center; padding: 14px; font-size: 15px; }
@media (max-width: 520px) { .checkout-grid { grid-template-columns: 1fr; } .prompt-modal { border-radius: 14px; } .prompt-foot { flex-direction: column; } .prompt-copy-btn, .prompt-wa-btn { flex: none; width: 100%; } }

/* ── CART TOAST ── */
.cart-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: #1a2e24; color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 14px; padding: 13px 22px; border-radius: 99px; box-shadow: 0 8px 28px rgba(0,0,0,.22); display: flex; align-items: center; gap: 10px; z-index: 200; animation: toastIn .25s cubic-bezier(0.22,0.61,0.36,1); white-space: nowrap; }
@keyframes toastIn { from { transform: translateX(-50%) translateY(12px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }

/* ── SEARCH OVERLAY ── */
.search-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(20,36,28,.4); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px; }
.search-box { width: 100%; max-width: 540px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.search-field input { flex: 1; border: none; outline: none; font-family: var(--f-head); font-size: 17px; color: var(--text); background: none; }
.search-results { max-height: 46vh; overflow-y: auto; }
.search-hit { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border: none; background: none; width: 100%; text-align: left; cursor: pointer; transition: background .12s; }
.search-hit:hover { background: var(--bg); }
.search-hit-name { font-family: var(--f-head); font-weight: 700; font-size: 15px; }
.search-hint { padding: 14px 20px; color: var(--text-2); font-size: 13px; }

/* ── FOOTER ── */
.footer { background: #14241c; color: rgba(255,255,255,.82); padding: 60px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tag { font-family: var(--f-display); font-size: 20px; color: #fff; margin: 20px 0 8px; }
.footer-note { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.55); margin: 0; max-width: 34ch; }
.footer-h { font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-link { background: none; border: none; padding: 0; text-align: left; font-size: 14px; color: rgba(255,255,255,.68); transition: color .15s; }
.footer-link:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 26px; } }

/* ── SHARED ── */
.muted { color: var(--text-2); }
.center { text-align: center; }
.price { font-family: var(--f-num); font-weight: 700; font-feature-settings: "tnum" 1; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.tag-hot { background: var(--accent); color: #3a2e00; }
.tag-new { background: var(--primary); color: #fff; }
.tag-gold { background: #FFD60A; color: #3a2800; box-shadow: 0 1px 6px rgba(255,214,10,.4); }
@media (max-width: 720px) { .section { padding: 56px 0; } .wrap { padding: 0 18px; } }

/* ── MOBILE-FIRST ENHANCEMENTS ── */

/* Tighter section rhythm on small phones */
@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .section-tight { padding: 32px 0; }
}

/* Hero — compact on small phones */
@media (max-width: 480px) {
  .hero-sub { font-size: 16px; margin: 12px 0 20px; }
  .hero-trust-mini { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* Product grid — more breathing room in 2-col, single column at very small screens */
@media (max-width: 520px) {
  .grid-three { gap: 18px 14px; }
}
@media (max-width: 380px) {
  .grid-three { grid-template-columns: 1fr; gap: 22px; }
  .product-grid-featured-row .card { flex-direction: column; }
  .product-grid-featured-row .card-media { width: 100%; flex-basis: auto; aspect-ratio: 4 / 5; }
  .product-grid-featured-row .card-media .ph { min-height: 0; aspect-ratio: 4 / 5 !important; }
  .product-grid-featured-row .card-body { padding: 13px; }
  .card-body { padding: 14px; }
  .card-team { font-size: 15px; }
  .card-price { font-size: 19px; }
  .size-dot { min-width: 25px; height: 25px; }
}

/* Product detail — tame typography + sticky bar */
.detail-sticky-bar { display: none; }

@media (max-width: 600px) {
  .detail { padding: 80px 0 100px; }
  .detail-price { font-size: 26px; }
  .detail-title { font-size: clamp(28px, 8vw, 40px); }
  .detail-add-btn { display: none; }
  .detail-reply { display: none; }
  .detail-sticky-bar {
    display: flex !important;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(1.4) blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(16,40,30,.09);
    gap: 12px;
    align-items: center;
  }
  .detail-sticky-price { font-family: var(--f-num); font-weight: 700; font-size: 20px; color: var(--text); line-height: 1; flex: 1; }
  .detail-sticky-price small { display: block; font-family: var(--f-head); font-size: 12px; color: var(--text-2); font-weight: 500; margin-bottom: 2px; }
  .detail-sticky-btn { flex: 2; gap: 8px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; font-size: 15px; }
}

/* How It Works — less dense on mobile */
@media (max-width: 600px) {
  .how-step { padding: 22px 18px; }
  .how-title { font-size: 17px; }
}

/* Stats row — tighter on mobile */
@media (max-width: 480px) {
  .stat { padding: 16px 24px; min-width: 120px; }
  .stat-v { font-size: 28px; }
}

/* Trust bar — restore vertical padding (overrides .wrap padding: 0 rule above) */
@media (max-width: 600px) {
  .trust-inner { padding: 20px 16px; gap: 14px 20px; }
}

/* Cart toast — safe-area aware */
.cart-toast { bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 16px)); }

/* Cart remove button — bigger touch target on mobile */
@media (max-width: 860px) {
  .cart-remove-btn { padding: 10px 8px; }
}

/* Checkout form — prevent iOS zoom (font-size < 16px triggers auto-zoom) */
@media (max-width: 520px) {
  .checkout-card { padding: 12px; gap: 10px; }
  .checkout-field input, .checkout-field select { min-height: 50px; font-size: 16px; }
  .checkout-field textarea { font-size: 16px; }
  .phone-prefix-field input { font-size: 16px; }
  .auth-form .field input { font-size: 16px; }
}

/* Order prompt modal — bottom-sheet on phones */
@media (max-width: 480px) {
  .prompt-overlay { padding: 0; align-items: flex-end; }
  .prompt-modal { border-radius: 18px 18px 0 0; max-height: 95vh; }
}
