/* ════════════════════════════════════════════════
   YB Ausome Shoppe — Store v3 (Printful-first)
   ════════════════════════════════════════════════ */

:root {
  --baltic:     #000abe;
  --lime:       #4bb417;
  --cta:        #FFD000;
  --white:      #ffffff;
  --black:      #000000;
  --surface:    #ffffff;
  --surface-2:  #f5f6f8;
  --border:     #e2e4e9;
  --muted:      #6b7280;
  --faint:      #9ca3af;
  --danger:     #dc2626;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.18);
  --font:       "Nunito Sans", "Nunito", system-ui, sans-serif;
  --font-display: "Nunito", system-ui, sans-serif;
  --max-w:      1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--lime);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--cta); color: var(--black);
  padding: 12px 24px; font-weight: 700; font-size: 16px;
  text-decoration: none; z-index: 1000; transition: top .2s;
}
.skip-link:focus { top: 16px; outline: 3px solid var(--baltic); outline-offset: 2px; }

/* ── Site header (light bar — logo reads clearly) ── */
header .site-nav {
  background: var(--white); padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; position: sticky; top: 0; z-index: 200;
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.nav-logo { text-decoration: none; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--black); text-decoration: none; font-weight: 600;
  font-size: clamp(.95rem,.88rem + .35vw,1.12rem);
}
.nav-links a:hover { opacity: .88; text-decoration: underline; }
.nav-links a:focus-visible {
  outline: 3px solid var(--baltic); outline-offset: 3px; border-radius: 2px;
}
.nav-shop-btn {
  background: var(--cta); color: var(--black); text-decoration: none;
  font-size: clamp(.85rem,.8rem + .2vw,.95rem); font-weight: 700;
  padding: 10px 22px; border-radius: 4px;
}
.nav-shop-btn:hover { background: var(--lime); }
.nav-shop-btn:focus-visible { outline: 3px solid var(--baltic); outline-offset: 2px; }

/* ── Store shell ── */
.store-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 44px 32px 64px; background: var(--baltic);
}
.store-shell {
  position: relative; max-width: 1200px; margin: 0 auto;
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  min-height: 60vh;
}

/* ── Store top bar (SEO intro + cart) ── */
.store-topbar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.store-topbar__intro-link {
  flex: 1; min-width: 0; max-width: 100%;
  text-decoration: none; color: inherit;
  display: block;
  border-radius: 6px;
  outline-offset: 2px;
}
.store-topbar__intro-link:hover .store-topbar__title,
.store-topbar__intro-link:focus-visible .store-topbar__title {
  color: var(--baltic);
}
.store-topbar__intro-link:focus-visible {
  outline: 3px solid var(--cta);
}
.store-topbar__intro {
  display: block;
}
.store-topbar__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  letter-spacing: -0.02em;
}
.store-topbar__sub {
  margin: 0;
  font-size: clamp(0.8rem, 1.6vw, 0.88rem);
  font-weight: 500;
  line-height: 1.5;
  color: #374151;
  max-width: 52rem;
}
.store-topbar__cart {
  flex-shrink: 0;
  background: var(--baltic); color: var(--white); border: none;
  padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; gap: 6px;
}
.cart-badge {
  background: var(--cta); color: var(--black); border-radius: 50%;
  min-width: 22px; height: 22px; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800;
}

