/*! ============================================================================
  Project: WordPress Theme - FRONTEND STYLES
  File: assets/src/css/frontend.css
  Purpose: Main CSS entry point for public-facing pages

  STRUCTURE:
    - Base: Variables, reset, utilities
    - Components: Reusable UI components
    - Layout: Major layout sections
    - Pages: Page-specific styles
    - Utilities: Progressive enhancement, prose, accessibility
  ============================================================================ */

/* ===========================================================================
   BASE LAYER
   =========================================================================== */

/* ============================================================================
   BASE: Variables (Design Tokens)
   Purpose: CSS custom properties for colors, spacing, shadows, motion
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  /* Brand + surfaces */
  --logo-blue: #1E3A5F;
  --brand-orange: #EC7A14;
  --light-cream: #FFF7EA;
  --ink: #333333;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0,0,0,.04);
  --shadow-2: 0 4px 6px -1px rgba(0,0,0,.05);
  --shadow-3: 0 4px 6px -1px rgba(0,0,0,.10);
  --shadow-4: 0 10px 15px -3px rgba(0,0,0,.10);
  --shadow-4-strong: 0 10px 15px -3px rgba(0,0,0,.20);

  /* Motion + focus */
  --ease-standard: cubic-bezier(.2,0,0,1);
  --dur-150: .15s;
  --dur-200: .18s;
  --dur-300: .30s;
  --dur-500: .50s;
  --focus-ring: 0 0 0 2px rgba(236,122,20,.35);
}

/* ============================================================================
   BASE: Reset & Core Styles
   Purpose: HTML/body defaults, layout primitives, base element styling
   ========================================================================== */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Remove underlines from all links */

a {
  text-decoration: none !important;
}

/* Layout primitive */

.container {
  max-width: 1280px;
}

/* Sticky footer helpers */

html, body {
  height: auto;
  min-height: 100%;
}

#content {
  flex: 1 0 auto;
}

footer[role="contentinfo"] {
  flex-shrink: 0;
}

/* Section zebra contrast when no explicit bg present */

#content > section:not([class*="bg-"]):nth-of-type(even) {
  background-color: var(--light-cream);
}

/* Hide imgs with no source so the browser doesn't show a broken icon */

img:not([src]):not([srcset]) {
  visibility: hidden;
}

/* Our JS will set this when the placeholder is ready */

img[data-ph-ready] {
  visibility: visible;
}

/* Home page: remove extra padding if theme adds it */

body.home #content {
  padding-top: 0 !important;
}

/* ============================================================================
   BASE: Utilities & Helpers
   Purpose: Brand color utilities, typographic helpers, generic utilities
   ========================================================================== */

/* Brand utilities (ensure availability even if Tailwind misses them) */

.text-logo-blue {
  color: var(--logo-blue) !important;
}

.bg-logo-blue {
  background-color: var(--logo-blue) !important;
}

.text-brand-orange {
  color: var(--brand-orange) !important;
}

.bg-brand-orange {
  background-color: var(--brand-orange) !important;
}

.bg-light-cream {
  background-color: var(--light-cream) !important;
}

/* Generic helpers */

.img-fallback {
  background: #f3f4f6;
  position: relative;
}

.img-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f3f4f6;
  z-index: -1;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Typographic utility aliases */

.font-oswald {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-weight: 700;
}

/* Section headings - consistent styling across pages */

.h2-section {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: 2.25rem; /* 36px */
  color: var(--logo-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .h2-section {
    font-size: 3rem; /* 48px */
  }
}

@media (min-width: 1024px) {
  .h2-section {
    font-size: 3.75rem; /* 60px */
  }
}

.h4-card {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--logo-blue);
  letter-spacing: 0.025em;
}

/* Section spacing - consistent padding */

.section-major {
  padding: 5rem 0;
}

@media (max-width: 767px) {
  .section-major {
    padding: 3rem 0;
  }
}

/* ===========================================================================
   COMPONENTS
   =========================================================================== */

/* Legacy Components */

/* ============================================================================
   COMPONENTS: Animations
   Purpose: Keyframe animations and animation utilities
   ========================================================================== */

/* Fade in */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-fadeIn {
  animation: fadeIn .8s ease forwards;
}

.delay-100 { animation-delay: .1s; }

.delay-200 { animation-delay: .2s; }

.delay-300 { animation-delay: .3s; }

.delay-400 { animation-delay: .4s; }

.delay-500 { animation-delay: .5s; }

/* Bounce */

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* ============================================================================
   COMPONENTS: Badges
   Purpose: Product status badges (new, limited, vegan, etc.)
   ========================================================================== */

.product-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  margin-right: 5px;
  margin-bottom: 5px;
}

.badge-limited {
  background: #FFD700;
  color: #333;
}

.badge-vegan {
  background: #4CAF50;
  color: #fff;
}

.badge-spicy {
  background: #FF5252;
  color: #fff;
}

.badge-new {
  background: #2196F3;
  color: #fff;
}

.badge-bestseller {
  background: #9C27B0;
  color: #fff;
}

/* ============================================================================
   COMPONENTS: Buttons
   Purpose: App download buttons, scroll to top, CTAs
   ========================================================================== */

.app-download-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: #fff;
  color: var(--logo-blue);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform var(--dur-150) var(--ease-standard), box-shadow var(--dur-150) var(--ease-standard), color var(--dur-150) var(--ease-standard);
}

.app-download-btn i {
  font-size: 1.5rem;
}

.app-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-4), 0 4px 6px -2px rgba(0,0,0,.05);
}

/* Scroll to top button */

#scrollToTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-4-strong);
}

#scrollToTopBtn:active {
  transform: translateY(-1px);
}

/* ============================================================================
   COMPONENTS: Cards
   Purpose: Store cards, news cards, product cards, rewards cards
   ========================================================================== */

/* Menu item card */

.menu-item {
  transition: transform var(--dur-300) var(--ease-standard), box-shadow var(--dur-300) var(--ease-standard);
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-4);
}

/* Location card - Horizontal layout with image on right */

.location-card {
  height: 100%;
}

.location-card-inner {
  display: flex;
  flex-direction: row;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-300) var(--ease-standard), box-shadow var(--dur-300) var(--ease-standard);
}

.location-card-inner:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 8px 24px rgba(236, 122, 20, 0.15);
}

.location-info {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
}

.location-title {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--logo-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.location-detail i {
  color: var(--brand-orange);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.location-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.location-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--brand-orange);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all var(--dur-300) var(--ease-standard);
  white-space: nowrap;
}

.location-directions-btn:hover {
  background: #d66a0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 122, 20, 0.3);
}

.location-directions-btn i {
  color: #fff;
  font-size: 0.875rem;
}

.location-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--logo-blue);
  border: 1px solid var(--logo-blue);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all var(--dur-300) var(--ease-standard);
  white-space: nowrap;
}

.location-details-btn:hover {
  background: var(--logo-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.location-image-wrap {
  position: relative;
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
}

.location-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-500) var(--ease-standard);
}

.location-card-inner:hover .location-image {
  transform: scale(1.05);
}

.location-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

