/* ===== Design Tokens ===== */
:root {
  --green-900: #1b4332;
  --green-700: #2d6a4f;
  --green-500: #40916c;
  --green-100: #d8f3dc;
  --blue-600: #3a7bd5;
  --blue-100: #e8f4fd;
  --yellow-cta: #f4a261;
  --yellow-hover: #e76f51;
  --warm-bg: #faf8f5;
  --white: #ffffff;
  --gray-50: #f7f7f7;
  --gray-100: #eeeeee;
  --gray-300: #cccccc;
  --gray-500: #888888;
  --gray-700: #444444;
  --gray-900: #1a1a2e;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--warm-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  min-height: 48px;
  min-width: 48px;
}

.btn-cta {
  background: var(--yellow-cta);
  color: var(--gray-900);
  box-shadow: 0 4px 14px rgba(244,162,97,.4);
}
.btn-cta:hover { background: var(--yellow-hover); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid var(--green-700);
  color: var(--green-700);
  background: transparent;
}
.btn-outline:hover { background: var(--green-700); color: var(--white); }

.btn-green {
  background: var(--green-700);
  color: var(--white);
}
.btn-green:hover { background: var(--green-900); }

.btn-sm { padding: 10px 20px; font-size: .9rem; min-height: 44px; }

.btn-white {
  background: var(--white);
  color: var(--green-700);
}
.btn-white:hover { background: var(--green-100); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-700);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--green-700);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.logo span { color: var(--gray-900); }

/* Desktop Nav */
.desktop-nav { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  min-height: 44px;
}

.nav-link:hover, .nav-item.open > .nav-link {
  color: var(--green-700);
  background: var(--green-100);
}

.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  pointer-events: none;
}

.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--gray-700);
  transition: all var(--transition);
}

.dropdown a:hover {
  background: var(--green-100);
  color: var(--green-700);
}

.dropdown-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  padding: 8px 14px 4px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--gray-700);
  transition: all var(--transition);
  position: relative;
}

.icon-btn:hover { background: var(--gray-100); color: var(--green-700); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: 6px; right: 6px;
  width: 18px; height: 18px;
  background: var(--yellow-cta);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 20px;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-section { margin-bottom: 24px; }

.mobile-nav-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
  min-height: 48px;
}

.mobile-nav-link:hover { color: var(--green-700); }

body.menu-open { overflow: hidden; }

/* ===== Hero ===== */
.hero {
  margin-top: var(--header-h);
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--blue-600) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1450778869180-41d060ede2ed?w=1600&h=900&fit=crop') center/cover no-repeat;
  opacity: .25;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.9);
  font-size: .9rem;
}

.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Sections ===== */
section { padding: 64px 0; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ===== Category Cards ===== */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  transition: transform var(--transition);
}

.category-card:hover { transform: translateY(-4px); }

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.category-card:hover img { transform: scale(1.05); }

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%);
}

.category-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--white);
}

.category-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-card-content p { font-size: .9rem; opacity: .85; margin-bottom: 12px; }

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--yellow-cta);
}

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
}

.product-scroll::-webkit-scrollbar { display: none; }
.product-scroll.dragging { cursor: grabbing; }

.product-scroll .product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-card-link { flex: 1; }

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-50);
}

.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--green-700);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.product-info { padding: 14px 14px 10px; }

.product-category {
  font-size: .75rem;
  color: var(--green-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.product-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-700);
}

.product-card .add-to-cart-btn {
  margin: 0 14px 14px;
  width: calc(100% - 28px);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 56px; height: 56px;
  background: var(--blue-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { color: var(--gray-500); font-size: .95rem; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700), var(--blue-600));
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: .9;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Shop Page ===== */
.page-hero {
  margin-top: var(--header-h);
  background: var(--green-100);
  padding: 40px 0;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 8px;
}

.page-hero p { color: var(--gray-700); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb span { color: var(--gray-300); }

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0 64px;
}

/* Filters */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }

.filter-group h3 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.filter-options { display: flex; flex-direction: column; gap: 4px; }

.filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--gray-700);
  transition: all var(--transition);
  text-align: left;
  width: 100%;
  min-height: 44px;
}

