/* =============================================
   CozyHaven — Global Stylesheet
   ============================================= */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #1A2E2A;
  --primary-light: #2C4A43;
  --accent:        #C8956C;
  --accent-dark:   #B07850;
  --bg:            #F9F6F2;
  --bg-alt:        #F0EBE3;
  --white:         #FFFFFF;
  --border:        #E0D9D0;
  --text:          #1A1A1A;
  --text-muted:    #6B6354;
  --text-light:    #9C8E80;
  --success:       #3D7A5C;
  --error:         #C0392B;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    .25s ease;
  --container:     1280px;
  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p  { font-size: .95rem; max-width: 520px; margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: .82rem;
  letter-spacing: .04em;
  font-weight: 500;
}
.announcement-bar a { color: var(--accent); text-decoration: underline; margin-left: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.header-logo svg { width: 28px; height: 28px; color: var(--accent); }
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-nav a {
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.header-nav a:hover, .header-nav a.active {
  color: var(--primary);
  background: var(--bg-alt);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 500;
  transition: background var(--transition);
}
.cart-btn:hover { background: var(--primary-light); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  border-radius: 50%;
  position: absolute;
  top: -6px; right: -6px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-full { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 50px;
}
.badge-sale    { background: #E74C3C; color: #fff; }
.badge-new     { background: var(--accent); color: #fff; }
.badge-best    { background: var(--primary); color: #fff; }
.badge-eco     { background: #3D7A5C; color: #fff; }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: var(--white);
  padding: 80px 0;
}
.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 36px; }
.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
}
.hero-badge-item svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ---------- Category Cards ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--bg-alt);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,42,.7) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.category-card-overlay h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.category-card-overlay span {
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  font-weight: 500;
}

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
}
.product-card-actions {
  position: absolute;
  bottom: 12px; right: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; }
.quick-add-btn {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.quick-add-btn:hover { background: var(--primary); color: var(--white); }
.product-card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.product-card-name a:hover { color: var(--accent); }
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stars { color: #F5A623; font-size: .85rem; letter-spacing: 1px; }
.review-count { font-size: .75rem; color: var(--text-light); }
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.price-current { font-size: 1rem; font-weight: 700; color: var(--primary); }
.price-original { font-size: .85rem; color: var(--text-light); text-decoration: line-through; }
.price-save { font-size: .75rem; color: var(--error); font-weight: 600; }

/* ---------- Product Detail Page ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-light); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 32px 0 64px;
}
.product-images { position: sticky; top: 80px; }
.product-main-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-alt);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-main-image:hover img { transform: scale(1.04); }
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.product-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-alt);
  transition: border-color var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding-top: 8px; }
.product-info-brand { font-size: .78rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.product-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.product-price-row .price-current { font-size: 1.8rem; font-weight: 700; }
.product-price-row .price-original { font-size: 1.1rem; }

.option-group { margin-bottom: 22px; }
.option-label { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.option-label span { font-weight: 400; color: var(--text-muted); }
.color-options, .size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.color-btn.active, .color-btn:hover { border-color: var(--primary); transform: scale(1.15); }
.size-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text);
}
.size-btn.active, .size-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition);
  background: none;
  border: none;
}
.qty-btn:hover { background: var(--bg-alt); }
.qty-input {
  width: 52px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 40px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}

.add-cart-btn {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  padding: 14px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.add-cart-btn:hover { background: var(--primary-light); }

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-alt);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-pill svg { width: 14px; height: 14px; color: var(--success); }

.product-desc h4 { font-size: .92rem; margin-bottom: 12px; color: var(--text); }
.product-desc ul { padding-left: 0; display: flex; flex-direction: column; gap: 6px; }
.product-desc ul li { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; color: var(--text-muted); }
.product-desc ul li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---------- Category Page ---------- */
.category-hero {
  position: relative;
  height: 320px;
  background: var(--primary);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.category-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.category-hero-content h1 { color: var(--white); margin-bottom: 10px; }
.category-hero-content p  { color: rgba(255,255,255,.75); font-size: 1rem; }

.category-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-tab.active, .filter-tab:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.sort-select {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
}

/* ---------- Cart Page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  align-items: center;
}
.cart-item-image {
  width: 100px; height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { font-size: 1rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.remove-btn { font-size: .78rem; color: var(--text-light); cursor: pointer; text-decoration: underline; }
.remove-btn:hover { color: var(--error); }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.cart-summary h3 { margin-bottom: 20px; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row.total { font-weight: 700; font-size: 1rem; color: var(--primary); padding-top: 16px; }
.summary-row .free { color: var(--success); font-weight: 600; }

.cart-empty {
  text-align: center;
  padding: 80px 0;
}
.cart-empty svg { width: 64px; height: 64px; color: var(--border); margin: 0 auto 20px; }
.cart-empty h2 { margin-bottom: 12px; font-size: 1.5rem; }

/* ---------- Checkout Page ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: start;
}
.checkout-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
}
.checkout-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-section h3 svg { width: 18px; height: 18px; color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group input::placeholder { color: var(--text-light); }
.card-icons { display: flex; gap: 8px; margin-bottom: 10px; }
.card-icon {
  width: 36px; height: 24px;
  background: var(--bg-alt);
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: var(--text-muted);
}
.secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--success);
  margin-top: 12px;
}
.secure-badge svg { width: 14px; height: 14px; }

.order-summary-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.order-summary-item img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.order-item-info { flex: 1; }
.order-item-info .name { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.order-item-info .variant { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.order-item-price { font-size: .9rem; font-weight: 700; color: var(--primary); flex-shrink: 0; }

/* ---------- Forms (Contact, Newsletter) ---------- */
.newsletter-section {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}
.newsletter-section h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-section p  { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: .9rem;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  border-right: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,.18); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 0 50px 50px 0;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--accent-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: #111810;
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 20px; }
.payment-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pay-icon {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}
.footer-col h5 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ---------- About / Legal Pages ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { font-size: .95rem; max-width: 520px; margin: 0 auto; }
.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.prose h2 { font-size: 1.4rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.prose p  { font-size: .9rem; margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { font-size: .9rem; color: var(--text-muted); margin-bottom: 6px; list-style: disc; }
.prose a  { color: var(--accent); text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: 64px 0 80px;
}
.contact-info h2 { font-size: 1.6rem; margin-bottom: 16px; }
.contact-info p  { margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-detail h5 { font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.contact-detail p  { font-size: .85rem; margin: 0; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  min-height: 130px;
  resize: vertical;
  font-family: inherit;
}
.contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form label { font-size: .82rem; font-weight: 600; color: var(--text); display: block; margin-bottom: 6px; }

/* ---------- Toast notification ---------- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- Stars ---------- */
.star-filled { color: #F5A623; }
.star-empty  { color: var(--border); }

/* ---------- About Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.value-card-icon {
  width: 60px; height: 60px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.value-card h4 { margin-bottom: 10px; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  text-align: center;
}
.stat-item {}
.stat-number { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label  { font-size: .82rem; color: var(--text-muted); margin-top: 8px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.gap-12 { gap: 12px; }
.flex   { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-detail-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .cart-layout     { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-images  { position: static; }
  .order-summary-box { position: static; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .hero       { min-height: 480px; }
  .hero-badges { display: none; }
  .section    { padding: 48px 0; }
  .form-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-body { padding: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item   { grid-template-columns: 72px 1fr; }
  .cart-item-price { grid-column: 1 / -1; }
  .trust-bar-inner { gap: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input  { border-radius: 50px; border-right: 1px solid rgba(255,255,255,.25); margin-bottom: 8px; }
  .newsletter-form button { border-radius: 50px; }
}
