/* ==========================================================================
   SAFE RABBIT FARMS (PVT LTD) — OFFICIAL BRAND DESIGN SYSTEM
   Official Palette & Identity: https://saferabbitfarms.com/
   Palette: Royal Corporate Navy, Electric Azure, Coral Accent, Clean Slate
   ========================================================================== */

:root {
  /* Color Tokens - Safe Rabbit Farms Official Brand Identity */
  --primary-950: #021435;
  --primary-900: #042154;
  --primary-800: #043177;
  --primary-700: #04419A; /* Official Safe Rabbit Corporate Royal Navy */
  --primary-600: #0d5dd9;
  --primary-500: #2373FF; /* Official Safe Rabbit Electric Azure Blue */
  --primary-400: #5997ff;
  --primary-100: #dbeafe;
  --primary-50:  #eff6ff;

  --accent-gold-700: #c2410c;
  --accent-gold-600: #ea580c;
  --accent-gold-500: #f6a42a; /* Warm Amber / Gold Accent */
  --accent-gold-400: #fb923c;
  --accent-gold-100: #ffedd5;
  --accent-gold-50:  #fff7ed;

  --accent-coral:    #ec603f; /* Official Logo Coral / Warm Red Accent */
  --accent-green:    #00e22b; /* Fresh Agricultural / Halal Accent */

  --whatsapp-green:  #25d366;
  --whatsapp-dark:   #128c7e;

  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --cream-surface: #f8fafc;
  --cream-card:    #ffffff;
  --cream-border:  #e2e8f0;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 20px rgba(35, 115, 255, 0.35);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  overflow-x: hidden !important;
  max-width: 100vw;

  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw;

  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--cream-surface);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Delivery & Assurance Bar */
.top-notice-bar {
  background: var(--primary-950);
  color: var(--primary-100);
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: var(--container-max);
  box-sizing: border-box;
}
.top-notice-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.top-notice-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}
.top-notice-right a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cream-border);
  box-shadow: 0 2px 10px rgba(4, 65, 154, 0.05);
  transition: all var(--transition-normal);
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 32px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Brand Identity (Official Logo Only, Enlarged, Crisp) */
.brand-identity {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo-img {
  width: auto;
  height: 54px;
  max-width: 135px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(4, 65, 154, 0.08));
  transition: transform var(--transition-fast);
}
.brand-logo-img:hover {
  transform: scale(1.03);
}
.footer-logo-img {
  width: auto;
  height: 64px;
  max-width: 155px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Desktop Navigation Links (Centered & Evenly Distributed) */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  flex: 1;
  min-width: 0;
  max-width: none;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--slate-700);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
  padding: 6px 4px;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-700);
  border-radius: 2px;
}

/* Header Action Buttons & Direct Hotline */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--primary-900);
  transition: all var(--transition-fast);
}
.header-phone-badge:hover {
  background: var(--primary-100);
  border-color: var(--primary-500);
}
.phone-icon-dot {
  font-size: 15px;
}
.phone-label-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.phone-label-tiny {
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--primary-600);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.phone-number-bold {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary-900);
  font-family: var(--font-heading);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  border-color: #20bd5a;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.header-wa-btn {
  padding: 8px 14px;
  font-size: 13px;
}
.header-account-btn {
  background: #ffffff;
  color: var(--slate-800);
  border: 1.5px solid var(--slate-200);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.header-account-btn:hover {
  background: var(--slate-50);
  border-color: var(--primary-600);
  color: var(--primary-700);
}
.btn-primary {
  background: var(--primary-700);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 65, 154, 0.25);
}
.btn-outline {
  background: transparent;
  border-color: var(--slate-300);
  color: var(--slate-700);
}
.btn-outline:hover {
  border-color: var(--primary-700);
  color: var(--primary-700);
  background: var(--primary-50);
}

/* Slide-out Cart Trigger Button */
.cart-trigger-btn {
  position: relative;
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1.5px solid var(--primary-100);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cart-trigger-btn:hover {
  background: var(--primary-100);
  border-color: var(--primary-400);
  color: var(--primary-900);
}
.cart-count-badge {
  background: var(--accent-coral);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 8px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: background var(--transition-fast);
}
.mobile-menu-toggle:hover {
  background: var(--slate-200);
}
.hamburger-bar {
  width: 20px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile Navigation Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 2501;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-50);
}
.mobile-nav-body {
  overflow-x: hidden !important;
  max-width: 100vw;

  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-nav-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--slate-400);
  margin: 14px 0 8px 0;
}
.mobile-nav-group-title:first-child {
  margin-top: 0;
}
.mobile-portal-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-portal-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.mobile-portal-btn .portal-icon {
  font-size: 20px;
}
.mobile-portal-btn strong {
  display: block;
  font-size: 13.5px;
  color: var(--slate-900);
}
.mobile-portal-btn small {
  display: block;
  font-size: 11px;
  color: var(--slate-500);
}
.mobile-portal-btn.active {
  background: var(--primary-900);
  border-color: var(--primary-900);
}
.mobile-portal-btn.active strong {
  color: #ffffff;
}
.mobile-portal-btn.active small {
  color: #86efac;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links li a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  transition: background var(--transition-fast);
}
.mobile-nav-links li a:hover {
  background: var(--primary-50);
  color: var(--primary-800);
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

/* Strategic Portal Segmenter Bar (Module 1) - Balanced Full-Width Grid */
.portal-segment-nav {
  background: #f8fafc;
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
}
.portal-segment-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.portal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
}
.portal-btn .portal-icon {
  font-size: 20px;
}
.portal-btn:hover {
  border-color: var(--primary-500);
  color: var(--primary-700);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 65, 154, 0.1);
}
.portal-btn.active {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 65, 154, 0.25);
}
.portal-btn.active .portal-tag {
  background: var(--accent-gold-500);
  color: var(--slate-950);
}
.portal-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-700);
  letter-spacing: 0.4px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #02163b 0%, #043177 55%, #05265e 100%);
  color: #ffffff;
  padding: 54px 0 64px 0;
  overflow: hidden;
}
.hero-glow-blob {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(35, 115, 255, 0.3) 0%, rgba(2, 22, 59, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 16px;
}
.hero-content h1 span.highlight-gold {
  color: var(--accent-gold-400);
}
.hero-content p.hero-lead {
  font-size: 16.5px;
  color: #dbeafe;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.btn-hero-primary {
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 13px 26px;
  font-size: 15px;
  border-radius: var(--radius-md);
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}
.btn-hero-primary:hover {
  background: #1eb956;
  transform: translateY(-2px);
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

/* Trust Badges Strip Under Hero */
.hero-trust-row {
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

/* Hero Media Showcase Card */
.hero-media-wrapper {
  position: relative;
}
.hero-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
}
.hero-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.hero-card-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.floating-badge-text h4 {
  color: #ffffff;
  font-size: 14.5px;
  margin-bottom: 2px;
}
.floating-badge-text p {
  font-size: 12px;
  color: #94a3b8;
}
.halal-stamp {
  background: #14532d;
  border: 1px solid #22c55e;
  color: #86efac;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

/* Section Header Generic */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-700);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 15.5px;
  color: var(--slate-600);
  line-height: 1.55;
}

/* PORTAL 1: GOURMET MEAT SECTION */
.portal-meat-section {
  padding: 70px 0;
  background: #ffffff;
}
.meat-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.meat-feature-card {
  background: var(--cream-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.meat-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}
.feature-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.meat-feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.meat-feature-card p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Product Catalog Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-400);
}
.product-badge-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: var(--accent-gold-600);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.product-img-wrap {
  width: 100%;
  height: 210px;
  position: relative;
  background: #f1f5f9;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
.product-body {
  overflow-x: hidden !important;
  max-width: 100vw;

  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-700);
  margin-bottom: 4px;
}
.product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-spec-list {
  list-style: none;
  font-size: 12.5px;
  color: var(--slate-600);
  margin-bottom: 14px;
}
.product-spec-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 3px;
}
.product-spec-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-600);
  font-weight: bold;
}
.product-footer {
  margin-top: auto;
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}
.price-container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  margin-bottom: 12px;
}
.current-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  white-space: nowrap;
}
.original-price {
  font-size: 13.5px;
  color: var(--slate-400);
  text-decoration: line-through;
  white-space: nowrap;
}
.price-unit {
  font-size: 12px;
  color: var(--slate-500);
  width: 100%;
}
.product-actions-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.btn-whatsapp-order {
  background: var(--whatsapp-green);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-whatsapp-order:hover {
  background: var(--whatsapp-dark);
}
.btn-add-cart {
  background: var(--primary-700);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-add-cart:hover {
  background: var(--primary-900);
}

/* NUTRITIONAL SHOWDOWN INFOGRAPHIC (Module 2) */
.nutrition-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #faf8f5 0%, #f4ede4 100%);
  border-top: 1px solid var(--cream-border);
  border-bottom: 1px solid var(--cream-border);
}
.nutrition-comparison-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-border);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.nutrition-grid-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.nutrition-grid-table th {
  background: var(--slate-900);
  color: #ffffff;
  font-family: var(--font-heading);
  padding: 14px 16px;
  font-size: 13.5px;
  text-align: left;
}
.nutrition-grid-table th:first-child {
  border-top-left-radius: var(--radius-md);
}
.nutrition-grid-table th:last-child {
  border-top-right-radius: var(--radius-md);
}
.nutrition-grid-table th.col-rabbit {
  background: var(--primary-800);
  color: #ffffff;
  font-weight: 800;
}
.nutrition-grid-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--slate-200);
  font-size: 14px;
}
.nutrition-grid-table tr:hover td {
  background-color: var(--slate-50);
}
.nutrition-grid-table tr.highlight-row td {
  background-color: rgba(16, 185, 129, 0.05);
}
.nutrition-grid-table td.col-rabbit {
  background-color: rgba(16, 185, 129, 0.1);
  font-weight: 700;
  color: var(--primary-900);
}
.nutrition-pill-best {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-800);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  text-transform: uppercase;
}

/* Visual Bar Charts in Nutrition */
.nutrition-visual-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.nutri-metric-card {
  background: var(--cream-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}
.nutri-metric-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 6px;
}
.nutri-metric-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-800);
  margin-bottom: 4px;
}
.nutri-metric-desc {
  font-size: 12px;
  color: var(--slate-600);
}

/* PORTAL 2: B2B COMMERCIAL FARMING SETUP SECTION */
.portal-farming-section {
  padding: 70px 0;
  background: #ffffff;
}
.b2b-hero-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 34px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}
.b2b-hero-text h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 12px;
}
.b2b-hero-text p {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 20px;
}
.b2b-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.b2b-spec-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.b2b-spec-pill strong {
  display: block;
  font-size: 16px;
  color: var(--accent-gold-400);
}
.b2b-spec-pill span {
  font-size: 12px;
  color: #cbd5e1;
}

/* INTERACTIVE ROI FARM SETUP CALCULATOR */
.roi-calculator-box {
  background: var(--cream-surface);
  border: 2px solid var(--cream-border);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.calc-inputs h4, .calc-results h4 {
  font-size: 19px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-field-group {
  margin-bottom: 20px;
}
.calc-label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--slate-800);
  margin-bottom: 8px;
}
.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-slider {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--slate-300);
  outline: none;
  accent-color: var(--primary-700);
}
.calc-slider-display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-800);
  min-width: 90px;
  text-align: right;
}
.preset-flock-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn-preset {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-preset:hover, .btn-preset.active {
  background: var(--primary-900);
  border-color: var(--primary-900);
  color: #ffffff;
}

/* Calculator Output Box */
.calc-results-card {
  background: #ffffff;
  border: 1.5px solid var(--primary-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 13.5px;
}
.calc-result-row:last-child {
  border-bottom: none;
}
.calc-result-row strong {
  font-size: 15px;
  color: var(--slate-900);
}
.calc-result-row.highlight-net {
  background: var(--primary-50);
  margin: 10px -10px;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}
.calc-result-row.highlight-net strong {
  font-size: 20px;
  color: var(--primary-800);
}

/* PORTAL 3: PETS & ACCESSORIES */
.portal-pets-section {
  padding: 70px 0;
  background: #faf8f5;
}
.pet-intro-card {
  background: #ffffff;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.pet-intro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.pet-intro-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pet-intro-content h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.pet-intro-content p {
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pet-guidelines-list {
  list-style: none;
  margin-bottom: 24px;
  font-size: 14px;
}
.pet-guidelines-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.pet-guidelines-list li::before {
  content: '❤️';
  position: absolute;
  left: 0;
  font-size: 11px;
  top: 3px;
}

/* BIOSECURITY, HALAL AUDIT & CREDIBILITY (Module 2) */
.farm-proof-section {
  padding: 70px 0;
  background: #ffffff;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.proof-gallery-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--cream-border);
}
.proof-gallery-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.proof-checklist {
  list-style: none;
}
.proof-check-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.proof-icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.proof-text h4 {
  font-size: 17px;
  margin-bottom: 4px;
}
.proof-text p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 70px 0;
  background: var(--cream-surface);
}
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}
.faq-item.active {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--slate-900);
}
.faq-chevron {
  font-size: 18px;
  color: var(--primary-700);
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 22px 18px 22px;
  font-size: 14.5px;
  color: var(--slate-600);
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  display: block;
}

/* LIVE TRACKING CONSOLE / EVENT DISPATCHER (Module 5) */
.event-tracker-strip {
  background: var(--slate-900);
  color: #38bdf8;
  font-family: monospace;
  font-size: 12px;
  padding: 8px 16px;
  border-top: 1px solid var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.tracker-status-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tracker-badge {
  background: #0369a1;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.tracker-last-event {
  color: #f8fafc;
}
.tracker-toggle-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
}
.tracker-toggle-btn:hover {
  color: #ffffff;
}

/* Floating WhatsApp Direct Button */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 50px;
  right: 22px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-wa-btn {
  width: 58px;
  height: 58px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: transform var(--transition-fast);
  color: #ffffff;
}
.floating-wa-btn:hover {
  transform: scale(1.08);
}
.floating-wa-tooltip {
  background: #ffffff;
  color: var(--slate-800);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  white-space: nowrap;
}

/* SLIDE-OUT CART DRAWER */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #ffffff;
  z-index: 2001;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}
.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.cart-drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-50);
}
.cart-drawer-header h3 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.close-drawer-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--slate-500);
  cursor: pointer;
}
.close-drawer-btn:hover {
  color: var(--slate-900);
}
.cart-delivery-threshold {
  background: var(--primary-50);
  border-bottom: 1px solid var(--primary-100);
  padding: 10px 22px;
  font-size: 12.5px;
  color: var(--primary-900);
}
.threshold-bar {
  height: 6px;
  background: var(--slate-200);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}
.threshold-progress {
  height: 100%;
  background: var(--primary-600);
  width: 0%;
  transition: width 0.3s ease;
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
}
.cart-empty-message {
  text-align: center;
  padding: 40px 10px;
  color: var(--slate-500);
}
.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
  align-items: center;
}
.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f1f5f9;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2px;
}
.cart-item-price {
  font-size: 13px;
  color: var(--primary-800);
  font-weight: 700;
}
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--slate-300);
  background: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-val {
  font-size: 13px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  color: #ef4444;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}
.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--slate-200);
  background: #ffffff;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--slate-600);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
  padding-top: 6px;
  border-top: 1px solid var(--slate-100);
}
.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* CHECKOUT MODAL */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.checkout-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.checkout-modal {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--slate-50);
}
.modal-body {
  overflow-x: hidden !important;
  max-width: 100vw;

  padding: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--slate-900);
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.payment-radio-label {
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.payment-radio-label:hover {
  border-color: var(--primary-500);
}
.payment-radio-label.selected {
  border-color: var(--primary-700);
  background: var(--primary-50);
}
.bank-instructions-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 12.5px;
  margin-top: 12px;
}

/* 3-FIELD CHECKOUT BADGES & PROFILE PILL */
.checkout-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eff6ff;
  color: #04419a;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid #bfdbfe;
  margin-bottom: 4px;
}
.saved-profile-alert {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #1e40af;
}
.saved-profile-alert strong {
  color: #1e3a8a;
}
.btn-text-action {
  background: none;
  border: none;
  color: var(--primary-700);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}

/* CLIENT ACCOUNT & ORDER TRACKER MODAL */
.client-account-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.client-account-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.client-account-modal {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.account-tabs-nav {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  gap: 4px;
}
.account-tab-btn {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.account-tab-btn.active {
  background: #ffffff;
  color: var(--primary-800);
  box-shadow: var(--shadow-sm);
}
.account-tab-content {
  display: none;
}
.account-tab-content.active {
  display: block;
}

/* CLIENT AUTH FORMS (LOGIN / SIGNUP) */
.auth-toggle-group {
  display: flex;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
}
.auth-toggle-btn {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.auth-toggle-btn.active {
  background: #ffffff;
  color: var(--primary-800);
  box-shadow: var(--shadow-sm);
}
.client-auth-card {
  padding: 8px 0;
}

/* CLIENT DASHBOARD HEADER & STATS */
.client-dash-header {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.client-profile-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gold-500);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid rgba(255,255,255,0.4);
}
.client-name-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.client-meta-tag {
  font-size: 12px;
  color: #bfdbfe;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.btn-dash-logout {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-dash-logout:hover {
  background: rgba(255, 255, 255, 0.25);
}

.client-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.client-stat-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
}
.stat-box-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-box-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-900);
}

/* ORDER HISTORY LIST */
.order-history-card {
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}
.order-history-card:hover {
  border-color: var(--primary-400);
}
.order-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.reorder-btn {
  background: var(--primary-50);
  color: var(--primary-800);
  border: 1px solid var(--primary-300);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.reorder-btn:hover {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

/* TRACKER TIMELINE */
.tracker-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 24px 0 20px 0;
}
.tracker-timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--slate-200);
  z-index: 1;
}
.tracker-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}
.step-bubble {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin: 0 auto 6px auto;
  transition: all var(--transition-fast);
}
.tracker-step.completed .step-bubble,
.tracker-step.active .step-bubble {
  background: var(--primary-600);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.step-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
}
.tracker-step.completed .step-title,
.tracker-step.active .step-title {
  color: var(--primary-800);
}


/* Site Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding: 60px 0 60px 0;
  border-top: 3px solid var(--primary-700);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-gold-500);
}
.footer-links {
  list-style: none;
  font-size: 14px;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  margin-bottom: 10px;
}
.sochworks-endorsement {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 12.5px;
  color: var(--slate-400);
}
.sochworks-endorsement strong {
  color: #ffffff;
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: #ffffff;
  border-left: 4px solid var(--primary-600);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-900);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Comprehensive Responsive Media Queries */

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* 1. Large Laptops / Screens (max-width: 1280px) */
@media (max-width: 1280px) {
  .header-inner {
    padding: 8px 20px;
    gap: 16px;
  }
  .main-nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 13px;
    padding: 6px 2px;
  }
  .brand-logo-img {
    height: 60px;
    max-width: 140px;
  }
  .portal-segment-wrapper {
    padding: 0 20px;
    gap: 10px;
  }
  .portal-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* 2. Medium Laptops / Small Desktops (max-width: 1100px) */
@media (max-width: 1100px) {
  .header-phone-badge {
    display: none;
  }
  .main-nav {
    gap: 12px;
  }
  .nav-link {
    font-size: 12.5px;
    padding: 4px 1px;
  }
  .portal-segment-wrapper {
    gap: 8px;
  }
  .portal-btn {
    font-size: 12px;
    padding: 9px 10px;
    gap: 8px;
  }
  .portal-tag {
    font-size: 9.5px;
    padding: 2px 6px;
  }
}

/* 3. Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-inner {
    padding: 8px 18px;
  }
  .header-actions {
    gap: 8px;
  }
  .brand-logo-img {
    height: 52px;
    max-width: 120px;
  }
  
  /* Portal Bar becomes touch horizontal swipe on tablets/phones */
  .portal-segment-nav {
    padding: 8px 0;
    background: #f8fafc;
  }
  .portal-segment-wrapper {
    display: flex;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 4px 16px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    max-width: 100%;
  }
  .portal-segment-wrapper::-webkit-scrollbar {
    display: none;
  }
  .portal-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: auto;
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .hero-content p.hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .hero-media-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
  .b2b-hero-strip {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pet-intro-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* 4. Small Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-notice-bar {
    padding: 5px 0;
    font-size: 11.5px;
  }
  .top-notice-content {
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 0 12px;
  }
  .top-notice-right {
    display: none;
  }
  .top-notice-left {
    justify-content: center;
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .header-account-btn,
  .header-wa-btn,
  .cart-trigger-btn,
  .mobile-menu-toggle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  .header-account-btn .btn-text,
  .header-wa-btn .btn-text {
    display: none !important;
  }
  .cart-trigger-btn .cart-count-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 17px !important;
    height: 17px !important;
    font-size: 10px !important;
    padding: 0 4px !important;
    line-height: 17px !important;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 110px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-img-wrap {
    height: 200px;
  }
  .nutrition-comparison-box {
    padding: 18px 12px;
  }
  .nutrition-grid-table th, .nutrition-grid-table td {
    padding: 8px 6px;
    font-size: 12px;
  }
  .nutrition-visual-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .b2b-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .modal-dialog {
    width: 95%;
    margin: 10px auto;
  }
}
/* 5. Mobile Phones (max-width: 540px) */
@media (max-width: 540px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-inner {
    padding: 6px 12px;
    gap: 8px;
  }
  .brand-logo-img {
    height: 42px;
    max-width: 95px;
  }
  .header-actions {
    gap: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .header-account-btn,
  .header-wa-btn,
  .cart-trigger-btn,
  .mobile-menu-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .header-account-btn svg,
  .header-wa-btn svg,
  .cart-trigger-btn svg {
    width: 16px;
    height: 16px;
  }
  .cart-trigger-btn .cart-count-badge {
    min-width: 16px !important;
    height: 16px !important;
    font-size: 9.5px !important;
    top: -4px !important;
    right: -4px !important;
    padding: 0 4px !important;
    line-height: 16px !important;
  }

  .portal-segment-wrapper {
    padding: 4px 12px;
    gap: 8px;
  }
  .portal-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .portal-tag {
    font-size: 9px;
    padding: 1px 5px;
  }

  .hero-section {
    padding: 24px 0 32px 0;
  }
  .hero-content h1 {
    font-size: clamp(20px, 6.2vw, 25px);
    line-height: 1.25;
  }
  .hero-content p.hero-lead {
    font-size: 13.5px;
    line-height: 1.5;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 12px 14px;
    justify-content: center;
  }
  .hero-trust-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .hero-card img {
    height: 190px;
  }

  .b2b-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 12px;
  }
}
/* 6. Extra Small Screens (max-width: 360px) */
@media (max-width: 360px) {
  .header-inner {
    padding: 4px 8px;
    gap: 4px;
  }
  .brand-logo-img {
    height: 36px;
    max-width: 82px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-account-btn, .header-wa-btn, .mobile-menu-toggle, .cart-trigger-btn {
  position: relative;
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1.5px solid var(--primary-100);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
  .header-account-btn svg, .header-wa-btn svg, .cart-trigger-btn svg {
    width: 14px;
    height: 14px;
  }
  .mobile-menu-toggle {
    padding: 5px;
  }
  .hamburger-bar {
    width: 16px;
  }
  .hero-content h1 {
    font-size: 18.5px;
  }
}

/* ==========================================================================
   ANIMATED SPLASH SCREEN (SAMPLE 2: FARM-TO-FORK JOURNEY STEPPER)
   ========================================================================== */
.splash-overlay {
  max-width: 100vw;
  overflow-x: hidden;

  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: radial-gradient(circle at 50% 45%, #062b66 0%, #02163b 50%, #010b1e 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s ease, transform 0.55s ease;
}

.splash-overlay.dismissed {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

/* Ambient Background Lights & Grid Mesh */
.splash-ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 20% 40%, rgba(35, 115, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 55%, rgba(246, 164, 42, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(4, 65, 154, 0.20) 0%, transparent 50%);
}

.splash-grid-mesh {
  position: absolute;
  inset: 0;
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  pointer-events: none;
}

/* Topbar & Skip Button */
.splash-topbar {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.splash-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 204, 21, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fde047;
}

.splash-live-dot {
  width: 8px;
  height: 8px;
  background: #2373ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #2373ff;
  animation: splashDotPulse 1.5s infinite;
}

@keyframes splashDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.splash-skip-btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.splash-skip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(250, 204, 21, 0.4);
  color: #fde047;
  transform: translateX(2px);
}

.splash-skip-btn .skip-arrow {
  transition: transform 0.2s ease;
}
.splash-skip-btn:hover .skip-arrow {
  transform: translateX(3px);
}

/* Main Journey Container */
.splash-journey-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 840px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Brand Header */
.splash-brand-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.splash-journey-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.45);
}

.splash-journey-titles {
  display: flex;
  flex-direction: column;
}

.splash-journey-heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}

.splash-journey-heading .highlight-gold {
  color: #facc15;
}

.splash-journey-tagline {
  font-size: 12.5px;
  color: #6ee7b7;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin: 3px 0 0;
}

/* 3-Step Connected Timeline Bar */
.splash-stepper-nav {
  position: relative;
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 10px;
}

.splash-stepper-track {
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.splash-stepper-fill {
  position: absolute;
  top: 18px;
  left: 10%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #2373ff 0%, #38bdf8 60%, #f6a42a 100%);
  box-shadow: 0 0 12px rgba(35, 115, 255, 0.7);
  z-index: 2;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.splash-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #031738;
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  transition: all 0.35s ease;
}

.splash-step-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: color 0.35s;
}

.splash-step-node.active .splash-step-circle {
  border-color: #facc15;
  background: #facc15;
  color: #04140c;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.7);
  transform: scale(1.14);
}

.splash-step-node.active .splash-step-label {
  color: #facc15;
  font-weight: 700;
}

.splash-step-node.completed .splash-step-circle {
  border-color: #2373ff;
  background: #2373ff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(35, 115, 255, 0.65);
}

.splash-step-node.completed .splash-step-label {
  color: #93c5fd;
}

/* Morphing Hero Card */
.splash-stage-card {
  width: 100%;
  max-width: 720px;
  background: rgba(4, 25, 61, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(35, 115, 255, 0.22);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 270px 1fr;
  margin-bottom: 22px;
  transition: all 0.35s ease;
}

.splash-stage-media {
  position: relative;
  height: 100%;
  min-height: 220px;
  background: #020b06;
  overflow: hidden;
}

.splash-stage-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.6s ease;
}

.splash-stage-media-img:hover {
  transform: scale(1.04);
}

.splash-stage-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #facc15;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.splash-stage-content {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.splash-stage-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.splash-stage-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 20px;
}

.splash-stage-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.splash-meta-status {
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 6px;
}

.splash-mini-progress {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.splash-mini-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2373ff 0%, #38bdf8 60%, #f6a42a 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(35, 115, 255, 0.6);
  transition: width 0.08s linear;
}

/* Bottom Bar */
.splash-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 720px;
  padding: 0 4px;
}

.splash-bottom-note {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.splash-direct-enter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.splash-direct-enter-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
  transform: translateX(2px);
}

/* Splash Screen Responsive Rules */
@media (max-width: 768px) {
  .splash-topbar {
    top: 14px;
    padding: 0 16px;
  }
  .splash-journey-container {
    padding: 16px;
  }
  .splash-stage-card {
    grid-template-columns: 1fr;
    max-width: calc(100vw - 32px) !important;
  }
  .splash-stage-media {
    height: 150px;
    min-height: 150px;
  }
  .splash-stage-content {
    padding: 18px 20px;
  }
  .splash-stage-title {
    font-size: 18px;
  }
  .splash-stage-desc {
    font-size: 12.5px;
    margin-bottom: 14px;
  }
  .splash-journey-heading {
    font-size: 20px;
  }
  .splash-journey-logo {
    width: 46px;
    height: 46px;
  }
  .splash-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .splash-stepper-nav {
    max-width: calc(100vw - 32px) !important;
  }
  .splash-step-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .splash-step-label {
    font-size: 10px;
  }
  .splash-stepper-track,
  .splash-stepper-fill {
    top: 15px;
  }
}

@media (max-width: 480px) {
  .splash-step-label {
    display: none; /* Hide labels on very small mobile to prevent text crowding */
  }
  .splash-stepper-nav {
    margin-bottom: 16px;
  }
  .splash-badge-tag {
    font-size: 11px;
    padding: 4px 10px;
  }
  .splash-skip-btn {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* ==========================================================================
   SAFE RABBIT FARMS — TRAINING & CAPACITY BUILDING ACADEMY SECTION
   Authentic Abbottabad R&D Center & Nationwide Masterclasses
   ========================================================================== */

.training-section {
  padding: 85px 0 75px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  border-top: 1px solid var(--cream-border);
  border-bottom: 1px solid var(--cream-border);
  position: relative;
  overflow: hidden;
}

.training-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-700), #f26522, var(--whatsapp-green));
}

.training-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.training-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.training-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.training-title .highlight-accent {
  color: #ea580c;
}

.training-subtitle {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate-600);
}

/* Academy Impact Bar */
.training-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  margin-bottom: 48px;
}

.training-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.training-metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--slate-200);
}

.training-metric-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.training-metric-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-600);
  margin-top: 4px;
}

/* 4 Core Programs Grid */
.training-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.training-prog-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.training-prog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: var(--primary-400);
}

.prog-media-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.prog-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.training-prog-card:hover .prog-media-img {
  transform: scale(1.04);
}

.prog-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 37, 69, 0.92);
  color: #ffffff;
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prog-media-badge.badge-featured {
  background: #ea580c;
  color: #ffffff;
}

.prog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prog-format-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-700);
  background: var(--primary-50);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: fit-content;
}

.prog-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-950);
  line-height: 1.3;
  margin-bottom: 12px;
}

.prog-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.prog-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prog-bullets li {
  font-size: 13.5px;
  color: var(--slate-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.prog-bullets li::before {
  content: '✓';
  color: var(--whatsapp-green);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.prog-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prog-meta-schedule {
  display: flex;
  flex-direction: column;
}

.prog-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prog-meta-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-800);
}

.btn-prog-action {
  background: var(--primary-700);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-prog-action:hover {
  background: var(--primary-800);
  box-shadow: 0 4px 12px rgba(4, 65, 154, 0.25);
  color: #ffffff;
}

.btn-prog-action.action-wa {
  background: #15803d;
}

.btn-prog-action.action-wa:hover {
  background: #166534;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

/* 6-Stage Curriculum Syllabus */
.training-curriculum-section {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 56px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.curriculum-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 32px;
}

.curriculum-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 8px;
}

.curriculum-subtitle {
  font-size: 14px;
  color: var(--slate-600);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.curriculum-step-card {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.curriculum-step-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-2px);
  background: #ffffff;
}

.curriculum-step-num {
  display: inline-block;
  background: var(--primary-700);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.curriculum-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 8px;
  line-height: 1.35;
}

.curriculum-step-desc {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Trainer Profile & Collaboration Showcase */
.training-trainer-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  background: #042154;
  color: #ffffff;
  border-radius: 20px;
  padding: 36px;
  align-items: center;
  margin-bottom: 56px;
  box-shadow: 0 10px 30px rgba(4, 33, 84, 0.2);
}

.trainer-photo-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  height: 320px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.trainer-photo-wrap:hover .trainer-photo {
  transform: scale(1.03);
}

.trainer-badge-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #f6a42a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trainer-info h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f6a42a;
  font-weight: 700;
  margin-bottom: 6px;
}

.trainer-info h3 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.trainer-info p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.trainer-credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cred-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trainer-cta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Facility & Workshop Gallery Grid */
.training-gallery-wrap {
  margin-bottom: 50px;
}

.gallery-section-title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 6px;
}

.gallery-section-subtitle {
  text-align: center;
  font-size: 13.5px;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.training-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.training-gallery-item {
  position: relative;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200);
}

.training-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.training-gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 37, 69, 0.9) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 16px 12px 8px;
}

/* Bottom Direct Registration Banner */
.training-reg-banner {
  background: linear-gradient(135deg, #04419A 0%, #021435 100%);
  border-radius: 18px;
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 25px rgba(4, 65, 154, 0.25);
}

.reg-banner-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.reg-banner-text p {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 600px;
  line-height: 1.5;
}

.reg-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-reg-wa {
  background: #25d366;
  color: #020617;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-reg-wa:hover {
  background: #20ba59;
  transform: translateY(-2px);
  color: #020617;
}

/* Responsive Overrides for Training Section */
@media (max-width: 1024px) {
  .training-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .training-metric-item:nth-child(2)::after {
    display: none;
  }
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .training-trainer-box {
    grid-template-columns: 260px 1fr;
    padding: 28px;
  }
  .training-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .training-programs-grid {
    grid-template-columns: 1fr;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .training-trainer-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .trainer-photo-wrap {
    max-width: 280px;
    margin: 0 auto;
    height: 260px;
  }
  .trainer-credentials-row,
  .trainer-cta-bar {
    justify-content: center;
  }
  .training-reg-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .reg-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  .btn-reg-wa {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .training-metrics-bar {
    grid-template-columns: 1fr;
  }
  .training-metric-item::after {
    display: none !important;
  }
  .training-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* Robust Header Navigation & Collision-Proof Spacing */
.header-phone-badge {
  display: none !important; /* Conceal redundant hotline in header actions */
}

.header-account-btn {
  padding: 8px 14px !important;
  font-size: 13px !important;
  border-radius: var(--radius-md) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.header-wa-btn {
  padding: 8px 16px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1366px) {
  .header-inner {
    padding: 8px 20px;
    gap: 12px;
  }
  .main-nav {
    gap: 12px;
  }
  .nav-link {
    font-size: 13px;
    padding: 6px 2px;
  }
}

@media (max-width: 1220px) {
  .main-nav {
    gap: 8px;
  }
  .nav-link {
    font-size: 12px;
    padding: 4px 1px;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}



/* ==========================================================================
   TRAINING ACADEMY SUB-NAVIGATION & CATEGORIZED VIDEO PLAYLISTS
   ========================================================================== */

/* Training Sub-Nav Pills */
.training-subnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
  max-width: 1000px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.training-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.training-subnav-btn:hover {
  background: var(--slate-100);
  color: var(--primary-900);
}

.training-subnav-btn.active {
  background: var(--primary-900);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(4, 65, 154, 0.2);
}

.training-subnav-btn.btn-highlight-playlist {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.training-subnav-btn.btn-highlight-playlist:hover,
.training-subnav-btn.btn-highlight-playlist.active {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

/* Pulsing live dot */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Training Playlists Hub Main Container */
.training-playlists-hub {
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: 24px;
  padding: 40px 36px;
  margin: 48px auto;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: all 0.3s ease;
  scroll-margin-top: 90px;
}

.training-playlists-hub.hub-pulse-highlight {
  border-color: #ea580c;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.2), 0 12px 36px rgba(15, 23, 42, 0.08);
}

/* Hub Header */
.playlists-hub-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.playlists-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.playlists-main-title {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.playlists-main-subtitle {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 22px;
  font-family: inherit;
}

.playlists-header-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.btn-yt-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(255, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-yt-subscribe:hover {
  background: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 0, 0, 0.35);
}

/* ==========================================================================
   VIDEO THEATER WRAPPER (Interactive Embed Player)
   ========================================================================== */
.video-theater-wrapper {
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 100px;
}

.video-theater-screen {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.video-theater-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-theater-info {
  padding: 24px 28px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.theater-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.theater-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theater-cat-badge {
  background: rgba(234, 88, 12, 0.2);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.4);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.theater-ep-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.theater-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.theater-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-theater-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-theater-action.btn-yt-link {
  background: rgba(255, 0, 0, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.btn-theater-action.btn-yt-link:hover {
  background: #ff0000;
  color: #ffffff;
}

.btn-theater-action.btn-wa-link {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-theater-action.btn-wa-link:hover {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.theater-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.35;
  margin-bottom: 6px;
}

.theater-urdu-title {
  font-size: 16px;
  color: #fb923c;
  font-weight: 600;
  margin-bottom: 12px;
  direction: rtl;
  text-align: right;
  line-height: 1.5;
}

.theater-desc {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
}

.theater-takeaway {
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #ea580c;
  padding: 8px 14px;
  border-radius: 0 8px 8px 0;
  color: #94a3b8;
}

.theater-takeaway strong {
  color: #f1f5f9;
}

/* ==========================================================================
   CATEGORY FILTER TABS BAR
   ========================================================================== */
.playlists-filter-bar {
  margin-bottom: 28px;
}

.filter-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-900);
}

.filter-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}

.category-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #f8fafc;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cat-pill:hover {
  background: #f1f5f9;
  border-color: var(--slate-300);
  color: var(--primary-900);
}

.cat-pill.active {
  background: var(--primary-900);
  color: #ffffff;
  border-color: var(--primary-900);
  box-shadow: 0 4px 12px rgba(4, 65, 154, 0.2);
}

.cat-pill.active .cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-700);
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   VIDEO PLAYLIST CARDS GRID
   ========================================================================== */
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.playlist-video-card {
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.playlist-video-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-400);
  box-shadow: 0 10px 24px rgba(4, 65, 154, 0.09);
}

.playlist-video-card.active-video-card {
  border-color: #ea580c;
  box-shadow: 0 0 0 2px #ea580c, 0 10px 24px rgba(234, 88, 12, 0.14);
  background: #fffcf9;
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #0f172a;
  overflow: hidden;
}

.card-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.playlist-video-card:hover .card-thumb-wrap img {
  transform: scale(1.04);
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.play-overlay-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.playlist-video-card:hover .play-overlay-circle {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ea580c;
}

.now-playing-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.88);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.card-cat-tag {
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  background: #fff7ed;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.card-ep-num {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate-500);
}

.card-video-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-950);
  line-height: 1.35;
  margin-bottom: 4px;
}

.card-urdu-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ea580c;
  line-height: 1.4;
  margin-bottom: 10px;
  direction: rtl;
  text-align: right;
}

.card-desc {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-takeaway {
  font-size: 12px;
  background: var(--slate-50);
  border-left: 2px solid #ea580c;
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
  color: var(--slate-600);
  margin-bottom: 14px;
  margin-top: auto;
}

.takeaway-label {
  font-weight: 700;
  color: var(--primary-900);
}

.card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.btn-card-watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-900);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.btn-card-watch:hover {
  background: #ea580c;
}

.btn-card-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #dc2626;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-yt:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

/* Playlist Footer Callout */
.playlists-footer-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff7ed 100%);
  border: 1.5px solid var(--primary-100);
  border-radius: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
}

.callout-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.callout-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.callout-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 4px;
}

.callout-desc {
  font-size: 14px;
  color: var(--slate-600);
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE QUERIES FOR VIDEO PLAYLISTS
   ========================================================================== */
@media (max-width: 1024px) {
  .playlists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .training-playlists-hub {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .playlists-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .training-playlists-hub {
    padding: 24px 16px;
    margin: 32px auto;
    border-radius: 18px;
  }
  .video-theater-info {
    padding: 18px 16px;
  }
  .theater-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .theater-share-actions {
    width: 100%;
  }
  .btn-theater-action {
    flex: 1;
    justify-content: center;
  }
  .playlists-footer-callout {
    flex-direction: column;
    text-align: center;
  }
  .callout-left {
    flex-direction: column;
    text-align: center;
  }
  .training-subnav {
    border-radius: 16px;
    padding: 6px;
  }
  .training-subnav-btn {
    font-size: 12.5px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .playlists-main-title {
    font-size: 20px;
  }
  .playlists-main-subtitle {
    font-size: 13.5px;
  }
  .btn-yt-subscribe {
    width: 100%;
    justify-content: center;
  }
  .theater-title {
    font-size: 17px;
  }
  .theater-urdu-title {
    font-size: 14.5px;
  }
}

/* =========================================================================
   ABOUT US (about.html) + HOME ABOUT TEASER
   Content source: saferabbitfarms.com/about-us/
   ========================================================================= */
.about-hero {
  position: relative;
  padding: 96px 0 80px;
  color: #fff;
  background: linear-gradient(100deg, rgba(2, 20, 53, 0.92) 0%, rgba(4, 65, 154, 0.78) 55%, rgba(4, 65, 154, 0.35) 100%),
              url('../images/saferabbit/farm_rabbits.jpg') center / cover no-repeat;
}
.about-hero .crumbs { font-size: 13px; opacity: 0.85; margin-bottom: 14px; }
.about-hero .crumbs a { color: #fff; text-decoration: underline; }
.about-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 14px; color: #fff; }
.about-hero p { font-size: 18px; max-width: 640px; line-height: 1.6; color: #dbeafe; }
.about-hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.about-hero-stats div { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-lg); padding: 12px 18px; min-width: 140px; }
.about-hero-stats strong { display: block; font-family: var(--font-heading); font-size: 24px; color: var(--accent-gold-500); }
.about-hero-stats span { font-size: 13px; color: #e2e8f0; }

.about-section { padding: 72px 0; background: #fff; }
.about-section.alt { background: var(--slate-50); }
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.about-split.reverse > :first-child { order: 2; }
.about-split img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.about-split h2 { font-size: 32px; font-weight: 800; color: var(--slate-900); margin: 8px 0 16px; letter-spacing: -0.5px; }
.about-split p { font-size: 16px; line-height: 1.75; color: var(--slate-600); margin-bottom: 14px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.about-mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.about-mv-card { background: #fff; border: 1px solid var(--cream-border); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-md); }
.about-mv-card .icon { font-size: 34px; margin-bottom: 10px; }
.about-mv-card h3 { font-size: 22px; font-weight: 800; color: var(--primary-800); margin-bottom: 10px; }
.about-mv-card p { font-size: 15.5px; line-height: 1.7; color: var(--slate-600); }

.about-expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.about-expertise-card { background: #fff; border: 1px solid var(--cream-border); border-radius: var(--radius-lg); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.about-expertise-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.about-expertise-card .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-50); font-size: 22px; margin-bottom: 14px; }
.about-expertise-card h3 { font-size: 17px; font-weight: 800; color: var(--slate-900); margin-bottom: 8px; }
.about-expertise-card p { font-size: 14.5px; line-height: 1.6; color: var(--slate-600); }

.about-md-card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--primary-900), var(--primary-700)); color: #fff; border-radius: var(--radius-xl); padding: 40px; }
.about-md-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-xl); border: 4px solid rgba(255, 255, 255, 0.2); }
.about-md-card .kicker { color: var(--accent-gold-500); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.about-md-card h2 { font-size: 30px; font-weight: 800; color: #fff; margin: 6px 0 14px; }
.about-md-card p { font-size: 16px; line-height: 1.75; color: #dbeafe; margin-bottom: 12px; }

.about-timeline { position: relative; display: grid; gap: 18px; margin-top: 10px; }
.about-timeline-item { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.about-timeline-item .year { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--primary-700); background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: var(--radius-md); text-align: center; padding: 8px 0; }
.about-timeline-item p { font-size: 15.5px; line-height: 1.7; color: var(--slate-600); margin: 4px 0 0; }

.about-impact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.about-impact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--slate-700); line-height: 1.6; }
.about-impact-list li::before { content: '✓'; flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #dcfce7; color: #15803d; font-weight: 800; font-size: 14px; }

.about-partners { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.about-partners span { background: #fff; border: 1px solid var(--cream-border); border-radius: var(--radius-full); padding: 8px 16px; font-weight: 700; font-size: 14px; color: var(--primary-800); }

.about-breeds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.about-breed-card { background: #fff; border: 1px solid var(--cream-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.about-breed-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.about-breed-card div { padding: 20px; }
.about-breed-card h3 { font-size: 18px; font-weight: 800; color: var(--slate-900); margin-bottom: 8px; }
.about-breed-card ul { margin: 0; padding-left: 18px; color: var(--slate-600); font-size: 14.5px; line-height: 1.7; }

.about-cta { background: linear-gradient(120deg, var(--primary-800), var(--primary-600)); color: #fff; text-align: center; padding: 64px 0; }
.about-cta h2 { color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.about-cta p { color: #dbeafe; font-size: 16px; margin-bottom: 24px; }
.about-cta .about-actions { justify-content: center; }

/* Home page teaser */
.home-about-teaser { padding: 70px 0; background: var(--slate-50); }

@media (max-width: 900px) {
  .about-split, .about-md-card { grid-template-columns: 1fr; gap: 28px; }
  .about-split.reverse > :first-child { order: 0; }
  .about-md-card { padding: 28px; }
  .about-md-card img { max-width: 280px; }
  .about-mv-grid { grid-template-columns: 1fr; }
  .about-section { padding: 52px 0; }
  .about-hero { padding: 64px 0 56px; }
}
@media (max-width: 520px) {
  .about-timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .about-timeline-item .year { width: 90px; }
  .about-split h2, .about-md-card h2 { font-size: 26px; }
}
.about-split.reverse { align-items: start; }
.about-actions .btn-secondary { border: 1.5px solid var(--slate-300); background: #fff; color: var(--primary-800); }
.about-cta .about-actions .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* Out-of-stock products (set from Admin > Products & Prices) */
.product-card { position: relative; }
.product-card.out-of-stock .product-img-wrap img { filter: grayscale(0.85); opacity: 0.7; }
.product-stock-flag { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--slate-800); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: var(--radius-full); }
.btn-add-cart[disabled] { opacity: .45; cursor: not-allowed; }

/* =========================================================================
   TRAINING ACADEMY PAGE (training.html)
   ========================================================================= */
.training-page-hero { padding-bottom: 40px; }
.training-page-hero .crumbs { font-size: 13px; color: var(--slate-500); margin-bottom: 14px; }
.training-page-hero .crumbs a { color: var(--primary-700); text-decoration: underline; }
.training-subnav-sticky { position: sticky; top: 0; z-index: 40; background: rgba(248, 250, 252, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-200); padding: 10px 0; }
.training-subnav-sticky .training-subnav { margin: 0 auto; }
.training-category { padding: 64px 0; background: #fff; scroll-margin-top: 80px; }
.training-category.alt { background: var(--slate-50); }
.training-category-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--slate-200); }
.training-category-num { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--primary-700); background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 12px; padding: 8px 12px; line-height: 1; }
.training-category-head h2 { font-size: 28px; font-weight: 800; color: var(--slate-900); margin: 0 0 6px; letter-spacing: -0.4px; }
.training-category-head p { font-size: 15.5px; color: var(--slate-600); margin: 0; }
/* Inner blocks already have their own headings/margins from the old one-page layout */
.training-category .training-playlists-hub,
.training-category .training-curriculum-section,
.training-category .training-trainer-box,
.training-category .training-gallery-wrap,
.training-category .training-reg-banner { margin-top: 0; margin-bottom: 0; }
.home-training-teaser { padding: 70px 0; background: #fff; }
@media (max-width: 760px) {
  .training-subnav-sticky .training-subnav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; border-radius: var(--radius-lg); }
  .training-subnav-sticky .training-subnav-btn { white-space: nowrap; flex: 0 0 auto; }
  .training-category { padding: 44px 0; }
  .training-category-head h2 { font-size: 22px; }
}

/* =========================================================================
   REQUEST FEASIBILITY FORM (assets/js/feasibility.js)
   ========================================================================= */
.feas-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(2, 20, 53, 0.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.feas-overlay[hidden] { display: none; }
.feas-modal { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-xl); }
.feas-modal h3 { font-size: 24px; font-weight: 800; color: var(--slate-900); margin: 8px 0 6px; }
.feas-sub { font-size: 14.5px; color: var(--slate-600); margin-bottom: 18px; line-height: 1.55; }
.feas-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: var(--slate-100); border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--slate-600); }
.feas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feas-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--slate-700); }
.feas-grid .feas-full { grid-column: 1 / -1; }
.feas-grid input, .feas-grid select, .feas-grid textarea { font: inherit; font-weight: 400; font-size: 14.5px; padding: 11px 12px; border: 1.5px solid var(--slate-300); border-radius: var(--radius-md); background: #fff; color: var(--slate-900); width: 100%; }
.feas-grid input:focus, .feas-grid select:focus, .feas-grid textarea:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px var(--primary-100); }
.feas-error { color: #b91c1c; font-size: 13.5px; font-weight: 600; min-height: 18px; margin: 12px 0 6px; }
.feas-submit { width: 100%; padding: 14px; font-size: 15px; justify-content: center; }
.feas-submit[disabled] { opacity: .6; cursor: wait; }
#feasDoneView, #reviewDoneView, #reviewGateView { text-align: center; padding: 10px 0; }
#feasDoneView p, #reviewDoneView p, #reviewGateView p { color: var(--slate-600); margin: 6px 0 20px; line-height: 1.6; }
#reviewGateView .feas-submit { margin-bottom: 8px; }
.feas-done-icon { font-size: 48px; }
.feas-link { display: block; margin: 12px auto 0; background: none; border: none; color: var(--slate-500); text-decoration: underline; cursor: pointer; font-size: 14px; }
@media (max-width: 560px) {
  .feas-grid { grid-template-columns: 1fr; }
  .feas-modal { padding: 22px 18px; }
}
.reg-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-reg-wa.btn-reg-feas { background: #fff; color: var(--primary-800); }

/* Floating back-to-top button (assets/js/back-to-top.js) */
.back-to-top {
  position: fixed;
  right: 29px;
  bottom: 50px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary-600, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 20, 53, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s;
}
.back-to-top.with-wa { bottom: 122px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-700, #1e40af); transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid var(--primary-200, #bfdbfe); outline-offset: 3px; }
@media print { .back-to-top { display: none; } }

/* Header account: icon-only button (matches the cart button) */
.header-account-btn {
  position: relative;
  width: 44px;
  height: 40px;
  padding: 0 !important;
  justify-content: center;
  gap: 0;
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-100);
}
.header-account-btn svg,
.header-wa-btn svg,
.cart-trigger-btn svg { flex-shrink: 0; }
.header-account-btn.is-logged-in { border-color: var(--primary-600); }
.header-account-btn.is-logged-in::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
}

/* Farm / About videos (files in assets/videos, live-site copy as fallback source) */
.sr-video { margin: 0; border-radius: var(--radius-xl, 18px); overflow: hidden; background: #0b1730; box-shadow: var(--shadow-lg, 0 10px 30px rgba(2, 20, 53, 0.18)); }
.sr-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #0b1730; }
.sr-video figcaption { padding: 12px 16px; font-size: 14px; font-weight: 700; color: #ffffff; background: #0b1730; }
.home-video-strip { margin-top: 64px; }
.sr-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 768px) {
  .sr-video-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-video-strip { margin-top: 44px; }
}

/* Customer reviews (assets/js/reviews.js) */
.reviews-section { padding: 80px 0; background: var(--slate-50, #f8fafc); }
.reviews-summary { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 16px; background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--slate-600); }
.reviews-summary[hidden] { display: none; }
.reviews-score { font-size: 20px; font-weight: 800; color: var(--slate-900); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 370px)); justify-content: center; gap: 22px; margin-top: 10px; }
.review-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-xl, 18px); padding: 22px; box-shadow: 0 4px 14px rgba(2, 20, 53, 0.05); display: flex; flex-direction: column; }
.review-card-head { display: flex; align-items: center; gap: 12px; }
.review-card-head strong { display: block; font-size: 15px; color: var(--slate-900); }
.review-card-meta { font-size: 12.5px; color: var(--slate-500); }
.review-avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--primary-600, #1d4ed8); }
.review-g { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--slate-200); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #4285f4; }
.review-card-stars { color: #f59e0b; font-size: 17px; letter-spacing: 2px; margin: 14px 0 8px; }
.reviews-summary .review-card-stars { margin: 0; }
.review-card-text { font-size: 14.5px; line-height: 1.65; color: var(--slate-700); margin: 0; white-space: pre-line; }
.review-card-text.is-long { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { align-self: flex-start; margin-top: 8px; background: none; border: none; padding: 0; color: var(--primary-700); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.reviews-empty { grid-column: 1 / -1; text-align: center; color: var(--slate-500); font-size: 15px; }
.reviews-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.reviews-actions [hidden] { display: none; }
.review-star-input { border: none; padding: 0; margin: 0 0 16px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.review-star-input legend { font-size: 13px; font-weight: 700; color: var(--slate-700); margin-bottom: 6px; width: 100%; }
.review-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-star-input label { font-size: 34px; line-height: 1; color: var(--slate-300); cursor: pointer; transition: color 0.15s; }
.review-star-input input:checked ~ label, .review-star-input label:hover, .review-star-input label:hover ~ label { color: #f59e0b; }
.review-star-input input:focus-visible + label { outline: 2px solid var(--primary-500); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 640px) { .reviews-grid { grid-template-columns: minmax(0, 1fr); } .reviews-section { padding: 56px 0; } }

/* Footer: larger Safe Rabbit logo + SochWorks credit */
.site-footer .footer-logo-img {
  height: 130px !important;
  max-width: 300px !important;
  padding: 10px 18px !important;
  border-radius: 16px;
}
.sochworks-credit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(217, 70, 239, 0.12));
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: var(--slate-300, #cbd5e1);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sochworks-credit:hover { transform: translateY(-2px); border-color: rgba(125, 211, 252, 0.8); box-shadow: 0 10px 28px rgba(56, 189, 248, 0.18); }
.sochworks-credit-logo { flex: 0 0 auto; background: #ffffff; border-radius: 12px; padding: 6px 8px; display: flex; }
.sochworks-credit-logo img { width: 84px; height: auto; display: block; }
.sochworks-credit-text { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.45; }
.sochworks-credit-text small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-400, #94a3b8); }
.sochworks-credit-text strong { font-size: 16px; color: #ffffff; }
.sochworks-credit-text em { font-style: normal; font-weight: 700; color: #38bdf8; white-space: nowrap; }
.sochworks-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--slate-300, #cbd5e1);
  text-decoration: none;
  font-size: 12.5px;
}
.sochworks-badge img { height: 30px; width: auto; background: #ffffff; border-radius: 999px; padding: 4px 12px; }
.sochworks-badge:hover { border-color: rgba(125, 211, 252, 0.7); color: #ffffff; }
/* Centre the bottom bar so the floating WhatsApp button never covers the credit */
.site-footer .footer-bottom-bar { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 14px; }
@media (max-width: 768px) {
  .site-footer .footer-logo-img { height: 100px !important; }
}

/* Bigger header logo (all pages) */
header .brand-logo-img { height: 92px !important; max-width: 190px !important; }
@media (max-width: 1280px) { header .brand-logo-img { height: 82px !important; max-width: 170px !important; } }
@media (max-width: 768px)  { header .brand-logo-img { height: 64px !important; max-width: 140px !important; } }
@media (max-width: 400px)  { header .brand-logo-img { height: 58px !important; max-width: 125px !important; } }

/* Checkout: share exact GPS location */
.geo-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.geo-btn { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: var(--radius-md); border: 1.5px dashed var(--primary-500); background: var(--primary-50, #f0fdf4); color: var(--primary-700); cursor: pointer; }
.geo-btn:hover { background: var(--primary-100); }
.geo-btn.is-set { border-style: solid; }
.geo-btn:disabled { opacity: .6; cursor: wait; }
.geo-status { font-size: 12px; color: var(--slate-500); }
.geo-status a { color: var(--primary-700); font-weight: 600; }

/* Hero card slider (drone video + product photos) */
.hero-slider { position: relative; height: 380px; background: #0b1220; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(15,23,42,.55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 3; }
.hero-slider-btn.prev { left: 10px; }
.hero-slider-btn.next { right: 10px; }
.hero-slider-dots { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 3; }
.hero-slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.hero-slider-dots button.is-active { background: #fff; width: 22px; border-radius: 6px; }
.hero-card .hero-slider-btn { display: none; }
.hero-card:hover .hero-slider-btn { display: block; }
@media (max-width: 768px) { .hero-slider { height: 190px; } .hero-slider-btn { display: none !important; } }
.hero-media-wrapper, .hero-card, .hero-slider { width: 100%; }
.hero-card .hero-card-floating-badge { transition: opacity .4s ease; }
.hero-card.no-badge .hero-card-floating-badge { opacity: 0; pointer-events: none; }

/* Reviews carousel */
.reviews-carousel-wrap { position: relative; }
.reviews-grid.reviews-carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 6px 2px 14px; margin-top: 10px; justify-content: flex-start; }
.reviews-grid.reviews-carousel::-webkit-scrollbar { display: none; }
.reviews-carousel .review-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; min-width: 0; }
.rc-btn { position: absolute; top: 50%; transform: translateY(-60%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--slate-200); background: #fff; color: var(--slate-900); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(2, 20, 53, .14); z-index: 2; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.rc-btn[hidden] { display: none; }
.rc-btn:disabled { opacity: .35; cursor: default; }
.rc-prev { left: -14px; } .rc-next { right: -14px; }
.rc-dots { display: flex; justify-content: center; gap: 8px; margin: 6px 0 4px; }
.rc-dots[hidden] { display: none; }
.rc-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #cbd5e1; padding: 0; cursor: pointer; }
.rc-dot.is-on { background: var(--primary, #04419a); width: 22px; border-radius: 6px; }
@media (max-width: 960px) { .reviews-carousel .review-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .reviews-carousel .review-card { flex-basis: 86%; } .rc-btn { display: none; } }

/* ROI calculator: comfortable on phones */
.calc-grid > * { min-width: 0; }
@media (max-width: 640px) {
  .roi-calculator-box { padding: 16px 12px; border-radius: 18px; }
  .calc-grid { gap: 18px; }
  .calc-results-card { padding: 14px 14px 16px; }
  .calc-result-row { gap: 12px; font-size: 13px; align-items: baseline; }
  .calc-result-row span { flex: 1 1 auto; }
  .calc-result-row strong { flex: 0 0 auto; max-width: 55%; text-align: right; font-size: 14px; }
  .calc-result-row.highlight-net { flex-direction: column; align-items: flex-start; gap: 4px; margin: 10px -6px; }
  .calc-result-row.highlight-net strong { max-width: 100%; text-align: left; font-size: 22px; }
  .calc-results-card .btn-whatsapp { font-size: 13.5px !important; line-height: 1.3; white-space: normal; }
  .calc-results { padding-bottom: 76px; } /* keeps the button clear of the floating WhatsApp bubble */
}
