/* ============================================================================
   BONNIE LASS FLORALS - GREEN & FALL-INSPIRED DESIGN SYSTEM
   ============================================================================
   
   COLOR PALETTE (Inspired by autumn foliage and evergreen nature):
   - Emerald Green: #2d6a4f (rich, deep emerald)
   - Pine Green: #1b4332 (dark pine, forest green)
   - Sage Green: #52b788 (soft, muted sage)
   - Forest Green: #40916c (medium forest green)
   - Fall Orange: #ff8c42 (warm autumn orange)
   - Fall Red: #d4692d (rustic red-orange)
   - Golden Yellow: #ffd700 (bright fall gold)
   - Light Sage: #95d5b2 (pale sage green)
   - Cream: #f1faee (soft, neutral background)
   - Dark Text: #081c15 (nearly black for contrast)
   
   BACKGROUNDS:
   - Main Background: Light cream (#f1faee) with fall leaves pattern
   - Card Backgrounds: Pure white (#fff) with green/fall accents
   - Pattern: Subtle fall leaves SVG background
   
   DESIGN PRINCIPLES:
   - Green-centric palette with fall color accents
   - Leafy-themed buttons with proper text contrast
   - White text on dark greens, dark text on light greens
   - Accessible high-contrast combinations (WCAG AA compliant)
   - Seasonal autumn feel with evergreen foundation
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES - Themeable color palette
   ============================================================================
   These variables can be overridden by the theme loader to apply custom colors
   site-wide. Defaults match the original design system above.
   ============================================================================ */
