/* =========================================================
   CRAFTSZETU — Artisan / African Craft Marketplace Theme
   ========================================================= */
:root {
  /* Brand Palette */
  --body-bg: #FCFBF8;
  --white: #FFFFFF;
  --ink: #2A1608;
  --muted: #7B5C4D;
  --line: rgba(74, 37, 17, 0.08);

  /* Sunset Orange (Primary Actions) */
  --orange: #E65C00;
  --orange-dark: #CC5200;
  --orange-soft: #FFF4ED;

  /* Savannah Gold & Terracotta (Accents) */
  --eco: #F4A261;
  --eco-dark: #E07A5F;
  --eco-soft: #FDF6E3;
  --terracotta: #9B2226;
  
  /* Deep Earth Brown (Headers/Footers) */
  --brand-navy: #3A1C0E;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 37, 17, 0.04);
  --shadow-md: 0 8px 24px rgba(74, 37, 17, 0.08);
  --shadow-lg: 0 16px 40px rgba(74, 37, 17, 0.12);

  /* Radius (Softer, organic feel) */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --container-w: 1200px;
}

/* Subtle background pattern class */
.artisan-pattern {
  background-color: var(--brand-navy);
  background-image: radial-gradient(var(--orange-dark) 1px, transparent 1px),
  radial-gradient(var(--orange-dark) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  position: relative;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--body-bg);
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--brand-navy);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 14px rgba(230, 92, 0, 0.3);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

/* ---------- Header & Utility ---------- */
.utility-bar {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-left i, .utility-right i {
  color: var(--eco);
}
.utility-right a:hover {
  color: var(--white);
}
.utility-right .sep {
  color: rgba(255, 255, 255, 0.2);
}

.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 16px 24px;
}
.header-logo-img { height: 48px; width: auto; object-fit: contain; }
.footer-logo-img { height: 64px; width: auto; object-fit: contain; }
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--brand-navy);
}
.logo span { color: var(--orange); }
.logo .leaf {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange), var(--eco-dark));
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.search {
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: center;
  background: var(--body-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  transition: all 0.3s;
}
.search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
  background: var(--white);
}
.search select {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 0 16px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  outline: none;
}
.search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  color: var(--ink);
}
.search button {
  background: var(--brand-navy);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.search button:hover {
  background: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.h-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  position: relative;
}
.h-action:hover {
  background: var(--orange-soft);
  color: var(--orange);
}
.h-action .badge {
  position: absolute;
  top: 2px;
  left: 20px;
  background: var(--terracotta);
  color: white;
  font-size: 10px;
  font-weight: 700;
  height: 18px;
  min-width: 18px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
}

/* Category Pill Nav */
.cat-nav {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.cat-nav .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-pill {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--body-bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-pill i { color: var(--muted); }
.cat-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.cat-pill.active {
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-color: var(--orange-soft);
}
.cat-pill.active i { color: var(--orange-dark); }

/* ---------- Artisan Strip ---------- */
.eco-strip {
  background: var(--brand-navy);
  color: white;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.eco-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eco-stats {
  display: flex;
  gap: 40px;
}
.eco-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eco-stat .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}
.eco-stat .icon svg, .eco-stat .icon i { width: 22px; height: 22px; stroke: white; }
.eco-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.eco-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.eco-cta {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
}
.eco-cta:hover {
  background: white;
  color: var(--brand-navy);
}

/* ---------- Hero ---------- */
.hero { margin-top: 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
}
.hero-main {
  background: linear-gradient(135deg, #FFF4ED 0%, #FDF6E3 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(230, 92, 0, 0.1);
}
.hero-main::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,92,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--orange-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  width: max-content;
  box-shadow: var(--shadow-sm);
}
.hero-main h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--brand-navy);
}
.hero-main h1 em {
  font-style: italic;
  color: var(--orange);
}
.hero-main p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 16px;
}
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 56px;
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 8px; height: 8px;
  background: rgba(74,37,17, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.hero-dots span.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}
.carousel-slide { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from{opacity:0; transform:translateX(20px);} to{opacity:1; transform:translateX(0);} }

