/* ============================================================
   ETHERA — Women's Wear eCommerce
   Modern editorial aesthetic • mobile-first • app-like
============================================================ */

/* -------- FONTS -------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Manrope:wght@300;400;500;600;700&display=swap');

/* -------- TOKENS -------- */
:root {
  --bg:         #F7F3EC;      /* warm ivory */
  --bg-soft:    #EFE9DE;
  --card:       #FFFFFF;
  --ink:        #1B1A17;      /* near black */
  --ink-soft:   #6E675C;
  --line:       #E6DFD2;
  --accent:     #6B2A1F;      /* deep burgundy */
  --accent-2:   #C48656;      /* muted terracotta */
  --success:    #3E6F4A;
  --danger:     #A33A2A;

  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(27,26,23,.04), 0 2px 8px rgba(27,26,23,.04);
  --shadow-md: 0 4px 24px rgba(27,26,23,.08);

  --max: 1240px;
}

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* -------- TOP ANNOUNCEMENT -------- */
.announce {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 12px;
}

/* -------- HEADER (DESKTOP) -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,243,236,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}
.brand {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-style: italic;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0; margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute; inset: auto 0 -2px 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; gap: 16px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--bg-soft);
  transition: background .2s;
  position: relative;
}
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 5px;
}

/* Mobile menu hamburger */
.hamburger { display: none; }

/* -------- HERO -------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-img {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
}
.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,26,23,0) 30%, rgba(27,26,23,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 60px 24px 80px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 10ch;
}
.hero h1 em {
  font-style: italic;
  color: #F4D7B8;
}
.hero p {
  max-width: 42ch;
  margin: 22px 0 28px;
  font-size: 15px;
  opacity: 0.9;
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .2s, background .2s, color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid currentColor;
}
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-full { width: 100%; justify-content: center; }

/* -------- SECTION HEADING -------- */
.section {
  padding: 80px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head .link {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* -------- CATEGORY RAIL -------- */
.cat-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat-card {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
  display: block;
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,26,23,.55) 100%);
}
.cat-card .label {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
}

/* -------- PRODUCT GRID -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.product-card {
  position: relative;
  display: block;
}
.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  margin-bottom: 12px;
}
.product-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.product-card:hover .product-link img { transform: scale(1.04); }
.product-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  background: var(--card);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.product-tag.sale { background: var(--accent); color: #fff; }
.product-info {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-info h3 {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
}
.product-info .price {
  font-size: 14px;
  color: var(--ink-soft);
}
.product-info .price .now { color: var(--ink); font-weight: 600; margin-right: 8px; }
.product-info .price .was { text-decoration: line-through; color: var(--ink-soft); font-size: 12px; }
.quick-add {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s, background .2s, color .2s;
  box-shadow: var(--shadow-sm);
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--ink); color: #fff; }
.quick-add:active { transform: scale(0.92); }
.quick-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* -------- EDITORIAL STRIP -------- */
.editorial {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  margin: 40px 0 0;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.editorial h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.editorial h2 em { font-style: italic; color: var(--accent-2); }
.editorial img {
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* -------- FILTER BAR (SHOP) -------- */
.shop-head {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.shop-head h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.shop-head h1 em { font-style: italic; color: var(--accent); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* -------- PRODUCT DETAIL -------- */
.pd-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 40px 0 80px;
}
.pd-gallery img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.pd-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.pd-gallery .thumbs img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
}
.pd-info { position: sticky; top: 100px; align-self: start; }
.pd-info .category {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.pd-info h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pd-price { font-size: 22px; margin-bottom: 4px; }
.pd-price .was { text-decoration: line-through; color: var(--ink-soft); font-size: 16px; margin-left: 10px; }
.pd-price .off  { color: var(--accent); font-size: 13px; margin-left: 10px; font-weight: 600; }
.pd-desc { color: var(--ink-soft); margin: 20px 0 28px; line-height: 1.7; }

.size-label { font-size: 13px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.size-row .size {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  display: grid; place-items: center;
}
.size-row .size.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.pd-features {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.pd-features div { display: flex; gap: 10px; align-items: center; }
.pd-features svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex-shrink: 0; }

/* -------- CART / CHECKOUT -------- */
.page-title {
  padding: 40px 0 24px;
}
.page-title h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.page-title h1 em { font-style: italic; color: var(--accent); }

.cart-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
}
.cart-line {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-line img {
  width: 96px; height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  flex-shrink: 0;
}
.cart-line .info-col { flex: 1; min-width: 0; }
.cart-line .price-col {
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}
.cart-line .name { font-weight: 500; margin-bottom: 4px; }
.cart-line .meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.qty-stepper button { width: 34px; height: 34px; font-size: 16px; }
.qty-stepper button:hover { background: var(--bg-soft); }
.qty-stepper span { padding: 0 14px; font-size: 14px; }
.remove-btn { font-size: 12px; color: var(--ink-soft); text-decoration: underline; margin-top: 6px; display: inline-block; }
.remove-btn:hover { color: var(--accent); }

.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.summary h3 {
  font-size: 20px;
  font-family: var(--display);
  font-weight: 500;
  margin-bottom: 18px;
}
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 18px;
  font-weight: 600;
}

/* Checkout form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.input-wrap { position: relative; }
.input-wrap label {
  position: absolute;
  top: 14px; left: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  pointer-events: none;
  transition: all .2s;
  background: var(--card);
  padding: 0 4px;
}
.input-wrap input:focus + label,
.input-wrap input:not(:placeholder-shown) + label,
.input-wrap textarea:focus + label,
.input-wrap textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 11px;
  color: var(--accent);
}
.input-wrap input,
.input-wrap textarea {
  width: 100%;
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.input-wrap input:focus,
.input-wrap textarea:focus { border-color: var(--ink); }

/* Empty state */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-soft);
}
.empty h3 { font-size: 24px; font-family: var(--display); margin-bottom: 8px; color: var(--ink); }

/* -------- FOOTER -------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 60px 0 100px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; opacity: 0.85; }
.footer-grid li a:hover { opacity: 1; text-decoration: underline; }
.footer-brand h3 { font-family: var(--display); font-style: italic; font-size: 32px; margin-bottom: 10px; }
.footer-brand p { opacity: 0.7; font-size: 13px; max-width: 30ch; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  opacity: 0.6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------- MOBILE BOTTOM NAV (APP-LIKE) -------- */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0));
}
.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 500px;
  margin: 0 auto;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
}
.bottom-nav a.active { color: var(--accent); }
.bottom-nav a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.bottom-nav .cart-badge-m {
  position: absolute;
  top: 2px; right: calc(50% - 18px);
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
}

