/* ============================================================
   PHYTOCELL LIFE — Premium Healthcare Design System
   ============================================================ */

:root {
  --phyto-green-900: #0b3d2e;
  --phyto-green-700: #0f6b4d;
  --phyto-green-500: #19a36b;
  --phyto-mint-100: #e9f6f1;
  --phyto-mint-50: #f7fbf9;
  --phyto-ink: #1f2a24;
  --phyto-muted: #5c6a63;
  --phyto-accent: #b8943a;
  --phyto-topbar-height: 36px;
  --phyto-nav-height: 72px;
  --phyto-header-offset: calc(var(--phyto-topbar-height) + var(--phyto-nav-height));
}

.phyto-site {
  font-family: "Inter", Arial, sans-serif;
  color: var(--phyto-ink);
  padding-top: var(--phyto-header-offset);
}

/* Legacy page-header banner removed site-wide */
.phyto-site .page-header.pattern {
  display: none !important;
}

/* ============================================================
   INNER PAGE HERO — unified header for static pages
   ============================================================ */
.phyto-page-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 36px;
  background: linear-gradient(160deg, var(--phyto-mint-50) 0%, #ffffff 45%, #f4faf7 100%);
  border-bottom: 1px solid #e7f0ea;
}

.phyto-page-hero .hero-bg-shape {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 163, 107, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.phyto-page-hero-inner {
  position: relative;
  z-index: 1;
}

.phyto-page-hero .eyebrow-wrap {
  margin-bottom: 10px;
}

.phyto-page-hero .phyto-page-title {
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--phyto-green-900);
  margin: 0 0 10px;
  background: linear-gradient(120deg, var(--phyto-green-900), var(--phyto-green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phyto-page-hero .phyto-page-lead {
  font-size: 17px;
  color: var(--phyto-muted);
  max-width: 640px;
  margin: 0 0 8px;
  line-height: 1.7;
}

.phyto-page-hero .phyto-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  font-size: 14px;
}

.phyto-page-hero .phyto-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--phyto-muted);
}

.phyto-page-hero .phyto-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: #c5d4cc;
}

.phyto-page-hero .phyto-breadcrumb li.active {
  color: var(--phyto-green-900);
  font-weight: 600;
}

.phyto-page-hero .phyto-breadcrumb a {
  color: var(--phyto-green-500);
  text-decoration: none;
  font-weight: 500;
}

.phyto-page-hero .phyto-breadcrumb a:hover {
  color: var(--phyto-green-900);
  text-decoration: underline;
}

.phyto-page-body {
  padding-top: 0;
}

@media (max-width: 767px) {
  .phyto-page-hero {
    padding: 32px 0 28px;
  }

  .phyto-page-hero .phyto-page-title {
    font-size: 28px;
  }
}

.phyto-site .modern-home,
.modern-home {
  font-family: "Inter", Arial, sans-serif;
  color: var(--phyto-ink);
  line-height: 1.8;
}

.phyto-site p,
.phyto-site li {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--phyto-muted);
}

.phyto-site h1,
.phyto-site h2,
.phyto-site h3,
.phyto-site h4,
.phyto-site h5,
.phyto-site h6 {
  color: var(--phyto-green-900);
  letter-spacing: -0.2px;
}

/* Top utility bar */
.phyto-site .top-bar {
  background: linear-gradient(90deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
  padding: 0;
  min-height: var(--phyto-topbar-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.phyto-site .top-bar > .container-fluid {
  width: 100%;
}

.phyto-site .top-bar .row {
  display: flex;
  align-items: center;
  min-height: var(--phyto-topbar-height);
  margin: 0;
}

.phyto-site .top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 6px 0;
}

.phyto-site .top-bar a {
  color: #ffffff;
  text-decoration: none;
}

.phyto-site .top-bar-left span {
  margin-right: 0;
  white-space: nowrap;
}

.phyto-site .top-bar-left i,
.phyto-site .top-bar-right i {
  margin-right: 6px;
}

.phyto-site .top-bar-right a {
  margin-left: 16px;
  opacity: 0.9;
}

.phyto-site .top-cta {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
}

/* Premium navigation — overrides legacy red theme */
.phyto-site .phyto-nav.navbar,
.phyto-site .me-menu.navbar {
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(17, 42, 32, 0.12) !important;
  border: none !important;
  top: var(--phyto-topbar-height) !important;
  z-index: 1050;
  min-height: 0;
  margin-bottom: 0;
  height: auto;
}

.phyto-site .phyto-nav-shell {
  padding-left: 20px;
  padding-right: 20px;
}

.phyto-site .phyto-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--phyto-nav-height);
  gap: 12px;
}

.phyto-site .phyto-nav-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  float: none !important;
  margin: 0 !important;
  width: auto;
  min-height: var(--phyto-nav-height);
}

.phyto-site .phyto-nav .navbar-header {
  float: none !important;
}

.phyto-site .phyto-nav-brand {
  display: flex;
  align-items: center;
  height: var(--phyto-nav-height);
  padding: 10px 0 !important;
  margin: 0 !important;
  float: none !important;
}

.phyto-site .phyto-nav-brand img,
.phyto-site .navbar-brand img,
.phyto-site img.img-responsive.logo1 {
  max-height: 46px !important;
  width: auto !important;
  margin: 0 !important;
  display: block;
}

.phyto-site .phyto-nav-toggle {
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #d8e8de !important;
  border-radius: 10px !important;
  background: #fff !important;
}

.phyto-site .phyto-nav-collapse {
  float: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

@media (min-width: 992px) {
  .phyto-site .phyto-nav-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    width: auto !important;
    gap: 8px;
  }

  .phyto-site .phyto-nav-collapse.collapse {
    display: flex !important;
    height: auto !important;
  }
}

.phyto-site .phyto-nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  float: none !important;
  margin: 0 !important;
}

.phyto-site .phyto-nav-menu > li {
  float: none !important;
  display: flex;
  align-items: center;
}

.phyto-site .phyto-nav .navbar-nav > li > a,
.phyto-site .me-menu.navbar .navbar-nav > li > a,
.phyto-site .phyto-nav-menu > li > a {
  color: var(--phyto-ink) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 26px 10px !important;
  background: transparent !important;
  letter-spacing: 0.2px;
  line-height: 1.2;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.phyto-site .phyto-nav .navbar-nav > li > a:hover,
.phyto-site .phyto-nav .navbar-nav > li.active > a,
.phyto-site .me-menu.navbar .navbar-nav > li > a:hover,
.phyto-site .me-menu.navbar .navbar-nav > li.active > a,
.phyto-site .nav > li:focus a,
.phyto-site .nav > li:hover a,
.phyto-site .nav > li > a:focus,
.phyto-site .nav > li > a:hover {
  color: var(--phyto-green-500) !important;
  background: transparent !important;
}

.phyto-site .phyto-nav-menu .caret,
.phyto-site .phyto-nav-menu .caret.caret {
  margin-left: 2px;
}

.phyto-site .phyto-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 6px;
}

.phyto-site .phyto-nav-actions .nav-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.phyto-site .phyto-nav-actions .nav-btn:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.phyto-site .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phyto-site .nav-btn-primary {
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500)) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(13, 107, 43, 0.22);
}

.phyto-site .nav-btn-primary:hover {
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(13, 107, 43, 0.28);
}

.phyto-site .nav-btn-outline {
  border: 2px solid var(--phyto-green-900) !important;
  color: var(--phyto-green-900) !important;
  background: #ffffff !important;
}

.phyto-site .nav-btn-outline:hover {
  background: rgba(13, 107, 43, 0.06) !important;
  color: var(--phyto-green-900) !important;
}

.phyto-site .phyto-nav-mobile-only {
  display: none !important;
}

.phyto-site .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e0ece5 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  padding: 8px 0 !important;
  margin-top: 0 !important;
}

.phyto-site .dropdown-menu a {
  color: var(--phyto-ink) !important;
  padding: 10px 20px !important;
}

.phyto-site .dropdown-menu a:hover {
  background: var(--phyto-mint-100) !important;
  color: var(--phyto-green-900) !important;
}

.phyto-site .navbar-toggle .icon-bar {
  background-color: var(--phyto-green-900) !important;
}