/* Hero Side Cards */
.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hero-card.a .blob { background: var(--eco-soft); }
.hero-card.b .blob { background: var(--orange-soft); }
.hero-card .blob {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 140px; height: 140px;
  border-radius: 50%;
  z-index: 0;
  transition: transform 0.4s ease;
}
.hero-card:hover .blob { transform: scale(1.1); }
.hero-card .tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero-card h3 { font-size: 22px; margin-bottom: 8px; font-family: 'Fraunces', serif; }
.hero-card .price { font-weight: 600; color: var(--orange); margin-bottom: 16px; }
.hero-card .link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-navy);
}
.hero-card .link:hover { color: var(--orange); gap: 10px; }

/* ---------- General Sections ---------- */
.section { padding: 60px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-head h2 { font-size: 32px; margin-bottom: 6px; }
.section-head .sub { color: var(--muted); font-size: 16px; }
.view-all {
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}
.view-all:hover { gap: 12px; color: var(--orange-dark); }

/* ---------- Categories Grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-card .icon-wrap {
  width: 64px; height: 64px;
  background: var(--body-bg);
  border-radius: 16px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
}
.cat-card h4 { font-family: 'Outfit', sans-serif; font-size: 15px; margin-bottom: 4px; }
.cat-card .count { font-size: 13px; color: var(--muted); }

/* ---------- Product Grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product:hover {
  border-color: rgba(230,92,0,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product .badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 10;
}
.product .b {
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product .b.sale { background: var(--terracotta); color: white; }
.product .b.eco { background: var(--eco); color: var(--brand-navy); }
.product .b.new { background: var(--brand-navy); color: white; }

.product .wish {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer; z-index: 10;
  transition: 0.2s;
  color: var(--muted);
}
.product .wish:hover { color: var(--terracotta); border-color: var(--terracotta); }
.product .thumb {
  aspect-ratio: 1/1;
  background: var(--body-bg);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  display: grid; place-items: center;
}
.product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product:hover .thumb img { transform: scale(1.05); }

.product .info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product .brand { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.product .name {
  font-weight: 600; font-size: 15px; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--brand-navy);
}
.product .stars {
  display: flex; gap: 2px; color: #FBBF24; font-size: 12px; margin-bottom: 12px;
}
.product .stars .num { color: var(--muted); margin-left: 6px; }
.product .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; margin-top: auto; }
.product .price { font-weight: 700; font-size: 18px; color: var(--orange-dark); }
.product .old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.cart-btn {
  width: 100%; padding: 10px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
  cursor: pointer; transition: 0.3s;
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
.product:hover .cart-btn {
  background: var(--orange); color: white;
}

/* ---------- Deal of the Day ---------- */
.deal {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.deal::before {
  content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
  background-image: radial-gradient(var(--orange-dark) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
}
.deal-content { position: relative; z-index: 1; }
.deal .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); color: var(--eco);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px;
}
.deal h2 { font-size: 36px; margin-bottom: 12px; color: white; }
.deal p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 16px; max-width: 400px; }
.deal .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 32px; }
.deal .now { font-size: 32px; font-weight: 700; color: var(--eco); }
.deal .was { font-size: 18px; color: rgba(255,255,255,0.5); text-decoration: line-through; }
.deal .off { background: var(--terracotta); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.countdown { display: flex; gap: 16px; margin-bottom: 32px; }
.countdown .box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  min-width: 64px; text-align: center; padding: 12px 16px;
}
.countdown .num { font-size: 24px; font-weight: 700; font-family: 'Fraunces', serif; }
.countdown .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-top: 4px; }
.deal-actions { display: flex; gap: 12px; }
.deal-visual {
  position: relative; z-index: 1;
  aspect-ratio: 1/1; max-width: 380px; margin-left: auto;
  background: linear-gradient(135deg, rgba(244,162,97,.2) 0%, rgba(224,122,95,.2) 100%);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15);
}
.deal-visual svg { width: 140px; height: 140px; stroke: rgba(255,255,255,.7); }

