/* ===================================
   FORCE HIDE MOBILE MENU ON DESKTOP
   Add this to the TOP of your CSS file
   =================================== */

/* IMMEDIATELY HIDE ALL MOBILE MENU ELEMENTS */
.mobile-menu-overlay,
.mobile-menu,
.mobile-search-expanded,
.mobile-menu-header,
.mobile-menu-content,
.mobile-menu-footer,
.mobile-location-selector,
.mobile-menu-section,
.mobile-menu-item,
.mobile-auth-buttons {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ONLY SHOW ON MOBILE/TABLET (max 991px) */
@media only screen and (max-width: 991px) {
    /* Reset the display for mobile menu elements */
    .mobile-menu-overlay {
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .mobile-menu-overlay.active {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-search-expanded {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show all child elements when on mobile */
    .mobile-menu-header,
    .mobile-menu-content,
    .mobile-menu-footer,
    .mobile-location-selector,
    .mobile-menu-section,
    .mobile-menu-item,
    .mobile-auth-buttons {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-header,
    .mobile-auth-buttons {
        display: flex !important;
    }
}

/* ALTERNATIVE: COMPLETELY REMOVE FROM DESKTOP */
@media only screen and (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-menu,
    .mobile-search-expanded {
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
    }
}

/* HIDE HAMBURGER ON DESKTOP */
@media only screen and (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}



/* ===================================
   PRODUCTS & SHOPPING HOME - COMPLETE STYLES
   Well-organized for maintenance
   =================================== */

/* ===================================
   TABLE OF CONTENTS
   1. CSS Variables & Root
   2. Base Styles & Resets
   3. Header Styles
      3.1 Top Navigation
      3.2 Logo & Brand
      3.3 Search Bar
      3.4 User Actions
      3.5 Products Navigation Bar
   4. Hero Section
   5. Floating Create Shop Button
   6. Main Content Section
      6.1 Section Header
      6.2 Filters Sidebar
      6.3 Shop Cards Grid
      6.4 Load More
   7. Footer Styles
      7.1 Newsletter Section
      7.2 Footer Grid
      7.3 Footer Bottom
   8. Animations & Transitions
   =================================== */

/* ===================================
   1. CSS VARIABLES & ROOT
   =================================== */
:root {
  /* Brand Colors */
  --primary-color: #1a8917;
  --primary-dark: #146812;
  --primary-light: #22a31f;
  --primary-lighter: #2fb32b;
  --secondary-color: #667eea;
  --accent-color: #f093fb;
  --accent-yellow: #e6c855;
  
  /* Grayscale */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Footer specific colors */
  --footer-bg: #0f172a;
  --footer-bg-light: #1e293b;
  --footer-text: #94a3b8;
  --footer-heading: #f1f5f9;
  --footer-link: #cbd5e1;
  --footer-link-hover: #ffffff;
  --footer-border: rgba(148, 163, 184, 0.2);
  
  /* Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  --font-logo: 'Space Grotesk', 'Bebas Neue', 'Oswald', 'Arial Black', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ===================================
   2. BASE STYLES & RESETS
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  background-color: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-base);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===================================
   3. HEADER STYLES
   =================================== */

/* 3.1 Top Navigation */
.header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  animation: fadeIn 0.5s ease;
}

.top-nav {
  border-bottom: 2px solid var(--primary-color);
  position: relative;
  z-index: 10;
  overflow: visible;
}

.top-nav::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-color) 20%, 
    var(--primary-light) 50%, 
    var(--primary-color) 77.5%,
    transparent 100%);
  opacity: 0.5;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s ease;
}

.header:hover .top-nav::after {
  transform: scaleX(1);
}

.top-nav-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: var(--spacing-xl);
  align-items: center;
  padding: var(--spacing-md) 0;
  overflow: visible;
}

/* ===================================
   LOGO & BRAND STYLES - EXACT MATCH TO HOME PAGE
   =================================== */

/* Logo Container */
a.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

/* Subtle hover background */
a.logo-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(26, 137, 23, 0.05) 50%, 
    transparent 100%);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

a.logo-container:hover::after {
  opacity: 1;
}

/* Logo wrapper */
.logo {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  position: relative;
  animation: logoEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Logo entrance animation */
@keyframes logoEntrance {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(26, 137, 23, 0.1));
  transition: filter var(--transition-base);
}

