/* ============================================================
   EcoCraftFurnish – Shared Styles
   Palette: Exact Blocksy theme vars from tropical.ecocraftfurnish.com
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Blocksy palette (extracted live from DevTools) ── */
  --palette-1:     #274C4F;   /* primary / buttons / links        */
  --palette-2:     #456A6D;   /* link hover / button hover        */
  --palette-3:     #42504b;   /* body text                        */
  --palette-4:     #152420;   /* headings / dark bg               */
  --palette-5:     #E2EDEF;   /* borders                          */
  --palette-6:     #EEF4F5;   /* light section / card bg          */
  --palette-7:     #FBFCFC;   /* page background                  */
  --palette-8:     #ffffff;   /* white                            */

  /* ── Semantic tokens ────────────────────────────────── */
  --bg:            #FBFCFC;
  --section-light: #EEF4F5;
  --dark:          #152420;
  --heading:       #152420;
  --teal:          #456A6D;
  --btn:           #274C4F;
  --btn-hover:     #456A6D;
  --teal-dark:     #274C4F;
  --teal-light:    #6d9497;
  --teal-pale:     #E2EDEF;
  --teal-50:       #EEF4F5;
  --border:        #E2EDEF;
  --border-light:  #EEF4F5;
  --text-body:     #42504b;
  --text-muted:    #6b7b74;
  --text-light:    #9bb0aa;
  --white:         #ffffff;
  --sage:          #6b7b74;
  --sage-light:    #b8c8c4;
  --sage-pale:     #EEF4F5;

  /* ── Legacy aliases (backward compat) ───────────────── */
  --charcoal:      #152420;
  --charcoal-800:  #152420;
  --gold:          #456A6D;
  --gold-dark:     #274C4F;
  --gold-light:    #6d9497;
  --gold-pale:     #EEF4F5;
  --gold-50:       #EEF4F5;
  --cream:         #FBFCFC;
  --beige:         #EEF4F5;
  --beige-dark:    #E2EDEF;
  --warm-300:      #E2EDEF;
  --warm-100:      #EEF4F5;
  --warm-200:      #E2EDEF;
  --warm-500:      #6b7b74;
  --warm-700:      #456A6D;
  --warm-900:      #152420;
  --green-dark:    #152420;
  --green-900:     #152420;
  --green-800:     #274C4F;
  --green-700:     #456A6D;
  --green-600:     #6d9497;
  --green-500:     #6b7b74;
  --green-400:     #E2EDEF;
  --green-200:     #E2EDEF;
  --green-100:     #EEF4F5;
  --green-50:      #FBFCFC;
  --wood:          #456A6D;
  --wood-light:    #6d9497;
  --wood-pale:     #EEF4F5;
  --gray-900:      #152420;
  --gray-700:      #456A6D;
  --gray-500:      #6b7b74;
  --gray-300:      #E2EDEF;
  --gray-100:      #EEF4F5;

  /* ── Blocksy design tokens ───────────────────────────── */
  --radius:          10px;
  --radius-btn:      100px;   /* pill buttons — matches Blocksy   */
  --radius-input:    30px;    /* rounded inputs — matches Blocksy */
  --shadow:          0 4px 24px rgba(21,36,32,.09);
  --shadow-lg:       0 8px 40px rgba(21,36,32,.14);
  --transition:      all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.2;
  color: var(--heading);
}
.serif { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.sans  { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #EEF4F5;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(21,36,32,.06);
}

.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--heading);
}

.site-logo .logo-leaf {
  width: 36px; height: 36px;
  background: var(--btn);
  border-radius: 50% 50% 50% 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  transform: rotate(-45deg);
}

.site-logo .logo-leaf span { transform: rotate(45deg); display: block; }
.site-logo .logo-name { line-height: 1.15; }
.site-logo .logo-sub { font-size: 10px; font-family: sans-serif; color: var(--text-muted); font-weight: 400; letter-spacing: .04em; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a, .main-nav .nav-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--teal);
  transition: all .15s;
  border: none; background: none;
}

.main-nav a:hover, .main-nav .nav-btn:hover {
  background: var(--teal-50);
  color: var(--heading);
}
.main-nav a.active { color: var(--btn); font-weight: 600; }

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px;
  z-index: 300;
}
.dropdown-menu a {
  display: block; padding: 9px 14px;
  font-size: 14px; color: var(--teal);
  border-radius: 8px;
}
.dropdown-menu a:hover { background: var(--teal-50); color: var(--heading); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.cart-btn {
  position: relative;
  width: 38px; height: 38px;
  background: var(--section-light); border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--heading);
  transition: all .15s;
}
.cart-btn:hover { background: var(--teal-pale); border-color: var(--teal); color: var(--btn); }

