/* ============================================================
   ElectroHub – Main Stylesheet
   Palette: Cool tech blues + vibrant accents
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --green-dark:   #15347a;
  --green-mid:    #1d4ed8;
  --green-light:  #3b82f6;
  --green-pale:   #e8f5ee;
  --amber:        #f97316;
  --amber-light:  #f5a96a;
  --amber-pale:   #fef3eb;
  --cream:        #f5f7fb;
  --warm-gray:    #f4efe8;
  --text-dark:    #1c1c1c;
  --text-mid:     #4a4a4a;
  --text-light:   #7a7a7a;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    24px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   all .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.25; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--green-dark);
  margin-bottom: .4rem;
}
.section-subtitle {
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 2.5rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-fm {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary-fm:hover  { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,122,79,.35); color: var(--white); }
.btn-amber-fm {
  background: var(--amber);
  color: var(--white);
  border: none;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  transition: var(--transition);
}
.btn-amber-fm:hover { background: #c96a2a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(224,123,57,.35); color: var(--white); }
.btn-outline-fm {
  background: transparent;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  padding: .65rem 1.5rem;
  border-radius: 50px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  transition: var(--transition);
}
.btn-outline-fm:hover { background: var(--green-mid); color: var(--white); }

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: .45rem 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; }
.top-bar-left, .top-bar-right { display: flex; gap: 1.2rem; }
.top-bar span, .top-bar a { display: flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--amber-light); }

/* ── Main Navbar ─────────────────────────────────────────── */
.main-nav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 1000;
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; background: var(--green-mid); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark); }
.logo-text strong { color: var(--green-mid); }

/* Search */
.nav-search { flex: 1; max-width: 520px; position: relative; }
.nav-search input {
  width: 100%;
  padding: .62rem 3rem .62rem 1.1rem;
  border: 2px solid #e8e8e8;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .9rem;
  transition: var(--transition);
  background: var(--warm-gray);
}
.nav-search input:focus { outline: none; border-color: var(--green-light); background: white; }
.nav-search button {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  background: var(--green-mid); color: white;
  border: none; border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem;
  transition: var(--transition);
}
.nav-search button:hover { background: var(--green-dark); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.nav-cart-btn {
  position: relative;
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--green-dark);
  transition: var(--transition);
}
.nav-cart-btn:hover { background: var(--green-mid); color: white; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--amber);
  color: white; font-size: .65rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
}
.nav-link {
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--green-mid); background: var(--green-pale); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu-custom {
  position: absolute; top: calc(100% + .5rem); left: 0;
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px; padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition);
  z-index: 999;
}
.nav-dropdown:hover .dropdown-menu-custom { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu-custom a {
  display: block; padding: .55rem 1.2rem;
  font-size: .88rem; color: var(--text-mid);
  transition: var(--transition);
}
.dropdown-menu-custom a:hover { background: var(--green-pale); color: var(--green-dark); padding-left: 1.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: .5rem;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Alerts ──────────────────────────────────────────────── */
.flash-wrapper { margin: 1rem auto; }
.alert {
  padding: .9rem 1.2rem; border-radius: var(--radius-sm);
  font-size: .9rem; display: flex; align-items: center; gap: .7rem;
  margin: .5rem 0;
}
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }

/* ── Hero Banner ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0c1e4d 0%, #15347a 45%, #1d4ed8 100%);
  overflow: hidden;
  min-height: 580px;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); color: var(--amber-light);
  border: 1px solid rgba(255,255,255,.2);
  padding: .4rem 1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: white; margin-bottom: 1.2rem;
  line-height: 1.1;
}
.hero h1 span { color: var(--amber-light); }
.hero-desc { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong { display: block; font-size: 1.5rem; color: white; font-family: var(--font-display); }
.hero-stat span   { font-size: .8rem; color: rgba(255,255,255,.65); }

/* Hero image side & carousel slider */
.hero-image-wrap {
  position: relative;
  width: 100%;
  padding: 1.5rem;
}

/* ── Hero Carousel Slider (Glassmorphic) ── */
.hero-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem 2.2rem 1.5rem;
  transition: var(--transition);
}

.carousel-track {
  position: relative;
  height: 390px;
  overflow: visible;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(30px);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}

.carousel-slide.prev {
  transform: translateX(-30px);
}

/* Slide Content */
.slide-content-left {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
}

.slide-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slide-pill.restocked { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.slide-pill.bestseller { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.slide-pill.sale { background: linear-gradient(135deg, var(--amber), #c96a2a); }

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
  line-height: 1.25;
}

.slide-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 280px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slide-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.slide-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber-light);
}

.slide-compare {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.slide-cta:hover {
  background: var(--amber);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 123, 57, 0.4);
}

/* Slide Visual Right */
.slide-visual-right {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slide-img-backplate {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.01) 70%);
  animation: pulseBackplate 4s ease-in-out infinite alternate;
}

.slide-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
}

.slide-img-wrap img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
  animation: floatImage 4s ease-in-out infinite alternate;
}

.slide-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 3;
  animation: floatBadge 4s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

.slide-discount-badge span {
  font-size: 0.55rem;
  text-transform: uppercase;
  margin-top: -2px;
}

/* Slider Controls — hidden by design, navigation via dots only */
.carousel-prev, .carousel-next {
  display: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Animations */
@keyframes floatImage {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes pulseBackplate {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* Floating Card Fallback Styles (if needed) */
.hero-floating-cards {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .75rem;
  animation: floatCard 3s ease-in-out infinite alternate;
}
.hero-card:nth-child(1) { top: 20%; left: 8%; animation-delay: 0s; }
.hero-card:nth-child(2) { top: 55%; right: 5%; animation-delay: 1s; }
.hero-card:nth-child(3) { bottom: 15%; left: 20%; animation-delay: .5s; }
.hero-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.hero-card strong { display: block; font-size: .85rem; color: var(--text-dark); }
.hero-card span   { font-size: .75rem; color: var(--text-light); }

@keyframes floatCard { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }

/* ── Category Grid ───────────────────────────────────────── */
.categories-section { padding: 5rem 0 3rem; background: var(--cream); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.category-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.5rem 1rem;
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer; text-align: center;
  border: 2px solid transparent;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.category-card .cat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--green-mid); margin-bottom: .9rem;
  transition: var(--transition);
}
.category-card:hover .cat-icon { background: var(--green-mid); color: white; }
.category-card span { font-size: .82rem; font-weight: 600; color: var(--text-mid); }

/* ── Product Cards ───────────────────────────────────────── */
.products-section { padding: 4rem 0; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.product-image-wrap {
  position: relative;
  padding-top: 70%;
  background: var(--warm-gray);
  overflow: hidden;
}
.product-image-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s ease;
}
.product-card:hover .product-image-wrap img { transform: scale(1.06); }

.product-badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }
.badge-sale { background: var(--amber); color: white; font-size: .7rem; font-weight: 700; padding: .25rem .65rem; border-radius: 50px; }
.badge-new  { background: var(--green-mid); color: white; font-size: .7rem; font-weight: 700; padding: .25rem .65rem; border-radius: 50px; }

.product-wishlist {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  width: 32px; height: 32px; background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); cursor: pointer; font-size: .9rem;
  color: var(--text-light); transition: var(--transition);
  border: none;
}
.product-wishlist:hover { color: #e74c3c; transform: scale(1.15); }

.product-info { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-category-tag { font-size: .72rem; color: var(--green-mid); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.product-name { font-family: var(--font-display); font-size: 1rem; color: var(--text-dark); margin-bottom: .5rem; line-height: 1.35; flex: 1; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--green-mid); }

.product-price-wrap { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); }
.product-compare { font-size: .85rem; color: var(--text-light); text-decoration: line-through; }

.stock-low { font-size: .75rem; color: var(--amber); font-weight: 600; margin-bottom: .5rem; }
.stock-out { font-size: .75rem; color: #dc3545; font-weight: 600; margin-bottom: .5rem; }

.btn-add-cart {
  width: 100%; padding: .65rem;
  background: var(--green-mid);
  color: white; border: none; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--green-dark); }
.btn-add-cart:disabled { background: #ccc; cursor: not-allowed; }

/* ── Special Offers Banner ───────────────────────────────── */
.offers-banner {
  background: linear-gradient(135deg, var(--amber) 0%, #c96a2a 100%);
  padding: 3.5rem 0; margin: 2rem 0;
  position: relative; overflow: hidden;
}
.offers-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.offers-banner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: white; margin-bottom: .5rem; }
.offers-banner p  { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 1.5rem; }
.countdown { display: flex; gap: 1rem; }
.countdown-item { text-align: center; background: rgba(255,255,255,.15); border-radius: var(--radius-sm); padding: .6rem .9rem; min-width: 60px; }
.countdown-item strong { display: block; font-size: 1.4rem; color: white; font-family: var(--font-display); }
.countdown-item span { font-size: .65rem; color: rgba(255,255,255,.8); text-transform: uppercase; }

/* ── Why Choose Us ───────────────────────────────────────── */
.features-section { background: var(--green-pale); padding: 4rem 0; }
.feature-card {
  text-align: center; padding: 2rem 1.5rem;
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem; color: var(--green-mid);
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--green-mid); color: white; }
.feature-card h4 { font-size: 1rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .85rem; color: var(--text-light); }

/* ── Product Detail ──────────────────────────────────────── */
.product-detail-section { padding: 4rem 0; }
.product-detail-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.product-detail-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail-info { padding: 1rem 0; }
.product-detail-info .category-tag { font-size: .8rem; color: var(--green-mid); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .5rem 0 1rem; color: var(--green-dark); }
.detail-price { font-size: 2rem; font-weight: 700; color: var(--green-dark); }
.detail-compare { font-size: 1.1rem; color: var(--text-light); text-decoration: line-through; margin-left: .5rem; }
.product-description { color: var(--text-mid); line-height: 1.8; margin: 1.5rem 0; }
.qty-selector { display: flex; align-items: center; gap: 0; border: 2px solid #e0e0e0; border-radius: var(--radius-sm); overflow: hidden; width: fit-content; }
.qty-selector button { width: 40px; height: 44px; background: var(--warm-gray); border: none; font-size: 1rem; cursor: pointer; transition: var(--transition); }
.qty-selector button:hover { background: var(--green-mid); color: white; }
.qty-selector input { width: 60px; height: 44px; text-align: center; border: none; border-left: 2px solid #e0e0e0; border-right: 2px solid #e0e0e0; font-size: 1rem; font-weight: 600; font-family: var(--font-body); }
.qty-selector input:focus { outline: none; }

/* ── Cart ────────────────────────────────────────────────── */
.cart-section { padding: 4rem 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: .8rem 1rem; background: var(--warm-gray); font-size: .85rem; text-align: left; font-weight: 600; color: var(--text-mid); }
.cart-table td { padding: 1rem; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.cart-item-img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: .95rem; }
.cart-remove { background: none; border: none; color: #dc3545; cursor: pointer; font-size: .9rem; transition: var(--transition); }
.cart-remove:hover { transform: scale(1.3); }
.order-summary-card { background: var(--warm-gray); border-radius: var(--radius-md); padding: 1.8rem; }
.order-summary-card h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.2rem; color: var(--green-dark); }

/* Compact payment option cards */
.payment-card {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:12px 16px;
  border:2px solid rgba(0,0,0,0.08);
  border-radius:12px;
  cursor:pointer;
  margin-bottom:0.6rem;
  background: #fff;
  transition: background .12s ease,border-color .12s ease,box-shadow .12s ease;
}
.payment-card input[type="radio"]{ margin:0 10px 0 6px; width:18px; height:18px; accent-color: var(--green-dark); }
.payment-card i{ font-size:26px; line-height:1; color:var(--green-mid); }
.payment-card strong{ display:block; font-size:1rem; color:var(--text-dark); }
.payment-card span{ font-size:0.88rem; color:var(--text-light); }
.payment-card:hover{ border-color:rgba(0,0,0,0.12); box-shadow:0 2px 6px rgba(0,0,0,0.03); }
.payment-card.selected{ border:3px solid var(--green-mid); background: var(--green-pale); }

@media (max-width: 991px){
  .order-summary-card { padding: 1rem; }
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: .8rem; font-size: .92rem; color: var(--text-mid); }
.summary-total { display: flex; justify-content: space-between; border-top: 2px solid var(--green-light); padding-top: .9rem; margin-top: .5rem; font-weight: 700; font-size: 1.1rem; color: var(--green-dark); }

/* ── Checkout ────────────────────────────────────────────── */
.checkout-steps { display: flex; gap: 0; margin-bottom: 2.5rem; }
.checkout-step {
  flex: 1; text-align: center; padding: 1rem .5rem;
  background: var(--warm-gray); position: relative; font-size: .85rem;
  color: var(--text-light); font-weight: 500;
}
.checkout-step:not(:last-child)::after {
  content: '';
  position: absolute; right: -12px; top: 0;
  border-left: 12px solid var(--warm-gray);
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  z-index: 1;
}
.checkout-step.active { background: var(--green-mid); color: white; }
.checkout-step.active::after { border-left-color: var(--green-mid); }
.checkout-step.done { background: var(--green-pale); color: var(--green-dark); }
.checkout-step.done::after { border-left-color: var(--green-pale); }
.step-num { display: block; font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }

/* Form Elements */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--text-mid); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid #e0e0e0; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .92rem;
  transition: var(--transition); background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(76,175,128,.15);
}
.field-error { font-size: .8rem; color: #dc3545; margin-top: .3rem; }

/* ── Account Pages ───────────────────────────────────────── */
.account-section { padding: 4rem 0; background: var(--cream); min-height: calc(100vh - 200px); }
.auth-card { max-width: 480px; margin: 0 auto; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2.5rem; }
.auth-card h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-dark); margin-bottom: .3rem; }
.auth-card .subtitle { color: var(--text-light); font-size: .9rem; margin-bottom: 2rem; }

