/* Vittas Flow — Premium E-commerce Theme v3.0
   Design: Botanical luxury with organic warmth
   Palette: Deep forest greens + warm amber accents
   Typography: Playfair Display (headings) + Inter (body)
   Features: Scroll animations, glassmorphism, micro-interactions
*/

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

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  /* Brand Colors */
  --primary: #0A3C2E;
  --primary-light: #0E5240;
  --primary-dark: #072A20;
  --secondary: #007878;
  --secondary-light: #009E9E;
  --accent: #8CB830;
  --accent-soft: rgba(140,184,48,0.10);
  --cta: #E8961E;
  --cta-hover: #D08518;
  --cta-glow: rgba(232,150,30,0.25);

  /* Backgrounds */
  --bg: #FAFAF6;
  --bg-warm: #F5F0E8;
  --bg-cool: #F0F5F3;
  --card: #FFFFFF;
  --card-alt: #FBF8F0;

  /* Text */
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --text-muted: #9A9A9A;

  /* Borders */
  --border: #E8E4DA;
  --border-light: #F0ECE4;

  /* Status */
  --danger: #D9534F;
  --success: #2E8B57;
  --white: #FFFFFF;

  /* Glassmorphism */
  --glass-bg: rgba(255,255,255,0.65);
  --glass-blur: 16px;
  --glass-border: rgba(255,255,255,0.25);

  /* Shadows — 6-level system */
  --shadow-xs: 0 1px 3px rgba(10,60,46,0.04);
  --shadow-sm: 0 2px 8px rgba(10,60,46,0.06);
  --shadow: 0 4px 16px rgba(10,60,46,0.08);
  --shadow-md: 0 8px 30px rgba(10,60,46,0.10);
  --shadow-lg: 0 16px 48px rgba(10,60,46,0.14);
  --shadow-xl: 0 24px 60px rgba(10,60,46,0.18);

  /* Radius */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --transition: 0.3s var(--ease);
  --transition-slow: 0.55s var(--ease);

  /* Layout */
  --max-width: 1280px;
  --header-h: 72px;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: inherit;
}

::selection {
  background: rgba(140,184,48,0.25);
  color: var(--primary);
}

/* ===========================
   CONTAINER
   =========================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleFade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Scroll-triggered states */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="scale"].visible { animation: scaleFade 0.7s var(--ease) both; }
[data-animate="left"].visible { animation: slideInLeft 0.7s var(--ease) both; }
[data-animate="right"].visible { animation: slideInRight 0.7s var(--ease) both; }

/* Stagger children */
[data-animate].visible [data-delay="1"] { transition-delay: 0.1s; }
[data-animate].visible [data-delay="2"] { transition-delay: 0.2s; }
[data-animate].visible [data-delay="3"] { transition-delay: 0.3s; }
[data-animate].visible [data-delay="4"] { transition-delay: 0.4s; }
[data-animate].visible [data-delay="5"] { transition-delay: 0.5s; }

.fade-up { animation: fadeUp 0.7s var(--ease) both; }

/* ===========================
   HEADER — Glassmorphism
   =========================== */
.header {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,228,218,0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(10,60,46,0.08);
  background: rgba(255,255,255,0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition);
}

.header-logo:hover img {
  transform: scale(1.05);
}

.header-logo .brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.header-logo .brand span {
  color: var(--secondary);
  font-style: italic;
  font-weight: 600;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.01em;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cta);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover { color: var(--primary); }

/* Cart icon */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: background var(--transition);
}

.cart-link:hover { background: var(--bg-warm); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--cta);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--white);
}

.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-xs);
  transition: background var(--transition);
}

.menu-toggle:hover { background: var(--bg-warm); }

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

/* ===========================
   HERO — Immersive
   =========================== */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, #054030 40%, var(--secondary) 100%);
  color: var(--white);
  padding: 110px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/categories/hero-banner.png') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: soft-light;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero .subtitle {
  font-size: 1.12rem;
  opacity: 0.88;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* ===========================
   BUTTONS — Micro-interactions
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

/* Ripple effect */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-cta {
  background: linear-gradient(135deg, var(--cta) 0%, #D08518 100%);
  color: var(--white);
  box-shadow: 0 4px 14px var(--cta-glow);
}
.btn-cta:hover {
  background: linear-gradient(135deg, #D08518 0%, var(--cta) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cta-glow);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,60,46,0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--secondary);
  padding: 13px 16px;
}
.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #C9302C; color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 0.84rem; }
.btn-lg { padding: 16px 42px; font-size: 1.05rem; letter-spacing: 0.02em; }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 88px 0; }
.section-alt { background: var(--card-alt); }
.section-cool { background: var(--bg-cool); }

.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.section-title .divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--cta), var(--accent));
  border-radius: 2px;
  margin: 14px auto;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* ===========================
   CATEGORIES — Image Cards
   =========================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.category-card:hover .category-card-bg img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,60,46,0.85) 0%,
    rgba(10,60,46,0.3) 40%,
    rgba(10,60,46,0.1) 100%
  );
  transition: background var(--transition);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,60,46,0.9) 0%,
    rgba(10,60,46,0.4) 50%,
    rgba(10,60,46,0.15) 100%
  );
}

.category-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.category-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.category-card-content span {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Fallback: emoji style (when no image) */
.category-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  display: block;
}

/* ===========================
   PRODUCT CARDS — Premium
   =========================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.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;
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8dfd7 100%);
}

.product-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

/* Discount badge */
.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--cta), #D08518);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px var(--cta-glow);
  letter-spacing: 0.02em;
}