@media (min-width: 1200px) {
  .phyto-site .phyto-nav .navbar-nav > li > a,
  .phyto-site .phyto-nav-menu > li > a {
    padding: 26px 12px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .phyto-site .phyto-nav .navbar-nav > li > a,
  .phyto-site .phyto-nav-menu > li > a {
    padding: 26px 7px !important;
    font-size: 11.5px !important;
  }

  .phyto-site .phyto-nav-actions .nav-btn {
    padding: 0 12px !important;
    font-size: 11px !important;
  }
}

/* Override legacy theme + inline mobile navbar rules */
.phyto-site .phyto-nav.navbar-fixed-top {
  position: fixed !important;
}

.phyto-site.me-menu .nav > li:hover a,
.phyto-site.me-menu .nav > li:focus a,
.phyto-site .me-menu .nav > li:hover a,
.phyto-site .me-menu .nav > li:focus a {
  background: transparent !important;
}

@media (max-width: 520px) {
  .phyto-site .navbar-nav > li > a {
    color: var(--phyto-ink) !important;
  }

  .phyto-site .top-bar-email {
    display: none !important;
  }

  .phyto-site .top-bar-left span,
  .phyto-site .top-bar-phone {
    max-width: none !important;
    font-size: 11px;
  }

  .phyto-site .navbar,
  .phyto-site .phyto-nav.navbar {
    height: auto !important;
    min-height: 0 !important;
  }

  .phyto-site .navbar-brand,
  .phyto-site .phyto-nav-brand {
    float: none !important;
  }

  .phyto-site .navbar-brand img,
  .phyto-site .phyto-nav-brand img,
  .phyto-site img.img-responsive.logo1 {
    width: auto !important;
    max-width: 155px !important;
    max-height: 36px !important;
    margin-top: 0 !important;
  }
}

/* Premium footer */
.phyto-site .phyto-footer.footer {
  background: linear-gradient(180deg, #0a3d1a 0%, #0d6b2b 100%) !important;
  color: #ffffff;
  padding-top: 60px;
}

.phyto-site .phyto-footer h6 {
  color: #b6d94c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 16px;
}

.phyto-site .phyto-footer p,
.phyto-site .phyto-footer li {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.phyto-site .footer-logo {
  max-height: 50px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.phyto-site .footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.phyto-site .footer-trust span {
  font-size: 13px;
  color: #b6d94c;
}

.phyto-site .footer-trust i {
  margin-right: 6px;
}

.phyto-site #myBtn {
  background: linear-gradient(135deg, #0d6b2b, #1d8f3a) !important;
  border-radius: 50% !important;
}

.modern-about {
  font-family: "Inter", Arial, sans-serif;
  color: #333333;
  line-height: 1.8;
}

.modern-home h1,
.modern-home h2,
.modern-home h3,
.modern-home h4,
.modern-home h5 {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-weight: 700;
  color: var(--phyto-green-900);
}

.modern-about h1,
.modern-about h2,
.modern-about h3,
.modern-about h4,
.modern-about h5 {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-weight: 700;
  color: #0d6b2b;
}

.modern-home .section {
  padding: 80px 0;
}

.modern-about .section {
  padding: 80px 0;
}

.modern-home .section-alt {
  background: var(--phyto-mint-50);
}

.modern-about .section-alt {
  background: #f8fafc;
}

.modern-home .section-soft {
  background: var(--phyto-mint-100);
}

.modern-about .section-soft {
  background: #f4faf4;
}

.modern-home .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--phyto-green-500);
  margin-bottom: 12px;
}

.modern-about .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1d8f3a;
  margin-bottom: 12px;
}

.modern-home .hero-section {
  padding: 60px 0 80px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-home .hero-premium {
  background: linear-gradient(135deg, #f8fafc 0%, #f4faf4 50%, #ffffff 100%);
}

.modern-home .hero-bg-shape {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 143, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.modern-home .gradient-text {
  background: linear-gradient(90deg, var(--phyto-green-900), var(--phyto-green-500), var(--phyto-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero infographic */
.modern-home .hero-infographic {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-home .infographic-ring {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 3px dashed rgba(25, 163, 107, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slow-spin 30s linear infinite;
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.modern-home .ring-center {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 40px rgba(13, 107, 43, 0.3);
  animation: slow-spin 30s linear infinite reverse;
}

.modern-home .ring-center i {
  font-size: 32px;
  margin-bottom: 4px;
}

.modern-home .ring-center span {
  font-size: 12px;
  font-weight: 600;
}

.modern-home .ring-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--phyto-green-500);
  animation: slow-spin 30s linear infinite reverse;
}

.modern-home .ring-node small {
  font-size: 9px;
  color: var(--phyto-muted);
  margin-top: 2px;
}

.modern-home .ring-node.node-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.modern-home .ring-node.node-2 { right: -10px; top: 50%; transform: translateY(-50%); }
.modern-home .ring-node.node-3 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.modern-home .ring-node.node-4 { left: -10px; top: 50%; transform: translateY(-50%); }

.modern-home .hero-float-card {
  position: absolute;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.modern-home .hero-float-card strong {
  display: block;
  font-size: 22px;
  color: var(--phyto-green-900);
  font-family: "Poppins", sans-serif;
}

.modern-home .hero-float-card span {
  font-size: 11px;
  color: var(--phyto-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-home .hero-float-card.card-1 { top: 20px; right: 0; }
.modern-home .hero-float-card.card-2 { bottom: 30px; left: 0; }

.modern-home .hero-carousel-sub {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 107, 43, 0.1);
}

.modern-home .hero-carousel-sub .carousel {
  margin: 0;
}

.modern-home .hero-carousel-sub .carousel-inner {
  min-height: 160px;
}

.modern-home .hero-carousel-sub .carousel-inner > .item {
  text-align: center;
  padding: 12px 16px 36px;
}

.modern-home .hero-carousel-sub .carousel-inner > .item img {
  display: block;
  max-height: 150px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.modern-home .hero-carousel-sub .carousel-indicators {
  bottom: 8px;
  margin-bottom: 0;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
}

.modern-home .hero-carousel-sub .carousel-indicators li {
  width: 8px;
  height: 8px;
  margin: 0 3px;
  border-radius: 50%;
  background-color: rgba(13, 107, 43, 0.25);
  border: none;
}

.modern-home .hero-carousel-sub .carousel-indicators .active {
  background-color: var(--phyto-green-500);
}

.modern-home .hero-carousel-sub .carousel-control {
  display: none;
}

.modern-home .hero-carousel-sub .carousel-fade .carousel-inner > .item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.modern-home .hero-carousel-sub .carousel-fade .carousel-inner > .item.active {
  opacity: 1;
}

/* KPI Stats */
.modern-home .stats-section {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.modern-home .stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  border: 1px solid #e7f0ea;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modern-home .stat-card:hover {
  transform: translateY(-6px);
}

.modern-home .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 107, 77, 0.1), rgba(25, 163, 107, 0.15));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--phyto-green-500);
  font-size: 22px;
  margin-bottom: 12px;
}

.modern-home .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--phyto-green-900);
  margin: 0 0 6px;
  font-family: "Poppins", sans-serif;
}

.modern-home .stat-card p {
  margin: 0;
  color: var(--phyto-muted);
  font-size: 14px;
  flex: 1;
}

/* Why section */
.modern-home .section-white {
  background: #ffffff;
}

.modern-home .benefit-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  height: 100%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modern-home .benefit-card:hover {
  border-color: var(--phyto-green-500);
  box-shadow: 0 16px 36px rgba(13, 107, 43, 0.12);
  transform: translateY(-4px);
}

.modern-home .benefit-num {
  font-size: 32px;
  font-weight: 700;
  color: rgba(25, 163, 107, 0.2);
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.modern-home .benefit-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.modern-home .benefit-card p {
  color: var(--phyto-muted);
  margin: 0;
  font-size: 15px;
  flex: 1;
}

/* Health categories */
.modern-home .category-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  height: 100%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modern-home .category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 107, 43, 0.12);
}

.modern-home .category-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.modern-home .category-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.modern-home .category-card p {
  color: var(--phyto-muted);
  font-size: 15px;
  flex: 1;
}

.modern-home .category-link {
  color: var(--phyto-green-500);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
}

.modern-home .category-link i {
  margin-left: 6px;
  transition: transform 0.2s;
}

.modern-home .category-card:hover .category-link i {
  transform: translateX(4px);
}

/* Research block */
.modern-home .research-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.modern-home .research-list li {
  padding: 8px 0;
  color: var(--phyto-ink);
}

.modern-home .research-list i {
  color: var(--phyto-green-500);
  margin-right: 10px;
}

.modern-home .research-infographic {
  display: grid;
  gap: 16px;
}

.modern-home .research-step {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--phyto-mint-50);
  border-radius: 16px;
  padding: 20px;
  border-left: 4px solid var(--phyto-green-500);
}

.modern-home .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.modern-home .research-step h5 {
  margin: 0 0 4px;
  font-size: 16px;
}

.modern-home .research-step p {
  margin: 0;
  color: var(--phyto-muted);
  font-size: 14px;
}

/* Process timeline */
.modern-home .process-card {
  text-align: center;
  padding: 28px 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modern-home .process-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 107, 77, 0.1), rgba(25, 163, 107, 0.2));
  color: var(--phyto-green-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.modern-home .process-card h5 {
  font-size: 16px;
  margin-bottom: 8px;
}

.modern-home .process-card p {
  color: var(--phyto-muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}

/* Testimonials */
.modern-home .testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  height: 100%;
  margin-bottom: 20px;
  border: 1px solid #e7f0ea;
  display: flex;
  flex-direction: column;
}

.modern-home .quote-icon {
  color: var(--phyto-green-500);
  font-size: 24px;
  opacity: 0.4;
  margin-bottom: 16px;
}

.modern-home .testimonial-card p {
  font-size: 16px;
  color: var(--phyto-ink);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.modern-home .testimonial-author strong {
  display: block;
  color: var(--phyto-green-900);
  font-size: 15px;
}

.modern-home .testimonial-author span {
  font-size: 13px;
  color: var(--phyto-muted);
}

/* Certifications */
.modern-home .cert-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
  margin-bottom: 20px;
}

.modern-home .cert-card i {
  font-size: 36px;
  color: var(--phyto-green-500);
  margin-bottom: 14px;
}

.modern-home .cert-card h5 {
  font-size: 16px;
  margin-bottom: 8px;
}

.modern-home .cert-card p {
  color: var(--phyto-muted);
  font-size: 14px;
  margin: 0;
}

.modern-home .cert-card a {
  color: var(--phyto-green-500);
}

/* FAQ */
.modern-home .faq-item {
  background: var(--phyto-mint-50);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 12px;
  border: 1px solid #e7f0ea;
}

.modern-home .faq-item h5 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--phyto-green-900);
}

.modern-home .faq-item h5 i {
  color: var(--phyto-green-500);
  margin-right: 10px;
}

.modern-home .faq-item p {
  margin: 0;
  color: var(--phyto-muted);
  font-size: 15px;
  padding-left: 28px;
}

.modern-home .faq-item a {
  color: var(--phyto-green-500);
}

.modern-home .hero-content {
  padding-right: 20px;
}

.modern-home .hero-title {
  font-size: 58px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.modern-home .hero-subtitle {
  font-size: 18px;
  color: var(--phyto-muted);
  margin-bottom: 24px;
}

.modern-home .hero-actions .btn {
  margin-right: 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
}

.modern-home .btn-primary {
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  border: none;
}

.modern-home .btn-outline {
  border: 2px solid var(--phyto-green-900);
  background: transparent;
  color: var(--phyto-green-900);
}

.modern-home .hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.modern-home .highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--phyto-mint-100);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--phyto-green-900);
}

.modern-home .hero-visual {
  background: linear-gradient(135deg, rgba(15, 107, 77, 0.08), rgba(25, 163, 107, 0.08));
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(13, 107, 43, 0.12);
}

.modern-home .hero-carousel .carousel {
  border-radius: 18px;
  overflow: hidden;
}

.modern-home .section-heading {
  margin-bottom: 40px;
}

.modern-about .section-heading {
  margin-bottom: 40px;
}

.modern-home .section-heading h2 {
  font-size: 38px;
  color: var(--phyto-green-900);
}

.modern-home .section-heading p {
  color: var(--phyto-muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}

.modern-about .section-heading h2 {
  font-size: 36px;
  color: var(--phyto-green-900);
}

.modern-about .image-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.modern-about .card-modern {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.modern-about .card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.modern-about .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f4faf4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d8f3a;
  font-size: 24px;
  margin: 0 auto 16px;
}

.modern-about .timeline-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.modern-about .timeline-card h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.modern-about .about-intro p {
  color: #666666;
}

.modern-product {
  font-family: "Inter", Arial, sans-serif;
  color: #333333;
  line-height: 1.8;
}

.modern-product h1,
.modern-product h2,
.modern-product h3,
.modern-product h4,
.modern-product h5 {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-weight: 700;
  color: #0d6b2b;
}

.modern-product .section {
  padding: 80px 0;
}

.modern-product .section-heading {
  margin-bottom: 40px;
}

.modern-product .section-heading h2 {
  font-size: 36px;
  color: #0d6b2b;
}

.modern-product .product-intro {
  background: #f8fafc;
}

.modern-product .product-intro.phyto-page-hero {
  padding-bottom: 48px;
}

.modern-product .product-intro.phyto-page-hero h2 {
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--phyto-green-900), var(--phyto-green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-product .product-title {
  font-size: 28px;
  margin: 0 0 24px;
}

.modern-product .product-grid-section {
  padding-top: 40px;
}

.modern-product-detail {
  font-family: "Inter", Arial, sans-serif;
  color: #333333;
  line-height: 1.8;
}

.modern-product-detail h1,
.modern-product-detail h2,
.modern-product-detail h3,
.modern-product-detail h4,
.modern-product-detail h5 {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-weight: 700;
  color: #0d6b2b;
}

.modern-product-detail .section {
  padding: 80px 0;
}

.modern-product-detail .section-alt {
  background: #f8fafc;
}

.modern-product-detail .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1d8f3a;
  margin-bottom: 12px;
}

.modern-product-detail .product-image-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.modern-product-detail .product-summary .lead {
  font-size: 18px;
  color: #666666;
  margin-bottom: 20px;
}

.modern-product-detail .product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.modern-product-detail .meta-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  min-width: 180px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.modern-product-detail .meta-card span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666666;
}