:root {
  /* Primary theme colors */
  --floral-primary: #1b4332;      /* Pine green - used for headers, dark elements */
  --floral-primary-2: #2d6a4f;    /* Emerald green - used for secondary headers, gradients */
  --floral-accent: #ff8c42;       /* Fall orange - used for accents, hover states */
  --floral-green: #52b788;        /* Sage green - used for buttons, borders */
  --floral-cream: #f1faee;        /* Light cream - used for backgrounds */
  
  /* Additional theme properties */
  --floral-radius: 12px;          /* Standard border radius */
  --floral-shadow: 0 4px 12px rgba(27, 67, 50, 0.35); /* Standard box shadow */
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--floral-cream, #f1faee) url('img/fall-background.svg') center/cover fixed; /* Light cream with fall leaves pattern */
  color: #081c15; /* Dark text for contrast */
  transition: background-color 0.3s ease;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation for initial page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle pulse animation for CTA elements */
@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* OPTIONAL: Custom Canva Background Support
   To use a custom background image from Canva:
   1. Export your design from Canva
   2. Upload to /public/img/custom-background.png (or .jpg)
   3. Uncomment the CSS below and adjust the image path
   
   Example:
   body.custom-background {
     background: url('img/custom-background.png') center/cover no-repeat fixed;
     background-color: #fef9f3; // Fallback color
   }
*/

/* ============================================================================
   HEADER - Rich green gradient inspired by forest and autumn
   ============================================================================ */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* Rich green gradient: pine to emerald with subtle fall accent */
  background: linear-gradient(135deg, var(--floral-primary, #1b4332) 0%, var(--floral-primary-2, #2d6a4f) 50%, #40916c 100%);
  color: #fff;
  padding: 28px 0 14px 0;
  position: relative;
  box-shadow: var(--floral-shadow, 0 4px 12px rgba(27, 67, 50, 0.35));
}

header .logo {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(27, 67, 50, 0.5);
  margin-right: 48px;
}

/* ============================================================================
   NAVIGATION - Clean, modern nav links with floral accent colors
   ============================================================================ */
nav {
  display: flex;
  gap: 2rem;
  margin: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #ffd700; /* Golden yellow on hover */
  transform: translateY(-2px);
}

/* ============================================================================
   CTA BUTTONS - Leafy-themed buttons with proper contrast
   ============================================================================ */
.cta-btn {
  /* Sage green gradient for leaf-like appearance */
  background: linear-gradient(135deg, var(--floral-green, #52b788) 0%, #95d5b2 100%);
  color: #081c15; /* Dark text on light green */
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.15rem;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 4px 15px rgba(82, 183, 136, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #40916c; /* Forest green border for depth */
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
  color: #fff; /* White text on darker green */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(64, 145, 108, 0.5);
  border-color: #2d6a4f;
}
/* ============================================================================
   COTTAGE FOOD DISCLAIMER - Prominent, centered disclaimer box
   ============================================================================ */
.cottage-food-disclaimer {
  max-width: 700px;
  margin: 2rem auto 2rem auto;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #fff5e6 0%, #fffaf5 100%);
  border: 3px solid #ff8c42; /* Fall orange border */
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(255, 140, 66, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cottage-food-disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff8c42, #d4692d, #ffd700);
}

.cottage-food-disclaimer .disclaimer-title {
  color: #d4692d; /* Fall red-orange */
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: none;
  display: block;
}

.cottage-food-disclaimer .disclaimer-text {
  color: #2d2d2d;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0.8rem 0;
  font-weight: 500;
}

.cottage-food-disclaimer .disclaimer-text strong {
  color: #1b4332; /* Pine green for emphasis */
  font-weight: 700;
}

.cottage-food-disclaimer .disclaimer-link {
  color: #2d2d2d;
  font-size: 1rem;
  margin: 1rem 0 0 0;
  font-weight: 500;
}

.cottage-food-disclaimer .disclaimer-link a {
  color: #2d6a4f; /* Emerald green */
  text-decoration: underline;
  font-weight: 700;
  transition: all 0.2s ease;
}

.cottage-food-disclaimer .disclaimer-link a:hover {
  color: #ff8c42; /* Fall orange */
  text-decoration: none;
}

/* ============================================================================
   PRODUCT FILTERS & SORTING - Green and fall styling
   ============================================================================ */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: #f1faee; /* Light cream background */
  border-radius: 16px;
  align-items: center;
  border: 2px solid #95d5b2; /* Light sage border */
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  color: #2d6a4f; /* Emerald green */
  font-weight: 600;
  font-size: 0.95rem;
}

.filter-group select {
  padding: 0.6rem 1.2rem;
  border: 2px solid #52b788; /* Sage green */
  border-radius: 10px;
  background: #fff;
  color: #081c15;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.filter-group select:focus {
  outline: none;
  border-color: #2d6a4f; /* Emerald green */
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.filter-reset {
  background: #ffd700; /* Golden yellow for better contrast */
  color: #081c15; /* Dark text for high contrast */
  border: 2px solid #d4692d; /* Fall orange border accent */
  border-radius: 10px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-reset:hover {
  background: #ffed4e; /* Lighter golden yellow */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  border-color: #b8541f;
}

/* ============================================================================
   BREADCRUMBS - Green navigation trail with fall accent
   ============================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.2rem;
  background: #f1faee; /* Light cream */
  border-radius: 12px;
  font-size: 0.95rem;
  border-left: 4px solid #2d6a4f; /* Emerald green accent */
}

.breadcrumb a {
  color: #2d6a4f; /* Emerald green */
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #ff8c42; /* Fall orange */
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #1b4332; /* Pine green */
  font-weight: 600;
}

/* Duplicate nav styling removed - already defined above */

/* ============================================================================
   SECTIONS - Clean, centered content areas with green and fall accents
   ============================================================================ */
section {
  max-width: 1100px;
  margin: 64px auto 0 auto;
  background: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(27, 67, 50, 0.15);
  padding: 54px 34px;
  border-top: 4px solid #40916c; /* Forest green border */
  animation: fadeInUp 0.6s ease-out;
}

section h1 {
  text-align: center;
}

/* ============================================================================
   TYPOGRAPHY - Green and fall-inspired headings
   ============================================================================ */
h1, h2, h3 {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--floral-primary, #1b4332); /* Pine green for headers */
  font-weight: bold;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--floral-primary-2, #2d6a4f), var(--floral-primary, #1b4332));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.1rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--floral-primary-2, #2d6a4f); /* Emerald green */
  border-bottom: 3px solid #95d5b2; /* Light sage underline */
  padding-bottom: 8px;
  display: inline-block;
}

/* Shop section headings - centered with box */
.shop-section h2 {
  font-size: 2.3rem;
  color: var(--floral-primary-2, #2d6a4f); /* Emerald green */
  border: 2px solid #95d5b2; /* Light sage border */
  border-bottom: 3px solid #95d5b2; /* Slightly thicker bottom border */
  border-radius: 12px;
  padding: 0.6rem 1.5rem;
  margin: 0 auto 2rem auto;
  display: inline-block;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.15);
}

h3 {
  font-size: 1.35rem;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--floral-primary-2, #2d6a4f); /* Emerald green */
}

p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #444;
}

/* ============================================================================
   HERO SECTION - Enhanced homepage hero with better visual hierarchy
   ============================================================================ */
.hero-section {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-section h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  color: #2d6a4f;
  line-height: 1.8;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-cta .cta-btn {
  margin: 0;
  min-width: 200px;
  text-decoration: none;
  display: inline-block;
}

.hero-cta .primary-cta {
  background: linear-gradient(135deg, var(--floral-primary, #1b4332) 0%, var(--floral-primary-2, #2d6a4f) 100%);
  color: #fff;
  border-color: var(--floral-primary-2, #2d6a4f);
  animation: gentlePulse 2s ease-in-out infinite;
}

.hero-cta .primary-cta:hover {
  background: linear-gradient(135deg, #0d2419 0%, var(--floral-primary, #1b4332) 100%);
  animation: none;
}

.hero-cta .secondary-cta {
  background: transparent;
  color: var(--floral-primary-2, #2d6a4f);
  border: 2px solid var(--floral-primary-2, #2d6a4f);
  box-shadow: none;
}

.hero-cta .secondary-cta:hover {
  background: var(--floral-primary-2, #2d6a4f);
  color: #fff;
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

/* Scroll indicator animation */
.scroll-indicator {
  margin-top: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 2rem;
  color: var(--floral-primary-2, #2d6a4f);
  display: inline-block;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ============================================================================
   FEATURE CARDS - Fall-inspired leaf cards with proper contrast
   ============================================================================ */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}

.feature-card {
  flex: 1 1 270px;
  /* Different fall colors for variety - like different leaves */
  background: linear-gradient(135deg, var(--floral-primary-2, #2d6a4f) 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 220px;
  border: 3px solid var(--floral-green, #52b788); /* Sage border for leaf effect */
  animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  background: linear-gradient(135deg, var(--floral-accent, #ff8c42) 0%, #d4692d 100%); /* Fall orange */
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  background: linear-gradient(135deg, var(--floral-green, #52b788) 0%, #95d5b2 100%); /* Light sage */
  color: #081c15; /* Dark text on light green */
  animation-delay: 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 14px 35px rgba(45, 106, 79, 0.45);
}

.feature-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* HIGH CONTRAST FOR FEATURE CARDS - Ensure text is always readable */
.feature-card,
.feature-card strong,
.feature-card p,
.feature-card h1,
.feature-card h2,
.feature-card h3 {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   GALLERY GRID - Showcase floral work with green and fall accents
   ============================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.gallery-item {
  background: #fff;
  border: 3px solid #95d5b2; /* Light sage border */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.25);
  border-color: #52b788; /* Sage green on hover */
}

.gallery-item img, .gallery-item video {
  width: 100%;
  display: block;
  border-bottom: 3px solid #95d5b2;
}

.gallery-item .caption {
  padding: 16px;
  font-size: 1rem;
  color: #1b4332; /* Pine green */
  font-weight: 600;
  background: #f1faee; /* Light cream background */
}

/* ============================================================================
   PRICING TABLE - Beautiful pricing cards with green and fall accents
   ============================================================================ */
.pricing-table {
  display: flex;
  gap: 24px;
  margin: 34px 0 0 0;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: #fff;
  border: 3px solid #95d5b2; /* Light sage border */
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(45, 106, 79, 0.15);
  padding: 36px 32px;
  flex: 1 1 220px;
  max-width: 330px;
  min-width: 200px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2d6a4f, #40916c, #52b788);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(45, 106, 79, 0.25);
  border-color: #52b788;
}

.pricing-card.highlight {
  border: 3px solid #ff8c42; /* Fall orange for highlighted plan */
  box-shadow: 0 8px 28px rgba(255, 140, 66, 0.3);
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.pricing-card.highlight::before {
  background: linear-gradient(90deg, #ff8c42, #ffd700);
}

.pricing-card h3 {
  color: #2d6a4f; /* Emerald green */
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.pricing-card .price {
  font-size: 2.4rem;
  color: #1b4332; /* Pine green */
  font-weight: bold;
  margin: 20px 0 18px 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  color: #444;
  text-align: left;
  font-size: 1.09rem;
}

.pricing-card ul li {
  margin: 14px 0;
  padding-left: 26px;
  position: relative;
}

.pricing-card ul li:before {
  content: "🍂"; /* Fall leaf bullet point */
  position: absolute;
  left: 0;
  color: #ff8c42; /* Fall orange */
  font-size: 1.3em;
}

.pricing-card .plan-btn {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border: none;
  border-radius: 20px;
  padding: 12px 0;
  width: 100%;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.pricing-card .plan-btn:hover {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 67, 50, 0.4);
}

/* ============================================================================
   FOOTER - Rich green footer with fall accent
   ============================================================================ */
footer {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #fff;
  text-align: center;
  padding: 32px 0 26px 0;
  margin-top: 90px;
  border-radius: 30px 30px 0 0;
  font-size: 1.08rem;
  letter-spacing: .3px;
  box-shadow: 0 -4px 16px rgba(27, 67, 50, 0.2);
}

footer a {
  color: #ffd700; /* Golden yellow */
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ff8c42; /* Fall orange */
}

/* ============================================================================
   NAVIGATION & DROPDOWN PROFILE - Modern, accessible navigation
   ============================================================================ */

/* Hamburger Menu Icon - Hidden on desktop, shown on mobile (≤800px) */
/* Created dynamically by mobile-nav.js and inserted before nav element */
.hamburger {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.3rem;
  background: none;
  border: none;
  z-index: 1001; /* Above most content but below mobile nav */
}

/* Hamburger icon bars */
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation when menu is active (transforms to X) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* Hide middle bar */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

#profileCircleContainer {
  position: relative;
  margin-left: auto;
  align-items: center;
}

#profileCircle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #ffd700; /* Golden yellow border */
  object-fit: cover;
  background: #fff;
  margin-right: 0.5em;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  transition: all 0.2s ease;
}

#profileCircle:hover {
  border-color: #ff8c42; /* Fall orange */
  transform: scale(1.05);
}

/* Profile dropdown styles - green and fall theme */
#profileDropdown {
  display: none;
  position: absolute;
  top: 48px;
  right: 0;
  background: #fff;
  color: #081c15;
  min-width: 200px;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(45, 106, 79, 0.2);
  z-index: 100;
  padding: 0.8em 0.5em;
  border: 2px solid #52b788; /* Sage green border */
}

#profileCircleContainer.active #profileDropdown {
  display: block;
}

#profileDropdown a,
#profileDropdown button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #2d2d2d;
  text-align: left;
  padding: 0.8em 1.2em;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-weight: 500;
}

#profileDropdown a:hover,
#profileDropdown button:hover {
  background: #f1faee; /* Light cream */
  color: #2d6a4f; /* Emerald green */
}

#userInfoDropdown {
  font-size: 0.96em;
  color: #2d6a4f; /* Emerald green */
  padding: 0.7em 1em 0.7em 1.2em;
  border-bottom: 2px solid #95d5b2;
  margin-bottom: 0.4em;
  background: #f1faee; /* Light cream */
  font-weight: 600;
}

/* Login button style - using golden yellow for better contrast */
#loginBtn {
  margin-left: 0.7em;
  background: #ffd700; /* Golden yellow */
  color: #081c15; /* Dark text for high contrast */
  border-radius: 16px;
  padding: 0.5em 1.4em;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  border: 2px solid #d4692d; /* Fall orange border accent */
}

#loginBtn:hover {
  background: #ffed4e; /* Lighter golden yellow */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  border-color: #b8541f;
}

/* ============================================================================
   LOGIN MODAL - Friendly, accessible login interface
   ============================================================================ */
#loginModal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27, 67, 50, 0.2);
  align-items: center;
  justify-content: center;
}

#loginModal.active {
  display: flex;
}

.hidden {
  display: none !important;
}

#loginModalContent {
  background: #fff;
  padding: 2.5em 2em 2em 2em;
  border-radius: 20px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 10px 40px rgba(45, 106, 79, 0.25);
  border-top: 5px solid #2d6a4f; /* Emerald green accent */
}

#loginModalContent input,
#loginModalContent button {
  width: 100%;
  margin-bottom: 1em;
  font-size: 1.09em;
  padding: 0.8em 0.7em;
  border-radius: 12px;
  border: 2px solid #95d5b2; /* Light sage border */
  transition: all 0.2s ease;
}

#loginModalContent input:focus {
  outline: none;
  border-color: #2d6a4f; /* Emerald green */
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

#loginModalContent button {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#loginModalContent button:hover {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.4);
}

/* ============================================================================
   CONTACT FORM - Beautiful, accessible form design
   ============================================================================ */
#contactForm {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
}

#contactForm label {
  display: block;
  font-weight: 600;
  color: #1b4332; /* Pine green */
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

#contactForm input,
#contactForm textarea {
  display: block;
  width: 100%;
  padding: 0.9rem;
  border: 2px solid #95d5b2; /* Light sage */
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #2d6a4f; /* Emerald green */
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.15);
  transform: translateY(-2px);
}

#contactForm button {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border: none;
  border-radius: 14px;
  padding: 1em 1.8em;
  font-weight: bold;
  font-size: 1.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

#contactForm button:hover {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.4);
}

/* Contact page intro text - centered */
.contact-intro {
  text-align: center;
  font-size: 1.15rem;
  color: #2d2d2d;
  margin-bottom: 2rem;
}

/* Contact social section - centered and styled */
.contact-social {
  text-align: center;
  margin: 2rem auto 0 auto;
  padding: 1.5rem;
  background: #f1faee; /* Light cream background */
  border-radius: 16px;
  border: 2px solid #95d5b2; /* Light sage border */
  max-width: 400px;
}

.contact-social p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1b4332; /* Pine green */
  margin-bottom: 0.8rem;
}

.contact-social a {
  color: #2d6a4f; /* Emerald green */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.contact-social a:hover {
  color: #ff8c42; /* Fall orange */
  background: rgba(255, 140, 66, 0.1);
  text-decoration: underline;
}


/* ============================================================================
   PRODUCT CARDS (SHOP) - Green and fall-themed product displays
   ============================================================================ */
#decor-products,
#food-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.product-card {
  background: #fff;
  border: 3px solid #95d5b2; /* Light sage border */
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
  padding: 1em;
  max-width: 500px;
  flex: 0 1 calc(50% - 0.6rem);
  text-align: left;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d6a4f, #40916c, #52b788);
  transition: height 0.3s ease;
}

.product-card:hover::before {
  height: 6px;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(45, 106, 79, 0.3);
  border-color: #52b788;
}

.product-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #fff5e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.product-img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-title {
  font-weight: bold;
  color: #1b4332; /* Pine green */
  font-size: 0.95em;
  margin-bottom: 0.3em;
}

.product-price {
  color: #2d6a4f; /* Emerald green */
  font-weight: bold;
  font-size: 0.95em;
  margin-bottom: 0.3em;
}

.product-stock {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 0.25em;
  font-weight: 500;
}

.product-stock.out-of-stock {
  color: #ef4444;
  font-weight: bold;
}

.product-stock.low-stock {
  color: #f59e0b;
  font-weight: bold;
}

.product-desc {
  color: #555;
  margin-bottom: 0.6em;
  line-height: 1.4;
  font-size: 0.85em;
}

/* Product card top section: image on left, info on right */
.product-top-section {
  display: flex;
  gap: 1em;
  align-items: flex-start;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  min-width: 0;
}

/* Product card bottom section: description and buttons */
.product-bottom-section {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.product-card button {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border: none;
  border-radius: 12px;
  padding: 0.5em 1.2em;
  font-weight: bold;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
  position: relative;
  overflow: hidden;
}

.product-card button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.product-card button:hover:not(:disabled)::before {
  width: 300px;
  height: 300px;
}

.product-card button:hover:not(:disabled) {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.4);
}

.product-card button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.product-card button:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

/* ============================================================================
   IMAGE LIGHTBOX/MODAL - Clean image viewing
   ============================================================================ */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.image-modal.active {
  display: flex;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.image-modal-close:hover {
  color: #ff8c42; /* Fall orange */
}

/* ============================================================================
   CART ENHANCEMENTS - Modern, user-friendly cart controls
   ============================================================================ */
.cart-item-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 1rem;
  border: 2px solid #95d5b2; /* Light sage */
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-quantity-btn {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(45, 106, 79, 0.3);
}

.cart-quantity-btn:hover {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(27, 67, 50, 0.4);
}

.cart-quantity-display {
  min-width: 45px;
  text-align: center;
  font-weight: bold;
  color: #1b4332; /* Pine green */
  font-size: 1.1rem;
}

/* ============================================================================
   LOADING SPINNER - Green-themed loading animation
   ============================================================================ */
.loading-spinner {
  border: 5px solid #f1faee;
  border-top: 5px solid #2d6a4f; /* Emerald green */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 67, 50, 0.2);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.loading-overlay.active {
  display: flex;
}

.loading-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(45, 106, 79, 0.25);
  border-top: 4px solid #2d6a4f; /* Emerald green */
}

/* ============================================================================
   NOTIFICATIONS - Green and fall-themed notification system
   ============================================================================ */
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #fff;
  padding: 1.1rem 1.7rem;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: slideIn 0.3s ease-out;
}

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

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

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.notification.success {
  border-left: 5px solid #40916c; /* Forest green */
}

.notification.error {
  border-left: 5px solid #d4692d; /* Fall red-orange */
}

.notification.info {
  border-left: 5px solid #2d6a4f; /* Emerald green */
}

.notification.warning {
  border-left: 5px solid #ffd700; /* Golden yellow */
}

.notification-message {
  flex: 1;
  color: #2d2d2d;
  font-size: 1rem;
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.notification-close:hover {
  color: #ff8c42; /* Fall orange */
}

/* ============================================================================
   INSTAGRAM GALLERY - Social media integration
   ============================================================================ */
.instagram-gallery {
  margin-top: 2rem;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.instagram-media {
  min-width: 90% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ============================================================================
   ADMIN UPLOAD FORM - Professional admin interface
   ============================================================================ */
#uploadForm {
  max-width: 440px;
  margin: 2em auto;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  padding: 2.2em 2em 1.8em 2em;
  background: #f1faee; /* Light cream */
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(45, 106, 79, 0.15);
  border-top: 4px solid #2d6a4f; /* Emerald green */
}

#uploadForm label {
  font-weight: 600;
  color: #1b4332; /* Pine green */
  margin-bottom: 0.25em;
}

#uploadForm input[type="text"],
#uploadForm input[type="number"],
#uploadForm input[type="file"],
#uploadForm textarea,
#uploadForm select {
  padding: 0.8em 0.8em;
  border: 2px solid #95d5b2; /* Light sage */
  border-radius: 10px;
  font-size: 1em;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin-bottom: 0.05em;
  background: #fff;
  transition: all 0.2s ease;
}

#uploadForm input:focus,
#uploadForm textarea:focus,
#uploadForm select:focus {
  outline: none;
  border-color: #2d6a4f; /* Emerald green */
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

#uploadForm button[type="submit"] {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #fff; /* White text on dark green */
  border: none;
  border-radius: 14px;
  padding: 0.95em 1.6em;
  font-weight: bold;
  font-size: 1.12em;
  margin-top: 0.8em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#uploadForm button[type="submit"]:hover {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.4);
}

#upload-success, #upload-error {
  text-align: center;
  font-size: 1.09em;
  margin-top: 1em;
  font-weight: 500;
}

/* ============================================================================
   CHECKOUT FORM - Clean, trustworthy checkout experience
   ============================================================================ */
.checkout-form {
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5em;
}

.checkout-form label {
  font-weight: 600;
  margin-bottom: 0.3em;
  color: #1b4332; /* Pine green */
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="password"] {
  padding: 0.8em;
  border: 2px solid #95d5b2; /* Light sage */
  border-radius: 10px;
  font-size: 1em;
  background: #fff;
  transition: all 0.2s ease;
}

.checkout-form input:focus {
  border-color: #2d6a4f; /* Emerald green */
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* ============================================================================
   CART SUMMARY TABLE - Clear order overview
   ============================================================================ */
#cart-summary {
  margin-bottom: 2em;
}

#cart-summary table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

#cart-summary th, #cart-summary td {
  padding: 8px 4px;
  border-bottom: 2px solid #95d5b2; /* Light sage */
  font-size: 1.04em;
}

