/* ============================================
   NatureSurvi - Stylesheet Complet
   Option B : Conversion Agressive
   ============================================ */

/* ---- VARIABLES ---- */
:root {
  --green-dark: #2d5016;
  --green-medium: #4a7c2d;
  --green-light: #7ab648;
  --earth: #8b5e3c;
  --cream: #f5f0e8;
  --orange-cta: #e8622a;
  --orange-hover: #d4551f;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-100: #f8f8f8;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-500: #888888;
  --gray-700: #555555;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--black);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-dark);
}

a {
  color: var(--green-medium);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* ---- UTILITY CLASSES ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.text-center { text-align: center; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--orange-cta);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange-cta);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(232, 98, 42, 0.35);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 98, 42, 0.45);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--green-medium);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ---- URGENCY BAR ---- */
.urgency-bar {
  background: linear-gradient(135deg, var(--orange-cta), #d4551f);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1001;
  animation: pulse-bg 3s ease-in-out infinite;
}

.urgency-bar span {
  animation: bounce-text 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

@keyframes bounce-text {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

#countdown-timer {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  background: rgba(0,0,0,0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.3rem;
}

/* ---- NAVBAR ---- */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green-dark);
}

.logo-emoji { font-size: 1.8rem; }

.logo:hover { color: var(--green-medium); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  font-weight: 600;
  color: var(--gray-700);
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-cta);
  transition: width var(--transition);
}

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

.main-nav a:hover,
.main-nav a.active { color: var(--green-dark); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  transition: all var(--transition);
}

.cart-btn:hover {
  background: var(--green-medium);
  transform: translateY(-1px);
}

.cart-count {
  background: var(--orange-cta);
  color: var(--white);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  position: absolute;
  top: -6px; right: -6px;
}

/* Burger menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}

.burger-menu span {
  width: 26px; height: 3px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger-menu.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 0.7rem 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-item-emoji { font-size: 1.2rem; }

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 50%, var(--green-light) 100%);
  color: var(--white);
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🌿🏕️🌱🔥⛺🌲';
  position: absolute;
  font-size: 6rem;
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  letter-spacing: 2rem;
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn-primary {
  font-size: 1.15rem;
  padding: 1rem 2.2rem;
}

.hero .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.social-proof {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-proof strong { font-size: 1.2rem; }

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

/* ---- CATEGORIES SECTION ---- */
.categories-section {
  padding: 4rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.category-card:hover .category-emoji {
  transform: scale(1.2);
}

.category-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: transform var(--transition);
}

.category-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.category-card .count {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---- PRODUCTS GRID ---- */
.products-section {
  padding: 4rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.discount-badge {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  background: var(--orange-cta);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 2;
}

.wishlist-btn {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  background: var(--white);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  z-index: 2;
}

.wishlist-btn:hover { transform: scale(1.15); }
.wishlist-btn.active { animation: heartPop 0.4s ease; }

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.product-badges {
  position: absolute;
  bottom: 0.5rem; left: 0.5rem;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  z-index: 2;
}

.badge {
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.product-card-body {
  padding: 1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-medium);
  letter-spacing: 0.05em;
}

.product-name {
  font-size: 1.05rem;
  font-family: 'Merriweather', serif;
  color: var(--green-dark);
  line-height: 1.4;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.product-desc-short {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange-cta);
}

.product-original-price {
  font-size: 0.95rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.discount-label {
  font-size: 0.8rem;
  color: var(--green-medium);
  font-weight: 700;
}

.product-shipping {
  font-size: 0.8rem;
  color: var(--green-medium);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.8rem;
}

.product-actions .btn { flex: 1; font-size: 0.85rem; padding: 0.6rem 0.5rem; }

.add-to-cart-btn {
  animation: none;
}

.add-to-cart-btn:hover {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0) translateY(-2px); }
  25% { transform: translateX(-3px) translateY(-2px); }
  75% { transform: translateX(3px) translateY(-2px); }
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 4rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-stars {
  color: #f5a623;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-medium);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  color: var(--black);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--green-dark), var(--green-medium));
  color: var(--white);
  text-align: center;
}

.newsletter-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter-section p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.newsletter-incentive {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  background: rgba(255,255,255,0.95);
  color: var(--black);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--orange-cta);
}

.newsletter-form .btn {
  white-space: nowrap;
}

.newsletter-success {
  text-align: center;
  padding: 1rem;
}

.newsletter-success .success-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.newsletter-success h3 { color: var(--white); margin-bottom: 0.3rem; }
.newsletter-success p { opacity: 0.9; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--gray-300);
  font-size: 0.9rem;
  display: block;
  padding: 0.2rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
  text-align: center;
  padding: 1.5rem 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--green-light); }

/* ---- TOAST NOTIFICATION ---- */
.toast-notification {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  overflow: hidden;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
  width: calc(100% - 2rem);
}

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

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
}

.toast-icon { font-size: 1.5rem; }

.toast-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.toast-text strong { font-size: 0.9rem; color: var(--black); }
.toast-text span { font-size: 0.8rem; color: var(--gray-500); }

.toast-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-cta) !important;
  white-space: nowrap;
}