.modern-product-detail .meta-card strong {
  font-size: 18px;
  color: #0d6b2b;
}

.modern-product-detail .meta-card.highlight {
  background: linear-gradient(135deg, #0d6b2b, #1d8f3a);
  color: #ffffff;
}

.modern-product-detail .meta-card.highlight span,
.modern-product-detail .meta-card.highlight strong {
  color: #ffffff;
}

.modern-product-detail .product-actions {
  margin-top: 20px;
}

.modern-product-detail .section-heading {
  margin-bottom: 40px;
}

.modern-product-detail .section-heading h2 {
  font-size: 34px;
}

.modern-product-detail .detail-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.modern-product-detail .detail-card i {
  font-size: 28px;
  color: #1d8f3a;
  margin-bottom: 12px;
}

.modern-product-detail .product-hero .lead {
  font-size: 18px;
  color: #666666;
}

.modern-product-detail .product-hero.phyto-page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--phyto-mint-50) 0%, #ffffff 45%, #f4faf7 100%);
  border-bottom: 1px solid #e7f0ea;
}

.modern-product-detail .product-hero.phyto-page-hero h2 {
  font-size: 36px;
  background: linear-gradient(120deg, var(--phyto-green-900), var(--phyto-green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-product-detail .resource-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  height: 100%;
}

.modern-product-detail .research-section .section-heading {
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .modern-product-detail .product-image-card {
    margin-bottom: 24px;
  }
}

.modern-home .split-section .lead {
  font-size: 18px;
  color: #666666;
  margin-bottom: 24px;
}

.modern-home .split-image {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.modern-home .split-content h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.modern-home .icon-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.modern-home .icon-card i {
  font-size: 24px;
  color: #1d8f3a;
}

.modern-home .icon-card h5 {
  margin: 0 0 6px;
  font-size: 16px;
}

.modern-home .icon-card p {
  margin: 0;
  color: #666666;
}

.modern-home .section-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
}

.modern-home .section-cta .cta-card {
  max-width: 800px;
  margin: 0 auto;
}

.modern-home .section-cta h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.modern-home .section-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.modern-home .section-cta .btn-light {
  background: #ffffff;
  color: var(--phyto-green-900);
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 600;
}

.modern-home .product-carousel {
  margin-top: 32px;
}

.modern-home .product-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-home .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.modern-home .product-showcase .product-card {
  height: 100%;
  margin-bottom: 20px;
  text-align: left;
}

.modern-home .product-showcase .product-icon {
  margin: 0 0 14px;
}

.modern-home .product-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--phyto-mint-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--phyto-green-500);
  font-size: 24px;
}

.modern-home .help-cta {
  background: #ffffff;
}

.modern-home .help-card {
  background: var(--phyto-mint-50);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.modern-home .help-card a {
  color: var(--phyto-green-900);
}

.modern-home .highlight-grid {
  margin-top: 32px;
}

.modern-home .highlight-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-home .highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--phyto-mint-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--phyto-green-500);
  font-size: 24px;
}

.modern-home .highlight-card h5 {
  margin-bottom: 10px;
}

.modern-home .info-stack {
  display: grid;
  gap: 16px;
}

.modern-home .info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.modern-home .info-card h4 {
  margin: 6px 0 8px;
  font-size: 18px;
}

.modern-home .info-card p {
  margin: 0;
  color: #666666;
}

.modern-home .info-label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1d8f3a;
}

.modern-home .card-modern {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-home .card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.modern-home .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f4faf4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d8f3a;
  font-size: 24px;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.modern-home .card-modern p {
  flex: 1;
}

.modern-home .card-modern h4 {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  :root {
    --phyto-topbar-height: 34px;
    --phyto-nav-height: 60px;
  }

  .phyto-site {
    padding-top: var(--phyto-header-offset);
  }

  .phyto-site .top-bar {
    font-size: 11px;
  }

  .phyto-site .top-bar-left {
    gap: 8px;
    padding: 5px 0;
    overflow: hidden;
  }

  .phyto-site .top-bar-left span {
    font-size: 11px;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .phyto-site .top-bar-right {
    display: none;
  }

  .phyto-site .phyto-nav.navbar,
  .phyto-site .me-menu.navbar {
    top: var(--phyto-topbar-height) !important;
  }

  .phyto-site .phyto-nav-bar {
    flex-wrap: wrap !important;
    min-height: var(--phyto-nav-height);
    align-items: center;
  }

  .phyto-site .phyto-nav-brand-wrap {
    width: 100%;
    min-height: var(--phyto-nav-height);
    padding: 0 2px;
    gap: 10px;
  }

  .phyto-site .phyto-nav-brand {
    flex: 1 1 auto;
    min-width: 0;
    height: var(--phyto-nav-height);
    max-width: calc(100% - 56px);
  }

  .phyto-site .phyto-nav-brand img,
  .phyto-site .navbar-brand img,
  .phyto-site img.img-responsive.logo1 {
    max-height: 38px !important;
    max-width: 170px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }

  .phyto-site .phyto-nav-toggle {
    flex: 0 0 auto;
    display: block !important;
    float: none !important;
    position: relative;
    z-index: 1060;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .phyto-site .navbar-header .navbar-toggle {
    display: block !important;
  }

  /* Bootstrap collapse must be able to open under the logo row */
  .phyto-site .phyto-nav-collapse.collapse {
    display: none !important;
    width: 100% !important;
    flex-basis: 100%;
    max-height: none;
  }

  .phyto-site .phyto-nav-collapse.collapsing {
    display: block !important;
    width: 100% !important;
    flex-basis: 100%;
    height: auto !important;
    overflow: hidden;
  }

  .phyto-site .phyto-nav-collapse.collapse.in {
    display: block !important;
    width: 100% !important;
    flex-basis: 100%;
    height: auto !important;
    overflow: visible;
    visibility: visible !important;
    background: #ffffff;
    border-top: 1px solid #edf3ef;
    max-height: calc(100vh - var(--phyto-header-offset));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 28px rgba(13, 107, 43, 0.12);
    position: relative;
    z-index: 1055;
  }

  .phyto-site .phyto-nav-collapse {
    width: 100% !important;
    flex: 1 0 100%;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .phyto-site .phyto-nav-menu {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 8px 0;
  }

  .phyto-site .phyto-nav-menu > li {
    display: block;
    width: 100%;
  }

  .phyto-site .phyto-nav-menu > li > a,
  .phyto-site .phyto-nav .navbar-nav > li > a {
    color: var(--phyto-ink) !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #f0f4f1;
    white-space: normal;
  }

  .phyto-site .phyto-nav-menu .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f8fbf9 !important;
    margin: 0 !important;
  }

  .phyto-site .phyto-nav-menu .dropdown-menu a {
    padding: 12px 28px !important;
  }

  .phyto-site .phyto-nav-mobile-only {
    display: block !important;
  }

  .phyto-site .phyto-nav-mobile-only > a {
    font-weight: 600 !important;
    color: var(--phyto-green-700, #1b5e3b) !important;
  }

  .phyto-site .phyto-nav-actions {
    width: 100%;
    padding: 16px 20px 20px;
    margin: 0;
    border-top: 1px solid #edf3ef;
    background: #fafcfa;
    gap: 10px;
  }

  .phyto-site .phyto-nav-actions .nav-btn {
    flex: 1 1 0;
    min-height: 44px;
    font-size: 13px !important;
  }

  .modern-home .hero-section {
    padding: 28px 0 40px;
  }

  .modern-home .hero-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .modern-home .hero-subtitle {
    font-size: 15px;
    line-height: 1.65;
  }

  .modern-home .hero-content {
    padding-right: 0;
    margin-bottom: 28px;
    text-align: left;
  }

  .modern-home .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .modern-home .hero-actions .btn {
    width: 100%;
    margin: 0;
    text-align: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .modern-home .hero-highlights {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
  }

  .modern-home .hero-infographic {
    min-height: 260px;
    margin-bottom: 16px;
  }

  .modern-home .infographic-ring {
    width: 200px;
    height: 200px;
  }

  .modern-home .ring-center {
    width: 96px;
    height: 96px;
  }

  .modern-home .ring-node {
    width: 54px;
    height: 54px;
    font-size: 16px;
  }

  .modern-home .hero-float-card {
    display: none;
  }

  .modern-home .hero-carousel-sub .carousel-inner > .item img {
    max-height: 120px;
  }

  .modern-home .section {
    padding: 48px 0;
  }

  .modern-home .section-heading {
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .modern-home .section-heading h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .modern-home .section-heading p,
  .modern-home .lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .modern-home .split-image {
    margin-bottom: 24px;
  }

  .modern-home .split-content h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .modern-home .stats-section {
    margin-top: 0;
    padding: 0 0 8px;
  }

  .modern-home .stat-card,
  .modern-home .benefit-card,
  .modern-home .category-card,
  .modern-home .product-card,
  .modern-home .testimonial-card,
  .modern-home .cert-card,
  .modern-home .highlight-card,
  .modern-home .process-card,
  .modern-home .card-modern,
  .modern-home .info-card,
  .modern-home .icon-card,
  .modern-home .faq-item {
    margin-bottom: 14px;
  }

  .modern-home .stat-number {
    font-size: 28px;
  }

  .modern-home .section-cta .cta-card,
  .modern-home .help-card {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .modern-home .section-cta h2,
  .modern-home .help-card h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .modern-home .section-cta .btn-light,
  .modern-home .help-card .btn,
  .modern-home .btn-lg {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
  }

  .modern-home .research-step {
    flex-direction: row;
    align-items: flex-start;
  }

  .modern-home .faq-section .btn-outline,
  .modern-home .testimonials-section .btn-outline,
  .modern-home .certifications-section .btn-primary {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .modern-about .image-card {
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  .modern-home .hero-title {
    font-size: 24px;
  }

  .modern-home .section {
    padding: 40px 0;
  }

  .modern-home .section-heading h2 {
    font-size: 22px;
  }

  .modern-home .infographic-ring {
    width: 180px;
    height: 180px;
  }

  .modern-home .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* ============================================================
   MALUS CALLUS — modern-home + certification.aspx theme
   ============================================================ */

.modern-home.malus-page .malus-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.modern-home.malus-page .malus-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modern-home.malus-page .malus-reveal-delay-1 { transition-delay: 0.08s; }
.modern-home.malus-page .malus-reveal-delay-2 { transition-delay: 0.16s; }
.modern-home.malus-page .malus-reveal-delay-3 { transition-delay: 0.24s; }
.modern-home.malus-page .malus-reveal-delay-4 { transition-delay: 0.32s; }

.modern-home.malus-page .malus-hero-product {
  margin-top: 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.modern-home.malus-page .malus-hero-product img {
  max-height: 280px;
  margin: 0 auto;
  border-radius: 12px;
}

.modern-home.malus-page .malus-superfood {
  margin-bottom: 20px;
  justify-content: center;
}

.modern-home.malus-page .malus-superfood h4 {
  font-size: 15px;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8em;
}

.modern-home.malus-page .malus-pack-showcase {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.modern-home.malus-page .malus-pack-showcase img {
  max-height: 320px;
  margin: 0 auto;
}

.modern-home.malus-page .malus-research-card {
  margin-bottom: 24px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-home.malus-page .malus-research-card img {
  border-radius: 12px;
  margin-bottom: 12px;
}

.modern-home.malus-page .malus-research-card h4 {
  font-size: 15px;
  margin: 0;
  flex: 1;
}

.modern-home.malus-page .malus-research-card h4 a {
  color: var(--phyto-green-900);
  text-decoration: none;
  font-weight: 600;
}

.modern-home.malus-page .malus-research-card h4 a:hover {
  color: var(--phyto-green-500);
}

.modern-home.malus-page .malus-brochure-card {
  text-align: center;
}

.modern-home.malus-page .stat-card .stat-number {
  font-size: 22px;
}

.modern-home.malus-page .section-cta .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .modern-home.malus-page .malus-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 991px) {
  .modern-home.malus-page .malus-hero-product img {
    max-height: 220px;
  }
}

/* ============================================================
   ABOUT US PAGE — ultra-modern blocks & animations
   ============================================================ */

.about-page .about-stats {
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 20px;
}

.about-page .about-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page .about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-page .about-reveal-delay-1 { transition-delay: 0.08s; }
.about-page .about-reveal-delay-2 { transition-delay: 0.16s; }
.about-page .about-reveal-delay-3 { transition-delay: 0.24s; }
.about-page .about-reveal-delay-4 { transition-delay: 0.32s; }

.about-page .about-story .lead {
  font-size: 18px;
  color: var(--phyto-muted);
  margin-bottom: 16px;
}

.about-page .about-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-page .about-visual {
  position: relative;
  min-height: 380px;
}

.about-page .about-infographic-ring {
  position: relative;
  min-height: 280px;
  margin-bottom: 16px;
}

.about-page .about-infographic-ring .infographic-ring {
  margin: 0 auto;
}

.about-page .about-image-card {
  margin-top: -20px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.about-page .about-image-card:hover {
  transform: translateY(-6px);
}

.about-page .about-image-card img {
  border-radius: 16px;
}

.about-page .about-pillar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  margin-bottom: 20px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.about-page .about-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--phyto-green-900), var(--phyto-green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.about-page .about-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 107, 43, 0.12);
  border-color: rgba(25, 163, 107, 0.3);
}

.about-page .about-pillar-card:hover::before {
  transform: scaleX(1);
}

.about-page .about-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(25, 163, 107, 0.25);
  transition: transform 0.35s ease;
}

.about-page .about-pillar-card:hover .about-pillar-icon {
  transform: scale(1.08) rotate(-4deg);
}

.about-page .about-pillar-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--phyto-green-500);
  margin-bottom: 8px;
}

.about-page .about-pillar-card h4 {
  margin-bottom: 10px;
}

.about-page .about-pillar-card p {
  color: var(--phyto-muted);
  margin: 0;
  font-size: 15px;
  flex: 1;
}

.about-page .about-drives .btn-primary {
  margin-top: 8px;
  border-radius: 999px;
  padding: 12px 28px;
}

.about-page .about-timeline-track {
  position: relative;
  padding-top: 20px;
}

.about-page .about-timeline-line {
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--phyto-mint-100), var(--phyto-green-500), var(--phyto-mint-100));
  border-radius: 999px;
  z-index: 0;
}

.about-page .about-timeline-node {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-page .about-year-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(25, 163, 107, 0.3);
}

.about-page .timeline-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-page .timeline-card p {
  flex: 1;
  margin-bottom: 0;
}

.about-page .about-timeline-node:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 107, 43, 0.1);
}

.about-page .section-cta .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.about-page .about-cta-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
  margin-left: 12px;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
}

.about-page .about-cta-outline:hover {
  background: #ffffff !important;
  color: var(--phyto-green-900) !important;
}

.about-page .benefit-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-page .research-step {
  transition: transform 0.3s ease;
}

.about-page .research-step:hover {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .about-page .about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-page .infographic-ring,
  .about-page .ring-node,
  .about-page .ring-center {
    animation: none !important;
  }
}

@media (max-width: 991px) {
  .about-page .about-stats {
    margin-top: 0;
  }

  .about-page .about-timeline-line {
    display: none;
  }

  .about-page .about-visual {
    min-height: auto;
    margin-top: 32px;
  }

  .about-page .hero-float-card {
    display: none;
  }

  .about-page .about-cta-outline {
    margin-left: 0;
    margin-top: 12px;
    display: inline-block;
  }
}

/* ============================================================
   SITE-WIDE ANIMATIONS — scroll reveals & micro-interactions
   ============================================================ */

@keyframes phyto-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phyto-pulse-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(25, 163, 107, 0.2); }
  50% { box-shadow: 0 12px 32px rgba(25, 163, 107, 0.45); }
}

@keyframes phyto-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes phyto-hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phyto-ring-pulse {
  0%, 100% { border-color: rgba(25, 163, 107, 0.25); }
  50% { border-color: rgba(25, 163, 107, 0.55); }
}

/* Unified scroll-reveal (phyto + legacy about/malus classes) */
.phyto-reveal,
.about-page .about-reveal,
.modern-home.malus-page .malus-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.phyto-reveal.phyto-reveal-left,
.about-page .about-reveal.phyto-reveal-left {
  transform: translateX(-36px);
}

.phyto-reveal.phyto-reveal-right {
  transform: translateX(36px);
}

.phyto-reveal.phyto-reveal-scale {
  transform: scale(0.92);
}

.phyto-reveal.is-visible,
.about-page .about-reveal.is-visible,
.modern-home.malus-page .malus-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.phyto-reveal-delay-1, .about-page .about-reveal-delay-1, .modern-home.malus-page .malus-reveal-delay-1 { transition-delay: 0.06s; }
.phyto-reveal-delay-2, .about-page .about-reveal-delay-2, .modern-home.malus-page .malus-reveal-delay-2 { transition-delay: 0.12s; }
.phyto-reveal-delay-3, .about-page .about-reveal-delay-3, .modern-home.malus-page .malus-reveal-delay-3 { transition-delay: 0.18s; }
.phyto-reveal-delay-4, .about-page .about-reveal-delay-4, .modern-home.malus-page .malus-reveal-delay-4 { transition-delay: 0.24s; }

/* Page hero entrance */
.phyto-page-hero.phyto-hero-enter .phyto-page-hero-inner {
  animation: phyto-hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phyto-page-hero.phyto-hero-enter .hero-bg-shape {
  animation: phyto-float 8s ease-in-out infinite;
}

/* Eyebrow shimmer */
.phyto-site .eyebrow,
.phyto-site .section-heading .eyebrow {
  background: linear-gradient(90deg, var(--phyto-green-500), var(--phyto-accent), var(--phyto-green-500));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: phyto-shimmer 4s linear infinite;
}

/* Section headings — animated underline on reveal */
.phyto-site .section-heading h2 {
  position: relative;
  display: inline-block;
}

.phyto-site .section-heading.is-visible h2::after,
.phyto-site .section-heading.phyto-reveal.is-visible h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--phyto-green-900), var(--phyto-green-500));
  transform: translateX(-50%) scaleX(0);
  animation: phyto-underline-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes phyto-underline-grow {
  to { transform: translateX(-50%) scaleX(1); }
}

