/* ============================================
   PRAGYA NURSERY — Premium Design System
   ============================================ */

:root {
  /* Colors */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;
  --whatsapp: #25D366;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #052e16 0%, #14532d 30%, #166534 60%, #15803d 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));

  /* Typography */
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-py: clamp(3rem, 6vw, 6rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
input { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease);
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-800);
}

.logo__icon {
  font-size: 1.6rem;
}

.logo__accent {
  color: var(--green-600);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-600);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--green-700);
}

.nav__link:hover::after {
  width: 100%;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn--primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 16px;
}

.btn--whatsapp:hover {
  background: #1faa54;
  transform: translateY(-1px);
}

.btn--cart {
  position: relative;
  background: var(--green-50);
  color: var(--green-700);
  padding: 10px;
  border-radius: var(--radius-md);
}

.btn--cart:hover {
  background: var(--green-100);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--location {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
  width: 100%;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-md);
}

.btn--location:hover {
  background: var(--green-100);
}

.btn--hero-location {
  width: auto;
  min-width: 280px;
  background: rgba(224, 255, 232, 0.18);
  color: #e8ffef;
  border-color: rgba(207, 255, 216, 0.4);
}

.btn--hero-location:hover {
  background: rgba(224, 255, 232, 0.26);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: var(--green-200);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s var(--ease) backwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.8s 0.1s var(--ease) backwards;
}

.hero__highlight {
  background: linear-gradient(120deg, #ffffff 0%, #fef08a 52%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
  filter: drop-shadow(0 2px 10px rgba(15, 23, 42, 0.35));
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--green-200);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.2s var(--ease) backwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s 0.3s var(--ease) backwards;
}

.hero__location-prompt {
  margin-top: -1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  animation: fadeInUp 0.8s 0.35s var(--ease) backwards;
}

.hero__location-status {
  font-size: 0.82rem;
  color: #d7ffe0;
  margin-left: 2px;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  animation: fadeInUp 0.8s 0.4s var(--ease) backwards;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--green-300);
  font-weight: 400;
}

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

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  padding: 2.5rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  display: block;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  text-align: left;
}

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

.category-card.active {
  border-color: var(--green-500);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.category-card__thumb {
  display: block;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--green-50);
}

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

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

.category-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.5rem;
  align-items: center;
  padding: 0.9rem 0.95rem 1rem;
}

.category-card__icon {
  font-size: 1.25rem;
  grid-row: 1;
}

.category-card__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-700);
  white-space: normal;
  line-height: 1.2;
}

.category-card__count {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ============================================
   CATALOG
   ============================================ */
.catalog {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-500);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Plant Card */
.plant-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(20px);
  animation: cardReveal 0.6s var(--ease) forwards;
}

.plant-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plant-card__img-wrap {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: var(--green-50);
}

.plant-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.plant-card:hover .plant-card__img {
  transform: scale(1.08);
}

.plant-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-600);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plant-card__body {
  padding: 1.25rem;
}

.plant-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.plant-card__category {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.plant-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plant-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-700);
}

.plant-card__price span {
  font-size: 0.9rem;
}

.plant-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.qty-btn--minus {
  background: var(--slate-100);
  color: var(--slate-600);
}

.qty-btn--minus:hover { background: var(--slate-200); }

.qty-btn--plus {
  background: var(--green-600);
  color: var(--white);
}

.qty-btn--plus:hover {
  background: var(--green-700);
  transform: scale(1.1);
}

.qty-display {
  font-size: 1rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
  color: var(--slate-800);
}

/* Skeleton Loading */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-100);
}

