/* Storefront — layout, catalogue, cart, checkout, account. */

.announce { background: var(--brand-strong); color: #e9f3ee; font-size: .82rem; font-weight: 700; text-align: center; padding: 8px 16px; }
.announce a { color: var(--lime); }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 24px); } }

/* ---------- Header ---------- */
.s-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.s-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.s-logo img { height: 38px; width: auto; }
.s-nav { display: flex; gap: 2px; margin-left: 8px; }
.s-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.s-nav a:hover { background: var(--surface-3); color: var(--ink); }
.s-nav a.active { color: var(--brand); background: var(--brand-soft); }
.s-search { flex: 1; max-width: 420px; margin-left: auto; }
.s-actions { display: flex; align-items: center; gap: 4px; }
.cart-btn { position: relative; }
.cart-btn [data-cart-count] { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--lime); color: #15240b; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .s-nav { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); flex-direction: column; background: var(--surface); padding: 72px 16px 16px; margin: 0; transform: translateX(-100%); transition: transform .25s var(--ease); z-index: 60; box-shadow: var(--shadow-3); }
  .store-nav-open .s-nav { transform: none; }
  .store-nav-open { overflow: hidden; }
  .s-nav a { font-size: 1rem; padding: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-close { position: absolute; top: 12px; right: 12px; }
  .s-scrim { position: fixed; inset: 0; background: rgba(8,16,12,.5); z-index: 55; opacity: 0; visibility: hidden; transition: opacity .2s; }
  .store-nav-open .s-scrim { opacity: 1; visibility: visible; }
  .s-search { display: none; }
  .s-actions { margin-left: auto; }
}
@media (min-width: 961px) { .nav-close, .s-scrim { display: none; } }
.s-header .s-search-mobile { display: none; padding: 0 0 12px; min-height: 0; }
@media (max-width: 960px) { .s-header .s-search-mobile { display: block; } }

main.s-main { min-height: 60vh; padding: 28px 0 64px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 28px; background: #0f1d17; color: #e6efe9; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -120px; transform: rotate(45deg); border-radius: 110px; border: 64px solid rgba(180,207,44,.11); }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); max-width: 14ch; position: relative; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { color: #a9bcb1; max-width: 46ch; font-size: 1.05rem; position: relative; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .bag { width: min(300px, 70%); transform: rotate(6deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); border-radius: 18px; background: #fff; }
.hero-art .bag-2 { position: absolute; width: 40%; left: 4%; bottom: -6%; transform: rotate(-8deg); border-radius: 14px; background: #fff; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; border-radius: 20px; } .hero-art { display: none; } }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 8px; }
.trust > div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; font-size: .88rem; }
.trust small { display: block; color: var(--ink-3); font-weight: 600; }
.trust .kpi-icon { flex: none; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 40px 0 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-card { display: grid; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--brand); color: var(--ink); }
.cat-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.cat-card span.muted { font-size: .84rem; }
.band { margin-top: 48px; padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--brand-soft); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .band { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.p-card .p-img { display: block; aspect-ratio: 1; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); }
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; }
.p-badge { position: absolute; top: 12px; left: 12px; }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-cat { font-size: .74rem; font-weight: 800; color: var(--brand); letter-spacing: .05em; text-transform: uppercase; }
.p-name { font-family: var(--font-display); font-weight: 650; font-size: 1.08rem; line-height: 1.25; color: var(--ink); }
.p-name:hover { color: var(--brand); }
.p-sub { font-size: .85rem; color: var(--ink-3); }
.p-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-price { font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; }
.p-price small { font-family: var(--font-ui); font-weight: 600; color: var(--ink-3); font-size: .78rem; }

/* ---------- Shop ---------- */
.crumbs-s { display: flex; gap: 6px; align-items: center; font-size: .84rem; font-weight: 700; color: var(--ink-3); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs-s a { color: var(--ink-3); } .crumbs-s a:hover { color: var(--brand); }
.crumbs-s .icon { width: 14px; height: 14px; }
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 90px; display: grid; gap: 16px; }
.filter-list { display: grid; gap: 2px; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.filter-list a:hover { background: var(--surface-3); color: var(--ink); }
.filter-list a.active { background: var(--brand); color: var(--brand-ink); }
.filter-list a .count { font-size: .76rem; opacity: .7; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-toggle { display: none; }
@media (max-width: 860px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
  .filters.show { display: grid; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: minmax(0, 1fr); } }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); aspect-ratio: 1; padding: 16px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 10px; max-width: 420px; }
.gallery-thumbs button { aspect-ratio: 1; padding: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.gallery-thumbs button[aria-current="true"], .gallery-thumbs button:hover { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; }
.pdp-price strong { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.02em; }
.pdp-price s { color: var(--ink-3); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.buy-row .btn-lg { flex: 1 1 160px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-3); font-weight: 600; width: 55%; padding-right: 12px; }
.spec-table td { font-weight: 700; }
.info-tabs { margin-top: 36px; }
.info-panel { padding: 24px 0; max-width: 780px; }
.info-panel[hidden] { display: none; }
.perks { display: grid; gap: 10px; margin-top: 22px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; font-weight: 600; }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--brand); }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cart-line .line-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line .line-total { grid-column: 2; }
}
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .92rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.1rem; }
.free-ship { margin: 12px 0; font-size: .84rem; font-weight: 700; }
.steps { display: flex; gap: 8px; margin-bottom: 20px; font-size: .84rem; font-weight: 700; color: var(--ink-3); flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: .76rem; }
.steps .on { color: var(--ink); } .steps .on .n { background: var(--brand); color: var(--brand-ink); }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.mini-item img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; flex: none; }
.addr-card { display: flex; gap: 12px; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; background: var(--surface); }
.addr-card:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); }
.addr-card input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.success-card { text-align: center; padding: clamp(28px, 5vw, 56px); }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.success-mark .icon { width: 34px; height: 34px; }

/* ---------- Auth ---------- */
.auth-shell { display: grid; place-items: start center; padding: 12px 0 24px; }
.auth-card { width: min(520px, 100%); padding: clamp(22px, 4vw, 36px); }
.auth-card.narrow { width: min(430px, 100%); }
.auth-card .logo { height: 44px; margin-bottom: 20px; }

/* ---------- Account ---------- */
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.acct-nav { display: grid; gap: 2px; position: sticky; top: 90px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font: 700 .9rem var(--font-ui); color: var(--ink-2); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--surface); color: var(--ink); }
.acct-nav a.active { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-1); }
@media (max-width: 860px) { .acct { grid-template-columns: minmax(0, 1fr); } .acct-nav { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; } .acct-nav a, .acct-nav button { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); width: auto; } }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .stat-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.s-footer { background: var(--surface-2); color: var(--ink-2); border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 24px; }
.s-footer a { color: var(--ink-2); } .s-footer a:hover { color: var(--brand); }
.s-footer h4 { color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-logo { background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px; height: 52px; width: auto; margin-bottom: 14px; }