/* Floating infographic accents */
.phyto-site .hero-float-card {
  animation: phyto-float 5s ease-in-out infinite;
}

.phyto-site .hero-float-card.card-2 {
  animation-delay: 1.2s;
}

.phyto-site .infographic-ring.phyto-ring-live {
  animation: slow-spin 30s linear infinite, phyto-ring-pulse 3s ease-in-out infinite;
}

.phyto-site .ring-node {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.phyto-site .infographic-ring:hover .ring-node {
  box-shadow: 0 12px 28px rgba(13, 107, 43, 0.18);
}

/* Stat cards — icon pulse on hover */
.phyto-site .stat-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.35s ease;
}

.phyto-site .stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(13, 107, 43, 0.14);
}

.phyto-site .stat-card:hover .stat-icon {
  animation: phyto-pulse-glow 1.2s ease-in-out infinite;
  transform: scale(1.06);
}

.phyto-site .stat-icon {
  transition: transform 0.35s ease;
}

/* Benefit & category cards — lively hover */
.phyto-site .benefit-card,
.phyto-site .category-card,
.phyto-site .card-modern,
.phyto-site .process-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.35s ease;
}

.phyto-site .benefit-card:hover .benefit-num {
  color: rgba(25, 163, 107, 0.45);
  transform: scale(1.05);
}

.phyto-site .benefit-num {
  transition: color 0.35s ease, transform 0.35s ease;
  display: inline-block;
}

.phyto-site .card-modern:hover .card-icon,
.phyto-site .category-card:hover .category-icon {
  transform: scale(1.1) rotate(-6deg);
}

.phyto-site .card-modern .card-icon,
.phyto-site .category-card .category-icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Research steps — slide accent */
.phyto-site .research-step {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-left-width 0.3s ease;
}

.phyto-site .research-step:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(13, 107, 43, 0.08);
  border-left-width: 6px;
}

.phyto-site .research-step:hover .step-icon {
  transform: rotate(8deg) scale(1.08);
}

.phyto-site .research-step .step-icon {
  transition: transform 0.35s ease;
}

/* Product cards */
.phyto-site .product-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phyto-site .product-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.modern-product .product-main {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 24px;
}

.modern-product .product-main:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 107, 43, 0.12);
}

.modern-product .product-main img {
  transition: transform 0.5s ease;
}

.modern-product .product-main:hover img {
  transform: scale(1.04);
}

/* Certification gallery */
.phyto-cert-gallery {
  padding: 48px 0 64px;
}

.phyto-cert-gallery .cert-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phyto-cert-gallery .cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(13, 107, 43, 0.12);
  border-color: rgba(25, 163, 107, 0.35);
}

.phyto-cert-gallery .cert-card img {
  border-radius: 12px;
  transition: transform 0.45s ease;
}

.phyto-cert-gallery .cert-card:hover img {
  transform: scale(1.03);
}

.phyto-cert-gallery .cert-card b {
  display: block;
  margin-top: 12px;
  color: var(--phyto-green-900);
  font-size: 15px;
}

/* Contact & content blocks */
.phyto-page-body .contact-info {
  background: var(--phyto-mint-50);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #e7f0ea;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.phyto-page-body .contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 107, 43, 0.08);
}

.phyto-animated-page .img-thumbnail {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
}

.phyto-animated-page a:hover .img-thumbnail {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 36px rgba(13, 107, 43, 0.15);
}

/* CTA band pulse */
.phyto-site .section-cta .cta-card {
  transition: transform 0.4s ease;
}

.phyto-site .section-cta .cta-card:hover {
  transform: scale(1.01);
}

.phyto-site .section-cta .btn-primary,
.phyto-site .section-cta .btn-light {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.phyto-site .section-cta .btn-primary:hover,
.phyto-site .section-cta .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .phyto-reveal,
  .about-page .about-reveal,
  .modern-home.malus-page .malus-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phyto-site .eyebrow,
  .phyto-site .hero-float-card,
  .phyto-site .infographic-ring,
  .phyto-page-hero.phyto-hero-enter .phyto-page-hero-inner,
  .phyto-page-hero.phyto-hero-enter .hero-bg-shape {
    animation: none !important;
  }
}

/* ============================================================
   EQUAL-HEIGHT CARD GRIDS — identical card blocks per row
   ============================================================ */

/* Rows that contain card blocks stretch columns to equal height */
.phyto-site .stats-grid,
.phyto-site .modern-home .row:has(.stat-card),
.phyto-site .modern-home .row:has(.benefit-card),
.phyto-site .modern-home .row:has(.card-modern),
.phyto-site .modern-home .row:has(.category-card),
.phyto-site .modern-home .row:has(.process-card),
.phyto-site .modern-home .row:has(.cert-card),
.phyto-site .modern-home .row:has(.product-card),
.phyto-site .modern-home .row:has(.highlight-card),
.phyto-site .modern-home .row:has(.testimonial-card),
.phyto-site .about-page .row:has(.about-pillar-card),
.phyto-site .about-page .row:has(.about-timeline-node),
.phyto-site .about-page .row:has(.benefit-card),
.phyto-site .modern-product .row:has(.phyto-product-card),
.phyto-site .modern-product .phyto-product-grid,
.phyto-site .modern-product-detail .row:has(.detail-card),
.phyto-site .modern-product-detail .row:has(.resource-card),
.phyto-site .modern-product-detail .row:has(.meta-card),
.phyto-site .phyto-cert-gallery .row {
  display: flex;
  flex-wrap: wrap;
}

.phyto-site .stats-grid > [class*="col-"],
.phyto-site .modern-home .row:has(.stat-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.benefit-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.card-modern) > [class*="col-"],
.phyto-site .modern-home .row:has(.category-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.process-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.cert-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.product-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.highlight-card) > [class*="col-"],
.phyto-site .modern-home .row:has(.testimonial-card) > [class*="col-"],
.phyto-site .about-page .row:has(.about-pillar-card) > [class*="col-"],
.phyto-site .about-page .row:has(.about-timeline-node) > [class*="col-"],
.phyto-site .about-page .row:has(.benefit-card) > [class*="col-"],
.phyto-site .modern-product .row:has(.phyto-product-card) > [class*="col-"],
.phyto-site .modern-product .phyto-product-grid > [class*="col-"],
.phyto-site .modern-product .phyto-product-grid > .phyto-product-col,
.phyto-site .modern-product-detail .row:has(.detail-card) > [class*="col-"],
.phyto-site .modern-product-detail .row:has(.resource-card) > [class*="col-"],
.phyto-site .modern-product-detail .row:has(.meta-card) > [class*="col-"],
.phyto-site .phyto-cert-gallery .row > [class*="col-"],
.phyto-site .phyto-cert-gallery .row > .cert-card {
  display: flex;
  flex-direction: column;
  float: none;
}

/* Cards fill column height */
.phyto-site .stat-card,
.phyto-site .benefit-card,
.phyto-site .card-modern,
.phyto-site .category-card,
.phyto-site .process-card,
.phyto-site .cert-card,
.phyto-site .product-card,
.phyto-site .highlight-card,
.phyto-site .testimonial-card,
.phyto-site .about-pillar-card,
.phyto-site .icon-card {
  flex: 1 1 auto;
  width: 100%;
}

/* Certification tile when col and card are the same element */
.phyto-site .phyto-cert-gallery .cert-card {
  height: 100%;
}

.phyto-site .phyto-cert-gallery .cert-card b {
  margin-top: auto;
}

/* Product listing — equal column blocks */
.phyto-site .modern-product .phyto-product-card {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

.phyto-site .modern-product .phyto-product-meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.phyto-site .modern-product-detail .detail-card,
.phyto-site .modern-product-detail .resource-card,
.phyto-site .modern-about .timeline-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
  width: 100%;
}

.phyto-site .modern-product-detail .detail-card p,
.phyto-site .modern-product-detail .resource-card p,
.phyto-site .modern-about .timeline-card p {
  flex: 1;
}

/* Fallback for browsers without :has() — explicit utility class */
.phyto-site .phyto-equal-cards {
  display: flex;
  flex-wrap: wrap;
}

.phyto-site .phyto-equal-cards > [class*="col-"] {
  display: flex;
  flex-direction: column;
  float: none;
}

/* ============================================================
   LOGIN PAGE — modern split layout
   ============================================================ */

body.phyto-login-active {
  padding-top: 0 !important;
  overflow-x: hidden;
}

body.phyto-login-active .top-bar,
body.phyto-login-active .phyto-nav,
body.phyto-login-active .phyto-footer,
body.phyto-login-active #myBtn {
  display: none !important;
}

.phyto-login-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--phyto-mint-50) 0%, #ffffff 40%, #f4faf7 100%);
}

.phyto-login-shell {
  display: flex;
  min-height: 100vh;
}

/* Brand panel */
.phyto-login-brand {
  position: relative;
  flex: 1 1 48%;
  max-width: 52%;
  background: linear-gradient(145deg, var(--phyto-green-900) 0%, var(--phyto-green-700) 45%, var(--phyto-green-500) 100%);
  color: #ffffff;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.phyto-login-brand-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.phyto-login-brand-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.phyto-login-brand-logo img {
  max-height: 64px;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
}

.phyto-login-brand .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
  background: none;
  animation: none;
  display: block;
  margin-bottom: 12px;
}

.phyto-login-brand h1 {
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 16px;
}

.phyto-login-brand h1 .gradient-text {
  background: linear-gradient(90deg, #ffffff, #c8f0dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phyto-login-brand > .phyto-login-brand-content > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.phyto-login-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phyto-login-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.phyto-login-features i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.phyto-login-orbs .orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: phyto-float 6s ease-in-out infinite;
}

.phyto-login-orbs .orb-1 { width: 200px; height: 200px; top: 8%; right: -40px; }
.phyto-login-orbs .orb-2 { width: 120px; height: 120px; bottom: 20%; left: 10%; animation-delay: 1.5s; }
.phyto-login-orbs .orb-3 { width: 80px; height: 80px; top: 45%; right: 18%; animation-delay: 0.8s; }

/* Form panel */
.phyto-login-panel {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.phyto-login-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(13, 107, 43, 0.1);
  border: 1px solid #e7f0ea;
}

.phyto-login-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.phyto-login-mobile-logo {
  display: none;
  margin-bottom: 20px;
}

.phyto-login-mobile-logo img {
  max-height: 52px;
}

.phyto-login-card-header .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.phyto-login-card-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--phyto-green-900);
  margin: 0 0 6px;
}

.phyto-login-card-header p {
  color: var(--phyto-muted);
  font-size: 15px;
  margin: 0;
}

.phyto-login-user-banner {
  display: block;
  background: var(--phyto-mint-100);
  border: 1px solid #cfe8d8;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--phyto-green-900);
  text-align: center;
}

.phyto-login-user-banner:empty {
  display: none;
}

.phyto-login-field {
  margin-bottom: 18px;
}

.phyto-login-field label,
.phyto-login-captcha > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--phyto-green-900);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.phyto-login-input-wrap {
  position: relative;
}

.phyto-login-input-wrap .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--phyto-green-500);
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
}

.phyto-login-input,
.phyto-login-select {
  width: 100%;
  height: 48px;
  border: 1px solid #dce8e0;
  border-radius: 12px;
  padding: 0 16px 0 42px;
  font-size: 15px;
  color: var(--phyto-ink);
  background: #fafcfb;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  margin-bottom: 0 !important;
}

.phyto-login-input:focus,
.phyto-login-select:focus {
  outline: none;
  border-color: var(--phyto-green-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(25, 163, 107, 0.15);
}

.phyto-login-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2319a36b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.phyto-login-pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--phyto-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.phyto-login-pw-toggle:hover {
  color: var(--phyto-green-500);
  background: var(--phyto-mint-100);
}

.phyto-login-pw-toggle.is-visible {
  color: var(--phyto-green-700);
}

.phyto-login-captcha {
  margin-bottom: 22px;
}

.phyto-login-captcha-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.phyto-login-captcha-puzzle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  border-radius: 12px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 0 16px;
}

.phyto-login-captcha-puzzle span {
  opacity: 0.85;
}

.phyto-login-captcha-input {
  width: 88px !important;
  flex-shrink: 0;
  text-align: center;
  padding-left: 16px !important;
  font-weight: 600;
}

.phyto-login-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--phyto-green-900), var(--phyto-green-500));
  color: #ffffff !important;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 4px;
}

.phyto-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 107, 43, 0.3);
}

.phyto-login-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e7f0ea;
}

.phyto-login-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--phyto-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.phyto-login-links a:hover {
  color: var(--phyto-green-500);
  text-decoration: none;
}

.phyto-login-links a i {
  color: var(--phyto-green-500);
  font-size: 12px;
}

.phyto-login-footer-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--phyto-muted);
  text-align: center;
}

.phyto-login-footer-note i {
  color: var(--phyto-green-500);
  margin-right: 4px;
}

.phyto-login-validators {
  display: none;
}

.phyto-login-page .phyto-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .phyto-login-shell {
    flex-direction: column;
  }

  .phyto-login-brand {
    max-width: 100%;
    flex: none;
    padding: 40px 28px 32px;
  }

  .phyto-login-brand h1 {
    font-size: 28px;
  }

  .phyto-login-features {
    display: none;
  }

  .phyto-login-panel {
    padding: 0 16px 32px;
    margin-top: -24px;
  }

  .phyto-login-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .phyto-login-mobile-logo {
    display: inline-block;
  }

  .phyto-login-brand-logo {
    display: none;
  }
}

@media (max-width: 480px) {
  .phyto-login-links {
    grid-template-columns: 1fr;
  }

  .phyto-login-captcha-row {
    flex-direction: column;
  }

  .phyto-login-captcha-input {
    width: 100% !important;
  }
}

/* Admin login page */
.phyto-admin-login .phyto-login-brand .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.phyto-admin-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.25s ease, transform 0.25s ease;
}

.phyto-admin-home-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.phyto-admin-login-banner:empty,
.phyto-admin-login-error:empty {
  display: none;
}

.phyto-admin-login-banner {
  display: block;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--phyto-mint-50);
  border: 1px solid #dce8e0;
  color: var(--phyto-green-900);
  font-size: 14px;
  font-weight: 500;
}

.phyto-admin-login-error {
  display: block;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
}

.phyto-admin-ip-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e7f0ea;
  font-size: 12px;
  line-height: 1.6;
  color: var(--phyto-muted);
  text-align: center;
}

.phyto-admin-ip-note i {
  color: var(--phyto-green-500);
  margin-right: 4px;
}

.phyto-admin-ip-note strong {
  color: #b42318;
  font-weight: 700;
}

.phyto-admin-ip-muted {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .phyto-admin-home-link {
    margin-top: 16px;
  }
}

/* Forgot password page */
.phyto-forgot-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--phyto-mint-50);
  border: 1px solid #dce8e0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.phyto-forgot-note > i {
  color: var(--phyto-green-500);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.phyto-forgot-note strong {
  display: block;
  font-size: 14px;
  color: var(--phyto-green-900);
  margin-bottom: 4px;
}

.phyto-forgot-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--phyto-muted);
}

.phyto-forgot-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e7f0ea;
  flex-wrap: wrap;
}

