/**
 * SooperMango Premium Design System
 */

:root {
  --sm-mango: #F5A623;
  --sm-mango-light: #FFD166;
  --sm-mango-dark: #D4890A;
  --sm-green: #1B5E3B;
  --sm-green-light: #2D8B5E;
  --sm-green-dark: #0F3D26;
  --sm-brown: #6B4423;
  --sm-brown-light: #8B6240;
  --sm-ivory: #FFF8F0;
  --sm-cream: #FDF5E6;
  --sm-saffron: #E8960C;
  --sm-saffron-text: #7A4F00;
  --sm-amber-dark: #8B5A00;
  --sm-link: #1B5E3B;
  --sm-link-hover: #0F3D26;
  --sm-text: #2C3E2D;
  --sm-text-muted: #5A6B5C;
  --sm-white: #FFFFFF;
  --sm-shadow-sm: 0 2px 12px rgba(27, 94, 59, 0.08);
  --sm-shadow-md: 0 8px 32px rgba(27, 94, 59, 0.12);
  --sm-shadow-lg: 0 16px 48px rgba(27, 94, 59, 0.15);
  --sm-radius: 16px;
  --sm-radius-sm: 10px;
  --sm-radius-pill: 999px;
  --sm-font-display: 'Playfair Display', Georgia, serif;
  --sm-font-body: 'DM Sans', Verdana, sans-serif;
  --sm-header-height: 120px;
  --sm-header-height-mobile: 68px;
  --sm-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sm-premium {
  font-family: var(--sm-font-body);
  color: var(--sm-text);
  background: var(--sm-ivory);
}

body.sm-premium h1, body.sm-premium h2, body.sm-premium h3,
body.sm-premium h4, body.sm-premium h5, body.sm-premium h6,
body.sm-premium .heading {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
  letter-spacing: -0.01em;
}

body.sm-premium p,
body.sm-premium ul,
body.sm-premium ol,
body.sm-premium li {
  font-family: var(--sm-font-body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: normal;
  font-weight: 400;
}

body.sm-premium p {
  color: var(--sm-text-muted);
  margin-bottom: 1rem;
}

body.sm-premium ul,
body.sm-premium ol {
  color: var(--sm-text-muted);
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

body.sm-premium li {
  color: var(--sm-text-muted);
  margin-bottom: 0.35rem;
}

/* Brand link colours - override Bootstrap #007bff on light backgrounds */
body.sm-premium main a:not([class*="btn"]):not(.sm-btn-primary):not(.sm-btn-outline):not(.sm-category-card):not(.product-card):not(.sm-showcase-item):not(.sm-about-mini-card):not(.sm-about-guide-card):not(.sm-ripening-related-card) {
  color: var(--sm-link);
  font-weight: 600;
}

body.sm-premium main a:not([class*="btn"]):not(.sm-btn-primary):not(.sm-btn-outline):hover,
body.sm-premium main a:not([class*="btn"]):not(.sm-btn-primary):not(.sm-btn-outline):focus {
  color: var(--sm-link-hover);
  text-decoration: underline;
}

/* Logo typography - match loaded Playfair / DM Sans (legacy style.css used unloaded Thasadith) */
body.sm-premium .logo a,
body.sm-premium .logo-brand-link,
body.sm-premium .logo .logo-brand-text,
body.sm-premium .sm-footer-brand .logo-brand-text {
  font-family: var(--sm-font-display);
}

body.sm-premium .logo .logo-brand-tagline,
body.sm-premium .sm-footer-brand .logo-brand-tagline {
  font-family: var(--sm-font-body);
}

/* Dark hero / CTA bands - override global paragraph color for readability */
body.sm-premium .sm-hero .sm-hero-sub,
body.sm-premium .sm-page-hero .sm-page-hero-sub,
body.sm-premium .sm-shop-hero .sm-shop-hero-sub,
body.sm-premium .sm-about-hero .sm-about-hero-sub,
body.sm-premium .sm-final-cta p,
body.sm-premium .sm-process-cta p,
body.sm-premium .sm-process-cta .sm-process-cta-text {
  color: rgba(255, 255, 255, 0.92);
}

body.sm-premium .sm-contact-info-card,
body.sm-premium .sm-contact-info-card li,
body.sm-premium .sm-contact-info-card p,
body.sm-premium .sm-contact-info-card strong {
  color: rgba(255, 255, 255, 0.95);
}

body.sm-premium footer.sm-footer-premium,
body.sm-premium footer.sm-footer-premium p,
body.sm-premium footer.sm-footer-premium li,
body.sm-premium footer.sm-footer-premium ul,
body.sm-premium footer.sm-footer-premium ol {
  color: rgba(255, 255, 255, 0.9);
}

body.sm-premium footer.sm-footer-premium a {
  color: rgba(255, 255, 255, 0.95);
}

header.sm-header-sticky {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(15, 61, 38, 0.97) 0%, rgba(27, 94, 59, 0.95) 100%);
  backdrop-filter: blur(12px);
  box-shadow: var(--sm-shadow-md);
  transition: background var(--sm-transition);
  width: 100%;
}

.sm-header-top {
  gap: 1rem;
}

.sm-header-actions {
  gap: 0.65rem;
  flex-shrink: 0;
}

.sm-header-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.5rem;
  padding-bottom: 0.35rem;
}

.sm-header-nav ul.menu.sm-desktop-nav {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  float: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
  list-style: none;
  position: static;
}

.sm-header-nav ul.menu.sm-desktop-nav li {
  display: inline-block;
  float: none;
  width: auto;
  margin: 0;
  white-space: nowrap;
}

.sm-header-nav ul.menu.sm-desktop-nav > li > a {
  display: block;
  padding: 0.55rem 0.95rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-transform: none;
  letter-spacing: 0.01em;
}

.sm-header-nav ul.menu.sm-desktop-nav > li.active > a,
.sm-header-nav ul.menu.sm-desktop-nav > li > a:hover {
  color: var(--sm-mango-light);
}

.sm-nav-more {
  position: relative;
}

.sm-nav-more .dropdown-menu {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: auto !important;
  right: 0 !important;
  bottom: auto !important;
  transform: none !important;
  min-width: 200px;
  padding: 0.4rem 0 !important;
  margin: 0.35rem 0 0;
  border: none;
  border-radius: var(--sm-radius-sm);
  box-shadow: var(--sm-shadow-md);
  z-index: 1100;
  background: var(--sm-white);
  will-change: auto;
}

.sm-nav-more.show .dropdown-menu,
.sm-nav-more .dropdown-menu.show {
  display: block !important;
}

.sm-nav-more .dropdown-toggle {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.sm-nav-more .dropdown-toggle::after {
  margin-left: 0.35em;
}

.sm-nav-dropdown .dropdown-item {
  color: var(--sm-green-dark) !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem !important;
  white-space: nowrap;
  background: transparent !important;
}

.sm-nav-dropdown .dropdown-item:hover,
.sm-nav-dropdown .dropdown-item:focus {
  background: var(--sm-cream) !important;
  color: var(--sm-green) !important;
}

.sm-nav-login {
  color: var(--sm-mango-light) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.sm-nav-login:hover {
  color: var(--sm-white) !important;
  text-decoration: none;
}

.sm-nav-login .fa {
  color: inherit !important;
}

/* Override legacy W3layouts header positioning */
header.sm-header-sticky {
  position: fixed !important;
}

header.sm-header-sticky.scrolled { background: rgba(15, 61, 38, 0.98); }

.sm-nav-cta {
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%) !important;
  color: var(--sm-green-dark) !important;
  border: none !important;
  border-radius: var(--sm-radius-pill) !important;
  padding: 0.55rem 1.45rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.sm-nav-cart {
  background: transparent !important;
  border: 2px solid var(--sm-mango-light) !important;
  color: var(--sm-white) !important;
  border-radius: var(--sm-radius-pill) !important;
  padding: 0.5rem 1.15rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.sm-mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0;
  transition: opacity var(--sm-transition);
}
.sm-mobile-overlay.active { display: block; opacity: 1; }

.sm-mobile-drawer {
  position: fixed; top: 0; right: -100%;
  width: min(320px, 88vw); height: 100vh;
  background: var(--sm-white); z-index: 1002;
  padding: 1.5rem; overflow-y: auto;
  transition: right 0.35s ease;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}
.sm-mobile-drawer.open { right: 0; }

.sm-mobile-drawer-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.75rem;
  color: var(--sm-green); cursor: pointer;
}

.sm-mobile-nav-links { list-style: none; padding: 3rem 0 1rem; margin: 0; }
.sm-mobile-nav-links li { border-bottom: 1px solid #eee; }
.sm-mobile-nav-links a {
  display: block; padding: 1.05rem 0;
  color: var(--sm-green-dark); font-size: 1.2rem; font-weight: 600;
  line-height: 1.35;
}

.sm-hamburger {
  display: none; background: var(--sm-mango); border: none;
  border-radius: var(--sm-radius-sm); padding: 0.5rem 0.75rem;
  color: var(--sm-green-dark); font-size: 1.25rem; cursor: pointer;
}

@media (max-width: 991px) {
  .sm-hamburger { display: block; }
  header.sm-header-sticky nav ul.menu.sm-desktop-nav,
  .sm-header-nav { display: none !important; }
  .sm-hero {
    padding-top: calc(var(--sm-header-height-mobile) + 1.25rem);
    min-height: auto;
  }
  :root { --sm-header-height: var(--sm-header-height-mobile); }
}

@media (min-width: 992px) {
  header.sm-header-sticky .logo a,
  header.sm-header-sticky .logo-brand-link {
    float: none;
  }
}

.sm-hero {
  position: relative;
  min-height: calc(100vh - var(--sm-header-height));
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--sm-green-dark) 0%, var(--sm-green) 40%, var(--sm-brown) 100%);
  overflow: hidden;
  padding-top: calc(var(--sm-header-height) + 1.5rem);
  padding-bottom: 2rem;
  margin-top: 0;
}

body.sm-home {
  padding-top: 0;
}

body.sm-home header.sm-header-sticky + .sm-hero,
body.sm-home .sm-hero {
  scroll-margin-top: var(--sm-header-height);
}

.sm-hero-bg {
  position: absolute; inset: 0;
  background: url('/images/IMG_9154.jpg') center/cover no-repeat;
  background-image: image-set(
    url('/images/IMG_9154.webp') type('image/webp'),
    url('/images/IMG_9154.jpg') type('image/jpeg')
  );
  opacity: 0.35;
}
}

.sm-hero-content { position: relative; z-index: 2; padding: 3rem 0; }

@media (max-width: 767px) {
  .sm-hero {
    padding-bottom: 2.75rem;
  }

  .sm-hero-content {
    padding: 2rem 0 1rem;
  }

  .sm-hero .container.sm-hero-content {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }

  .sm-hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    margin-bottom: 1rem;
  }

  .sm-hero-sub {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .sm-hero-ctas {
    margin-bottom: 1.75rem;
  }

  .sm-trust-badges {
    gap: 0.5rem;
  }

  .sm-trust-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 380px) {
  .sm-hero .container.sm-hero-content {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }
}

