/* SHAMEGRIN Store — modern merch system */
.shop-page .nav { top: 0; }
.shop-page .label-rail, .shop-page .announce { display: none !important; }

.cart-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00d96a;
  color: #07070b;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: 700 11px/1 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.cart-fab:hover { background: #00f078; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,217,106,.25); }
.cart-count {
  min-width: 20px; height: 20px; border-radius: 999px;
  background: #07070b; color: #00d96a;
  display: grid; place-items: center; font-size: 10px; padding: 0 5px;
}
.cart-fab-icon { font-size: 14px; }

.shop-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 7vw 50px;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}
.shop-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(255,68,102,.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,217,106,.12), transparent 60%);
}
.shop-hero-copy { position: relative; z-index: 1; }
.shop-kicker {
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: .16em; text-transform: uppercase; color: #00d96a; margin-bottom: 18px;
}
.shop-hero h1 {
  font: 800 clamp(42px, 7vw, 84px)/.92 "Syne", system-ui, sans-serif;
  letter-spacing: -.04em; margin: 0 0 18px;
}
.shop-hero h1 em {
  font-style: italic; color: #ff4466;
  font-family: "Syne", system-ui, sans-serif;
}
.shop-hero p {
  max-width: 42ch; color: #9a9aad; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.45; margin: 0 0 28px;
}
.shop-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.shop-trust {
  display: flex; flex-wrap: wrap; gap: 10px;
  font: 500 10px/1 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #5c5c6e;
}