.phyto-forgot-actions a {
  font-size: 14px;
  font-weight: 500;
  color: var(--phyto-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.phyto-forgot-actions a:hover {
  color: var(--phyto-green-500);
  text-decoration: none;
}

.phyto-forgot-actions a i {
  color: var(--phyto-green-500);
  font-size: 13px;
}

@media (max-width: 480px) {
  .phyto-forgot-actions {
    flex-direction: column;
  }
}

/* Shop login — subtle accent differentiation */
.phyto-shop-login .phyto-login-brand {
  background: linear-gradient(145deg, #0a3348 0%, var(--phyto-green-900) 40%, var(--phyto-green-500) 100%);
}

.phyto-shop-login-links a:nth-child(3),
.phyto-shop-login-links a:nth-child(4) {
  font-size: 12px;
}

/* ============================================================
   CHECKOUT PAGE — mobile-first Bootstrap
   ============================================================ */

.phyto-checkout-page {
  background: linear-gradient(180deg, var(--phyto-mint-50) 0%, #ffffff 160px, #f8faf9 100%);
  padding-bottom: 72px;
  overflow-x: hidden;
}

.phyto-checkout-hero {
  padding: 28px 0 24px;
  background: linear-gradient(145deg, var(--phyto-green-900) 0%, var(--phyto-green-700) 45%, var(--phyto-green-500) 100%);
  color: #ffffff;
  margin-bottom: 20px;
}

.phyto-checkout-hero-inner {
  max-width: 640px;
}

.phyto-checkout-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
  background: none;
  animation: none;
}

.phyto-checkout-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.phyto-checkout-hero h1 .gradient-text {
  background: linear-gradient(90deg, #ffffff, #c8f0dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phyto-checkout-hero-inner > p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.phyto-checkout-container {
  max-width: 1200px;
  padding-left: 14px;
  padding-right: 14px;
}

.phyto-checkout-alert {
  display: none;
  background: #fdecea;
  border: 1px solid #f5c6c2;
  color: #c0392b;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
  word-break: break-word;
}

.phyto-checkout-alert:not(:empty) {
  display: block;
}

.phyto-checkout-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 12px 32px rgba(13, 107, 43, 0.06);
  padding: 18px 16px;
  margin-bottom: 16px;
}

.phyto-checkout-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--phyto-green-900);
  margin: 0 0 16px;
}

.phyto-checkout-section-title i {
  color: var(--phyto-green-500);
  margin-right: 8px;
}

.phyto-form-row {
  margin-bottom: 4px;
}

.phyto-form-row > [class*="col-"] {
  margin-bottom: 14px;
}

.phyto-form-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--phyto-muted, #5c6a63);
}

.phyto-cart-table-wrap {
  border-radius: 12px;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
}

.phyto-cart-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.phyto-cart-table thead th {
  background: var(--phyto-mint-100);
  color: var(--phyto-green-900);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 12px 10px !important;
  border-bottom: 2px solid #dce8e0 !important;
  white-space: nowrap;
}

.phyto-cart-table tbody td,
.phyto-cart-table tfoot td {
  padding: 12px 10px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #eef4f0 !important;
  font-size: 13px;
}

.phyto-cart-table tbody tr:hover {
  background: var(--phyto-mint-50);
}

.phyto-cart-table tfoot td {
  background: #f4faf7;
  font-weight: 700;
  color: var(--phyto-green-900);
}

.phyto-cart-empty {
  text-align: center;
  color: #c0392b;
  font-weight: 600;
  padding: 16px;
  margin: 0;
}

.phyto-cart-empty:empty {
  display: none;
}

.phyto-cart-img img {
  width: 48px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.phyto-cart-remove-head {
  color: #c0392b;
  font-size: 22px;
  line-height: 1;
}

.phyto-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #fff3f3;
  color: #c0392b;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.phyto-cart-remove:hover {
  background: #fde0e0;
}

.phyto-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 140px;
}

.phyto-checkout-page .quant {
  float: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  padding: 0;
  font-size: 12px;
  color: var(--phyto-green-700);
  background: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.phyto-checkout-page .quant:hover {
  background: var(--phyto-mint-100);
}

.phyto-checkout-page .input-number,
.phyto-qty-control .input-number {
  float: none !important;
  width: 52px !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 4px !important;
  padding: 6px 4px !important;
  border-radius: 8px !important;
  border: 1px solid #dce8e0 !important;
  font-size: 16px !important;
  text-align: center;
}

.phyto-checkout-collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
  gap: 12px;
}

.phyto-checkout-collapse-toggle:hover {
  text-decoration: none;
  color: inherit;
}

.phyto-checkout-collapse-toggle .phyto-checkout-section-title {
  margin: 0;
}

.phyto-checkout-toggle-icon {
  color: var(--phyto-green-500);
  font-size: 14px;
  flex-shrink: 0;
}

.phyto-checkout-shipping-body {
  padding-top: 4px;
}

.phyto-checkout-page .form-control {
  min-height: 48px;
  border: 1px solid #dce8e0 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  background: #fafcfb !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  width: 100%;
}

.phyto-checkout-page .form-control:focus {
  border-color: var(--phyto-green-500) !important;
  box-shadow: 0 0 0 3px rgba(25, 163, 107, 0.12) !important;
}

.phyto-file-input {
  padding: 10px 12px !important;
  height: auto !important;
  min-height: 48px;
}

.phyto-upload-preview {
  margin-top: 10px;
}

.phyto-upload-preview img {
  max-width: 120px;
  height: auto !important;
  width: auto !important;
  border-radius: 10px;
  border: 1px solid #e7f0ea;
}

.phyto-checkout-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--phyto-mint-50);
  border: 1px solid #dce8e0;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 4px 0 16px;
  font-size: 14px;
  color: var(--phyto-muted);
}

.phyto-checkout-note i {
  color: var(--phyto-green-500);
  margin-top: 2px;
  flex-shrink: 0;
}

.phyto-bank-table {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}

.phyto-bank-table th {
  background: var(--phyto-green-900) !important;
  color: #ffffff !important;
  font-size: 12px;
  padding: 12px !important;
}

.phyto-bank-table td {
  padding: 12px !important;
  font-size: 13px;
  word-break: break-word;
}

.phyto-checkout-summary-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 16px 40px rgba(13, 107, 43, 0.1);
  padding: 18px 16px;
  position: static;
  margin-bottom: 16px;
}

.phyto-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e7f0ea;
  font-size: 14px;
}

.phyto-summary-label {
  color: var(--phyto-muted);
  font-weight: 500;
}

.phyto-summary-value {
  color: var(--phyto-green-900);
  font-weight: 600;
  text-align: right;
}

.phyto-summary-total {
  border-bottom: none;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--phyto-green-500);
}

.phyto-summary-total .phyto-summary-label,
.phyto-summary-total .phyto-summary-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--phyto-green-900);
}

.phyto-summary-input {
  width: 96px !important;
  min-height: 40px !important;
  text-align: right;
  padding: 4px 8px !important;
  display: inline-block;
}

.phyto-checkout-actions {
  margin-top: 20px;
  margin-left: -6px;
  margin-right: -6px;
}

.phyto-checkout-actions > [class*="col-"] {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 10px;
}

.phyto-checkout-btn.btn,
.phyto-checkout-btn {
  width: 100%;
  text-align: center;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: none;
  padding: 12px 16px;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.phyto-checkout-btn-outline,
.btn.phyto-checkout-btn-outline {
  border: 2px solid var(--phyto-green-500);
  background: #ffffff;
  color: var(--phyto-green-900);
}

.phyto-checkout-btn-outline:hover,
.btn.phyto-checkout-btn-outline:hover {
  background: var(--phyto-mint-100);
  color: var(--phyto-green-900);
  text-decoration: none;
}

.phyto-checkout-btn-primary,
.btn.phyto-checkout-btn-primary,
.phyto-checkout-btn.phyto-login-btn {
  background: linear-gradient(135deg, var(--phyto-green-500, #19a36b), #0b3d2e);
  color: #fff !important;
  border: 2px solid transparent;
}

.phyto-checkout-btn-primary:hover,
.btn.phyto-checkout-btn-primary:hover,
.phyto-checkout-btn.phyto-login-btn:hover {
  background: linear-gradient(135deg, #0b3d2e, var(--phyto-green-500, #19a36b));
  color: #fff !important;
}

.phyto-checkout-qr {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e7f0ea;
}

.phyto-checkout-qr img {
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
}

.phyto-checkout-page .imagezoomout img {
  border-radius: 8px;
  transition: transform 0.25s ease;
}

.phyto-checkout-offers .table {
  border-radius: 12px;
  overflow: hidden;
  min-width: 520px;
}

/* Mobile: cart rows as stacked cards */
@media (max-width: 767px) {
  .phyto-cart-table-wrap.table-responsive {
    border: none;
    margin: 0;
    overflow-x: visible;
  }

  .phyto-cart-table,
  .phyto-cart-table thead,
  .phyto-cart-table tbody,
  .phyto-cart-table tfoot,
  .phyto-cart-table tr,
  .phyto-cart-table th,
  .phyto-cart-table td {
    display: block;
    width: 100%;
  }

  .phyto-cart-table thead {
    display: none;
  }

  .phyto-cart-table tbody tr.phyto-cart-row {
    background: #fff;
    border: 1px solid #e7f0ea;
    border-radius: 14px;
    padding: 12px 12px 8px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(13, 107, 43, 0.05);
  }

  .phyto-cart-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 !important;
    border-bottom: 1px dashed #edf3ef !important;
    text-align: right;
    font-size: 14px;
  }

  .phyto-cart-table tbody td:last-child {
    border-bottom: none !important;
  }

  .phyto-cart-table tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--phyto-muted, #5c6a63);
    text-align: left;
    flex: 0 0 42%;
  }

  .phyto-cart-table tbody td.phyto-cart-img {
    justify-content: flex-start;
  }

  .phyto-cart-table tbody td.phyto-cart-img::before {
    flex: 0 0 auto;
    margin-right: 12px;
  }

  .phyto-cart-table tbody td.phyto-cart-name {
    font-weight: 700;
    color: var(--phyto-green-900);
    text-align: left;
    flex-wrap: wrap;
  }

  .phyto-cart-table tbody td.phyto-cart-name::before {
    flex: 0 0 100%;
    margin-bottom: 4px;
  }

  .phyto-cart-table tbody td.phyto-cart-qty-cell {
    align-items: center;
  }

  .phyto-qty-control {
    max-width: none;
  }

  .phyto-cart-table tbody td.phyto-cart-sn {
    display: none;
  }

  .phyto-cart-table tfoot tr.phyto-cart-totals {
    background: var(--phyto-mint-100);
    border: 1px solid #dce8e0;
    border-radius: 14px;
    padding: 12px;
  }

  .phyto-cart-table tfoot td {
    display: none;
    padding: 6px 0 !important;
    border: none !important;
    background: transparent;
  }

  .phyto-cart-table tfoot td[data-label]:not([data-label=""]) {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .phyto-cart-table tfoot td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--phyto-muted);
  }

  .phyto-checkout-page .imagezoomout img:hover {
    transform: none;
  }

  .phyto-checkout-section {
    padding: 16px 14px;
  }

  .phyto-bank-table th,
  .phyto-bank-table td {
    font-size: 12px;
    padding: 10px 8px !important;
  }
}

@media (min-width: 768px) {
  .phyto-checkout-hero {
    padding: 36px 0 28px;
    margin-bottom: 28px;
  }

  .phyto-checkout-hero h1 {
    font-size: 30px;
  }

  .phyto-checkout-hero-inner > p {
    font-size: 16px;
  }

  .phyto-checkout-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .phyto-checkout-section {
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
  }

  .phyto-checkout-section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .phyto-cart-table-wrap {
    overflow-x: auto;
  }

  .phyto-checkout-summary-card {
    border-radius: 20px;
    padding: 24px;
  }
}

@media (min-width: 992px) {
  .phyto-checkout-hero h1 {
    font-size: 32px;
  }

  .phyto-checkout-summary-card {
    position: sticky;
    top: 100px;
    margin-bottom: 0;
  }

  .phyto-checkout-actions > [class*="col-"] {
    margin-bottom: 0;
  }
}

/* ============================================================
   NEW JOIN / REGISTRATION PAGE
   ============================================================ */

.phyto-join-page {
  background: linear-gradient(180deg, var(--phyto-mint-50) 0%, #ffffff 120px, #f8faf9 100%);
  padding-bottom: 64px;
}

.phyto-join-hero {
  padding: 36px 0 28px;
  background: linear-gradient(145deg, var(--phyto-green-900) 0%, var(--phyto-green-700) 50%, var(--phyto-green-500) 100%);
  color: #ffffff;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.phyto-join-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.phyto-join-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.phyto-join-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
  background: none;
  animation: none;
}

.phyto-join-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.phyto-join-hero h1 .gradient-text {
  background: linear-gradient(90deg, #ffffff, #c8f0dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phyto-join-hero-inner > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin: 0 0 16px;
  max-width: 560px;
}

.phyto-join-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.phyto-join-hero-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.25s ease;
}

.phyto-join-hero-links a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
}

.phyto-join-form-wrap {
  max-width: 1100px;
}

.phyto-join-page .form-group {
  margin-bottom: 16px;
  overflow: visible;
}

.phyto-join-section {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 12px 32px rgba(13, 107, 43, 0.06);
  padding: 0 24px 24px;
  margin-bottom: 24px;
  overflow: visible;
}

.phyto-join-page .form-control,
.phyto-join-page select.form-control,
.phyto-join-page textarea.form-control,
.phyto-join-page .widthinput {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid #dce8e0 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-size: 15px !important;
  color: var(--phyto-ink) !important;
  background: #fafcfb !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phyto-join-page select.form-control {
  float: none !important;
  appearance: auto;
  -webkit-appearance: menulist;
}

.phyto-join-page input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px 0;
  font-size: 14px;
}