.logo:hover img {
  filter: drop-shadow(0 4px 8px rgba(26, 137, 23, 0.3)) brightness(1.1) contrast(1.05);
}

.logo:hover {
  transform: rotate(-5deg) scale(1.05);
}

/* Logo glow effect */
.logo::after {
  content: '';
  position: absolute;
  inset: -5px;
  background: radial-gradient(circle, rgba(26, 137, 23, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.logo:hover::after {
  opacity: 1;
}

/* Brand text animations */
@keyframes brandSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes brandPulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(26, 137, 23, 0.5));
  }
}

.brand-text {
  animation: 
    brandSlideIn 0.6s ease 0.3s backwards,
    brandPulse 2s ease 1s 2;
}

/* Big bold brand name - EXACT MATCH */
.brand-text h1 {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-logo);
  margin-bottom: 0;
  line-height: 0.85;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

/* Underline for both letters */
.brand-text h1::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-color) 10%, 
    var(--primary-light) 50%, 
    var(--primary-color) 90%,
    transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
  opacity: 0.6;
}

.logo-container:hover .brand-text h1::after {
  transform: scaleX(1);
}

/* Bebas Neue fallback */
@supports (font-family: 'Bebas Neue') {
  .brand-text h1 {
    font-family: 'Bebas Neue', var(--font-logo);
    letter-spacing: 0.08em;
    font-weight: 400;
  }
}

.brand-v {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  transition: all var(--transition-base);
  
  /* 3D text effect */
  text-shadow: 
    1px 1px 0 var(--primary-dark),
    2px 2px 0 rgba(26, 137, 23, 0.3),
    3px 3px 3px rgba(26, 137, 23, 0.2),
    0 0 20px rgba(26, 137, 23, 0.3);
}

/* V decoration */
.brand-v::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 100%;
  background: var(--primary-light);
  transform: skewY(-15deg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.brand-v::after {
  display: none;
}

/* M styling to match V */
.brand-m {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  transition: all var(--transition-base);
  
  text-shadow: 
    1px 1px 0 var(--primary-dark),
    2px 2px 0 rgba(26, 137, 23, 0.3),
    3px 3px 3px rgba(26, 137, 23, 0.2),
    0 0 20px rgba(26, 137, 23, 0.3);
}

/* M decoration */
.brand-m::before {
  content: '';
  position: absolute;
  top: 0;
  right: -2px;
  width: 2px;
  height: 100%;
  background: var(--primary-light);
  transform: skewY(15deg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* Logo hover effects */
.logo-container:hover .brand-text h1 {
  filter: drop-shadow(0 0 20px rgba(26, 137, 23, 0.4));
}

.logo-container:hover .brand-v::before,
.logo-container:hover .brand-m::before {
  opacity: 0.7;
}

.logo-container:hover .brand-v {
  transform: translateY(-1px) skewY(-2deg);
  color: var(--primary-light);
}

.logo-container:hover .brand-m {
  transform: translateY(-1px) skewY(2deg);
  color: var(--primary-light);
}

/* Pentagon decoration - fancy! */
.brand-text::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  transform: translateY(-50%) rotate(45deg);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.3;
  transition: all var(--transition-base);
}

.logo-container:hover .brand-text::before {
  opacity: 0.6;
  transform: translateY(-50%) rotate(90deg) scale(1.2);
  background: var(--primary-light);
}

.slogan {
  font-size: 0.70rem;
  color: var(--gray-600);
  margin: 0;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-weight: 500;
  opacity: 0.8;
  transition: all var(--transition-base);
}

.logo-container:hover .slogan {
  color: var(--primary-color);
  opacity: 0.6;
  letter-spacing: 0.2em;
}

/* 3.3 Search Bar Styles */
.search-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-dropdown) + 5;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #045d21;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: 48px;
}

.search-wrapper:hover {
  border-color: #6cab84;
  box-shadow: 0 2px 8px rgba(108, 171, 132, 0.15);
}

.search-wrapper:focus-within {
  border-color: #6cab84;
  box-shadow: 
    0 0 0 3px rgba(108, 171, 132, 0.1),
    0 4px 12px rgba(108, 171, 132, 0.15);
  transform: translateY(-1px);
}

.search-category-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  border-right: 1px solid #e5e7eb;
  background: #fafbfc;
}