.shop-hero-visual { position: relative; z-index: 1; min-height: 320px; }
.hero-stack { position: relative; width: min(100%, 420px); height: 360px; margin-left: auto; }
.hero-card {
  position: absolute; border-radius: 16px; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.card-vinyl {
  width: 220px; height: 220px; border-radius: 50%; right: 10%; top: 10%;
  background:
    radial-gradient(circle at 50% 50%, #ff4466 0 18%, transparent 19%),
    repeating-radial-gradient(circle, #111 0 2px, #1a1a1a 3px 5px);
  animation: spin 18s linear infinite;
}
.card-tee {
  width: 200px; height: 240px; left: 8%; bottom: 8%;
  background: linear-gradient(160deg, #1a1a22, #0a0a0e);
  transform: rotate(-8deg);
}
.card-tee::before {
  content: "NO FACE";
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 18px/1 "Bebas Neue", sans-serif; letter-spacing: .12em; color: #00d96a;
}
.card-hood {
  width: 160px; height: 180px; right: 0; bottom: 20%;
  background: linear-gradient(145deg, #22222c, #0e0e12);
  transform: rotate(6deg); opacity: .9;
}
.card-hood::before {
  content: "SG";
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 28px/1 "Syne", sans-serif; color: rgba(255,255,255,.15);
}

.shop-filters { padding: 10px 7vw 20px; position: sticky; top: 68px; z-index: 40; background: rgba(7,7,11,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1px solid rgba(255,255,255,.12); background: transparent; color: #9a9aad;
  padding: 10px 14px; border-radius: 999px; font: 600 11px/1 "DM Mono", monospace;
  text-transform: uppercase; letter-spacing: .1em; cursor: pointer; transition: .2s;
}
.filter-chip:hover, .filter-chip.is-active {
  background: #00d96a; border-color: #00d96a; color: #07070b;
}

.shop-grid-wrap { padding: 36px 7vw 80px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: #16161f;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .35s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,217,106,.35);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.product-card.is-hidden { display: none; }
.product-media {
  position: relative; aspect-ratio: 1 / 1.05;
  background: #0c0c12; overflow: hidden;
}
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #ff4466; color: #fff; font: 700 9px/1 "DM Mono", monospace;
  letter-spacing: .12em; text-transform: uppercase; padding: 7px 9px; border-radius: 6px;
}
.product-art { position: absolute; inset: 0; }

/* Product visual mockups */
.visual-tee-black .product-art {
  background:
    radial-gradient(ellipse 40% 20% at 50% 18%, #2a2a32, transparent),
    linear-gradient(180deg, #14141a 0%, #0a0a0e 100%);
}
.visual-tee-black .product-art::before {
  content: "";
  position: absolute; left: 22%; right: 22%; top: 18%; bottom: 12%;
  background: #111;
  clip-path: polygon(20% 12%, 35% 8%, 42% 18%, 58% 18%, 65% 8%, 80% 12%, 92% 30%, 88% 100%, 12% 100%, 8% 30%);
  box-shadow: inset 0 0 0 1px #222;
}
.visual-tee-black .product-art::after {
  content: "NO FACE\A JUST SOUND";
  white-space: pre; text-align: center;
  position: absolute; left: 0; right: 0; top: 48%;
  font: 800 13px/1.25 "Bebas Neue", sans-serif; letter-spacing: .14em; color: #00d96a;
}
.visual-tee-wash .product-art {
  background: linear-gradient(160deg, #2a2a28, #121210 50%, #1a1814);
}
.visual-tee-wash .product-art::before {
  content: "";
  position: absolute; left: 22%; right: 22%; top: 18%; bottom: 12%;
  background: linear-gradient(145deg, #3a3a36, #1a1a18);
  clip-path: polygon(20% 12%, 35% 8%, 42% 18%, 58% 18%, 65% 8%, 80% 12%, 92% 30%, 88% 100%, 12% 100%, 8% 30%);
}
.visual-tee-wash .product-art::after {
  content: "OUTRUN\ATHE CRASH";
  white-space: pre; text-align: center;
  position: absolute; left: 0; right: 0; top: 46%;
  font: 800 14px/1.2 "Bebas Neue", sans-serif; letter-spacing: .1em; color: #ff4466;
}
.visual-hoodie .product-art {
  background: radial-gradient(circle at 50% 30%, #22222c, #0a0a0e);
}
.visual-hoodie .product-art::before {
  content: "";
  position: absolute; left: 18%; right: 18%; top: 14%; bottom: 10%;
  background: #15151c;
  border-radius: 40% 40% 12% 12% / 18% 18% 8% 8%;
  box-shadow: inset 0 0 0 1px #2a2a35;
}
.visual-hoodie .product-art::after {
  content: "SG";
  position: absolute; left: 0; right: 0; top: 42%; text-align: center;
  font: 800 42px/1 "Syne", sans-serif; color: rgba(0,217,106,.35); letter-spacing: .08em;
}
.visual-vinyl .product-art,
.visual-vinyl-red .product-art {
  background: #0a0a0e;
}
.visual-vinyl .product-art::before,
.visual-vinyl-red .product-art::before {
  content: "";
  position: absolute; inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ff4466 0 14%, transparent 15%),
    repeating-radial-gradient(circle, #0d0d0d 0 2px, #1a1a1a 3px 5px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5), 12px 14px 0 #ff4466;
  animation: spin 20s linear infinite;
}
.visual-vinyl-red .product-art::before {
  background:
    radial-gradient(circle at 50% 50%, #00d96a 0 14%, transparent 15%),
    repeating-radial-gradient(circle, #0d0d0d 0 2px, #1a1a1a 3px 5px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5), 12px 14px 0 #00d96a;
}
.visual-digital .product-art,
.visual-digital-album .product-art {
  background: linear-gradient(145deg, #1a1a24, #0c0c12);
}
.visual-digital .product-art::after,
.visual-digital-album .product-art::after {
  content: "▶ DIGITAL";
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 700 14px/1 "DM Mono", monospace; letter-spacing: .16em; color: #00d96a;
}
.visual-digital-album .product-art::after { content: "LP · DIGITAL"; color: #ff4466; }
.visual-poster .product-art {
  background:
    linear-gradient(180deg, rgba(255,68,102,.25), transparent 40%),
    linear-gradient(145deg, #1a1218, #0a0a0e);
}
.visual-poster .product-art::after {
  content: "3AM\ACREW";
  white-space: pre; text-align: center;
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 36px/.9 "Bebas Neue", sans-serif; letter-spacing: .08em; color: #f2f2f5;
}
.visual-cap .product-art {
  background: radial-gradient(ellipse at 50% 60%, #1a1a22, #07070b);
}
.visual-cap .product-art::before {
  content: "";
  position: absolute; left: 20%; right: 20%; top: 35%; height: 38%;
  background: #111; border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  box-shadow: 0 10px 20px rgba(0,0,0,.4);
}
.visual-cap .product-art::after {
  content: "SG";
  position: absolute; left: 0; right: 0; top: 46%; text-align: center;
  font: 800 18px/1 "Syne", sans-serif; color: #00d96a;
}
.visual-bundle .product-art {
  background:
    radial-gradient(circle at 30% 40%, rgba(0,217,106,.2), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255,68,102,.2), transparent 40%),
    #0c0c12;
}
.visual-bundle .product-art::after {
  content: "BUNDLE";
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 28px/1 "Bebas Neue", sans-serif; letter-spacing: .2em; color: #f2f2f5;
}

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.product-cat { font: 500 10px/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #5c5c6e; }
.product-price { text-align: right; font: 500 11px/1.2 "DM Mono", monospace; color: #9a9aad; }
.product-price s { opacity: .5; margin-right: 6px; }
.product-price strong { color: #00d96a; font-size: 16px; }
.product-name { font: 700 20px/1.15 "Syne", system-ui, sans-serif; margin: 0; letter-spacing: -.02em; }
.product-desc { margin: 0; color: #9a9aad; font-size: 13px; line-height: 1.4; flex: 1; }
.field-label {
  display: flex; flex-direction: column; gap: 6px;
  font: 500 10px/1 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #5c5c6e;
}
.field-label select, .checkout-form input, .checkout-form select, .checkout-form textarea {
  border: 1px solid rgba(255,255,255,.12); background: #0c0c12; color: #f2f2f5;
  border-radius: 10px; padding: 11px 12px; font: 14px/1.2 Inter, system-ui, sans-serif; outline: none;
}
.field-label select:focus, .checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus {
  border-color: #00d96a; box-shadow: 0 0 0 3px rgba(0,217,106,.12);
}
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.product-actions .cta, .product-add {
  flex: 1; justify-content: center; min-height: 44px; cursor: pointer; border: 0;
}
.product-buy-ext {
  flex: 1; justify-content: center; text-align: center;
  background: transparent !important; color: #f2f2f5 !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

.shop-note {
  padding: 0 7vw 80px; color: #5c5c6e; font-size: 13px; line-height: 1.5; max-width: 60ch;
}
.shop-note a { color: #00d96a; }

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80;
  backdrop-filter: blur(4px);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw);
  background: #0c0c12; border-left: 1px solid rgba(255,255,255,.1);
  z-index: 90; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head, .cart-foot { padding: 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; }
.cart-foot { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.08); flex-direction: column; align-items: stretch; gap: 14px; }
.cart-head h2 { margin: 0; font: 700 22px/1 "Syne", sans-serif; }
.cart-close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: #f2f2f5; font-size: 22px; cursor: pointer;
}
.cart-items { flex: 1; overflow: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-empty { padding: 40px 20px; text-align: center; color: #5c5c6e; display: none; }
.cart-empty.is-visible { display: block; }
.cart-line {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px;
  padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #16161f;
}
.cart-line-name { font: 600 14px/1.25 Inter, sans-serif; }
.cart-line-meta { font: 500 10px/1.4 "DM Mono", monospace; color: #9a9aad; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.cart-line-price { font: 600 14px/1 "DM Mono", monospace; color: #00d96a; text-align: right; }
.cart-line-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  background: #0c0c12; color: #f2f2f5; cursor: pointer;
}
.cart-remove { background: none; border: 0; color: #ff4466; font: 500 11px/1 "DM Mono", monospace; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; }
.cart-total { display: flex; justify-content: space-between; font: 500 13px/1 Inter, sans-serif; }
.cart-total strong { font: 700 18px/1 "Syne", sans-serif; color: #00d96a; }
.cart-checkout-btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none !important; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: min(90vh, 900px); overflow: auto;
  background: #16161f; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-head h2 { margin: 0; font: 700 24px/1 "Syne", sans-serif; }
.modal-lead { color: #9a9aad; font-size: 14px; margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #9a9aad; }
.form-grid label.full { grid-column: 1 / -1; }
.checkout-summary {
  margin: 16px 0; padding: 14px; border-radius: 12px; background: #0c0c12;
  border: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #9a9aad;
}
.checkout-submit { width: 100%; justify-content: center; margin-top: 8px; cursor: pointer; border: 0; }
.checkout-status { min-height: 1.2em; margin: 10px 0 0; font: 12px/1.4 "DM Mono", monospace; }
.checkout-status.is-ok { color: #00d96a; }
.checkout-status.is-err { color: #ff4466; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #00d96a; color: #07070b; padding: 12px 18px; border-radius: 999px;
  font: 700 12px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase;
  z-index: 120; box-shadow: 0 16px 40px rgba(0,217,106,.3);
}
.toast[hidden] { display: none !important; }

.mobile-cart-btn {
  margin-top: 20px; padding: 16px; border-radius: 12px; border: 0;
  background: #00d96a; color: #07070b; font: 700 14px/1 "Syne", sans-serif; cursor: pointer; text-align: left;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .shop-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; }
  .shop-hero-visual { min-height: 280px; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .shop-page .nav-toggle { display: grid; }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stack { height: 280px; }
}

/* =========================================================
   SUPER PRO + MOBILE (iShop-level polish)
   ========================================================= */

:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

.shop-page {
  padding-bottom: calc(72px + var(--safe-bottom));
}

/* Sticky pro header */
.shop-page .nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 60px;
  padding: 0 16px;
  padding-top: var(--safe-top);
  background: rgba(7, 7, 11, 0.94) !important;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.shop-page .brand-name { font-size: 13px; }
.shop-page .brand-sub { font-size: 8px; }

.cart-fab {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 14px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Mobile floating cart bar (iShop style) */
.mobile-cart-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 70;
  background: #00d96a;
  color: #07070b;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font: 700 14px/1.1 "Syne", system-ui, sans-serif;
  box-shadow: 0 16px 40px rgba(0,217,106,.35);
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-cart-bar .mcb-left { display: flex; align-items: center; gap: 10px; }
.mobile-cart-bar .mcb-count {
  background: #07070b; color: #00d96a;
  min-width: 26px; height: 26px; border-radius: 999px;
  display: grid; place-items: center;
  font: 700 12px/1 "DM Mono", monospace;
}
.mobile-cart-bar .mcb-total { font: 700 13px/1 "DM Mono", monospace; opacity: .85; }
.mobile-cart-bar.is-empty { display: none !important; }

/* Hero mobile */
@media (max-width: 960px) {
  .shop-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 16px 24px;
    gap: 20px;
  }
  .shop-hero-visual { display: none; }
  .shop-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
    line-height: .95;
  }
  .shop-hero p { font-size: 15px; margin-bottom: 20px; }
  .shop-hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .shop-hero-actions .cta,
  .shop-hero-actions .cta-ghost {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    font-size: 12px;
  }
  .shop-trust {
    gap: 8px;
    font-size: 9px;
    line-height: 1.6;
  }
  .shop-trust span:nth-child(even) { display: none; }
  .shop-trust { flex-direction: column; align-items: flex-start; gap: 4px; }

  .shop-filters {
    top: 60px;
    padding: 10px 12px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .shop-filters::-webkit-scrollbar { display: none; }
  .filter-row {
    flex-wrap: nowrap;
    width: max-content;
    gap: 8px;
    padding-right: 12px;
  }
  .filter-chip {
    min-height: 40px;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 10px;
  }

  .shop-grid-wrap { padding: 16px 12px 100px; }
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-card {
    border-radius: 14px;
  }
  .product-body {
    padding: 12px;
    gap: 8px;
  }
  .product-name {
    font-size: 14px;
    line-height: 1.2;
  }
  .product-desc {
    display: none; /* cleaner mobile cards like Apple */
  }
  .product-price strong { font-size: 14px; }
  .field-label { font-size: 9px; }
  .field-label select {
    min-height: 40px;
    font-size: 14px;
    border-radius: 10px;
  }
  .product-actions {
    flex-direction: column;
    gap: 6px;
  }
  .product-actions .cta,
  .product-add,
  .product-buy-ext {
    min-height: 42px;
    width: 100%;
    border-radius: 12px;
    font-size: 10px;
  }

  .shop-page .nav-links { display: none !important; }
  .shop-page .nav-toggle { display: grid !important; }
  .shop-page .cart-fab span:not(.cart-count):not(.cart-fab-icon) { display: none; }
  .shop-page .cart-fab { padding: 10px 12px; gap: 6px; }

  .mobile-cart-bar:not(.is-empty) { display: flex; }

  .shop-note { padding: 0 16px 120px; font-size: 12px; }

  /* Full-screen cart on mobile */
  .cart-drawer {
    width: 100vw;
    border-left: 0;
    border-radius: 0;
  }
  .cart-head { padding: 16px; padding-top: calc(12px + var(--safe-top)); }
  .cart-items { padding: 12px; }
  .cart-foot {
    padding: 16px;
    padding-bottom: calc(16px + var(--safe-bottom));
  }
  .cart-checkout-btn {
    min-height: 52px;
    border-radius: 14px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }

  .modal { padding: 0; align-items: end; }
  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    padding: 20px 16px calc(20px + var(--safe-bottom));
  }
  .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .form-grid label.full { grid-column: auto; }
  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    min-height: 48px;
    font-size: 16px; /* prevent iOS zoom */
    border-radius: 12px;
  }
  .checkout-submit {
    min-height: 52px;
    border-radius: 14px;
    font-size: 13px;
  }
}

/* Single column very small phones */
@media (max-width: 380px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* Desktop pro polish */
@media (min-width: 961px) {
  .shop-page .nav { height: 68px; padding: 0 4.5vw; }
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .product-card:hover .product-media {
    transform: scale(1.01);
  }
  .product-media { transition: transform .4s cubic-bezier(.22,1,.36,1); }
  .shop-hero { padding: 72px 7vw 56px; }
}

/* Pro trust strip */
.shop-pro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 7vw 28px;
}
.shop-pro-strip .strip-item {
  background: #16161f;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.shop-pro-strip strong {
  display: block;
  font: 700 13px/1.2 "Syne", system-ui, sans-serif;
  margin-bottom: 6px;
  color: #f2f2f5;
}
.shop-pro-strip span {
  font: 500 11px/1.35 Inter, system-ui, sans-serif;
  color: #9a9aad;
}
@media (max-width: 720px) {
  .shop-pro-strip {
    grid-template-columns: 1fr;
    padding: 0 12px 16px;
    gap: 8px;
  }
  .shop-pro-strip .strip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 14px 16px;
    gap: 12px;
  }
  .shop-pro-strip strong { margin: 0; }
}

/* Better focus for a11y */
.filter-chip:focus-visible,
.product-add:focus-visible,
.cart-fab:focus-visible,
.cta:focus-visible {
  outline: 2px solid #00d96a;
  outline-offset: 2px;
}