.sm-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--sm-white) !important;
  line-height: 1.15; margin-bottom: 1.25rem;
}

.sm-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.92); line-height: 1.7;
  max-width: 640px; margin-bottom: 2rem;
}

.sm-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.sm-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark); border: none; border-radius: var(--sm-radius-pill);
  padding: 0.85rem 2rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 24px rgba(245,166,35,0.4);
  transition: transform var(--sm-transition);
}
.sm-btn-primary:hover { transform: translateY(-3px); color: var(--sm-green-dark); text-decoration: none; }

.sm-btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--sm-white);
  border: 2px solid rgba(255,255,255,0.85); border-radius: var(--sm-radius-pill);
  padding: 0.8rem 1.75rem; font-weight: 600; text-decoration: none;
  transition: background var(--sm-transition), color var(--sm-transition), border-color var(--sm-transition);
}
.sm-btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--sm-white); text-decoration: none; }

/* Outline button on ivory / white page backgrounds */
.sm-btn-outline--on-light {
  color: var(--sm-green-dark);
  border-color: var(--sm-green);
  background: var(--sm-white);
  box-shadow: var(--sm-shadow-sm);
}

.sm-btn-outline--on-light:hover {
  background: rgba(27, 94, 59, 0.08);
  color: var(--sm-green-dark);
  border-color: var(--sm-green-dark);
}

.sm-trust-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sm-trust-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--sm-radius-pill); padding: 0.45rem 1rem;
  color: var(--sm-white); font-size: 0.82rem; font-weight: 600;
}
.sm-trust-badge .fa { color: var(--sm-mango-light); }

.sm-hero-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sm-hero-product-card {
  background: rgba(255,255,255,0.95); border-radius: var(--sm-radius);
  padding: 0.75rem; text-align: center; box-shadow: var(--sm-shadow-lg);
}
.sm-hero-product-card img {
  width: 100%; height: 110px; object-fit: contain;
  border-radius: var(--sm-radius-sm); margin-bottom: 0.5rem;
  background: #fff;
}
.sm-hero-product-card span {
  font-size: 0.75rem; font-weight: 700; color: var(--sm-green);
  text-transform: uppercase;
}

.sm-section { padding: 4.5rem 0; }
.sm-section-alt { background: var(--sm-cream); }
.sm-section-green {
  background: linear-gradient(180deg, var(--sm-green-dark) 0%, var(--sm-green) 100%);
  color: var(--sm-white);
}

.sm-section-green .heading,
.sm-section-green h2.heading,
.sm-section-green h3.heading {
  color: var(--sm-white) !important;
}

.sm-section-green .sm-section-header p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.sm-section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sm-section-header .heading { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.sm-section-header p { color: var(--sm-text-muted); font-size: 1.05rem; line-height: 1.7; }

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

.sm-category-card {
  background: var(--sm-white); border-radius: var(--sm-radius);
  overflow: hidden; box-shadow: var(--sm-shadow-sm);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform var(--sm-transition);
}
.sm-category-card:hover { transform: translateY(-6px); box-shadow: var(--sm-shadow-md); text-decoration: none; color: inherit; }

.sm-category-card-img { height: 160px; overflow: hidden; }
.sm-category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sm-category-card:hover .sm-category-card-img img { transform: scale(1.08); }

.sm-category-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.sm-category-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.sm-category-card-body p { font-size: 0.9rem; line-height: 1.6; color: var(--sm-text-muted); flex: 1; margin-bottom: 1rem; }
.sm-category-link { color: var(--sm-green-dark); font-weight: 700; font-size: 0.9rem; }
.sm-category-card:hover .sm-category-link { color: var(--sm-green); }

.product-card-category {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: var(--sm-green); color: var(--sm-white);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: var(--sm-radius-pill);
}

.badge-seasonal {
  display: inline-block; padding: 0.25em 0.65em; font-size: 0.75rem; font-weight: 600;
  border-radius: var(--sm-radius-pill);
  background: rgba(232, 150, 12, 0.18); color: var(--sm-saffron-text);
}

.badge-available {
  display: inline-block;
  padding: 0.25em 0.65em;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--sm-radius-pill);
  letter-spacing: 0.02em;
  background: rgba(27, 94, 59, 0.12);
  color: var(--sm-green-dark);
}

.badge-out-of-stock {
  display: inline-block;
  padding: 0.25em 0.65em;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--sm-radius-pill);
  letter-spacing: 0.02em;
  background: rgba(192, 57, 43, 0.12);
  color: #a71d2a;
}

.badge-coming-soon {
  display: inline-block; padding: 0.25em 0.65em; font-size: 0.75rem; font-weight: 600;
  border-radius: var(--sm-radius-pill);
  background: rgba(107,68,35,0.12); color: var(--sm-brown);
}

.product-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.65rem; }
.product-tag {
  font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.5rem;
  border-radius: var(--sm-radius-pill); background: var(--sm-cream);
  color: var(--sm-brown); border: 1px solid rgba(107,68,35,0.15);
}

.product-card-seasonal-note { font-size: 0.78rem; color: var(--sm-saffron-text); text-align: center; margin-top: 0.5rem; }
.product-card-seasonal-note a { color: var(--sm-green-dark); font-weight: 600; }

.btn-notify-me {
  display: block; width: 100%; margin-top: 0.35rem;
  background: transparent; border: 2px dashed var(--sm-green);
  color: var(--sm-green-dark); border-radius: var(--sm-radius-sm);
  padding: 0.45rem 1rem; font-weight: 600; font-size: 0.85rem; text-align: center; text-decoration: none;
  cursor: pointer;
}

.btn-notify-me:hover,
.btn-notify-me:focus {
  background: rgba(27, 94, 59, 0.06);
  color: var(--sm-green-dark);
  border-color: var(--sm-green-dark);
  text-decoration: none;
}

.sm-notify-modal .modal-header {
  border-bottom: 1px solid rgba(107, 68, 35, 0.12);
  background: var(--sm-cream, #fff8ef);
}
.sm-notify-modal .modal-title { color: var(--sm-green-dark, #2d5016); font-weight: 700; }
.sm-notify-modal .modal-body label { font-weight: 600; font-size: 0.9rem; color: var(--sm-brown, #6b4423); }
.sm-notify-modal .sm-notify-product strong { color: var(--sm-saffron, #e67e22); }
.sm-notify-modal .btn-success {
  background: var(--sm-green, #3d7a2f);
  border-color: var(--sm-green, #3d7a2f);
}
.pdp-actions .btn-notify-me { margin-top: 0.75rem; }

.sm-product-showcase {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem;
}

.sm-showcase-item {
  background: var(--sm-white); border-radius: var(--sm-radius);
  padding: 1.5rem 1.25rem; text-align: center; box-shadow: var(--sm-shadow-sm);
  text-decoration: none; color: inherit; transition: transform var(--sm-transition);
}
.sm-showcase-item:hover { transform: translateY(-4px); text-decoration: none; color: inherit; }

.sm-showcase-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--sm-mango-light) 0%, var(--sm-mango) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--sm-green-dark);
}

.sm-variety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.sm-variety-card {
  background: var(--sm-white); border-radius: var(--sm-radius); padding: 1.5rem;
  box-shadow: var(--sm-shadow-sm); text-decoration: none; color: inherit;
  border-left: 4px solid var(--sm-mango); transition: transform var(--sm-transition);
}
.sm-variety-card:hover { transform: translateY(-4px); text-decoration: none; color: inherit; }

.sm-farm-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sm-farm-story-img { border-radius: var(--sm-radius); overflow: hidden; box-shadow: var(--sm-shadow-lg); }
.sm-farm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.sm-farm-stat { background: var(--sm-cream); border-radius: var(--sm-radius-sm); padding: 1rem; text-align: center; }
.sm-farm-stat strong { display: block; font-size: 1.5rem; color: var(--sm-green); font-family: var(--sm-font-display); }

.sm-process-timeline { display: flex; flex-wrap: wrap; justify-content: center; padding: 2rem 0; gap: 0.5rem 0; }
.sm-process-timeline .sm-process-step {
  flex: 1 1 130px;
  max-width: 160px;
  text-align: center;
  padding: 0 0.5rem;
  margin-bottom: 1.25rem;
}
.sm-process-timeline .sm-process-step-num {
  width: 48px; height: 48px; margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.sm-section-green .sm-process-step h4 {
  color: var(--sm-white) !important;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.sm-section-green .sm-process-step-num { background: var(--sm-white); color: var(--sm-green); }

.sm-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.sm-benefit-card {
  background: var(--sm-white); border-radius: var(--sm-radius); padding: 1.75rem 1.5rem;
  box-shadow: var(--sm-shadow-sm); text-align: center; transition: transform var(--sm-transition);
}
.sm-benefit-icon {
  width: 52px; height: 52px; margin: 0 auto 1rem;
  background: rgba(27,94,59,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--sm-green);
}

.sm-cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.sm-cert-card {
  background: var(--sm-white); border-radius: var(--sm-radius);
  padding: 1.75rem 1.25rem; text-align: center; box-shadow: var(--sm-shadow-sm);
}
.sm-cert-card img { height: 64px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: 1rem; }

.sm-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.sm-testimonial-card {
  background: var(--sm-white); border-radius: var(--sm-radius);
  padding: 1.75rem; box-shadow: var(--sm-shadow-sm);
}
.sm-testimonial-stars { color: var(--sm-mango); margin-bottom: 0.75rem; }

.sm-farm-visit {
  background: linear-gradient(135deg, var(--sm-cream) 0%, rgba(245,166,35,0.12) 100%);
  border-radius: var(--sm-radius); padding: 3rem 2rem; text-align: center;
  overflow: visible;
}
.sm-farm-visit .heading {
  color: var(--sm-green-dark) !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  word-wrap: break-word;
}
.sm-farm-visit > p {
  color: var(--sm-text-muted);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.sm-farm-visit-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 2rem 0; }
.sm-farm-visit-feature { flex: 1 1 180px; max-width: 220px; }
.sm-farm-visit-feature .fa { font-size: 2rem; color: var(--sm-green); margin-bottom: 0.75rem; display: block; }
.sm-farm-visit-feature h4 {
  color: var(--sm-green-dark) !important;
  font-size: 0.95rem;
  line-height: 1.35;
}

.sm-final-cta {
  background: linear-gradient(135deg, var(--sm-green-dark) 0%, var(--sm-green) 55%, var(--sm-green-light) 100%);
  border-radius: var(--sm-radius); padding: 3.5rem 2rem; text-align: center; color: var(--sm-white);
}
body.sm-premium .sm-final-cta .heading,
.sm-final-cta h2.heading,
.sm-final-cta h3.heading {
  color: var(--sm-white) !important;
}
.sm-final-cta p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 2rem; }
.sm-final-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.sm-final-cta .sm-btn-outline {
  border-color: var(--sm-white);
  color: var(--sm-white);
}
.sm-final-cta .sm-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--sm-white);
  color: var(--sm-white);
}

footer.sm-footer-premium {
  background: linear-gradient(180deg, var(--sm-green-dark) 0%, #0a2818 100%);
  color: rgba(255,255,255,0.85); text-align: left;
}

footer.sm-footer-premium h4,
footer.sm-footer-premium h5,
.sm-footer-links h4,
.sm-footer-contact h4 {
  color: var(--sm-white) !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sm-footer-contact p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.65rem;
}

.sm-footer-contact a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
}

.sm-footer-contact a:hover {
  color: var(--sm-mango-light) !important;
}

.sm-footer-contact .fa {
  color: var(--sm-mango-light);
  margin-right: 0.35rem;
  width: 1.1em;
  text-align: center;
}

.sm-footer-app-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sm-footer-contact .sm-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--sm-white);
  color: var(--sm-green-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--sm-radius-sm);
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--sm-shadow-sm);
  transition: background var(--sm-transition), transform var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-footer-contact .sm-app-btn .fa {
  color: var(--sm-green) !important;
  margin-right: 0;
  font-size: 1.05rem;
}

.sm-footer-contact .sm-app-btn:hover {
  background: var(--sm-cream);
  color: var(--sm-green-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--sm-shadow-md);
}

.sm-footer-razorpay-wrap {
  text-align: center;
  margin: 1.5rem 0;
}

.sm-footer-razorpay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sm-white);
  border-radius: var(--sm-radius-sm);
  padding: 0.65rem 1.25rem;
  box-shadow: var(--sm-shadow-sm);
}

.sm-footer-razorpay-badge .footer-razorpay-logo {
  height: 32px;
  width: auto;
  max-width: 180px;
  opacity: 1;
  filter: none;
}
.sm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 2.5rem; }