.toast-progress {
  height: 3px;
  background: var(--orange-cta);
  animation: toast-timer 3.5s linear forwards;
}

@keyframes toast-timer {
  from { width: 100%; }
  to { width: 0%; }
}

/* ---- CART DRAWER ---- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.cart-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.drawer-header h3 {
  font-size: 1.2rem;
  font-family: 'Nunito', sans-serif;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-700);
  padding: 0.3rem;
}

.drawer-close:hover { color: var(--black); }

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
}

.drawer-empty .empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

.drawer-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.drawer-item-img {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.drawer-item-info {
  flex: 1;
}

.drawer-item-name {
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.drawer-item-price {
  font-weight: 700;
  color: var(--orange-cta);
  font-size: 0.95rem;
}

.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.qty-btn:hover {
  background: var(--green-light);
  color: var(--white);
  border-color: var(--green-light);
}

.drawer-item-remove {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.3rem;
}

.drawer-item-remove:hover { color: #e74c3c; }

.drawer-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.drawer-footer .btn { width: 100%; }

/* ---- PRODUCT MODAL ---- */
.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
}

.product-modal.open { display: block; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gray-200);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition);
}

.modal-close:hover { background: var(--gray-300); }

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  position: relative;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-info h2 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.modal-description {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-details {
  background: var(--cream);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.modal-details p { margin-bottom: 0.3rem; }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.trust-badges-modal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--gray-500);
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 0.5rem;
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 0.3rem;
  color: var(--gray-500);
}

.breadcrumbs li:last-child { color: var(--gray-500); }

/* ---- CATALOGUE PAGE ---- */
.catalogue-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
  color: var(--gray-700);
}

.filter-btn:hover {
  border-color: var(--green-medium);
  color: var(--green-medium);
}

.filter-btn.active {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  cursor: pointer;
  color: var(--gray-700);
}

.sort-select:focus {
  outline: none;
  border-color: var(--green-medium);
}

.product-count {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ---- CART PAGE ---- */
.cart-page {
  padding: 2rem 0 4rem;
  min-height: 60vh;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.cart-item:hover {
  box-shadow: var(--shadow-md);
}

.cart-item-img {
  width: 100px; height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h3 {
  font-size: 1.05rem;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 0.2rem;
}

.cart-item-info .product-category {
  margin-bottom: 0.3rem;
}

.cart-item-pricing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.cart-item-qty input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0.3rem;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
}

.cart-item-total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange-cta);
  white-space: nowrap;
}

.cart-item-remove {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition);
}

.cart-item-remove:hover { color: #e74c3c; }

/* Cart sidebar / summary */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 8rem;
  height: fit-content;
}

.cart-summary h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  font-family: 'Nunito', sans-serif;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.summary-row.savings { color: var(--green-medium); font-weight: 700; }

.summary-divider {
  border: none;
  height: 1px;
  background: var(--gray-200);
  margin: 1rem 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}

.free-shipping-notice {
  background: #e8f5e9;
  color: var(--green-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cart-summary .btn { width: 100%; margin-bottom: 0.5rem; }

.cart-secure {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.cart-empty .empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.cart-empty h2 { margin-bottom: 0.5rem; }

.cart-empty p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

/* ---- ABOUT PAGE ---- */
.about-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-medium));
  color: var(--white);
  padding: 4rem 1rem;
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-section {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.about-card:hover { transform: translateY(-4px); }

.about-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.about-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }

.about-card p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.6; }

.about-story {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-story h2 { margin-bottom: 1rem; }

.about-story p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.stat-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange-cta);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 600;
}

/* ---- BACK TO TOP ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--orange-cta);
  transform: translateY(-3px);
}

/* ---- LOADING ANIMATION ---- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.products-grid .product-card {
  animation: fadeIn 0.5s ease-out both;
}

.products-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(7) { animation-delay: 0.35s; }
.products-grid .product-card:nth-child(8) { animation-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 250px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .hero { padding: 3rem 1rem; }

  .main-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.3rem; }

  .burger-menu { display: flex; }

  .trust-bar-inner {
    gap: 1rem;
    font-size: 0.75rem;
  }

  .section-title { font-size: 1.6rem; }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  .category-emoji { font-size: 2rem; }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }

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

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

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

  .catalogue-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: center;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-img { width: 80px; height: 80px; }

  .toast-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  .about-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; }

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .urgency-bar { font-size: 0.8rem; }

  .cart-item {
    position: relative;
    padding-right: 2.5rem;
  }
  .cart-item-remove {
    position: absolute;
    top: 0.5rem; right: 0.5rem;
  }
}

/* ---- FOCUS STATES (ACCESSIBILITY) ---- */
:focus-visible {
  outline: 3px solid var(--orange-cta);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange-cta);
  outline-offset: 2px;
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--orange-cta);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 10002;
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

/* ---- PRINT ---- */
@media print {
  .urgency-bar, .navbar, .trust-bar, .newsletter-section, .site-footer,
  .cart-drawer, .drawer-overlay, .product-modal, #back-to-top,
  .toast-notification { display: none !important; }
  body { background: white; }
}
