/* ============================================================
   RACHAEL GROCERY STORE LTD — Global Stylesheet
   Design: Fresh, clean grocery store
   Fonts: Playfair Display (display) + Outfit (UI)
   ============================================================ */

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

/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg:           #0a0f0a;
  --surface:      #111811;
  --surface-2:    #192019;
  --border:       #253025;
  --border-dim:   #1e261e;
  --green:        #3aab3a;
  --green-lt:     #5dca5d;
  --green-dk:     #267326;
  --cream:        #f0f5f0;
  --cream-dim:    #a0b0a0;
  --muted:        #607060;
  --danger:       #d94f4f;
  --success:      #4caf82;
  --header-h:     70px;
  --radius:       4px;
  --radius-lg:    10px;
  --transition:   200ms ease;
  --shadow:       0 8px 40px rgba(0,0,0,0.6);
  --font-display: 'Playfair Display', serif;
  --font-ui:      'Outfit', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
ul { list-style: none; }
.no-scroll { overflow: hidden; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p  { line-height: 1.75; color: var(--cream-dim); }

/* ── Utility ──────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,171,58,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}
.btn--icon {
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-dim);
  transition: all var(--transition);
}
.btn--icon:hover { border-color: var(--green); color: var(--green); }
.btn--full { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.72rem; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }
.btn-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--transition);
  cursor: pointer;
  background: none; border: none;
}
.btn-text:hover { color: var(--danger); }

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Header ───────────────────────────────────────────────── */
.top-bar + .header,
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(10,15,10,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
.header.scrolled {
  background: rgba(10,15,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.header.hidden { transform: translateY(-100%); }

body:has(.top-bar) .header { top: 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 28px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.logo img, .logo__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo span { color: var(--green); }

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav__link:hover,
.nav__link.active { color: var(--green); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

/* Header Action Icons */
.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  color: var(--cream-dim);
  transition: color var(--transition);
  position: relative;
  background: none; border: none; cursor: pointer;
}
.header__btn:hover { color: var(--green); }
.header__btn svg { width: 20px; height: 20px; }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  background: var(--green);
  color: #fff;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease;
}
.cart-badge.bump { animation: cartBump 0.3s ease; }
@keyframes cartBump {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.45); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none; border: none; padding: 6px;
}
.hamburger__line {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(10,15,10,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 899;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu .nav__link {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dim);
  font-size: 0.82rem;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 898;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay__inner {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.search-input-wrap svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--cream);
}
#search-input::placeholder { color: var(--muted); }
#search-close {
  background: none; border: none;
  color: var(--muted); font-size: 1.1rem; cursor: pointer;
  transition: color var(--transition);
}
#search-close:hover { color: var(--cream); }
.search-result-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px;
  border-radius: var(--radius);
  transition: background var(--transition);
  cursor: pointer;
}
.search-result-item:hover { background: var(--surface); }
.search-result-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); }
.search-result-name { display: block; font-size: 0.88rem; font-weight: 500; color: var(--cream); margin-bottom: 2px; }
.search-result-price { font-size: 0.8rem; color: var(--green); }
.search-empty { color: var(--muted); font-size: 0.88rem; padding: 12px; }

/* ── Main content offset ──────────────────────────────────── */
body:has(.top-bar) main { padding-top: 0; }
main { padding-top: var(--header-h); }

/* ── Section helpers ──────────────────────────────────────── */
.section     { padding: 80px 0; }
.section--sm { padding: 48px 0; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--cream-dim); max-width: 500px; margin: 0 auto 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.divider {
  width: 40px; height: 1px;
  background: var(--green);
  margin: 16px auto 0;
}

/* ── Hero Slider ──────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 520px;
  overflow: hidden;
}
.hero__slides {
  position: relative;
  height: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__slide.active { opacity: 1; z-index: 1; }
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero__slide.active .hero__slide-bg { transform: scale(1); }
.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,10,0.88) 0%, rgba(10,15,10,0.4) 60%, rgba(10,15,10,0.1) 100%);
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10% 80px 8%;
  max-width: 700px;
  animation: heroFadeIn 0.8s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-lt);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 24px;
}
.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(240,245,240,0.8);
  margin-bottom: 40px;
  max-width: 420px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero nav arrows */