.search-category-dropdown select {
  appearance: none;
  padding: 0 40px 0 20px;
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 0.925rem;
  color: #374151;
  cursor: pointer;
  outline: none;
  height: 100%;
  min-width: 130px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.search-category-dropdown select:hover {
  color: #6cab84;
  background: rgba(108, 171, 132, 0.04);
}

.dropdown-indicator {
  position: absolute;
  right: 16px;
  color: #6b7280;
  font-size: 0.75rem;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1;
}

.search-category-dropdown:hover .dropdown-indicator {
  color: #6cab84;
  transform: rotate(180deg);
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.search-input {
  flex: 1;
  padding: 0 16px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: #1f2937;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
  transition: all 0.3s ease;
}

.search-input:focus::placeholder {
  color: #d1d5db;
}

.voice-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.voice-search-btn:hover {
  color: #6cab84;
  background: rgba(108, 171, 132, 0.04);
}

.voice-search-btn i {
  font-size: 1rem;
}

.search-btn {
  height: 100%;
  padding: 0 32px;
  background: #6cab84;
  color: white;
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.search-btn:hover {
  background: #5a9972;
  transform: translateX(2px);
}

.search-btn:hover::before {
  width: 300px;
  height: 300px;
}

.search-btn:active {
  background: #4a8862;
  transform: translateX(0);
}

.search-btn i {
  font-size: 1.125rem;
}

.search-btn-text {
  font-size: 0.925rem;
  font-weight: 600;
  margin-left: 4px;
}

/* ===================================
   USER ACCOUNT & AUTH BUTTONS - CLEAN & MODERN
   =================================== */

/* User Account Button */
.user-account {
  position: relative;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--spacing-sm);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
  background: transparent;
  z-index: var(--z-dropdown) + 10;
}

.user-account:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

.user-account i {
  display: block;
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

/* Account Dropdown - Clean Modern Design */
.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200, #e5e7eb);
  z-index: var(--z-modal);
}

/* Arrow */
.account-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 1;
}

.user-account:hover .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Header */
.dropdown-header {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
}

.dropdown-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900, #111827);
  margin: 0 0 4px 0;
}

.dropdown-header p {
  font-size: 0.8125rem;
  color: var(--gray-500, #6b7280);
  margin: 0;
}

/* Simple Divider */
.dropdown-divider {
  height: 1px;
  background: var(--gray-200, #e5e7eb);
  margin: 1rem 0;
}

/* Account Menu - Clean List */
.account-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-menu li {
  margin-bottom: 0.25rem;
}

.account-menu li:last-child {
  margin-bottom: 0;
}

.account-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  color: var(--gray-700);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.account-menu li a:hover {
  background: var(--gray-50);
  color: var(--primary-color);
}

.account-menu i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.account-menu li a:hover i {
  color: var(--primary-color);
}

/* Delivery Location */
.deliver-to {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  position: relative;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown) + 10;
}

.deliver-to:hover {
  background: var(--gray-100);
}

.deliver-to i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.deliver-text {
  display: flex;
  flex-direction: column;
}

.deliver-label {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.deliver-location {
  font-weight: 600;
  color: var(--gray-900);
}

.location-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 5px 10px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md);
  margin-top: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-modal);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.location-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 1;
}

.deliver-to:hover .location-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: var(--z-modal) + 10;
}

.location-dropdown ul {
  list-style: none;
}

.location-dropdown li {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.location-dropdown li:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

/* Cart Icon */
.cart-container {
  position: relative;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--spacing-sm);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown) + 10;
}

.cart-container:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===================================
   LOGGED-IN USER ACCOUNT STYLES
   Polished & elegant dropdown design
   =================================== */