/* Quick add overlay */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,60,46,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.product-card:hover .product-card-overlay {
  background: rgba(10,60,46,0.08);
}

.product-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: #5C8A0D;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card-body h3 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 1.35;
}

.product-card-body .description {
  font-size: 0.86rem;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-body);
}

.product-price .old-price {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 8px;
}

.product-card-footer {
  padding: 0 22px 22px;
  display: flex;
  gap: 8px;
}

/* ===========================
   PRODUCT DETAIL
   =========================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 48px 0;
}

.product-detail-img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background: var(--bg-warm);
  box-shadow: var(--shadow-md);
}

.product-detail-info h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-detail-info .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.product-detail-info .desc {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.product-detail-info .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-control button {
  background: var(--card-alt);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--text);
}
.qty-control button:hover { background: var(--border); }

.qty-control input {
  width: 50px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
}

/* ===========================
   VALUE / BENEFIT CARDS
   =========================== */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.value-card:hover::before { opacity: 1; }

.value-card .icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 8px;
  left: 20px;
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-card .stars {
  color: #F0A020;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.7;
  padding-top: 16px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}

.testimonial-author-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   CTA SECTION — Immersive
   =========================== */
.cta-section {
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 88px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/categories/hero-banner.png') center/cover no-repeat;
  opacity: 0.08;
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.cta-section p {
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* ===========================
   NEWSLETTER
   =========================== */
.newsletter-section {
  padding: 72px 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0,120,120,0.08);
}

/* ===========================
   CART
   =========================== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--primary);
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-info img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
  transition: color var(--transition);
  padding: 4px;
}
.cart-remove:hover { color: var(--danger); }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  max-width: 420px;
  margin-left: auto;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.cart-summary .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.cart-summary .total {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  border-top: 2px solid var(--border);
  padding-top: 14px;
  margin-top: 10px;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

/* ===========================
   CHECKOUT
   =========================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 48px 0;
}

.checkout-form h2,
.checkout-summary h2 {
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: all var(--transition);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0,120,120,0.08);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===========================
   ABOUT PAGE
   =========================== */
.about-hero {
  background: linear-gradient(160deg, var(--primary) 0%, #054030 50%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/categories/hero-banner.png') center/cover no-repeat;
  opacity: 0.08;
}

.about-hero .container { position: relative; z-index: 2; }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text h3 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.75;
}

/* ===========================
   ADMIN
   =========================== */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-h));
}

.admin-sidebar {
  background: var(--primary);
  padding: 28px 0;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-left-color: var(--cta);
}

.admin-content { padding: 36px; }
.admin-content h2 { color: var(--primary); margin-bottom: 28px; }

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.admin-table th {
  background: var(--card-alt);
  text-align: left;
  padding: 16px 18px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.admin-table tr:hover td { background: var(--card-alt); }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-success { background: rgba(46,139,87,0.1); color: var(--success); }
.badge-warning { background: rgba(232,150,30,0.12); color: #B8780A; }
.badge-danger { background: rgba(217,83,79,0.1); color: var(--danger); }
.badge-info { background: rgba(0,120,120,0.1); color: var(--secondary); }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: scaleFade 0.3s ease;
}

.modal h3 { color: var(--primary); margin-bottom: 24px; font-size: 1.4rem; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* Login */
.login-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--primary) 0%, #054030 50%, var(--secondary) 100%);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.login-box img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; }
.login-box h2 { color: var(--primary); margin-bottom: 28px; }

/* ===========================
   FOOTER — Premium
   =========================== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

.footer p, .footer a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer a:hover { color: var(--cta); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* Payment methods */
.payment-methods {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.payment-methods span {
  background: rgba(255,255,255,0.08);
  padding: 5px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 90;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* Pulse animation */
.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2s infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===========================
   TOAST
   =========================== */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 150;
  transform: translateX(120%);
  transition: transform 0.35s var(--ease);
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show { transform: translateX(0); }

.toast::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===========================
   SKELETON LOADING
   =========================== */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--bg-warm) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  height: 380px;
  border-radius: var(--radius);
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-text.short { width: 60%; }

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }

/* ===========================
   SPINNER
   =========================== */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 48px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================
   RESPONSIVE — Mobile First
   =========================== */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }
  .nav.open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
  }
  .menu-toggle { display: block; }

  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); }
  .hero .subtitle { font-size: 0.98rem; }

  .section { padding: 60px 0; }
  .section-title h2 { font-size: 1.7rem; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { aspect-ratio: 1/1; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card-img { height: 200px; }
  .product-card-body { padding: 14px; }
  .product-card-footer { padding: 0 14px 14px; }
  .product-card-body h3 { font-size: 0.95rem; }
  .product-price { font-size: 1.15rem; }

  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { gap: 16px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    display: flex;
    overflow-x: auto;
    padding: 0;
  }
  .admin-sidebar a {
    white-space: nowrap;
    padding: 12px 18px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .admin-sidebar a.active { border-bottom-color: var(--cta); border-left-color: transparent; }

  .cart-table { font-size: 0.85rem; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
  .cart-summary { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; gap: 14px; }
  .category-card { aspect-ratio: 16/9; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
}

/* ===========================
   PRINT
   =========================== */
@media print {
  .header, .footer, .whatsapp-float, .toast { display: none; }
  body { background: white; }
}

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  .whatsapp-float::after { animation: none; }
}