/* Account Dashboard */
.account-sidebar { background: white; border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.account-nav a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; color: var(--text-mid); transition: var(--transition); margin-bottom: .2rem; }
.account-nav a:hover, .account-nav a.active { background: var(--green-pale); color: var(--green-dark); font-weight: 600; }

/* ── Orders ──────────────────────────────────────────────── */
.order-status {
  display: inline-block; padding: .25rem .8rem;
  border-radius: 50px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.status-pending    { background: #fff3cd; color: #856404; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-shipped    { background: #d4edda; color: #155724; }
.status-delivered  { background: #d4edda; color: #155724; }
.status-cancelled  { background: #f8d7da; color: #721c24; }

/* ── Pagination ──────────────────────────────────────────── */
.pagination-nav { display: flex; justify-content: center; margin-top: 2.5rem; }
.pagination { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.pagination li a, .pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: white; color: var(--text-mid);
  box-shadow: var(--shadow-sm); font-size: .88rem;
  transition: var(--transition);
}
.pagination li a:hover { background: var(--green-mid); color: white; }
.pagination li.active a { background: var(--green-dark); color: white; font-weight: 700; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb-bar { background: var(--warm-gray); padding: .9rem 0; }
.breadcrumb-list { display: flex; gap: .5rem; align-items: center; font-size: .85rem; flex-wrap: wrap; }
.breadcrumb-list li { color: var(--text-light); }
.breadcrumb-list li + li::before { content: '/'; margin-right: .5rem; color: #ccc; }
.breadcrumb-list li a { color: var(--green-mid); }
.breadcrumb-list li a:hover { text-decoration: underline; }

/* ── Admin Panel ─────────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--green-dark);
  flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  overflow-y: auto; display: flex; flex-direction: column;
}
.admin-brand { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-brand .logo-text { color: white; font-size: 1.3rem; }
.admin-nav { padding: 1rem 0; flex: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.4rem; color: rgba(255,255,255,.75);
  font-size: .88rem; font-weight: 500; transition: var(--transition);
}
.admin-nav a i { width: 18px; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: white; }
.admin-nav a.active { border-left: 3px solid var(--green-light); }
.admin-nav .nav-section-title { padding: .6rem 1.4rem; font-size: .7rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-top: .5rem; }

/* Admin mobile hamburger toggle (hidden on desktop) */
.admin-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0;
}
.admin-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.admin-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.admin-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.admin-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.admin-main { flex: 1; padding: 2rem; background: #f5f5f5; overflow-x: auto; }
.admin-header { margin-bottom: 2rem; }
.admin-header h1 { font-size: 1.6rem; color: var(--green-dark); }
.admin-header p { color: var(--text-light); font-size: .9rem; }

/* Stat Cards */
.stat-card {
  background: white; border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 1rem;
}
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-card strong { display: block; font-size: 1.6rem; color: var(--text-dark); font-family: var(--font-display); }
.stat-card span  { font-size: .82rem; color: var(--text-light); }

/* Admin Tables */
.admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th { padding: .9rem 1rem; background: var(--green-dark); color: white; font-size: .82rem; text-align: left; font-weight: 600; }
.admin-table td { padding: .85rem 1rem; border-bottom: 1px solid #f0f0f0; font-size: .88rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

.btn-sm { padding: .35rem .8rem; font-size: .78rem; border-radius: var(--radius-sm); border: none; cursor: pointer; font-weight: 600; transition: var(--transition); display: inline-flex; align-items: center; gap: .3rem; }
.btn-edit   { background: #d1ecf1; color: #0c5460; }
.btn-delete { background: #f8d7da; color: #721c24; }
.btn-view   { background: var(--green-pale); color: var(--green-dark); }
.btn-sm:hover { opacity: .85; }

/* Admin Form */
.admin-form-card { background: white; border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }

/* ── Newsletter Section ───────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, #15347a 100%);
  padding: 4rem 0; text-align: center;
}
.newsletter-section h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.newsletter-section p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 0; max-width: 460px; margin: 0 auto; }
.newsletter-input-wrap { display: flex; gap: 0; width: 100%; }
.newsletter-input-wrap input {
  flex: 1; padding: .8rem 1.2rem;
  border: none; border-radius: 50px 0 0 50px;
  font-family: var(--font-body); font-size: .9rem;
}
.newsletter-input-wrap input:focus { outline: none; }
.newsletter-input-wrap button {
  padding: .8rem 1.4rem;
  background: var(--amber); color: white; border: none;
  border-radius: 0 50px 50px 0; cursor: pointer;
  font-size: .9rem; transition: var(--transition);
}
.newsletter-input-wrap button:hover { background: #c96a2a; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #0e1c14; }
.footer-top { padding: 4rem 0; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .logo-icon { background: var(--green-mid); }
.footer-brand .logo-text { color: white; font-size: 1.4rem; }
.footer-tagline { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .7rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { background: var(--green-mid); color: white; }
.footer-heading { font-family: var(--font-display); font-size: 1rem; color: white; margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .87rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-left: .3rem; }
.footer-newsletter-text { font-size: .87rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-badges span { background: rgba(255,255,255,.07); color: rgba(255,255,255,.55); font-size: .75rem; padding: .35rem .8rem; border-radius: 50px; display: flex; align-items: center; gap: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }
.footer-payment-icons { display: flex; gap: .7rem; font-size: 1.5rem; color: rgba(255,255,255,.3); }

/* ── Filter Sidebar ──────────────────────────────────────── */
.filter-sidebar { background: white; border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }
.filter-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-dark); margin-bottom: 1.2rem; border-bottom: 2px solid var(--green-pale); padding-bottom: .7rem; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group h6 { font-size: .82rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.filter-check { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; cursor: pointer; font-size: .88rem; color: var(--text-mid); }
.filter-check input { accent-color: var(--green-mid); cursor: pointer; }
.price-range input { accent-color: var(--green-mid); width: 100%; }
.price-values { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-light); margin-top: .4rem; }

/* ── Success / Confirm ───────────────────────────────────── */
.success-section { padding: 5rem 0; text-align: center; background: var(--cream); }
.success-icon { width: 100px; height: 100px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--green-mid); margin: 0 auto 1.5rem; }
.success-section h1 { font-size: 2rem; color: var(--green-dark); margin-bottom: .5rem; }
.success-section p  { color: var(--text-mid); max-width: 480px; margin: 0 auto 2rem; }
.order-detail-card { background: white; border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); text-align: left; max-width: 600px; margin: 0 auto 2rem; }

/* ── Utilities ───────────────────────────────────────────── */
.text-green { color: var(--green-mid); }
.text-amber { color: var(--amber); }
.bg-green-pale { background: var(--green-pale); }
.section-heading-wrap { text-align: center; margin-bottom: 2.5rem; }
.divider { width: 60px; height: 3px; background: var(--amber); border-radius: 2px; margin: .8rem auto 0; }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-light); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; color: #ddd; }
.empty-state h3 { font-size: 1.2rem; color: var(--text-mid); margin-bottom: .5rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-image-wrap { display: none; }
  .hero { min-height: auto; padding: 3rem 0; }
  .admin-sidebar { width: 220px; }
}

@media (max-width: 767px) {
  .top-bar { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links {
    display: none; flex-direction: column;
    width: 100%;
    gap: .2rem; padding: .8rem 0 1rem;
    border-top: 1px solid #f0f0f0;
  }
  .nav-links.open { display: flex; }
  .nav-dropdown .dropdown-menu-custom { position: static; box-shadow: none; transform: none; opacity: 1; visibility: visible; padding-left: 1rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: sticky; top: 0; z-index: 999; flex-direction: column; padding: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .admin-brand { padding: 0.8rem 1rem; border-bottom: none; display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .admin-brand .brand-subtitle { display: none; }
  .admin-mobile-toggle { display: flex !important; }
  .admin-nav { display: none; flex-direction: column; padding: 0; width: 100%; max-height: calc(100vh - 60px); overflow-y: auto; background: var(--green-dark); }
  .admin-nav.open { display: flex; border-top: 1px solid rgba(255,255,255,.1); }
  .admin-nav .nav-section-title { padding: 1rem 1.4rem 0.3rem; margin-top: 0; }
  .admin-nav a { padding: 0.8rem 1.4rem; font-size: 0.9rem; gap: 0.8rem; border-left: none; border-bottom: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: row; align-items: center; }
  .admin-nav a.active { border-left: none; border-left: 3px solid var(--green-light); border-bottom: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.05); }
  .admin-sidebar > div:last-child { display: none; }
  .admin-sidebar.nav-open > div:last-child { display: block; background: var(--green-dark); border-top: 1px solid rgba(255,255,255,.1); }
  .admin-main { padding: 1rem; }
  .admin-header h1 { font-size: 1.4rem; }
  .admin-form-card { padding: 1rem; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
  .checkout-steps { flex-direction: column; }
  .checkout-step::after { display: none; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; border-bottom: 1px solid #eee; padding: .8rem 0; }
  .cart-table td { display: flex; align-items: center; justify-content: space-between; border: none; padding: .3rem .5rem; }
  .cart-table td::before { content: attr(data-label); font-weight: 600; font-size: .8rem; color: var(--text-light); }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Loading overlay ─────────────────────────────────────── */
.loading-spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Fade-in animation (scroll reveal) ──────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delay for grid items */
.fade-in-up:nth-child(2) { transition-delay: .07s; }
.fade-in-up:nth-child(3) { transition-delay: .14s; }
.fade-in-up:nth-child(4) { transition-delay: .21s; }
.fade-in-up:nth-child(5) { transition-delay: .28s; }
.fade-in-up:nth-child(6) { transition-delay: .35s; }

/* ── Admin table row hover ───────────────────────────────── */
.admin-table tbody tr { transition: background .15s ease; }
.admin-table tbody tr:hover td { background: #f7fdf9 !important; }

/* ── Form focus ring ─────────────────────────────────────── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(76,175,128,.18);
}

/* ── Badge pulse animation ───────────────────────────────── */
.cart-badge {
  transition: transform .2s cubic-bezier(.175,.885,.32,1.275);
}

/* ── Product card overlay on hover ──────────────────────── */
.product-image-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,92,56,.0);
  transition: background .3s ease;
  z-index: 1;
}
.product-card:hover .product-image-wrap::after {
  background: rgba(26,92,56,.06);
}

/* ── Checkout step arrows (mobile fix) ──────────────────── */
@media (min-width: 576px) {
  .checkout-step { min-height: 56px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
}

/* ── Account nav active indicator ───────────────────────── */
.account-nav a.active {
  box-shadow: inset 3px 0 0 var(--green-mid);
}

/* ── Admin sidebar scrollbar ─────────────────────────────── */
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

/* ── Table responsive wrapper ────────────────────────────── */
.table-responsive-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }

/* ── Input group (newsletter) ────────────────────────────── */
.newsletter-input-wrap input:focus { outline: none; box-shadow: none; }

/* ── Hero gradient overlay for mobile ───────────────────── */
@media (max-width: 767px) {
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero-stats { gap: 1.2rem; }
  .hero-btns { gap: .7rem; }
}

/* ── Product detail image zoom on hover ─────────────────── */
.product-detail-image { overflow: hidden; }
.product-detail-image img { transition: transform .5s ease; }
.product-detail-image:hover img { transform: scale(1.03); }

/* ── Sticky order summary ────────────────────────────────── */
@media (min-width: 992px) {
  .order-summary-sticky { position: sticky; top: 90px; }
}

/* ── Status badge in admin ───────────────────────────────── */
.status-pending    { background: #fff3cd !important; color: #856404 !important; }
.status-processing { background: #cce5ff !important; color: #004085 !important; }
.status-shipped    { background: #d4edda !important; color: #155724 !important; }
.status-delivered  { background: #c3e6cb !important; color: #0d4b1e !important; }
.status-cancelled  { background: #f8d7da !important; color: #721c24 !important; }

/* ── Toast notification ──────────────────────────────────── */
.fm-toast { pointer-events: none; }

/* ── Print styles ────────────────────────────────────────── */
@media print {
  .main-nav, .top-bar, .site-footer, .btn-add-cart, .nav-actions { display: none !important; }
  body { font-size: 12pt; }
}
