/* ================= GLOBAL IMPROVEMENTS ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  width: 100%;
  position: relative;
  background-color: #ffffff !important;
}

/* Safe area insets for modern phones */
@supports (padding: max(0px)) {

  body,
  .header,
  .footer {
    padding-left: min(0px, env(safe-area-inset-left));
    padding-right: min(0px, env(safe-area-inset-right));
    background-color: #ffffff;
  }

  .header {
    padding-top: min(15px, env(safe-area-inset-top));
    background-color: #ffffff;
  }

  .footer {
    padding-bottom: min(30px, env(safe-area-inset-bottom));
    background-color: #ffffff;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  background-color: #ffffff;
}

/* Prevent zoom on input focus */
input,
select,
textarea {
  font-size: 16px !important;
  background-color: #ffffff;
}

/* ================= PRODUCT MODAL ================= */
.product-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s;
}

.product-modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.modal-header h3 {
  margin: 0;
  color: #333;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover {
  background-color: #f0f0f0;
  color: #333;
}

.product-image-container {
  text-align: center;
  margin-bottom: 20px;
}

.product-image-container img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 5px;
  object-fit: contain;
}

.product-details {
  margin-bottom: 20px;
}

.product-details h4 {
  margin: 10px 0;
  color: #333;
  font-size: 18px;
}

.product-price {
  color: #ff0000;
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.product-description {
  color: #666;
  line-height: 1.5;
  margin: 15px 0;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  border-left: 3px solid #ff0000;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: #f0f0f0;
}

.quantity-input {
  width: 60px;
  height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.whatsapp-btn,
.cart-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

.cart-btn {
  background-color: #ff0000;
  color: white;
}

.cart-btn:hover {
  background-color: #cc0000;
}

.modal-footer {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #888;
  font-size: 12px;
}

/* Cart badge style */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff0000;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ================= ENHANCED HOVER EFFECTS ================= */
.product-card,
.products-card,
.boxed-section,
.view-all,
#add-to-cart,
.nav a,
.icons a,
.search-result-card,
.search-modal-content button,
.search-box button,
.back-btn,
.whatsapp-float,
.close-search,
.footer a {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover,
.products-card:hover,
.boxed-section:hover,
.view-all:hover,
#add-to-cart:hover,
.nav a:hover,
.icons a:hover,
.search-result-card:hover,
.search-modal-content button:hover,
.search-box button:hover,
.back-btn:hover,
.whatsapp-float:hover,
.close-search:hover,
.footer a:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.2);
  border-color: #007bff !important;
}

/* Remove hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .products-card:hover,
  .view-all:hover {
    transform: none;
    box-shadow: none;
  }

  /* Add active state for touch feedback */
  .product-card:active,
  .products-card:active,
  .view-all:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ================= UNIFIED PRODUCT CARDS ================= */
.product-card {
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: #333;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  contain: content;
  will-change: transform, opacity;
  cursor: pointer;
  background-color: #ffffff !important;
}

/* Add the blue top border animation for product cards */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00bfff);
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

/* Add the shimmer effect for product cards */
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.product-card:hover::after {
  transform: translateX(100%);
}

/* Image styling for product cards */
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 10px;
  background-color: #ffffff;
}

.product-card:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 16px rgba(0, 123, 255, 0.2));
}

/* Title styling for product cards */
.product-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: #000000;
  transition: all 0.3s ease;
  background-color: transparent;
}

.product-card:hover h4 {
  color: #007bff;
}

/* Price styling for product cards */
.product-card .price {
  font-size: 18px;
  font-weight: 700;
  color: #ff0000 !important;
  margin-top: auto;
  padding: 12px 0;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  background-color: transparent;
}

.product-card:hover .price {
  text-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}

/* Card entrance animation for products */
@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= PRODUCT GRIDS ================= */
.product-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  padding: 20px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
}

/* Featured products grid - limit to 5 items */
.featured-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
}

/* Hide all products beyond the first 5 in featured section */
.featured-row .product-card:nth-child(n+6) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Animation for product rotation */
.product-card.slide-out {
  animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  pointer-events: none;
}