.skeleton-img {
  height: 200px;
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-text {
  height: 16px;
  margin: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

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

/* ============================================
   PLANT CARD EXPANDABLE ABOUT SECTION
   ============================================ */
.plant-card__about-section {
  margin: 12px 0;
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

.plant-card__about-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  transition: all 0.2s var(--ease);
}

.plant-card__about-toggle:hover {
  background: var(--green-100);
  border-color: var(--green-300);
}

.about-label {
  font-weight: 600;
}

.about-toggle-icon {
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}

.plant-card__about-content {
  margin-top: 10px;
  animation: slideDown 0.3s var(--ease);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-bullets {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}

.about-bullets li {
  font-size: 0.8rem;
  color: var(--slate-700);
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.about-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

.care-compact {
  display: grid;
  gap: 6px;
}

.care-row-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--slate-600);
  background: var(--slate-50);
  padding: 6px 8px;
  border-radius: 6px;
}

.care-icon {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

/* ============================================
   ABOUT / FEATURES
   ============================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border-color: var(--green-200);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-py) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.contact__card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--green-800);
}

.contact__card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.contact__card a {
  color: var(--green-600);
  font-weight: 500;
}

.contact__card a:hover {
  text-decoration: underline;
}

.contact__note {
  font-size: 0.8rem !important;
  color: var(--slate-400) !important;
  margin-top: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-950);
  color: var(--green-200);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--green-400);
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer__links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: 0.85rem;
  color: var(--green-300);
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--green-400);
  text-align: center;
}

.footer .logo {
  color: var(--white);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100dvh;
  height: 100vh; /* fallback */
  max-height: -webkit-fill-available;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

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

.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.cart-sidebar__header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.cart-sidebar__close {
  font-size: 1.8rem;
  color: var(--slate-400);
  padding: 0 4px;
  line-height: 1;
}

.cart-sidebar__close:hover { color: var(--slate-700); }

.cart-sidebar__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--slate-400);
  padding: 3rem 0;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.cart-item__img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item__price {
  font-size: 0.85rem;
  color: var(--green-600);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item__qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
}

.cart-item__qty button:hover { background: var(--slate-200); }

.cart-item__qty span {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-sidebar__footer {
  padding: 1rem 1.5rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
  flex-shrink: 0;
  max-height: 45vh;
  overflow-y: auto;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--green-800);
}

.cart-location {
  margin-bottom: 0.75rem;
}

.cart-location__status {
  font-size: 0.8rem;
  color: var(--green-600);
  margin-top: 6px;
  text-align: center;
}

.cart-customer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.input--textarea {
  resize: vertical;
  min-height: 84px;
}

.payment-methods {
  margin-bottom: 0.9rem;
}

.payment-methods__title {
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.payment-methods__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.payment-method-btn {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--green-200);
  color: var(--green-800);
  background: #fff;
  transition: all 0.2s var(--ease);
}

.payment-method-btn.active {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

.upi-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.upi-app-btn {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: #fff;
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 6px;
}

.upi-app-btn:hover {
  border-color: var(--green-500);
  color: var(--green-700);
}

.order-track {
  border-top: 1px dashed var(--slate-300);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input {
  padding: 10px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
  outline: none;
}

.input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.cart-payment-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 10px;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s var(--ease);
  animation: pulse-wa 2s infinite;
}

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

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ============================================
   ORDER SUCCESS MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: modalPop 0.4s var(--ease);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.modal__text {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.modal__payment {
  background: var(--green-50);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal__payment h4 {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.modal__upi {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-700);
  font-family: monospace;
}

.modal__upi-note {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 4px;
}

.modal__amount {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
}

.modal__order-info {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--slate-100);
}

.modal__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.modal__row:last-child {
  margin-bottom: 0;
}

.modal__label {
  font-weight: 600;
  color: var(--slate-600);
  min-width: 70px;
}

.modal__value {
  flex: 1;
  color: var(--slate-800);
  font-weight: 700;
  font-family: monospace;
  word-break: break-all;
}

.modal__copy-btn {
  padding: 4px 8px;
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-radius: 4px;
  cursor: pointer;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s var(--ease);
}

.modal__copy-btn:hover {
  background: var(--green-200);
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================
  BLOOMBUDDY AI RECOMMENDER
  ============================================ */
.reco-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
}

.rec-results {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.rec-results--panel {
  max-height: 42vh;
  overflow-y: auto;
  padding-right: 2px;
}

.rec-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  overflow: hidden;
}

.rec-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.rec-card__body {
  padding: 0.75rem;
}

.rec-card__body h4 {
  margin-bottom: 0.2rem;
  color: var(--green-900);
}

.rec-card__body p {
  margin-bottom: 0.55rem;
  color: var(--slate-500);
  font-size: 0.85rem;
}

.rec-empty {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.reco-fab {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 1001;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #2ca854;
  background: #2ca854;
  color: #fff;
  padding: 0;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(44, 168, 84, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.reco-fab span {
  position: absolute;
  right: 82px;
  background: #1f8443;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.reco-fab:hover,
.reco-fab[aria-expanded='true'] {
  transform: scale(1.05);
  box-shadow: 0 14px 26px rgba(44, 168, 84, 0.35);
}

.reco-fab:hover span,
.reco-fab[aria-expanded='true'] span {
  opacity: 1;
  transform: translateX(0);
}

.reco-panel {
  position: fixed;
  right: 20px;
  bottom: 150px;
  width: min(390px, calc(100vw - 24px));
  height: min(78vh, 620px);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  display: none;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.reco-panel.open {
  display: grid;
}

.reco-panel__header {
  background: var(--green-700);
  color: #fff;
  padding: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reco-panel__title {
  font-size: 1rem;
  line-height: 1.2;
}

.reco-panel__subtitle {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.88);
}

.reco-panel__close {
  color: #fff;
  font-size: 1.1rem;
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.12);
}

.reco-panel__body {
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fff9;
}

.reco-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.reco-panel__run {
  width: 100%;
  justify-content: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .btn--whatsapp span { display: none; }

  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    gap: 0.5rem;
  }

  .nav.mobile-open .nav__link {
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--slate-100);
  }

  .hero__stats {
    gap: 1.5rem;
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

@media (max-width: 600px) {
  .hero {
    min-height: 70vh;
    padding-top: 80px;
  }


  .hero__stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero__stat-num {
    font-size: 1.4rem;
  }

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

  .plant-card__body {
    padding: 1rem;
  }

  .reco-panel {
    right: 10px;
    bottom: 140px;
    width: calc(100vw - 20px);
    height: min(70vh, 620px);
  }

  .reco-fab span {
    display: none;
  }

  .plant-card__name {
    font-size: 1rem;
  }

  .plant-card__price {
    font-size: 1.15rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .category-card__thumb {
    height: 108px;
  }

  .category-card__meta {
    padding: 0.75rem 0.75rem 0.8rem;
    gap: 0.25rem 0.4rem;
  }

  .category-card__label {
    font-size: 0.82rem;
  }

  .category-card__count {
    font-size: 0.72rem;
  }
}

/* ============================================
   BRAND REFRESH 2026
   ============================================ */
:root {
  --green-50: #f2fff4;
  --green-100: #defee4;
  --green-200: #bffacb;
  --green-300: #9cf0ae;
  --green-400: #74e08f;
  --green-500: #43c96c;
  --green-600: #2ca854;
  --green-700: #1f8443;
  --green-800: #176937;
  --green-900: #124f2c;
  --green-950: #0a321b;

  --amber-400: #d8d49a;
  --amber-500: #b8b26f;

  --slate-50: #f7faf8;
  --slate-100: #eef3f1;
  --slate-200: #dde5e1;
  --slate-300: #c2cdc8;
  --slate-400: #97a7a0;
  --slate-500: #70817a;
  --slate-600: #55665f;
  --slate-700: #3e4f48;
  --slate-800: #283731;
  --slate-900: #1a2722;

  --gradient-hero: linear-gradient(135deg, #0b3b20 0%, #11632f 42%, #1e8940 72%, #2cb24f 100%);
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Lora', Georgia, serif;
}

body {
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 224, 143, 0.2), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(186, 250, 201, 0.55), transparent 40%),
    var(--slate-50);
}

.header {
  background: rgba(246, 244, 239, 0.88);
  border-bottom: 1px solid rgba(31, 26, 22, 0.08);
}

.header.scrolled {
  box-shadow: 0 10px 35px rgba(31, 26, 22, 0.08);
}

.logo {
  gap: 0.72rem;
  color: var(--green-900);
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.logo__glyph-stem {
  stroke: #157536;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.logo__glyph-leaf {
  fill: #2cb24f;
}

.logo__glyph-leaf-soft {
  fill: rgba(44, 178, 79, 0.55);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__name {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo__meta {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 600;
  margin-top: 2px;
}

.logo__accent {
  color: #1f8443;
}

.hero {
  min-height: 92vh;
}

.hero__bg {
  background-image:
    radial-gradient(ellipse at 82% 16%, rgba(159, 240, 178, 0.34) 0%, transparent 58%),
    radial-gradient(ellipse at 6% 82%, rgba(44, 178, 79, 0.24) 0%, transparent 55%);
}

.hero__badge {
  background: rgba(230, 255, 237, 0.18);
  color: #e6ffed;
  border-color: rgba(206, 255, 218, 0.35);
}

.hero__title {
  letter-spacing: 0.3px;
}

.hero__highlight {
  background: linear-gradient(120deg, #ffffff 0%, #fef08a 52%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 18px rgba(7, 12, 25, 0.36);
  filter: drop-shadow(0 2px 10px rgba(12, 20, 34, 0.38));
}

.hero__subtitle {
  color: #ddffe5;
}

.hero__stats {
  gap: 2.25rem;
}

.hero__stat {
  position: relative;
  padding-left: 1rem;
}

.hero__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, #b8ffc6, rgba(184, 255, 198, 0.15));
}

.categories {
  margin-top: -1rem;
}

.category-card {
  border-radius: 18px;
  border: 1px solid rgba(67, 55, 37, 0.08);
  box-shadow: 0 12px 28px rgba(31, 26, 22, 0.06);
}

.category-card.active {
  border-color: #2ca854;
  box-shadow: 0 18px 32px rgba(24, 44, 35, 0.1), 0 0 0 4px rgba(44, 178, 79, 0.14);
}

.category-card__meta {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}

.catalog {
  position: relative;
}

.catalog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 35%);
  pointer-events: none;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  letter-spacing: 0.3px;
}

.section-subtitle {
  color: #5d6f67;
}

.plant-card {
  border-radius: 20px;
  border: 1px solid rgba(67, 55, 37, 0.1);
  box-shadow: 0 10px 24px rgba(31, 26, 22, 0.06);
}

.plant-card:hover {
  box-shadow: 0 22px 36px rgba(31, 26, 22, 0.13);
}

.plant-card__badge {
  background: rgba(31, 42, 24, 0.86);
  letter-spacing: 0.07em;
}

.plant-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #1f2f29;
}

.plant-card__price {
  color: #1f8443;
}

.about {
  background:
    radial-gradient(circle at 8% 8%, rgba(156, 240, 174, 0.25), transparent 40%),
    #fbfefd;
}

.feature-card {
  background: linear-gradient(180deg, #edfff1 0%, #fcfffd 100%);
  border: 1px solid rgba(31, 132, 67, 0.16);
}

.feature-card:hover {
  border-color: rgba(44, 178, 79, 0.42);
}

.contact__card {
  border-radius: 18px;
  border: 1px solid rgba(31, 132, 67, 0.13);
  box-shadow: 0 10px 18px rgba(31, 26, 22, 0.05);
}

.contact__map iframe {
  border: 1px solid rgba(31, 132, 67, 0.18) !important;
  box-shadow: 0 14px 24px rgba(31, 26, 22, 0.09);
}

.footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(116, 224, 143, 0.22), transparent 35%),
    linear-gradient(130deg, #0b2112 0%, #114022 40%, #14552d 100%);
}

.footer .logo__name,
.footer .logo__accent {
  color: #f7eacc;
}

.footer .logo__meta {
  color: #b3aa97;
}

.floating-whatsapp {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .logo__name {
    font-size: 1.35rem;
  }

  .logo__meta {
    font-size: 0.58rem;
  }
}