/* ── Loading overlay ── */
.store-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px; text-align: center;
}
.store-loading[hidden] { display: none; }
.store-loading__card { max-width: 320px; }
.store-loading__dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.store-loading__dots span {
  width: 12px; height: 12px; border-radius: 50%; background: var(--baltic);
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.store-loading__dots span:nth-child(2) { animation-delay: .15s; }
.store-loading__dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dot-pulse {
  0%, 80%, 100% { opacity: .25; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}
.store-loading__title { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.store-loading__hint { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ── Pages ── */
.page { display: none; padding: 24px; }
.page.active { display: block; }

/* ── Section header ── */
.section-header {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.section-header__title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
}
.section-header__count { color: var(--muted); font-size: .88rem; }
.section-header__note {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
  margin: -8px 0 18px;
  max-width: 62ch;
}
.section-header__note strong { color: var(--text); font-weight: 700; }

.store-section { margin-bottom: 40px; }
.store-section:last-child { margin-bottom: 0; }

.empty-msg {
  color: var(--muted); font-size: .92rem; padding: 32px 16px;
  text-align: center; line-height: 1.6;
}
.empty-msg[hidden] { display: none; }

/* ════════════════════════════════════════
   Product Cards
   ════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card__shipping-note {
  font-size: .78rem;
  color: var(--black);
  line-height: 1.45;
  margin-top: 8px;
}

.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .15s;
  cursor: pointer; text-decoration: none; color: inherit; display: block;
}
.product-card:hover, .product-card:focus-visible {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.product-card:focus-visible { outline: 3px solid var(--baltic); outline-offset: 2px; }

.product-card__img {
  aspect-ratio: 1; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
}
.product-card__img--emoji { font-size: 56px; }

.product-card__body { padding: 14px 16px 18px; }
.product-card__name {
  font-weight: 700; font-size: .92rem; line-height: 1.35;
  margin-bottom: 6px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__price { color: var(--baltic); font-weight: 700; font-size: .95rem; }
.product-card__meta { color: var(--muted); font-size: .78rem; margin-top: 4px; }

/* ════════════════════════════════════════
   Product Modal
   ════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 40px 16px;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay__bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 860px; width: 100%; z-index: 1;
  animation: modal-in .25s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.modal-panel__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: none;
  font-size: 22px; line-height: 1; display: flex;
  align-items: center; justify-content: center; color: var(--black);
}
.modal-panel__close:hover { background: var(--border); }
.modal-panel__title {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 700; padding: 20px 24px 0;
}
.modal-panel__body { padding: 16px 24px 28px; }

/* ── Modal product layout (image + info) ── */
.modal-product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  align-items: start;
}
.modal-product__media {
  aspect-ratio: 1; background: var(--surface-2);
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.modal-product__media img {
  width: 100%; height: 100%; object-fit: contain;
}
.modal-product__media--emoji { font-size: 72px; }
.modal-product__media-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.modal-product__variant-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.modal-product__variant-thumbs[hidden] { display: none !important; }
.variant-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.variant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.variant-thumb:hover { border-color: var(--baltic); }
.variant-thumb.active {
  border-color: var(--baltic);
  box-shadow: 0 0 0 1px var(--baltic);
}
.variant-thumb:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
}
.modal-product__info { display: flex; flex-direction: column; gap: 16px; }

.modal-product__type { color: var(--black); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.modal-product__price { font-size: 1.35rem; font-weight: 800; color: var(--baltic); }
.modal-product__shipping-note {
  color: var(--black);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 12px;
}
.modal-product__desc {
  color: var(--black);
  font-size: .9rem;
  line-height: 1.55;
  margin: 0;
  max-width: 36rem;
}

.modal-size-guide { margin-top: 4px; }
.modal-size-guide__note {
  font-size: .875rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.5;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.modal-size-guide__loading,
.modal-size-guide__empty {
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  margin: 0;
  line-height: 1.5;
}
.modal-size-guide__details {
  border: 2px solid #94a3b8;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
}
.modal-size-guide__details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: .95rem;
  color: #0f172a;
  letter-spacing: 0.01em;
}
.modal-size-guide__details summary:hover,
.modal-size-guide__details summary:focus-visible {
  color: var(--baltic);
  outline: none;
}
.modal-size-guide__details summary:focus-visible {
  box-shadow: 0 0 0 3px var(--cta);
  border-radius: 4px;
}
.modal-size-guide__details[open] summary { margin-bottom: 12px; }
.modal-size-guide__section { margin-bottom: 16px; }
.modal-size-guide__section:last-child { margin-bottom: 0; }
.modal-size-guide__h {
  margin: 0 0 8px;
  font-size: .875rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
}
.modal-size-guide__tbl-desc {
  font-size: .875rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.55;
  margin: 0 0 10px;
}
.modal-size-guide__measure-block { margin-bottom: 12px; overflow-x: auto; }
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  color: var(--black);
}
.size-guide-table th,
.size-guide-table td {
  border: 1px solid #64748b;
  padding: 8px 10px;
  text-align: center;
  color: #111827;
}
.size-guide-table thead th {
  background: #e2e8f0;
  font-weight: 800;
  color: #0f172a;
}
.size-guide-table th[scope="row"] {
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
}

/* ── Color selector (text pill buttons) ── */
.picker-label { font-weight: 700; font-size: .85rem; margin-bottom: 8px; color: var(--black); }
.color-row { display: flex; flex-wrap: wrap; gap: 8px; }
.color-pill {
  padding: 7px 16px; border: 1px solid var(--border);
  border-radius: 6px; background: var(--surface);
  font-size: .85rem; font-weight: 600; transition: all .15s;
  white-space: nowrap;
}
.color-pill:hover { border-color: var(--baltic); background: rgba(0,10,190,.04); }
.color-pill.active {
  background: var(--baltic); color: var(--white); border-color: var(--baltic);
}
.color-pill:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

/* ── Size buttons ── */
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  padding: 7px 16px; border: 1px solid var(--border);
  border-radius: 6px; background: var(--surface);
  font-size: .85rem; font-weight: 600; transition: all .15s;
}
.size-btn:hover { border-color: var(--baltic); }
.size-btn.active {
  background: var(--baltic); color: var(--white); border-color: var(--baltic);
}
.size-btn:disabled {
  opacity: .35; cursor: not-allowed; border-color: var(--border);
}

/* ── Quantity + add to cart ── */
.qty-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.qty-row label { font-weight: 600; font-size: .88rem; }
.qty-input {
  width: 64px; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 6px; text-align: center; font-size: .95rem; font-weight: 600;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ── Buttons ── */
.btn-primary {
  background: var(--cta); color: var(--black); border: none;
  padding: 12px 28px; border-radius: 6px; font-weight: 700; font-size: .95rem;
  transition: background .15s;
}
.btn-primary:hover { background: var(--lime); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-outline {
  background: none; color: var(--baltic); border: 2px solid var(--baltic);
  padding: 10px 28px; border-radius: 6px; font-weight: 700; font-size: .95rem;
}
.btn-outline:hover { background: var(--baltic); color: var(--white); }
.btn-block { width: 100%; }

/* ════════════════════════════════════════
   Cart
   ════════════════════════════════════════ */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item__emoji { font-size: 28px; flex-shrink: 0; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__title { font-weight: 600; font-size: .92rem; }
.cart-item__fulfillment { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.cart-item__stepper {
  display: flex; align-items: center; gap: 0; border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
}
.cart-item__stepper button {
  width: 32px; height: 32px; background: var(--surface-2);
  border: none; font-size: 1.1rem; font-weight: 700;
}
.cart-item__stepper button:hover { background: var(--border); }
.cart-item__stepper span {
  width: 36px; text-align: center; font-weight: 700; font-size: .88rem;
}
.cart-item__price { font-weight: 700; min-width: 60px; text-align: right; }
.cart-item__remove {
  background: none; border: none; color: var(--muted); font-size: 1.2rem;
  padding: 4px; line-height: 1;
}
.cart-item__remove:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 48px 16px; color: var(--muted); }

.cart-sidebar { position: sticky; top: 80px; }
.cart-summary {
  background: var(--surface-2); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
}
.cart-summary__line { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .9rem; }
.cart-summary__line--total { font-weight: 800; font-size: 1.05rem; border-top: 2px solid var(--border); padding-top: 10px; margin-top: 10px; }
.cart-sidebar .btn-block + .btn-block { margin-top: 12px; }

/* ════════════════════════════════════════
   Checkout
   ════════════════════════════════════════ */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.form-section { border: none; margin-bottom: 20px; }
.form-legend { font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 4px; color: var(--muted); }
.form-group input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: .92rem;
}
.form-group input:focus { outline: 2px solid var(--baltic); outline-offset: -1px; }
.ship-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 6px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s;
}
.ship-option.selected { border-color: var(--baltic); background: rgba(0,10,190,.04); }
.ship-option input { accent-color: var(--baltic); }
.ship-option span { font-size: .88rem; font-weight: 500; }
.billing-same-block {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.billing-same-heading {
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.35;
}
.checkbox-label input[type="checkbox"] {
  width: auto;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--baltic);
  flex-shrink: 0;
}
.billing-same-hint {
  font-size: .78rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.4;
  max-width: 42em;
}
.billing-copy-btn { margin-top: 12px; font-size: .88rem; padding: 10px 14px; }
.billing-copy-status {
  font-size: .78rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.35;
  min-height: 1.35em;
}
.checkout-error { color: var(--danger); font-weight: 600; font-size: .9rem; min-height: 1.2em; }
.checkout-fine { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.checkout-marketing-consent {
  margin: 18px 0 14px;
  padding: 16px 18px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 10, 190, 0.12);
  background: linear-gradient(165deg, #fffbeb 0%, #fffdf8 42%, #fff 100%);
  box-shadow: var(--shadow-sm);
}
.checkout-marketing-consent__intro { margin-bottom: 12px; }
.checkout-marketing-consent__eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--baltic);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.checkout-marketing-consent__optional {
  font-weight: 700;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.68rem;
}
.checkout-marketing-consent .form-legend {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--black);
}
.checkout-marketing-consent__hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  max-width: 40em;
}
.checkout-marketing-consent__label {
  padding-top: 4px;
  border-top: 1px dashed rgba(0, 10, 190, 0.15);
  margin: 0;
}
.checkout-marketing-consent__text { font-weight: 600; }
.checkout-marketing-consent__text strong {
  color: var(--baltic);
  font-weight: 800;
}
.checkout-sidebar { position: sticky; top: 80px; }
.checkout-order-summary { background: var(--surface-2); border-radius: var(--radius); padding: 20px; }
.checkout-quote-status { font-size: .82rem; color: var(--muted); margin-top: 10px; line-height: 1.45; min-height: 1.2em; }

/* ── Success page ── */
.success-card {
  text-align: center; padding: 60px 24px; max-width: 420px; margin: 0 auto;
}
.success-card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lime); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; margin: 0 auto 16px;
}
.success-card__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.success-card__body { color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.success-card__order { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }

/* ── Footer ── */
footer {
  background: var(--black); padding: 36px 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; max-width: var(--max-w); width: 100%; margin: 0 auto;
}
.footer-logo { text-decoration: none; }
footer p { color: var(--white); margin: 0; font-size: .88rem; }
footer a { color: var(--white); }
.footer-links { display: flex; gap: 24px; list-style: none; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .88rem; }
.footer-links a:hover { opacity: .9; }
.footer-links--collections {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 42rem;
  width: 100%;
  justify-content: center;
}
.footer-links--collections a { font-size: .8rem; text-decoration: underline; text-underline-offset: 2px; }

/* ════════════════════════════════════════
   Responsive
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  header .site-nav { padding: 0 16px; min-height: 52px; max-width: none; }
  header .nav-links { display: none; }
  .nav-shop-btn { font-size: 15px; padding: 10px 14px; }
  .store-main { padding: 16px 8px 32px; max-width: none; }
  .store-shell { border-radius: var(--radius); }
  .page { padding: 16px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card__body { padding: 10px 12px 14px; }
  .modal-overlay { padding: 16px 8px; }
  .modal-panel { border-radius: var(--radius); }
  .modal-product { grid-template-columns: 1fr; gap: 16px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; }
  footer { max-width: none; padding: 24px 16px; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .modal-panel__body { padding: 12px 16px 20px; }
  .modal-product__media { aspect-ratio: 4/3; }
}