.filter-btn:hover { background: var(--gray-50); }
.filter-btn.active {
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 600;
}

.filter-btn .count {
  margin-left: auto;
  font-size: .8rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 50px;
}

.filter-btn.active .count {
  background: var(--green-700);
  color: var(--white);
}

/* Mobile filter bar */
.mobile-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-filters::-webkit-scrollbar { display: none; }

.mobile-filter-chip {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  background: var(--white);
  border: 2px solid var(--gray-100);
  color: var(--gray-700);
  min-height: 44px;
  transition: all var(--transition);
}

.mobile-filter-chip.active {
  border-color: var(--green-700);
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 600;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.result-count {
  font-size: .95rem;
  color: var(--gray-500);
}

.result-count strong { color: var(--gray-900); }

/* ===== Footer ===== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--yellow-cta); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .85rem;
}

.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-badge {
  background: rgba(255,255,255,.1);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: all .3s ease;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Empty State ===== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.empty-state p { margin-bottom: 20px; font-size: 1.1rem; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .desktop-nav { display: block; }
  .mobile-nav { display: none; }

  .product-grid { grid-template-columns: repeat(4, 1fr); }

  .shop-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }

  .filter-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
  .mobile-filters { display: none; }
}

@media (min-width: 1100px) {
  .hero { min-height: 90vh; }
}

/* ===== Product Detail Page (Phase 2) ===== */
.pdp-page {
  margin-top: var(--header-h);
  padding: 24px 0 100px;
}

.pdp-breadcrumb { margin-bottom: 24px; }

.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

/* Gallery */
.pdp-gallery { position: relative; }

.pdp-main-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.pdp-main-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.pdp-main-image:hover img { transform: scale(1.03); }

.zoom-btn {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.zoom-btn:hover { background: var(--white); transform: scale(1.05); }
.zoom-btn svg { width: 20px; height: 20px; color: var(--gray-700); }

.pdp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.pdp-thumbs::-webkit-scrollbar { display: none; }

.pdp-thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--transition);
  opacity: .7;
}

.pdp-thumb.active, .pdp-thumb:hover {
  border-color: var(--green-700);
  opacity: 1;
}

.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.pdp-badge {
  display: inline-block;
  background: var(--green-700);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.pdp-category {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.pdp-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pdp-stars, .review-stars { display: flex; gap: 2px; }
.star { color: var(--gray-300); font-size: 1.1rem; }
.star.filled, .star.half { color: var(--yellow-cta); }

.pdp-rating-text {
  font-size: .9rem;
  color: var(--gray-500);
}

.pdp-rating-text:hover { color: var(--green-700); cursor: pointer; }

/* Pricing */
.pdp-price-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.pdp-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.pdp-sale-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-700);
}

.pdp-original-price {
  font-size: 1.1rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.pdp-discount-badge {
  background: #fde8e8;
  color: #c0392b;
  font-size: .8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.pdp-subscription { font-size: .95rem; }

.sub-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.sub-toggle input { display: none; }

.sub-box {
  width: 22px; height: 22px;
  border: 2px solid var(--gray-300);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}

.sub-toggle input:checked + .sub-box {
  background: var(--green-700);
  border-color: var(--green-700);
}

.sub-toggle input:checked + .sub-box::after {
  content: '✓';
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
}

.pdp-description {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}

.pdp-features {
  list-style: none;
  margin-bottom: 24px;
}

.pdp-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: .95rem;
  color: var(--gray-700);
}

.pdp-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

/* Variants & Quantity */
.pdp-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.size-link {
  font-size: .8rem;
  color: var(--blue-600);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  text-decoration: underline;
}

.pdp-variants { margin-bottom: 20px; }

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-btn {
  padding: 10px 20px;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  min-height: 44px;
  transition: all var(--transition);
}

.variant-btn:hover { border-color: var(--green-500); }
.variant-btn.active {
  border-color: var(--green-700);
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 600;
}

.pdp-quantity { margin-bottom: 24px; }

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.qty-btn {
  width: 48px; height: 48px;
  font-size: 1.2rem;
  color: var(--gray-700);
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--gray-50); }

