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

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
  overflow-x: hidden;
}

/* Header styles */
.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #064b67;
}

.header-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* Logo responsive styles */
@media (max-width: 768px) {
  .header-title {
    font-size: 1.125rem;
  }

  .header-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .header-title {
    font-size: 1rem;
  }

  .header-subtitle {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .header-title {
    font-size: 0.875rem;
  }

  .header-subtitle {
    font-size: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .header-title {
    font-size: 1.5rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .header-title {
    font-size: 1.75rem;
  }

  .header-subtitle {
    font-size: 1.125rem;
  }
}

/* Category Card Styles */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #d1d5db;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

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

.category-card .p-3 {
  padding: 1.5rem;
  background: white;
  position: relative;
}

.category-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #064b67;
  text-align: center;
  margin: 0;
  transition: color 0.3s ease;
}

.category-card:hover .category-name {
  color: #ffbf00;
}

/* Category card responsive */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .category-card img {
    height: 160px;
  }

  .category-name {
    font-size: 1.125rem;
  }

  .category-card .p-3 {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
  }

  .category-card img {
    height: 140px;
  }

  .category-name {
    font-size: 1rem;
  }

  .category-card .p-3 {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }

  .category-card img {
    height: 120px;
  }

  .category-name {
    font-size: 0.9rem;
  }

  .category-card .p-3 {
    padding: 0.75rem;
  }
}

/* Hero Section Styles - Wider */
.hero-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  padding: 2rem 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-container .max-w-screen-4xl {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-container .bg-white\/10 {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Styles - Wider */
footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(135deg, #064b67 0%, #053e53 100%);
}

footer .max-w-screen-4xl {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Hero and Footer Responsive */
@media (max-width: 1024px) {
  .hero-container {
    padding: 2.5rem 0;
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 2rem 0;
    min-height: 400px;
  }

  .hero-container .max-w-screen-4xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  footer .max-w-screen-4xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-image {
    height: 350px;
  }
}

@media (max-width: 640px) {
  .hero-container {
    padding: 1.5rem 0;
    min-height: 350px;
  }

  .hero-container .max-w-screen-4xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  footer .max-w-screen-4xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 1rem 0;
    min-height: 300px;
  }

  .hero-container .max-w-screen-4xl {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  footer .max-w-screen-4xl {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .hero-image {
    height: 250px;
  }
}

/* Search Suggestions Styles */
.search-suggestion-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-suggestion-item:hover {
  background-color: #f9fafb;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
  flex-shrink: 0;
}

.search-suggestion-text {
  flex: 1;
}

.search-suggestion-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.875rem;
}

.search-suggestion-category {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.125rem;
}

.search-suggestion-highlight {
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

/* Section styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #064b67;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #064b67 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  text-align: center;
  max-width: 3xl;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Section Responsive Improvements */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
}

/* Product Card Base Styling */
.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid #e5e7eb;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #d1d5db;
}

/* Product Card Image */
.product-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  flex-shrink: 0;
  padding: 0.5rem;
}

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

/* Product Card Content */
.product-card .p-4 {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Product Name */
.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

/* Product Description */
.product-description {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

/* Product Card Button */
.product-card button {
  width: 100%;
  background: transparent;
  color: #064b67;
  border: 2px solid #064b67;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 44px;
}

.product-card button:hover {
  background: #064b67;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(6, 75, 103, 0.3);
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
  .product-card button {
    min-height: 48px;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .product-card button:active {
    background: #064b67;
    color: white;
    transform: scale(0.98);
  }
}

/* Hide complex elements by default */
.product-rating,
.product-status,
.product-badge {
  display: none;
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  /* Improve scrolling performance */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimize image loading */
  .product-card img {
    will-change: transform;
    backface-visibility: hidden;
  }
  
  /* Better touch targets */
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Smooth transitions on mobile */
  .product-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* Responsive Product Card Images */
@media (max-width: 1024px) {
  .product-card img {
    max-height: 180px;
    padding: 0.375rem;
  }

  .product-card {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .product-card img {
    max-height: 160px;
    padding: 0.25rem;
  }

  .product-card {
    min-height: 340px;
  }

  .product-name {
    font-size: 0.95rem;
    min-height: 2.25rem;
  }

  .product-description {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .product-card img {
    max-height: 140px;
    padding: 0.25rem;
  }

  .product-card {
    min-height: 320px;
  }

  .product-name {
    font-size: 0.9rem;
    min-height: 2rem;
  }

  .product-description {
    font-size: 0.95rem;
  }

  .product-card button {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .product-card img {
    max-height: 120px;
    padding: 0.25rem;
  }

  .product-card {
    min-height: 300px;
  }

  .product-name {
    font-size: 0.85rem;
    min-height: 1.8rem;
  }

  .product-description {
    font-size: 0.9rem;
  }

  .product-card button {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* Grid Layout */
.grid.gap-2 {
  gap: 0.75rem;
}

/* Featured Products Section */
.featured-products {
  padding: 2rem 0;
}

/* Product Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Reduce gap between cards */
.grid.gap-4 {
  gap: 0.5rem;
}

.grid.gap-2 {
  gap: 0.5rem;
}

/* Product Card Spacing */
.product-card {
  margin: 0;
  border-radius: 12px;
}

.product-card .p-4 {
  padding: 0.875rem;
}

/* Featured Products Row Spacing */
.mb-8 {
  margin-bottom: 1.5rem;
}

/* Category Headers */
.text-xl.font-bold {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* Section Spacing */
.py-8 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .grid.gap-4 {
    gap: 0.375rem;
  }

  .product-card {
    height: 360px;
  }

  .product-card img {
    height: 180px;
  }

  .grid.gap-2 {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .product-card {
    height: 340px;
  }

  .product-card img {
    height: 160px;
  }

  .product-name {
    font-size: 0.95rem;
    min-height: 2.25rem;
  }

  .price {
    font-size: 1rem;
  }

  .grid.gap-2 {
    gap: 0.5rem;
  }

  /* Featured Products Mobile */
  .mb-8 {
    margin-bottom: 1rem;
  }

  .text-xl {
    font-size: 1.125rem;
  }

  .py-8 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .grid.gap-4 {
    gap: 0.25rem;
  }
}

@media (max-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .product-card {
    margin: 0;
    height: 320px;
  }

  .product-card .p-4 {
    padding: 0.875rem;
  }

  /* Mobile Featured Products */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .mb-8 {
    margin-bottom: 0.75rem;
  }

  .text-xl {
    font-size: 1rem;
  }

  .py-8 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  /* Mobile Product Cards */
  .product-card img {
    height: 140px;
  }

  .product-name {
    font-size: 0.9rem;
    min-height: 2rem;
  }

  .price {
    font-size: 0.95rem;
  }

  .product-card button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .grid.gap-2 {
    gap: 0.375rem;
  }
}

@media (max-width: 480px) {
  .product-card {
    height: 300px;
  }

  .product-card img {
    height: 120px;
  }

  .product-card .p-4 {
    padding: 0.75rem;
  }

  .product-name {
    font-size: 0.85rem;
    min-height: 1.8rem;
  }

  .price {
    font-size: 0.9rem;
  }

  .product-card button {
    padding: 0.625rem 0.875rem;
    font-size: 0.85rem;
  }

  .grid.gap-2 {
    gap: 0.25rem;
  }

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

  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

/* WhatsApp Button Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    bottom: 1rem;
    right: 1rem;
  }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
  /* Improve touch targets */
  button,
  a,
  input,
  select,
  textarea {
    min-height: 44px;
    min-width: 44px;
  }

  /* Better mobile spacing */
  .p-4 {
    padding: 1rem;
  }

  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Mobile-friendly margins */
  .m-4 {
    margin: 1rem;
  }

  .mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  /* Smaller touch targets for very small screens */
  button,
  a,
  input,
  select,
  textarea {
    min-height: 40px;
    min-width: 40px;
  }

  /* Tighter spacing for small screens */
  .p-4 {
    padding: 0.75rem;
  }

  .px-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .py-4 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

/* Quick View Overlay */
.quick-view-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.product-card:hover .quick-view-overlay {
  opacity: 1;
}

.quick-view-btn {
  background: white;
  color: #1f2937;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

/* Loading State */
.product-card.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Section styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #064b67;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #064b67 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  text-align: center;
  max-width: 3xl;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Section Responsive Improvements */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  /* Better mobile spacing */
  .py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Mobile margins */
  .mb-6 {
    margin-bottom: 1.5rem;
  }

  .mb-8 {
    margin-bottom: 2rem;
  }

  .mb-12 {
    margin-bottom: 3rem;
  }

  /* Mobile container padding */
  .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 480px) {
  /* Tighter spacing for very small screens */
  .py-6 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .py-8 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .py-16 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .mb-6 {
    margin-bottom: 1rem;
  }

  .mb-8 {
    margin-bottom: 1.5rem;
  }

  .mb-12 {
    margin-bottom: 2rem;
  }

  .px-3 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .px-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Improved mobile navigation */
@media (max-width: 768px) {
  /* Mobile menu improvements */
  #mobileMenu {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile search improvements */
  #mobile-search {
    font-size: 16px; /* Prevents zoom on iOS */
    background-color: white;
    border-color: #ffbf00 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  #mobile-search:focus {
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  #mobile-search::placeholder {
    color: #064b67;
    opacity: 0.7;
  }

  /* Better mobile button sizing */
  .hero-carousel-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Performance optimizations */
@media (max-width: 768px) {
  /* Reduce animations on mobile for better performance */
  .category-card:hover {
    transform: translateY(-4px);
  }

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

  /* Optimize images for mobile */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility improvements */
@media (max-width: 768px) {
  /* Better focus indicators for mobile */
  button:focus,
  a:focus,
  input:focus {
    outline: 2px solid #064b67;
    outline-offset: 2px;
  }

  /* Better contrast for mobile */
  .text-gray-100 {
    color: #f3f4f6;
  }

  .text-gray-600 {
    color: #4b5563;
  }
}

/* Footer Logo Styling - Removed since using same structure as header */

/* Search Suggestions Styling */
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.search-suggestion-item:hover {
  background-color: #f9fafb;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #064b67;
}

.search-suggestion-text {
  flex: 1;
  min-width: 0;
}

.search-suggestion-title {
  font-weight: 600;
  color: #064b67;
  margin-bottom: 2px;
  font-size: 14px;
}

.search-suggestion-category {
  font-size: 12px;
  color: #6b7280;
}

.search-suggestion-highlight {
  background-color: #ffbf00;
  color: #064b67;
  padding: 1px 2px;
  border-radius: 2px;
  font-weight: 700;
}

/* Mobile search suggestions */
@media (max-width: 768px) {
  .search-suggestion-item {
    padding: 16px;
    gap: 16px;
  }

  .search-suggestion-icon {
    width: 28px;
    height: 28px;
  }

  .search-suggestion-title {
    font-size: 16px;
  }

  .search-suggestion-category {
    font-size: 14px;
  }
}

/* Partners Carousel Styles */
.partners-carousel {
  display: flex;
  transition: transform 1s ease-in-out;
}

.partner-slide {
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.partner-slide:hover {
  transform: translateY(-5px);
}

/* Partners section responsive adjustments */
@media (max-width: 768px) {
  .partner-slide {
    width: 100% !important;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .partner-slide {
    width: 33.333% !important;
  }
}

@media (min-width: 1024px) {
  .partner-slide {
    width: 20% !important;
  }
}

/* Smooth animation for partner cards */
.partner-slide .bg-white {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-slide .bg-white:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
