/* Premium Design Tokens */
:root {
  --primary: #1F130C;      /* Very Dark Espresso */
  --secondary: #A67C52;    /* Roasted Gold */
  --accent: #C85A17;       /* Burnt Orange (CTA) */
  --bg-body: #FDFBF7;      /* Warm Paper/Cream */
  --bg-light: #F4EFEA;     /* Latte foam */
  --text-body: #5A5A5A;
  --white: #ffffff;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --container: 1140px;
  --radius: 4px;
  --transition: 0.4s ease;

  /* Legacy variables for backward compatibility */
  --primary-color: #1F130C;
  --secondary-color: #A67C52;
  --accent-color: #C85A17;
  --dark-color: #1F130C;
  --light-color: #F4EFEA;
  --text-color: #5A5A5A;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-top: 0;
  line-height: 1.2;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

section {
  padding: 100px 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-body);
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
  font-family: var(--font-heading);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  color: var(--primary);
}

.section-header .divider {
  height: 3px;
  width: 60px;
  background: var(--secondary);
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

/* Navbar (Glass Effect) */
/* Top Navigation Bar */
.top-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  padding: 8px 0;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
}

.top-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-greeting {
  color: #333;
  font-weight: 500;
}

.top-nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.top-nav-links li {
  margin: 0;
}

.top-nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.top-nav-links a:hover,
.top-nav-links a.active {
  color: #007bff;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ship-to {
  display: flex;
  align-items: center;
  color: #333;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s;
  padding: 4px 8px;
  border-radius: 4px;
}

.ship-to:hover {
  color: #007bff;
  background: #f0f0f0;
}

.top-nav-link {
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.top-nav-link:hover {
  color: #007bff;
}

.top-nav-dropdown {
  display: flex;
  align-items: center;
  color: #333;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s;
}

.top-nav-dropdown:hover {
  color: #007bff;
}

.top-nav-dropdown i {
  font-size: 10px;
  margin-left: 4px;
}

.top-nav-icon {
  color: #333;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.top-nav-icon:hover {
  color: #007bff;
}

/* Search Bar Navigation */
.search-navbar {
  position: fixed;
  top: 50px; /* Increased from 36px to provide more space below top-navbar */
  width: 100%;
  z-index: 999; /* Lower z-index than top-navbar to ensure proper stacking */
  padding: 12px 0;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-nav-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
}

.search-nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-nav-left .logo img {
  height: 50px;
}

.category-dropdown {
  display: flex;
  align-items: center;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s;
}

.category-dropdown:hover {
  border-color: #007bff;
  color: #007bff;
}

.category-dropdown i {
  font-size: 10px;
  margin-left: 8px;
}

.search-bar-wrapper-desktop {
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #000;
  border-radius: 4px;
  overflow: hidden;
  background: white;
  margin-right: 8px; /* Add space between search box and category dropdown */
}

.search-input-desktop {
  flex: 1;
  padding: 10px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.search-camera-btn {
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-left: 1px solid #e0e0e0;
  color: #666;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-camera-btn:hover {
  background: #f5f5f5;
}

.category-select-wrapper {
  padding: 10px 16px;
  background: white;
  border: 1px solid #000;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  margin-left: 0; /* Remove left margin since search box now has right margin */
  margin-right: 8px; /* Add space between category and search button */
  display: flex;
  align-items: center;
}

.category-select-wrapper:hover {
  background: #f5f5f5;
}

.category-select-wrapper i {
  font-size: 10px;
  margin-left: 8px;
}

.search-button-desktop {
  padding: 10px 24px;
  background: #007bff;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-left: 8px;
  white-space: nowrap;
}

.search-button-desktop:hover {
  background: #0056b3;
}

.advanced-link {
  margin-left: 12px;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  font-weight: normal;
}

.advanced-link:hover {
  color: #007bff;
  text-decoration: underline;
}

.search-nav-right {
  display: flex;
  align-items: center;
}

/* Legacy navbar styles for backward compatibility */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.0);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 12px 0;
}

/* Header Styles */
.top-bar {
  display: none; /* Hide top bar in premium design */
}