.sm-footer-brand .logo-brand-link {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin: 0 0 1.1rem;
  padding: 0;
  letter-spacing: 0;
  font-size: inherit;
  font-family: var(--sm-font-body);
  color: var(--sm-white);
}

.sm-footer-brand .logo-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.2;
  margin-left: 0;
}

.sm-footer-brand .logo-brand-text {
  font-family: var(--sm-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--sm-white) !important;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.sm-footer-brand .logo-brand-tagline {
  font-family: var(--sm-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78) !important;
  margin-top: 0.25rem;
  display: block;
  letter-spacing: 0.02em;
}

.sm-footer-brand .logo-brand-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.sm-footer-brand > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 360px;
}

.sm-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.sm-footer-social a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
  transition: color var(--sm-transition), transform var(--sm-transition);
}

.sm-footer-social a:hover {
  color: var(--sm-mango-light);
  transform: translateY(-2px);
}

.sm-footer-links ul { list-style: none; padding: 0; margin: 0; }
.sm-footer-links li { margin-bottom: 0.5rem; }
.sm-footer-links a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  text-decoration: none;
}
.sm-footer-links a:hover { color: var(--sm-mango-light); }
.sm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
}

.sm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.1rem;
  margin-bottom: 0.75rem;
}

.sm-footer-legal a {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.sm-footer-legal a:hover {
  color: var(--sm-mango-light) !important;
}

.sm-footer-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  margin: 0;
}

.sm-shop-layout {
  display: grid;
  grid-template-columns: minmax(280px, 300px) 1fr;
  gap: 1.75rem;
  align-items: start;
}

.sm-shop-sidebar {
  position: sticky;
  top: calc(var(--sm-header-height) + 1rem);
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--sm-shadow-sm);
}

.sm-shop-sidebar-title {
  font-size: 1.15rem;
  color: var(--sm-green-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sm-cream);
}

.sm-filter-group {
  margin-bottom: 1.25rem;
}

.sm-filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sm-text-muted);
  margin-bottom: 0.5rem;
}

.sm-filter-chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sm-filter-chip {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--sm-cream);
  border: 1px solid rgba(27, 94, 59, 0.08);
  border-radius: var(--sm-radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sm-text);
  cursor: pointer;
  transition: background var(--sm-transition), border-color var(--sm-transition), color var(--sm-transition);
  line-height: 1.3;
}

.sm-filter-chip:hover {
  background: rgba(27, 94, 59, 0.06);
  border-color: rgba(27, 94, 59, 0.2);
  color: var(--sm-green-dark);
}

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

.sm-filter-select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sm-text);
  border: 1px solid #ddd;
  border-radius: var(--sm-radius-sm);
  background: var(--sm-cream);
  height: auto;
  line-height: 1.4;
}

.sm-filter-select:focus {
  border-color: var(--sm-green);
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(27, 94, 59, 0.15);
}

.sm-sidebar-promo {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.sm-sidebar-promo-icon {
  font-size: 1.5rem;
  color: var(--sm-green);
  margin-bottom: 0.5rem;
  display: block;
}

.sm-sidebar-promo p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--sm-text-muted);
  margin: 0 0 0.75rem;
}

.sm-sidebar-promo-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sm-green);
  text-decoration: none;
  border-bottom: 2px solid var(--sm-mango-light);
  padding-bottom: 0.1rem;
}

.sm-sidebar-promo-link:hover {
  color: var(--sm-green-dark);
  text-decoration: none;
}

.sm-shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem; padding: 0.65rem 0;
  background: transparent; box-shadow: none;
}

.sm-shop-section-title {
  font-size: 1.35rem; color: var(--sm-green-dark);
  margin: 2rem 0 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sm-mango-light);
}

.sm-stats-bar { background: linear-gradient(135deg, var(--sm-green) 0%, var(--sm-green-dark) 100%); padding: 3rem 0; }
.sm-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.sm-stat-item strong { display: block; font-size: 2rem; color: var(--sm-white); font-family: var(--sm-font-display); }
.sm-stat-item span { font-size: 0.85rem; color: rgba(255,255,255,0.8); text-transform: uppercase; }
.sm-stat-item .fa { font-size: 2rem; color: var(--sm-mango-light); margin-bottom: 0.5rem; }

.pdp-category-badge {
  display: inline-block; background: var(--sm-green); color: var(--sm-white);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--sm-radius-pill); margin-bottom: 0.75rem;
}

body.sm-premium:not(.sm-home) { padding-top: var(--sm-header-height); }
body.sm-premium:not(.sm-home) header.sm-header-sticky { position: fixed; }
body.sm-premium:not(.sm-home) .inner-banner { display: none; }

/* Sub-page breadcrumb bar (non-shop pages) */
.sm-page-bar {
  background: var(--sm-cream);
  border-bottom: 1px solid rgba(27, 94, 59, 0.1);
  padding: 1.15rem 0 1.35rem;
  margin-top: 0;
}

.sm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
}

.sm-breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sm-breadcrumb a {
  color: var(--sm-green);
  font-weight: 600;
  text-decoration: none;
}

.sm-breadcrumb a:hover {
  color: var(--sm-green-dark);
  text-decoration: underline;
}

.sm-breadcrumb-sep {
  color: var(--sm-text-muted);
  opacity: 0.45;
  font-size: 0.75rem;
  line-height: 1;
}

.sm-breadcrumb-current {
  color: var(--sm-text-muted);
  font-weight: 600;
}

.sm-breadcrumb-light a,
.sm-breadcrumb-light .sm-breadcrumb-current {
  color: rgba(255, 255, 255, 0.92);
}

.sm-breadcrumb-light a:hover {
  color: var(--sm-mango-light);
}

.sm-breadcrumb-light .sm-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.5);
}

/* Shared page hero (farm visit, etc.) */
.sm-page-hero {
  background: linear-gradient(135deg, var(--sm-green-dark) 0%, var(--sm-green) 55%, var(--sm-green-light) 100%);
  padding: 1.35rem 0 2.5rem;
  margin-top: 0;
}

.sm-page-hero-title {
  font-family: var(--sm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--sm-white) !important;
  line-height: 1.25;
  margin: 0.85rem 0 0.75rem;
  max-width: 720px;
}

.sm-page-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.sm-page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sm-page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.42rem 0.9rem;
  border-radius: var(--sm-radius-pill);
}

.sm-page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.sm-inner-page {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.sm-inner-lead {
  max-width: 42rem;
  color: var(--sm-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.sm-inner-lead a,
.sm-content-card a,
.sm-legal-content a {
  color: var(--sm-green);
  font-weight: 600;
  text-decoration: none;
}

.sm-inner-lead a:hover,
.sm-content-card a:hover,
.sm-legal-content a:hover {
  color: var(--sm-green-dark);
  text-decoration: underline;
}

.sm-content-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 2rem 2.25rem;
  color: var(--sm-text);
  line-height: 1.75;
}

.sm-content-card h2,
.sm-content-card .h4 {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark) !important;
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.sm-content-card h2:first-child,
.sm-content-card .h4:first-child {
  margin-top: 0;
}

.sm-legal-content h3 {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark) !important;
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
}

.sm-legal-content p {
  margin-bottom: 1rem;
  color: var(--sm-text-muted);
}

/* Process page - orchard-to-doorstep flow */
.sm-process-page .sm-process-steps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.sm-process-page .sm-process-step {
  display: flex;
  flex-direction: column;
  max-width: none;
  flex: none;
  text-align: left;
  margin-bottom: 0;
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(27, 94, 59, 0.08);
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-process-page .sm-process-step:nth-child(1) { grid-column: 1 / 5; }
.sm-process-page .sm-process-step:nth-child(2) { grid-column: 5 / 9; }
.sm-process-page .sm-process-step:nth-child(3) { grid-column: 9 / 13; }
.sm-process-page .sm-process-step:nth-child(4) { grid-column: 2 / 7; }
.sm-process-page .sm-process-step:nth-child(5) { grid-column: 7 / 12; }

.sm-process-page .sm-process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-md);
}

.sm-process-page .sm-process-step-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sm-cream);
}

.sm-process-page .sm-process-step-media--illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: linear-gradient(180deg, var(--sm-cream) 0%, #f3ebdc 100%);
}

.sm-process-page .sm-process-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sm-process-page .sm-process-step-media--illustration img {
  object-fit: contain;
  transform: none;
}

.sm-process-page .sm-process-step:hover .sm-process-step-media--illustration img {
  transform: scale(1.03);
}

.sm-process-page .sm-process-step:hover .sm-process-step-media:not(.sm-process-step-media--illustration) img {
  transform: scale(1.04);
}

.sm-process-page .sm-process-step-num {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark);
  font-weight: 800;
  font-size: 0.85rem;
  margin: 0;
  box-shadow: 0 4px 14px rgba(15, 61, 38, 0.2);
  z-index: 1;
}

.sm-process-page .sm-process-step-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
  border-top: 3px solid var(--sm-mango);
}