.product-card.slide-in {
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================= MODERN SECTIONS ================= */
.boxed-section {
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1400px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  background-color: #ffffff !important;
}

.boxed-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00bfff);
  border-radius: 20px 20px 0 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
  background-color: transparent;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #007bff, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  position: relative;
  padding-left: 20px;
  background-color: transparent;
}

.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 30px;
  background: linear-gradient(135deg, #007bff, #00bfff);
  border-radius: 4px;
}

.view-all {
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: white;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  appearance: none;
  -webkit-appearance: none;
}

.view-all::after {
  content: '→';
  transition: transform 0.3s ease;
}

.view-all:hover::after {
  transform: translateX(5px);
}

/* ================= CATEGORY SECTION ================= */
.products-based-category {
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
  background-color: #ffffff !important;
}

.products-based-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 20px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
}

.products-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  background-color: #ffffff;
}

.products-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background-color: #ffffff;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0;
}

.products-card:hover .product-overlay {
  background: linear-gradient(to top, rgba(0, 123, 255, 0.9), transparent 70%);
  padding-bottom: 40px;
}

.products-card:hover img {
  transform: scale(1.1);
}

/* Category section header fix */
.products-section h2 {
  color: #007bff;
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff0000;
  margin-top: 0;
  background-color: transparent;
}

/* ================= TABLET RESPONSIVE (768px - 1024px) ================= */
@media (max-width: 1024px) and (min-width: 769px) {
  /* TABLET: Show 4 featured products */
  .featured-row {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px;
    padding: 18px;
  }

  /* Show only first 4 products in featured section for tablets */
  .featured-row .product-card:nth-child(n+5) {
    display: none !important;
  }

  .featured-row .product-card {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* TABLET: Show 4 regular products per row */
  .product-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .product-card {
    min-height: 280px;
    padding: 18px;
    border-radius: 14px;
  }

  .product-card img {
    height: 150px;
  }

  .product-card h4 {
    font-size: 15px;
    height: 36px;
  }

  .product-card .price {
    font-size: 17px;
  }

  /* TABLET: Category grid - 3 columns */
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px;
    padding: 15px;
  }

  .products-card {
    height: 220px;
  }

  .product-overlay {
    font-size: 20px;
    padding: 25px;
  }

  /* TABLET: Section adjustments */
  .boxed-section {
    margin: 30px 20px;
    padding: 25px;
    border-radius: 18px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .products-based-category {
    padding: 40px 4%;
  }
}

/* ================= MOBILE RESPONSIVE (768px and below) ================= */
@media (max-width: 768px) {
  /* MOBILE: Show 2 featured products */
  .featured-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 15px;
  }

  /* Show only first 2 products in featured section for mobile */
  .featured-row .product-card:nth-child(n+3) {
    display: none !important;
  }

  .featured-row .product-card {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* MOBILE: Show 2 regular products per row */
  .product-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 15px;
  }

  .product-card {
    min-height: 260px;
    padding: 16px 12px;
    border-radius: 14px;
    animation-duration: 0.4s;
    transition-duration: 0.3s;
  }

  .product-card img {
    height: 140px;
    max-width: 100%;
    will-change: transform;
    transform: translateZ(0);
  }

  .product-card h4 {
    font-size: 14px;
    height: 38px;
    margin-bottom: 8px;
  }

  .product-card .price {
    font-size: 16px;
    padding: 10px 0 5px;
  }

  /* MOBILE: Category grid - 2 columns */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 12px;
  }

  .products-card {
    height: 180px;
    border-radius: 16px;
  }

  .product-overlay {
    font-size: 16px;
    padding: 15px;
  }

  /* MOBILE: Section adjustments */
  .boxed-section {
    margin: 25px 15px;
    padding: 20px;
    border-radius: 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    padding-left: 16px;
  }

  .section-header h2::before {
    width: 6px;
    height: 24px;
  }

  .view-all {
    align-self: flex-start;
    padding: 10px 22px;
  }

  .products-based-category {
    padding: 30px 15px;
    margin: 30px 0;
  }

  .products-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  /* Optimize shadows for mobile */
  .product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
  }
}

