/* ============================================
   The Garden Store - Enhanced Design System
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Professional Brand Colors - Inspired by top e-commerce platforms */
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --primary-dark: #1b4332;
  --secondary: #52796f;
  --accent: #d68f5f;
  --warning: #e76f51;
  --success: #52b788;
  --success-rgb: 82, 183, 136;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Professional Typography - Inspired by top e-commerce platforms */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.9375rem;
  --font-size-lg: 1.0625rem;
  --font-size-xl: 1.1875rem;
  --font-size-2xl: 1.375rem;
  --font-size-3xl: 1.75rem;
  --font-size-4xl: 2.125rem;
  --font-size-5xl: 2.625rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--gray-50);
  color: var(--gray-800);
}

.skip-link {
  position: absolute;
  top: -1000px;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 1200;
  transition: top var(--transition-fast), box-shadow var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  box-shadow: var(--shadow-lg);
}
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  will-change: opacity, transform;
}

html.has-js [data-reveal][data-reveal-from="left"] {
  transform: translateX(-24px);
}

html.has-js [data-reveal][data-reveal-from="right"] {
  transform: translateX(24px);
}

html.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.has-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: -0.05em;
}
h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  letter-spacing: -0.04em;
}
h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  letter-spacing: -0.03em;
}
h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}
h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}
h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Professional Buttons - Inspired by top e-commerce platforms */
.btn {
  font-weight: 500;
  border-radius: 6px;
  padding: 10px 20px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus {
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.25);
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.25);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.btn-success:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.25);
}

.btn-outline-success {
  border: 1px solid var(--success);
  color: var(--success);
  background: transparent;
}

.btn-outline-success:hover {
  background: var(--success);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 183, 136, 0.25);
}

.btn-outline-primary {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}