.sm-process-page .sm-process-step h3 {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark) !important;
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.sm-process-page .sm-process-step p {
  color: var(--sm-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.sm-process-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sm-process-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--sm-white);
  border-radius: var(--sm-radius-sm);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--sm-shadow-sm);
  border: 1px solid rgba(27, 94, 59, 0.06);
}

.sm-process-highlight-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.15);
  color: var(--sm-green);
  font-size: 1.1rem;
}

.sm-process-highlight h4 {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark) !important;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.sm-process-highlight p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sm-text-muted);
  line-height: 1.55;
}

.sm-process-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--sm-green-dark) 0%, var(--sm-green) 100%);
  border-radius: var(--sm-radius);
  text-align: center;
}

.sm-process-cta-text {
  flex: 1 1 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.sm-process-cta .sm-btn-primary,
.sm-process-cta .sm-btn-outline {
  min-width: 11rem;
}

.sm-process-cta .sm-btn-outline {
  border-color: var(--sm-white);
  color: var(--sm-white);
}

.sm-process-cta .sm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--sm-white);
  color: var(--sm-white);
}

/* Contact page */
.sm-contact-link {
  color: var(--sm-green) !important;
  font-weight: 700;
  text-decoration: none;
}

.sm-contact-link:hover {
  color: var(--sm-green-dark) !important;
  text-decoration: underline;
}

.sm-contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sm-contact-info-card {
  background: linear-gradient(160deg, var(--sm-green-dark) 0%, var(--sm-green) 100%);
  color: var(--sm-white);
  border-radius: var(--sm-radius);
  padding: 1.5rem;
  box-shadow: var(--sm-shadow-md);
}

.sm-contact-info-card h2 {
  font-family: var(--sm-font-display);
  color: var(--sm-white) !important;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sm-contact-info-card ul,
.sm-contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sm-contact-info-card li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.sm-contact-info-card li:last-child {
  margin-bottom: 0;
}

.sm-contact-info-text {
  flex: 1;
  min-width: 0;
}

.sm-contact-info-card .fa {
  color: var(--sm-mango-light);
  margin-top: 0.2rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.sm-contact-info-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sm-contact-info-note p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.sm-contact-info-note strong {
  color: var(--sm-white);
  font-weight: 700;
}

.sm-contact-info-note p:last-child {
  margin-bottom: 0;
}

.sm-contact-info-card a {
  color: var(--sm-white) !important;
  text-decoration: none;
}

.sm-contact-info-card a:hover {
  color: var(--sm-mango-light) !important;
}

.sm-contact-form-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.75rem;
}

.sm-contact-page .contact-left input[type="text"],
.sm-contact-page .contact-left input[type="email"],
.sm-contact-page .contact-right textarea {
  width: 100%;
  border: 1px solid rgba(27, 94, 59, 0.15);
  border-radius: var(--sm-radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  transition: border-color var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-contact-page .contact-left input:focus,
.sm-contact-page .contact-right textarea:focus {
  border-color: var(--sm-green-light);
  box-shadow: 0 0 0 3px rgba(45, 139, 94, 0.15);
  outline: none;
}

.sm-contact-page .contact-right button.btn,
.sm-contact-page #contact-submit {
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark);
  border: none;
  border-radius: var(--sm-radius-pill);
  padding: 0.75rem 2rem;
  font-weight: 700;
  cursor: pointer;
}

.sm-contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
}

/* Gallery page */
.sm-gallery-page .sm-gallery-grid {
  row-gap: 1.5rem;
}

.sm-gallery-page .thumbnail,
.sm-gallery-page .col-md-4.text-center {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  overflow: hidden;
  padding: 0.65rem;
  height: 100%;
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-gallery-page .thumbnail:hover,
.sm-gallery-page .col-md-4.text-center:hover {
  transform: translateY(-3px);
  box-shadow: var(--sm-shadow-md);
}

.sm-gallery-page .thumbnail img,
.sm-gallery-page .embed-responsive,
.sm-gallery-page .sm-video-card {
  border-radius: calc(var(--sm-radius-sm) - 2px);
  overflow: hidden;
}

/* YouTube click-to-play preview + modal */
.sm-video-card {
  width: 100%;
}

.sm-video-play {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--sm-radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--sm-green-dark);
  box-shadow: var(--sm-shadow-md);
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-video-play:hover,
.sm-video-play:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--sm-shadow-lg);
  outline: none;
}

.sm-video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sm-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(15, 61, 38, 0.15) 0%, rgba(15, 61, 38, 0.55) 100%);
  transition: background var(--sm-transition);
}

.sm-video-play:hover .sm-video-play-overlay,
.sm-video-play:focus-visible .sm-video-play-overlay {
  background: linear-gradient(180deg, rgba(15, 61, 38, 0.25) 0%, rgba(15, 61, 38, 0.65) 100%);
}

.sm-video-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sm-green-dark);
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--sm-transition), background var(--sm-transition);
}

.sm-video-play-icon .fa {
  margin-left: 0.15rem;
}

.sm-video-play:hover .sm-video-play-icon,
.sm-video-play:focus-visible .sm-video-play-icon {
  transform: scale(1.06);
  background: var(--sm-mango-light);
}

.sm-video-play-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.sm-video-caption {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--sm-text-muted);
  text-align: center;
}

.sm-video-card--farm .sm-video-caption {
  text-align: left;
}

.sm-farm-intro {
  align-items: center;
  margin-bottom: 1.5rem;
}

.sm-farm-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sm-text);
  margin-bottom: 0;
}

.sm-farm-intro-media {
  margin-top: 1.25rem;
}

@media (min-width: 992px) {
  .sm-farm-intro-media {
    margin-top: 0;
  }
}

body.sm-video-modal-open {
  overflow: hidden;
}

.sm-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sm-video-modal[hidden] {
  display: none;
}

.sm-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 61, 38, 0.82);
  backdrop-filter: blur(4px);
}

.sm-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-lg);
  overflow: hidden;
}

.sm-video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--sm-green-dark);
  color: #fff;
}

.sm-video-modal-title {
  margin: 0;
  font-family: var(--sm-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.sm-video-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--sm-transition);
}

.sm-video-modal-close:hover,
.sm-video-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.sm-video-modal-body {
  padding: 0;
  background: #000;
}

.sm-video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.sm-video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sm-gallery-page .caption p {
  color: var(--sm-text-muted);
  font-size: 0.9rem;
  margin: 0.65rem 0 0.25rem;
  text-align: center;
}

.sm-farm-page-content {
  padding-top: 2.25rem;
}

.sm-farm-page-content .sm-farm-details {
  margin-top: 0.5rem;
}

.sm-farm-page-content .sm-farm-details h2 {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.75rem 0 0.65rem;
}

.sm-farm-page-content .sm-farm-details h2:first-child {
  margin-top: 0;
}

.sm-farm-page-content .sm-farm-details ul {
  list-style: disc;
  padding-left: 1.35rem;
}

.sm-farm-page-content .sm-farm-details li {
  display: list-item;
  list-style: inherit;
}

.sm-farm-page-content .sm-farm-details p:last-child {
  margin-bottom: 0;
}

.sm-farm-page-content .sm-farm-details a {
  color: var(--sm-green);
  font-weight: 600;
  text-decoration: none;
}

.sm-farm-page-content .sm-farm-details a:hover {
  color: var(--sm-green-dark);
  text-decoration: underline;
}

.sm-farm-page-content .sm-farm-form-title {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.sm-farm-page-content #farmvisit {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .sm-process-page .sm-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-process-page .sm-process-step:nth-child(n) {
    grid-column: auto;
  }

  .sm-process-highlights {
    grid-template-columns: 1fr;
  }

  .sm-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sm-page-bar {
    padding: 1rem 0 1.15rem;
  }

  .sm-page-hero {
    padding: 1.15rem 0 2rem;
  }

  .sm-inner-page {
    padding-top: 1.75rem;
  }

  .sm-content-card {
    padding: 1.35rem 1.25rem;
  }

  .sm-process-page .sm-process-steps {
    grid-template-columns: 1fr;
  }

  .sm-process-page .sm-process-step:nth-child(n) {
    grid-column: auto;
  }

  .sm-farm-page-content #farmvisit {
    padding: 1.25rem;
  }

  .sm-contact-form-card {
    padding: 1.25rem;
  }
}

/* Shop page hero */
.sm-shop-hero {
  background: linear-gradient(135deg, var(--sm-green-dark) 0%, var(--sm-green) 55%, var(--sm-green-light) 100%);
  padding: 1.75rem 0 2.25rem;
  margin-top: 0;
}

.sm-shop-hero-title {
  font-family: var(--sm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--sm-white) !important;
  line-height: 1.2;
  margin: 0.75rem 0 0.65rem;
}

.sm-shop-hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 1.35rem;
}

.sm-shop-hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 560px;
}

.sm-shop-hero-search-wrap {
  position: relative;
  max-width: 560px;
  width: 100%;
}

.sm-shop-hero-search-wrap .sm-shop-hero-search {
  max-width: none;
}

.sm-search-autocomplete {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--sm-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--sm-radius-md);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  max-height: min(24rem, calc(100vh - 8rem));
  overflow-y: auto;
}

.sm-search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--sm-text);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.sm-search-suggestion:hover,
.sm-search-suggestion.is-active {
  background: rgba(245, 166, 35, 0.12);
}

.sm-search-suggestion-img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #f5f0e6;
}

.sm-search-suggestion-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-search-suggestion-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sm-green);
  font-size: 1rem;
}

.sm-search-suggestion-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sm-search-suggestion-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.sm-search-suggestion-name mark {
  background: rgba(245, 166, 35, 0.35);
  color: inherit;
  padding: 0 0.05em;
  border-radius: 0.15rem;
}

.sm-search-suggestion-meta {
  font-size: 0.8rem;
  color: var(--sm-text-muted);
}

.sm-search-view-all {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--sm-green-dark);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.sm-search-view-all:hover {
  background: rgba(45, 90, 61, 0.06);
  color: var(--sm-green-dark);
  text-decoration: none;
}

.sm-shop-hero-search-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--sm-radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: var(--sm-text);
}

.sm-shop-hero-search-input:focus {
  outline: none;
  border-color: var(--sm-mango);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

.sm-shop-hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark);
  border: none;
  border-radius: var(--sm-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.sm-shop-hero-search-btn:hover {
  filter: brightness(1.05);
}

.sm-shop-page {
  padding-top: 1.5rem !important;
}

.sm-shop-count {
  font-size: 0.92rem;
  color: var(--sm-text-muted);
}

/* ===== About page ===== */
.sm-about-hero {
  background: linear-gradient(135deg, var(--sm-green-dark) 0%, var(--sm-green) 55%, var(--sm-green-light) 100%);
  padding: 1.75rem 0 2.5rem;
}

.sm-about-hero-title {
  font-family: var(--sm-font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  color: var(--sm-white) !important;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
  max-width: 720px;
}

.sm-about-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.sm-about-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sm-about-offerings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.sm-about-offering-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: var(--sm-shadow-sm);
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sm-about-offering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-md);
}