/* News card */

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: .75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-3);
  transition: transform var(--dur-300) var(--ease-standard), box-shadow var(--dur-300) var(--ease-standard);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-4);
}

.news-card .news-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card > .p-6 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.news-card > .p-6 a:last-child {
  margin-top: auto;
}

.news-card .product-excerpt {
  min-height: 3.25rem; /* ~2 lines */
}

/* Rewards benefit card */

.rewards-benefit-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-300) var(--ease-standard), box-shadow var(--dur-300) var(--ease-standard);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rewards-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-4);
}

/* Generic product cards (outside sliders too) */

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(30,58,95,.08);
  transition: transform var(--dur-300) var(--ease-standard), box-shadow var(--dur-300) var(--ease-standard);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}

.product-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-500) var(--ease-standard);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.magnifier-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30,58,95,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-blue);
}

.product-details {
  padding: 1rem 1.25rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--logo-blue);
  text-transform: uppercase;
  font-family: 'Oswald', 'Arial Black', sans-serif;
}

.product-badge-container {
  position: absolute;
  top: -10px;
  left: 1rem;
  display: flex;
  gap: .5rem;
}

/* Overlays / image actions */

.product-img-wrap {
  position: relative;
}

.zoom-btn {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #fff;
  color: var(--logo-blue);
  border: 1px solid rgba(0,0,0,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  transition: transform var(--dur-150) var(--ease-standard), box-shadow var(--dur-150) var(--ease-standard);
}

.zoom-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

/* ============================================================================
   COMPONENTS: Cookie Consent Banner & Preferences Modal
   Purpose: GDPR/PECR compliant cookie consent UI
   ========================================================================== */

/* Cookie Banner - Bottom Fixed */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100vw;
  overflow-x: hidden;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cookie-banner-content {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--logo-blue);
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cookie-banner-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

.cookie-banner-title i {
  color: var(--brand-orange);
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .cookie-banner-title i {
    font-size: 1.25rem;
  }
}

.cookie-banner-description {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .cookie-banner-description {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

.cookie-banner-description a {
  color: var(--brand-orange);
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-banner-description a:hover {
  color: var(--logo-blue);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 640px) {
  .cookie-banner-actions {
    gap: 0.75rem;
    width: auto;
  }
}

@media (min-width: 768px) {
  .cookie-banner-actions {
    flex-shrink: 0;
  }
}

/* Cookie Banner Buttons */

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: 'Poppins', sans-serif;
  flex: 1 1 auto;
  min-width: fit-content;
}

@media (min-width: 640px) {
  .cookie-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    flex: 0 1 auto;
  }
}

.cookie-btn-settings {
  background: transparent;
  color: var(--logo-blue);
  border: 1px solid var(--logo-blue);
}

.cookie-btn-settings:hover {
  background: var(--logo-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.cookie-btn-reject {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.cookie-btn-reject:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.cookie-btn-accept {
  background: var(--brand-orange);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #d66a0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(236, 122, 20, 0.3);
}

/* Cookie Preferences Modal */

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cookie-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-modal-overlay.show .cookie-modal {
  transform: scale(1);
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--logo-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-modal-title i {
  color: var(--brand-orange);
}

.cookie-modal-close {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.cookie-modal-close:hover {
  background: #f3f4f6;
  color: var(--logo-blue);
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-category {
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.cookie-category:hover {
  border-color: var(--brand-orange);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-category-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--logo-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cookie-category-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Toggle Switch */

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  background: #d1d5db;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle.active {
  background: var(--brand-orange);
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active::after {
  transform: translateX(24px);
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Cookie Preferences Link (Footer) */

.cookie-preferences-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.cookie-preferences-link:hover {
  color: #fff;
}

.cookie-preferences-link i {
  font-size: 0.75rem;
}

/* ============================================================================
   COMPONENTS: Navigation
   Purpose: Header, logo, nav links, mobile menu, hamburger
   ========================================================================== */

/* Logo */

.logo-text {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--logo-blue);
  letter-spacing: 0.05em;
  transition: color var(--dur-300) var(--ease-standard);
}

/* Nav links */

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background-color: var(--brand-orange);
  transition: width var(--dur-300) var(--ease-standard);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu shell */

.mobile-menu {
  opacity: 0;
  transform: scale(0.98);
  transition: transform var(--dur-200) var(--ease-standard), opacity var(--dur-200) var(--ease-standard);
  will-change: transform, opacity;
}

.mobile-menu.open {
  opacity: 1;
  transform: scale(1);
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  margin: .125rem 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  border-radius: .5rem;
  font-weight: 500;
  transition: all var(--dur-300) var(--ease-standard);
}

.mobile-nav-link:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

.mobile-nav-link:hover {
  background-color: rgba(236,122,20,.1);
}

/* Hamburger */

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--logo-blue);
  transition: var(--dur-250, .25s) ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

.hamburger.open span:nth-child(1) {
  top: 10px;
  width: 0;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
  top: 10px;
  width: 0;
  left: 50%;
}

/* Generic "badge" (used near nav too) */

.badge {
  position: absolute;
  top: -8px;
  right: 0;
  background-color: var(--brand-orange);
  color: #fff;
  font-size: .6rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

/* Small polish for header/hero CTAs */

header button:has(.fa-map-marker-alt),
#home .container .flex a {
  transition: transform var(--dur-150) var(--ease-standard), box-shadow var(--dur-150) var(--ease-standard);
}

header button:has(.fa-map-marker-alt):hover,
#home .container .flex a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

/* Phones: force mobile menu position */

@media (max-width: 767.98px) {
  #mobile-menu {
    left: 2.75rem !important;
    right: 2.75rem !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    top: calc(5rem + 20px) !important;
  }
}

/* Hide long nav items on tablet- */

@media (max-width: 1023px) {
  .nav-center a[href="#news"],
  .nav-center a[href="#about"] {
    display: none !important;
  }
}

/* ============================================================================
   COMPONENTS: Sliders & Carousels
   Purpose: Swiper integration, slider arrows, equal-height slides
   ========================================================================== */

/* Slider shell - padding creates space for shadows without overflow:visible */

.slider-wrap {
  position: relative;
  padding: 0 50px;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: -40px;
  margin-bottom: -40px;
}

/* Unified arrows (Swiper + our fallback buttons) */

.swiper-button-prev,
.swiper-button-next,
.slider-arrow {
  width: 42px !important;
  height: 42px !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: var(--logo-blue) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
  transform: none !important;
  transition: none !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px !important;
}

/* Swiper container - padding for shadow visibility */

.slider-wrap .swiper {
  overflow: hidden;
  padding: 30px 10px;
  margin: -30px -10px;
}

/* Equal-height slides across carousels */

.slider-wrap .swiper-wrapper {
  align-items: stretch;
}

.slider-wrap .swiper-slide {
  display: flex;
  height: auto;
}

.slider-wrap .swiper-slide > * {
  width: 100%;
}

/* Product cards inside sliders: guards */

.food-swiper .swiper-slide,
.drinks-swiper .swiper-slide,
.product-swiper .swiper-slide {
  height: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .product-img-wrap {
  aspect-ratio: 1 / 1;
}

.product-card .product-excerpt {
  min-height: 3.25rem;
}

/* News carousel small tweak on wide screens */

@media (min-width: 1440px) {
  .news-swiper {
    padding-bottom: 2px;
  }
}

/* ============================================================================
   COMPONENTS: Tabs & Pill Switch
   Purpose: Tab switching UI for offering section (Our Food / The Drinks)

   IMPORTANT: All .tab-button rules must be scoped to .fb-switch to avoid
   conflicts. The .active state MUST use !important to ensure orange color.
   ========================================================================== */

/* Generic tab styles (fallback) */

.tab-button {
  transition: all var(--dur-300) var(--ease-standard);
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  padding: .5rem 1rem;
}

.tab-button.active {
  background: var(--brand-orange, #EC7A14) !important;
  color: #fff !important;
  border-color: var(--brand-orange, #EC7A14) !important;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Pill switch container (.fb-switch = Food/Beverage switch) */

.fb-switch {
  display: inline-flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  box-shadow: var(--shadow-1);
}

/* Hide the radio inputs */

.fb-switch input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Style the labels as buttons */

.fb-switch label {
  appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  color: var(--logo-blue);
  font-weight: 600;
  padding: .75rem 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--dur-300) var(--ease-standard);
}

.fb-switch label:hover {
  background: rgba(30,58,95,.06);
}

/* CRITICAL: Checked state using native :checked selector */

.fb-switch input[type="radio"]:checked + label {
  background: var(--brand-orange, #EC7A14);
  color: #fff;
}

.fb-switch label:first-of-type {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}

.fb-switch label:last-of-type {
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}

/* Product Components */

/* ============================================================================
   Component: Product Card
   Usage: template-parts/product/card.php
   ============================================================================ */

/* Product Card Container */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Link wrapper */

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image Container */

.product-card__image {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.product-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

/* Badges Overlay */

.product-card__badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

/* Content Area */

.product-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.product-card__title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
}

.product-card__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Size Variations */

.product-card--small {
    border-radius: 8px;
}

.product-card--small .product-card__content {
    padding: 12px;
}

.product-card--small .product-card__title {
    font-size: 16px;
}

.product-card--small .product-card__description {
    font-size: 13px;
}

.product-card--large .product-card__content {
    padding: 20px;
}

.product-card--large .product-card__title {
    font-size: 22px;
}

.product-card--large .product-card__description {
    font-size: 16px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .product-card__title {
        font-size: 16px;
    }

    .product-card__description {
        font-size: 13px;
    }

    .product-card--large .product-card__title {
        font-size: 18px;
    }
}

/* Focus State (Accessibility) */

.product-card__link:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* High Contrast Mode Support */

@media (prefers-contrast: high) {
    .product-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card__img {
        transition: none;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-card__img {
        transform: none;
    }
}

/* ============================================================================
   Component: Product Header
   Usage: template-parts/product/header.php
   ============================================================================ */

.product-header {
    padding: 40px 0;
    background: #fff;
}

.product-header__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image Wrapper */

.product-header__image-wrapper {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
}

.product-header__image {
    width: 100%;
    height: auto;
    display: block;
}

/* Badges */

.product-header__badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Content */

.product-header__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-header__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.product-header__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 0 0;
}

.product-header__category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary, #3498db);
    text-decoration: none;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    transition: background 0.2s ease;
}

.product-header__category:hover {
    background: rgba(52, 152, 219, 0.2);
}

.product-header__description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Meta Information */

.product-header__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-header__meta-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-header__meta-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.product-header__meta-value {
    font-size: 14px;
    color: #1a1a1a;
}

.product-header__meta-item--price .product-header__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary, #3498db);
}

/* Responsive Design */

@media (max-width: 1024px) {
    .product-header__container {
        gap: 32px;
    }

    .product-header__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .product-header {
        padding: 24px 0;
    }

    .product-header__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-header__title {
        font-size: 28px;
    }

    .product-header__description {
        font-size: 15px;
    }

    .product-header__meta {
        padding: 16px;
    }
}

/* Focus States */

.product-header__category:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .product-header__meta {
        border: 2px solid #000;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .product-header__category {
        transition: none;
    }
}

/* ============================================================================
   Component: Product Detail Box (Shared wrapper for allergens, nutrition, ingredients)
   Usage: template-parts/products/*.php
   ============================================================================ */

.product-detail-box {
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
    .product-detail-box {
        padding: 1.5rem;
    }
}

/* ============================================================================
   Component: Product Allergens
   Usage: template-parts/product/allergens.php
   ============================================================================ */

.product-allergens {
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-allergens__title {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Allergen Grid */

.product-allergens__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Individual Allergen Item */

.product-allergen {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-allergen:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Contains (Red/Warning) */

.product-allergen--contains {
    background: #fff5f5;
    border-left-color: #e74c3c;
}

.product-allergen--contains .product-allergen__icon {
    color: #e74c3c;
}

.product-allergen--contains .product-allergen__status {
    color: #c0392b;
    font-weight: 600;
}

/* May Contain (Yellow/Caution) */

.product-allergen--may-contain {
    background: #fffbf0;
    border-left-color: #f39c12;
}

.product-allergen--may-contain .product-allergen__icon {
    color: #f39c12;
}

.product-allergen--may-contain .product-allergen__status {
    color: #d68910;
    font-weight: 500;
}

/* Icon */

.product-allergen__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Content */

.product-allergen__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-allergen__label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.product-allergen__status {
    font-size: 13px;
    line-height: 1.2;
}

/* Note Section */

.product-allergens__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.product-allergens__note i {
    color: #3498db;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-allergens__note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #2c3e50;
}

/* Responsive Design */

@media (max-width: 768px) {
    .product-allergens {
        padding: 24px 20px;
    }

    .product-allergens__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .product-allergens__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-allergen {
        padding: 12px;
    }

    .product-allergen__icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .product-allergen {
        transition: none;
    }

    .product-allergen:hover {
        transform: none;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .product-allergen {
        border: 2px solid #000;
    }

    .product-allergen--contains {
        background: #fff;
        border-color: #e74c3c;
    }

    .product-allergen--may-contain {
        background: #fff;
        border-color: #f39c12;
    }
}

/* ============================================================================
   Component: Product Nutrition Facts
   Usage: template-parts/product/nutrition.php
   ============================================================================ */

.product-nutrition {
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-nutrition__title {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Table Container */

.product-nutrition__table {
    overflow-x: auto;
    margin-bottom: 20px;
}

/* Nutrition Table */

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.nutrition-table__header {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nutrition-table__header--per-100g,
.nutrition-table__header--per-serving {
    text-align: right;
}

.nutrition-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.nutrition-table tbody tr:last-child {
    border-bottom: none;
}

.nutrition-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.nutrition-table__label {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.nutrition-table__value {
    padding: 12px 16px;
    text-align: right;
    font-size: 14px;
    color: #1a1a1a;
}

.nutrition-table__unit {
    margin-left: 2px;
    font-size: 13px;
    color: #666;
}

.nutrition-table__empty {
    color: #999;
}

/* Subcategory Rows (e.g., "of which saturates") */

.nutrition-table__row--subcategory .nutrition-table__label {
    padding-left: 32px;
    font-weight: 500;
    font-size: 13px;
    color: #666;
}

/* Notes Section */

.product-nutrition__notes {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff8e1;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.product-nutrition__notes i {
    color: #f39c12;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-nutrition__notes p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Disclaimer */

.product-nutrition__disclaimer {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
}

.product-nutrition__disclaimer p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    font-style: italic;
}

/* Responsive Design */

@media (max-width: 768px) {
    .product-nutrition {
        padding: 24px 16px;
    }

    .product-nutrition__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .nutrition-table__header,
    .nutrition-table__label,
    .nutrition-table__value {
        padding: 10px 12px;
        font-size: 13px;
    }

    .nutrition-table__header {
        font-size: 12px;
    }

    .nutrition-table__row--subcategory .nutrition-table__label {
        padding-left: 24px;
    }
}

/* Print Styles */

@media print {
    .product-nutrition {
        box-shadow: none;
        border: 1px solid #000;
    }

    .nutrition-table {
        border: 2px solid #000;
    }

    .nutrition-table tbody tr:nth-child(even) {
        background: #f0f0f0;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .nutrition-table {
        border: 3px solid #000;
    }

    .nutrition-table tbody tr {
        border-bottom: 2px solid #000;
    }
}

/* ============================================================================
   Component: Product Ingredients
   Usage: template-parts/product/ingredients.php
   ============================================================================ */

.product-ingredients {
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-ingredients__title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Ingredients List */

.product-ingredients__list {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* Individual Ingredient */

.product-ingredient {
    display: inline;
}

/* Allergen Highlighting */

.product-ingredient--allergen {
    font-weight: 700;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Percentage Display */

.product-ingredient__percentage {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Note Section */

.product-ingredients__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.product-ingredients__note i {
    color: #3498db;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-ingredients__note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #2c3e50;
}

/* Responsive Design */

@media (max-width: 768px) {
    .product-ingredients {
        padding: 24px 20px;
    }

    .product-ingredients__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .product-ingredients__list {
        padding: 16px;
        font-size: 14px;
    }
}

/* Print Styles */

@media print {
    .product-ingredients {
        box-shadow: none;
        border: 1px solid #000;
    }

    .product-ingredients__list {
        background: #f0f0f0;
    }

    .product-ingredient--allergen {
        font-weight: 700;
        background: none;
        text-decoration: underline;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .product-ingredient--allergen {
        background: #fff;
        border: 2px solid #e74c3c;
        font-weight: 700;
    }
}

/* Store Components */

/* ============================================================================
   Component: Store Card
   Usage: template-parts/store/card.php
   ============================================================================ */

/* Store Card Container */

.store-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Inactive Store Styling */

.store-card--inactive {
    opacity: 0.7;
}

.store-card--inactive .store-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Link wrapper */

.store-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image Container */

.store-card__image {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* 5:3 aspect ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.store-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-card:hover .store-card__img {
    transform: scale(1.05);
}

/* Status Badge */

.store-card__status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    z-index: 2;
}

.store-card__status-badge--inactive {
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
}

/* FSA Rating Badge */

.store-card__fsa-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(46, 204, 113, 0.95);
    border-radius: 8px;
    z-index: 2;
}

.store-card__fsa-rating {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.store-card__fsa-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-top: 2px;
}

/* Content Area */

.store-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    gap: 12px;
}

.store-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.store-card__type {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

/* Address */

.store-card__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.store-card__address i {
    color: var(--color-primary, #3498db);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.store-card__address-text {
    flex: 1;
}

/* Distance */

.store-card__distance {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary, #3498db);
}

.store-card__distance i {
    font-size: 14px;
}

/* Opening Hours */

.store-card__hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.store-card__hours i {
    color: #27ae60;
    font-size: 14px;
}

/* Size Variations */

.store-card--small .store-card__content {
    padding: 16px;
}

.store-card--small .store-card__title {
    font-size: 18px;
}

.store-card--large .store-card__content {
    padding: 24px;
}

.store-card--large .store-card__title {
    font-size: 22px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .store-card__title {
        font-size: 18px;
    }

    .store-card__content {
        padding: 16px;
        gap: 10px;
    }
}

/* Focus State */

.store-card__link:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .store-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .store-card,
    .store-card__img {
        transition: none;
    }

    .store-card:hover {
        transform: none;
    }

    .store-card:hover .store-card__img {
        transform: none;
    }
}

/* ============================================================================
   Component: Store Header
   Usage: template-parts/store/header.php
   ============================================================================ */

.store-header {
    padding: 40px 0;
    background: #fff;
}

.store-header__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image Wrapper */

.store-header__image-wrapper {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.store-header__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Status Badge */

.store-header__status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 24px;
    z-index: 2;
}

.store-header__status-badge--active {
    background: rgba(46, 204, 113, 0.95);
    color: #fff;
}

.store-header__status-badge--inactive {
    background: rgba(231, 76, 60, 0.95);
    color: #fff;
}

/* FSA Badge */

.store-header__fsa-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    background: rgba(46, 204, 113, 0.95);
    border-radius: 12px;
    z-index: 2;
}

.store-header__fsa-rating {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.store-header__fsa-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-top: 4px;
}

/* Content */

.store-header__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.store-header__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.store-header__type {
    margin-top: -12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary, #3498db);
}

.store-header__description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Info Grid */

.store-header__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.store-header__info-item {
    display: flex;
    gap: 16px;
}

.store-header__info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary, #3498db);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

.store-header__info-content {
    flex: 1;
}

.store-header__info-label {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.store-header__address {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.store-header__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--color-primary, #3498db);
    text-decoration: none;
    transition: color 0.2s ease;
}

.store-header__link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.store-header__map-link {
    margin-top: 12px;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .store-header__container {
        gap: 32px;
    }

    .store-header__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .store-header {
        padding: 24px 0;
    }

    .store-header__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .store-header__title {
        font-size: 28px;
    }

    .store-header__description {
        font-size: 15px;
    }

    .store-header__info {
        gap: 20px;
    }

    .store-header__info-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Focus States */

.store-header__link:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .store-header__link {
        transition: none;
    }
}

/* Navigation Components */

/* ============================================================================
   Component: Breadcrumbs Navigation
   Usage: template-parts/navigation/breadcrumbs.php
   ============================================================================ */

.breadcrumbs {
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs__link {
    color: var(--color-primary, #3498db);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumbs__link:focus {
    outline: 2px solid var(--color-primary, #3498db);
    outline-offset: 2px;
    border-radius: 2px;
}

.breadcrumbs__current {
    color: #666;
    font-weight: 500;
}

.breadcrumbs__separator {
    color: #999;
    user-select: none;
    font-size: 12px;
}

/* Current Item Styling */

.breadcrumbs__item--current {
    font-weight: 500;
}

/* Responsive Design */

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 12px 16px;
    }

    .breadcrumbs__list {
        gap: 6px;
    }

    .breadcrumbs__item {
        font-size: 13px;
    }
}

/* Very Small Screens - Truncate */

@media (max-width: 480px) {
    .breadcrumbs__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumbs__item {
        flex-shrink: 0;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .breadcrumbs {
        border-bottom: 2px solid #000;
    }

    .breadcrumbs__link {
        text-decoration: underline;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .breadcrumbs__link {
        transition: none;
    }
}

/* Print Styles */

@media print {
    .breadcrumbs {
        background: none;
        border-bottom: 1px solid #000;
        padding: 8px 0;
    }
}

/* ============================================================================
   Component: Pagination
   Usage: template-parts/navigation/pagination.php
   ============================================================================ */

.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

/* Info Text */

.pagination__info {
    font-size: 14px;
    color: #666;
}

.pagination__current,
.pagination__total {
    font-weight: 600;
    color: #1a1a1a;
}

/* Pagination List */

.pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination__item {
    display: flex;
}

/* Pagination Links */

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pagination__link:hover {
    background: #f8f9fa;
    border-color: var(--color-primary, #3498db);
    color: var(--color-primary, #3498db);
}

.pagination__link:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* Current Page */

.pagination__link--current {
    background: var(--color-primary, #3498db);
    border-color: var(--color-primary, #3498db);
    color: #fff;
    cursor: default;
    pointer-events: none;
}

/* Dots (Ellipsis) */

.pagination__link--dots {
    border: none;
    background: none;
    cursor: default;
    pointer-events: none;
    color: #999;
}

/* Previous/Next Buttons */

.pagination__link--prev,
.pagination__link--next {
    font-weight: 600;
}

.pagination__link--prev i {
    margin-right: 4px;
}

.pagination__link--next i {
    margin-left: 4px;
}

/* Disabled State */

.pagination__link[disabled],
.pagination__link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Design */

@media (max-width: 768px) {
    .pagination {
        padding: 32px 16px;
        gap: 16px;
    }

    .pagination__link {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    /* Hide some page numbers on mobile */
    .pagination__list {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .pagination__link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    /* Hide prev/next text on very small screens */
    .pagination__button-text {
        display: none;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .pagination__link {
        border: 3px solid #000;
    }

    .pagination__link--current {
        background: #000;
        border-color: #000;
    }

    .pagination__link:hover {
        border-color: #000;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .pagination__link {
        transition: none;
    }
}

/* Print Styles */

@media print {
    .pagination {
        display: none;
    }
}

/* Form Components */

/* ============================================================================
   Component: Newsletter Form
   Usage: template-parts/forms/newsletter.php
   ============================================================================ */

.newsletter-form {
    padding: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
}

.newsletter-form__title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.newsletter-form__description {
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Form */

.newsletter-form__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Field Group */

.newsletter-form__field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-form__label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.newsletter-form__required {
    color: #fff;
}

/* Input Wrapper (for input + button combo) */

.newsletter-form__input-wrapper {
    position: relative;
    display: flex;
    gap: 8px;
}

.newsletter-form__input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form__input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form__input::placeholder {
    color: #999;
}

/* Submit Button */

.newsletter-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-form__submit:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-form__submit:active {
    transform: translateY(0);
}

.newsletter-form__submit:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.newsletter-form__submit--loading {
    opacity: 0.7;
    cursor: wait;
}

.newsletter-form__submit--loading .newsletter-form__button-text {
    opacity: 0.5;
}

/* Privacy Checkbox */

.newsletter-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.newsletter-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form__checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.newsletter-form__checkbox-text a {
    color: #fff;
    text-decoration: underline;
}

.newsletter-form__checkbox-text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Messages */

.newsletter-form__messages {
    display: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-form__messages:not(:empty) {
    display: block;
}

.newsletter-form__messages--success {
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid rgba(46, 204, 113, 0.5);
    color: #fff;
}

.newsletter-form__messages--error {
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid rgba(231, 76, 60, 0.5);
    color: #fff;
}

.newsletter-form__messages p {
    margin: 0;
}

/* Compact Size */

.newsletter-form--compact {
    padding: 24px;
}

.newsletter-form--compact .newsletter-form__title {
    font-size: 20px;
    margin-bottom: 8px;
}

.newsletter-form--compact .newsletter-form__description {
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form--compact .newsletter-form__input,
.newsletter-form--compact .newsletter-form__submit {
    height: 40px;
    font-size: 14px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .newsletter-form {
        padding: 24px 20px;
    }

    .newsletter-form__title {
        font-size: 20px;
    }

    .newsletter-form__description {
        font-size: 14px;
    }

    .newsletter-form__input-wrapper {
        flex-direction: column;
    }

    .newsletter-form__submit {
        width: 100%;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .newsletter-form__input,
    .newsletter-form__submit {
        transition: none;
    }

    .newsletter-form__submit:hover {
        transform: none;
    }
}

/* ============================================================================
   Component: Search Form
   Usage: template-parts/forms/search.php
   ============================================================================ */

.search-form {
    width: 100%;
    max-width: 600px;
}

.search-form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Label (visually hidden but accessible) */

.search-form__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Input Wrapper */

.search-form__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search Icon */

.search-form__icon {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

/* Input Field */

.search-form__input {
    flex: 1;
    height: 48px;
    padding: 0 16px 0 48px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form__input:focus {
    outline: none;
    border-color: var(--color-primary, #3498db);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form__input::placeholder {
    color: #999;
}

/* Submit Button */

.search-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary, #3498db);
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-form__submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.search-form__submit:active {
    transform: translateY(0);
}

.search-form__submit:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* No Button Variant */

.search-form--no-button .search-form__input {
    padding-right: 16px;
}

/* Size Variations */

.search-form--large .search-form__input,
.search-form--large .search-form__submit {
    height: 56px;
    font-size: 16px;
}

.search-form--large .search-form__icon {
    left: 20px;
    font-size: 20px;
}

.search-form--large .search-form__input {
    padding-left: 56px;
}

.search-form--compact .search-form__input,
.search-form--compact .search-form__submit {
    height: 40px;
    font-size: 14px;
}

.search-form--compact .search-form__icon {
    left: 12px;
    font-size: 16px;
}

.search-form--compact .search-form__input {
    padding-left: 40px;
}

.search-form--compact .search-form__submit {
    padding: 0 20px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .search-form {
        max-width: 100%;
    }

    .search-form__input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .search-form__input-wrapper {
        flex-direction: column;
    }

    .search-form__submit {
        width: 100%;
    }

    .search-form--large .search-form__input,
    .search-form--large .search-form__submit {
        height: 48px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .search-form__input,
    .search-form__submit {
        transition: none;
    }

    .search-form__submit:hover {
        transform: none;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .search-form__input {
        border: 3px solid #000;
    }

    .search-form__input:focus {
        border-color: #000;
    }
}

/* Content Components */

/* ============================================================================
   Component: Hero Section
   Usage: template-parts/content/hero.php
   ============================================================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background */

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero--overlay-light .hero__overlay {
    background: rgba(0, 0, 0, 0.2);
}

.hero--overlay-medium .hero__overlay {
    background: rgba(0, 0, 0, 0.4);
}

.hero--overlay-dark .hero__overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Container */

.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content */

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
}

.hero--align-center .hero__content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

.hero--align-left .hero__content {
    text-align: left;
    align-items: flex-start;
}

.hero--align-right .hero__content {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

/* Title */

.hero__title {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

/* Description */

.hero__description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.hero__description p {
    margin: 0;
}

/* Actions */

.hero__actions {
    display: flex;
    gap: 16px;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    background: #fff;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero__cta:focus {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Height Variations */

.hero--height-small {
    min-height: 300px;
}

.hero--height-medium {
    min-height: 500px;
}

.hero--height-large {
    min-height: 700px;
}

.hero--height-full {
    min-height: 100vh;
}

/* Without Background Image */

.hero:not(.hero--has-background) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive Design */

@media (max-width: 1024px) {
    .hero__title {
        font-size: 40px;
    }

    .hero__description {
        font-size: 16px;
    }

    .hero--height-large {
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 32px;
    }

    .hero__description {
        font-size: 15px;
    }

    .hero__content {
        gap: 20px;
    }

    .hero__cta {
        padding: 12px 24px;
        font-size: 15px;
    }

    .hero--height-small {
        min-height: 250px;
    }

    .hero--height-medium {
        min-height: 400px;
    }

    .hero--height-large {
        min-height: 500px;
    }

    .hero--height-full {
        min-height: 70vh;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta {
        justify-content: center;
        width: 100%;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .hero__cta {
        transition: none;
    }

    .hero__cta:hover {
        transform: none;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .hero__overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .hero__title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* ============================================================================
   Component: Content Section
   Usage: template-parts/content/section.php
   ============================================================================ */

.content-section {
    padding: 64px 0;
}

.content-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.content-section__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.content-section__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary, #3498db);
}

.content-section__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.content-section__description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.content-section__description p {
    margin: 0 0 16px 0;
}

.content-section__description p:last-child {
    margin-bottom: 0;
}

/* Content */

.content-section__content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Layout Variations */

.content-section--layout-centered .content-section__header {
    text-align: center;
    align-items: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section--layout-centered .content-section__content {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section--layout-wide .content-section__container {
    max-width: 1400px;
}

/* Background Variations */

.content-section--bg-white {
    background: #fff;
}

.content-section--bg-gray {
    background: #f8f9fa;
}

.content-section--bg-primary {
    background: var(--color-primary, #3498db);
}

.content-section--bg-primary .content-section__subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.content-section--bg-primary .content-section__title {
    color: #fff;
}

.content-section--bg-primary .content-section__description,
.content-section--bg-primary .content-section__content {
    color: rgba(255, 255, 255, 0.9);
}

.content-section--bg-dark {
    background: #1a1a1a;
}

.content-section--bg-dark .content-section__subtitle {
    color: var(--color-primary, #3498db);
}

.content-section--bg-dark .content-section__title {
    color: #fff;
}

.content-section--bg-dark .content-section__description,
.content-section--bg-dark .content-section__content {
    color: rgba(255, 255, 255, 0.8);
}

/* Padding Variations */

.content-section--padding-none {
    padding: 0;
}

.content-section--padding-small {
    padding: 32px 0;
}

.content-section--padding-medium {
    padding: 64px 0;
}

.content-section--padding-large {
    padding: 96px 0;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .content-section {
        padding: 56px 0;
    }

    .content-section__title {
        font-size: 32px;
    }

    .content-section__header {
        margin-bottom: 40px;
    }

    .content-section--padding-large {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 48px 0;
    }

    .content-section__container {
        padding: 0 16px;
    }

    .content-section__title {
        font-size: 28px;
    }

    .content-section__description {
        font-size: 15px;
    }

    .content-section__header {
        margin-bottom: 32px;
    }

    .content-section--padding-small {
        padding: 24px 0;
    }

    .content-section--padding-medium {
        padding: 48px 0;
    }

    .content-section--padding-large {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 40px 0;
    }

    .content-section__title {
        font-size: 24px;
    }

    .content-section__subtitle {
        font-size: 13px;
    }
}

/* Print Styles */

@media print {
    .content-section {
        padding: 20px 0;
    }

    .content-section--bg-gray,
    .content-section--bg-primary,
    .content-section--bg-dark {
        background: #fff;
    }

    .content-section--bg-dark .content-section__title,
    .content-section--bg-dark .content-section__description,
    .content-section--bg-dark .content-section__content {
        color: #000;
    }
}

/* ============================================================================
   Component: Empty State
   Usage: template-parts/content/empty-state.php
   ============================================================================ */

.empty-state {
    padding: 80px 20px;
    text-align: center;
}

.empty-state__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* Icon */

.empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #999;
    font-size: 48px;
}

/* Title */

.empty-state__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

/* Message */

.empty-state__message {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Search */

.empty-state__search {
    width: 100%;
    max-width: 500px;
    margin-top: 8px;
}

/* Actions */

.empty-state__actions {
    margin-top: 8px;
}

.empty-state__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: var(--color-primary, #3498db);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.empty-state__cta:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.empty-state__cta:focus {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 3px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .empty-state {
        padding: 60px 16px;
    }

    .empty-state__container {
        gap: 20px;
    }

    .empty-state__icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .empty-state__title {
        font-size: 24px;
    }

    .empty-state__message {
        font-size: 15px;
    }

    .empty-state__cta {
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .empty-state {
        padding: 48px 16px;
    }

    .empty-state__icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .empty-state__title {
        font-size: 20px;
    }

    .empty-state__cta {
        width: 100%;
        justify-content: center;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .empty-state__cta {
        transition: none;
    }

    .empty-state__cta:hover {
        transform: none;
    }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
    .empty-state__icon {
        border: 3px solid #000;
    }
}

/* ===========================================================================
   LAYOUT
   =========================================================================== */

/* ============================================================================
   LAYOUT: Footer
   Purpose: Footer links, social icons, responsive grid adjustments
   ========================================================================== */

.footer-link {
  transition: color var(--dur-300) var(--ease-standard);
}

.footer-link:hover {
  color: var(--brand-orange);
}

footer .flex.items-center.gap-5.text-2xl a {
  transition: transform var(--dur-150) var(--ease-standard), color var(--dur-150) var(--ease-standard);
}

footer .flex.items-center.gap-5.text-2xl a:hover {
  color: var(--brand-orange) !important;
  transform: translateY(-2px);
}

/* Keep footer logo white on dark backgrounds */

.invert {
  filter: invert(0) brightness(1);
}

/* App layout adjustments */

@media (max-width: 640px) {
  /* Reduce grid gap on mobile to prevent horizontal overflow */
  footer .footer-grid {
    gap: 1.5rem !important; /* 24px instead of 40px */
  }

  footer .footer-app {
    text-align: center;
    align-items: center;
  }
  footer .footer-app .app-buttons {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center;
  }
  footer .footer-app .app-download-btn {
    width: 100% !important;
    max-width: 18rem; /* 288px max to fit comfortably */
    justify-content: center !important;
  }
}

/* <=480px: force full-width sections + center content */

@media (max-width: 480px) {
  footer .footer-brand,
  footer .footer-about,
  footer .footer-info,
  footer .footer-app,
  footer .footer-love {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    align-items: center !important;
  }
  footer .footer-brand > *,
  footer .footer-about > *,
  footer .footer-info > *,
  footer .footer-app > *,
  footer .footer-love > * {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 768–1280: app buttons full width */

@media (min-width: 768px) and (max-width: 1280px) {
  footer .footer-app .app-buttons {
    width: 100% !important;
    max-width: none !important;
  }
  footer .footer-app .app-download-btn {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }
}

/* ≥1536px: custom 6-col grid, love = span 2 */

@media (min-width: 1536px) {
  footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr)) !important;
  }
  footer .footer-brand,
  footer .footer-about,
  footer .footer-info,
  footer .footer-app {
    grid-column: span 1 / span 1 !important;
  }
  footer .footer-love {
    grid-column: span 2 / span 2 !important;
  }
}

/* ===========================================================================
   PAGES
   =========================================================================== */

/* ============================================================================
   PAGE: Home
   Purpose: Hero section, newsletter section
   ========================================================================== */

/* Hero (home) */

.hero-gradient {
  background: linear-gradient(to bottom, rgba(255,255,255,.3), rgba(255,255,255,.1));
}

#home .hero-title {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: clamp(3.25rem, 11vw, 12rem);
  line-height: .92;
  letter-spacing: .5px;
  margin-bottom: 2rem;
}

#home .hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  margin-bottom: 2rem;
}

/* Tight-height desktops */

@media (max-height: 720px) and (min-width: 1024px) {
  #home .hero-title {
    margin-bottom: .25rem;
  }
  #home .hero-subtitle {
    margin-bottom: .75rem;
  }
}

/* Image hover polish */

#home img {
  transition: transform var(--dur-500) var(--ease-standard);
}

#home .relative:hover img {
  transform: scale(1.03);
}

/* Keep buttons readable */

#home .hero-actions a {
  white-space: nowrap;
}

/* Newsletter (home section) */

#newsletter .rounded-2xl {
  border-radius: 1.25rem;
}

#newsletter .p-8 {
  padding: 2rem;
}

@media (min-width: 768px) {
  #newsletter .p-8 {
    padding: 2.5rem;
  }
}

#newsletter input[type="email"] {
  height: 3rem;
  border-radius: .5rem;
  width: 100%;
}

#newsletter button[type="submit"] {
  height: 3rem;
  border-radius: 9999px;
}

/* Force 12-col split when on md+ */

@media (min-width: 768px) {
  #newsletter .grid {
    grid-template-columns: repeat(12, minmax(0,1fr)) !important;
  }
  #newsletter .grid > :first-child {
    grid-column: span 5 / span 5;
  }
  #newsletter .grid > :nth-child(2) {
    grid-column: span 7 / span 7;
  }
}

/* Email row span */

#newsletter .newsletter-email-row > * {
  grid-column: 1 / -1 !important;
}

/* Locations section - prevent horizontal overflow */

#locations {
  overflow-x: hidden;
}

/* News section - equal height cards */

#news .swiper-slide {
  height: auto;
}

#news .card-category {
  height: 100%;
}

#news .card-category > a {
  display: block;
  height: 100%;
}

#news .card-category-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#news .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ============================================================================
   PAGE: Menu & Product
   Purpose: Category headers, filters, product modals, allergens, nutrition
   ========================================================================== */

/* Category Hero - positioned at top behind header */

.category-hero-with-pattern {
  padding-top: 5rem; /* Space for fixed header (80px) */
  background-image:
    linear-gradient(to bottom right, rgba(255, 251, 235, 0.85), rgba(255, 237, 213, 0.85)),
    url('https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1920&h=400&fit=crop&q=80');
  background-repeat: no-repeat, repeat-x;
  background-position: top center, top center;
  background-size: 100% 100%, auto 100%;
}

@media (min-width: 768px) {
  .category-hero-with-pattern {
    padding-top: 6rem; /* Space for larger fixed header (96px) */
  }
}

/* Category Hero Gradient (fallback - not used when pattern class is present) */

.category-hero-gradient:not(.category-hero-with-pattern) {
  background: linear-gradient(to bottom right, #fffbeb, #ffedd5);
}

/* Page header + filters (menu/food/drinks templates) */

.page-header {
  position: relative;
  padding: 4rem 0 2.5rem;
  background: var(--light-cream);
  overflow: hidden;
}

.page-title {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  color: var(--logo-blue);
  margin-bottom: .75rem;
  font-size: 3rem;
  text-shadow: 2px 2px 0 rgba(236,122,20,.1);
}

.page-subtitle {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.filter-controls {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(30,58,95,.08);
}

/* Product detail modal (if/when used) */

.modal-product-image-full {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.modal-product-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0));
  padding: 2rem;
}

.modal-header-overlay .product-title {
  color: #fff;
  letter-spacing: .5px;
}

.modal-section {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30,58,95,.08);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  font-family: 'Oswald', 'Arial Black', sans-serif;
  letter-spacing: .5px;
}

/* Allergens */

.allergens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .allergens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.allergen-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.allergen-item.contains {
  background: #FEE2E2;
  border-color: #FECACA;
}

.allergen-item.may-contain {
  background: #FEF3C7;
  border-color: #FDE68A;
}

.allergen-highlight {
  font-weight: 700 !important;
  color: #dc2626;
  text-transform: uppercase;
}

.allergen-warning {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

/* Nutrition */

.nutrition-tables {
  border: none;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition-table th,
.nutrition-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.nutrition-header-alt {
  background: #f3f4f6;
  border-bottom: 2px solid #e5e7eb;
}

.nutrition-header-alt th {
  font-weight: 600;
  color: var(--logo-blue);
  text-transform: uppercase;
  font-size: 0.875rem;
}

.nutrition-subheader {
  color: #4b5563;
}

.nutrition-highlight {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  background: #EFF6FF;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #DBEAFE;
  margin-top: .5rem;
}

.highlight-label {
  font-size: .875rem;
  color: #4b5563;
}

.highlight-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--logo-blue);
}

.ingredient-text {
  line-height: 1.75;
}

.ingredient-section {
  margin-bottom: 1rem;
}

/* ============================================================================
   PAGE: Stores & News
   Purpose: Store listings, news page specific styles
   ========================================================================== */

/* Locations small helpers */

#locations a i {
  pointer-events: none;
}

#locations a .mr-2 {
  margin-right: .5rem;
}

/* ============================================================================
   PAGE: Rewards & About
   Purpose: Rewards container, delivery/benefits sections
   ========================================================================== */

/* Rewards-like container (used by delivery/benefits sections if applied) */

.rewards-container {
  background: linear-gradient(135deg, var(--light-cream) 0%, #FFF 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,.1);
  overflow: hidden;
}

.rewards-header {
  background: var(--logo-blue);
  color: #fff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.rewards-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rewards-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(236,122,20,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.rewards-icon i {
  color: var(--brand-orange);
  font-size: 1.5rem;
}

.rewards-progress {
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
  margin: 1rem 0;
}

.rewards-progress-bar {
  height: 100%;
  background: var(--brand-orange);
  border-radius: 5px;
}

/* About image fallback (tablet-only visual) */

.about-image {
  height: 300px;
}

/**
 * Authentication Pages (Login, Register & Password Reset)
 *
 * Styles for page-login.php, page-register.php and page-password-reset.php templates
 *
 * @package GMCosta
 * @since 1.0.0
 */

/* ============================================================================
   LAYOUT & CONTAINER
   ============================================================================ */

.login-page,
.register-page,
.password-reset-page {
    min-height: calc(100vh - var(--header-height, 80px) - var(--footer-height, 200px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-wrapper,
.register-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.login-box,
.register-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-box:hover,
.register-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   HEADER
   ============================================================================ */

.login-header,
.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title,
.register-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary, #2c3e50);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.login-subtitle,
.register-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary, #7f8c8d);
    margin: 0;
    line-height: 1.5;
}

/* ============================================================================
   MESSAGES & ERRORS
   ============================================================================ */

.login-errors,
.register-errors,
.login-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.login-errors,
.register-errors {
    background-color: #fee;
    border-left-color: #e74c3c;
}

.login-message {
    background-color: #e8f5e9;
    border-left-color: #4caf50;
}

.login-message--success {
    background-color: #e8f5e9;
    border-left-color: #4caf50;
}

.login-message--info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.error-message {
    margin: 0;
    color: #c0392b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.error-message:not(:last-child) {
    margin-bottom: 0.5rem;
}

.login-message p {
    margin: 0;
    color: #2d6a4f;
    font-size: 0.9rem;
}

.login-message--info p {
    color: #1565c0;
}

/* ============================================================================
   FORM ELEMENTS
   ============================================================================ */

.login-form,
.register-form {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group--half {
    flex: 1;
}

.form-group--checkbox {
    margin-bottom: 1rem;
}

.form-group--info {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text, #2c3e50);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group--checkbox label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.form-group--checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
    cursor: pointer;
}

.required {
    color: #e74c3c;
    font-weight: 700;
    margin-left: 0.25rem;
}

.form-group input.input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input.input:focus {
    outline: none;
    border-color: var(--color-primary, #3498db);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input.input:hover {
    border-color: #bdbdbd;
}

.field-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: var(--color-text-secondary, #7f8c8d);
    line-height: 1.4;
}

.info-text {
    margin: 0;
    padding: 0.75rem;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #856404;
}

/* ============================================================================
   FORM ACTIONS
   ============================================================================ */

.form-actions {
    margin-bottom: 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.button-primary {
    background-color: var(--color-primary, #3498db);
    color: #ffffff;
}

.button-primary:hover {
    background-color: var(--color-primary-dark, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.button-primary:active {
    transform: translateY(0);
}

.button-large {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

/* ============================================================================
   FORM TERMS
   ============================================================================ */

.form-terms {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.terms-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-secondary, #7f8c8d);
    text-align: center;
    line-height: 1.5;
}

.terms-text a {
    color: var(--color-primary, #3498db);
    text-decoration: underline;
}

.terms-text a:hover {
    color: var(--color-primary-dark, #2980b9);
}

/* ============================================================================
   FOOTER LINKS
   ============================================================================ */

.login-footer,
.register-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.login-link,
.register-link {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary, #7f8c8d);
}

.login-link a,
.register-link a {
    color: var(--color-primary, #3498db);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover,
.register-link a:hover {
    color: var(--color-primary-dark, #2980b9);
    text-decoration: underline;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 640px) {
    .login-box,
    .register-box {
        padding: 1.5rem;
        margin: 1rem;
    }

    .login-title,
    .register-title {
        font-size: 1.5rem;
    }

    .login-subtitle,
    .register-subtitle {
        font-size: 0.9rem;
    }

    .button-large {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

/* Focus visible for keyboard navigation */

.button:focus-visible,
.form-group input:focus-visible {
    outline: 3px solid var(--color-primary, #3498db);
    outline-offset: 2px;
}

/* High contrast mode support */

@media (prefers-contrast: high) {
    .login-box,
    .register-box {
        border: 2px solid #000;
    }

    .form-group input.input {
        border-width: 3px;
    }
}

/* Reduced motion support */

@media (prefers-reduced-motion: reduce) {
    .login-box,
    .register-box,
    .button,
    .form-group input.input {
        transition: none;
    }
}

/* ===========================================================================
   UTILITIES
   =========================================================================== */

/* ============================================================================
   UTILITIES: Progressive Enhancement & Safety
   Purpose: Accessibility, reduced motion, touch handling, scroll offset
   ========================================================================== */

/* When there's no IntersectionObserver, skip fancy transitions */

.no-observer [data-animate] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Respect users who prefer reduced motion */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* Better touch hinting on tappable controls (fixes -ms-touch-action warning) */

a,
button,
[role="button"] {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

/* Improves tap responsiveness on mobile and addresses -ms-touch-action warning */

.touch-manipulation {
  touch-action: manipulation;
}

/* Anchor offset for fixed header */

.scroll-offset {
  scroll-margin-top: 96px;
}

.has-sticky-offset {
  scroll-margin-top: 6rem;
}

/* Respect reduced motion for scroll as well */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Ambient accents (identical visuals to your inline styles) */

.accent-orange {
  background: radial-gradient(50% 50% at 50% 50%, #EC7A14 0%, rgba(236,122,20,0.06) 60%, transparent 70%);
}

.accent-blue {
  background: radial-gradient(50% 50% at 50% 50%, #1E3A5F 0%, rgba(30,58,95,0.06) 60%, transparent 70%);
}

/* Ambient Decoration Blobs (alternative gradient) */

.ambient-orange {
  background: radial-gradient(circle, rgba(236,122,20,0.25) 0%, rgba(236,122,20,0.1) 40%, transparent 70%);
}

.ambient-blue {
  background: radial-gradient(circle, rgba(30,58,95,0.25) 0%, rgba(30,58,95,0.1) 40%, transparent 70%);
}

/* View All Buttons */

.btn-view-all-stores,
.btn-view-all-news {
  display: inline-block;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-view-all-stores:hover,
.btn-view-all-news:hover {
  background: var(--brand-orange);
  color: #fff;
}

/* Scroll Arrow */

.scroll-arrow {
  cursor: pointer;
}

/* Locations Grid */

.locations-grid {
  display: grid;
}

/* ============================================================================
   UTILITIES: Prose (WordPress Content Typography)
   Purpose: Styling for user-generated content, blog posts, pages
   ========================================================================== */

.prose {
  color: #374151;
  line-height: 1.75;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: #111827;
  font-weight: 600;
}

.prose em {
  font-style: italic;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose h1:first-child,
.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child,
.prose h5:first-child,
.prose h6:first-child {
  margin-top: 0;
}

.prose a {
  color: #EC7A14;
  text-decoration: underline;
  font-weight: 500;
}

.prose a:hover {
  color: #d66a0d;
}
