 /* Category Title */
.category-title {
    font-size: 28px;          /* Large heading */
    font-weight: 700;         /* Bold */
    text-transform: capitalize; /* Capitalize first letters */
             /* Spacing above and below */
    padding-left: 10px;       /* Slight padding to align with grid */
    color: #333;              /* Dark gray color */
   
     padding: 20px 20px;
  background: #fff;
  border-radius: 14px;
 
    max-width: 1350px;
  
    
  margin: auto;
  gap: 30px;
}

/* Grid container */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
     
    margin-top: 20px;
  
   padding: 20px 20px;
  background: #fff;
  border-radius: 14px;
 
    max-width: 1350px;
  
    
  margin: auto;
  gap: 30px;
  
   
}

/* Product card */
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Product image */
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Product content */
.product-content {
    padding: 15px;
    flex-grow: 1;
}

.product-content h4 {
    font-size: 16px;
    margin: 5px 0;
}

.product-content p.description {
    font-size: 14px;
    color: #555;
    height: 40px; /* fixed height for uniform cards */
    overflow: hidden;
}

.product-content p.price {
    font-weight: bold;
    margin: 10px 0;
}

/* Buttons */
.product-buttons {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px 15px;
    gap: 10px;
}

.product-buttons a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.product-buttons .whatsapp-btn {
    background: #25D366;
    color: white;
}

.product-buttons .whatsapp-btn:hover {
    background: #1ebe5d;
}

.product-buttons .view-btn {
    background: #007bff;
    color: white;
}

.product-buttons .view-btn:hover {
    background: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* ================= MOBILE PRODUCT SWIPE ================= */

@media (max-width: 768px) {

  .product-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 12px 10px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    flex: 0 0 72%;
    max-width: 72%;
    scroll-snap-align: center;
  }

  .product-card img {
    height: 160px;
  }

  .product-content h4 {
    font-size: 15px;
  }

  .product-content p.description {
    font-size: 13px;
  }

  .product-buttons a {
    font-size: 13px;
    padding: 7px 8px;
  }
}

/* Small phones */

@media (max-width: 420px) {
  .product-card {
    flex: 0 0 85%;
    max-width: 85%;
  }
}

    /* Footer */
    .footer {
  color: #1D435F;
  background-color:#f7f7f7;
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid #1D435F;
  
}

.footer .footer-about .logo {
  line-height: 1;
  width: auto; /* let it scale naturally */
  margin-bottom: 15px;
}

.footer .footer-about .logo img {
  max-height: 60px; /* increase height */
  width: auto;      /* keep aspect ratio */
  display: block;
}

.footer .footer-about .logo span {
   color: #1D435F;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
   color: #1D435F;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #1D435F;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
   color: #1D435F;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color:   #1D435F;
  color: white;
}

.footer .copyright p {
  margin-bottom: 0;
}
.footer .copyright a {
   color: white;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}
.footer-map h4 {
  font-size: 16px;
  font-weight: bold;
  color: #1D435F;
  margin-bottom: 12px;
}

.map-container iframe {
  border-radius: 12px;
  width: 360px;
  height: 220px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.whatsapp-float {
  position: fixed;
  right: 15px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: bottom 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  bottom: 65px; /* default for top of page */
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}