/* Gardenix — Smart Garden Marketplace | style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --white:       #FFFFFF;
  --forest:      #166534;
  --emerald:     #059669;
  --emerald-lt:  #d1fae5;
  --brown:       #92400E;
  --slate:       #334155;
  --slate-lt:    #64748b;
  --gray:        #F8FAFC;
  --gray-mid:    #e2e8f0;
  --gray-dark:   #cbd5e1;
  --text:        #1e293b;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.13);
  --transition:  .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========== UTILITY ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-green { color: var(--emerald); }
.text-forest { color: var(--forest); }
.text-slate { color: var(--slate); }
.text-muted { color: var(--slate-lt); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn--primary:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--gray-mid);
}
.btn--ghost:hover {
  background: var(--gray);
  border-color: var(--gray-dark);
}
.btn--sm { padding: 8px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }

/* ========== TYPOGRAPHY ========== */
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; color: var(--slate); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}
.section-title { font-family: 'Playfair Display', serif; }
.section-desc { font-size: 1.05rem; color: var(--slate-lt); max-width: 620px; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ========== TOP BAR ========== */
.topbar {
  background: var(--forest);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__links { display: flex; gap: 20px; }
.topbar__links a {
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.topbar__links a:hover { color: var(--white); }

/* ========== HEADER ========== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__icon {
  width: 40px;
  height: 40px;
  background: var(--forest);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
}
.logo__text { font-size: 1.45rem; font-weight: 800; color: var(--forest); font-family: 'Playfair Display', serif; }
.logo__sub  { font-size: .7rem; color: var(--slate-lt); font-weight: 500; letter-spacing: .04em; }

/* NAV */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover, .nav__link.active {
  background: var(--emerald-lt);
  color: var(--forest);
}
.nav__link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 1000;
}
.nav__item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--slate);
  transition: background var(--transition), color var(--transition);
}
.dropdown__link:hover { background: var(--gray); color: var(--forest); }
.dropdown__link-icon {
  width: 28px; height: 28px;
  background: var(--emerald-lt);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  font-size: .85rem;
  flex-shrink: 0;
}

/* HEADER ACTIONS */
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__search {
  display: flex;
  align-items: center;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 8px 14px;
  gap: 8px;
  transition: border-color var(--transition);
}
.header__search:focus-within { border-color: var(--emerald); }
.header__search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: .88rem;
  width: 180px;
  color: var(--text);
}
.header__search svg { width: 16px; height: 16px; color: var(--slate-lt); flex-shrink: 0; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--forest);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 600;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
}
.cart-btn:hover { background: var(--emerald); }
.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  width: 18px; height: 18px;
  background: var(--brown);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background: var(--gray);
  border-bottom: 1px solid var(--gray-mid);
  padding: 10px 0;
  font-size: .83rem;
}
.breadcrumb__list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb__list li { display: flex; align-items: center; gap: 6px; }
.breadcrumb__list a { color: var(--slate-lt); transition: color var(--transition); }
.breadcrumb__list a:hover { color: var(--forest); }
.breadcrumb__list span { color: var(--slate); font-weight: 500; }
.breadcrumb__sep { color: var(--gray-dark); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--forest);
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 1.1rem;
  color: var(--slate-lt);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--gray-mid); }
.hero__stat-val { font-size: 1.8rem; font-weight: 800; color: var(--forest); font-family: 'Playfair Display', serif; }
.hero__stat-label { font-size: .82rem; color: var(--slate-lt); margin-top: 2px; }
.hero__visual { position: relative; }
.hero__img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ========== CATEGORY GRID ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  display: block;
}
.cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--emerald);
}
.cat-card__icon {
  width: 64px; height: 64px;
  background: var(--emerald-lt);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--forest);
  transition: background var(--transition);
}
.cat-card:hover .cat-card__icon { background: var(--forest); color: var(--white); }
.cat-card__title { font-weight: 700; color: var(--slate); font-size: .98rem; margin-bottom: 6px; }
.cat-card__count { font-size: .8rem; color: var(--slate-lt); }

