/* ---- Shop hero ---- */
.shop-hero { padding: var(--space-7) 0 var(--space-6); }
.shop-hero .eyebrow { margin-bottom: var(--space-4); }
.shop-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: var(--space-3); max-width: 640px; }
.shop-hero p { color: var(--text-secondary); font-size: 15.5px; max-width: 560px; }

/* ---- Cart trigger (nav) ---- */
.cart-trigger { position: relative; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--emerald-400); color: #06150E;
  font-size: 10.5px; font-weight: 700; font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.cart-count.hidden { display: none; }

/* ---- Shop product card (extends .product-card from landing.css) ---- */
.shop-card .product-body { padding-bottom: var(--space-4); }
.shop-origin { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.shop-origin svg { width: 13px; height: 13px; flex-shrink: 0; }
.shop-swatch-note { font-size: 12px; color: var(--text-secondary); margin-bottom: var(--space-3); font-style: italic; }
.shop-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--space-3); }
.shop-price { font-family: var(--font-mono); font-size: 19px; font-weight: 600; }
.shop-price span { font-size: 12px; color: var(--text-muted); font-family: var(--font-body); font-weight: 500; }

.size-row { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-4); }
.size-row label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); font-weight: 600; }
.size-pills { display: flex; gap: 6px; }
.size-pill {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-inset); color: var(--text-secondary);
  font-size: 12px; font-weight: 600; font-family: var(--font-mono);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
}
.size-pill:hover { border-color: var(--accent-bright); color: var(--text-primary); }
.size-pill.active { background: var(--accent-soft); border-color: var(--accent-bright); color: var(--accent-bright); transform: scale(1.05); }

.btn-added { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)) !important; }

.qty-stepper {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; width: fit-content;
}
.qty-stepper button {
  width: 32px; height: 34px; background: var(--bg-inset); border: none; color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
}
.qty-stepper button:hover { color: var(--accent-bright); }
.qty-stepper button svg { width: 14px; height: 14px; }
.qty-stepper .qty-value {
  width: 34px; text-align: center; font-family: var(--font-mono); font-size: 13.5px;
  background: var(--bg-card);
}

.shop-card-actions { display: flex; align-items: center; gap: 10px; margin-top: var(--space-2); }
.shop-card-actions .btn { flex: 1; padding: 10px 12px; font-size: 13.5px; }

/* ---- Cart drawer ---- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(4,8,16,0.55); backdrop-filter: blur(2px);
  z-index: 300; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
  background: var(--bg-elevated); border-left: 1px solid var(--border-soft);
  z-index: 301; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow-pop);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5); border-bottom: 1px solid var(--border-soft);
}
.cart-drawer-head h3 { font-size: 17px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: var(--space-5); }
.cart-drawer-foot { padding: var(--space-5); border-top: 1px solid var(--border-soft); }

.cart-line { display: flex; gap: 12px; padding: var(--space-3) 0; border-bottom: 1px solid var(--border-soft); }
.cart-line:last-child { border-bottom: none; }
.cart-line-media { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--bg-inset); }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-line-body { flex: 1; min-width: 0; }
.cart-line-body .name { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.cart-line-body .unit-price { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-line-foot { display: flex; align-items: center; justify-content: space-between; }
.cart-line-total { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.cart-line-remove { color: var(--text-muted); background: none; border: none; display: flex; align-items: center; }
.cart-line-remove:hover { color: var(--loss); }
.cart-line-remove svg { width: 15px; height: 15px; }

.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: var(--space-4); }
.cart-subtotal-row .amt { font-family: var(--font-mono); font-weight: 700; font-size: 17px; }

/* ---- Checkout modal ---- */
.checkout-modal .modal { max-width: 460px; }
.order-summary { background: var(--bg-inset); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: var(--space-4); margin-bottom: var(--space-5); }
.order-summary-line { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.order-summary-line.total { border-top: 1px solid var(--border-soft); margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 15px; }
.order-summary-line .amt { font-family: var(--font-mono); }

/* ---- Coming soon seal screen ---- */
.seal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.seal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.seal-overlay .seal-card { transform: translateY(14px); transition: transform 0.4s var(--ease); }
.seal-overlay.open .seal-card { transform: translateY(0); }
.seal-card { max-width: 460px; text-align: center; }
.seal-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--space-5);
  background: var(--accent-soft); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
}
.seal-icon svg { width: 32px; height: 32px; }
.seal-card h2 { font-size: 24px; margin-bottom: var(--space-3); }
.seal-card p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: var(--space-6); }
.seal-actions { display: flex; gap: 12px; }
.seal-actions .btn { flex: 1; }
.seal-note { margin-top: var(--space-5); font-size: 12.5px; color: var(--text-muted); }

.empty-cart { text-align: center; padding: var(--space-8) var(--space-4); color: var(--text-muted); }
.empty-cart svg { width: 40px; height: 40px; margin: 0 auto var(--space-3); opacity: 0.5; display: block; }

@media (max-width: 560px) {
  .cart-drawer { width: 100%; max-width: 100%; }
  .seal-actions { flex-direction: column; }
}
