/* Zavi Wholesale - Shared Stylesheet */

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #E8F5E9;
  --dark: #1a1a1a;
  --white: #ffffff;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #eeeeee;
  --grey-300: #e0e0e0;
  --grey-400: #bdbdbd;
  --grey-500: #9e9e9e;
  --grey-600: #757575;
  --grey-700: #424242;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.10), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark);
  background: var(--grey-100);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 767px) {
  .container { padding: 0 16px; }
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  flex-shrink: 0;
}
.brand img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .b1 { color: var(--green); font-weight: 800; letter-spacing: 0.2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--grey-700);
  transition: var(--transition);
  font-size: 0.95rem;
}
.nav-links a:hover { background: var(--green-light); color: var(--green); }
.nav-links a.active {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 4px 10px -2px rgba(46,125,50,0.4);
}
.nav-links a.active:hover { background: var(--green-dark); color: var(--white); }

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

.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.cart-btn:hover { background: var(--green); color: var(--white); transform: scale(1.05); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: #d32f2f;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.cart-count.hidden { display: none; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 250ms cubic-bezier(0.4,0,0.2,1), opacity 250ms ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav (under 768px) */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 280ms cubic-bezier(0.4,0,0.2,1);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--grey-200);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .brand-text .b1 { font-size: 1rem; }
  .brand img { height: 40px; }
  .brand { gap: 8px; }
  .nav-wrap { gap: 10px; }
  .nav-right { gap: 8px; }
  :root { --header-height: 64px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(rgba(0,0,0,0.62), rgba(26,26,26,0.78)),
    url('https://images.unsplash.com/photo-1604719312566-8912e9227c6a?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--grey-100));
  pointer-events: none;
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 60px 0;
  animation: heroFadeIn 900ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(46,125,50,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #B9F6CA;
}
.hero-eyebrow i { color: #69F0AE; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero h1 .accent {
  color: #69F0AE;
  background: linear-gradient(120deg, #69F0AE, #B9F6CA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: 0.94;
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll i { font-size: 1rem; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Disable fixed-attachment on mobile (jittery + scroll-jacking) */
@media (max-width: 1023px) {
  .hero { background-attachment: scroll; }
  .hero-scroll { display: none; }
}
@media (max-width: 767px) {
  .hero { min-height: calc(100vh - var(--header-height)); }
  .hero h1 { font-size: 1.9rem; letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 14px; }
  .hero p { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-eyebrow { font-size: 0.72rem; padding: 6px 12px; margin-bottom: 16px; }
  .hero-inner { padding: 40px 0; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  min-height: 44px;
}
@media (max-width: 767px) {
  .btn { padding: 12px 22px; min-height: 48px; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; min-height: 52px; }
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-secondary:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--grey-300); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ============ SECTIONS ============ */
.section { padding: 70px 0; }
.section-tight { padding: 50px 0; }
.section-white { background: var(--white); }
.section-grey { background: var(--grey-100); }
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .section-tight { padding: 36px 0; }
}

.section-head { text-align: center; margin-bottom: 50px; }
@media (max-width: 767px) {
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 1.6rem; }
  .section-head p { font-size: 0.95rem; }
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-head .eyebrow i { font-size: 0.7rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-head p { color: var(--grey-600); max-width: 640px; margin: 0 auto; font-size: 1.02rem; line-height: 1.6; }

/* ============ CATEGORIES GRID ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 767px) {
  .cat-grid { grid-template-columns: 1fr; gap: 10px; }
}

.cat-card {
  --accent: var(--green);
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 14px;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 220ms cubic-bezier(0.4,0,0.2,1), box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.cat-card:hover {
  transform: translateX(4px);
  border-color: var(--grey-300);
  border-left-color: var(--accent);
  border-left-width: 6px;
  padding-left: 12px;
  background: var(--grey-50);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 30%, transparent), 0 2px 6px rgba(0,0,0,0.05);
}
.cat-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.cat-icon-tile {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transition: background 220ms ease, transform 220ms ease;
}
.cat-card:hover .cat-icon-tile {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .cat-icon-tile { background: rgba(0,0,0,0.06); }
}

.cat-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--dark);
  letter-spacing: -0.15px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-count {
  font-size: 0.78rem;
  color: var(--grey-500);
  font-weight: 500;
}

.cat-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: 0.85rem;
  transition: color 220ms ease, transform 220ms ease;
}
.cat-card:hover .cat-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.cat-age-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: #D32F2F;
  color: var(--white);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 100px;
  box-shadow: 0 3px 8px rgba(211,47,47,0.45);
  z-index: 2;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
}
.product-card {
  --accent: var(--green);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms cubic-bezier(0.4,0,0.2,1), box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.15), 0 6px 12px -4px rgba(0,0,0,0.06);
}
.product-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.product-img {
  aspect-ratio: 1;
  background: var(--grey-100);
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms ease;
  padding: 8px;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-cat {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  z-index: 2;
}
.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: auto;
}
.product-price .unit { font-size: 0.75rem; font-weight: 500; color: var(--grey-500); margin-left: 4px; }
.add-btn {
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
}
.add-btn:hover { background: var(--green); }
.add-btn.added { background: var(--green); }
@media (max-width: 767px) {
  .add-btn { min-height: 44px; padding: 12px 14px; font-size: 0.9rem; }
}

/* ============ ABOUT US ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.about-tag i { font-size: 0.7rem; }
.about-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.about-content p {
  color: var(--grey-700);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}
.stat-box {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: 22px 20px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms ease;
}
.stat-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat-box:hover::before { transform: scaleX(1); }
.stat-icon { color: var(--green); font-size: 1.2rem; margin-bottom: 8px; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -0.5px; }
.stat-label { color: var(--grey-600); font-size: 0.82rem; font-weight: 600; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.8px; }
.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4,0,0.2,1);
}
.about-image-wrap:hover img { transform: scale(1.04); }
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(46,125,50,0.25));
  z-index: 1;
  pointer-events: none;
}
.about-image-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-image-badge i {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.about-image-badge .b-num { font-weight: 800; font-size: 1.3rem; color: var(--dark); line-height: 1; }
.about-image-badge .b-text { font-size: 0.78rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; margin-top: 3px; }

@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image-wrap { aspect-ratio: 16/11; max-height: 420px; }
  .about-image-wrap img { object-position: center; }
}
@media (max-width: 767px) {
  .about-grid { gap: 28px; }
  .about-content h2 { font-size: 1.6rem; }
  .about-content p { font-size: 0.97rem; }
  .about-image-wrap { aspect-ratio: 4/3; max-height: 340px; }
  .about-image-badge { padding: 12px 14px; bottom: 14px; left: 14px; gap: 10px; }
  .about-image-badge i { width: 38px; height: 38px; font-size: 0.9rem; }
  .about-image-badge .b-num { font-size: 1.05rem; }
  .about-image-badge .b-text { font-size: 0.7rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
  .stat-box { padding: 16px 14px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.72rem; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 22px 20px; }
}
.why-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--green);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--grey-600); font-size: 0.95rem; line-height: 1.6; }

.contact-strip {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
@media (max-width: 1023px) {
  .contact-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 767px) {
  .contact-strip-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-strip { padding: 36px 0; }
}
.cs-item .cs-icon {
  width: 48px; height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.1rem;
}
.cs-item .cs-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grey-400); margin-bottom: 6px; font-weight: 600; }
.cs-item .cs-value { font-weight: 600; color: var(--white); font-size: 1rem; word-break: break-word; }
.cs-item a:hover { color: #4caf50; }

/* ============ FOOTER ============ */
.site-footer {
  background: #0f0f0f;
  color: var(--grey-400);
  padding: 70px 0 24px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), #69F0AE, var(--green));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--green);
}
.footer-grid p { font-size: 0.92rem; line-height: 1.75; margin-bottom: 18px; color: var(--grey-400); }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-grid ul li i.lead { color: var(--green); margin-top: 4px; flex-shrink: 0; width: 14px; text-align: center; }
.footer-grid ul a { font-size: 0.93rem; color: var(--grey-400); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-grid ul a:hover { color: var(--green); transform: translateX(3px); }
.footer-grid ul a i { font-size: 0.7rem; opacity: 0.6; }
.footer-brand img { height: 60px; margin-bottom: 16px; filter: brightness(1.1); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 0.95rem;
}
.footer-social a:hover { background: var(--green); transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 16px rgba(46,125,50,0.4); }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer-contact-row .fci {
  width: 34px; height: 34px;
  background: rgba(46,125,50,0.15);
  color: #69F0AE;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.footer-contact-row:hover .fci { background: var(--green); color: var(--white); }
.footer-contact-row .fc-label { font-size: 0.7rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 3px; display: block; }
.footer-contact-row .fc-value { color: var(--grey-300); }
.footer-contact-row .fc-value a { color: var(--grey-300); }
.footer-contact-row .fc-value a:hover { color: #69F0AE; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .sep { color: var(--grey-700); }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 0 20px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .footer-bottom .sep { display: none; }
}

/* ============ CART SIDEBAR ============ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: var(--white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}
.cart-sidebar.open { transform: translateX(0); }
@media (max-width: 767px) {
  .cart-sidebar { width: 100vw; max-width: 100vw; }
  .cart-head { padding: 16px 18px; }
  .cart-body { padding: 12px 18px; }
  .cart-foot { padding: 16px 18px; }
  .cart-item { grid-template-columns: 56px 1fr auto; gap: 10px; padding: 12px 0; }
  .cart-item img { width: 56px; height: 56px; }
  .cart-item-name { font-size: 0.88rem; }
  .cart-foot .btn { width: 100%; }
}

.cart-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-head h3 { font-size: 1.25rem; font-weight: 700; }
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grey-100);
  font-size: 1rem;
  transition: var(--transition);
}
.cart-close:hover { background: var(--grey-200); }

.cart-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--grey-500);
}
.cart-empty i { font-size: 3.5rem; color: var(--grey-300); margin-bottom: 16px; display: block; }
.cart-empty h4 { color: var(--grey-700); font-size: 1.1rem; margin-bottom: 6px; }

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-200);
}
.cart-item:last-child { border-bottom: none; }
.cart-item img {
  width: 70px; height: 70px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--grey-100);
  padding: 4px;
}
.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { font-size: 0.82rem; color: var(--grey-600); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.qty-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--grey-100);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--green); color: var(--white); }
.qty-val { font-weight: 700; min-width: 32px; text-align: center; font-size: 0.95rem; }
@media (max-width: 767px) {
  .qty-btn { width: 36px; height: 36px; font-size: 1rem; }
  .qty-val { min-width: 36px; }
}
.cart-item-remove {
  width: 36px; height: 36px;
  color: var(--grey-500);
  border-radius: 6px;
  transition: var(--transition);
  font-size: 0.85rem;
}
.cart-item-remove:hover { color: #d32f2f; background: #ffebee; }

.cart-foot {
  border-top: 1px solid var(--grey-200);
  padding: 20px 24px;
  background: var(--grey-50);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.cart-subtotal-label { color: var(--grey-700); }
.cart-subtotal-val { font-weight: 800; font-size: 1.35rem; color: var(--green); }

/* ============ FLOATING BUTTONS ============ */
.fab-cart, .fab-whatsapp {
  position: fixed;
  bottom: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 90;
  transition: transform 250ms cubic-bezier(0.4,0,0.2,1), box-shadow 250ms ease;
  color: var(--white);
}
.fab-cart {
  right: 28px;
  background: var(--green);
  box-shadow: 0 6px 18px rgba(46,125,50,0.4);
}
.fab-cart:hover { transform: scale(1.08) translateY(-2px); background: var(--green-dark); box-shadow: 0 10px 28px rgba(46,125,50,0.55); }
.fab-cart .cart-count { top: -2px; right: -2px; border-color: var(--white); }

.fab-whatsapp {
  left: 28px;
  background: #25D366;
  box-shadow: 0 6px 18px rgba(37,211,102,0.4);
  font-size: 1.55rem;
}
.fab-whatsapp:hover { transform: scale(1.08) translateY(-2px); background: #1ebe5d; box-shadow: 0 10px 28px rgba(37,211,102,0.55); }
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: fabPulse 2.5s ease-out infinite;
  pointer-events: none;
}
.fab-whatsapp::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  background: var(--dark);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.fab-whatsapp:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes fabPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 767px) {
  .fab-whatsapp::after { display: none; }
}

@media (max-width: 767px) {
  .fab-cart, .fab-whatsapp { width: 50px; height: 50px; font-size: 1.2rem; bottom: 18px; }
  .fab-cart { right: 16px; }
  .fab-whatsapp { left: 16px; font-size: 1.3rem; }
}

/* ============ PRODUCTS PAGE ============ */
.page-head {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}
.page-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 8px; }
@media (max-width: 767px) {
  .page-head { padding: 36px 0 32px; }
  .page-head h1 { font-size: 1.6rem; }
  .page-head p { font-size: 0.92rem; }
}
.page-head p { opacity: 0.9; }

.toolbar {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
}
.toolbar input, .toolbar select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: var(--transition);
}
.toolbar input:focus, .toolbar select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}
.toolbar .input-wrap { position: relative; }
.toolbar .input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--grey-500); }
.toolbar .input-wrap input { padding-left: 40px; }
@media (max-width: 1023px) {
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .input-wrap { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .toolbar { grid-template-columns: 1fr; padding: 14px; gap: 10px; }
  .toolbar input, .toolbar select { min-height: 48px; font-size: 16px; }
}

.result-count { color: var(--grey-600); font-size: 0.92rem; margin-bottom: 18px; }
.result-count strong { color: var(--dark); }

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--grey-500);
}
.no-results i { font-size: 3.5rem; color: var(--grey-300); margin-bottom: 16px; display: block; }

/* ============ PRODUCT DETAIL PAGE ============ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--grey-600);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--grey-600);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--grey-400); font-size: 0.7rem; }
.breadcrumb .current { color: var(--dark); font-weight: 600; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 1023px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
}
@media (max-width: 767px) {
  .product-detail { padding: 16px; gap: 22px; }
  .pd-image-wrap { aspect-ratio: 4/3; }
  .pd-image-wrap img { padding: 14px; }
  .pd-name { font-size: 1.35rem; }
  .pd-price { font-size: 1.8rem; }
  .pd-cat-badge { font-size: 0.68rem; padding: 4px 10px; top: 10px; left: 10px; }
  .pd-qty-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .pd-qty { justify-content: space-between; }
  .pd-qty button { width: 48px; height: 48px; }
  .pd-qty input { flex: 1; height: 48px; min-width: 70px; }
  .pd-actions { grid-template-columns: 1fr; }
  .pd-actions .btn { width: 100%; }
  .pd-meta { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pd-meta-card { padding: 12px; gap: 10px; }
  .pd-meta-card i { width: 32px; height: 32px; }
  .pd-info-table { font-size: 0.88rem; display: block; overflow-x: auto; }
  .pd-info-table th, .pd-info-table td { padding: 10px 12px; }
  .pd-section-title { font-size: 0.72rem; }
}

.pd-image-wrap {
  position: relative;
  background: var(--grey-100);
  border-radius: var(--radius);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 500ms cubic-bezier(0.4,0,0.2,1);
}
.pd-image-wrap:hover img { transform: scale(1.04); }
.pd-cat-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent, var(--green));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.pd-info { display: flex; flex-direction: column; gap: 18px; }
.pd-cat-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent, var(--green));
  background: color-mix(in srgb, var(--accent, var(--green)) 12%, transparent);
  padding: 6px 14px;
  border-radius: 100px;
  transition: var(--transition);
}
.pd-cat-link:hover { background: var(--accent, var(--green)); color: var(--white); }
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .pd-cat-link { background: var(--green-light); color: var(--green); }
}

.pd-name {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin: 0;
}

.pd-price {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--accent, var(--green));
  letter-spacing: -1px;
  line-height: 1;
}
.pd-price-meta { font-size: 0.85rem; color: var(--grey-600); margin-top: 4px; }

.pd-divider {
  height: 1px;
  background: var(--grey-200);
  margin: 6px 0;
}

.pd-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-600);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-section-title i { color: var(--accent, var(--green)); }
.pd-description {
  color: var(--grey-700);
  line-height: 1.7;
  font-size: 0.97rem;
}
.pd-description-empty {
  color: var(--grey-500);
  font-style: italic;
  font-size: 0.92rem;
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pd-qty {
  display: inline-flex;
  align-items: center;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
}
.pd-qty button {
  width: 40px; height: 40px;
  background: var(--white);
  color: var(--dark);
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pd-qty button:hover { background: var(--green); color: var(--white); }
.pd-qty button:disabled { opacity: 0.4; cursor: not-allowed; background: var(--grey-200); color: var(--grey-500); }
.pd-qty button:disabled:hover { background: var(--grey-200); color: var(--grey-500); }
.pd-qty input {
  width: 60px;
  height: 40px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  background: transparent;
  font-family: inherit;
  color: var(--dark);
}
.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty input[type=number] { -moz-appearance: textfield; }
.pd-qty input:focus { outline: none; }

.pd-actions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.pd-actions .btn { padding: 16px 22px; }
@media (max-width: 767px) {
  .pd-actions { grid-template-columns: 1fr; }
}

.pd-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.pd-meta-card {
  background: var(--grey-50);
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-meta-card i {
  width: 36px; height: 36px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-meta-card .pd-meta-label { font-size: 0.72rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.pd-meta-card .pd-meta-value { font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-top: 2px; }

.pd-not-found {
  background: var(--white);
  border-radius: var(--radius);
  padding: 80px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.pd-not-found i { font-size: 4rem; color: var(--grey-300); margin-bottom: 18px; display: block; }
.pd-not-found h2 { font-size: 1.6rem; margin-bottom: 8px; }
.pd-not-found p { color: var(--grey-600); margin-bottom: 22px; }

.related-section { margin-top: 60px; }
.related-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-section h2 i { color: var(--green); }
@media (max-width: 767px) {
  .related-section { margin-top: 36px; }
  .related-section h2 { font-size: 1.2rem; margin-bottom: 14px; }
  /* Override the single-column product grid so related shows 2 cols on mobile */
  .related-section .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .related-section .product-card { font-size: 0.85rem; }
  .related-section .product-name { font-size: 0.85rem; min-height: 2.4em; }
  .related-section .product-price { font-size: 1rem; }
  .related-section .add-btn { padding: 8px 10px; font-size: 0.78rem; min-height: 40px; }
  .related-section .product-cat { font-size: 0.62rem; padding: 3px 8px; }
  .related-section .product-body { padding: 10px; gap: 6px; }
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .contact-grid { gap: 24px; }
  .contact-info-card { padding: 22px; }
  .contact-form { padding: 22px; }
  .map-wrap { margin-top: 20px; }
  .map-wrap iframe { height: 280px; }
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-200);
}
.info-row:last-child { border-bottom: none; }
.info-row .info-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.info-row .info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--grey-600); margin-bottom: 4px; font-weight: 600; }
.info-row .info-value { font-weight: 600; color: var(--dark); }
.info-row a:hover { color: var(--green); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--grey-700);
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: var(--transition);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 767px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-row input, .form-row textarea, .form-row select { min-height: 48px; font-size: 16px; }
  .form-row textarea { min-height: 110px; }
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
  background: var(--white);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