/* ========== PRODUCT CARDS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-card__img-wrap {
  position: relative;
  background: var(--gray);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--forest);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.product-card__tag--sale { background: var(--brown); }
.product-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card__brand { font-size: .75rem; color: var(--slate-lt); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.product-card__title { font-size: .98rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; line-height: 1.4; }
.product-card__specs { font-size: .8rem; color: var(--slate-lt); margin-bottom: 14px; line-height: 1.6; flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-card__price { font-size: 1.2rem; font-weight: 800; color: var(--forest); }
.product-card__price-old { font-size: .82rem; color: var(--slate-lt); text-decoration: line-through; margin-top: 2px; }
.product-card__actions { display: flex; gap: 8px; }
.product-card__btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  font-size: .9rem;
}
.product-card__btn--primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.product-card__btn--primary:hover { background: var(--emerald); border-color: var(--emerald); }
.product-card__btn:hover { background: var(--gray); border-color: var(--gray-dark); }

/* ========== RATING ========== */
.rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.rating-count { font-size: .78rem; color: var(--slate-lt); }

/* ========== SIDEBAR LAYOUT ========== */
.sidebar-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-block {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-block__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-mid);
}
.sidebar-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: .86rem;
  color: var(--slate);
  cursor: pointer;
  border-radius: 6px;
  transition: color var(--transition);
}
.sidebar-filter-item:hover { color: var(--forest); }
.sidebar-filter-item input[type="checkbox"] { accent-color: var(--forest); width: 15px; height: 15px; }
.sidebar-filter-count { font-size: .75rem; color: var(--slate-lt); }
.price-range { display: flex; gap: 10px; margin-top: 10px; }
.price-range input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--gray-mid);
  border-radius: 7px;
  font-size: .83rem;
  outline: none;
  transition: border-color var(--transition);
}
.price-range input:focus { border-color: var(--emerald); }

/* ========== SPEC TABLE ========== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 24px 0;
}
.spec-table tr:nth-child(even) td { background: var(--gray); }
.spec-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-mid);
  vertical-align: top;
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--slate);
  width: 40%;
  white-space: nowrap;
}
.spec-table td:last-child { color: var(--slate-lt); }

/* ========== COMPARE TABLE ========== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .88rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th {
  background: var(--forest);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: .88rem;
}
.compare-table th:first-child { width: 28%; background: var(--slate); }
.compare-table td { padding: 11px 18px; border-bottom: 1px solid var(--gray-mid); vertical-align: middle; }
.compare-table tr:nth-child(even) td { background: var(--gray); }
.compare-table tr:hover td { background: var(--emerald-lt); }
.compare-table td:first-child { font-weight: 600; color: var(--slate); }
.compare-check { color: var(--emerald); font-size: 1rem; }
.compare-x { color: #ef4444; font-size: 1rem; }

/* ========== PRICE HISTORY ========== */
.price-chart-wrap {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}
.price-chart-title { font-weight: 700; font-size: 1rem; margin-bottom: 16px; color: var(--slate); }

/* ========== TABS ========== */
.tabs { border-bottom: 2px solid var(--gray-mid); margin-bottom: 32px; }
.tabs__list { display: flex; gap: 0; overflow-x: auto; }
.tab-btn {
  padding: 12px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate-lt);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--forest); border-bottom-color: var(--forest); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.badge--green { background: var(--emerald-lt); color: var(--forest); }