#qty-input {
  width: 56px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  -moz-appearance: textfield;
}

#qty-input::-webkit-outer-spin-button,
#qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Actions */
.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pdp-actions .btn {
  width: 100%;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-add-cart svg { width: 20px; height: 20px; }

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-700);
}

.trust-badge svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; }
.trust-badge.in-stock svg { color: var(--green-700); }
.trust-badge.in-stock { color: var(--green-700); font-weight: 600; }

/* Size Guide */
.pdp-size-guide {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.pdp-size-guide h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pdp-size-guide > p {
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: .95rem;
}

.size-table-wrap { overflow-x: auto; margin-bottom: 16px; }

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.size-table th, .size-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.size-table th {
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.size-table tr:hover td { background: var(--gray-50); }

.size-video-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-100);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--gray-700);
}

.size-video-tip svg { width: 24px; height: 24px; color: var(--blue-600); flex-shrink: 0; }
.size-video-tip a { color: var(--blue-600); font-weight: 600; }

/* Reviews */
.pdp-reviews { margin-bottom: 48px; }

.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.reviews-header h2 { font-size: 1.5rem; font-weight: 700; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-avg {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
}

.reviews-summary span:last-child {
  font-size: .85rem;
  color: var(--gray-500);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px; height: 40px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.review-date {
  display: block;
  font-size: .8rem;
  color: var(--gray-500);
}

.review-text {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-photo {
  width: 80px; height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

/* Related */
.pdp-related { margin-bottom: 32px; }
.pdp-related h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pdp-related .product-grid { grid-template-columns: repeat(2, 1fr); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  padding: 20px;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  transform: translateY(100%);
  transition: transform .3s ease;
}

.mobile-sticky-cta.visible { transform: translateY(0); }

.sticky-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-700);
  flex-shrink: 0;
}

.mobile-sticky-cta .btn { flex: 1; }

/* PDP Not Found */
.pdp-not-found {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pdp-not-found h1 { font-size: 1.8rem; margin-bottom: 12px; }
.pdp-not-found p { color: var(--gray-500); margin-bottom: 24px; }

/* PDP Responsive */
@media (min-width: 600px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-related .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-badges { flex-direction: row; flex-wrap: wrap; gap: 20px; }
}

/* ===== Cart Drawer (Phase 3) ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}

.cart-drawer.open { transform: translateX(0); }

body.cart-open { overflow: hidden; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.cart-drawer-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-drawer-count {
  font-size: .85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.cart-close {
  width: 48px; height: 48px;
  font-size: 1.6rem;
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.cart-close:hover { background: var(--gray-100); color: var(--gray-900); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--gray-500);
}

.cart-empty svg { width: 48px; height: 48px; margin: 0 auto 16px; opacity: .4; }
.cart-empty p { margin-bottom: 20px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}

.cart-item-img {
  width: 72px; height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-50);
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
  display: block;
  margin-bottom: 2px;
  line-height: 1.3;
}

.cart-item-variant, .cart-item-sub {
  display: block;
  font-size: .75rem;
  color: var(--gray-500);
}

.cart-item-sub { color: var(--green-500); font-weight: 600; }

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 32px; height: 32px;
  font-size: 1rem;
  color: var(--gray-700);
  transition: background var(--transition);
}

.cart-qty-btn:hover { background: var(--gray-50); }

.cart-qty span {
  width: 32px;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-700);
}

.cart-remove {
  position: absolute;
  top: 12px; right: 0;
  width: 28px; height: 28px;
  font-size: 1.2rem;
  color: var(--gray-300);
  transition: color var(--transition);
}

.cart-remove:hover { color: #c0392b; }

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.cart-shipping-hint {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 16px;
  text-align: center;
}

.cart-shipping-hint.needs-more {
  background: #fff8e6;
  color: #856404;
}

.cart-shipping-hint.qualified {
  background: var(--green-100);
  color: var(--green-700);
}

.cart-summary { margin-bottom: 16px; }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.cart-summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
  margin-top: 6px;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-actions .btn { width: 100%; }

/* ===== Checkout Page (Phase 3) ===== */
.checkout-page {
  margin-top: var(--header-h);
  padding: 24px 0 64px;
  min-height: 80vh;
}

.checkout-breadcrumb { margin-bottom: 24px; }

.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 0 10px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.progress-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.progress-step.active .progress-dot {
  background: var(--green-700);
  color: var(--white);
}

.progress-step.done .progress-dot {
  background: var(--green-100);
  color: var(--green-700);
}

.progress-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.progress-step.active .progress-label { color: var(--green-700); }
.progress-step.done .progress-label { color: var(--gray-700); }

.progress-line {
  width: 40px;
  height: 2px;
  background: var(--gray-100);
  margin: 0 4px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.progress-step.done + .progress-line,
.progress-step.active + .progress-line { background: var(--green-500); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.checkout-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-100);
  color: var(--blue-600);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.guest-badge svg { width: 18px; height: 18px; }

.checkout-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.checkout-subtitle {
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: .95rem;
}

.checkout-form { margin-top: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row.three-col { grid-template-columns: 1fr 1fr 1fr; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  min-height: 48px;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-500);
}

.form-group input.invalid { border-color: #c0392b; }

.btn-full { width: 100%; margin-top: 8px; }

.back-link {
  font-size: .9rem;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}

.back-link:hover { text-decoration: underline; }

/* Payment Options */
.payment-options { margin-bottom: 20px; }

.payment-option {
  display: block;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}

.payment-option input { display: none; }

.payment-option.active {
  border-color: var(--green-700);
  background: var(--green-100);
}

.payment-option-content { padding: 16px 20px; }

.payment-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.payment-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
}

.payment-badge-sm {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--green-700);
  color: var(--white);
  text-transform: uppercase;
}

.payment-badge-sm.afterpay {
  background: #000;
  color: #b2fce4;
}

.payment-cards {
  font-size: .75rem;
  color: var(--gray-500);
}

.payment-desc {
  font-size: .85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.card-form {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.payment-option.active .card-form { display: block; }

.checkout-trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray-500);
}

.checkout-trust-item svg { width: 16px; height: 16px; color: var(--green-500); }

/* Order Summary Sidebar */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.order-summary h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.summary-items { margin-bottom: 16px; }

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.summary-item-img {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-50);
}

.summary-item-img img { width: 100%; height: 100%; object-fit: cover; }

.summary-qty {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--gray-700);
  color: var(--white);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.summary-item-info { flex: 1; min-width: 0; }

.summary-item-name {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
}

.summary-item-variant {
  font-size: .75rem;
  color: var(--gray-500);
}

.summary-item-price {
  font-size: .9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.summary-shipping-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-100);
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: .85rem;
}

.summary-shipping-info svg { width: 24px; height: 24px; color: var(--blue-600); flex-shrink: 0; }
.summary-shipping-info strong { display: block; font-size: .8rem; }
.summary-shipping-info span { color: var(--gray-700); }

.summary-free-shipping {
  font-size: .85rem;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff8e6;
  color: #856404;
  margin-bottom: 16px;
  text-align: center;
}

.summary-free-shipping.qualified {
  background: var(--green-100);
  color: var(--green-700);
}

.summary-totals { border-top: 1px solid var(--gray-100); padding-top: 12px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
  margin-top: 6px;
}

/* Checkout Complete */
.checkout-complete {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 28px !important;
}

.complete-icon {
  width: 72px; height: 72px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.checkout-complete h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.complete-order-num {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.checkout-complete > p {
  color: var(--gray-500);
  margin-bottom: 24px;
}

.complete-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--blue-100);
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: .9rem;
}

.complete-delivery svg { width: 28px; height: 28px; color: var(--blue-600); }
.complete-delivery strong { display: block; }

.complete-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.checkout-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.checkout-empty h2 { margin-bottom: 8px; }
.checkout-empty p { color: var(--gray-500); margin-bottom: 24px; }

/* Checkout Responsive */
@media (max-width: 599px) {
  .form-row, .form-row.three-col { grid-template-columns: 1fr; }
  .progress-label { font-size: .65rem; }
  .progress-line { width: 20px; }
  .progress-dot { width: 30px; height: 30px; font-size: .75rem; }
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* ===== Content Pages (Phase 4) ===== */
.content-page {
  margin-top: var(--header-h);
  padding-bottom: 64px;
}

.content-body {
  padding: 40px 0;
}

.content-section {
  margin-bottom: 48px;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--gray-500);
  margin-bottom: 20px;
  max-width: 640px;
}

.text-center { text-align: center; }

.content-empty {
  text-align: center;
  padding: 80px 20px;
}

.content-empty h1 { margin-bottom: 12px; }
.content-empty p { color: var(--gray-500); margin-bottom: 24px; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.blog-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green-700);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

.blog-card-body { padding: 20px 24px 24px; }

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.blog-card-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card-body h2 a:hover { color: var(--green-700); }

.blog-card-body p {
  color: var(--gray-500);
  font-size: .95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.read-more {
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-700);
}

.read-more:hover { text-decoration: underline; }

/* Article */
.article-full { max-width: 760px; margin: 0 auto; }

.article-header { margin-bottom: 24px; }

.article-cat {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: var(--gray-500);
}

.article-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 28px 0 12px;
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
  margin: 0 0 16px 24px;
}