.sm-about-offering-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.sm-about-offering-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-about-offering-icon {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  background: var(--sm-green);
  color: var(--sm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sm-about-offering-body {
  padding: 1.35rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sm-about-offering-body h3 {
  font-size: 1.15rem;
  color: var(--sm-green-dark);
  margin-bottom: 0.65rem;
}

.sm-about-offering-body p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--sm-text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.sm-about-quote {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: var(--sm-cream);
  border-left: 4px solid var(--sm-mango);
  border-radius: 0 var(--sm-radius-sm) var(--sm-radius-sm) 0;
  font-style: italic;
  color: var(--sm-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.sm-about-quote .fa {
  color: var(--sm-mango);
  margin-right: 0.35rem;
}

.sm-about-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sm-about-mini-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius-sm);
  padding: 0.75rem;
  text-align: center;
  box-shadow: var(--sm-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--sm-transition);
}

.sm-about-mini-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.sm-about-mini-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.sm-about-mini-card span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sm-green-dark);
}

.sm-about-product-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.sm-about-product-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--sm-text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sm-about-product-list li::before {
  content: '\f00c';
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  color: var(--sm-green);
  font-size: 0.85rem;
}

.sm-about-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.sm-about-guide-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: var(--sm-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--sm-transition);
}

.sm-about-guide-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.sm-about-guide-card .fa {
  font-size: 1.75rem;
  color: var(--sm-green);
  margin-bottom: 0.65rem;
  display: block;
}

.sm-about-guide-card h4 {
  font-size: 1rem;
  color: var(--sm-green-dark);
  margin-bottom: 0.35rem;
}

.sm-about-guide-card p {
  font-size: 0.82rem;
  color: var(--sm-text-muted);
  margin: 0;
}

#about-story a,
#about-fresh a:not(.sm-btn-primary):not(.sm-about-mini-card) {
  color: var(--sm-green);
  font-weight: 600;
}

@media (max-width: 576px) {
  .sm-about-product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sm-about-hero-ctas {
    flex-direction: column;
  }
  .sm-about-hero-ctas .sm-btn-primary,
  .sm-about-hero-ctas .sm-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .sm-farm-story, .sm-shop-layout { grid-template-columns: 1fr; }
  .sm-shop-sidebar { position: static; }
  .sm-footer-grid { grid-template-columns: 1fr 1fr; }
  .sm-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .sm-section { padding: 3rem 0; }
  .sm-footer-grid { grid-template-columns: 1fr; }
  .sm-hero-ctas { flex-direction: column; }
  .sm-hero-ctas .sm-btn-primary,
  .sm-hero-ctas .sm-btn-outline {
    width: 100%;
    justify-content: center;
  }
  .sm-btn-primary, .sm-btn-outline { width: 100%; justify-content: center; }
}

@media (min-width: 992px) {
  header.sm-header-sticky nav ul.menu.sm-desktop-nav {
    display: flex !important;
    float: none;
    align-items: center;
    flex-wrap: nowrap;
  }
  header.sm-header-sticky nav ul.menu.sm-desktop-nav li {
    width: auto;
    display: inline-block;
    float: none;
  }
  header.sm-header-sticky .logo a,
  header.sm-header-sticky .logo-brand-link {
    float: none;
  }
}

/* Legacy W3layouts nav rules - prevent breaking Bootstrap dropdown & header links */
header.sm-header-sticky nav ul.menu {
  position: static;
  float: none;
}
header.sm-header-sticky nav ul ul {
  display: none;
}
header.sm-header-sticky .dropdown-menu {
  float: none;
}
header.sm-header-sticky nav ul li:hover > ul {
  display: none;
}
header.sm-header-sticky nav ul li.dropdown.show > .dropdown-menu,
header.sm-header-sticky nav ul li.dropdown .dropdown-menu.show {
  display: block !important;
}
header.sm-header-sticky {
  overflow: visible;
}
header.sm-header-sticky .container,
header.sm-header-sticky .sm-header-nav {
  overflow: visible;
}

/* ===== Product cards - balanced proportions (not thin/tall) ===== */
.product-grid-item {
  display: flex;
}

.product-grid-item .product-card {
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 200px;
  background: var(--sm-white);
  border-bottom: 1px solid rgba(27, 94, 59, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.65rem;
  text-align: center;
}

.product-card-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.product-card-body {
  padding: 1rem 1.1rem 0.85rem;
  flex: 1;
}

.product-card-title {
  min-height: auto;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.product-card-ratings {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.product-card-meta {
  gap: 0.45rem;
}

.product-card-row {
  padding-bottom: 0.35rem;
  font-size: 0.85rem;
}

.product-card-delivery {
  margin-top: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
}

.product-card .card-footer {
  padding: 0.85rem 1rem;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-card .card-footer .btn {
  width: auto;
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
}

.product-card .card-footer .btn-notify-me {
  flex: 1 1 100%;
}

/* Product card links & buttons - canonical styles (survives partial style.css cache misses) */
body.sm-premium .product-card-title-link {
  color: var(--sm-green-dark);
  text-decoration: none;
  display: block;
}

body.sm-premium .product-card-title-link:hover,
body.sm-premium .product-card-title-link:focus {
  color: var(--sm-green);
  text-decoration: none;
}

body.sm-premium .product-card-title-link .product-card-title {
  color: inherit;
}

body.sm-premium .product-card-ratings a {
  color: var(--sm-text-muted);
  font-weight: 500;
  text-decoration: none;
}

body.sm-premium .product-card-ratings a:hover,
body.sm-premium .product-card-ratings a:focus {
  color: var(--sm-green);
  text-decoration: underline;
}

body.sm-premium .product-card-ratings .fa-star,
body.sm-premium .product-card-ratings .fa-star-o,
body.sm-premium .sm-testimonial-stars .fa-star,
body.sm-premium .sm-testimonial-stars .fa-star-o {
  color: var(--sm-amber-dark);
}

body.sm-premium .product-card .card-footer {
  background: #fafafa;
  border-top: 1px solid #eee;
}

body.sm-premium .product-card .card-footer .btn {
  border-radius: 10px;
  font-weight: 600;
  transition: background-color var(--sm-transition), color var(--sm-transition), border-color var(--sm-transition);
}

body.sm-premium .product-card .card-footer .btn-add-cart {
  background: var(--sm-white);
  color: var(--sm-amber-dark);
  border: 2px solid var(--sm-mango-dark);
}

body.sm-premium .product-card .card-footer .btn-add-cart:hover:not(:disabled) {
  background: var(--sm-cream);
  color: var(--sm-saffron-text);
  border-color: var(--sm-saffron-text);
}

body.sm-premium .product-card .card-footer .btn-buy-now {
  background: var(--sm-green);
  border: 2px solid var(--sm-green);
  color: var(--sm-white);
}

body.sm-premium .product-card .card-footer .btn-buy-now:hover:not(:disabled) {
  background: var(--sm-green-dark);
  border-color: var(--sm-green-dark);
  color: var(--sm-white);
}

body.sm-premium .product-card-select:focus {
  border-color: var(--sm-green);
  box-shadow: 0 0 0 0.15rem rgba(27, 94, 59, 0.2);
}

body.sm-premium .product-card-label {
  color: var(--sm-text);
}

body.sm-premium .pdp-actions .btn-add-cart {
  background: var(--sm-white);
  color: var(--sm-amber-dark);
  border: 2px solid var(--sm-mango-dark);
}

body.sm-premium .pdp-actions .btn-add-cart:hover:not(:disabled) {
  background: var(--sm-cream);
  color: var(--sm-saffron-text);
  border-color: var(--sm-saffron-text);
}

body.sm-premium .pdp-actions .btn-buy-now {
  background: var(--sm-green);
  border: 2px solid var(--sm-green);
  color: var(--sm-white);
}

body.sm-premium .pdp-actions .btn-buy-now:hover:not(:disabled) {
  background: var(--sm-green-dark);
  border-color: var(--sm-green-dark);
  color: var(--sm-white);
}

#sm-shop-grid.row,
#sm-featured-grid.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

#sm-shop-grid.row > .product-grid-item,
#sm-featured-grid.row > .product-grid-item {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (min-width: 992px) {
  .sm-shop-main #sm-shop-grid .product-grid-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 1400px) {
  .sm-shop-main #sm-shop-grid .product-grid-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

body.sm-premium .product-card {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 767px) {
  .product-card-img-wrap {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .product-card-img-wrap a {
    padding: 0.85rem;
  }

  .product-card-img {
    max-height: 220px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }
}

/* ===== Product detail page - unified image + details card ===== */
body.sm-premium .pdp-row {
  background: var(--sm-white);
  border: 1px solid rgba(27, 94, 59, 0.1);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-md);
  padding: 1.25rem 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  body.sm-premium .pdp-row {
    padding: 1.75rem;
  }

  body.sm-premium .pdp-gallery-col {
    margin-bottom: 0;
    padding-right: 1.75rem;
  }

  body.sm-premium .pdp-details-col {
    padding-left: 1.75rem;
    border-left: 1px solid rgba(27, 94, 59, 0.08);
  }
}

body.sm-premium .pdp-title {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
}

/* ===== Product detail gallery (SmoothProducts) ===== */
.pdp-gallery-col {
  width: 100%;
}

.pdp-gallery-col .sp-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pdp-gallery-col .sp-large {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--sm-white);
  border: 1px solid rgba(27, 94, 59, 0.08);
  border-radius: var(--sm-radius);
  text-align: center;
}

.pdp-gallery-col .sp-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(72vw, 380px);
  padding: 1.25rem;
  background: transparent;
}

.pdp-gallery-col .sp-large a img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vw, 380px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 20px rgba(27, 94, 59, 0.08));
}

.pdp-gallery-col .sp-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  margin-top: 1rem;
}

.pdp-gallery-col .sp-thumbs a:link,
.pdp-gallery-col .sp-thumbs a:visited {
  margin: 0;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--sm-radius-sm);
  border: 2px solid rgba(27, 94, 59, 0.1);
  background-color: var(--sm-white);
  opacity: 1;
  transition: border-color var(--sm-transition), box-shadow var(--sm-transition), transform var(--sm-transition);
}

.pdp-gallery-col .sp-thumbs a:hover {
  border-color: rgba(27, 94, 59, 0.25);
  transform: translateY(-2px);
}

.pdp-gallery-col .sp-thumbs a.sp-current {
  border-color: var(--sm-green);
  box-shadow: 0 0 0 2px rgba(27, 94, 59, 0.12);
}

.pdp-gallery-col .sp-loading {
  max-width: 100%;
  margin: 0 auto 1rem;
  min-height: min(78vw, 360px);
  border-color: rgba(27, 94, 59, 0.15);
  background: var(--sm-white);
  color: var(--sm-text-muted);
  border-radius: var(--sm-radius);
}