/* User Account Container when logged in */
.user-actions.logged-in .user-account {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
  border: 1px solid rgba(26, 137, 23, 0.2);
  border-radius: 50px;
  padding: 6px 16px 6px 6px;
  box-shadow: 0 2px 8px rgba(26, 137, 23, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.user-actions.logged-in .user-account:hover {
  background: linear-gradient(135deg, #e8f5e9 0%, #dcfce7 100%);
  border-color: rgba(26, 137, 23, 0.3);
  box-shadow: 0 4px 12px rgba(26, 137, 23, 0.15);
  transform: translateY(-1px);
}

/* User Avatar */
.user-actions.logged-in .user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.user-actions.logged-in .user-account:hover .user-avatar {
  transform: scale(1.05);
}

/* Welcome Message */
.user-actions.logged-in .welcome-message {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  line-height: 1.2;
}

.user-actions.logged-in .welcome-message .username {
  color: var(--primary-color);
  font-weight: 600;
}

/* ===================================
   LOGGED-IN USER DROPDOWN
   Clean, modern dropdown design
   =================================== */

/* Account Dropdown - Polished Design */
.user-actions.logged-in .account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border-radius: 16px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0;
  width: 260px;
  z-index: 1010;
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Arrow indicator */
.user-actions.logged-in .account-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 1;
}

.user-actions.logged-in .user-account:hover .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Header - User Info */
.user-actions.logged-in .account-dropdown .dropdown-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fdf9 0%, #f0fdf4 100%);
  border-bottom: 1px solid rgba(26, 137, 23, 0.1);
  text-align: left;
  margin: 0;
}

.user-actions.logged-in .account-dropdown .dropdown-header .username {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  display: block;
  margin-bottom: 2px;
  line-height: 1.3;
}

.user-actions.logged-in .account-dropdown .dropdown-header .user-email {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Dropdown Links */
.user-actions.logged-in .account-dropdown .dropdown-links {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.user-actions.logged-in .account-dropdown .dropdown-links li {
  margin: 0;
}

.user-actions.logged-in .account-dropdown .dropdown-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.user-actions.logged-in .account-dropdown .dropdown-links a:hover {
  background-color: rgba(26, 137, 23, 0.05);
  color: var(--primary-color);
  padding-left: 24px;
}

.user-actions.logged-in .account-dropdown .dropdown-links a i {
  width: 18px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.user-actions.logged-in .account-dropdown .dropdown-links a:hover i {
  color: var(--primary-color);
}

/* Dropdown Divider */
.user-actions.logged-in .account-dropdown .dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200) 20%, var(--gray-200) 80%, transparent);
  margin: 4px 16px;
}

/* Logout Link - Special Styling */
.user-actions.logged-in .account-dropdown .logout-link {
  padding-bottom: 4px;
}

.user-actions.logged-in .account-dropdown .logout-link a {
  color: #dc2626;
}

.user-actions.logged-in .account-dropdown .logout-link a i {
  color: #dc2626;
}

.user-actions.logged-in .account-dropdown .logout-link a:hover {
  background-color: #fef2f2;
  color: #b91c1c;
}

.user-actions.logged-in .account-dropdown .logout-link a:hover i {
  color: #b91c1c;
}

/* 3.5 Products Navigation Bar */
.products-nav {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.products-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hide mobile cart on desktop - only shown on mobile */
.mobile-cart-container {
  display: none;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-weight: 500;
  transition: all var(--transition-base);
}

.nav-back:hover {
  color: var(--primary-color);
  transform: translateX(-3px);
}

.nav-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.nav-breadcrumb a {
  color: var(--gray-600);
  transition: color var(--transition-base);
}

.nav-breadcrumb a:hover {
  color: var(--primary-color);
}

.nav-breadcrumb i {
  font-size: 0.7rem;
  color: var(--gray-400);
}

.nav-breadcrumb span {
  color: var(--gray-900);
  font-weight: 600;
}

.create-shop-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.create-shop-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   4. HERO SECTION - WITH CUSTOM IMAGE SUPPORT
   =================================== */
.shops-hero {
  /* Default background image */
  --hero-default-image: url('https://images.unsplash.com/photo-1472851294608-062f824d29cc?w=1920&h=600&fit=crop');
  
  /* Use custom image if provided, otherwise use default */
  background-image: var(--hero-image, var(--hero-default-image));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  
  /* Fallback gradient if image fails to load */
  background-color: var(--primary-color);
  
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* Dark overlay to ensure text readability */
.shops-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(26, 137, 23, 0.5) 0%, 
    rgba(20, 104, 18, 0.5) 100%);
  z-index: 1;
}

/* Alternative overlay styles you can use by adding classes */
.shops-hero.light-overlay::before {
  background: linear-gradient(135deg, 
    rgba(26, 137, 23, 0.6) 0%, 
    rgba(20, 104, 18, 0.6) 100%);
}

.shops-hero.dark-overlay::before {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.5) 100%);
}

.shops-hero.gradient-overlay::before {
  background: linear-gradient(135deg, 
    rgba(26, 137, 23, 0.9) 0%, 
    rgba(102, 126, 234, 0.9) 100%);
}