.hours-list { list-style: none; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--grey-200);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: var(--grey-700); font-weight: 500; }
.hours-list .time { color: var(--dark); font-weight: 600; }
.hours-list .closed { color: #d32f2f; }

/* ============ CHECKOUT ============ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1023px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 22px; }
  /* Order summary moves above the form on tablet/mobile so users see what they're paying for first */
  .checkout-grid > div:last-child .checkout-section { position: static !important; }
}
@media (max-width: 767px) {
  .checkout-section { padding: 20px; margin-bottom: 16px; }
  .checkout-section h3 { font-size: 1.05rem; }
  .delivery-toggle { grid-template-columns: 1fr; }
}
.checkout-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.checkout-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-200);
  display: flex; align-items: center; gap: 10px;
}
.checkout-section h3 i { color: var(--green); }

.summary-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-200);
  align-items: center;
}
.summary-item:last-child { border-bottom: none; }
.summary-item img { width: 60px; height: 60px; object-fit: contain; border-radius: var(--radius-sm); background: var(--grey-100); padding: 4px; }
.summary-item .sm-name { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.summary-item .sm-qty { font-size: 0.8rem; color: var(--grey-600); margin-top: 3px; }
.summary-item .sm-line { font-weight: 700; color: var(--green); font-size: 0.95rem; white-space: nowrap; }

.totals-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; color: var(--grey-700); }
.totals-row.grand {
  border-top: 2px solid var(--dark);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}