.article-body li { margin-bottom: 6px; }

.article-body a { color: var(--green-700); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }

.article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gray-100); }

/* FAQ */
.faq-section { margin-bottom: 40px; }

.faq-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--gray-900);
  min-height: 56px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--gray-50); }

.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-500);
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.7;
}

.faq-answer a { color: var(--green-700); font-weight: 600; }

/* Size Guide - Measure Steps */
.measure-steps { display: flex; flex-direction: column; gap: 20px; }

.measure-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.measure-num {
  width: 40px; height: 40px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.measure-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.measure-step p { font-size: .95rem; color: var(--gray-500); }

/* About Page */
.about-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding: 48px 0;
}

.about-breadcrumb { color: rgba(255,255,255,.6); }
.about-breadcrumb a { color: rgba(255,255,255,.8); }
.about-breadcrumb a:hover { color: var(--white); }
.about-breadcrumb span { color: rgba(255,255,255,.4); }

.about-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 600px;
  line-height: 1.7;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about-story-text p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-story-img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-icon { font-size: 2rem; margin-bottom: 12px; }

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p { color: var(--gray-500); font-size: .95rem; }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.trust-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-stat-label {
  font-size: .85rem;
  color: var(--gray-500);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}

.cert-badge svg { width: 18px; height: 18px; color: var(--green-500); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-card svg {
  width: 24px; height: 24px;
  color: var(--green-700);
  margin-bottom: 8px;
}

.contact-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card p, .contact-card a {
  font-size: .9rem;
  color: var(--gray-500);
}

.contact-card a:hover { color: var(--green-700); }

.contact-quick-links {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 20px;
}

.contact-quick-links h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-quick-links a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: var(--green-700);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color var(--transition);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-500);
}