.contact-info {
  display: flex;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.admin-link {
  color: var(--accent-color);
  font-weight: 700;
}

.nav-links a.admin-link:hover {
  color: var(--primary-color);
}

.header-actions,
.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-link {
  color: var(--primary);
  font-size: 18px;
  position: relative;
}

.icon-link .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.currency-switcher {
  display: flex;
  align-items: center;
}

.currency-switcher select {
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.currency-switcher select:hover {
  background: var(--white);
  border-color: var(--secondary);
}

.currency-switcher select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  font-size: 0.8rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}

/* Mobile Search Bar */
.mobile-search-bar {
  display: none;
  width: 100%;
  padding: 12px 0;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.search-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  color: #333;
  background: white;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: #007bff;
}

.search-input::placeholder {
  color: #999;
}

.search-button {
  width: 48px;
  height: 48px;
  background: #007bff;
  border: none;
  border-radius: 0 4px 4px 0;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  outline: none;
}

.search-button:hover {
  background: #0056b3;
}

.search-button:active {
  background: #004085;
}

.search-button i {
  font-size: 18px;
}

/* User Icon */
.user-icon {
  display: none;
}

/* Mobile Header Icons Layout */
/* Mobile Responsive Styles */
@media (max-width: 767px) {
  .top-navbar {
    padding: 6px 0;
    font-size: 11px;
  }
  
  .top-nav-links {
    position: fixed;
    top: 28px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: left 0.3s;
    z-index: 1002;
    gap: 0;
  }
  
  .top-nav-links.active {
    left: 0;
  }
  
  .top-nav-links li {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .top-nav-links a {
    display: block;
    padding: 15px 0;
    width: 100%;
  }
  
  .top-nav-right {
    gap: 10px;
  }
  
  .ship-to,
  .top-nav-link,
  .top-nav-dropdown {
    display: none; /* Hide some items on mobile */
  }
  
  .top-nav-icon {
    font-size: 16px;
  }
  
  .search-navbar {
    top: 42px; /* Increased from 28px to provide more space below top-navbar on mobile */
    padding: 8px 0;
  }
  
  .search-nav-left {
    gap: 10px;
  }
  
  .search-nav-left .logo img {
    height: 40px;
  }
  
  .category-dropdown {
    display: none; /* Hide on mobile */
  }
  
  .search-bar-wrapper-desktop {
    display: none; /* Hide desktop search on mobile */
  }
  
  .search-button-desktop,
  .category-select-wrapper,
  .advanced-link {
    display: none !important; /* Hide desktop search button and related elements on mobile */
  }
  
  .mobile-search-bar {
    display: block;
  }
  
  .hero {
    margin-top: 45px; /* Further reduced to bring hero even closer to search bar on mobile */
  }
  
  .user-icon {
    display: block;
  }
  
  .currency-selector {
    display: none !important;
  }
  
  .header-icons {
    gap: 15px;
  }
  
  .icon-link {
    font-size: 20px;
  }
  
  .menu-toggle {
    font-size: 22px;
  }
  
  .navbar {
    padding: 15px 0;
  }
  
  .navbar .container {
    padding: 0 16px;
  }
  
  .logo img {
    height: 50px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  margin-top: 60px; /* Further reduced to bring hero even closer to search bar */
}

.hero .owl-carousel,
.hero .owl-stage-outer,
.hero .owl-stage,
.hero .owl-item {
  height: 100%;
}

.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Elegant Dark Overlay */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: block;
  color: var(--secondary);
  font-weight: 700;
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 400;
  font-family: var(--font-heading);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Fix hero slider height */
.hero,
.hero .hero-slide,
.hero .owl-carousel .owl-item,
.hero .owl-carousel .owl-stage-outer {
  height: 80vh; /* or 100vh if you want full screen */
  min-height: 480px;
}

/* Ensure background image covers entire slider */
.hero .hero-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Remove unwanted padding inside container */
.hero .container {
  height: 100%;
  display: flex;
  align-items: center; /* vertically centers text */
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}

/* Prevent extra spacing below slider */
.hero {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Balance the white space between sections */
.hero + section {
  margin-top: 0 !important;
}

/* Features / Origin Section */
.features {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-box {
  text-align: center;
  padding: 30px;
  border: 1px solid #eee;
  transition: var(--transition);
  background: var(--white);
}

.feature-box:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 40px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  color: var(--primary);
}

/* About Split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.about-img {
  height: 600px;
  width: 100%;
  object-fit: cover;
}

.about-text-panel {
  padding: 60px 80px;
  background: var(--bg-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-panel h2 {
  font-family: var(--font-heading);
  color: var(--primary);
}

/* Categories Section */
.categories {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-item {
  background-color: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.category-item:hover {
  transform: translateY(-10px);
}

.category-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.category-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 20px;
}

/* Products Section */
.products {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.product-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background-color: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  transition: var(--transition);
  position: relative;
}

.product-img-wrap {
  overflow: hidden;
  position: relative;
  height: 320px;
  background: #f9f9f9;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* Quick Add Button on Image */
.add-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-card:hover .add-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-btn:hover {
  background: var(--secondary);
  color: var(--white);
}

.add-btn i {
  font-size: 14px;
}

.product-info {
  padding: 24px 0;
  text-align: center;
}

.product-cat,
.product-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 22px;
  margin: 8px 0;
  font-family: var(--font-heading);
  color: var(--primary);
  text-decoration: none;
  display: block;
}

.product-title:hover {
  color: var(--secondary);
}

.product-price,
.price-tag {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
  margin-top: 12px;
}

.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

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

.product-info {
  padding: 20px;
}

.product-category {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-name {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.product-description {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.add-to-cart {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart:hover {
  background-color: var(--secondary-color);
}

/* Store Section */
.store {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.store-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.store-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.store-card:hover {
  transform: translateY(-10px);
}

.store-image {
  height: 250px;
  overflow: hidden;
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.store-card:hover .store-image img {
  transform: scale(1.1);
}

.store-info {
  padding: 20px;
}

.store-category {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.store-name {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.store-description {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.store-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.add-to-order {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-order:hover {
  background-color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonial-slider .owl-item {
  text-align: center;
}

.testimonial-item {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.testimonial-content {
  margin-bottom: 30px;
  font-style: italic;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--dark-color);
}

.testimonial-author span {
  color: #777;
  font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

#newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

#newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

#newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

#newsletter-form button {
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

#newsletter-form button:hover {
  background-color: #FFC700;
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-info {
  flex: 1;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-info-item p {
  color: #666;
}

/* --- Distributors Section --- */
.distributors-section { 
  background: var(--bg-light); 
  padding: 80px 0; 
}

.distributor-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* List takes less space, Map takes more */
  gap: 30px;
  height: 600px; /* Fixed height for scrollable area */
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Left Column: Scrollable List */
.locations-list {
  padding: 30px;
  overflow-y: auto; /* Makes this part scrollable */
  border-right: 1px solid #eee;
}

/* Scrollbar styling */
.locations-list::-webkit-scrollbar { 
  width: 6px; 
}

.locations-list::-webkit-scrollbar-thumb { 
  background: #ddd; 
  border-radius: 4px; 
}

.group-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin: 25px 0 15px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}

.location-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.location-card:hover {
  border-color: var(--secondary);
  background: #faf7f5;
  transform: translateX(5px);
}

.loc-info h4 { 
  font-size: 16px; 
  margin: 0 0 4px; 
  color: var(--primary); 
}

.loc-info p { 
  font-size: 13px; 
  color: #777; 
  margin: 0 0 6px; 
}

/* Status Indicators */
.status { 
  font-size: 11px; 
  font-weight: 700; 
  padding: 2px 6px; 
  border-radius: 4px; 
}

.status.open { 
  color: #2e7d32; 
  background: #e8f5e9; 
}

.status.closed { 
  color: #c62828; 
  background: #ffebee; 
}

.status.low-stock { 
  color: #f57f17; 
  background: #fffde7; 
}

/* Direction Button */
.dir-btn {
  width: 36px; 
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: 0.2s;
  text-decoration: none;
}

.dir-btn:hover { 
  background: var(--secondary); 
  color: white; 
}

/* Right Column: Map */
.map-wrapper { 
  position: relative; 
  height: 100%; 
  background: #ddd; 
}

.map-wrapper iframe { 
  display: block; 
  width: 100%; 
  height: 100%; 
}

/* Floating Card over Map */
.map-overlay-card {
  position: absolute;
  bottom: 30px; 
  right: 30px;
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  max-width: 280px;
}

.map-overlay-card h4 { 
  margin-top: 0; 
  font-size: 18px; 
}

.btn-sm { 
  padding: 10px 20px; 
  font-size: 11px; 
  margin-top: 10px; 
}

/* Mobile Responsive - Distributors */
@media (max-width: 768px) {
  .distributor-layout { 
    grid-template-columns: 1fr; 
    height: auto; 
  }
  
  .map-wrapper { 
    height: 300px; 
    order: -1; /* Puts map on top on mobile */ 
  }
  
  .locations-list { 
    height: 400px; 
  }
}

/* Legacy Distributors Section (for backward compatibility) */
.distributors {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.distributor-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.distributor-card:hover {
  transform: translateY(-10px);
}

.distributor-logo {
  height: 100px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.distributor-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Styles for distributor-item (used in HTML) */
.distributor-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.distributor-item:hover {
  transform: translateY(-10px);
}

.distributor-item img {
  max-height: 50px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.distributor-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.distributor-item p {
  color: #666;
  margin-bottom: 20px;
}

.distributor-item p.sub-note {
  font-size: 0.9rem;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}

.distributor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.distributor-card p {
  color: #666;
  margin-bottom: 20px;
}

.distributor-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.distributor-card a:hover {
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: #f9f9f9;
  color: #000;
  padding: 60px 0 20px;
}

.footer-content,
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

footer h4,
.footer h4 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 18px;
  font-family: var(--font-heading);
}

footer ul,
.footer ul {
  list-style: none;
  padding: 0;
}

footer ul li,
.footer ul li {
  margin-bottom: 12px;
}

footer a,
.footer a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

footer a:hover,
.footer a:hover {
  color: var(--secondary);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .social-links {
  justify-content: flex-start;
}

.footer-logo .social-links a {
  color: #000;
}

.footer-logo .social-links a:hover {
  color: var(--primary-color);
}

.footer-logo img {
  max-height: 240px;
  max-width: 900px;
  width: auto;
  height: auto;
  margin-bottom: 15px;
  display: block;
  object-fit: contain;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #000;
}

.footer-about p {
  margin-bottom: 20px;
  color: #000;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #000;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #000;
}

.footer-contact i {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #000;
}

/* Admin Login Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  color: var(--dark-color);
}

.close-modal {
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-footer {
  text-align: right;
}

.modal-footer button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
}

.modal-footer .btn-cancel {
  background-color: #ddd;
  color: #333;
}

.modal-footer .btn-cancel:hover {
  background-color: #ccc;
}

/* Admin Dashboard */
.admin-dashboard {
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-header h2 {
  color: var(--dark-color);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.stat-card h3 {
  font-size: 1.1rem;
  color: #666;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.dashboard-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.dashboard-card h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.dashboard-table th {
  color: var(--primary-color);
  font-weight: 600;
}

.dashboard-table tr:hover {
  background-color: #f9f9f9;
}

.status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-processing {
  background-color: #cce5ff;
  color: #004085;
}

.status-shipped {
  background-color: #d4edda;
  color: #155724;
}

.status-delivered {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

/* Product Management */
.product-management {
  padding: 20px;
}

.product-management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.product-management-header h2 {
  color: var(--dark-color);
}

.add-product-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* Order Management */
.order-management {
  padding: 20px;
}

.order-management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.order-management-header h2 {
  color: var(--dark-color);
}

/* Contact Management */
.contact-management {
  padding: 20px;
}

.contact-management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.contact-management-header h2 {
  color: var(--dark-color);
}

/* Customer Management */
.customer-management {
  padding: 20px;
}

.customer-management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.customer-management-header h2 {
  color: var(--dark-color);
}

/* Responsive Styles - Comprehensive Device Support */

/* Large Desktops and Smart Displays (Nest Hub Max - 1280px+) */
@media (min-width: 1280px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Desktops and Tablets Landscape (Nest Hub, Surface Pro 7, iPad Pro - 1024px to 1279px) */
@media (max-width: 1279px) and (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Tablets Portrait and Small Desktops (iPad Air, Surface Duo - 820px to 1023px) */
@media (max-width: 1023px) and (min-width: 820px) {
  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }
  
  .header-actions {
    gap: 15px;
  }
  
  .currency-switcher select {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

/* Tablets and Small Laptops (iPad Mini, Surface Duo - 768px to 819px) */
@media (max-width: 819px) and (min-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
  
  .product-grid,
  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Large Phones Landscape and Small Tablets (iPhone 14 Pro Max, Galaxy S20 Ultra - 428px to 767px) */
@media (max-width: 767px) and (min-width: 428px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links {
    justify-content: center;
  }

  .header-actions {
    gap: 10px;
  }

  .currency-switcher select {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }

  .product-grid,
  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Medium Phones (iPhone 12 Pro, Pixel 7, Galaxy S8+ - 390px to 427px) */
@media (max-width: 427px) and (min-width: 390px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .top-bar {
    padding: 6px 0;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.85rem;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .currency-switcher select {
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  .logo img {
    height: 50px;
  }

  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .contact-content {
    flex-direction: column;
  }

  .product-grid,
  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
  
  .product-card,
  .store-card {
    padding: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Small Phones (iPhone SE, iPhone XR - 375px to 389px) */
@media (max-width: 389px) and (min-width: 375px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .top-bar {
    padding: 5px 0;
    font-size: 0.8rem;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
  }

  .social-links {
    justify-content: center;
    gap: 8px;
  }

  .social-links a {
    font-size: 1rem;
  }

  .header-actions {
    gap: 6px;
    flex-wrap: wrap;
  }

  .currency-switcher select {
    padding: 4px 6px;
    font-size: 0.75rem;
  }

  .logo img {
    height: 45px;
  }

  .hero {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .contact-content {
    flex-direction: column;
  }

  .product-grid,
  .store-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-card,
  .store-card {
    padding: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-logo img {
    max-height: 180px;
    max-width: 100%;
  }
}

/* Extra Small Phones and Foldables (Galaxy Z Fold, Asus Zenbook Fold - up to 374px) */
@media (max-width: 374px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .top-bar {
    padding: 4px 0;
    font-size: 0.75rem;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
    padding: 0 10px;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.7rem;
  }

  .social-links {
    justify-content: center;
    gap: 6px;
  }

  .social-links a {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 5px;
    flex-wrap: wrap;
  }

  .currency-switcher select {
    padding: 4px 5px;
    font-size: 0.7rem;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    height: 45vh;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .about-content {
    flex-direction: column;
    gap: 15px;
  }

  .contact-content {
    flex-direction: column;
  }

  .product-grid,
  .store-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .product-card,
  .store-card {
    padding: 12px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-logo img {
    max-height: 150px;
    max-width: 100%;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Landscape Orientation for Phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .nav-links {
    height: calc(100vh - 70px);
  }
}

/* Premium Design Responsive */
@media (max-width: 992px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  
  .about-img {
    height: 400px;
  }
  
  .about-text-panel {
    padding: 40px 24px;
  }
  
  .nav-links {
    display: none;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 15px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .parallax-overlay h2 {
    font-size: 36px;
  }
  
  .distributor-layout { 
    grid-template-columns: 1fr; 
    height: auto; 
  }
  
  .map-wrapper { 
    height: 300px; 
    order: -1; /* Puts map on top on mobile */ 
  }
  
  .locations-list { 
    height: 400px; 
  }
}

@media (max-width: 600px) {
  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .parallax-overlay {
    padding: 60px 0;
  }
  
  .parallax-overlay h2 {
    font-size: 28px;
  }
  
  .parallax-overlay p {
    font-size: 16px;
  }
  
  .map-wrapper {
    height: 300px;
  }
  
  .map-overlay-card {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 15px;
  }
  
  .location-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .dir-btn {
    align-self: flex-end;
  }
}

/* Toast Notification (The Popup) */
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 14px;
  letter-spacing: 0.5px;
}

#toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img,
  .footer-logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* --- Professional Toast Container --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- The Notification Card --- */
.toast-card {
    min-width: 300px;
    background: #fff;
    border-left: 5px solid #2C1810; /* Kakineha Coffee Brown */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    font-family: 'Segoe UI', sans-serif;
}

/* --- Colors for different types --- */
.toast-card.success { border-left-color: #28a745; } /* Green */
.toast-card.error { border-left-color: #dc3545; }   /* Red */
.toast-card.warning { border-left-color: #ffc107; } /* Yellow */
.toast-card.info { border-left-color: #17a2b8; }     /* Blue */

/* --- Accessibility: Visually Hidden Labels --- */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- Content Styling --- */
.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 20px;
}

.toast-card.success .toast-icon { color: #28a745; }
.toast-card.error .toast-icon { color: #dc3545; }
.toast-card.warning .toast-icon { color: #ffc107; }
.toast-card.info .toast-icon { color: #17a2b8; }

.toast-message {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.toast-close {
    cursor: pointer;
    color: #999;
    margin-left: 15px;
    font-size: 16px;
    transition: 0.2s;
}

.toast-close:hover { color: #333; }

/* --- Animations --- */
@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
    to { opacity: 0; transform: translateX(100%); }
}