.hero__prev,
.hero__next {
  position: absolute;
  top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(10,15,10,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(58,171,58,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition);
}
.hero__prev { left: 28px; }
.hero__next { right: 28px; }
.hero__prev:hover,
.hero__next:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Hero dots */
.hero__dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 10px;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(240,245,240,0.35);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.hero__dot.active {
  background: var(--green);
  width: 24px; border-radius: 4px;
}

/* ── Page Banner (inner pages) ────────────────────────────── */
.page-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 40px;
  margin-top: 0;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.page-banner p { color: var(--cream-dim); font-size: 0.9rem; }

/* ── Category Strip ───────────────────────────────────────── */
.categories-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.category-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card__bg { transform: scale(1.06); }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,10,0.88) 0%, rgba(10,15,10,0.2) 60%);
  transition: background 0.3s ease;
}
.category-card:hover .category-card__overlay {
  background: linear-gradient(to top, rgba(10,15,10,0.92) 0%, rgba(10,15,10,0.35) 60%);
}
.category-card__content {
  position: absolute;
  inset: 0; z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
  gap: 12px;
}
.category-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

/* ── Products Grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.product-card:hover {
  border-color: rgba(58,171,58,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

/* Product image area */
.product-card__image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: absolute;
  inset: 0;
}
.product-card__img--hover {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.product-card:hover .product-card__img:not(.product-card__img--hover) { transform: scale(1.05); }
.product-card:hover .product-card__img--hover { opacity: 1; transform: scale(1.05); }

/* Badges */
.product-card__badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; z-index: 2;
}
.product-card__badge {
  padding: 3px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.product-card__badge--new        { background: var(--success);  color: #fff; }
.product-card__badge--sale       { background: var(--danger);   color: #fff; }
.product-card__badge--bestseller { background: var(--green);    color: #fff; }
.product-card__discount {
  padding: 3px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--danger);
  color: #fff;
}

/* Quick view overlay */
.product-card__overlay {
  position: absolute;
  inset: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card__overlay { opacity: 1; }
.btn-quick-view {
  padding: 10px 22px;
  background: rgba(10,15,10,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(58,171,58,0.5);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-lt);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-quick-view:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Product body */
.product-card__body { padding: 18px; }
.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.product-card__category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 5px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 8px;
}
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--green); }
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}
.star        { color: var(--border); }
.star.filled { color: var(--green); }
.star.half   { color: var(--green); opacity: 0.55; }

/* Wishlist btn on card */
.wishlist-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none; cursor: pointer;
  color: var(--cream-dim);
  transition: all var(--transition);
}
.wishlist-btn svg { width: 16px; height: 16px; }
.wishlist-btn:hover { border-color: var(--danger); color: var(--danger); }
.wishlist-btn.active { background: var(--danger); border-color: var(--danger); color: #fff; }

/* Price + add to cart row */
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__price { display: flex; align-items: baseline; gap: 8px; }
.price-current {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
}
.price-original {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-badge {
  font-size: 0.7rem;
  background: var(--danger);
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
  font-weight: 700;
}
.btn-add-cart {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-add-cart svg { width: 17px; height: 17px; }
.btn-add-cart:hover { background: var(--green-lt); transform: scale(1.1); }
.btn-add-cart.added { background: var(--success); color: #fff; }

/* ── Brand Stats ──────────────────────────────────────────── */
.brand-stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  display: flex;
  justify-content: center;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 56px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}
.testimonial:hover { border-color: rgba(58,171,58,0.3); }
.testimonial__header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial__header strong { display: block; font-size: 0.9rem; color: var(--cream); }
.testimonial__header p { font-size: 0.75rem; color: var(--muted); }
.testimonial__stars { margin-left: auto; color: var(--green); font-size: 0.8rem; letter-spacing: 1px; }
.testimonial__text { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.8; }

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { color: var(--cream-dim); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--green); }
.newsletter-form input::placeholder { color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  margin-top: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand .logo { font-size: 1.35rem; display: flex; margin-bottom: 14px; }
.footer__brand p { font-size: 0.83rem; color: var(--cream-dim); line-height: 1.8; max-width: 260px; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-dim);
  font-size: 0.72rem;
  font-weight: 700;
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--green); color: var(--green); }
.footer__col h5 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.83rem;
  color: var(--cream-dim);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--green); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p { font-size: 0.76rem; color: var(--muted); }