#cart-summary th {
  background: #f1faee; /* Light cream */
  color: #1b4332; /* Pine green */
  font-weight: bold;
}

#cart-summary tfoot td {
  background: #f1faee; /* Light cream */
  color: #2d6a4f; /* Emerald green */
  font-weight: bold;
  font-size: 1.15em;
}

/* ============================================================================
   MEDIA QUERIES - Mobile Responsiveness with Floral Theme
   ============================================================================ */

/* Mobile devices (≤800px) - Show hamburger menu and hide desktop navigation */
@media (max-width: 800px) {
  section {
    padding: 18px 6vw;
    margin-top: 36px;
  }
  
  /* Header layout adjustments for mobile */
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 1.5rem;
    flex-wrap: wrap;
  }
  
  header .logo {
    margin-right: 0;
    margin-bottom: 0;
    font-size: 1.8rem;
    flex: 1;
  }
  
  /* Show hamburger menu button on mobile devices */
  /* Button is created by mobile-nav.js and positioned in header */
  .hamburger {
    display: flex; /* Show on mobile */
    order: 2; /* Position after logo */
  }
  
  /* Mobile navigation - slide-in menu from right side */
  /* Hidden by default (off-screen), slides in when .active class is added */
  nav {
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden off-screen */
    height: 100vh;
    width: 280px;
    /* Green gradient for mobile menu */
    background: linear-gradient(180deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);
    flex-direction: column;
    gap: 0;
    padding: 80px 0 2rem 0;
    box-shadow: -4px 0 20px rgba(27, 67, 50, 0.35);
    transition: right 0.3s ease; /* Smooth slide animation */
    z-index: 1000; /* Above page content */
    overflow-y: auto; /* Allow scrolling if content exceeds viewport */
  }
  
  /* Active state - menu slides into view */
  nav.active {
    right: 0; /* Slide menu into view */
  }
  
  /* Mobile-optimized Instagram gallery */
  .instagram-gallery {
    margin-top: 1rem;
    min-height: 500px;
    padding: 0.5rem;
  }
  
  .instagram-media {
    min-width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Navigation links styling for mobile menu */
  nav a {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    text-align: left;
  }
  
  nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: #ffd700; /* Golden yellow */
  }
  
  /* Profile circle container in mobile menu */
  #profileCircleContainer {
    padding: 1rem 2rem;
    margin-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* Login button in mobile menu */
  #loginBtn {
    margin: 1rem auto;
    text-align: center;
    display: block;
    width: 60%;
    max-width: 180px;
  }
  
  .features, .pricing-table {
    flex-direction: column;
    gap: 18px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  
  #contactForm {
    max-width: 100%;
  }
  
  .product-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
  
  .product-top-section {
    flex-direction: column;
    align-items: center;
  }
  
  .product-img {
    width: 200px;
    height: 200px;
  }
  
  p {
    font-size: 1.05rem;
  }
  
  .cottage-food-disclaimer {
    padding: 1.5rem 1.2rem;
    margin: 1.5rem auto;
  }
  
  .cottage-food-disclaimer .disclaimer-title {
    font-size: 1.3rem;
  }
  
  .cottage-food-disclaimer .disclaimer-text {
    font-size: 1rem;
  }
  
  .shop-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group select {
    width: 100%;
  }
  
  .breadcrumb {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
}