/* ================= SMALL MOBILE (480px and below) ================= */
@media (max-width: 480px) {
  /* SMALL MOBILE: Show 2 featured products (same as regular mobile) */
  .featured-row {
    gap: 12px;
    padding: 12px;
  }

  .product-row {
    gap: 12px;
    padding: 12px;
  }

  .product-card {
    min-height: 240px;
    padding: 14px 10px;
  }

  .product-card img {
    height: 130px;
    padding: 8px;
  }

  .product-card h4 {
    font-size: 13px;
    height: 36px;
  }

  .product-card .price {
    font-size: 15px;
    padding: 8px 0;
  }

  /* SMALL MOBILE: Category grid */
  .products-grid {
    gap: 12px;
    padding: 10px;
  }

  .products-card {
    height: 160px;
  }

  .product-overlay {
    font-size: 15px;
    padding: 12px;
  }

  /* SMALL MOBILE: Section adjustments */
  .boxed-section {
    margin: 20px 10px;
    padding: 18px 15px;
    border-radius: 14px;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .view-all {
    padding: 9px 20px;
    font-size: 14px;
  }

  .products-based-category {
    padding: 25px 12px;
  }
}

/* ================= VERY SMALL MOBILE (360px and below) ================= */
@media (max-width: 360px) {
  /* SINGLE COLUMN LAYOUT for very small screens */
  .featured-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 10px;
  }

  /* Show only first product in featured section on very small screens */
  .featured-row .product-card:nth-child(n+2) {
    display: none !important;
  }

  .product-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card {
    min-height: 260px;
    padding: 15px;
  }

  .products-card {
    height: 180px;
  }
}

/* ================= LANDSCAPE ORIENTATION ================= */
@media (max-width: 768px) and (orientation: landscape) {
  .featured-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px;
  }

  /* Show 3 featured products in landscape */
  .featured-row .product-card:nth-child(n+4) {
    display: none !important;
  }

  .product-row {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .product-card {
    min-height: 220px;
  }

  .product-card img {
    height: 120px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ================= DARK MODE SUPPORT - OVERRIDDEN TO WHITE ================= */
@media (prefers-color-scheme: dark) {
  body {
    color: #333;
    background-color: #ffffff !important;
  }

  .boxed-section {
    border-color: rgba(0, 123, 255, 0.1);
    background-color: #ffffff !important;
  }

  .product-card {
    border-color: rgba(0, 123, 255, 0.1);
    color: #333;
    background-color: #ffffff !important;
  }

  .product-card h4 {
    color: #000000;
  }

  .products-card {
    background-color: #ffffff !important;
  }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .product-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ================= LOADING ANIMATION ================= */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

/* iOS Safe Area Adjustments for Grids */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .featured-row,
    .product-row,
    .products-grid {
      padding-left: min(15px, env(safe-area-inset-left));
      padding-right: min(15px, env(safe-area-inset-right));
    }
  }
}

/* ================= ADD THESE TO YOUR EXISTING STYLE.CSS ================= */

/* Visually Hidden H1 for SEO */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Product Title Styling for h3 */
.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: #000000;
  transition: all 0.3s ease;
  background-color: transparent;
}

.product-card:hover h3 {
  color: #007bff;
}

/* Modal title styling */
.product-details h3 {
  margin: 10px 0;
  color: #333;
  font-size: 18px;
}

/* Footer heading styling */
.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
  margin-top: 0;
}

/* SECTION-SPECIFIC TITLE UNDERLINE COLORS FOR H3 */
.footer-section.nav-links h3::after {
  background: #007bff;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}

.footer-section.quick-links h3::after {
  background: #28a745;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}

.footer-section.legals h3::after {
  background: #dc3545;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}

.footer-section.socials h3::after {
  background: #ffc107;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .product-card h3 {
    font-size: 14px;
    height: 38px;
    margin-bottom: 8px;
  }
  
  .product-details h3 {
    font-size: 16px;
  }
  
  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .product-card h3 {
    font-size: 13px;
    height: 36px;
  }
  
  .footer-section h3 {
    font-size: 15px;
  }
}