.contact-success {
  text-align: center;
  padding: 40px 20px;
}

.contact-success h2 { margin-bottom: 8px; }
.contact-success p { color: var(--gray-500); margin-bottom: 24px; }

/* Legal */
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.legal-content p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content a { color: var(--green-700); font-weight: 600; }

/* Mobile Contact CTA */
.mobile-contact-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--green-700);
  color: var(--white);
  text-align: center;
  padding: 16px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 800;
  min-height: 52px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}

.mobile-contact-cta:hover { background: var(--green-900); color: var(--white); }

/* Content Responsive */
@media (min-width: 600px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .about-story { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1.4fr; }
}

@media (max-width: 899px) {
  .mobile-contact-cta { display: block; }
  .content-page { padding-bottom: 80px; }
}

/* ===== Phase 5: Search ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.search-overlay.open { opacity: 1; visibility: visible; }

.search-modal {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1201;
  padding: 16px;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.search-modal.open { transform: translateY(0); opacity: 1; visibility: visible; }

body.search-open { overflow: hidden; }

.search-modal-inner {
  max-width: 640px;
  margin: 60px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.search-input-wrap svg { width: 22px; height: 22px; color: var(--gray-500); flex-shrink: 0; }

.search-input-wrap input {
  flex: 1;
  border: none;
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  min-height: 44px;
}

.search-close {
  width: 44px; height: 44px;
  font-size: 1.5rem;
  color: var(--gray-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.search-close:hover { background: var(--gray-100); }

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 12px 0;
}

.search-hint, .search-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--gray-500);
  font-size: .95rem;
}

.search-group { padding: 8px 0; }

.search-group h3 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  padding: 8px 20px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  transition: background var(--transition);
}

.search-result-item:hover { background: var(--gray-50); }

.search-result-item img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-name {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-900);
}

.search-result-meta {
  font-size: .8rem;
  color: var(--gray-500);
}

.search-view-all {
  display: block;
  padding: 8px 20px;
  font-size: .85rem;
  color: var(--green-700);
  font-weight: 600;
}

.search-view-all-btn {
  display: block;
  margin: 12px 20px;
  padding: 12px;
  text-align: center;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
}

.search-page-bar {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  max-width: 520px;
}

.search-page-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  min-height: 48px;
}

.search-page-bar input:focus {
  outline: none;
  border-color: var(--green-500);
}

.result-badge {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* Shop sort */
.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort label {
  font-size: .85rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.shop-sort select {
  padding: 8px 12px;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  min-height: 44px;
  background: var(--white);
}

.product-sub-hint {
  display: block;
  font-size: .75rem;
  color: var(--green-500);
  font-weight: 600;
  margin-top: 4px;
}

/* Afterpay on PDP */
.pdp-afterpay {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.afterpay-badge {
  background: #000;
  color: #b2fce4;
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .03em;
}

/* ===== Phase 5: Account ===== */
.account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.account-overlay.open { opacity: 1; visibility: visible; }

.account-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: calc(100% - 32px);
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  z-index: 1201;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  box-shadow: var(--shadow-lg);
}

.account-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

body.account-open { overflow: hidden; }

.account-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 44px; height: 44px;
  font-size: 1.5rem;
  color: var(--gray-500);
  border-radius: 50%;
}

