/* ================================================
   MAISON NILGIRI — Design System CSS
   ================================================ */

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

/* ---- Variables ---- */
:root {
  --nilgiri-deep: #1B4332;
  --nilgiri-forest: #2D6A4F;
  --nilgiri-sage: #52B788;
  --gold-primary: #D4AF37;
  --gold-light: #F4E8C1;
  --gold-dark: #AA8C2C;
  --cream: #F9F7F2;
  --ivory: #FFFFF0;
  --charcoal: #2B2B2B;
  --warm-gray: #8B8680;
  --border: #E8E2D8;
  --white: #ffffff;
  --shadow-luxury: 0 25px 60px -12px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 30px rgba(212,175,55,0.3);
  --ease-luxury: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 0.5rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--charcoal); font-family: 'Inter', 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', 'Cormorant Garamond', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(212,175,55,0.3); color: var(--nilgiri-deep); }

/* ---- Typography helpers ---- */
.font-serif { font-family: 'Playfair Display', serif; }
.font-accent { font-family: 'Cormorant Infant', serif; }
.text-gold { color: var(--gold-primary); }
.text-gradient-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E8C1 50%, #AA8C2C 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- Layout ---- */
.section-padding { padding-left: 1.5rem; padding-right: 1.5rem; }
.container-luxury { max-width: 1440px; margin: 0 auto; }
@media (min-width: 640px) { .section-padding { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .section-padding { padding-left: 4rem; padding-right: 4rem; } }
@media (min-width: 1280px) { .section-padding { padding-left: 6rem; padding-right: 6rem; } }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; background: var(--nilgiri-deep); color: var(--white);
  font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.05em;
  transition: all 0.5s var(--ease-luxury); cursor: pointer;
}
.btn-primary:hover { background: var(--nilgiri-forest); box-shadow: var(--shadow-luxury); }
.btn-primary:active { transform: scale(0.95); }

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; background: var(--gold-primary); color: var(--charcoal);
  font-weight: 500; letter-spacing: 0.05em; transition: all 0.5s var(--ease-luxury);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border: 2px solid var(--nilgiri-deep); color: var(--nilgiri-deep);
  font-weight: 500; letter-spacing: 0.05em; transition: all 0.5s var(--ease-luxury);
}
.btn-outline:hover { background: var(--nilgiri-deep); color: var(--white); }

/* ---- Section label ---- */
.section-label {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--gold-primary); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.section-label::before, .section-label::after {
  content: ''; flex: 0 0 2rem; height: 1px; background: var(--gold-primary);
}
.section-label.left::before { display: none; }
.section-label.left::after { display: none; }
.section-label.left { gap: 0.75rem; }
.section-label.left::before { display: block; flex: 0 0 3rem; }

/* ---- Divider ---- */
.divider-gold { width: 5rem; height: 1px; background: linear-gradient(135deg, #D4AF37 0%, #F4E8C1 50%, #AA8C2C 100%); margin: 0 auto; }

/* ---- Stars ---- */
.stars { display: flex; gap: 2px; }
.star { width: 14px; height: 14px; fill: #E5E7EB; stroke: #E5E7EB; }
.star.filled { fill: var(--gold-primary); stroke: var(--gold-primary); }
.star svg path { stroke-width: 0; }

/* ---- Badges ---- */
.badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-deep { background: var(--nilgiri-deep); color: var(--white); }
.badge-gold { background: var(--gold-primary); color: var(--charcoal); }
.badge-red { background: #EF4444; color: var(--white); }
.badge-bio { background: rgba(82,183,136,0.15); color: var(--nilgiri-deep); display: inline-flex; align-items: center; gap: 4px; }

/* ---- Cards ---- */
.product-card {
  background: var(--white); border-radius: 0.75rem; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.5s var(--ease-luxury);
}
.product-card:hover { box-shadow: var(--shadow-luxury); }
.product-card .card-img { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-luxury); }
.product-card:hover .card-img img { transform: scale(1.07); }
.product-card .card-badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.product-card .card-actions {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover .card-actions { opacity: 1; }
.card-action-btn {
  width: 3rem; height: 3rem; background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card-action-btn:hover { background: var(--gold-primary); }
.card-action-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--charcoal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-card .card-body { padding: 1.25rem; }

/* ---- Image hover zoom ---- */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.7s var(--ease-luxury); }
.img-zoom:hover img { transform: scale(1.08); }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-left { transform: translateX(-40px); }
.reveal-left.revealed { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.revealed { transform: translateX(0); }

/* ---- Header ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.5s var(--ease-luxury);
  padding: 1.25rem 0;
}
#site-header.scrolled {
  background: rgba(249,247,242,0.96); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06); padding: 0.75rem 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .header-inner { padding: 0 4rem; } }
@media (min-width: 1280px) { .header-inner { padding: 0 6rem; } }

.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-leaf { transition: color 0.3s; }
#site-header:not(.scrolled) .logo-leaf { color: var(--white); }
#site-header.scrolled .logo-leaf { color: var(--nilgiri-deep); }
.logo-leaf svg path { fill: none; stroke: currentColor; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; transition: color 0.3s; }
#site-header:not(.scrolled) .logo-text { color: var(--white); }
#site-header.scrolled .logo-text { color: var(--charcoal); }

.desktop-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.nav-link {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s; position: relative; padding-bottom: 4px;
}
#site-header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }
#site-header:not(.scrolled) .nav-link:hover { color: var(--white); }
#site-header.scrolled .nav-link { color: var(--charcoal); }
#site-header.scrolled .nav-link:hover { color: var(--nilgiri-deep); }
.nav-link.active { color: var(--gold-primary) !important; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--gold-primary); transform: scaleX(0); transition: transform 0.3s; }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.25rem; }
.action-btn {
  padding: 0.5rem; display: flex; align-items: center; justify-content: center;
  transition: color 0.3s; position: relative;
}
.action-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#site-header:not(.scrolled) .action-btn { color: rgba(255,255,255,0.85); }
#site-header:not(.scrolled) .action-btn:hover { color: var(--white); }
#site-header.scrolled .action-btn { color: var(--charcoal); }
#site-header.scrolled .action-btn:hover { color: var(--nilgiri-deep); }
.cart-btn { position: relative; }
#cart-badge {
  position: absolute; top: -2px; right: -2px; width: 1.25rem; height: 1.25rem;
  background: var(--gold-primary); color: var(--charcoal); font-size: 0.625rem; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn { padding: 0.5rem; display: flex; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#site-header:not(.scrolled) .mobile-menu-btn { color: var(--white); }
#site-header.scrolled .mobile-menu-btn { color: var(--charcoal); }
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: flex; } }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.mobile-menu.open { pointer-events: all; }
.mobile-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s; }
.mobile-menu.open .mobile-overlay { opacity: 1; }
.mobile-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: 20rem;
  background: var(--cream); padding: 1.5rem;
  transform: translateX(-100%); transition: transform 0.35s var(--ease-luxury);
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-panel-header button { color: var(--charcoal); }
.mobile-panel-header button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; border-radius: 0.5rem; font-family: 'Playfair Display', serif;
  font-size: 1.125rem; color: var(--charcoal); transition: background 0.2s;
}
.mobile-nav-link:hover { background: rgba(0,0,0,0.04); }
.mobile-nav-link.active { background: rgba(27,67,50,0.1); color: var(--nilgiri-deep); }
.mobile-nav-link svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Search Overlay */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  background: rgba(249,247,242,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 5rem 1.5rem 1.5rem; transform: translateY(-100%);
  transition: transform 0.4s var(--ease-luxury); box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.search-overlay.open { transform: translateY(0); }
.search-inner { max-width: 40rem; margin: 0 auto; position: relative; display: flex; align-items: center; gap: 0.75rem; }
.search-icon-overlay { color: var(--warm-gray); flex-shrink: 0; }
.search-icon-overlay svg { fill: none; stroke: currentColor; }
#search-input {
  flex: 1; padding: 1rem; background: var(--white); border: 1px solid rgba(212,175,55,0.4);
  border-radius: 0.5rem; font-size: 1rem; color: var(--charcoal); outline: none;
  transition: border-color 0.3s;
}
#search-input:focus { border-color: var(--nilgiri-deep); }
#close-search-btn { color: var(--warm-gray); padding: 0.5rem; flex-shrink: 0; }
#close-search-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-results { max-width: 40rem; margin: 0.75rem auto 0; }
.search-result-item { display: flex; gap: 0.75rem; padding: 0.75rem; background: var(--white); border-radius: 0.5rem; margin-bottom: 0.5rem; align-items: center; transition: box-shadow 0.2s; }
.search-result-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.search-result-item img { width: 3rem; height: 3rem; object-fit: cover; border-radius: 0.375rem; }
.search-result-name { font-family: 'Playfair Display', serif; font-size: 0.9rem; color: var(--charcoal); }
.search-result-price { font-size: 0.8rem; color: var(--gold-dark); margin-top: 0.1rem; }
.search-empty { text-align: center; color: var(--warm-gray); padding: 1rem; }

/* ---- Footer ---- */
.site-footer { background: var(--nilgiri-deep); color: var(--white); }
.footer-newsletter { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-newsletter-inner { max-width: 36rem; margin: 0 auto; text-align: center; padding: 4rem 1.5rem; }
.footer-newsletter-inner h3 { font-family: 'Playfair Display', serif; font-size: 1.75rem; margin-bottom: 1rem; }
.footer-newsletter-inner p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; line-height: 1.7; }
.newsletter-form { display: flex; gap: 0.75rem; flex-direction: column; }
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }
.newsletter-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.newsletter-input-wrap svg { position: absolute; left: 0.875rem; fill: none; stroke: rgba(255,255,255,0.4); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.newsletter-input-wrap input {
  width: 100%; padding: 0.875rem 1rem 0.875rem 2.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem; color: var(--white); outline: none; transition: border-color 0.3s;
}
.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input-wrap input:focus { border-color: var(--gold-primary); }
.newsletter-form button {
  padding: 0.875rem 1.25rem; background: var(--gold-primary); color: var(--charcoal);
  border-radius: 0.5rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem;
  white-space: nowrap; transition: background 0.3s;
}
.newsletter-form button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.newsletter-form button:hover { background: var(--gold-light); }

.footer-main { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; padding: 4rem; } }
@media (min-width: 1280px) { .footer-main { padding: 4rem 6rem; } }
.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand .logo-leaf { color: var(--gold-primary) !important; }
.footer-brand .logo-text { color: var(--white) !important; }
.footer-brand > p { color: rgba(255,255,255,0.65); font-size: 0.875rem; line-height: 1.8; margin-bottom: 1.5rem; max-width: 22rem; }
.footer-contacts { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.65); font-size: 0.8rem; }
.footer-contact-item svg { fill: none; stroke: var(--gold-primary); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.footer-links h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 1.25rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
@media (min-width: 1024px) { .footer-bottom { padding: 1.5rem 4rem; } }
@media (min-width: 1280px) { .footer-bottom { padding: 1.5rem 6rem; } }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-social a:hover { color: var(--gold-primary); }
.footer-social svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: color 0.3s; }
.footer-legal a:hover { color: var(--white); }

/* ---- Toast ---- */
#toast-container { position: fixed; bottom: 2rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  background: var(--nilgiri-deep); color: var(--white); padding: 0.875rem 1.25rem;
  border-radius: 0.5rem; border: 1px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
  transform: translateX(calc(100% + 2rem)); opacity: 0; transition: all 0.35s var(--ease-luxury);
  min-width: 240px; box-shadow: var(--shadow-luxury);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast svg { flex-shrink: 0; fill: none; stroke: var(--gold-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Page hero banner ---- */
.page-hero {
  position: relative; overflow: hidden; background: var(--nilgiri-deep);
  display: flex; align-items: center; justify-content: center;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; }
.page-hero-content { position: relative; z-index: 1; text-align: center; padding: 1.5rem; }
.page-hero-content h1 { font-family: 'Playfair Display', serif; color: var(--white); }
.page-hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.page-hero-eyebrow span { color: var(--gold-primary); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }
.page-hero-eyebrow::before, .page-hero-eyebrow::after { content: ''; flex: 0 0 2rem; height: 1px; background: var(--gold-primary); }

/* ---- Quantity controls ---- */
.qty-controls { display: flex; align-items: center; border: 1px solid rgba(212,175,55,0.4); border-radius: 0.5rem; overflow: hidden; }
.qty-btn { padding: 0.625rem 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; color: var(--charcoal); }
.qty-btn:hover { background: #f5f5f5; }
.qty-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.qty-value { min-width: 2.5rem; text-align: center; font-weight: 500; font-size: 0.9rem; }

/* ---- Form inputs ---- */
.input-field {
  width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--border);
  border-radius: 0.5rem; background: var(--white); color: var(--charcoal);
  font-size: 0.9rem; outline: none; transition: border-color 0.3s;
}
.input-field:focus { border-color: var(--nilgiri-deep); }
.input-label { display: block; font-size: 0.8rem; color: var(--warm-gray); margin-bottom: 0.5rem; }

/* ---- Responsive grid helpers ---- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- Tab UI ---- */
.tabs-nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tab-btn {
  padding: 0.875rem 1.5rem; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.03em;
  border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--warm-gray);
  transition: all 0.3s;
}
.tab-btn:hover { color: var(--charcoal); }
.tab-btn.active { border-bottom-color: var(--nilgiri-deep); color: var(--nilgiri-deep); }

/* ---- Toggle (switch) ---- */
.toggle-wrap { position: relative; width: 2.75rem; height: 1.5rem; flex-shrink: 0; }
.toggle-input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute; inset: 0; background: #D1D5DB; border-radius: 9999px;
  cursor: pointer; transition: background 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 1.125rem; height: 1.125rem;
  background: var(--white); border-radius: 50%; top: 3px; left: 3px;
  transition: transform 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-input:checked + .toggle-slider { background: var(--nilgiri-deep); }
.toggle-input:checked + .toggle-slider::before { transform: translateX(1.25rem); }

/* ---- Status badge ---- */
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; }
.status-delivered { background: #DCFCE7; color: #16A34A; }
.status-transit { background: #DBEAFE; color: #2563EB; }
.status-processing { background: #FEF9C3; color: #CA8A04; }

/* ---- Keyframes ---- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes scroll-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