.btn-warning {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-warning:hover {
  background: #e55a2b;
  border-color: #e55a2b;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-size-xs);
}

.btn-xs {
  padding: 6px 12px;
  font-size: 0.75rem;
}

.btn-outline-danger {
  border: 1px solid var(--warning);
  color: var(--warning);
  background: transparent;
}

.btn-outline-danger:hover {
  background: var(--warning);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.btn-outline-secondary {
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  background: transparent;
}

.btn-outline-secondary:hover {
  background: var(--gray-300);
  color: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

.btn-link {
  border: none;
  background: transparent;
  color: var(--primary);
  padding: 0;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* ============================================
   MISSING BOOTSTRAP COMPONENTS & UTILITIES
   ============================================ */

/* Alert Components */
.alert {
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: var(--font-size-sm);
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

/* Table Styles */
.table {
  width: 100%;
  margin-bottom: 16px;
  color: var(--gray-800);
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  color: var(--gray-900);
}

.table-sm th,
.table-sm td {
  padding: 8px;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Form Styles */
.form-label {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
}

/* ============================================
   BOOTSTRAP UTILITY CLASSES
   ============================================ */

/* Display Utilities */
.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

/* Flexbox Utilities */
.flex-column {
  flex-direction: column !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-end {
  align-items: end !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

/* Gap Utilities */
.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

/* Text Utilities */
.text-muted {
  color: var(--gray-500) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-end {
  text-align: end !important;
}

.text-center {
  text-align: center !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

/* Spacing Utilities */
.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.p-0 {
  padding: 0 !important;
}

/* Border Utilities */
.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

/* Position Utilities */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

/* Responsive Display Utilities */
@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }

  .d-md-none {
    display: none !important;
  }
}

/* Width Utilities */
.w-100 {
  width: 100% !important;
}

/* Height Utilities */
.h-100 {
  height: 100% !important;
}

/* Overflow Utilities */
.overflow-hidden {
  overflow: hidden !important;
}

/* Vertical Align Utilities */
.align-middle {
  vertical-align: middle !important;
}

/* White Space Utilities */
.white-space-nowrap {
  white-space: nowrap !important;
}

/* ============================================
   BOOTSTRAP LAYOUT & POSITIONING CLASSES
   ============================================ */

/* Sticky positioning */
.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1020 !important;
}

/* Background utilities */
.bg-white {
  background-color: var(--white) !important;
}

/* Shadow utilities */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Spacing utilities */
.mx-4 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

/* Input group */
.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group .btn {
  z-index: 2;
}

/* Navbar components */
.navbar-toggler {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem;
  outline: 0;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row;
  }

  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

/* List utilities */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

/* Order utilities */
.order-lg-2 {
  order: 2;
}

@media (min-width: 992px) {
  .order-lg-2 {
    order: 2 !important;
  }
}

/* Align utilities */
.align-items-lg-center {
  align-items: center !important;
}

@media (min-width: 992px) {
  .align-items-lg-center {
    align-items: center !important;
  }
}

/* ============================================
   BOOTSTRAP CAROUSEL & ADDITIONAL CLASSES
   ============================================ */

/* Container utilities */
.container-fluid {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Carousel components */
.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Accessibility utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Typography utilities */
.display-4 {
  font-size: calc(1.425rem + 2.1vw);
  font-weight: 300;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.5rem;
  }
}

.text-decoration-line-through {
  text-decoration: line-through !important;
}

.text-info {
  color: #0dcaf0 !important;
}

/* Button size utilities */
.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

/* ============================================
   ADDITIONAL MISSING STYLES
   ============================================ */

/* Button Group */
.btn-group {
  display: inline-flex;
  vertical-align: middle;
}

.btn-group .btn {
  position: relative;
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.btn-group .btn:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.btn-group .btn:not(:first-child) {
  border-left: 0;
}

/* Enhanced line clamp utilities */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enhanced animations */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.shadow-elegant {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Enhanced border gradient */
.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--success), var(--primary)) border-box;
}

/* Enhanced card styles for premium cards */
.card-premium {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced hover effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Professional Cards - Inspired by top e-commerce platforms */
.card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

.card-img-top {
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: #f8f9fa;
}

.card:hover .card-img-top {
  transform: scale(1.02);
}

.card-body {
  padding: 16px;
  background: white;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  color: var(--gray-600);
  line-height: 1.4;
  font-size: var(--font-size-sm);
  margin-bottom: 12px;
}

/* Professional Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 32px;
}

.hero-img {
  height: 400px;
  object-fit: cover;
  filter: brightness(0.85);
}

.carousel-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  text-align: left;
}

.carousel-caption h5 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.carousel-indicators {
  bottom: 16px;
}

.carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  margin: 0 4px;
}

.carousel-indicators button.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Professional Navigation - Inspired by top e-commerce platforms */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 0 0;
  border-bottom: 1px solid #e5e7eb;
}
.site-header .container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 16px;
  transition: all 0.2s ease;
  border-radius: 6px;
  font-size: var(--font-size-sm);
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(45, 106, 79, 0.05);
}

.dropdown-menu {
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px;
  margin-top: 8px;
  background: white;
}

.dropdown-item {
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: var(--font-size-sm);
  color: var(--gray-700);
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: var(--primary);
}

/* Professional Search Form */
.form-control {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
  background: white;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
  background: white;
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 16px;
  transition: all 0.2s ease;
  background: white;
  font-size: var(--font-size-sm);
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* Professional Category Chips */
.scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.scroll-row::-webkit-scrollbar {
  height: 4px;
}

.scroll-row::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.scroll-row::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--gray-700);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
  font-size: var(--font-size-sm);
}

.category-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}

.chip-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f4f6;
  font-size: 12px;
  transition: all 0.2s ease;
}

.category-chip:hover .chip-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.chip-text {
  font-weight: 500;
}

/* Product Cards */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card .price {
  color: var(--primary);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.flash-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Professional Trust Section */
.trust-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: white;
  border: 1px solid #f3f4f6;
}

.trust-item:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #e5e7eb;
}

.trust-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
  color: var(--primary);
}

.trust-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.4;
}

/* Plant Cards */
.plant-card {
  position: relative;
  overflow: hidden;
}

.plant-card:hover {
  transform: translateY(-4px);
}

.plant-card .badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

/* Professional Section Spacing */
section {
  padding: 48px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Professional Layout Grid */
.row {
  margin: 0 -12px;
}

.col, [class*="col-"] {
  padding: 0 12px;
}

/* Professional Footer - Inspired by top e-commerce platforms */
footer {
  background: #1f2937;
  color: #d1d5db;
  margin-top: 60px;
  border-top: 1px solid #374151;
}

footer h6 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: var(--font-size-sm);
}

footer .link-dark {
  color: var(--white) !important;
  transition: color var(--transition-fast);
}
footer .link-dark:hover {
  color: var(--primary-light) !important;
}
footer .small {
  color: var(--white) !important;
}
footer .text-muted {
  color: var(--white) !important;
}
footer .link-secondary {
  color: var(--white) !important;
}
footer .link-secondary:hover {
  color: var(--primary-light) !important;
}
footer .form-control {
  background: var(--gray-700) !important;
  border-color: var(--gray-600) !important;
  color: var(--white) !important;
}
footer .form-control:focus {
  background: var(--gray-600) !important;
  border-color: var(--primary-light) !important;
  color: var(--white) !important;
}
footer .form-control::placeholder {
  color: var(--gray-300) !important;
}
footer .btn-success {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}
footer .btn-success:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%) !important;
  border-color: var(--primary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Pagination */
.pagination {
  gap: var(--space-2);
}

.page-link {
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.page-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   PROFESSIONAL RESPONSIVE DESIGN
   ============================================ */

/* Large Devices (Desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 100%;
  }

  .hero-img {
    height: 600px;
  }

  .carousel-caption h5 {
    font-size: var(--font-size-4xl);
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: var(--space-4);
  }

  .dropdown-menu {
    min-width: 300px;
  }

  .hero-img {
    height: 400px;
  }

  .carousel-caption {
    padding: var(--space-6) var(--space-4) var(--space-4);
  }

  .carousel-caption h5 {
    font-size: var(--font-size-2xl);
  }

  .trust-item {
    padding: var(--space-3);
  }

  .trust-icon {
    font-size: var(--font-size-2xl);
  }
}

/* Small Devices (Phones) */
@media (max-width: 767.98px) {
  :root {
    --space-4: 0.75rem;
    --space-5: 1rem;
    --space-6: 1.25rem;
    --space-8: 1.5rem;
    --space-10: 2rem;
    --space-12: 2.5rem;
    --space-16: 3rem;
    --space-20: 4rem;
  }

  section {
    padding: 32px 0;
  }

  .hero-img {
    height: 250px;
  }

  .carousel-caption {
    padding: 20px 16px 16px;
  }

  .carousel-caption h5 {
    font-size: var(--font-size-xl);
    margin-bottom: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .category-chip {
    padding: 6px 12px;
    font-size: var(--font-size-xs);
  }

  .chip-icon {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .trust-item {
    padding: 16px 12px;
  }

  .trust-icon {
    font-size: 24px;
  }

  .trust-text {
    font-size: var(--font-size-xs);
  }

  .navbar-brand {
    font-size: var(--font-size-lg);
  }

  .dropdown-menu {
    min-width: 200px;
    padding: 12px;
  }

  .scroll-row {
    gap: 8px;
  }

  /* Professional Mobile Navigation */
  .navbar-collapse {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
  }

  .navbar-nav .nav-link {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 4px;
  }

  .navbar-nav .nav-link:hover {
    background: #f3f4f6;
  }

  .container {
    padding: 0 16px;
  }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hero-img {
    height: 250px;
  }

  .carousel-caption h5 {
    font-size: var(--font-size-lg);
  }

  .card-img-top {
    height: 150px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    border-radius: var(--radius);
    margin-bottom: var(--space-2);
  }

  .category-chip {
    padding: var(--space-2) var(--space-3);
  }

  .chip-text {
    font-size: var(--font-size-xs);
  }

  .scroll-row {
    gap: var(--space-2);
  }
}

/* ============================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   PROFESSIONAL UTILITY CLASSES
   ============================================ */

/* Text truncation utilities */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Background gradients */
.bg-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--success) 100%);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
}

/* Enhanced shadows */
.shadow-soft {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.shadow-strong {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(var(--success-rgb), 0.3);
}

.shadow-elegant {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Advanced button styles */
.btn-gradient {
  background: linear-gradient(135deg, var(--success) 0%, var(--primary) 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--success), var(--primary)) 1;
  color: var(--success);
  transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
  background: linear-gradient(135deg, var(--success), var(--primary));
  color: white;
  transform: translateY(-2px);
}

/* Advanced card styles */
.card-premium {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
}

/* Advanced animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--success-rgb), 0.3); }
  50% { box-shadow: 0 0 30px rgba(var(--success-rgb), 0.6); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Professional Badge Styles */
.badge-premium {
  background: var(--accent);
  color: white;
  border-radius: 12px;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
}

.badge-success {
  background: var(--secondary);
  color: white;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Advanced hover effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hover-scale {
  transition: all 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Enhanced text effects */
.text-gradient {
  background: linear-gradient(135deg, var(--success), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Advanced layout utilities */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--success), var(--primary)) border-box;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.form-control:focus,
.form-select:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-800: #000000;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here if needed */
}

/* Print styles */
@media print {
  .navbar,
  .carousel,
  .btn,
  footer {
    display: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
}
/* --- Modern layout upgrades (header, footer, utilities) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1080;
  background-color: transparent;
  backdrop-filter: none;
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}
.site-header .navbar {
  transition: padding var(--transition-fast), min-height var(--transition-fast);
  min-height: 40px;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.announcement-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  margin: 0;
  font-size: var(--font-size-sm);
  letter-spacing: 0.01em;
}

.announcement-bar a {
  color: inherit;
  font-weight: 600;
}



.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: var(--shadow);
}

.brand-mark--sm {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.brand-wordmark {
  font-weight: 700;
  line-height: 1;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.brand-wordmark--light {
  color: var(--white);
}

.brand-primary {
  color: var(--gray-900);
}

.brand-wordmark--light .brand-primary {
  color: var(--white);
  opacity: 0.85;
}

.brand-accent {
  color: var(--accent);
  margin-left: 0.125rem;
}

.brand-wordmark--light .brand-accent {
  color: var(--white);
}

.navbar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  position: relative;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.show {
  color: var(--primary-dark);
}

.brand-logo {
  height: 100px;
  width: 180px;
  display: flex;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.show::after {
  transform: scaleX(1);
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
}

.search-bar .input-group {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.search-bar .input-group-text {
  border: none;
  background: transparent;
  color: var(--gray-500);
}

.search-bar .form-control {
  border: none;
  box-shadow: none;
  font-size: var(--font-size-sm);
}

.nav-search-item {
  flex: 0 0 320px;
  padding: 0 0.25rem;
}

.nav-search-item .search-bar {
  display: flex;
  width: 100%;
}

.nav-search-item .input-group {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
  .nav-search-item {
    display: block !important;
  }

  .site-header .navbar-brand {
    margin-right: 0.75rem !important;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-link {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(45, 106, 79, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(45, 106, 79, 0.08);
  transition: all var(--transition-fast);
}

.icon-link:hover,
.icon-link:focus {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-gradient:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.bg-accent {
  background-color: var(--accent) !important;
  color: var(--white) !important;
}

.mega-menu {
  min-width: 720px;
  border-radius: var(--radius-lg);
  background: var(--white);
}

.mega-menu__group {
  padding-right: 1.5rem;
}

.mega-menu__title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--gray-800);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.mega-menu__title::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--secondary);
  transition: transform var(--transition-fast);
}

.mega-menu__title:hover::after {
  transform: translateX(4px);
}

.mega-menu__links li {
  margin-bottom: 0.4rem;
}

.mega-menu__links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: var(--font-size-sm);
}

.mega-menu__links a:hover {
  color: var(--primary);
}

.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #101c34 100%);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0.8;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-heading {
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: var(--font-size-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.newsletter-form .input-group {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.newsletter-form .form-control,
.newsletter-form .input-group-text {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn-primary {
  background: var(--secondary);
  border: none;
}

.tiny {
  font-size: 0.7rem;
}

@media (max-width: 991.98px) {
  .mega-menu {
    min-width: 100%;
    max-height: 60vh;
    overflow-y: auto;
  }

  .nav-actions {
    margin-top: 1rem;
    justify-content: space-between;
  }

  .navbar .nav-link::after {
    display: none;
  }
}
.site-header.is-scrolled .navbar {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  min-height: 44px;
}


/* --- Modern page layout components --- */
.app-body {
  background: var(--gray-50);
  color: var(--gray-800);
}

.page-shell {
  min-height: 100vh;
  padding-top: 5.5rem;
  background: transparent;
}

@media (min-width: 992px) {
  .page-shell {
    padding-top: 6.25rem;
  }
}

.story-embed iframe {
  width: 100%;
  min-height: 60vh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 22, 26, 0.08);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.1);
  background: #fff;
}

.story-feature__actions .btn + .btn {
  margin-left: 0.5rem;
}

.story-hero {
  background: radial-gradient(circle at top right, rgba(82, 183, 136, 0.18), rgba(13, 110, 253, 0.08)),
              var(--white);
  position: relative;
}

.story-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.story-hero .container {
  position: relative;
  z-index: 1;
}

.story-hero .section-eyebrow {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-hero__image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.story-hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.story-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.story-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.story-meta i {
  color: var(--primary);
}

.story-tags .badge-soft {
  background: rgba(82, 183, 136, 0.15);
  color: var(--secondary);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-body.card {
  border-radius: var(--radius-2xl);
  background: var(--white);
}

.story-body .story-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.story-next .btn {
  min-width: 11rem;
}

.story-download {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.story-download .btn {
  min-width: 10rem;
}

.story-content.wysiwyg p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.story-content.wysiwyg h2,
.story-content.wysiwyg h3,
.story-content.wysiwyg h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
  font-weight: 700;
}

.story-content.wysiwyg ul,
.story-content.wysiwyg ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.story-content.wysiwyg img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.story-content.wysiwyg blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--secondary);
  background: rgba(82, 183, 136, 0.08);
  border-radius: var(--radius-lg);
  font-style: italic;
}

.bg-light-alt {
  background: var(--gray-100);
}

.section-block {
  padding: 3.5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.section-heading__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 0;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.section-cta i {
  transition: transform var(--transition-fast);
}

.section-cta:hover i {
  transform: translateX(4px);
}

.hero-stack {
  position: relative;
}

.hero-title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.lead-sm {
  font-size: 1.05rem;
}

.hero-showcase {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-showcase__media {
  position: relative;
}

.hero-showcase__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-showcase__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 100%);
  color: var(--white);
}

.hero-showcase__caption h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hero-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 0 4px;
}

.hero-indicators .active {
  background-color: var(--white);
}

.hero-metrics {
  gap: 1.5rem;
}

.hero-metric__value {
  display: block;
  font-weight: 700;
  font-size: 1.3rem;
}

.hero-metric__label {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.feature-strip {
  background: var(--white);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-label {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.08), rgba(82, 183, 136, 0.08));
  text-decoration: none;
  color: var(--gray-800);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 106, 79, 0.12);
  color: var(--primary);
}

.category-card__title {
  font-weight: 600;
  font-size: 1.05rem;
}

.category-card__cta {
  font-size: var(--font-size-sm);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-card__cta i {
  font-size: 0.85rem;
}

.scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.scroll-row::-webkit-scrollbar {
  height: 6px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}

.scroll-row__item {
  flex: 0 0 250px;
  scroll-snap-align: start;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
}

.category-chip:hover {
  color: var(--primary);
  border-color: rgba(45, 106, 79, 0.3);
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.12);
  color: var(--primary);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__media {
  position: relative;
  background: var(--gray-100);
}

.product-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(82, 183, 136, 0.9);
  color: var(--white);
  font-size: var(--font-size-xs);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__badge--flash {
  background: var(--accent);
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0;
}

.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-card__price {
  font-weight: 700;
  color: var(--primary);
}

.product-card__price--strike {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  text-decoration: line-through;
}

.product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.product-card__link i {
  font-size: 0.85rem;
}

.plant-card,
.story-card,
.testimonial-card,
.finder-card,
.contact-card,
.about-card,
.policy-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  height: 100%;
}

.plant-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.plant-card__title {
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.plant-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.75rem;
}

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.collection-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.story-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(82, 183, 136, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
}

.story-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.75rem 0;
  color: var(--gray-800);
}

.story-card__excerpt {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.story-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card__quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-700);
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-card__name {
  font-weight: 600;
}

.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.cta-band__title {
  font-size: 1.8rem;
  font-weight: 700;
}

.cta-band__text {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.85);
}

.filter-panel {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}

.empty-state {
  text-align: center;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.empty-state__icon {
  width: 56px;
  height: 72px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(45, 106, 79, 0.1);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.empty-state--compact {
  padding: 2rem;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-line {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.cart-line__media img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.cart-line__title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cart-line__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.cart-summary .input-group-text {
  background: rgba(45, 106, 79, 0.08);
  border: none;
  color: var(--primary);
}

.coupon-form .form-control {
  border: none;
}

.coupon-form .input-group {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.policy-block + .policy-block {
  margin-top: 2rem;
}

.policy-block h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-card {
  line-height: 1.6;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.about-stat {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-stat__value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.about-stat__label {
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.team-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(45, 106, 79, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.team-card__name {
  font-weight: 600;
}

.finder-card ul,
.contact-card ul,
.product-highlights ul,
.plant-profile__highlights ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.finder-card li,
.contact-card li,
.product-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.btn-soft {
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--gray-700);
  padding: 0.6rem 1.3rem;
  background: var(--white);
}

.product-gallery {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.product-gallery__main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.product-gallery__thumbs {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.product-gallery__thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.8;
  border: 2px solid transparent;
}

.product-gallery__thumbs img:hover {
  opacity: 1;
  border-color: var(--primary);
}

.product-price-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price--strike {
  font-size: 1rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.product-price--badge {
  background: rgba(82, 183, 136, 0.12);
  color: var(--secondary);
  font-size: var(--font-size-sm);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-actions .input-group {
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.product-highlights ul {
  margin-top: 1rem;
}

.product-highlights li i {
  color: var(--secondary);
}

.product-specs {
  margin-top: 2rem;
}

.product-spec {
  background: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}

.product-spec__label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.product-spec__value {
  font-weight: 600;
}

.plant-profile__media {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.plant-profile__media img {
  width: 100%;
  border-radius: var(--radius-md);
}

.plant-profile__media .badge {
  position: absolute;
  top: 18px;
  left: 18px;
}

.plant-profile__highlights {
  margin-top: 2rem;
}

.contact-card ul {
  margin-top: 1rem;
}

@media (max-width: 767.98px) {
  .hero-showcase__image {
    height: 280px;
  }

  .cta-band__inner {
    padding: 1.8rem;
  }

  .cart-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-line__media img {
    width: 100%;
    height: 180px;
  }
}
.badge-soft {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.hero-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(82, 183, 136, 0.1));
  min-height: 320px;
}
.product-card--flash {
  border-color: rgba(255, 107, 53, 0.26);
}
.about-stats {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}




.nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cart-link .cart-count {
  font-size: 0.7rem;
  line-height: 1;
  padding: 0.2rem 0.45rem;
}



.navbar-toggler {
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius);
  padding: 0.35rem 0.55rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--success-rgb), 0.2);
}

.navbar-toggler:hover {
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.4);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.nav-mobile-quick {
  background: rgba(45, 106, 79, 0.04);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.75rem;
  margin: 1rem 0;
}

.nav-mobile-quick__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-mobile-quick__link:hover,
.nav-mobile-quick__link:focus {
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-mobile-quick__link i {
  color: var(--primary);
}


.story-card--with-cover {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  border: none;
  overflow: hidden;
}
.story-card--with-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 80%);
  z-index: 0;
}
.story-card--with-cover .story-card__body {
  position: relative;
  z-index: 1;
  color: #fff;
}
.story-card--with-cover .story-card__excerpt {
  color: rgba(255,255,255,0.85) !important;
}
.story-card--with-cover .story-card__link {
  color: #fff !important;
}

.story-hero--with-cover {
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}
.story-hero--with-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 38, 63, 0.75), rgba(18, 38, 63, 0.35));
}
.story-hero--with-cover .container {
  position: relative;
  z-index: 1;
}
.story-hero--with-cover .hero-title,
.story-hero--with-cover .section-eyebrow {
  color: #fff;
}
.story-hero--with-cover .lead {
  color: rgba(255, 255, 255, 0.88);
}
.story-hero--with-cover .story-meta span {
  color: rgba(255, 255, 255, 0.85);
}
.story-hero--with-cover .story-meta i {
  color: #fff;
}
.story-hero--with-cover .story-tags .badge-soft {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.story-content--pdf .story-pdf-viewer {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.story-pdf-page {
  width: 100%;
  display: block;
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}
.story-hero--has-cover .story-hero__cover {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-size: cover;
  background-position: center;
  box-shadow: 0 1.5rem 3rem -2rem rgba(15, 23, 42, 0.5);
  margin-bottom: 2rem;
}
.story-original--full {
  margin-bottom: 3rem;
}
.story-original__header p {
  margin-bottom: 0;
}
.story-pdf-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.story-pdf-full .story-pdf-page {
  margin: 0;
  width: min(100%, 100%);
  border-radius: 24px;
  box-shadow: 0 2.5rem 4rem -2.5rem rgba(15, 23, 42, 0.45);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: block;
}
.story-pdf-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(226, 232, 240, 0.35));
  color: #475569;
  text-align: center;
}

.story-pdf-frame {
  width: 100%;
  aspect-ratio: 8.5 / 11;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2.5rem 4rem -2.5rem rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-pdf-frame iframe {
  width: 100%;
  height: 100%; 
  border: 0;
  background: #fff;
}


.story-pdf-html {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}




.story-view-toggle {
  display: inline-flex;
  padding: 0.5rem;
  background: var(--gray-100);
  border-radius: 999px;
  gap: 0.5rem;
}

.story-view-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.story-view-toggle__btn.is-active {
  background: linear-gradient(135deg, rgba(var(--success-rgb), 0.2), rgba(var(--success-rgb), 0.35));
  color: var(--primary-dark);
  box-shadow: 0 0.75rem 1.5rem -1.25rem rgba(31, 41, 55, 0.4);
}

.story-view-toggle__btn:hover:not(.is-active) {
  color: var(--primary);
}

.story-view-section {
  display: none;
}

.story-view-section.is-active {
  display: block;
}