.shops-hero.no-overlay::before {
  display: none;
}

/* Support for data attribute method */
.shops-hero[data-hero-image] {
  background-image: attr(data-hero-image url);
}

/* Parallax effect option */
.shops-hero.parallax {
  background-attachment: fixed;
}

.shops-hero.no-parallax {
  background-attachment: scroll;
}

/* Hero Pattern Overlay */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, 
      transparent, 
      transparent 35px, 
      rgba(255,255,255,.05) 35px, 
      rgba(255,255,255,.05) 70px);
  pointer-events: none;
  z-index: 2;
}

/* Remove pattern if desired */
.shops-hero.no-pattern .hero-pattern {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Rest of hero styles remain the same */
.hero-badge {
  display: inline-block;
  background: var(--accent-yellow);
  color: var(--gray-900);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(230, 200, 85, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
  text-transform: capitalize;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: capitalize;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.hero-cta:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.hero-cta:hover i {
  transform: translateY(2px);
}

/* Additional hero customization classes */
.shops-hero.hero-tall {
  min-height: 500px;
  padding: 6rem 0;
}

.shops-hero.hero-short {
  min-height: 300px;
  padding: 3rem 0;
}

.shops-hero.text-left .hero-content {
  text-align: left;
}

.shops-hero.text-right .hero-content {
  text-align: right;
}

/* ===================================
   5. FLOATING CREATE SHOP BUTTON
   =================================== */
.floating-create-shop-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 60px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(26, 137, 23, 0.4);
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  animation: float 3s ease-in-out infinite;
}

.floating-btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-create-shop-btn i {
  font-size: 1.2rem;
}

.floating-btn-text {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.floating-btn-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-yellow);
  color: var(--gray-900);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.floating-create-shop-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 30px rgba(26, 137, 23, 0.5);
}

.floating-create-shop-btn:active {
  transform: translateY(-1px) scale(1);
}

/* ===================================
   6. MAIN CONTENT SECTION
   =================================== */

/* 6.1 Section Header */
.shops-listing {
  padding: 3rem 0;
  background: var(--gray-50);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  font-family: var(--font-secondary);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sort-dropdown select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
}



.shops-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}

/* 6.2 Filters Sidebar */
.filters-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.protection-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 137, 23, 0.1);
  padding: 10px 15px;
  border-radius: 6px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.protection-badge i {
  font-size: 16px;
}