.account-modal-close:hover { background: var(--gray-100); }

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
  min-height: 44px;
  transition: all var(--transition);
}

.auth-tab.active {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.auth-form { margin-bottom: 16px; }

.auth-error {
  color: #c0392b;
  font-size: .85rem;
  margin-bottom: 12px;
}

.auth-guest-note {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-500);
}

.auth-guest-note a { color: var(--green-700); font-weight: 600; }

.icon-btn.logged-in { color: var(--green-700); }

/* Account page */
.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.account-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.account-header p { color: var(--gray-500); }

.account-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gray-100);
  overflow-x: auto;
}

.account-tab {
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  min-height: 48px;
}

.account-tab.active {
  color: var(--green-700);
  border-bottom-color: var(--green-700);
}

.account-tab:hover { color: var(--green-700); }

.order-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order-meta {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.order-items-preview {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.order-items-preview img {
  width: 40px; height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.order-items-preview span {
  font-size: .85rem;
  color: var(--gray-500);
}

.sub-badge {
  background: var(--green-100);
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.profile-card h3 { margin-bottom: 16px; }
.profile-card p { margin-bottom: 8px; color: var(--gray-700); }

.account-empty, .account-guest {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.account-guest h2 { margin-bottom: 8px; }
.account-guest p { color: var(--gray-500); margin-bottom: 24px; }
.account-guest .btn { margin: 0 6px; }

.account-empty p { color: var(--gray-500); margin-bottom: 16px; }

/* Footer newsletter */
.footer-newsletter {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-newsletter p {
  font-size: .9rem;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  font-size: .9rem;
  min-height: 44px;
}

.newsletter-form .btn {
  padding: 10px 20px;
  min-height: 44px;
  font-size: .9rem;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .pdp-page { padding: 32px 0 64px; }

  .pdp-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }

  .pdp-actions { flex-direction: row; }
  .pdp-actions .btn { flex: 1; }

  .pdp-related .product-grid { grid-template-columns: repeat(4, 1fr); }

  .mobile-sticky-cta { display: none; }
}