/* ---------- Artisan Spotlight ---------- */
.eco-spot {
  background: linear-gradient(120deg, #FDF6E3 0%, #FFF4ED 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--eco-soft);
}
.eco-spot .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-navy); color: white;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
}
.eco-spot h2 { font-size: 30px; margin: 14px 0 10px; }
.eco-spot h2 em { font-style: normal; color: var(--orange-dark); }
.eco-spot p { color: var(--muted); margin-bottom: 20px; }
.eco-list { display: grid; gap: 10px; margin-bottom: 24px; }
.eco-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.eco-list i { color: var(--terracotta); }
.eco-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.eco-feat {
  background: white; padding: 20px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.eco-feat .ic {
  width: 48px; height: 48px; margin: 0 auto 10px;
  background: var(--orange-soft); border-radius: 12px;
  display: grid; place-items: center;
}
.eco-feat .ic i { color: var(--orange-dark); font-size: 20px;}
.eco-feat .num { font-family: 'Fraunces', serif; font-weight: 700; font-size: 22px; color: var(--brand-navy); }
.eco-feat .lbl { font-size: 12px; color: var(--muted); }

/* ---------- Trust Badges ---------- */
.trust { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 0 16px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-item .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--eco-soft); border-radius: 12px;
  display: grid; place-items: center;
}
.trust-item .ic i { font-size: 18px; color: var(--eco-dark); }
.trust-item h4 { font-size: 14px; font-weight: 600; font-family: 'Fraunces', serif;}
.trust-item p { font-size: 12px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testi .quote { position: absolute; top: 24px; right: 24px; color: var(--orange-soft); font-size: 40px; z-index: 0; }
.testi .stars { display: flex; gap: 2px; color: #FBBF24; font-size: 12px; margin-bottom: 16px; position: relative; z-index: 1; }
.testi p { font-size: 15px; color: var(--ink); margin-bottom: 24px; font-style: italic; position: relative; z-index: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testi .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: white; display: grid; place-items: center; font-weight: 700; }
.testi h5 { font-size: 14px; font-weight: 700; margin-bottom: 2px; font-family: 'Outfit', sans-serif;}
.testi span { font-size: 12px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.newsletter::after {
  content: ''; position: absolute; top:0; right:0; bottom:0; width:50%;
  background-image: radial-gradient(var(--orange) 1px, transparent 1px);
  background-size: 20px 20px; opacity: 0.1;
}
.newsletter .content { position: relative; z-index: 2; }
.newsletter .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); color: var(--eco);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px;
}
.newsletter h2 { font-size: 36px; margin-bottom: 12px; color: white; }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 16px; }
.newsletter .perks { display: flex; gap: 16px; font-size: 14px; font-weight: 500; }
.newsletter .perks i { color: var(--eco); }

.newsletter-form {
  position: relative; z-index: 2;
  display: flex; gap: 8px;
  background: white; padding: 8px;
  border-radius: var(--radius-pill);
}
.newsletter-form input {
  flex: 1; border: none; background: transparent;
  padding: 12px 20px; font-size: 15px; outline: none; color: var(--ink);
}
.newsletter-form button {
  background: var(--orange); color: white; border: none;
  padding: 12px 28px; border-radius: var(--radius-pill);
  font-weight: 600; cursor: pointer; transition: 0.2s;
}
.newsletter-form button:hover { background: var(--orange-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-navy); color: rgba(255,255,255,0.7); margin-top: 80px; padding-top: 80px; border-top: 4px solid var(--orange); position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
  background-image: radial-gradient(var(--orange) 1px, transparent 1px);
  background-size: 20px 20px; opacity: 0.05; pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; position: relative; z-index: 2; }
.brand-block .logo { color: white; margin-bottom: 16px; font-size: 32px; }
.brand-block p { font-size: 14px; line-height: 1.6; margin-bottom: 24px; max-width: 300px; }
.contact { display: grid; gap: 12px; font-size: 14px; margin-bottom: 24px; }
.contact a, .contact span { display: flex; align-items: center; gap: 10px; transition: color 0.2s; }
.contact a:hover { color: white; }
.contact i { color: var(--eco); }
.social { display: flex; gap: 12px; }
.social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: grid; place-items: center; color: white; transition: 0.2s; }
.social a:hover { background: var(--orange); transform: translateY(-3px); }

.footer h4 { color: white; font-size: 16px; margin-bottom: 20px; font-family: 'Fraunces', serif;}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { font-size: 14px; transition: 0.2s; display: inline-block; }
.footer ul a:hover { color: var(--eco); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; position: relative; z-index: 2;
}
.payments { display: flex; gap: 8px; }
.payments .p { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 4px; font-weight: 600; font-size: 11px; letter-spacing: 1px; }

/* ---------- Utilities ---------- */
.to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: white;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 50;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .2s;
  border: none; cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); background: var(--orange-dark); }
.to-top svg, .to-top i { font-size: 16px; }

/* ---------- Slide-out Cart Drawer ---------- */
.cart-drawer {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  visibility: hidden;
  display: flex;
  justify-content: flex-end;
}
.cart-drawer.open { visibility: visible; }
.cart-drawer-backdrop {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42, 22, 8, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s ease;
}
.cart-drawer.open .cart-drawer-backdrop { opacity: 1; }
.cart-drawer-content {
  position: relative; width: 400px; max-width: 100%; height: 100%;
  background: var(--body-bg);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
}
.cart-drawer.open .cart-drawer-content { transform: translateX(0); }
.cart-drawer-header {
  padding: 24px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  background: white;
}
.cart-drawer-header .close-btn {
  background: var(--body-bg); border: 1px solid var(--line);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: 0.2s; color: var(--ink);
}
.cart-drawer-header .close-btn:hover {
  background: var(--orange-soft); color: var(--orange); border-color: var(--orange);
}
.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 24px;
}
.cart-drawer-body::-webkit-scrollbar { width: 6px; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }

@keyframes bounceCart {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); }
}
.bounce-animation { animation: bounceCart 0.5s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-main h1 { font-size: 36px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .deal, .eco-spot, .newsletter { grid-template-columns: 1fr; padding: 32px; }
  .deal-visual { max-width: 280px; margin: 0 auto; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); padding: 12px 16px; }
}
@media (max-width: 700px) {
  .utility-bar { display: none; }
  .search { display: none; }
  .header-actions .h-action span { display: none; }
  .header-actions .h-action { padding: 6px 8px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-main h1 { font-size: 28px; }
  .hero-main { padding: 32px 24px; min-height: 280px; }
  .hero-side { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 22px; }
  .section { padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust .container { grid-template-columns: 1fr; }
  .countdown .box { min-width: 56px; padding: 10px 12px; }
  .eco-strip .container { flex-direction: column; text-align: center; }
  .eco-stats { justify-content: center; }
  .eco-cta { margin-top: 12px; }
  .newsletter { grid-template-columns: 1fr; padding: 28px; text-align: center; }
  .newsletter .perks { justify-content: center; flex-wrap: wrap; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input { border-radius: var(--radius-pill); }
  .newsletter-form button { border-radius: var(--radius-pill); width: 100%; }
  .deal { grid-template-columns: 1fr; padding: 24px; }
  .deal h2 { font-size: 26px; }
  .deal-visual { max-width: 240px; margin: 0 auto; }
  .deal-actions { flex-direction: column; }
  .deal-actions .btn { width: 100%; justify-content: center; }
  .eco-spot { grid-template-columns: 1fr; padding: 24px; }
  .eco-spot h2 { font-size: 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .cat-nav .container { gap: 6px; padding: 10px 16px; }
  .cat-pill { padding: 6px 12px; font-size: 12px; }
  .logo { font-size: 20px; }
  .logo .leaf { width: 28px; height: 28px; }
  .header-inner { padding: 12px 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .header-logo-img { height: 36px; }
  .footer-logo-img { height: 48px; }
  .cart-drawer-content { width: 340px; }
  .cart-drawer-header { padding: 16px; }
  .cart-drawer-body { padding: 16px; }
}
@media (max-width: 480px) {
  .hero-main h1 { font-size: 22px; }
  .hero-main p { font-size: 14px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-card h3 { font-size: 18px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 16px 10px; }
  .cat-card .icon-wrap { width: 56px; height: 56px; border-radius: 14px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product .info { padding: 10px; }
  .product .name { font-size: 13px; }
  .product .price { font-size: 14px; }
  .countdown { gap: 8px; }
  .countdown .num { font-size: 18px; }
  .eco-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .eco-feat { padding: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-logo-img { height: 32px; }
  .cart-drawer-content { width: 100%; }
}