.protection-text {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.filter-group {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  cursor: pointer;
  position: relative;
}

.filter-checkbox input {
  position: absolute;
  opacity: 0;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  margin-right: 0.75rem;
  transition: var(--transition);
  position: relative;
}

.filter-checkbox input:checked + .checkbox-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.filter-checkbox input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.filter-label i {
  color: var(--primary-color);
}

.rating-filters {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rating-filter {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.rating-filter input {
  margin-right: 0.5rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.rating-stars i {
  color: #f59e0b;
  font-size: 0.9rem;
}

.location-select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
}

/* 6.3 Shop Cards Grid - PRESERVED AS IS */
.shops-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shop-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  min-height: 260px;
}

.shop-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0;
}

.shop-right {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.shop-left {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.shop-logo {
  width: 60px;
  height: 60px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}

.shop-title-row {
  margin-bottom: 12px;
}

.shop-name {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
  text-decoration: underline;
  cursor: pointer;
}

.shop-name:hover {
  color: var(--primary-color);
}

/* Shop Logo and Name Links */
.shop-logo-link,
.shop-name-link {
  text-decoration: none;
  display: block;
}

.shop-logo-link .shop-logo {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-logo-link:hover .shop-logo {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.shop-name-link {
  color: inherit;
}

.shop-name-link .shop-name {
  text-decoration: none;
}

.shop-name-link:hover .shop-name {
  color: var(--primary-color);
  text-decoration: underline;
}

.shop-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.years-badge {
  color: #666;
  font-size: 14px;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 14px;
}

.verified-badge i {
  color: var(--primary-color);
  font-size: 14px;
}

.shop-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 14px;
}

.rating-value {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
}

.rating-text {
  color: #666;
}

.shop-response-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.response-label {
  color: #999;
}

.response-value {
  color: #333;
  font-weight: 600;
  background: #e8f5e9;
  padding: 2px 8px;
  border-radius: 4px;
}

.shop-products-row {
  font-size: 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.products-label {
  color: #999;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.products-list {
  color: #333;
  margin: 0;
  line-height: 1.6;
  display: block;
}

.shop-products-wrapper {
  display: flex;
  align-items: center;
}

.shop-products-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 100%;
}

.preview-small-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.product-large-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.product-preview {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}

.product-preview.small {
  width: 90px;
}

.product-preview.large {
  width: 210px;
}

.product-preview:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-preview.small img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  display: block;
}

.product-preview.large img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 8px;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
}

.product-price {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-moq {
  display: block;
  font-size: 11px;
  color: var(--primary-color);
  font-weight: 500;
  white-space: nowrap;
}

.shop-actions {
  display: flex;
  gap: 10px;
  justify-content: stretch;
  width: 210px;
}

.chat-btn,
.visit-shop-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  flex: 1;
}

.chat-btn {
  background: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.chat-btn:hover {
  background: rgba(26, 137, 23, 0.05);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.visit-shop-btn {
  background: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
  display: inline-block;
  text-decoration: none;
}

.visit-shop-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(26, 137, 23, 0.2);
}

.shop-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-card:hover::after {
  opacity: 1;
}

/* 6.4 Load More */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  padding: 1rem 3rem;
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===================================
   7. FOOTER STYLES
   =================================== */

/* 7.1 Newsletter Section */
.modern-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 80px;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color) 20%, 
    var(--primary-color) 80%, 
    transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 4px 20px rgba(26, 137, 23, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(26, 137, 23, 0.4);
}

.back-to-top:active {
  transform: scale(0.95);
}

.footer-main {
  padding: 60px 0 40px;
}

.newsletter-section {
  background: linear-gradient(135deg, var(--footer-bg-light) 0%, var(--footer-bg) 100%);
  border-radius: 24px;
  padding: 48px;
  margin: -40px 0 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--footer-heading);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.newsletter-title i {
  color: var(--primary-color);
  font-size: 1.75rem;
}

.newsletter-subtitle {
  font-size: 1.125rem;
  color: var(--footer-text);
  margin: 0 0 32px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--footer-border);
  border-radius: 60px;
  padding: 4px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 137, 23, 0.1);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  color: var(--footer-heading);
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--footer-text);
}

.newsletter-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 56px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--primary-dark);
  transform: translateX(2px);
}

.newsletter-btn i {
  transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
  transform: translateX(4px);
}

.newsletter-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--footer-text);
}

.newsletter-meta i {
  margin-right: 6px;
  color: var(--primary-color);
}

.newsletter-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.1;
}

.decoration-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.decoration-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -50px;
  animation: float 15s ease-in-out infinite reverse;
}

/* 7.2 Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-column {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }
.footer-column:nth-child(5) { animation-delay: 0.5s; }

.company-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--footer-heading);
  margin: 0;
}

.logo-text p {
  font-size: 0.875rem;
  color: var(--footer-text);
  margin: 0;
}

.company-description {
  line-height: 1.8;
  color: var(--footer-text);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-link);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(26, 137, 23, 0.3);
}

.column-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--footer-heading);
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 12px;
}

.column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  position: relative;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--footer-link-hover);
  transform: translateX(4px);
}

.footer-links a:hover i {
  transform: translateX(4px);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(26, 137, 23, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--footer-heading);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.contact-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--footer-text);
}

.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--footer-border);
  border-radius: 16px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-text strong {
  display: block;
  color: var(--footer-heading);
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.8125rem;
  color: var(--footer-text);
}

/* 7.3 Footer Bottom */
.footer-bottom {
  background: var(--footer-bg-light);
  padding: 24px 0;
  border-top: 1px solid var(--footer-border);
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.copyright {
  color: var(--footer-text);
  font-size: 0.875rem;
}

.copyright i {
  color: #e74c3c;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bottom-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  padding: 4px 8px;
}

.bottom-links a:hover {
  color: var(--footer-link-hover);
}

.separator {
  color: var(--footer-border);
  user-select: none;
}

/* ===================================
   8. ANIMATIONS & TRANSITIONS
   =================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Text selection */
::selection {
  background: var(--primary-color);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--white);
}

/* Print styles */
@media print {
  .header,
  .modern-footer,
  .floating-create-shop-btn,
  .back-to-top {
    display: none;
  }
}

/* ===================================
   PRODUCT SEARCH RESULTS CARDS
   Matching Home Page Design
   =================================== */

/* Product Cards Grid */
.shops-grid .product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.shops-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #1a8917;
}

/* Product Image */
.product-card .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f8f8;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Product Badges */
.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card .product-badge.bestseller {
    background: #ef4444;
    color: white;
}

.product-card .product-badge.featured {
    background: #3b82f6;
    color: white;
}

/* Product Action Buttons (favorite, quick-view) */
.product-card .product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-card .action-btn:hover {
    background: #1a8917;
    color: white;
    transform: scale(1.1);
}

.product-card .action-btn i {
    font-size: 14px;
}

/* Product Info */
.product-card .product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-card .product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #222222;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

/* Shop Info */
.product-card .product-shop-info {
    margin-bottom: 4px;
}

.product-card .shop-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    transition: color 0.2s ease;
}

.product-card .shop-link:hover {
    color: #1a8917;
}

.product-card .shop-logo-mini {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

/* Product Rating */
.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.product-card .rating-stars {
    color: #ff9500;
    font-weight: 600;
}

.product-card .rating-stars i {
    font-size: 11px;
}

.product-card .rating-count {
    color: #666666;
}

/* Product Price */
.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
}

.product-card .current-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #222222;
}

.product-card .original-price {
    font-size: 0.8rem;
    color: #999999;
    text-decoration: line-through;
}

/* Add to Cart Button */
.product-card .add-to-cart-btn {
    margin-top: auto;
    background: #0c8012;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.product-card .add-to-cart-btn:hover {
    background: #1a8917;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 137, 23, 0.25);
}

.product-card .add-to-cart-btn:active {
    transform: translateY(0);
}

.product-card .add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.product-card .add-to-cart-btn.added {
    background: #10b981;
}

.product-card .add-to-cart-btn i {
    font-size: 0.875rem;
}

/* Loading State */
.shops-grid .loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
}

.shops-grid .loading-state i {
    font-size: 40px;
    color: var(--primary-color, #16a34a);
    margin-bottom: 16px;
}

/* No Results State */
.shops-grid .no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.shops-grid .no-results i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.shops-grid .no-results h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 8px 0;
}

.shops-grid .no-results p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ===================================
   PRODUCT CARDS - MOBILE RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .shops-grid .product-card {
        border-radius: 8px;
    }

    /* Show action buttons on mobile (always visible) */
    .product-card .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .product-card .action-btn {
        width: 32px;
        height: 32px;
    }

    .product-card .action-btn i {
        font-size: 12px;
    }

    .product-card .product-info {
        padding: 12px;
        gap: 6px;
    }

    .product-card .product-name {
        font-size: 0.75rem;
        min-height: 2.4em;
    }

    .product-card .shop-link {
        font-size: 11px;
    }

    .product-card .shop-logo-mini {
        width: 16px;
        height: 16px;
    }

    .product-card .product-rating {
        font-size: 0.6875rem;
    }

    .product-card .rating-stars i {
        font-size: 10px;
    }

    .product-card .current-price {
        font-size: 0.9375rem;
    }

    .product-card .original-price {
        font-size: 0.75rem;
    }

    .product-card .add-to-cart-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        gap: 4px;
    }

    .product-card .add-to-cart-btn i {
        font-size: 0.75rem;
    }

    .product-card .product-badge {
        padding: 3px 8px;
        font-size: 0.5625rem;
    }

    .shops-grid .loading-state,
    .shops-grid .no-results {
        padding: 40px 16px;
    }

    .shops-grid .no-results i {
        font-size: 36px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .product-card .action-btn {
        width: 28px;
        height: 28px;
    }

    .product-card .product-info {
        padding: 10px;
    }

    .product-card .product-name {
        font-size: 0.7rem;
    }

    .product-card .current-price {
        font-size: 0.875rem;
    }

    .product-card .original-price {
        font-size: 0.6875rem;
    }

    .product-card .add-to-cart-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    .product-card:active {
        transform: scale(0.98);
        transition-duration: 0.1s;
    }

    .product-card .add-to-cart-btn:active {
        transform: scale(0.96);
        transition-duration: 0.1s;
    }

    /* Increase touch targets */
    .product-card .action-btn,
    .product-card .add-to-cart-btn {
        min-height: 44px;
    }
}



