html {
  overflow-x: hidden;
}

body {
  overflow-x: visible;
}

/* ---------------- Global ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background:white;
  color: #111;
  line-height: 1.6;
}

/* ---------------- Header ---------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: white;
  color: #fff;
  flex-wrap: wrap;
}
.header-contact {
  font-weight: bold;
  color: #0a1a3f;
  margin-bottom: 8px;
  text-align: right; /* aligns to right side */
}

.header-contact a {
  text-decoration: none;
  color: #ff7a00;
  font-size: 16px;
  transition: color 0.3s;
}

.header-contact a:hover {
  color: #e65c00;
}



.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box img {
  width: 180px;
  height: auto;
}

.company-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ff7a00;
}

.slogan {
  display: block;
  color: #0a0342;
  font-style: italic;
  margin-top: 6px;
}

/* Right side */
.right-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.search-bar input {
  padding: 8px 14px;
  border-radius: 22px;
  border: 1px solid #ccc;
  width: 220px;
}

.cart-icon i {
  font-size: 22px;
  color: #ff7a00;
  cursor: pointer;
}

/* ---------------- Navigation ---------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 14px;
  background: #fff;
  border-top: 4px solid #ff7a00;
  border-bottom: 2px solid #0a1a3f;
  flex-wrap: wrap;
}


nav a {
  text-decoration: none;
  color: #0a1a3f;
  font-weight: 700;
}

nav a:hover {
  color: #ff7a00;
}
/* ---------------- Search Bar Below Navigation ---------------- */

/* ---------------- Search Bar BELOW NAV (CENTERED) ---------------- */
.search-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 25px 0 40px;
}

.search-bar {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;          /* 🔥 forces perfect centering */
  position: relative;
}

.search-bar input#searchInput {
  width: 100%;
  text-align: center;
  padding: 16px 55px 16px 20px; /* 🔥 space for icon */
  font-size: 18px;
  border: none;
  border-bottom: 3px solid navy;
  outline: none;
  background: transparent;
}
/* Search icon button inside input */
.search-bar .search-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: navy;
}

.search-bar .search-btn:hover {
  color: #0056b3;
}


.search-bar input#searchInput::placeholder {
  text-align: center;      /* 🔥 centers placeholder */
  color: #888;
}

.search-bar input#searchInput:focus {
  border-bottom-color: #0056b3;
}

/* Dropdown container */
nav .dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* below the parent link */
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 100;
}

/* Links inside dropdown */
nav .dropdown-content a {
  color: #0a1a3f;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-weight: 600;
  transition: background 0.3s;
}

nav .dropdown-content a:hover {
  background-color: #ff7a00;
  color: #fff;
}

/* Show dropdown on hover */
nav .dropdown:hover .dropdown-content {
  display: block;
}


/* ---------------- Hero Banner ----------------
/* Hero Banner */


.hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
 background-color: rgba(0,0,0,0.1);

  z-index: 1;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: #0a1a3f;
}
.hero-content h1 span {
  color: #f57c00;
}


.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
/* ---------------- Hero Slider ---------------- */
/* Slider container */
.hero-slider-container {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0a1a3f 0%,
    #ff7a00 100%
  );
  ;; /* fallback color */
}



.hero-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: absolute; /* stack slides */
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-left {
  flex: 1;
  color: #fff;
  padding-left: 70px;
  
  max-width: 50%;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left h1 span {
  color: #ff7a00; /* highlight word */
}

.hero-left p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}


.hero-slide img {
  width: 100%;          /* fill width */
  height: 100%;         /* fill height */
  object-fit: cover;    /* cover container, crops excess */
  display: block;       /* removes inline spacing */
}



/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.hero-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.hero-arrow.left-arrow { left: 20px; }
.hero-arrow.right-arrow { right: 20px; }

/* WhatsApp floating button */
.hero-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 0;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  z-index: 5;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
/* ---------------- Best Sellers ---------------- */
/* ---------------- Featured Best Sellers ---------------- */
.best-sellers {
  padding: 80px 6%;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  color: #0a1a3f;
  margin-bottom: 60px;
}

