/* ═══════════════════════════════════════════════════════════════
   Avori E-Commerce — Homepage Stylesheet
   Developer: Nathstack Technologies | nathstack.online
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --red:        #C0392B;
  --red-dark:   #96281B;
  --red-light:  #E74C3C;
  --red-glow:   rgba(192,57,43,0.16);
  --copper:     #B87333;
  --terracotta: #C4622D;
  --cream:      #FDF6EC;
  --warm-tan:   #E8D5B7;
  --spice:      #8B4513;

  --bg:         #FDF6EC;
  --surface:    #FFFFFF;
  --surface2:   #FFF8F0;
  --border:     #E8D5B7;
  --text:       #2C1810;
  --text-muted: #7A5C4A;
  --text-light: #A8887A;
  --input-bg:   #FFFAF5;
  --shadow:     rgba(139,69,19,0.10);
  --shadow-md:  rgba(139,69,19,0.18);
  --shadow-lg:  rgba(139,69,19,0.26);
  --overlay:    rgba(44,24,16,0.55);
  --radius:     14px;
  --radius-sm:  9px;
  --tr:         0.24s cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] {
  --bg:         #1A0F0A;
  --surface:    #251810;
  --surface2:   #2E1E14;
  --border:     #3D2618;
  --text:       #F5EBE0;
  --text-muted: #C4A882;
  --text-light: #8A6A52;
  --input-bg:   #1E1208;
  --shadow:     rgba(0,0,0,0.40);
  --shadow-md:  rgba(0,0,0,0.55);
  --shadow-lg:  rgba(0,0,0,0.70);
  --overlay:    rgba(0,0,0,0.65);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'DM Sans',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;transition:background var(--tr),color var(--tr);}
img{display:block;max-width:100%;}
a{text-decoration:none;}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 10px var(--shadow);
}
.nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Search bar */
.nav-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.nav-search input {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: .6rem 3rem .6rem 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.nav-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.nav-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  border: none;
  border-radius: 99px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--tr);
}
.nav-search-btn:hover { opacity: .88; }
.nav-search-btn svg { width: 16px; height: 16px; stroke: white; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--tr);
  text-decoration: none;
}
.nav-icon-btn:hover { border-color: var(--red); color: var(--red); }
.nav-icon-btn svg { width: 18px; height: 18px; }
.nav-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--red);
  color: white;
  font-size: .6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}
.nav-account-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: .38rem .9rem .38rem .38rem;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  transition: all var(--tr);
  text-decoration: none;
}
.nav-account-btn:hover { border-color: var(--red); color: var(--red); }
.nav-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.nav-theme-btn {
  width: 38px;
  height: 38px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--tr);
}
.nav-theme-btn:hover { border-color: var(--red); color: var(--red); }
.nav-theme-btn svg { width: 16px; height: 16px; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  width: 38px; height: 38px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}
.nav-hamburger svg { width: 18px; height: 18px; }

/* Category nav strip */
.cat-strip {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.cat-strip-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  overflow-x: auto;
  scrollbar-width: none;
  height: 42px;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .85rem;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
  border: 1px solid transparent;
  flex-shrink: 0;
}
.cat-pill:hover { background: var(--surface); border-color: var(--border); color: var(--text); }
.cat-pill.active { background: var(--red); color: white; border-color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   HERO BANNER
══════════════════════════════════════════════════════════════ */
.hero {
  background:
    linear-gradient(135deg, rgba(44,24,16,.78) 0%, rgba(192,57,43,.35) 100%),
    url('https://plus.unsplash.com/premium_photo-1663091154505-95be72cf7d9b?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  border-radius: 99px;
  padding: .32rem .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-title span { color: #F5A623; }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  max-width: 500px;
}
.hero-btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 99px;
  padding: .78rem 1.7rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .17s, box-shadow .17s;
  box-shadow: 0 6px 20px rgba(192,57,43,.45);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(192,57,43,.55); }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 99px;
  padding: .78rem 1.7rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .17s;
  text-decoration: none;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

/* Hero promo card */
.hero-promo {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
}
.promo-tag { font-size: .72rem; font-weight: 700; color: #F5A623; text-transform: uppercase; letter-spacing: .6px; margin-bottom: .5rem; }
.promo-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: white; margin-bottom: .4rem; }
.promo-sub { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 1.2rem; line-height: 1.5; }
.promo-discount {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  border-radius: var(--radius-sm);
  padding: .4rem 1.1rem;
  margin-bottom: 1.2rem;
}
.promo-timer { display: flex; gap: .6rem; margin-bottom: 1.3rem; }
.timer-box {
  background: rgba(0,0,0,.35);
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  text-align: center;
  min-width: 52px;
}
.timer-num { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: white; line-height: 1; }
.timer-lbl { font-size: .62rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.btn-promo {
  width: 100%;
  background: white;
  color: var(--red);
  border: none;
  border-radius: 99px;
  padding: .7rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .17s;
  text-align: center;
  display: block;
}
.btn-promo:hover { opacity: .9; }

/* ══════════════════════════════════════════════════════════════
   SECTION WRAPPER
══════════════════════════════════════════════════════════════ */
.section { padding: 3.5rem 0; }
.section-inner { max-width: 1260px; margin: 0 auto; padding: 0 1.5rem; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}
.section-title span { color: var(--red); }
.section-sub { font-size: .85rem; color: var(--text-muted); margin-top: .25rem; }
.section-link {
  font-size: .84rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
  transition: gap var(--tr);
}
.section-link:hover { gap: .55rem; }
.section-link svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem .8rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px var(--shadow-md); border-color: var(--red); }
.cat-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--red-glow), rgba(184,115,51,.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .8rem;
}
.cat-card-icon svg { width: 26px; height: 26px; color: var(--red); }
.cat-card-name { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; }
.cat-card-count { font-size: .72rem; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════════════ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  position: relative;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow-md); }
.prod-card:hover .prod-actions { opacity: 1; transform: translateY(0); }

.prod-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface2);
  overflow: hidden;
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.06); }

.prod-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
}
.prod-img-placeholder svg { width: 48px; height: 48px; }

/* Badges on image */
.prod-badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .35rem; }
.prod-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  border-radius: 5px;
  padding: 2px 7px;
}
.prod-badge.new    { background: #27ae60; color: white; }
.prod-badge.sale   { background: var(--red); color: white; }
.prod-badge.hot    { background: #f39c12; color: white; }

/* Wishlist btn */
.prod-wish {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 2px 8px var(--shadow);
}
.prod-wish:hover { border-color: var(--red); }
.prod-wish svg { width: 15px; height: 15px; color: var(--text-light); transition: color var(--tr); }
.prod-wish:hover svg, .prod-wish.active svg { color: var(--red); fill: var(--red); }

/* Quick actions overlay */
.prod-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .55rem;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  display: flex;
  gap: .4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s, transform .22s;
}
.prod-action-btn {
  flex: 1;
  background: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: .5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  transition: background var(--tr), color var(--tr);
}
.prod-action-btn:hover { background: var(--red); color: white; }
.prod-action-btn svg { width: 13px; height: 13px; }

/* Product info */
.prod-info { padding: .9rem; }
.prod-cat { font-size: .7rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px; margin-bottom: .25rem; }
.prod-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .45rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-rating { display: flex; align-items: center; gap: .3rem; margin-bottom: .5rem; }
.stars { display: flex; gap: 1px; }
.stars svg { width: 13px; height: 13px; fill: #f5a623; }
.stars svg.empty { fill: var(--border); }
.rating-count { font-size: .73rem; color: var(--text-light); }
.prod-price-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.prod-price { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--red); }
.prod-old-price { font-size: .78rem; color: var(--text-light); text-decoration: line-through; }
.prod-stock-low { font-size: .7rem; color: #d35400; font-weight: 600; }
.btn-add-cart {
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: .42rem .75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .28rem;
  white-space: nowrap;
  transition: opacity .17s, transform .17s;
  flex-shrink: 0;
}
.btn-add-cart:hover { opacity: .88; transform: scale(.97); }
.btn-add-cart svg { width: 13px; height: 13px; }

/* ══════════════════════════════════════════════════════════════
   PROMO BANNERS
══════════════════════════════════════════════════════════════ */
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.banner-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  transition: transform .2s;
}
.banner-card:hover { transform: scale(1.01); }
.banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.banner-1 {
  background: linear-gradient(135deg, #2C1810 0%, #8B2500 100%);
}
.banner-2 {
  background: linear-gradient(135deg, #1A3A2A 0%, #2E7D52 100%);
}
.banner-content { position: relative; z-index: 1; }
.banner-tag { font-size: .72rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: .4rem; }
.banner-1 .banner-tag { color: #F5A623; }
.banner-2 .banner-tag { color: #7DCEA0; }
.banner-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: white; margin-bottom: .3rem; }
.banner-sub { font-size: .84rem; color: rgba(255,255,255,.72); margin-bottom: 1rem; }
.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: white;
  border-radius: 99px;
  padding: .45rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity .17s;
  text-decoration: none;
}
.banner-1 .banner-btn { color: var(--red-dark); }
.banner-2 .banner-btn { color: #1A3A2A; }
.banner-btn:hover { opacity: .9; }

/* ══════════════════════════════════════════════════════════════
   FEATURES ROW
══════════════════════════════════════════════════════════════ */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: 0 6px 20px var(--shadow-md); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--red); }
.feature-title { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.feature-sub { font-size: .78rem; color: var(--text-muted); line-height: 1.4; }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow .2s;
}
.testi-card:hover { box-shadow: 0 6px 20px var(--shadow-md); }
.testi-stars { display: flex; gap: 2px; margin-bottom: .75rem; }
.testi-stars svg { width: 15px; height: 15px; fill: #f5a623; }
.testi-text { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .6rem; }
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testi-name { font-size: .86rem; font-weight: 600; color: var(--text); }
.testi-loc  { font-size: .74rem; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════════════════════ */
.newsletter {
  background: linear-gradient(135deg, var(--red), var(--terracotta));
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  top: -100px;
  right: -60px;
}
.newsletter::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  bottom: -80px;
  left: -40px;
}
.newsletter-content { position: relative; z-index: 1; }
.newsletter-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: .5rem; }
.newsletter-sub { font-size: .9rem; color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }
.newsletter-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; }
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 99px;
  padding: .72rem 1.3rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  color: white;
  outline: none;
  backdrop-filter: blur(6px);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { border-color: rgba(255,255,255,.7); }
.newsletter-btn {
  background: white;
  color: var(--red-dark);
  border: none;
  border-radius: 99px;
  padding: .72rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .17s;
  flex-shrink: 0;
}
.newsletter-btn:hover { opacity: .9; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: .55rem;
}
.footer-tagline { font-size: .84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.1rem; }
.footer-socials { display: flex; gap: .5rem; }
.social-btn {
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--tr);
}
.social-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }
.social-btn svg { width: 16px; height: 16px; }

.footer-heading { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .86rem; color: var(--text-muted); text-decoration: none; transition: color var(--tr); }
.footer-links a:hover { color: var(--red); }

.footer-contact-item { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .65rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.footer-contact-item span { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-copy { font-size: .78rem; color: var(--text-light); }
.footer-copy a { color: var(--copper); font-weight: 500; }
.footer-copy a:hover { color: var(--red); }
.footer-pay { display: flex; align-items: center; gap: .5rem; }
.pay-badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .4px;
}

/* ══════════════════════════════════════════════════════════════
   CART SIDEBAR
══════════════════════════════════════════════════════════════ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 400;
  backdrop-filter: blur(3px);
}
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 500;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px var(--shadow-lg);
  transition: right .32s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { right: 0; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-head-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text); }
.cart-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; border-radius: 6px; display: flex; transition: color var(--tr); }
.cart-close:hover { color: var(--red); }
.cart-close svg { width: 20px; height: 20px; }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.cart-empty svg { width: 56px; height: 56px; stroke: var(--border); margin: 0 auto .8rem; }
.cart-empty p { font-size: .88rem; }
.cart-item { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); flex-shrink: 0; background: var(--surface2); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: .84rem; color: var(--red); font-weight: 700; margin-bottom: .4rem; }
.cart-qty { display: flex; align-items: center; gap: .4rem; }
.qty-btn { width: 26px; height: 26px; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); font-size: .9rem; font-weight: 700; transition: all var(--tr); }
.qty-btn:hover { border-color: var(--red); color: var(--red); }
.qty-val { font-size: .86rem; font-weight: 600; color: var(--text); min-width: 20px; text-align: center; }
.cart-del { background: none; border: none; cursor: pointer; color: var(--text-light); padding: 4px; border-radius: 4px; display: flex; transition: color var(--tr); }
.cart-del:hover { color: var(--red); }
.cart-del svg { width: 15px; height: 15px; }
.cart-foot {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.4rem;
  flex-shrink: 0;
}
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .86rem; }
.cart-total-row.main { font-weight: 700; font-size: 1rem; color: var(--text); margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed var(--border); }
.cart-total-row span:last-child { color: var(--red); }
.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--terracotta));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: .85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-shadow: 0 4px 16px var(--red-glow);
  transition: transform .17s, box-shadow .17s;
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,.35); }
.btn-continue-shop { width: 100%; background: none; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .72rem; font-family: 'DM Sans', sans-serif; font-size: .86rem; font-weight: 600; color: var(--text-muted); cursor: pointer; margin-top: .6rem; transition: all var(--tr); }
.btn-continue-shop:hover { border-color: var(--red); color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATION
══════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1.1rem;
  box-shadow: 0 8px 28px var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  z-index: 600;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
.toast.success svg { color: #27ae60; }
.toast.error   svg { color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-promo { display: none; }
}
@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-hamburger { display: flex; }
  .banner-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .cat-strip { display: none; }
  .newsletter-form { flex-direction: column; }
}
@media (max-width: 600px) {
  .hero { min-height: 400px; }
  .features-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 2.5rem 0; }
}