.totals-row.grand .val { color: var(--green); font-size: 1.4rem; }

.payment-options { display: grid; gap: 10px; }
.payment-option {
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-option:hover { border-color: var(--grey-300); background: var(--grey-50); }
.payment-option input { margin: 0; width: 18px; height: 18px; accent-color: var(--green); }
.payment-option.active { border-color: var(--green); background: var(--green-light); }
.payment-option .po-icon { width: 36px; height: 36px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.payment-option .po-body { flex: 1; }
.payment-option .po-title { font-weight: 600; font-size: 0.95rem; }
.payment-option .po-desc { font-size: 0.82rem; color: var(--grey-600); margin-top: 2px; }

.bank-details {
  display: none;
  background: var(--grey-50);
  border-left: 3px solid var(--green);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 8px;
  font-size: 0.9rem;
}
.bank-details.show { display: block; }
.bank-details strong { color: var(--dark); }

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
@media (max-width: 767px) {
  .action-row { grid-template-columns: 1fr; }
  .action-row .btn { width: 100%; }
}

.delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.delivery-toggle .payment-option { margin: 0; }

/* ============ SCROLL ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.3, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.in-d1 { transition-delay: 80ms; }
.fade-up.in-d2 { transition-delay: 160ms; }
.fade-up.in-d3 { transition-delay: 240ms; }
.fade-up.in-d4 { transition-delay: 320ms; }
.fade-up.in-d5 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-up.in { opacity: 1; transform: none; transition: none; }
  .hero-inner { animation: none; }
  .fab-whatsapp::before { animation: none; }
  .hero-scroll { animation: none; }
  .hero { background-attachment: scroll; }
}

/* ============ TOASTS ============ */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 250ms ease, opacity 250ms ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: #4caf50; font-size: 1.1rem; }

/* ============ AGE GATE MODAL ============ */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.age-gate-overlay.open { opacity: 1; pointer-events: auto; }
.age-gate-card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 38px 32px 32px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
  transform: scale(0.92);
  transition: transform 280ms cubic-bezier(0.4,0,0.2,1);
}
.age-gate-overlay.open .age-gate-card { transform: scale(1); }
.age-gate-icon {
  width: 78px; height: 78px;
  margin: 0 auto 22px;
  background: #FFEBEE;
  color: #D32F2F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid #FFCDD2;
}
.age-gate-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.age-gate-card p {
  color: var(--grey-700);
  margin-bottom: 26px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.age-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.age-gate-actions .btn { padding: 13px 18px; font-size: 0.95rem; }
.btn-danger { background: #D32F2F; color: var(--white); }
.btn-danger:hover { background: #B71C1C; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(211,47,47,0.35); }
.age-gate-card small {
  display: block;
  margin-top: 18px;
  color: var(--grey-500);
  font-size: 0.78rem;
}
@media (max-width: 767px) {
  .age-gate-actions { grid-template-columns: 1fr; }
  .age-gate-card { padding: 28px 22px 24px; }
}

/* ============ PRODUCT DETAIL EXTRAS ============ */
.pd-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 12px;
}
.pd-stock-badge.in {
  background: #E8F5E9;
  color: #2E7D32;
}
.pd-stock-badge.out {
  background: #FFEBEE;
  color: #C62828;
}
.pd-stock-badge i { font-size: 0.65rem; }

.pd-sku {
  font-size: 0.85rem;
  color: var(--grey-500);
  font-weight: 500;
  margin-top: -8px;
}
.pd-sku strong { color: var(--grey-700); font-weight: 700; letter-spacing: 0.5px; }

.pd-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.pd-qty-meta {
  font-size: 0.92rem;
  color: var(--grey-600);
}
.pd-qty-meta strong { color: var(--dark); }
.pd-min-order {
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-min-order i { color: var(--green); }

.pd-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.pd-info-table th, .pd-info-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
  font-size: 0.93rem;
}
.pd-info-table th {
  font-weight: 600;
  color: var(--grey-600);
  width: 40%;
  background: var(--grey-50);
}
.pd-info-table tr:last-child th, .pd-info-table tr:last-child td { border-bottom: none; }
.pd-info-table td { color: var(--dark); font-weight: 500; }
.pd-info-table .stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pd-info-table .stock-pill.in { background: #E8F5E9; color: #2E7D32; }
.pd-info-table .stock-pill.out { background: #FFEBEE; color: #C62828; }

/* Helpers */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }
