/*
Theme Name: Meadowlark Hearth - Divi Child Theme
Description: A beautiful child theme for Divi, designed for seed companies and garden centers
Author: Meadowlark Hearth
Template: Divi
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../Divi/style.css");

/* Import Inter font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* CSS Variables for Meadowlark Hearth brand colors */
:root {
  /* Sage Color Palette */
  --sage-50: #f6f7f4;
  --sage-100: #e9ebe3;
  --sage-200: #d4d8c8;
  --sage-300: #b8bfa4;
  --sage-400: #9ca582;
  --sage-500: #7f8a65;
  --sage-600: #636d4f;
  --sage-700: #4e5640;
  --sage-800: #404635;
  --sage-900: #373c2f;

  /* Earth Color Palette */
  --earth-50: #fdf8f3;
  --earth-100: #f9e8d8;
  --earth-200: #f2d1b5;
  --earth-300: #e8b388;
  --earth-400: #d69c4a;
  --earth-500: #c88a3a;
  --earth-600: #b3742e;
  --earth-700: #955e26;
  --earth-800: #7a4d22;
  --earth-900: #6e3b2a;

  /* Moss Color Palette */
  --moss-50: #f4f6f2;
  --moss-100: #e8eddf;
  --moss-200: #d1dcc0;
  --moss-300: #b3c595;
  --moss-400: #8fa66b;
  --moss-500: #6b8a4a;
  --moss-600: #556e3b;
  --moss-700: #455730;
  --moss-800: #3a442e;
  --moss-900: #323a28;

  /* Typography */
  --font-display: "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing and Layout */
  --border-radius: 0.75rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition: all 0.2s ease-in-out;
  --transition-slow: all 0.3s ease-in-out;
  --transition-fast: all 0.1s ease-in-out;
}

/* Global Styles */
body {
  font-family: var(--font-body);
  color: var(--sage-800);
  line-height: 1.6;
  background-color: var(--sage-50);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sage-800);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--sage-100);
}

::-webkit-scrollbar-thumb {
  background: var(--sage-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sage-500);
}

/* Button and form element resets */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--earth-500);
  outline-offset: 2px;
}

/* Custom animations */
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}

/* Utility Classes */
.text-sage-50 {
  color: var(--sage-50);
}
.text-sage-100 {
  color: var(--sage-100);
}
.text-sage-200 {
  color: var(--sage-200);
}
.text-sage-300 {
  color: var(--sage-300);
}
.text-sage-400 {
  color: var(--sage-400);
}
.text-sage-500 {
  color: var(--sage-500);
}
.text-sage-600 {
  color: var(--sage-600);
}
.text-sage-700 {
  color: var(--sage-700);
}
.text-sage-800 {
  color: var(--sage-800);
}
.text-sage-900 {
  color: var(--sage-900);
}

.text-earth-50 {
  color: var(--earth-50);
}
.text-earth-100 {
  color: var(--earth-100);
}
.text-earth-200 {
  color: var(--earth-200);
}
.text-earth-300 {
  color: var(--earth-300);
}
.text-earth-400 {
  color: var(--earth-400);
}
.text-earth-500 {
  color: var(--earth-500);
}
.text-earth-600 {
  color: var(--earth-600);
}
.text-earth-700 {
  color: var(--earth-700);
}
.text-earth-800 {
  color: var(--earth-800);
}
.text-earth-900 {
  color: var(--earth-900);
}

.text-moss-50 {
  color: var(--moss-50);
}
.text-moss-100 {
  color: var(--moss-100);
}
.text-moss-200 {
  color: var(--moss-200);
}
.text-moss-300 {
  color: var(--moss-300);
}
.text-moss-400 {
  color: var(--moss-400);
}
.text-moss-500 {
  color: var(--moss-500);
}
.text-moss-600 {
  color: var(--moss-600);
}
.text-moss-700 {
  color: var(--moss-700);
}
.text-moss-800 {
  color: var(--moss-800);
}
.text-moss-900 {
  color: var(--moss-900);
}

.bg-sage-50 {
  background-color: var(--sage-50);
}
.bg-sage-100 {
  background-color: var(--sage-100);
}
.bg-sage-200 {
  background-color: var(--sage-200);
}
.bg-sage-300 {
  background-color: var(--sage-300);
}
.bg-sage-400 {
  background-color: var(--sage-400);
}
.bg-sage-500 {
  background-color: var(--sage-500);
}
.bg-sage-600 {
  background-color: var(--sage-600);
}
.bg-sage-700 {
  background-color: var(--sage-700);
}
.bg-sage-800 {
  background-color: var(--sage-800);
}
.bg-sage-900 {
  background-color: var(--sage-900);
}

.bg-earth-50 {
  background-color: var(--earth-50);
}
.bg-earth-100 {
  background-color: var(--earth-100);
}
.bg-earth-200 {
  background-color: var(--earth-200);
}
.bg-earth-300 {
  background-color: var(--earth-300);
}
.bg-earth-400 {
  background-color: var(--earth-400);
}
.bg-earth-500 {
  background-color: var(--earth-500);
}
.bg-earth-600 {
  background-color: var(--earth-600);
}
.bg-earth-700 {
  background-color: var(--earth-700);
}
.bg-earth-800 {
  background-color: var(--earth-800);
}
.bg-earth-900 {
  background-color: var(--earth-900);
}

.bg-moss-50 {
  background-color: var(--moss-50);
}
.bg-moss-100 {
  background-color: var(--moss-100);
}
.bg-moss-200 {
  background-color: var(--moss-200);
}
.bg-moss-300 {
  background-color: var(--moss-300);
}
.bg-moss-400 {
  background-color: var(--moss-400);
}
.bg-moss-500 {
  background-color: var(--moss-500);
}
.bg-moss-600 {
  background-color: var(--moss-600);
}
.bg-moss-700 {
  background-color: var(--moss-700);
}
.bg-moss-800 {
  background-color: var(--moss-800);
}
.bg-moss-900 {
  background-color: var(--moss-900);
}

.border-sage-200 {
  border-color: var(--sage-200);
}
.border-sage-300 {
  border-color: var(--sage-300);
}
.border-sage-500 {
  border-color: var(--sage-500);
}
.border-earth-300 {
  border-color: var(--earth-300);
}
.border-earth-500 {
  border-color: var(--earth-500);
}

.focus\:ring-sage-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: var(--sage-500);
  box-shadow: 0 0 0 3px rgba(127, 138, 101, 0.5);
}

.focus\:ring-earth-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: var(--earth-500);
  box-shadow: 0 0 0 3px rgba(200, 138, 58, 0.5);
}

.hover\:bg-sage-50:hover {
  background-color: var(--sage-50);
}
.hover\:bg-sage-100:hover {
  background-color: var(--sage-100);
}
.hover\:bg-earth-600:hover {
  background-color: var(--earth-600);
}

.hover\:text-sage-800:hover {
  color: var(--sage-800);
}
.hover\:text-earth-600:hover {
  color: var(--earth-600);
}

.transition-all {
  transition: all 0.3s ease;
}
.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease;
}
.transition-transform {
  transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

/* Custom Button Styles */
.mlh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-slow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 44px;
}

.mlh-btn-primary {
  background-color: var(--earth-500);
  color: white;
  border-color: var(--earth-500);
}

.mlh-btn-primary:hover {
  background-color: var(--earth-600);
  border-color: var(--earth-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mlh-btn-secondary {
  background-color: transparent;
  color: var(--sage-700);
  border-color: var(--sage-300);
}

.mlh-btn-secondary:hover {
  background-color: var(--sage-100);
  border-color: var(--sage-400);
  color: var(--sage-800);
}

.mlh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Form Styles */
.mlh-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--sage-200);
  border-radius: var(--border-radius);
  background-color: white;
  color: var(--sage-800);
  transition: var(--transition);
}

.mlh-form-input:focus {
  outline: none;
  border-color: var(--earth-500);
  box-shadow: 0 0 0 3px rgba(200, 138, 58, 0.1);
}

/* Hero Section Module Styles */
.mlh-hero-section {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.mlh-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(45, 90, 39, 0.7);
  z-index: 1;
}

.mlh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 90%;
  padding: 2rem;
}

.mlh-hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  line-height: 1.2;
}

.mlh-hero-subtitle {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  opacity: 0.9;
}

.mlh-hero-description {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.8;
}

.mlh-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mlh-hero-primary-btn {
  background: var(--earth-500);
  color: white;
  border: 2px solid var(--earth-500);
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.mlh-hero-primary-btn:hover {
  background: var(--earth-600);
  border-color: var(--earth-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 156, 74, 0.3);
}

.mlh-hero-secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.mlh-hero-secondary-btn:hover {
  background: white;
  color: var(--sage-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Product Grid Module Styles */
.mlh-product-grid-container {
  padding: 2rem 0;
}

.mlh-product-grid-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--sage-800);
  font-family: var(--font-display);
}

.mlh-product-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mlh-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mlh-filter-group label {
  font-weight: 600;
  color: var(--sage-700);
  font-size: 0.875rem;
}

.mlh-product-sorting {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: flex-end;
}

.mlh-product-sorting label {
  font-weight: 600;
  color: var(--sage-700);
}

.mlh-product-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mlh-product-card {
  background: white;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition-slow);
  position: relative;
}

.mlh-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.mlh-product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--sage-100);
}

.mlh-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mlh-product-card:hover .mlh-product-image img {
  transform: scale(1.05);
}

.mlh-featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--earth-500);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.mlh-product-content {
  padding: 1.5rem;
}

.mlh-product-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--sage-800);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.mlh-product-description {
  color: var(--sage-700);
  margin-bottom: 1rem;
  line-height: 1.5;
  opacity: 0.8;
}

.mlh-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mlh-product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--earth-600);
}

.mlh-product-difficulty {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.mlh-difficulty-easy {
  background: var(--moss-200);
  color: var(--moss-700);
}

.mlh-difficulty-medium {
  background: var(--earth-200);
  color: var(--earth-700);
}

.mlh-difficulty-hard {
  background: var(--sage-300);
  color: var(--sage-700);
}

.mlh-product-timing {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--sage-600);
  opacity: 0.7;
}

.mlh-product-timing span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mlh-product-timing span::before {
  content: "🌱";
  font-size: 16px;
}

.mlh-product-timing span:last-child::before {
  content: "🌿";
}

.mlh-add-to-cart {
  width: 100%;
  margin-top: 1rem;
}

.mlh-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius);
}

.mlh-page-info {
  font-weight: 600;
  color: var(--sage-700);
}

.mlh-no-products {
  text-align: center;
  padding: 3rem;
  color: var(--sage-600);
  opacity: 0.7;
}

/* Mega Menu Module Styles */
.mlh-mega-menu-container {
  background: white;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mlh-mega-menu-title {
  padding: 1.5rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--sage-800);
  font-family: var(--font-display);
  border-bottom: 1px solid var(--sage-200);
}

.mlh-mega-menu-content {
  padding: 1.5rem;
}

.mlh-categories-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mlh-category-item {
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-slow);
}

.mlh-category-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mlh-category-link {
  display: block;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.mlh-category-image {
  height: 120px;
  background: var(--sage-100);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mlh-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mlh-category-placeholder {
  font-size: 3rem;
  color: var(--sage-400);
}

.mlh-category-content {
  text-align: center;
}

.mlh-category-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--sage-800);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.mlh-category-description {
  color: var(--sage-600);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.mlh-category-count {
  font-size: 0.75rem;
  color: var(--sage-500);
  font-weight: 600;
}

.mlh-featured-section {
  border-top: 1px solid var(--sage-200);
  padding-top: 1.5rem;
}

.mlh-featured-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--sage-800);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

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

.mlh-featured-item {
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-slow);
}

.mlh-featured-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mlh-featured-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.mlh-featured-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.mlh-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mlh-featured-placeholder {
  width: 100%;
  height: 100%;
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sage-400);
}

.mlh-featured-content {
  flex: 1;
  min-width: 0;
}

.mlh-featured-product-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage-800);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.mlh-featured-price {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--earth-600);
}

.mlh-no-categories {
  text-align: center;
  padding: 2rem;
  color: var(--sage-600);
  opacity: 0.7;
}

/* Cart Sidebar Module Styles */
.mlh-cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  border-left: 1px solid var(--sage-200);
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mlh-cart-sidebar.open {
  right: 0;
}

.mlh-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--sage-200);
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mlh-cart-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--sage-800);
  margin: 0;
  font-family: var(--font-display);
}

.mlh-cart-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--sage-600);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.mlh-cart-close:hover {
  background: var(--sage-100);
  color: var(--sage-800);
}

.mlh-cart-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mlh-cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--sage-600);
  opacity: 0.7;
}

.mlh-cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.mlh-cart-empty-message {
  font-size: 1rem;
  color: var(--sage-600);
}

.mlh-cart-items {
  flex: 1;
  margin-bottom: 2rem;
}

.mlh-cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  background: white;
  position: relative;
}

.mlh-cart-item-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.mlh-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.mlh-cart-item-content {
  flex: 1;
  min-width: 0;
}

.mlh-cart-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage-800);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.mlh-cart-item-price {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--earth-600);
  margin-bottom: 0.5rem;
}

.mlh-cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--sage-600);
  opacity: 0.8;
}

.mlh-quantity-btn {
  background: var(--earth-500);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  transition: var(--transition);
}

.mlh-quantity-btn:hover {
  background: var(--earth-600);
  transform: scale(1.1);
}

.mlh-quantity-value {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

.mlh-cart-item-remove {
  background: #dc3545;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: var(--transition);
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.mlh-cart-item-remove:hover {
  background: #c82333;
  transform: scale(1.1);
}

.mlh-cart-footer {
  border-top: 1px solid var(--sage-200);
  padding-top: 1.5rem;
}

.mlh-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.mlh-subtotal-label {
  color: var(--sage-700);
}

.mlh-subtotal-amount {
  color: var(--earth-600);
}

.mlh-checkout-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Quick Order Module Styles */
.mlh-quick-order-container {
  background: white;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mlh-quick-order-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--sage-200);
}

.mlh-quick-order-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--sage-800);
  margin: 0 0 0.5rem 0;
  font-family: var(--font-display);
}

.mlh-quick-order-description {
  color: var(--sage-600);
  margin: 0;
  line-height: 1.5;
}

.mlh-quick-order-content {
  padding: 1.5rem;
}

.mlh-product-search {
  margin-bottom: 2rem;
}

.mlh-search-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mlh-search-input-group .mlh-form-input {
  flex: 1;
}

.mlh-search-results {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius);
  background: white;
  margin-top: 0.5rem;
}

.mlh-order-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mlh-order-items-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--sage-800);
  margin: 0;
  font-family: var(--font-display);
}

.mlh-order-items-list {
  margin-bottom: 1.5rem;
}

.mlh-order-item {
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--sage-50);
}

.mlh-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.mlh-item-product,
.mlh-item-quantity {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mlh-item-product label,
.mlh-item-quantity label {
  font-weight: 600;
  color: var(--sage-700);
  font-size: 0.875rem;
}

.mlh-item-price,
.mlh-item-total {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mlh-item-price label,
.mlh-item-total label {
  font-weight: 600;
  color: var(--sage-700);
  font-size: 0.875rem;
}

.mlh-price-display,
.mlh-total-display {
  font-weight: bold;
  color: var(--earth-600);
  font-size: 1rem;
}

.mlh-remove-item-btn {
  background: #dc3545;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: var(--transition);
}

.mlh-remove-item-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

.mlh-order-summary {
  border-top: 2px solid var(--sage-200);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.mlh-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
}

.mlh-total-label {
  color: var(--sage-700);
}

.mlh-total-amount {
  color: var(--earth-600);
}

.mlh-bulk-actions {
  margin-bottom: 2rem;
}

.mlh-action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mlh-saved-orders {
  border-top: 1px solid var(--sage-200);
  padding-top: 1.5rem;
}

.mlh-saved-orders-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--sage-800);
  margin: 0 0 1rem 0;
  font-family: var(--font-display);
}

.mlh-no-saved-orders {
  text-align: center;
  color: var(--sage-600);
  opacity: 0.7;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mlh-hero-title {
    font-size: 2rem;
  }

  .mlh-hero-subtitle {
    font-size: 1.25rem;
  }

  .mlh-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .mlh-hero-buttons .mlh-btn {
    width: 100%;
    max-width: 300px;
  }

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

  .mlh-cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .mlh-item-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .mlh-action-buttons {
    flex-direction: column;
  }

  .mlh-action-buttons .mlh-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .mlh-product-grid {
    grid-template-columns: 1fr;
  }

  .mlh-categories-grid {
    grid-template-columns: 1fr;
  }

  .mlh-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.mlh-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.mlh-slide-in {
  animation: slideIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Shadow Classes */
.mlh-shadow-light {
  box-shadow: var(--shadow);
}

.mlh-shadow-medium {
  box-shadow: var(--shadow-lg);
}

.mlh-shadow-heavy {
  box-shadow: var(--shadow-xl);
}