/* Row layout */
.featured-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}

/* Reverse layout */
.featured-product.reverse {
  flex-direction: row-reverse;
}



.featured-text h3 {
  font-size: 28px;
  font-weight: 800;
  color: #0a1a3f;
  margin-bottom: 15px;
}

.featured-text p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 3;
}

/* Image side */
.featured-image {
  flex: 1.2;       /* takes 1.2 parts → slightly bigger than text */
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured-image img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .featured-product {
    flex-direction: column;
    text-align: center;
  }

  .featured-product.reverse {
    flex-direction: column;
  }
}





.cta-btn {
  padding: 12px 25px;
  background-color: #ff6600;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.cta-btn:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}
.hero-right {
  flex: 1.2;
  display: flex;
  justify-content: flex-start;
  height: 100%;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* fills container, crops excess */
  border-radius: 10px; /* optional */
  display: block;      /* remove inline spacing */
}

@media (max-width: 768px) {
  .hero-slide {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-left, .hero-right {
    max-width: 100%;
    padding: 0;
  }
  .hero-right img {
    max-width: 300px;
    margin-top: 20px;
  }
}


/* ---------------- Product Slider ---------------- */
.product-categories {
  padding: 20px 6%;
  background: #f8f8f8;
  border-radius: 10px;
}

.product-categories h2 {
  text-align: center;
  margin-bottom: 18px;
  color: #0a1a3f;
}

.product-slider {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-track {
  display: flex;
  gap: 20px;
  transition: transform .5s ease-in-out;
}

.product {
  width: 300px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.cat-text h3 {
  font-size: 24px;
  color: #0a1a3f;
  font-weight: 900;
  margin: 10px 0;
}

.product img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.category-more {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: #ff7a00;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.category-more:hover { background-color: #e65c00; }

/* ---------------- Customers ---------------- */
.customers {
  padding: 30px 6%;
  background: #fff;
  margin-top: 20px;
  border-radius: 8px;
}

.customers h2 { text-align: center; color: #0a1a3f; margin-bottom: 12px; }

.customer-track {
  display: flex;
  gap: 30px;
  animation: slideCustomers 12s linear infinite;
}

.customer-track img {
  height: 80px;
  transition: transform 0.3s;
}

.customer-track img:hover { transform: scale(1.1); }

@keyframes slideCustomers {
  0% { transform: translateX(0); }
  100% { transform: translateX(-40%); }
}

/* ---------------- Footer ---------------- */
footer {
  background: #0a1a3f;
  color: #fff;
  padding: 40px 6%;
  text-align: center;
  margin-top: 30px;
  border-top: 4px solid #ff7a00;
}

footer img { width: 180px; height: auto; }
.footer-name { font-weight: 800; margin-top: 10px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 18px;
  margin-top: 22px;
  text-align: left;
}

.footer-grid h4 { color: #ff7a00; margin-bottom: 8px; }
.footer-grid p { color: #ddd; font-size: 14px; }
footer p { margin-top: 18px; color: #bbb; }

/* ---------------- Responsive ---------------- */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.1rem; }
  .product { width: 250px; height: 380px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* header { flex-direction: column; align-items: flex-start; gap: 10px; } */
  .right-side { width: 100%; justify-content: space-between; }
  /* nav { flex-direction: column; gap: 12px; } */
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .cta-btn { padding: 8px 15px; }
  .product { width: 180px; height: 300px; }
  .search-bar input { width: 140px; }
  .customer-track img { height: 50px; }
  .hero-whatsapp { width: 55px; height: 55px; font-size: 26px; bottom: 20px; right: 10px; }
  .hero-arrow { font-size: 25px; padding: 6px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; }
  .product { width: 150px; height: 250px; }
  .logo-box img { width: 120px; }
}
/* Shop Banner */
.shop-banner {
  background:#fff9f0;
  padding:60px 0;
  text-align:center;
}
.shop-banner h1 {
  font-size:35px;
  color:#333;
  margin-bottom:10px;
}



/* Category Buttons */
.shop-categories {
  text-align:center;
  margin:20px 0 40px;
}
.cat-btn {
  padding:10px 22px;
  margin:5px;
  border:1px solid #ff7a00;
  background:white;
  color:#ff7a00;
  cursor:pointer;
  border-radius:5px;
}
.cat-btn.active,
.cat-btn:hover {
  background:#ff7a00;
  color:white;
}



.product-card {
  display: block;
  background:white;
  padding:14px;
  text-align:center;
  border-radius:16px;
  transition:all 0.3s ease;
  border:1.5px solid;
  box-shadow:none;
  position: relative; /* important for stacking images */
  /* height: 480px; make sure container has height for images */
}
.badge {
  position: absolute;
  top: 10px;
  right: 10px; /* top-right corner */
  background-color: navy;
  color:black;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 8px;
  border-radius: 12px;
  z-index: 10;
  text-transform: uppercase;
}

.product-card:hover {
  transform:translateY(-4px);
  border-color: #111;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width:100%;
  height: 320px;
  object-fit:contain;
  border-radius:12px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}

.product-card img.back {
  opacity: 0;
}

.product-card:hover img.back {
  opacity: 1;
}

.product-card:hover img.front {
  opacity: 0;
}


.price {
  font-size:18px;
  font-weight:bold;
  margin:10px 0;
}

.view-btn {
  background:#ff7a00;
  color:white;
  border:none;
  padding:10px 15px;
  cursor:pointer;
  border-radius:5px;
  transition:0.3s;
  text-decoration: none;
  display: inline-block;
}
.view-btn:hover {
  opacity:0.8;
}
.color-swatches {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

/* ---------------- Product Color Swatches ---------------- */
.swatches {
  display: flex;           
  justify-content: center;  
  gap: 10px;               
  margin: 10px 0;
}

.swatch {
  width: 22px;             
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.swatch:hover {
  transform: scale(1.2);
  border-color: #ff7a00;
}

.swatch.selected {
  border: 3px solid #ff7a00;
}
.image-container {
  position: relative;
  width: 100%;
  height: 320px; /* same as your images */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}

.image-container img.back {
  opacity: 0;
}

.image-container:hover img.back {
  opacity: 1;
}

.image-container:hover img.front {
  opacity: 0;
}
.inquire-btn {
  background: #ff7a00;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin: 5px 0;
  transition: 0.3s;
}

.inquire-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
/* ----- DESKTOP: 3 PER ROW ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  padding: 0 6%;
  transition: all 0.3s ease;
}



/* ----- TABLET & NORMAL PHONES: 2 PER ROW -----
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

/* ----- SMALL PHONES: 1 PER ROW -----
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */
.product-details {
  display: flex;
  gap: 80px;  /* increase from 50px to 70px */
  padding: 50px 6%;
  background: white;
  align-items: center;
}
.product-images {
  flex: 0 0 20%;
}

.product-info {
  flex: 0 0 45%;
  
}

.product-images img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.color-variants {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.variant {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ccc;
}

.variant:hover {
  border-color: #000;
}

.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}
.customize-btn {
  margin-top: 15px;
  background-color: #ff6347;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#customizeOptions input,
#customizeOptions select {
  display: block;
  margin-bottom: 10px;
  padding: 5px;
  width: 100%;
  max-width: 300px;
}

#sendCustomBtn {
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
/* Modal overlay */
.modal {
  display: none; /* hidden by default */
  position: fixed; /* stay in place */
  z-index: 1000; /* on top of everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* scroll if needed */
  background-color: rgba(0,0,0,0.5); /* semi-transparent overlay */
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  margin: 6% auto; /* 10% from top, centered horizontally */
  padding: 30px;
  border-radius: 14px;
  width: 95%;
  max-width: 650px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.modal-content h2 {text-align: center}
.modal-content h3 {
  margin-bottom: 10px;
  
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 18px;
  border-radius: 6px;
  border: 1px solid #ccc;
}


/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.live-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#customBottle {
  width: 180px;
  height: 70px;
  border-radius: 90px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#previewText {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  color: #000;
  white-space: nowrap;
}
/* LIVE PREVIEW BOX */
.preview-box {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
/* Floating Instagram - LEFT */
.hero-instagram {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-instagram:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
/* Text Card */
.featured-text {
  flex: 1;
  background: #f1f1f1;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.featured-text:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
/* Small label (professional touch) */
.featured-text .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 12px;
}

* Title */
.featured-text h3 {
  font-size: 30px;
  font-weight: 800;
  color: #0a1a3f;
  margin-bottom: 14px;
}
.featured-text .description {
  font-size: 16px;
  line-height: 3;
  color: #444;
  margin-bottom: 24px;
}
.featured-text p {
  color: #333;
  line-height: 3;
  margin-bottom: 1rem;
}

.view-btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: #0a1a3f;
  border: 2px solid #0a1a3f;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #0a1a3f;
  color: #fff;
  transform: translateY(-2px);
}
.logo-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 6px;
}
.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .inquire-btn,
.product-actions .view-btn {
  flex: 1;
  min-width: 0;        /* 🔥 REQUIRED */
  white-space: normal; /* 🔥 allow shrink */
}
/* ---------------- Product View Animation ---------------- */
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Image starts off-screen left */
.slide-left {
  transform: translateX(-100px);
}

/* Text starts off-screen right
.slide-right {
  transform: translateX(100px);
} */

/* Final visible state */
.animate-in {
  opacity: 1;
  transform: translateX(0);
}
/* Live Search Input Styling */
/* .search-bar input#searchInput {
  width: 100%;
  max-width: 300px;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.search-bar {
  position: relative;
} */

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background-color: #ffffff;
  border: 1px solid #ccc;
  border-top: none;

  list-style: none;
  margin: 0;
  padding: 0;

  max-height: 240px;
  overflow-y: auto;

  z-index: 9999;        /* 🔥 very important */
  display: block;       /* force visibility */
   box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.suggestions li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #000;          /* ensure text visible */
  background-color: #fff;
}

.suggestions li:hover {
  background-color: #f2f2f2;
}


/* Handwritten typing title */
#productName {
  font-family: 'Allura', cursive;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 2.5px;
  white-space: nowrap;
  overflow: hidden;
}
#productDescription {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;          /* slightly bolder than normal */
  font-size: 20px;           /* readable */
  line-height: 2;          /* good spacing between lines */
  letter-spacing: 0.5px;     /* subtle spacing for elegance */
  color: #222;               /* dark gray for a soft look */
  margin-top: 15px;
}

@media (max-width: 768px) {
  .search-wrapper {
    padding: 0 6%;
  }

  .search-bar input#searchInput {
    font-size: 16px;
    padding: 14px 16px;
  }
}

/* ---------------- Category Toggle Menu ---------------- */
.category-toggle-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 6%;
  position: relative;
}

/* The 3 dash button */
.category-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  margin-top: 4px;
}

.category-toggle .dash {
  display: block;
  height: 4px;
  background-color: #ff7a00;
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* The hidden category menu */
.category-menu {
  display: flex;                 /* keep flex, don't toggle display */
  flex-direction: column;
  gap: 10px;
  background: #fff;
  /* border: 1px solid #ff7a00; */
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 1000;
  min-width: 200px;

  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;

  transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.3s ease;
}

.category-toggle-container.menu-open .category-menu {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

/* Category buttons inside menu */
.category-menu .cat-btn {
  padding: 10px 16px;
  margin: 0;
  border: none;
  background: #ff7a00;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Animate buttons one by one */
.category-toggle-container.menu-open .category-menu .cat-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger timing */
.category-menu .cat-btn:nth-child(1) { transition-delay: 0.10s; }
.category-menu .cat-btn:nth-child(2) { transition-delay: 0.15s; }
.category-menu .cat-btn:nth-child(3) { transition-delay: 0.20s; }
.category-menu .cat-btn:nth-child(4) { transition-delay: 0.25s; }
.category-menu .cat-btn:nth-child(5) { transition-delay: 0.30s; }
.category-menu .cat-btn:nth-child(6) { transition-delay: 0.35s; }
.category-menu .cat-btn:nth-child(7) { transition-delay: 0.40s; }

.category-menu .cat-btn:hover,
.category-menu .cat-btn.active {
  background: #0a1a3f;
}

/* Shrink product grid when category menu is open */
.category-toggle-container.menu-open + .product-grid {
  width: calc(100% - 220px);   /* space taken by menu */
  margin-left: 220px;
  transition: width 0.3s ease, margin-left 0.3s ease;
}

/* Responsive: mobile tweaks */
@media (max-width: 768px) {
  .category-toggle-container {
    flex-direction: column;
  }
  .category-toggle-container.menu-open + .product-grid {
  width: 100%;
  margin-left: 0;
}

  .category-menu {
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
  }
}
/* ---------------- No Search Results ---------------- */
.no-results {
  display: none;
  text-align: center;
  margin: 40px 0;
  font-size: 18px;
  color: #555;
}
/* ================= RELATED PRODUCTS (PRODUCT PAGE) ================= */
.related-products {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.related-products h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #111;
  text-align: center;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.related-card {
  /* border: 1px solid #e5e5e5; */
  padding: 12px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.related-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}

.related-card p {
  font-size: 20px;
  color: #333;
  margin: 0;
}
/* ===================== MOBILE FIXES (FINAL) ===================== */
@media (max-width: 768px) {

  /* Kill horizontal scrolling */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ---------------- SHOP PAGE ---------------- */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 12px;
  }

  .product-card {
    height: auto;
    padding: 12px;
  }

  .image-container {
    position: relative;
    height: 180px;
  }

  .image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ---------------- HEADER ---------------- */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
  }

  .logo-box {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .logo-box img {
    width: 130px;
  }

  .company-name {
    font-size: 16px;
  }

  .slogan {
    font-size: 13px;
  }

  .right-side {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
  }

  /* ---------------- NAV ---------------- */
  nav {
    padding: 10px;
  }

  nav a {
    padding: 10px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  /* ---------------- HERO SECTION ---------------- */
  /* .hero-slider-container {
    min-height: auto;
  } */

  .hero-slide {
    padding: 20px 12px;
  }

  .hero-left h1 {
    font-size: 1.8rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-right img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
  }

  /* ---------------- BEST SELLERS ---------------- */
  .best-sellers {
    padding: 40px 12px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .featured-text {
    padding: 20px;
  }

  .featured-image img {
    max-width: 100%;
    border-radius: 12px;
  }

  /* ---------------- RELATED PRODUCTS ---------------- */
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-card img {
    height: 120px;
  }
}
/* ================= MOBILE FIXES ================= */
@media (max-width: 768px) {

  /* Product grid */
  .products-grid,
  .shop-products,
  .product-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  /* Product card */
  .product-card {
    width: 100%;
    max-width: 100%;
  }

  /* Product images */
  .product-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 768px) {

  header,
  .main-header,
  .nav-bar {
    flex-wrap: nowrap;
    align-items: center;
  }

  nav ul {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  nav ul::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 768px) {

  footer .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  footer .footer-column {
    flex: 1 1 45%;
  }
}

/* ================= PHONE FIX (CRITICAL) ================= */
@media (max-width: 600px) {

  /* Force clean grid */
  .product-grid {
gap: 10px; /* reduce the space between cards */
justify-content: space-between; /* spreads cards evenly, avoids cutting */
padding: 0 10px; /* prevent touching screen edges */
}
    
  

  /* Remove fixed heights */
  .product-card {
   .product-card {
flex: 1 1 calc(50% - 10px); /* 2 cards per row with gap included */
max-width: calc(50% - 10px);
box-sizing: border-box; /* include padding/border in width */
}
  }

 .image-container {
width: 100%; /* container fills card */
height: auto; /* maintain ratio */
}


.image-container img {
width: 100%; /* fill container */
height: auto; /* maintain aspect ratio */
object-fit: contain; /* prevents stretching/cropping */
}

  /* Disable hover swap on phones */
  .product-card img.back {
    display: none;
  }

  /* Text spacing */
  .product-card h3 {
    font-size: 14px;
  }

  .price {
    font-size: 14px;
  }
}

@media (max-width: 600px) {

  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 4%;
  }

  .logo-box img {
    width: 120px;
  }

  nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  footer {
    padding: 30px 5%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {

  /* Card layout */
  .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
  }

  /* Image area */
  .image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 8px;
  }

  /* Content area */
  .product-info,
  .product-card .info {
    flex-grow: 1;
  }

  /* Buttons stay inside */
  .product-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
  }

  .product-actions button,
  .product-actions a {
    width: 100%;
    padding: 8px 6px;
    font-size: 12px;
  }
}
@media (max-width: 600px) {

  .swatches,
  .color-swatches {
    flex-wrap: wrap;
    gap: 6px;
  }

  .swatch {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }
}
@media (max-width: 600px) {

  .inquire-btn,
  .view-btn {
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
  }
}



/* ==================== PHONE RESET (FINAL WINNER) ==================== */
@media (max-width: 600px) {

  /* ---------- GRID ---------- */
  .product-grid {
display: flex;
flex-wrap: wrap; /* allow rows to wrap */
gap: 20px; /* space between cards */
justify-content: center; /* center cards */
padding: 10px; /* optional padding around grid */
box-sizing: border-box;
}

  /* ---------- CARD ---------- */
  .product-card {
flex: 1 1 250px; /* flexible width, minimum 250px */
max-width: 100%; /* never overflow container */
box-sizing: border-box;
display: block; /* ensure visible */
}

  /* ---------- IMAGE ---------- */
  .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
  }

  .image-container img,
  .product-card img {
width: 100%; /* scale to card width */
height: auto;
object-fit: contain; /* maintain aspect ratio */
display: block;
}
.product-card .product-info {
padding: 10px;
}

  /* Kill hover image swap */
  .product-card img.back {
    display: none !important;
  }

  /* ---------- TEXT ---------- */
  .product-card h3 {
    font-size: 14px;
    margin: 6px 0;
  }

  .price {
    font-size: 14px;
  }

  /* ---------- BUTTONS ---------- */
  .product-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
  }

  .product-actions a,
  .product-actions button {
    flex: 1;
    padding: 8px 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  /* ---------- COLOR SWATCHES ---------- */
  .swatches,
  .color-swatches {
    flex-wrap: wrap;
    gap: 6px;
  }

  .swatch {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
  }
}
@media (max-width: 420px) {
  .product-grid {
    gap: 10px;           /* small gap */
    justify-content: center; /* center cards */
    padding: 0 10px;     /* avoid touching edges */
  }

  .product-card {
    flex: 1 1 100%;      /* full width */
    max-width: 100%;     /* prevent overflow */
    box-sizing: border-box;
  }

  .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;  /* maintain aspect ratio */
  }
}


/* ================= HEADER – MOBILE ONLY ================= */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 12px;
    gap: 10px;
  }

  .logo-box {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .logo-box img {
    width: 120px;
  }

  .company-name {
    font-size: 16px;
  }

  .slogan {
    font-size: 13px;
  }

  .right-side {
    align-items: center;
    gap: 6px;
  }

  .header-contact {
    text-align: center;
    margin-bottom: 0;
  }

  /* IMPORTANT: search does NOT belong in header on mobile */
  header .search-bar {
    display: none;
  }
}

/* ================= NAV MOBILE PROFESSIONAL SCALING ================= */
@media (max-width: 768px) {

  nav {
    display: flex;
    flex-wrap: nowrap;                /* one line only */
    justify-content: space-between;
    gap: 12px;
    padding: 10px 6%;
  }

  nav a {
    flex: 1 1 auto;                   /* shrink proportionally */
    min-width: 0;                      /* prevent overflow */
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
    color: #0a1a3f;
    background: #f7f7f7;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  nav a:hover {
    background: #ff7a00;
    color: #fff;
  }
}

/* Medium phones: 480px – 711px width */
@media (max-width: 711px) {
  nav a {
    padding: 7px 10px;
    font-size: 13px;
  }
  nav {
    gap: 10px;
  }
}

/* Small phones: 375px – 479px width */
@media (max-width: 479px) {
  nav a {
    padding: 6px 8px;
    font-size: 12px;
  }
  nav {
    gap: 8px;
  }
}

/* Extra small phones: <375px width */
@media (max-width: 374px) {
  nav a {
    padding: 5px 6px;
    font-size: 11px;
  }
  nav {
    gap: 6px;
  }
}



/* ===== PROFESSIONAL HERO MOBILE LAYOUT (NO CROP, NO GAPS) ===== */
@media (max-width: 768px) {

  .hero-slider-container {
    min-height: 420px;
    height: auto;
    overflow: hidden;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;          /* desktop layout */
    align-items: center;
    justify-content: space-between;
  }

  .hero-left {
    width: 55%;
    padding-left: 20px;
    text-align: left;
  }

  .hero-left h1 {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .hero-right {
    width: 45%;
    display: flex;                /* 🔑 key fix */
    justify-content: center;      /* center image */
    align-items: center;
    padding-right: 10px;
  }

  .hero-right img {
    width: 100%;
    max-width: 100%;
    height: auto;                 /* 🔑 no forced height */
    object-fit: contain;          /* 🔑 no crop */
    display: block;
  }
}
/* ================= PRODUCT GRID MOBILE FIX ================= */
@media (max-width: 768px) {

  .product-grid {
    
    grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    gap: 14px;
    padding: 0 12px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    height: auto;        /* flexible height */
  }

  .image-container {
  height: 170px;        /* fixed, predictable */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}


  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* full image visible */
  }

  .product-card .product-title {
    font-weight: 600;
    margin-bottom: 8px;
  }

  .product-card .buttons-container {
    margin-top: auto;   /* push buttons to bottom */
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .product-card button {
    flex: 1 1 auto;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 6px;
  }
}

/* Extra small phones: force 2 columns for even smallest screens */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 per row */
    gap: 12px;
  }

  .product-card button {
    font-size: 13px;
    padding: 6px 8px;
  }
}
/* Only hide products initially for Load More functionality */
.product-card {
  display: none; 
} 

/* Load More and Back to Top buttons */
#loadMoreBtn, #backToTopBtn {
  display: block;
  margin: 20px auto;
  padding: 12px 30px;
  font-size: 16px;
  background: #0a1a3f;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#loadMoreBtn:hover, #backToTopBtn:hover {
  background: #142d70;
}

/* Hide Back to Top initially */
#backToTopBtn {
  display: none;
}
/* FAQ Section */
.faq-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-bottom: 10px;
  text-align: left;
}
.faq-toggle:hover {
  text-decoration: underline;
}

.faq-list {
  max-height: 0;           /* hide all questions by default */
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-bottom: 80px;    /* space for last answer and footer */
}

.faq-item {
  margin-bottom: 8px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 0;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 13px;
  color: #ddd;
  padding-left: 5px;
  padding-bottom: 0; /* closed state */
}

/* Add bottom padding when open */
.faq-item.active .faq-answer {
  padding-bottom: 10px;
}

/* Optional: for mobile readability */
@media screen and (max-width: 600px) {
  .faq-question {
    font-size: 15px;
  }
  .faq-answer {
    font-size: 14px;
  }
}

.catalogue-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color:orangered;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.3s ease;
}

.catalogue-link:hover {
  background-color: #444;
}

.footer-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
  text-decoration: underline;
}