.phyto-join-page .RadioButtonList {
  width: 100%;
}

.phyto-join-page .RadioButtonList td {
  padding-right: 16px;
  white-space: nowrap;
}

.phyto-join-page .RadioButtonList label,
.phyto-join-page table label {
  text-transform: none;
  font-weight: 500;
  display: inline !important;
  margin: 0 0 0 6px !important;
  letter-spacing: normal;
}

.phyto-join-dob-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  clear: both;
}

.phyto-join-dob-row > [class*="col-"] {
  flex: 1 1 0;
  min-width: 0;
  float: none !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.phyto-join-name-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  clear: both;
  align-items: flex-start;
}

.phyto-join-name-row > .phyto-join-name-title {
  flex: 0 0 88px;
  max-width: 100px;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.phyto-join-name-row > .phyto-join-name-field {
  flex: 1 1 140px;
  min-width: 0;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.phyto-join-pw-wrap .form-control {
  padding-right: 44px !important;
}

.phyto-join-page span[style*="width"],
.phyto-join-page span[style*="Width"] {
  max-width: 100% !important;
}

.phyto-join-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--phyto-green-900);
  background: linear-gradient(90deg, var(--phyto-mint-100), #ffffff);
  margin: 0 -24px 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #e7f0ea;
}

.phyto-join-section-title i {
  color: var(--phyto-green-500);
  margin-right: 8px;
}

.phyto-join-page .form-group strong,
.phyto-join-page .form-group > [class*="col-"] > label,
.phyto-join-page .form-group > [class*="col-"] > strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--phyto-green-900);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.phyto-join-page .form-control:focus,
.phyto-join-page select.form-control:focus,
.phyto-join-page textarea.form-control:focus {
  border-color: var(--phyto-green-500) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(25, 163, 107, 0.12) !important;
  outline: none;
}

.phyto-join-page textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

.phyto-join-sponsor-name {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--phyto-green-700);
}

.phyto-join-pw-wrap {
  position: relative;
}

.phyto-join-pw-wrap .phyto-login-pw-toggle {
  right: 6px;
}

.phyto-join-page .Product_Items td {
  background: var(--phyto-mint-50);
  padding: 12px;
  border: 1px solid #e7f0ea;
  border-radius: 8px;
}

.phyto-join-terms {
  clear: both;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 8px 0 16px;
  padding: 14px 16px;
  background: var(--phyto-mint-50);
  border: 1px solid #e7f0ea;
  border-radius: 12px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(25, 163, 107, 0.15);
}

.phyto-join-terms-cb,
.phyto-join-terms input[type="checkbox"] {
  position: relative !important;
  z-index: 6;
  flex-shrink: 0;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  margin: 2px 0 0 !important;
  accent-color: var(--phyto-green-700);
  pointer-events: auto !important;
  cursor: pointer;
  touch-action: manipulation;
}

/* ASP.NET may wrap checkbox in a span and emit an empty label */
.phyto-join-terms > span {
  display: inline-flex;
  align-items: flex-start;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
}

.phyto-join-terms > span > label {
  display: none !important;
}

.phyto-join-terms-text {
  display: block !important;
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  padding: 2px 0;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--phyto-ink) !important;
  line-height: 1.45;
  touch-action: manipulation;
}

.phyto-join-terms-link {
  color: var(--phyto-green-700) !important;
  font-weight: 600;
  text-decoration: underline;
  pointer-events: auto !important;
  position: relative;
  z-index: 7;
}

.phyto-join-submit {
  clear: both;
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0 0 8px;
}