@media (max-width: 767px) {
  body.sm-premium .pdp-row {
    padding: 1rem 0.85rem;
  }

  body.sm-premium .pdp-details-col {
    border-left: none;
    padding-left: 0;
    margin-top: 0.5rem;
  }

  .pdp-gallery-col .sp-large a {
    min-height: min(78vw, 320px);
    padding: 1rem;
  }

  .pdp-gallery-col .sp-large a img {
    max-height: min(78vw, 320px);
  }

  .pdp-gallery-col .sp-thumbs {
    justify-content: center;
  }
}

/* ===== Cart page ===== */
.sm-cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.75rem;
  align-items: start;
}

.sm-cart-items {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  overflow: hidden;
}

.sm-cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid #eee;
}

.sm-cart-item:last-child {
  border-bottom: none;
}

.sm-cart-item-img {
  width: 88px;
  height: 88px;
  border-radius: var(--sm-radius-sm);
  object-fit: contain;
  background: #f8f8f8;
  padding: 0.35rem;
}

.sm-cart-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sm-green-dark);
  margin: 0 0 0.25rem;
}

.sm-cart-item-name a {
  color: inherit;
  text-decoration: none;
}

.sm-cart-item-name a:hover {
  color: var(--sm-green);
}

.sm-cart-item-price {
  font-size: 0.9rem;
  color: var(--sm-text-muted);
  margin: 0;
}

.sm-cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.sm-cart-qty-select {
  min-width: 72px;
  padding: 0.35rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
}

.sm-cart-remove {
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #c82333;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background var(--sm-transition);
}

.sm-cart-remove:hover {
  background: rgba(200, 35, 51, 0.08);
  border-color: #c82333;
}

.sm-cart-summary {
  position: sticky;
  top: calc(var(--sm-header-height) + 1rem);
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.5rem;
}

.sm-cart-summary h3 {
  font-size: 1.15rem;
  color: var(--sm-green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sm-cream);
}

.sm-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--sm-text-muted);
}

.sm-cart-summary-row.total {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--sm-cream);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sm-green-dark);
}

.sm-cart-summary-note {
  font-size: 0.8rem;
  color: var(--sm-text-muted);
  margin: 0.75rem 0 1.25rem;
  line-height: 1.5;
}

.sm-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sm-cart-actions .sm-btn-primary {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.sm-cart-continue {
  text-align: center;
  display: block;
  color: var(--sm-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.sm-cart-continue:hover {
  color: var(--sm-green-dark);
  text-decoration: none;
}

.sm-cart-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
}

@media (max-width: 991px) {
  .sm-cart-layout {
    grid-template-columns: 1fr;
  }
  .sm-cart-summary {
    position: static;
  }
  .sm-cart-item {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
  }

  .sm-cart-item-img {
    width: 88px;
    height: 88px;
    justify-self: center;
    object-fit: contain;
    object-position: center;
  }
  .sm-cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

/* Checkout focus mode - same logo bar, no nav */
body.sm-checkout {
  --sm-header-height: 72px;
}

body.sm-checkout header.sm-checkout-header {
  background: linear-gradient(135deg, rgba(15, 61, 38, 0.97) 0%, rgba(27, 94, 59, 0.95) 100%);
  box-shadow: var(--sm-shadow-md);
}

body.sm-checkout .sm-checkout-label {
  color: var(--sm-mango-light);
  font-family: var(--sm-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

body.sm-checkout .sm-page-bar {
  display: none;
}

body.sm-checkout .float-wap {
  display: none !important;
}

footer.sm-checkout-footer {
  background: linear-gradient(180deg, var(--sm-green-dark) 0%, #0a2818 100%);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

body.sm-checkout .sm-checkout-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--sm-white);
  font-weight: 600;
  font-size: 1rem;
}

body.sm-checkout .sm-checkout-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

body.sm-checkout .sm-footer-razorpay-badge .footer-razorpay-logo {
  height: 28px;
}

@media (max-width: 575px) {
  body.sm-checkout {
    --sm-header-height: 64px;
  }

  body.sm-checkout .sm-checkout-label {
    font-size: 1rem;
  }
}

/* SEO: Quick summary & FAQ */
.sm-quick-summary {
  background: var(--sm-cream);
  border-left: 4px solid var(--sm-mango);
  border-radius: var(--sm-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--sm-text);
  line-height: 1.6;
}

.sm-quick-summary strong {
  color: var(--sm-green-dark);
}

.sm-faq-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.sm-faq-list {
  max-width: 800px;
  margin: 1.5rem auto 0;
}

.sm-faq-item {
  background: var(--sm-white);
  border: 1px solid rgba(27, 94, 59, 0.12);
  border-radius: var(--sm-radius-sm);
  margin-bottom: 0.75rem;
  padding: 0.25rem 1rem;
}

.sm-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 0;
}

.sm-faq-item summary::-webkit-details-marker {
  display: none;
}

.sm-faq-item summary h3 {
  display: inline;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.sm-faq-item p {
  margin: 0 0 1rem;
  color: var(--sm-text-muted);
  line-height: 1.65;
}

.sm-who-for-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.sm-who-for-list li {
  background: var(--sm-cream);
  border-radius: var(--sm-radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
}

.sm-category-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.sm-category-links a {
  color: var(--sm-green);
  font-weight: 600;
}

.sm-shop-cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.sm-category-card-compact {
  min-height: auto;
}

.sm-category-card-compact .sm-category-card-body {
  padding: 1rem;
}

.sm-category-card-compact h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.sm-category-card-compact p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--sm-text-muted);
}

.sm-shop-seo-copy {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.sm-shop-seo-copy p {
  max-width: 720px;
  line-height: 1.7;
  color: var(--sm-text-muted);
}

.sm-legal-summary {
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pdp-seo-block {
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  padding: 1.25rem 1.5rem;
}

.pdp-seo-block h2 {
  margin: 1.25rem 0 0.5rem;
  padding: 0;
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
}

.pdp-seo-block h2:first-child {
  margin-top: 0;
}

.pdp-seo-block p {
  margin: 0;
  padding: 0;
  color: var(--sm-text-muted);
  line-height: 1.65;
  font-family: var(--sm-font-body);
  font-size: 0.95rem;
}

.pdp-seo-block .sm-who-for-list {
  margin: 0;
  padding: 0;
  font-family: var(--sm-font-body);
}

.pdp-seo-block .sm-who-for-list li {
  background: var(--sm-white);
  border: 1px solid rgba(27, 94, 59, 0.12);
  color: var(--sm-text);
  font-size: 0.9rem;
}

.pdp-seo-block .sm-who-for-list + p {
  margin-top: 0.75rem;
}

.pdp-seo-block p:last-child {
  margin-top: 1rem;
}

/* ===== Checkout flow UX ===== */
.sm-checkout-page {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
}

.sm-checkout-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 0.35rem;
}

.sm-checkout-subtitle {
  text-align: center;
  color: var(--sm-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.sm-checkout-stepper {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.sm-checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.sm-checkout-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: #e8e8e8;
  z-index: 0;
  transform: translateY(-50%);
}

.sm-checkout-step {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sm-checkout-step-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}

a.sm-checkout-step-link:hover {
  text-decoration: none;
}

.sm-checkout-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  background: #e8ece9;
  color: var(--sm-text-muted);
  border: 2px solid #e8ece9;
  transition: all var(--sm-transition);
  flex-shrink: 0;
}

.sm-checkout-step-num .fa {
  font-size: 0.8rem;
  line-height: 1;
}

.sm-checkout-step--active .sm-checkout-step-num {
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark);
  border-color: var(--sm-mango);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.sm-checkout-step--complete .sm-checkout-step-num {
  background: var(--sm-green);
  color: var(--sm-white);
  border-color: var(--sm-green);
}

.sm-checkout-step-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sm-text-muted);
  white-space: nowrap;
  line-height: 1.2;
}

.sm-checkout-step--active .sm-checkout-step-label {
  color: var(--sm-green-dark);
}

.sm-checkout-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  background: var(--sm-white);
  border-radius: var(--sm-radius-sm);
  box-shadow: var(--sm-shadow-sm);
  font-size: 0.82rem;
  color: var(--sm-text-muted);
}

.sm-checkout-trust li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.sm-checkout-trust .fa {
  color: var(--sm-green);
}

.sm-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.75rem;
  align-items: start;
}

.sm-checkout-main {
  min-width: 0;
}

.sm-checkout-panel {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  overflow: hidden;
}

.sm-checkout-panel-section + .sm-checkout-panel-section {
  border-top: 1px solid rgba(27, 94, 59, 0.08);
}

.sm-checkout-panel + .sm-checkout-panel {
  margin-top: 1rem;
}

.sm-checkout-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--sm-cream);
  border-bottom: 1px solid rgba(27, 94, 59, 0.08);
  cursor: pointer;
  user-select: none;
}

.sm-checkout-panel-header h2,
.sm-checkout-panel-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.sm-checkout-panel-header .fa-chevron-down {
  transition: transform var(--sm-transition);
  color: var(--sm-green);
}

.sm-checkout-panel-header[aria-expanded="true"] .fa-chevron-down,
.sm-checkout-panel-header:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
}

.sm-checkout-panel-body {
  padding: 1.25rem;
}

.sm-checkout-alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--sm-radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  text-align: center;
}

.sm-checkout-alert--success {
  background: rgba(27, 94, 59, 0.1);
  color: var(--sm-green-dark);
  border: 1px solid rgba(27, 94, 59, 0.2);
}

.sm-checkout-alert--danger {
  background: rgba(200, 35, 51, 0.08);
  color: #721c24;
  border: 1px solid rgba(200, 35, 51, 0.2);
}

/* Quantity stepper */
.sm-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: var(--sm-radius-pill);
  overflow: hidden;
  background: var(--sm-white);
}

.sm-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--sm-cream);
  color: var(--sm-green-dark);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--sm-transition);
  line-height: 1;
}

.sm-qty-btn:hover:not(:disabled) {
  background: var(--sm-mango-light);
}

.sm-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.sm-qty-input {
  width: 42px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  -moz-appearance: textfield;
}

.sm-qty-input::-webkit-outer-spin-button,
.sm-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sm-checkout-lines {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  overflow: hidden;
}

.sm-checkout-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid #eee;
}

.sm-checkout-line:last-child {
  border-bottom: none;
}

.sm-checkout-line.sm-checkout-line--updating {
  opacity: 0.55;
  pointer-events: none;
}

.sm-checkout-line-img {
  width: 64px;
  height: 64px;
  border-radius: var(--sm-radius-sm);
  object-fit: contain;
  background: #f8f8f8;
  padding: 0.25rem;
}

.sm-checkout-line-name {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--sm-green-dark);
}

.sm-checkout-line-name a {
  color: inherit;
  text-decoration: none;
}