.payment-icons { display: flex; gap: 8px; }
.payment-icon {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── Shop Page — Sidebar ──────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}
.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-dim);
}
.filter-group:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-group h4 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.filter-btns { display: flex; flex-direction: column; gap: 4px; }
.filter-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--cream-dim);
  background: none; border: 1px solid transparent;
  cursor: pointer; width: 100%;
  text-align: left;
  transition: all var(--transition);
  text-decoration: none;
}
.filter-btn:hover { color: var(--cream); background: var(--surface-2); border-color: var(--border-dim); }
.filter-btn.active { color: var(--green); background: rgba(58,171,58,0.07); border-color: rgba(58,171,58,0.2); }
.price-range-wrap { display: flex; flex-direction: column; gap: 10px; }
#price-range {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
}
#price-display { font-size: 0.8rem; color: var(--cream-dim); }

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
#product-count { font-size: 0.82rem; color: var(--cream-dim); }
#sort-select {
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 0.82rem;
  outline: none; cursor: pointer;
  transition: border-color var(--transition);
}
#sort-select:focus { border-color: var(--green); }
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.no-products span { display: block; font-size: 2.5rem; margin-bottom: 12px; }

/* ── Product Detail Page (PDP) ────────────────────────────── */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-top: 32px;
}
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.pdp__main-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
}
.pdp__main-img { width: 100%; height: 100%; object-fit: cover; }
.pdp__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--danger); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 2px;
}
.pdp__thumbnails { display: flex; gap: 10px; }
.pdp__thumb {
  width: 72px; height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.pdp__thumb.active { border-color: var(--green); }

.pdp__info {}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--muted);
  margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--border); }
.pdp__name { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 14px; }
.pdp__rating { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.pdp__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.pdp__desc { font-size: 0.9rem; color: var(--cream-dim); line-height: 1.85; margin-bottom: 28px; }
.pdp__options { margin-bottom: 24px; }
.pdp__label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-dim); margin-bottom: 10px;
}
.pdp__label strong { color: var(--cream); }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem; color: var(--cream-dim);
  background: none; cursor: pointer;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--green); color: var(--green); }
.size-btn.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem; color: var(--cream-dim);
  background: none; cursor: pointer;
  transition: all var(--transition);
}
.color-btn:hover { border-color: var(--green); color: var(--green); }
.color-btn.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; width: fit-content;
}
.qty-btn {
  width: 40px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--cream-dim);
  background: var(--surface); border: none; cursor: pointer;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--green); color: #fff; }
#qty-display {
  width: 48px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--cream);
}
.pdp__actions {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 32px;
}
.pdp__actions .btn--primary { flex: 1; }
.pdp__features {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.pdp__features h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; color: var(--cream-dim); font-family: var(--font-ui); font-weight: 600; }
.pdp__features ul { display: flex; flex-direction: column; gap: 8px; }
.pdp__features li { font-size: 0.85rem; color: var(--cream-dim); }
.pdp__meta {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.78rem; color: var(--muted);
  padding-top: 16px; border-top: 1px solid var(--border);
}
.pdp__meta a { color: var(--green); }
.pdp__meta a:hover { text-decoration: underline; }

/* ── Cart Page ────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.cart-header h2 { font-size: 1.5rem; }
.cart-header h2 span { color: var(--muted); font-size: 1rem; margin-left: 8px; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: border-color var(--transition);
}
.cart-item:hover { border-color: rgba(58,171,58,0.3); }
.cart-item__img {
  width: 100px; height: 100px;
  border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2); flex-shrink: 0;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; justify-content: space-between; }
.cart-item__info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: var(--cream); margin-bottom: 4px;
}
.cart-item__info h4 a:hover { color: var(--green); }
.cart-item__meta { font-size: 0.76rem; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.cart-item__bottom { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cart-qty-minus, .cart-qty-plus {
  width: 30px; height: 30px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem; color: var(--cream-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.cart-qty-minus:hover, .cart-qty-plus:hover { background: var(--green); color: #fff; border-color: var(--green); }
.cart-item__bottom > span { font-size: 0.88rem; font-weight: 600; color: var(--cream); min-width: 24px; text-align: center; }
.cart-item__price {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: var(--cream); margin-left: auto;
}
.cart-item__remove { font-size: 0.72rem; color: var(--muted); cursor: pointer; background: none; border: none; transition: color var(--transition); }
.cart-item__remove:hover { color: var(--danger); }

/* Cart summary */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cart-summary h3 {
  font-size: 1.3rem; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.summary-lines { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.summary-line {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--cream-dim);
}
.summary-line em { font-style: normal; color: var(--success); }
.free-shipping-bar {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  font-size: 0.78rem; color: var(--cream-dim);
}
.free-shipping-bar.achieved { color: var(--success); border-color: rgba(76,175,130,0.3); background: rgba(76,175,130,0.05); }
.progress-bar {
  height: 4px; background: var(--border);
  border-radius: 2px; margin-top: 8px; overflow: hidden;
}
.progress-bar > div { height: 100%; background: var(--green); border-radius: 2px; transition: width 0.3s ease; }
.summary-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.summary-total > span:first-child { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); }
.summary-total > span:last-child { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--cream); }
.cart-trust {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border-dim);
  font-size: 0.74rem; color: var(--muted);
}

/* Empty states */
.cart-empty {
  text-align: center; padding: 80px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cart-empty__icon { font-size: 3.5rem; margin-bottom: 20px; display: block; opacity: 0.35; }
.cart-empty h2 { margin-bottom: 12px; font-size: 1.6rem; }
.cart-empty p { color: var(--cream-dim); margin-bottom: 28px; }

/* ── Checkout Page ────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
.checkout-steps {
  display: flex; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}
.checkout-tab {
  flex: 1; padding: 14px 12px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.checkout-tab:last-child { border-right: none; }
.checkout-tab.active { color: var(--green); background: rgba(58,171,58,0.06); }
.checkout-tab.completed { color: var(--success); }
.tab-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; flex-shrink: 0;
}
.checkout-tab.active .tab-num { background: var(--green); color: #fff; }
.checkout-tab.completed .tab-num { background: var(--success); color: #fff; }

.checkout-panel { display: none; }
.checkout-panel.active { display: block; animation: fadeIn 0.3s ease; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim);
}
.form-group input,
.form-group select {
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream); font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus { border-color: var(--green); }
.form-group input::placeholder { color: var(--muted); }
.form-group select option { background: var(--surface-2); }
.panel-actions { display: flex; gap: 12px; margin-top: 24px; }

.payment-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin-bottom: 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition);
  font-size: 0.88rem;
}
.payment-method:hover { border-color: rgba(58,171,58,0.3); }
.payment-method.selected { border-color: var(--green); background: rgba(58,171,58,0.05); }
.payment-method span:first-child { font-size: 1.4rem; }
.payment-method div strong { display: block; color: var(--cream); margin-bottom: 2px; }
.payment-method div small { font-size: 0.74rem; color: var(--muted); }
.payment-method svg { margin-left: auto; color: var(--green); }

/* Order items */
.order-item {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border-dim);
}
.order-item:last-child { border-bottom: none; }
.order-item img { width: 52px; height: 52px; border-radius: var(--radius); object-fit: cover; background: var(--surface-2); }
.order-item > div { flex: 1; }
.order-item > div p { font-size: 0.85rem; color: var(--cream); margin-bottom: 2px; }
.order-item > div small { font-size: 0.74rem; color: var(--muted); display: block; }
.order-item > span { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--cream); white-space: nowrap; }

/* Checkout summary sidebar */
.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-summary h3 { font-size: 1.2rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
#order-items { max-height: 280px; overflow-y: auto; margin-bottom: 20px; }
.co-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.co-line { display: flex; justify-content: space-between; font-size: 0.83rem; color: var(--cream-dim); }
.co-value { color: var(--cream); font-weight: 500; }
.co-total-line {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 700; color: var(--cream);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Order success */
.order-success { text-align: center; padding: 48px 24px; }
.order-success__icon {
  font-size: 2.5rem; color: var(--green);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(58,171,58,0.1);
  border: 1px solid rgba(58,171,58,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: successPop 0.5s ease both;
}
@keyframes successPop { 0%{transform:scale(0)} 70%{transform:scale(1.15)} 100%{transform:scale(1)} }
.order-success h2 { margin-bottom: 12px; }
.order-success p { color: var(--cream-dim); margin-bottom: 8px; font-size: 0.9rem; }
.order-success .btn { margin-top: 32px; }

/* ── About Page ───────────────────────────────────────────── */
.about-hero {
  min-height: 440px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.about-content {
  max-width: 600px;
  padding: 80px 0;
}
.about-content h1 { margin-bottom: 20px; }
.about-content p { color: rgba(240,245,240,0.8); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }

/* Contact info block */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition);
}
.contact-card:hover { border-color: rgba(58,171,58,0.4); }
.contact-card__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(58,171,58,0.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; font-family: var(--font-ui); }
.contact-card p { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.6; margin: 0; }
.contact-card a { color: var(--cream); transition: color var(--transition); }
.contact-card a:hover { color: var(--green); }

/* ── Quick View Modal ─────────────────────────────────────── */
.modal { display: none; position: fixed; inset: 0; z-index: 1100; }
.modal.active { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); }
.modal__panel {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 900px);
  max-height: 90vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-y: auto;
}
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 50%; cursor: pointer;
  font-size: 0.9rem; color: var(--cream-dim);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal__close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.modal__content { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.modal__gallery { padding: 28px; }
.modal__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 12px; }
.modal__thumbs { display: flex; gap: 8px; }
.modal__thumb {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  cursor: pointer; transition: border-color var(--transition);
}
.modal__thumb.active { border-color: var(--green); }
.modal__info { padding: 28px 28px 28px 0; }
.modal__category { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.modal__name { font-size: 1.5rem; margin-bottom: 10px; }
.modal__rating { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.modal__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.modal__desc { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.8; margin-bottom: 20px; }
.modal__sizes, .modal__colors { margin-bottom: 16px; }
.modal__sizes label, .modal__colors label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 8px;
}
.modal__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ── Toast ────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: calc(var(--header-h) + 14px); right: 20px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 13px 16px;
  min-width: 260px; max-width: 340px;
  box-shadow: var(--shadow);
  transform: translateX(20px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast--show { transform: translateX(0); opacity: 1; }
.toast--success { border-left-color: var(--success); }
.toast--error   { border-left-color: var(--danger); }
.toast__icon { font-size: 1rem; flex-shrink: 0; color: var(--green); }
.toast--success .toast__icon { color: var(--success); }
.toast--error   .toast__icon { color: var(--danger); }
.toast span:last-child { font-size: 0.83rem; font-weight: 500; color: var(--cream); }

/* ── Back to Top ──────────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--cream-dim);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 800;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
#back-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#back-top:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ── PWA Install Button ───────────────────────────────────── */
#install-btn {
  display: none;
  position: fixed;
  bottom: 80px; right: 28px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--green);
  border-radius: var(--radius-lg);
  color: var(--green);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; z-index: 800;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
#install-btn:hover { background: var(--green); color: #fff; }

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.product-card { animation: fadeInUp 0.45s ease both; }
.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.10s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }
.product-card:nth-child(5) { animation-delay: 0.20s; }
.product-card:nth-child(6) { animation-delay: 0.25s; }
.product-card:nth-child(7) { animation-delay: 0.30s; }
.product-card:nth-child(8) { animation-delay: 0.35s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .pdp__gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .shop-layout { grid-template-columns: 210px 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .categories-strip { grid-template-columns: 1fr 1fr; }
  .brand-stats { flex-wrap: wrap; }
  .stat-item { padding: 16px 32px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .modal__content { grid-template-columns: 1fr; }
  .modal__info { padding: 0 28px 28px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero__title { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero__prev, .hero__next { width: 38px; height: 38px; font-size: 1.1rem; }
  .hero__prev { left: 14px; }
  .hero__next { right: 14px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; position: static; }
  .shop-sidebar.mobile-open { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .categories-strip { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .brand-stats { padding: 32px 0; }
}

/* ── Currency Switcher ────────────────────────────────────── */
.currency-selector {
  position: relative;
  z-index: 200;
}
.currency-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.currency-btn:hover {
  background: rgba(58,171,58,0.15);
  border-color: var(--green);
}
.curr-chevron {
  opacity: 0.7;
  transition: transform 0.2s;
}
.currency-btn[aria-expanded="true"] .curr-chevron {
  transform: rotate(180deg);
}
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 9999;
}
.currency-dropdown--open {
  display: flex;
}
.curr-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 9px 12px;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  font-size: 0.85rem;
}
.curr-opt:hover {
  background: rgba(58,171,58,0.12);
  color: var(--text-primary);
}
.curr-opt--active {
  background: rgba(58,171,58,0.18);
  color: var(--green);
  font-weight: 600;
}
.curr-opt-code {
  font-weight: 700;
  min-width: 36px;
}
.curr-opt-name {
  font-size: 0.78rem;
  opacity: 0.7;
}
.curr-disclaimer {
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 8px 12px 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Image Placeholders ───────────────────────────────────── */
/* Shown when a product image hasn't been uploaded yet.       */
/* Once Rachael adds her photo, it disappears automatically.  */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(58,171,58,0.08) 0%, rgba(58,171,58,0.03) 100%);
  border: 1.5px dashed rgba(58,171,58,0.3);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 2.4rem;
  text-align: center;
  width: 100%;
  aspect-ratio: 1;
}
.img-placeholder--overlay {
  display: none;  /* shown via JS onerror */
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  border-radius: var(--radius);
  font-size: 3rem;
}
.img-placeholder--card {
  aspect-ratio: 1;
  font-size: 3rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.img-placeholder--modal {
  aspect-ratio: 1;
  font-size: 5rem;
  border-radius: var(--radius-lg);
}
.img-placeholder--pdp {
  aspect-ratio: 1;
  font-size: 6rem;
  border-radius: var(--radius-lg);
  min-height: 280px;
}
.img-placeholder--thumb {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  font-size: 1.6rem;
  border-radius: var(--radius);
}
.img-placeholder__label {
  font-size: 0.65rem;
  opacity: 0.7;
  line-height: 1.5;
  margin-top: 4px;
  padding: 0 8px;
}
.img-placeholder__label code {
  display: block;
  font-family: monospace;
  font-size: 0.6rem;
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
  word-break: break-all;
}
/* Cart item image wrapper */
.cart-item__img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .header__inner { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card__body { padding: 12px; }
  .product-card__name { font-size: 0.95rem; }
  .checkout-steps { flex-wrap: wrap; }
  .checkout-tab { font-size: 0.65rem; padding: 10px 8px; }
}