.badge--brown { background: #fef3c7; color: var(--brown); }
.badge--slate { background: var(--gray); color: var(--slate); }

/* ========== INFO CARDS ========== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card__icon {
  width: 52px; height: 52px;
  background: var(--emerald-lt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.info-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--slate); }
.info-card__text { font-size: .88rem; color: var(--slate-lt); line-height: 1.65; }

/* ========== FEATURE STRIP ========== */
.feature-strip {
  background: var(--forest);
  color: var(--white);
  padding: 32px 0;
}
.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.feature-strip__item {}
.feature-strip__icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-strip__label { font-weight: 700; font-size: .95rem; }
.feature-strip__sub { font-size: .8rem; color: rgba(255,255,255,.72); margin-top: 4px; }

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-mid);
}
.testimonial-card__text {
  font-style: italic;
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.testimonial-card__text::before { content: '\201E'; font-size: 1.5rem; color: var(--emerald); line-height: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--emerald-lt);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--forest);
  font-size: .9rem;
}
.testimonial-card__name { font-weight: 700; font-size: .9rem; color: var(--slate); }
.testimonial-card__loc { font-size: .78rem; color: var(--slate-lt); }

/* ========== BLOG CARDS ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__body { padding: 20px; }
.blog-card__cat {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--emerald); margin-bottom: 8px;
}
.blog-card__title { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; line-height: 1.45; }
.blog-card__desc { font-size: .84rem; color: var(--slate-lt); line-height: 1.6; margin-bottom: 16px; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--slate-lt); }
.blog-card__meta-dot { width: 3px; height: 3px; background: var(--gray-dark); border-radius: 50%; }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--slate);
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray); }
.faq-question svg {
  width: 18px; height: 18px;
  color: var(--slate-lt);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-item.open .faq-question { background: var(--gray); color: var(--forest); }
.faq-answer {
  padding: 0 20px;
  font-size: .88rem;
  color: var(--slate-lt);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
}
.faq-item.open .faq-answer { padding: 14px 20px 18px; max-height: 500px; }

/* ========== NEWSLETTER ========== */
.newsletter {
  background: linear-gradient(135deg, var(--forest) 0%, #14532d 100%);
  padding: 72px 0;
  color: var(--white);
  text-align: center;
}
.newsletter__title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.newsletter__desc { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 32px; }
.newsletter__form { display: flex; max-width: 480px; margin: 0 auto; gap: 0; }
.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: .95rem;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text);
}
.newsletter__btn {
  padding: 14px 28px;
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter__btn:hover { background: #047857; }

/* ========== CONTACT FORM ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 7px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(5,150,105,.12); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-success {
  display: none;
  background: var(--emerald-lt);
  border: 1px solid var(--emerald);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--forest);
  font-size: .9rem;
  font-weight: 600;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* ========== FOOTER ========== */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand .logo__text { color: var(--white); }
.footer__desc { font-size: .85rem; line-height: 1.7; margin-top: 12px; color: rgba(255,255,255,.65); }
.footer__col-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--emerald); }
.footer__contact-item { display: flex; gap: 10px; font-size: .85rem; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.footer__contact-icon { color: var(--emerald); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom-links { display: flex; gap: 16px; }
.footer__bottom-links a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__bottom-links a:hover { color: var(--emerald); }

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  padding: 52px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.page-hero__title { font-family: 'Playfair Display', serif; color: var(--forest); margin-bottom: 10px; }
.page-hero__desc { font-size: 1.05rem; color: var(--slate-lt); }

/* ========== SORT / FILTER BAR ========== */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.sort-bar select {
  padding: 8px 14px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-size: .86rem;
  outline: none;
  color: var(--slate);
  cursor: pointer;
}
.sort-bar__count { font-size: .86rem; color: var(--slate-lt); }
.view-toggle { display: flex; gap: 6px; }
.view-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--slate-lt);
  transition: var(--transition);
  font-size: .85rem;
}
.view-btn.active, .view-btn:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ========== PRODUCT DETAIL ========== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery__main {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid var(--gray-mid);
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--gray);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--emerald); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__price { font-size: 2rem; font-weight: 800; color: var(--forest); margin: 16px 0 6px; }
.product-info__price-old { font-size: 1.1rem; color: var(--slate-lt); text-decoration: line-through; }
.product-info__stock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--forest); margin-bottom: 20px; }
.product-info__stock::before { content: ''; width: 8px; height: 8px; background: var(--emerald); border-radius: 50%; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--gray-mid); border-radius: 9px; overflow: hidden; width: fit-content; margin-bottom: 20px; }
.qty-btn { width: 40px; height: 42px; border: none; background: var(--gray); font-size: 1.1rem; cursor: pointer; color: var(--slate); transition: background var(--transition); }
.qty-btn:hover { background: var(--emerald-lt); color: var(--forest); }
.qty-val { width: 52px; height: 42px; text-align: center; border: none; border-left: 1px solid var(--gray-mid); border-right: 1px solid var(--gray-mid); font-size: .95rem; font-weight: 600; outline: none; }