.sm-checkout-line-meta,
.sm-checkout-line-qty {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--sm-text-muted);
}

.sm-checkout-line-remove {
  width: auto;
  height: auto;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sm-checkout-line-total {
  font-weight: 700;
  color: var(--sm-green-dark);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.sm-checkout-lines--compact .sm-checkout-line {
  padding: 0.85rem 1rem;
  grid-template-columns: 48px 1fr auto;
}

.sm-checkout-lines--compact .sm-checkout-line-img {
  width: 48px;
  height: 48px;
}

.sm-order-summary-count {
  font-size: 0.85rem;
  color: var(--sm-text-muted);
  margin: -0.5rem 0 0.85rem;
}

.sm-order-summary-mini {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #e8e8e8;
}

.sm-order-summary-mini-row {
  font-size: 0.82rem;
  color: var(--sm-text-muted);
  padding: 0.2rem 0;
}

.sm-order-summary-address {
  font-size: 0.85rem;
  color: var(--sm-text-muted);
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sm-summary-muted {
  color: var(--sm-text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

.sm-summary-discount span:last-child {
  color: var(--sm-green);
}

/* Coupon box (address step) */
.sm-coupon-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e8e8e8;
}

.sm-coupon-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sm-green-dark);
  margin-bottom: 0.5rem;
}

.sm-coupon-row {
  display: flex;
  gap: 0.5rem;
}

.sm-coupon-input {
  flex: 1;
  min-width: 0;
  border-radius: var(--sm-radius-sm) !important;
  font-size: 0.9rem !important;
  text-transform: uppercase;
}

.sm-coupon-apply {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: var(--sm-radius-sm);
  background: var(--sm-green);
  color: var(--sm-white);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--sm-transition);
}

.sm-coupon-apply:hover:not(:disabled) {
  background: var(--sm-green-dark);
}

.sm-coupon-apply:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sm-coupon-msg {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.sm-coupon-msg--success {
  color: var(--sm-green);
}

.sm-coupon-msg--error {
  color: #c82333;
}

.sm-coupon-remove {
  margin-top: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--sm-text-muted);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
}

.sm-coupon-remove:hover {
  color: #c82333;
}

.sm-cart-summary-rows {
  margin-top: 0.25rem;
}

/* Shipping form sections */
.sm-form-section {
  margin-bottom: 1.5rem;
}

.sm-form-section:last-of-type {
  margin-bottom: 0;
}

.sm-form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sm-text-muted);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.sm-form-section + .sm-form-section {
  padding-top: 0.25rem;
}

/* Shipping form */
.sm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.sm-form-group {
  margin-bottom: 0;
}

.sm-form-group--full {
  grid-column: 1 / -1;
}

.sm-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--sm-green-dark);
  margin-bottom: 0.35rem;
}

.sm-form-group .form-control,
.sm-form-group select.form-control,
.sm-form-group textarea.form-control {
  border: 1px solid #ddd;
  border-radius: var(--sm-radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  transition: border-color var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-form-group .form-control:focus {
  border-color: var(--sm-green);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.12);
}

.sm-form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--sm-text-muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

.sm-address-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.sm-address-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 2px solid #e8e8e8;
  border-radius: var(--sm-radius-sm);
  cursor: pointer;
  transition: border-color var(--sm-transition), background var(--sm-transition);
  margin: 0;
}

.sm-address-card:hover {
  border-color: var(--sm-mango-light);
  background: rgba(255, 248, 240, 0.5);
}

.sm-address-card input[type="radio"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  accent-color: var(--sm-green);
}

.sm-address-card:has(input:checked) {
  border-color: var(--sm-green);
  background: rgba(27, 94, 59, 0.04);
}

.sm-address-card-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--sm-text);
}

.sm-checkout-map {
  width: 100%;
  height: 280px;
  border-radius: var(--sm-radius-sm);
  margin-top: 0.65rem;
  border: 1px solid #e8e8e8;
}

.sm-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.sm-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--sm-green);
  color: var(--sm-green);
  cursor: pointer;
  transition: all var(--sm-transition);
}

.sm-btn-secondary:hover {
  background: var(--sm-green);
  color: var(--sm-white);
  text-decoration: none;
}

.sm-btn-pay {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--sm-radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--sm-mango) 0%, var(--sm-saffron) 100%);
  color: var(--sm-green-dark);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
  transition: transform var(--sm-transition);
}

.sm-btn-pay:hover {
  transform: translateY(-2px);
  color: var(--sm-green-dark);
}

.sm-btn-pay:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Payment page */
.sm-payment-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.5rem;
}

.sm-payment-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(27, 94, 59, 0.06);
  border: 1px solid rgba(27, 94, 59, 0.15);
  border-radius: var(--sm-radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.sm-payment-notice .fa {
  color: var(--sm-green);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.sm-payment-notice a {
  color: var(--sm-green);
  font-weight: 600;
}

.sm-payment-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  margin: 1.25rem 0;
  font-size: 0.88rem;
}

.sm-payment-terms input {
  margin-top: 0.2rem;
  accent-color: var(--sm-green);
  flex-shrink: 0;
}

.sm-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.sm-payment-method-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-pill);
  font-size: 0.78rem;
  color: var(--sm-text-muted);
}

.sm-payment-help {
  font-size: 0.8rem;
  color: var(--sm-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

#payment-status-banner:not(.d-none) {
  border-radius: var(--sm-radius-sm);
  margin-bottom: 1rem;
}

/* Mobile sticky checkout bar */
.sm-checkout-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--sm-white);
  border-top: 1px solid #eee;
  padding: 0.85rem 1rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sm-checkout-mobile-bar-total {
  font-size: 0.82rem;
  color: var(--sm-text-muted);
}

.sm-checkout-mobile-bar-total strong {
  display: block;
  font-size: 1.15rem;
  color: var(--sm-green-dark);
}

.sm-checkout-mobile-bar .sm-btn-pay,
.sm-checkout-mobile-bar .sm-btn-primary {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

/* Empty cart enhancement */
.sm-cart-empty {
  max-width: 480px;
  margin: 0 auto;
}

.sm-cart-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: var(--sm-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sm-mango);
  font-size: 2rem;
}

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

/* Thank you page */
.sm-thankyou-card {
  max-width: 560px;
  margin: 2rem auto;
  text-align: center;
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-md);
  padding: 2.5rem 2rem;
}

.sm-thankyou-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.sm-thankyou-icon--success {
  background: rgba(27, 94, 59, 0.12);
  color: var(--sm-green);
}

.sm-thankyou-icon--error {
  background: rgba(200, 35, 51, 0.1);
  color: #c82333;
}

@media (max-width: 991px) {
  .sm-checkout-layout {
    grid-template-columns: 1fr;
  }

  .sm-cart-summary {
    position: static;
    order: -1;
  }

  .sm-order-summary-mini {
    display: none;
  }

  .sm-form-grid {
    grid-template-columns: 1fr;
  }

  .sm-checkout-mobile-bar {
    display: flex;
  }

  body.sm-checkout {
    padding-bottom: 80px;
  }

  .sm-checkout-line {
    grid-template-columns: 56px 1fr;
  }

  .sm-checkout-line-total {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }

  .sm-checkout-trust {
    font-size: 0.75rem;
    gap: 0.5rem 0.85rem;
  }

  .sm-checkout-trust li:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 575px) {
  .sm-checkout-steps::before {
    left: 12.5%;
    width: 75%;
    top: 16px;
  }

  .sm-checkout-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }

  .sm-checkout-step-label {
    font-size: 0.68rem;
  }
}

/* Orders & order tracking */
.sm-orders-page,
.sm-order-status-page {
  padding-top: 0.5rem;
}

.sm-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
}

.sm-order-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  border: 1px solid rgba(27, 94, 59, 0.08);
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-order-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sm-shadow-md);
}

.sm-order-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: inherit;
  text-decoration: none;
}

.sm-order-card-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.sm-order-card-index {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sm-cream);
  color: var(--sm-green);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sm-order-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sm-order-card-id {
  font-weight: 700;
  color: var(--sm-green-dark);
  font-size: 0.95rem;
}

.sm-order-card-date {
  font-size: 0.85rem;
  color: var(--sm-text-muted);
}

.sm-order-card-action {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sm-green);
  white-space: nowrap;
}

.sm-order-card-action .fa {
  margin-left: 0.15rem;
}

.sm-order-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--sm-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sm-order-badge--lg {
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
}

.sm-order-badge--harvesting {
  background: #fff3cd;
  color: #856404;
}

.sm-order-badge--preparing {
  background: #fff3cd;
  color: #856404;
}

.sm-order-badge--ripening {
  background: #d4edda;
  color: #155724;
}

.sm-order-badge--packing {
  background: #cce5ff;
  color: #004085;
}

.sm-order-badge--shipping {
  background: #e2d5f7;
  color: #4a2c7a;
}

.sm-order-badge--delivered {
  background: var(--sm-green);
  color: var(--sm-white);
}

.sm-order-badge--current {
  background: var(--sm-mango);
  color: var(--sm-green-dark);
  text-transform: none;
  font-size: 0.72rem;
}

.sm-order-empty {
  text-align: center;
  max-width: 420px;
  margin: 2rem auto 0;
  padding: 2.5rem 1.5rem;
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
}

.sm-order-empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sm-cream);
  color: var(--sm-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.sm-order-empty h3 {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
  margin-bottom: 0.5rem;
}

.sm-order-empty p {
  color: var(--sm-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.sm-order-status-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.sm-order-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sm-green);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.sm-order-back:hover {
  color: var(--sm-green-dark);
  text-decoration: none;
}

.sm-order-status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.sm-order-panel {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  border: 1px solid rgba(27, 94, 59, 0.08);
  padding: 1.35rem 1.25rem;
  margin-bottom: 1.25rem;
}

.sm-order-panel-title {
  font-family: var(--sm-font-display);
  font-size: 1.15rem;
  color: var(--sm-green-dark);
  margin-bottom: 1.15rem;
}

.sm-order-track-note {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  border-left: 3px solid var(--sm-mango);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--sm-text-muted);
}

.sm-order-track-note .fa {
  color: var(--sm-green);
  margin-right: 0.35rem;
}

.sm-order-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-order-timeline-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.sm-order-timeline-step:last-child {
  padding-bottom: 0;
}

.sm-order-timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 2rem;
  bottom: 0;
  width: 2px;
  background: #e5ebe7;
  transform: translateX(-50%);
}

.sm-order-timeline-step--complete:not(:last-child)::before {
  background: var(--sm-green-light);
}

.sm-order-timeline-marker {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ef;
  color: var(--sm-text-muted);
  z-index: 1;
}

.sm-order-timeline-step--complete .sm-order-timeline-marker {
  background: var(--sm-green);
  color: var(--sm-white);
}