.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--btn); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ---- BUTTONS ---- */
/* Arrow SVG icon (from tropical.ecocraftfurnish.com) */
.btn-arrow::after {
  content: '';
  display: inline-block;
  width: 15px; height: 10px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13.549'%3E%3Cpath d='M19.755 7.402c-.015.018-.02.04-.037.057l-5.806 5.806a.965.965 0 0 1-1.369 0 .967.967 0 0 1 0-1.368l4.155-4.155H.968a.968.968 0 1 1 0-1.935h15.73l-4.155-4.155A.967.967 0 1 1 13.912.284l5.806 5.806c.02.02.028.047.046.069a.957.957 0 0 1 .162.244c.099.237.099.505 0 .743a.96.96 0 0 1-.17.256Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13.549'%3E%3Cpath d='M19.755 7.402c-.015.018-.02.04-.037.057l-5.806 5.806a.965.965 0 0 1-1.369 0 .967.967 0 0 1 0-1.368l4.155-4.155H.968a.968.968 0 1 1 0-1.935h15.73l-4.155-4.155A.967.967 0 1 1 13.912.284l5.806 5.806c.02.02.028.047.046.069a.957.957 0 0 1 .162.244c.099.237.099.505 0 .743a.96.96 0 0 1-.17.256Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  transition: transform .2s;
  flex-shrink: 0;
}
.btn-arrow:hover::after { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 27px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 500;
  border: none; transition: var(--transition);
  letter-spacing: .01em; min-height: 50px;
}
.btn-primary {
  background: var(--btn); color: #fff;
}
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(39,76,79,.28); }

.btn-accent {
  background: var(--teal); color: #fff;
}
.btn-accent:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(69,107,110,.3); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--btn);
  color: var(--btn);
}
.btn-outline:hover { background: var(--btn); color: #fff; }

.btn-outline-teal {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--heading); }

/* Legacy aliases */
.btn-green, .btn-primary-green, .btn-wood { background: var(--btn); color: #fff; }
.btn-green:hover, .btn-primary-green:hover, .btn-wood:hover { background: var(--btn-hover); }
.btn-outline-gold { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline-gold:hover { background: var(--teal); color: #fff; }

.btn-sm { padding: 7px 20px; font-size: 13px; min-height: 38px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }

/* ---- FOOTER ---- */
.site-footer { background: #EEF4F5; color: var(--text-body); }

.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding: 64px 24px 40px;
}

.footer-brand .logo-name { color: var(--heading); font-size: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 700; }
.footer-brand p { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-top: 12px; max-width: 280px; }

.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; color: var(--btn); font-family: sans-serif; font-weight: 700; }
.footer-col a { display: block; font-size: 14px; color: var(--teal); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--heading); }

.footer-eco {
  display: flex; align-items: center; gap: 8px;
  background: rgba(39,76,79,.10); border: 1px solid rgba(39,76,79,.25);
  color: var(--btn); border-radius: 999px;
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  margin-top: 20px; width: fit-content;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1280px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
}

/* ---- SECTIONS ---- */
.section { padding: 88px 24px; }
.section-sm { padding: 52px 24px; }
.section-alt { background: var(--section-light); }
.section-dark { background: var(--dark); color: #fff; }
.section-banner { background: var(--heading); color: #fff; }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-pale); color: var(--btn);
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}

.section-title { font-size: clamp(26px, 4vw, 42px); color: var(--heading); margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 540px; line-height: 1.75; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.divider-teal {
  width: 48px; height: 3px;
  background: var(--teal);
  border-radius: 999px;
  margin: 16px 0 24px;
}
.text-center .divider-teal { margin: 16px auto 24px; }
/* legacy alias */
.divider-gold { width: 48px; height: 3px; background: var(--teal); border-radius: 999px; margin: 16px 0 24px; }
.text-center .divider-gold { margin: 16px auto 24px; }

/* ---- CARDS ---- */
.card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow); }

/* ---- PRODUCT CARD ---- */
.product-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 14px;
  overflow: hidden; transition: all .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--section-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; position: relative; overflow: hidden;
}

.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--btn); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}

.product-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); transition: all .2s;
}
.product-wishlist:hover { color: #ef4444; background: #fff; }
.product-wishlist.active { color: #ef4444; }

.product-info { padding: 18px 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 6px; line-height: 1.3; }

.product-wood {
  font-size: 12px; color: var(--btn);
  background: var(--teal-pale);
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  margin-bottom: 10px; font-weight: 600;
}

.star-row { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.stars { color: var(--teal); font-size: 13px; }
.star-count { font-size: 12px; color: var(--text-muted); }

.product-price { font-size: 20px; font-weight: 800; color: var(--heading); margin-top: auto; }
.product-price .from { font-size: 12px; font-weight: 500; color: var(--text-muted); }

.product-actions { display: flex; gap: 8px; padding: 0 16px 16px; }
.product-actions .btn { flex: 1; justify-content: center; }

/* ---- BADGES ---- */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.badge-green  { background: var(--teal-pale); color: var(--btn);     }
.badge-teal   { background: var(--teal-pale); color: var(--btn);     }
.badge-dark   { background: var(--dark);      color: #fff;           }
.badge-blue   { background: #dbeafe;          color: #1e40af;        }
.badge-amber  { background: #fef3c7;          color: #92400e;        }
.badge-red    { background: #fee2e2;          color: #991b1b;        }
.badge-purple { background: #f3e8ff;          color: #6b21a8;        }
.badge-warm   { background: var(--section-light); color: var(--teal); }
.badge-gold   { background: var(--teal-pale); color: var(--btn);     }

/* ---- FORM ELEMENTS ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 20px;
  border: 2px solid var(--border); border-radius: var(--radius-input);
  font-size: 14px; font-family: inherit;
  color: var(--text-body); background: var(--bg);
  outline: none; transition: var(--transition);
  min-height: 50px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--btn);
  box-shadow: 0 0 0 3px rgba(39,76,79,.10);
}
.form-textarea { resize: vertical; min-height: 120px; border-radius: var(--radius); }

/* ---- TABLES ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
  background: var(--section-light);
}
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.data-table tbody tr:hover td { background: var(--teal-50); }
.data-table tr:last-child td { border-bottom: none; }

/* ---- WOOD CHIP ---- */
.wood-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--section-light); border: 1px solid var(--border);
  color: var(--teal); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; transition: all .15s;
}
.wood-chip:hover, .wood-chip.active {
  background: var(--btn); color: #fff; border-color: var(--btn);
}

/* ---- STAR RATING ---- */
.star-rating { display: flex; gap: 2px; }
.star-rating .star { font-size: 16px; color: var(--border); cursor: pointer; }
.star-rating .star.filled { color: var(--teal); }

/* ---- HERO VARIANTS ---- */
.hero-light  { background: var(--section-light); }
.hero-dark   { background: var(--dark); color: #fff; }
.hero-banner { background: var(--heading); color: #fff; }

/* ---- TOAST ---- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--dark); color: #fff;
  padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease; white-space: nowrap;
  border-left: 3px solid var(--teal);
}
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- CART DRAWER ---- */
.cart-overlay { position: fixed; inset: 0; background: rgba(21,36,32,.45); z-index: 400; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; background: #fff;
  box-shadow: -4px 0 40px rgba(21,36,32,.15);
  z-index: 401; transform: translateX(100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; background: var(--section-light); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border-light); background: var(--section-light); }
.cart-item { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.cart-item-img { width: 60px; height: 60px; border-radius: 8px; background: var(--section-light); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; color: var(--heading); }
.cart-item-wood { font-size: 11px; color: var(--teal); }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--heading); margin-top: 6px; }
.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .15s; }
.qty-btn:hover { border-color: var(--teal); color: var(--btn); background: var(--teal-50); }

/* ---- LIVE CHAT ---- */
.chat-bubble { position: fixed; bottom: 28px; right: 28px; z-index: 500; }
.chat-btn { width: 54px; height: 54px; border-radius: 50%; background: var(--btn); color: #fff; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(39,76,79,.35); transition: all .2s; }
.chat-btn:hover { background: var(--dark); transform: scale(1.05); }
.chat-window { position: absolute; bottom: 66px; right: 0; width: 320px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); overflow: hidden; display: none; flex-direction: column; }
.chat-window.open { display: flex; }
.chat-win-header { background: var(--dark); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-messages { flex: 1; max-height: 260px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--section-light); }
.chat-msg { max-width: 80%; padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.chat-msg.bot { background: #fff; color: var(--text-body); align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid var(--border-light); }
.chat-msg.user { background: var(--btn); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-row { display: flex; border-top: 1px solid var(--border-light); }
.chat-input-row input { flex: 1; padding: 12px 14px; border: none; outline: none; font-size: 13px; font-family: inherit; background: var(--bg); }
.chat-input-row button { padding: 12px 14px; background: var(--btn); color: #fff; border: none; font-size: 13px; font-weight: 600; transition: background .15s; }
.chat-input-row button:hover { background: var(--dark); }

/* ---- UTILS ---- */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-muted   { color: var(--text-muted); }
.text-teal    { color: var(--teal); }
.text-heading { color: var(--heading); }
.text-sm  { font-size: 13px; }
.text-xs  { font-size: 11px; }
.mono { font-family: 'Courier New', monospace; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mt-8  { margin-top:  8px; }  .mt-16 { margin-top: 16px; }  .mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 16px; }
  .cart-drawer { width: 100%; }
}