/* -------- MOBILE SIDE DRAWER (menu) -------- */
.drawer {
  position: fixed; inset: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s;
}
.drawer.open { visibility: visible; opacity: 1; }
.drawer-bg { position: absolute; inset: 0; background: rgba(27,26,23,.5); }
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: 85%; max-width: 360px;
  height: 100%;
  background: var(--bg);
  padding: 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel h3 { font-family: var(--display); font-size: 24px; margin-bottom: 24px; }
.drawer-panel ul { list-style: none; padding: 0; margin: 0; }
.drawer-panel li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-panel li a { font-size: 17px; display: flex; justify-content: space-between; }
.drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--bg-soft);
}

/* -------- FLASH / TOAST -------- */
.toast {
  position: fixed;
  bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* -------- SUCCESS PAGE -------- */
.success-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}
.success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: var(--success);
  display: grid; place-items: center;
}
.success-icon svg { width: 36px; height: 36px; stroke: #fff; fill: none; stroke-width: 2; }
.success-wrap h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.success-wrap h1 em { font-style: italic; color: var(--accent); }
.order-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
  text-align: left;
}
.order-card-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.order-card-row strong { font-weight: 600; }

/* ============================================================
   RESPONSIVE — MOBILE APP-LIKE VIEW
============================================================ */

@media (max-width: 1024px) {
  .cat-rail { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pd-wrap { grid-template-columns: 1fr; }
  .pd-info { position: static; }
  .cart-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 720px) {
  body { padding-bottom: 75px; }   /* space for bottom nav */
  .container { padding: 0 16px; }

  .announce { font-size: 11px; letter-spacing: 0.08em; padding: 8px 10px; }

  /* Desktop nav -> compact mobile */
  .nav { padding: 14px 0; }
  .nav-links { display: none; }
  .hamburger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: var(--bg-soft);
  }
  .hamburger svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
  .brand { font-size: 22px; }
  .icon-btn { width: 38px; height: 38px; }
  .nav-actions .icon-btn.cart-desktop { display: none; } /* cart lives in bottom nav */

  /* Bottom nav shows on mobile */
  .bottom-nav { display: block; }

  /* Hero */
  .hero { min-height: 82vh; }
  .hero-content { padding: 40px 16px 60px; }
  .hero h1 { font-size: 58px; }
  .hero p { font-size: 14px; }

  /* Sections */
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 32px; }

  /* Category — horizontal scroll rail (app-like) */
  .cat-rail {
    grid-template-columns: none;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding-left: 16px; padding-right: 16px;
  }
  .cat-rail::-webkit-scrollbar { display: none; }
  .cat-card {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }

  /* Product grid — 2 columns on mobile */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .product-info h3 { font-size: 13px; }
  .product-info .price { font-size: 13px; }
  .quick-add { opacity: 1; transform: none; }

  /* Editorial strip — stack */
  .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
  .editorial { padding: 60px 0; }

  /* Shop */
  .shop-head h1 { font-size: 42px; }
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 20px -16px 0;
    padding: 0 16px 10px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  /* Product detail */
  .pd-wrap { gap: 24px; padding: 20px 0 40px; }
  .pd-info h1 { font-size: 28px; }
  .pd-price { font-size: 20px; }

  /* Cart */
  .cart-line img { width: 80px; height: 100px; }
  .cart-line .price-col { font-size: 14px; }

  /* Checkout form */
  .form-grid { grid-template-columns: 1fr; }

  /* Footer */
  .site-footer { padding: 40px 0 90px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
  .footer-brand h3 { font-size: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; font-size: 11px; }

  /* Success */
  .success-wrap h1 { font-size: 34px; }
}

/* Smooth entry animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