.sm-order-timeline-step--active .sm-order-timeline-marker {
  background: var(--sm-mango);
  color: var(--sm-green-dark);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.25);
}

.sm-order-timeline-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

.sm-order-timeline-card {
  display: flex;
  gap: 0.85rem;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  padding: 0.85rem;
  border: 1px solid rgba(27, 94, 59, 0.06);
}

.sm-order-timeline-step--upcoming .sm-order-timeline-card {
  opacity: 0.72;
}

.sm-order-timeline-step--active .sm-order-timeline-card {
  border-color: rgba(245, 166, 35, 0.35);
  background: #fffaf2;
}

.sm-order-timeline-media {
  flex-shrink: 0;
  width: 88px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sm-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-order-timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sm-order-timeline-media--icon {
  font-size: 1.6rem;
  color: var(--sm-green);
}

.sm-order-timeline-body {
  min-width: 0;
}

.sm-order-timeline-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.sm-order-timeline-head h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sm-green-dark);
  margin: 0;
}

.sm-order-timeline-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--sm-text-muted);
}

.sm-order-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sm-order-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(27, 94, 59, 0.08);
}

.sm-order-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sm-order-item-name {
  display: block;
  font-weight: 700;
  color: var(--sm-green-dark);
  margin-bottom: 0.2rem;
}

.sm-order-item-tag {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--sm-radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.sm-order-item-tag--fresh-mango {
  background: #d4edda;
  color: #155724;
}

.sm-order-item-tag--mango-product {
  background: #fff3cd;
  color: #856404;
}

.sm-order-item-meta {
  font-size: 0.86rem;
  color: var(--sm-text-muted);
}

.sm-order-review-display p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: var(--sm-text);
  line-height: 1.45;
}

.sm-order-review-stars {
  color: var(--sm-mango);
  font-size: 0.85rem;
}

.sm-btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.sm-order-summary-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  border: 1px solid rgba(27, 94, 59, 0.08);
  padding: 1.35rem 1.25rem;
  position: sticky;
  top: calc(var(--sm-header-height) + 1rem);
}

.sm-order-summary-card h2 {
  font-family: var(--sm-font-display);
  font-size: 1.15rem;
  color: var(--sm-green-dark);
  margin-bottom: 1rem;
}

.sm-order-summary-block {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(27, 94, 59, 0.08);
}

.sm-order-summary-block h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sm-text-muted);
  margin-bottom: 0.35rem;
}

.sm-order-summary-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--sm-text);
}

.sm-order-address {
  font-style: normal;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--sm-text);
}

.sm-order-address-line {
  display: block;
}

.sm-order-address-card {
  padding: 0.75rem 0.85rem;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  border: 1px solid rgba(27, 94, 59, 0.06);
}

.sm-order-summary-address {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
}

.sm-order-summary-address .fa-map-marker {
  color: var(--sm-green);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.sm-order-summary-rows {
  margin: 0;
}

.sm-order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.sm-order-summary-row dt {
  margin: 0;
  font-weight: 500;
  color: var(--sm-text-muted);
}

.sm-order-summary-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--sm-text);
}

.sm-order-summary-row--discount dd {
  color: var(--sm-green);
}

.sm-order-summary-row--total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(27, 94, 59, 0.12);
  font-size: 1rem;
}

.sm-order-summary-row--total dt,
.sm-order-summary-row--total dd {
  font-weight: 700;
  color: var(--sm-green-dark);
}

.sm-order-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}

.sm-order-rating > input {
  display: none;
}

.sm-order-rating > label {
  font-size: 1.75rem;
  color: #ddd;
  cursor: pointer;
  line-height: 1;
}

.sm-order-rating > label:hover,
.sm-order-rating > label:hover ~ label,
.sm-order-rating > input:checked ~ label {
  color: var(--sm-mango);
}

.sm-order-review-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sm-green-dark);
}

@media (max-width: 991px) {
  .sm-order-status-layout {
    grid-template-columns: 1fr;
  }

  .sm-order-summary-card {
    position: static;
  }

  .sm-order-card-link {
    flex-direction: column;
    align-items: stretch;
  }

  .sm-order-card-action {
    text-align: right;
  }
}

@media (max-width: 575px) {
  .sm-order-timeline-card {
    flex-direction: column;
  }

  .sm-order-timeline-media {
    width: 100%;
    height: 72px;
  }
}

/* ── Ripening tips page ── */
.sm-ripening-page {
  --ripening-yes: #2d7a4f;
  --ripening-caution: #856404;
  --ripening-avoid: #c0392b;
}

.sm-ripening-section-title {
  font-family: var(--sm-font-display);
  color: var(--sm-green-dark);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 0.75rem;
}

.sm-ripening-section-lead {
  color: var(--sm-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38rem;
  margin: 0;
}

.sm-ripening-quickstart {
  background: linear-gradient(135deg, rgba(27, 94, 59, 0.08) 0%, rgba(244, 162, 41, 0.1) 100%);
  border: 1px solid rgba(27, 94, 59, 0.12);
  border-radius: var(--sm-radius);
  padding: 1.75rem 1.85rem;
  margin-bottom: 2.5rem;
}

.sm-ripening-quickstart-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sm-ripening-quickstart-steps > li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.sm-ripening-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sm-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-ripening-quickstart-steps strong {
  display: block;
  color: var(--sm-green-dark);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.sm-ripening-quickstart-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sm-text-muted);
  line-height: 1.55;
}

.sm-ripening-methods {
  margin-bottom: 2.5rem;
}

.sm-ripening-methods-head {
  margin-bottom: 1.35rem;
}

.sm-ripening-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.sm-ripening-method-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(27, 94, 59, 0.06);
  display: flex;
  flex-direction: column;
}

.sm-ripening-method-card:first-child {
  border-color: rgba(27, 94, 59, 0.22);
  box-shadow: 0 8px 28px rgba(27, 94, 59, 0.1);
}

.sm-ripening-method-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sm-ripening-method-icon {
  font-size: 1.65rem;
  color: var(--sm-green);
  line-height: 1;
}

.sm-ripening-method-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.sm-ripening-method-badge--recommended {
  background: rgba(27, 94, 59, 0.12);
  color: var(--sm-green-dark);
}

.sm-ripening-method-badge--traditional {
  background: rgba(184, 134, 11, 0.15);
  color: #8b6914;
}

.sm-ripening-method-badge--easiest {
  background: rgba(244, 162, 41, 0.18);
  color: #a66b00;
}

.sm-ripening-method-title {
  font-family: var(--sm-font-display);
  font-size: 1.15rem;
  color: var(--sm-green-dark);
  margin: 0 0 0.45rem;
}

.sm-ripening-method-time {
  font-size: 0.82rem;
  color: var(--sm-text-muted);
  margin: 0 0 0.65rem;
}

.sm-ripening-method-time .fa {
  margin-right: 0.25rem;
  color: var(--sm-green);
}

.sm-ripening-method-summary {
  font-size: 0.88rem;
  color: var(--sm-text);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.sm-ripening-method-steps {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  flex: 1;
}

.sm-ripening-method-steps li {
  font-size: 0.86rem;
  color: var(--sm-text);
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.sm-ripening-method-steps li:last-child {
  margin-bottom: 0;
}

.sm-ripening-method-note {
  font-size: 0.8rem;
  color: var(--sm-text-muted);
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  padding: 0.65rem 0.75rem;
  margin: 0;
  line-height: 1.5;
}

.sm-ripening-method-note .fa {
  color: var(--sm-mango);
  margin-right: 0.25rem;
}

.sm-ripening-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.sm-ripening-panel {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.65rem 1.5rem;
  border: 1px solid rgba(27, 94, 59, 0.06);
}

.sm-ripening-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.sm-ripening-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: var(--sm-radius-sm);
}

.sm-ripening-check--yes {
  background: rgba(45, 122, 79, 0.08);
  border: 1px solid rgba(45, 122, 79, 0.15);
}

.sm-ripening-check--caution {
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.18);
}

.sm-ripening-check-icon {
  flex-shrink: 0;
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.sm-ripening-check--yes .sm-ripening-check-icon {
  color: var(--ripening-yes);
}

.sm-ripening-check--caution .sm-ripening-check-icon {
  color: var(--ripening-caution);
}

.sm-ripening-check h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sm-green-dark);
  margin: 0 0 0.25rem;
}

.sm-ripening-check p {
  font-size: 0.82rem;
  color: var(--sm-text-muted);
  margin: 0;
  line-height: 1.5;
}

.sm-ripening-panel--avoid {
  border-color: rgba(192, 57, 43, 0.12);
}

.sm-ripening-avoid-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.sm-ripening-avoid-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--sm-text);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.sm-ripening-avoid-list li:last-child {
  margin-bottom: 0;
}

.sm-ripening-avoid-list .fa {
  color: var(--ripening-avoid);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.sm-ripening-after {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  padding: 1.5rem 1.65rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--sm-mango);
}

.sm-ripening-after-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(244, 162, 41, 0.15);
  color: var(--sm-mango);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.sm-ripening-after p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sm-text-muted);
  line-height: 1.65;
}

.sm-ripening-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 0.5rem;
}

@media (max-width: 991px) {
  .sm-ripening-method-grid {
    grid-template-columns: 1fr;
  }

  .sm-ripening-panels {
    grid-template-columns: 1fr;
  }

  .sm-ripening-quickstart-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-ripening-check-grid {
    grid-template-columns: 1fr;
  }

  .sm-ripening-related {
    flex-direction: column;
  }

  .sm-ripening-related .sm-btn-primary,
  .sm-ripening-related .sm-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Issue / error pages ===== */
.sm-issue-page {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--sm-cream) 0%, var(--sm-ivory) 100%);
  min-height: 55vh;
}

.sm-issue-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-md);
  padding: 2.5rem 2rem;
  text-align: center;
}

.sm-issue-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18) 0%, rgba(232, 150, 12, 0.12) 100%);
  color: var(--sm-green);
  font-size: 1.75rem;
}

.sm-issue-title {
  font-family: var(--sm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--sm-green-dark);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.sm-issue-lead {
  color: var(--sm-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.sm-issue-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sm-issue-actions .sm-btn-primary,
.sm-issue-actions .sm-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sm-issue-whatsapp:hover {
  color: var(--sm-green-dark);
}

.sm-issue-help {
  text-align: left;
  background: var(--sm-cream);
  border-radius: var(--sm-radius-sm);
  padding: 1.25rem 1.35rem;
}

.sm-issue-help-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sm-green-dark);
  margin-bottom: 0.75rem;
}

.sm-issue-tips {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--sm-text-muted);
  line-height: 1.7;
}

.sm-issue-tips li + li {
  margin-top: 0.35rem;
}

@media (max-width: 575px) {
  .sm-issue-card {
    padding: 2rem 1.25rem;
  }

  .sm-issue-actions .sm-btn-primary,
  .sm-issue-actions .sm-btn-outline {
    width: 100%;
    justify-content: center;
  }
}