/* ========== SECTION DIVIDER ========== */
.divider { border: none; border-top: 1px solid var(--gray-mid); margin: 40px 0; }

/* ========== POLICY PAGE ========== */
.policy-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px 80px; }
.policy-wrap h1 { font-family: 'Playfair Display', serif; color: var(--forest); font-size: 2rem; margin-bottom: 8px; }
.policy-wrap h2 { font-size: 1.25rem; color: var(--slate); margin: 36px 0 12px; }
.policy-wrap h3 { font-size: 1.05rem; color: var(--slate); margin: 24px 0 8px; }
.policy-wrap p, .policy-wrap li { font-size: .95rem; color: var(--slate); line-height: 1.8; }
.policy-wrap ul, .policy-wrap ol { padding-left: 24px; margin-bottom: 16px; }
.policy-wrap ul li { list-style: disc; margin-bottom: 6px; }
.policy-wrap ol li { list-style: decimal; margin-bottom: 6px; }
.policy-updated { font-size: .83rem; color: var(--slate-lt); margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-mid); }
.policy-toc { background: var(--gray); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; }
.policy-toc h4 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; color: var(--slate); }
.policy-toc ol { margin: 0; padding-left: 20px; }
.policy-toc li { font-size: .85rem; margin-bottom: 5px; }
.policy-toc a { color: var(--emerald); }
.policy-toc a:hover { color: var(--forest); text-decoration: underline; }

/* ========== CART MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1100;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
}
.modal-overlay.open { display: flex; }
.cart-drawer {
  width: 420px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.cart-drawer__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--slate);
  transition: background var(--transition);
}
.cart-drawer__close:hover { background: var(--gray); }
.cart-drawer__body { flex: 1; padding: 20px 24px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-mid); }
.cart-item__img { width: 72px; height: 72px; border-radius: 9px; object-fit: cover; background: var(--gray); flex-shrink: 0; }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: .88rem; font-weight: 600; color: var(--slate); margin-bottom: 4px; }
.cart-item__price { font-size: .9rem; font-weight: 700; color: var(--forest); }
.cart-drawer__footer { padding: 20px 24px; border-top: 1px solid var(--gray-mid); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; color: var(--slate); }

/* ========== TOAST ========== */
#toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--forest);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
#toast.show { opacity: 1; transform: translateY(0); }

/* ========== PAGINATION ========== */
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.page-btn--wide { width: auto; padding: 0 14px; gap: 6px; }

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__img { max-height: 340px; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav, .header__search { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 950;
    padding: 80px 24px 24px;
    overflow-y: auto;
    align-items: flex-start;
    gap: 8px;
  }
  .nav__link { font-size: 1.1rem; width: 100%; }
  .dropdown { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; background: var(--gray); margin-top: 4px; }
  .mobile-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid--4 { grid-template-columns: 1fr 1fr; }
  .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
  .compare-table { font-size: .78rem; }
  .compare-table td, .compare-table th { padding: 9px 10px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__input { border-radius: var(--radius); }
  .newsletter__btn { border-radius: var(--radius); }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}


/* SVG icon sizing */
footer svg, nav svg, .social-links svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; flex-shrink:0; }