/* Extra small mobile devices (≤480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 1.05rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  section {
    padding: 10px 2vw;
  }
  
  header .logo {
    font-size: 1.5rem;
  }
  
  nav {
    width: 250px;
  }
  
  .instagram-gallery {
    min-height: 450px;
    padding: 0.25rem;
    margin-top: 0.5rem;
  }
  
  .instagram-media {
    min-width: 100% !important;
    margin: 0 auto !important;
  }
  
  #uploadForm {
    max-width: 98vw;
    padding: 1em 1vw 1em 1vw;
  }
  
  .checkout-form {
    max-width: 98vw;
    padding: 1em 1vw 1em 1vw;
  }
  
  .cart-item-thumbnail {
    width: 50px;
    height: 50px;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .product-title {
    font-size: 1.1rem;
  }
  
  table {
    font-size: 0.9rem;
  }
}

/* ============================================================================
   BACK TO TOP BUTTON - Smooth scroll navigation
   ============================================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--floral-primary, #1b4332) 0%, var(--floral-primary-2, #2d6a4f) 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(27, 67, 50, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #0d2419 0%, var(--floral-primary, #1b4332) 100%);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px);
}

/* ============================================================================
   SCROLL ANIMATIONS - Fade in elements on scroll
   ============================================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   RIPPLE EFFECT - Interactive button feedback
   ============================================================================ */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ============================================================================
   ACCESSIBILITY IMPROVEMENTS - Focus states and skip links
   ============================================================================ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--floral-accent, #ff8c42);
  outline-offset: 2px;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--floral-primary-2, #2d6a4f);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100000;
  border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================================================
   UTILITY CLASSES - Reusable visual enhancements
   ============================================================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--floral-primary-2, #2d6a4f), var(--floral-primary, #1b4332));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--floral-primary, #1b4332); /* Fallback color */
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(45, 106, 79, 0.3);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.25);
}

/* ============================================================================
   EDIT PRODUCT MODAL - Shop page admin edit functionality
   ============================================================================ */
.edit-product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.edit-product-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.edit-product-modal-content h2 {
  margin-top: 0;
}

.edit-product-modal-content label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.edit-product-modal-content input,
.edit-product-modal-content textarea,
.edit-product-modal-content select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 0.25rem;
}

.edit-product-modal-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.edit-product-modal-buttons button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.edit-product-modal-buttons button[type="submit"] {
  background: #6e33b7;
  color: #fff;
}

.edit-product-modal-buttons button[type="button"] {
  background: #ccc;
  color: #333;
}

.edit-product-btn {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #6e33b7 0%, #9333ea 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.4em 1em;
  font-weight: 600;
  font-size: 0.85em;
  cursor: pointer;
  width: 100%;
}