.phyto-join-btn {
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

.phyto-join-btn.phyto-login-btn {
  min-width: 200px;
  max-width: 100%;
}

.phyto-join-btn-outline {
  display: inline-block;
  min-width: 140px;
  height: 50px;
  line-height: 48px;
  text-align: center;
  border-radius: 999px;
  border: 2px solid var(--phyto-green-500) !important;
  background: #ffffff !important;
  color: var(--phyto-green-900) !important;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-left: 12px;
  padding: 0 24px;
  transition: all 0.25s ease;
}

.phyto-join-btn-outline:hover {
  background: var(--phyto-mint-100) !important;
}

.phyto-join-msg {
  display: block;
  margin-top: 12px;
  color: #c0392b;
  font-weight: 600;
}

.phyto-join-confirm .row {
  margin-bottom: 8px;
}

.phyto-join-confirm .col-sm-2,
.phyto-join-confirm .col-xs-4 {
  font-weight: 600;
  color: var(--phyto-muted);
  font-size: 14px;
}

.phyto-join-confirm .col-sm-4,
.phyto-join-confirm .col-xs-8 {
  color: var(--phyto-green-900);
  font-weight: 500;
}

.phyto-join-confirm .mb_sz_1 {
  padding: 8px 0;
}

@media (max-width: 767px) {
  .phyto-join-page {
    padding-bottom: 40px;
  }

  .phyto-join-hero {
    padding: 28px 0 22px;
    margin-bottom: 20px;
  }

  .phyto-join-hero h1 {
    font-size: 24px;
  }

  .phyto-join-form-wrap.container,
  .phyto-join-page .container.phyto-join-form-wrap {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    max-width: 100%;
  }

  .phyto-join-section {
    padding: 0 14px 18px;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: visible;
  }

  .phyto-join-section-title {
    margin: 0 -14px 14px;
    padding: 12px 14px;
    font-size: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Stack every Bootstrap column so labels sit above full-width inputs */
  .phyto-join-page .phyto-join-section > [class*="col-"],
  .phyto-join-page .phyto-join-section .mws-panel,
  .phyto-join-page .phyto-join-section .mws-panel-body,
  .phyto-join-page .phyto-join-section .mws-panel-body > [class*="col-"] {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .phyto-join-page .form-group {
    display: block;
    width: 100%;
    clear: both;
    overflow: visible !important;
    margin-bottom: 16px;
    padding: 0 !important;
  }

  .phyto-join-page .form-group::after {
    content: "";
    display: table;
    clear: both;
  }

  .phyto-join-page .form-group > [class*="col-"] {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
  }

  .phyto-join-page .form-control,
  .phyto-join-page select.form-control,
  .phyto-join-page textarea.form-control,
  .phyto-join-page .widthinput {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px;
    font-size: 16px !important; /* prevents iOS zoom on focus */
    float: none !important;
  }

  .phyto-join-page select.form-control {
    float: none !important;
  }

  /* Name / Guardian: title dropdown + text field side by side under label */
  .phyto-join-name-row {
    display: flex;
    gap: 8px;
    width: 100%;
    clear: both;
  }

  .phyto-join-name-row > .phyto-join-name-title {
    flex: 0 0 78px;
    width: auto !important;
    float: none !important;
    margin-bottom: 0;
    padding: 0 !important;
  }

  .phyto-join-name-row > .phyto-join-name-field {
    flex: 1 1 auto;
    width: auto !important;
    float: none !important;
    margin-bottom: 0;
    padding: 0 !important;
    min-width: 0;
  }

  /* DOB day / month / year stay in one usable row */
  .phyto-join-dob-row {
    display: flex;
    gap: 6px;
    width: 100%;
    clear: both;
  }

  .phyto-join-dob-row > [class*="col-"] {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    float: none !important;
    margin-bottom: 0;
    padding: 0 !important;
  }

  .phyto-join-dob-row select.form-control {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 14px !important;
  }

  .phyto-join-page .RadioButtonList {
    display: block;
  }

  .phyto-join-page .RadioButtonList tbody,
  .phyto-join-page .RadioButtonList tr {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .phyto-join-page .RadioButtonList td {
    display: inline-flex;
    align-items: center;
    padding: 0;
  }

  .phyto-join-page input[type="file"] {
    font-size: 15px;
  }

  .phyto-join-btn-outline {
    margin-left: 0;
    margin-top: 12px;
    display: block;
    width: 100%;
  }

  .phyto-join-btn.phyto-login-btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
  }

  .phyto-join-terms {
    margin-top: 12px;
  }

  .phyto-join-page br {
    display: none;
  }

  .phyto-join-confirm .col-sm-2,
  .phyto-join-confirm .col-xs-4,
  .phyto-join-confirm .col-sm-4,
  .phyto-join-confirm .col-xs-8 {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ============================================================
   Product listing & detail pages
   ============================================================ */

.product-page .product-hero-premium,
.product-detail-page .product-detail-hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}

.product-page .product-hero-premium .hero-bg-shape,
.product-detail-page .product-detail-hero .hero-bg-shape {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(34, 139, 34, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(76, 175, 80, 0.06), transparent 55%);
  pointer-events: none;
}

.product-hero-pills {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 139, 34, 0.08);
  color: var(--phyto-green-900, #1b4332);
  font-size: 13px;
  font-weight: 500;
}

.product-hero-pills li i {
  color: var(--phyto-green-500, #2d6a4f);
}

.product-hero-row {
  align-items: center;
}

.product-hero-infographic {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Equal, fixed product cards — Bootstrap grid friendly */
.product-page .phyto-product-grid,
.phyto-product-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.phyto-product-col {
  padding: 12px;
  display: flex;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.phyto-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e7f0ea;
  box-shadow: 0 8px 28px rgba(13, 107, 43, 0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.phyto-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(13, 107, 43, 0.12);
  border-color: rgba(25, 163, 107, 0.25);
}

.phyto-product-visual-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.phyto-product-visual {
  position: relative;
  padding: 20px 20px 12px;
  background: linear-gradient(165deg, #f8fdf9 0%, #eef7f0 55%, #e8f5ec 100%);
  text-align: center;
  overflow: hidden;
}

.phyto-product-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.phyto-product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.45s ease;
}

.phyto-product-card:hover .phyto-product-img-wrap img {
  transform: scale(1.06);
}

.phyto-product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--phyto-green-500, #2d6a4f);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.phyto-product-tag i {
  margin-right: 4px;
  font-size: 10px;
}

.phyto-product-meta {
  padding: 18px 20px 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.phyto-product-title,
.phyto-product-meta h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.phyto-product-title a,
.phyto-product-meta h4 a {
  color: var(--phyto-green-900, #1b4332);
  text-decoration: none;
}

.phyto-product-title a:hover,
.phyto-product-meta h4 a:hover {
  color: var(--phyto-green-500, #2d6a4f);
}

.phyto-product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf3ef;
}

.phyto-product-price-row .phyto-product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--phyto-green-900, #1b4332);
  white-space: nowrap;
}

.phyto-product-price-row .phyto-product-price small {
  font-size: 11px;
  font-weight: 700;
  color: #7a8a82;
  margin-right: 2px;
}

.phyto-product-price-row .phyto-product-pack {
  font-size: 11px;
  font-weight: 700;
  color: #7a8a82;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: right;
  line-height: 1.3;
  word-break: break-word;
}

/* Bootstrap row: two equal action buttons */
.phyto-product-actions.row {
  display: block;
  width: 100%;
  margin-left: -6px;
  margin-right: -6px;
  margin-top: auto;
  clear: both;
}

.phyto-product-action-col {
  padding-left: 6px;
  padding-right: 6px;
  float: left;
  width: 50%;
}

.phyto-product-btn.btn,
.phyto-product-btn {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.phyto-product-btn.btn-block {
  width: 100%;
}

.phyto-product-btn:hover,
.phyto-product-btn:focus {
  transform: translateY(-1px);
  outline: none;
  text-decoration: none;
}

.phyto-product-btn-outline,
.btn.phyto-product-btn-outline {
  background: #fff;
  border: 2px solid var(--phyto-green-500, #2d6a4f);
  color: var(--phyto-green-500, #2d6a4f);
}

.phyto-product-btn-outline:hover,
.phyto-product-btn-outline:focus,
.btn.phyto-product-btn-outline:hover,
.btn.phyto-product-btn-outline:focus {
  background: rgba(45, 106, 79, 0.08);
  border-color: var(--phyto-green-500, #2d6a4f);
  color: var(--phyto-green-900, #1b4332);
}

.phyto-product-btn-primary,
.btn.phyto-product-btn-primary {
  background: linear-gradient(135deg, var(--phyto-green-500, #2d6a4f), #40916c);
  border: 2px solid transparent;
  color: #fff;
}

.phyto-product-btn-primary:hover,
.phyto-product-btn-primary:focus,
.btn.phyto-product-btn-primary:hover,
.btn.phyto-product-btn-primary:focus {
  background: linear-gradient(135deg, #1b4332, var(--phyto-green-500, #2d6a4f));
  border-color: transparent;
  color: #fff;
}

.phyto-product-know-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--phyto-green-500, #2d6a4f);
  text-decoration: none;
}

.phyto-product-know-more i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.phyto-product-card:hover .phyto-product-know-more i {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .product-page .product-hero-premium {
    padding: 32px 0 36px;
  }

  .modern-product .product-intro.phyto-page-hero h2 {
    font-size: 28px;
  }

  .modern-product .product-title {
    font-size: 22px;
  }

  .modern-product .section {
    padding: 48px 0;
  }

  .modern-product .product-grid-section {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .product-hero-infographic {
    min-height: 260px;
    margin-top: 16px;
  }

  .product-page .hero-float-card {
    display: none;
  }

  .product-hero-pills {
    gap: 8px;
  }

  .product-hero-pills li {
    font-size: 12px;
    padding: 7px 12px;
  }
}

@media (max-width: 767px) {
  .product-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-page .product-grid-section {
    padding-bottom: 88px;
  }

  .product-page .phyto-product-grid,
  .phyto-product-grid {
    margin-left: -8px;
    margin-right: -8px;
  }

  .phyto-product-col {
    width: 100% !important;
    float: none !important;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 8px;
    margin-bottom: 4px;
  }

  .phyto-product-card {
    min-height: 0;
    border-radius: 16px;
  }

  .phyto-product-visual {
    padding: 16px 16px 10px;
  }

  .phyto-product-img-wrap {
    height: 180px;
  }

  .phyto-product-meta {
    padding: 16px;
  }

  .phyto-product-title,
  .phyto-product-meta h4 {
    font-size: 16px;
    min-height: 0;
    -webkit-line-clamp: 3;
  }

  .phyto-product-price-row {
    flex-wrap: wrap;
  }

  .phyto-product-actions.row {
    margin-left: -5px;
    margin-right: -5px;
  }

  .phyto-product-action-col {
    padding-left: 5px;
    padding-right: 5px;
  }

  .phyto-product-btn.btn,
  .phyto-product-btn {
    min-height: 48px;
    font-size: 13px;
    padding: 12px 6px;
  }

  .phyto-product-know-more {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 8px 0;
    font-size: 13px;
  }

  .product-hero-infographic {
    min-height: 220px;
  }

  .product-page .infographic-ring {
    width: 180px;
    height: 180px;
  }

  .product-page .phyto-cart-fab {
    bottom: 20px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .product-page .phyto-cart-fab-count {
    bottom: 62px;
    right: 12px;
  }

  .modern-product .product-intro.phyto-page-hero h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .modern-product .product-intro .lead {
    font-size: 15px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  /* Slightly larger phones: keep one full-width card for readable CTAs */
  .phyto-product-col {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .phyto-product-col.col-sm-6 {
    width: 50%;
  }

  .phyto-product-img-wrap {
    height: 180px;
  }

  .phyto-product-btn {
    font-size: 12px;
    padding: 10px 8px;
    min-height: 44px;
  }
}

.phyto-out-of-stock {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff3f3;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
}

.phyto-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #5c6b63;
}

.phyto-empty-state i {
  font-size: 48px;
  color: #c5d4cc;
  margin-bottom: 16px;
  display: block;
}

/* Cart FAB */
.phyto-cart-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--phyto-green-500, #2d6a4f), #40916c);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 28px rgba(45, 106, 79, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phyto-cart-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(45, 106, 79, 0.5);
  color: #fff;
}

.phyto-cart-fab-count {
  position: fixed;
  bottom: 72px;
  right: 24px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e63946;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}

/* Product detail */
.product-detail-page .product-image-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.phyto-product-image-glow {
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.product-detail-page .product-image-card img {
  position: relative;
  z-index: 1;
  max-height: 360px;
  margin: 0 auto;
}

.product-summary .lead {
  font-size: 16px;
  color: #4a5d54;
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.product-meta-row .meta-card {
  flex: 1;
  min-width: 140px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f4f9f6;
  border: 1px solid rgba(45, 106, 79, 0.1);
}

.product-meta-row .meta-card span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a8a82;
  margin-bottom: 4px;
}

.product-meta-row .meta-card strong {
  font-size: 18px;
  color: var(--phyto-green-900, #1b4332);
}

.product-meta-row .meta-card.highlight {
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.12), rgba(64, 145, 108, 0.08));
  border-color: rgba(45, 106, 79, 0.2);
}

.phyto-product-detail-actions {
  margin-top: 8px;
}

.phyto-product-detail-actions .phyto-product-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
}

.product-hero-infographic-mini {
  margin: 20px 0;
}

.product-hero-infographic-mini .research-infographic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-hero-infographic-mini .research-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-hero-infographic-mini .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--phyto-green-500, #2d6a4f), #40916c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-hero-infographic-mini h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.product-hero-infographic-mini p {
  margin: 0;
  font-size: 13px;
  color: #5c6b63;
}

/* Tabs from binddata1 */
.phyto-product-tabs-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.phyto-product-tab-content .nav-tabs {
  border-bottom: 2px solid #e8f0ec;
  margin-bottom: 20px;
}

.phyto-product-tab-content .nav-tabs > li > a {
  border: none;
  border-radius: 8px 8px 0 0;
  color: #5c6b63;
  font-weight: 600;
  padding: 12px 20px;
  margin-right: 4px;
}

.phyto-product-tab-content .nav-tabs > li.active > a,
.phyto-product-tab-content .nav-tabs > li.active > a:hover,
.phyto-product-tab-content .nav-tabs > li.active > a:focus {
  background: var(--phyto-green-500, #2d6a4f);
  color: #fff;
  border: none;
}

.phyto-product-tab-content .tab-pane {
  padding: 8px 0;
  line-height: 1.7;
  color: #3d4f47;
}

.product-detail-split {
  align-items: center;
  margin-bottom: 40px;
}

.product-detail-ring {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.phyto-detail-benefits .detail-card {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phyto-detail-benefits .detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(45, 106, 79, 0.1);
}

.phyto-detail-benefits .detail-card i {
  font-size: 28px;
  color: var(--phyto-green-500, #2d6a4f);
  margin-bottom: 14px;
  display: block;
}

.phyto-detail-benefits .detail-card h5 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.phyto-detail-benefits .detail-card p {
  margin: 0;
  font-size: 14px;
  color: #5c6b63;
  line-height: 1.6;
}

/* Related products */
.phyto-related-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.phyto-related-col {
  padding: 10px;
  display: flex;
}

.phyto-related-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phyto-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(45, 106, 79, 0.12);
}

.phyto-related-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 16px;
}

.phyto-related-img {
  padding: 20px;
  background: linear-gradient(160deg, #f8fdf9, #eef7f0);
  text-align: center;
}

.phyto-related-img img {
  max-height: 140px;
  width: auto;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.phyto-related-card:hover .phyto-related-img img {
  transform: scale(1.06);
}

.phyto-related-card h5 {
  margin: 14px 16px 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--phyto-green-900, #1b4332);
  line-height: 1.35;
}

.phyto-related-cta {
  display: block;
  margin: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--phyto-green-500, #2d6a4f);
}

.phyto-related-cta i {
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.phyto-related-card:hover .phyto-related-cta i {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .product-detail-page .phyto-product-img-wrap,
  .modern-product-detail .phyto-product-img-wrap {
    height: 200px;
  }

  .product-meta-row {
    flex-direction: column;
  }

  .phyto-product-detail-actions .col-xs-12,
  .phyto-product-detail-actions .col-sm-6 {
    width: 100%;
    float: none;
    margin-bottom: 10px;
  }

  .phyto-product-detail-actions .phyto-product-btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }
}
