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

body {
     font-family: "Saira", sans-serif; 
    color: #333;
    background-color: #f5f5f5;
}/* NAVBAR BASE */
/* Navbar */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 1rem 3rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  font-family: "Arimo", sans-serif;
}
.navbar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(135deg, rgba(179, 0, 0, 0.9) 88%, rgba(179, 0, 0, 0) 89%);
  z-index: -1;
}

/* Navbar container */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0;
  flex-wrap: wrap;
}

/* Brand */
.navbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
}

/* Brand logo */
.navbar .brand-logo {
  height: 70px;
  width: auto;
}

/* Brand text */
.navbar .brand-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* Nav Links */
.navbar .nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex: 0;
  gap: 2rem;
  margin-right: 140px;
  transition: all 0.4s ease;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  transition: color 0.3s ease;
}

.navbar .nav-links li a:hover {
  color: #e07b17;
}

/* Search Bar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-search input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.nav-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d01313;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-search button i {
  font-size: 16px;
  line-height: 1;
}

.nav-search button:hover {
  background-color: #a50e0e;
}

/* -------------------- MOBILE VIEW -------------------- */
/* --- FIX HAMBURGER VISIBILITY AND LAYERING --- */
@media (max-width: 768px) {
  /* Brand responsive */
  .navbar .brand {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    margin-right: auto;
  }

  .navbar .brand-logo {
    height: 50px;
  }

  .navbar .brand-text {
    font-size: 16px;
  }

  /* Make sure hamburger is above the red overlay */
/* --- FIX HAMBURGER VISIBILITY --- */
  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    color: #333;
    z-index: 9999;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
  }

  .hamburger i {
    color: #333;
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: rgba(179, 0, 0, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    transition: right 0.4s ease-in-out;
    z-index: 2500;
    padding-top: 100px;
  }

  .navbar .nav-links.open {
    right: 0;
  }



  /* Fix container layout */
  .navbar .container {
    justify-content: space-between;
    align-items: center;
  }



  .nav-links li a {
    color: #fff;
    font-size: 18px;
  }

  .nav-search {
    display: none;
  }

  /* Change icon to close (X) when active */
  .hamburger.active i::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }
}

/* Hide hamburger in desktop */
.hamburger {
  display: none;
}

/* ------------------- DROPDOWN MENU ------------------- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  list-style: none;
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  z-index: 3000;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  color: #333 !important;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(179, 0, 0, 0.1);
  color: #d01313 !important;
}

/* Show dropdown on hover - desktop only */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

/* --- MOBILE DROPDOWN --- */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    display: none;
    align-items: center;
    flex-direction: column;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu li a {
    color: #fff !important;
    padding: 8px 0;
    text-align: center;
  }

  .dropdown-toggle i {
    margin-left: 6px;
  }

   .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-toggle {
    justify-content: center;
  }

  .filter-dropdown {
    position: relative;
    width: 100%;
  }

  .filter-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 15px 0;
    margin-top: 6px;
    display: none;
    border-radius: 8px;
    border: none;
    width: 100%;
    min-width: 0;
    z-index: 950;
  }

  .filter-dropdown.open .dropdown-menu {
    display: block;
  }

  .filter-dropdown .dropdown-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .filter-dropdown .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .filter-dropdown .dropdown-menu li a {
    display: block;
    color: #333;
    padding: 12px 20px;
    text-align: left;
    font-weight: 500;
    background: #fff;
  }

  .filter-dropdown .dropdown-menu li a:hover {
    background: #ffe8e8;
    color: #e07b17;
  }
}





/* HERO SECTION */
/* PRODUCT HERO SECTION */
.product-hero {
  position: relative;
  height: 80vh;
  background: url('images/productHero.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Red angled overlay (same style as about page) */
.product-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(179, 0, 0, 0.6) 60%, 
    rgba(179, 0, 0, 0) 61%
  );
  z-index: 1;
}



/* Hero content */
.product-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  margin-left: 5%;
}

.product-hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-hero p {
  font-size: 1.1rem;
  max-width: 450px;
  color: #ffcccc;
}

/* Responsive */
@media (max-width: 768px) {
  .product-hero {
    height: 80vh;
    justify-content: flex-start;
    text-align: left;
  }

  .product-hero::before {
    width: 65%;
    background: linear-gradient(135deg, rgba(179, 0, 0, 0.6) 60%, rgba(179, 0, 0, 0) 61%);
    clip-path: none;
  }

  .product-hero .hero-content {
    margin-left: 5%;
    padding: 0;
  }

  .product-hero h1 {
    font-size: 3rem;
  }

  .product-hero p {
    font-size: 1.1rem;
    max-width: 450px;
  }
}

@media (max-width: 576px) {
  .product-hero {
    height: 80vh;
    justify-content: flex-start;
    text-align: left;
  }

  .product-hero::before {
    width: 65%;
    background: linear-gradient(135deg, rgba(179, 0, 0, 0.6) 60%, rgba(179, 0, 0, 0) 61%);
  }

  .product-hero .hero-content {
    margin-left: 5%;
    padding: 0;
  }

  .product-hero h1 {
    font-size: 3rem;
  }

  .product-hero p {
    font-size: 1.1rem;
    max-width: 450px;
  }
}

@media (max-width: 480px) {
  .product-hero {
    height: 80vh;
    justify-content: flex-start;
    text-align: left;
  }

  .product-hero::before {
    width: 65%;
    background: linear-gradient(135deg, rgba(179, 0, 0, 0.6) 60%, rgba(179, 0, 0, 0) 61%);
  }

  .product-hero .hero-content {
    margin-left: 5%;
    padding: 0;
  }

  .product-hero h1 {
    font-size: 3rem;
  }

  .product-hero p {
    font-size: 1.1rem;
    max-width: 450px;
  }
}

@media (max-width: 320px) {
  .product-hero {
    height: 80vh;
  }

  .product-hero::before {
    width: 65%;
    background: linear-gradient(135deg, rgba(179, 0, 0, 0.6) 60%, rgba(179, 0, 0, 0) 61%);
  }

  .product-hero .hero-content {
    margin-left: 5%;
    padding: 0;
  }

  .product-hero h1 {
    font-size: 2.6rem;
  }

  .product-hero p {
    font-size: 1rem;
    max-width: 320px;
  }
}




/* FILTER BUTTONS */
.product-filters {
  text-align: center;
  padding: 60px 20px 20px;
}
.product-filters h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
}

.filter-btn {
  background: #fff;
  border: 2px solid #ff4d4d;
  color: #ff4d4d;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ff4d4d;
  color: #fff;
}

/* Dropdown container */
.filter-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown menu */
.filter-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  z-index: 100;
}

.filter-dropdown .dropdown-menu li {
  padding: 8px 20px;
  cursor: pointer;
  position: relative;
}

.filter-dropdown .dropdown-menu li:hover {
  background-color: #f7f7f7;
}

.filter-dropdown .dropdown-menu li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 180px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  padding: 5px 0;
}

.filter-dropdown .dropdown-menu li:hover > ul {
  display: block;
}

.filter-dropdown .dropdown-menu li ul li {
  padding: 6px 16px;
}
/* MOBILE FIX */
@media (max-width: 480px) {
  .product-filters {
    padding: 20px 10px 10px;   /* Reduce top & side padding */
    text-align: left;
  }

  .product-filters h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;       /* Reduce gap under "Categories" */
  }

  .filter-buttons {
    justify-content: flex-start;
    gap: 8px;                  /* Reduce spacing between elements */
  }

  .filter-dropdown {
    width: 100%;               /* Make dropdown fit screen */
  }

  .filter-btn {
    width: 100%;               /* Full width buttons on mobile */
    padding: 8px 14px;
  }

  .filter-dropdown .dropdown-menu {
    width: 100%;
    min-width: unset;          /* Remove extra width */
  }
}

/* PRODUCTS CONTAINER - FLEX LAYOUT */
.products-container {
  display: flex;
  margin-top: 100px;
  min-height: calc(100vh - 100px);
  background: #f9f9f9;
}

/* LEFT SIDEBAR */
.categories-sidebar {
  width: 280px;
  background: white;
  padding: 30px 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

.categories-sidebar h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #ff4d4d;
}

/* CATEGORY ITEM */
.category-item {
  margin-bottom: 20px;
}

/* CATEGORY BUTTON */
.category-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #ff4d4d;
  color: white;
  border-color: #ff4d4d;
}

.expand-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.expand-icon.rotated {
  transform: rotate(180deg);
}

/* SUBCATEGORIES LIST */
.subcategories {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.subcategories.show {
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
}

.subcategories li {
  padding: 8px 0 8px 10px;
  border-left: 3px solid transparent;
  margin: 0;
  position: relative;
}

.subcategories li:hover {
  border-left-color: #ff4d4d;
  background: #f9f9f9;
}

.subcat-link {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.subcat-link:hover {
  color: #ff4d4d;
  font-weight: 600;
}

/* NESTED SUBCATEGORIES */
.nested-subcats {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.nested-subcats.show {
  max-height: 300px;
  opacity: 1;
  padding: 8px 0 8px 15px;
  margin: 8px 0 0 0;
  border-left: 2px solid #e0e0e0;
  overflow: hidden;
}

.nested-subcats li {
  padding: 4px 0 4px 0;
  border-left: none;
}

.nested-subcats .subcat-link {
  font-size: 0.85rem;
  color: #777;
}

.nested-subcats .subcat-link:hover {
  color: #ff4d4d;
}

/* BOPP TOGGLE BUTTON */
.bopp-parent {
  list-style: none;
  padding: 0;
}

.bopp-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px 0;
}

.bopp-toggle:hover {
  background: #ffe8e8;
  border-color: #ff4d4d;
  color: #ff4d4d;
}

.bopp-expand-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.bopp-expand-icon.rotated {
  transform: rotate(180deg);
}

/* AFT TOGGLE */
.aft-parent {
  list-style: none;
  padding: 0;
}

.aft-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px 0;
}

.aft-toggle:hover {
  background: #ffe8e8;
  border-color: #ff4d4d;
  color: #ff4d4d;
}

.aft-expand-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.aft-expand-icon.rotated {
  transform: rotate(180deg);
}

/* FOAM TOGGLE */
.foam-parent {
  list-style: none;
  padding: 0;
}

.foam-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px 0;
}

.foam-toggle:hover {
  background: #ffe8e8;
  border-color: #ff4d4d;
  color: #ff4d4d;
}

.foam-expand-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.foam-expand-icon.rotated {
  transform: rotate(180deg);
}

/* PRODUCT GRID */
.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
  padding: 40px;
  overflow-y: auto;
}
.product-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  overflow: hidden;
  height: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 16px 35px rgba(255, 77, 77, 0.2);
}
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
}
.product-card h3 {
  margin: 10px 0 6px;
  font-size: 0.95rem;
  color: #333;
  flex-grow: 0;
}
.product-card p {
  color: #666;
  font-size: 0.8rem;
  padding: 0 10px 10px;
  line-height: 1.3;
  flex-grow: 1;
}

/* CATEGORY HAMBURGER - DESKTOP (Hidden by default) */
.category-hamburger-product {
  display: none;
}

/* CATEGORY SIDEBAR OVERLAY - FOR MOBILE */
.category-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-overlay.active {
  display: block;
  opacity: 1;
}

/* RESPONSIVE - TABLETS (992px and below) */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    padding: 30px;
  }

  .product-card {
    height: auto;
  }

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

  .categories-sidebar {
    width: 280px;
  }

  .category-btn {
    font-size: 0.9rem;
    padding: 11px 15px;
  }
}

/* RESPONSIVE - TABLET (768px and below) */
@media (max-width: 768px) {
  .products-container {
    flex-direction: column;
    margin-top: 120px;
    min-height: auto;
  }

  /* HAMBURGER BUTTON FOR CATEGORIES */
  .category-hamburger-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #ff4d4d;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    border-radius: 0;
    margin-bottom: 0;
    width: 100%;
    transition: background 0.3s ease;
    position: relative;
    z-index: 900;
  }

  .category-hamburger-product:hover {
    background: #e63c3c;
  }

  .category-hamburger-product i {
    font-size: 1.2rem;
  }

  .category-btn .expand-icon {
    display: none;
  }

  /* SIDEBAR - HIDDEN BY DEFAULT ON MOBILE */
  .categories-sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    padding: 24px;
    overflow-y: auto;
    transition: left 0.4s ease-in-out;
    z-index: 9998;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    max-height: 100vh;
    margin-top: 0;
  }

  .categories-sidebar h3 {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .category-item {
    margin-bottom: 6px;
  }

  .category-btn {
    padding: 12px 14px;
    min-height: 44px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    pointer-events: none;
  }

  .subcategories {
    margin: 0;
    max-height: none;
    opacity: 1;
    overflow: visible;
  }

  .subcategories.show {
    margin: 6px 0 0 0;
  }

  .subcategories li {
    padding: 6px 0 6px 14px;
  }

  .nested-subcats.show {
    padding: 8px 0 8px 18px;
    margin: 6px 0 0 0;
  }

  .nested-subcats li {
    padding: 4px 0;
  }

  .categories-sidebar.open {
    left: 0;
  }

  /* CLOSE BUTTON FOR MOBILE */
  .category-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    right: 30px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    width: 35px;
    height: 35px;
    transition: color 0.3s ease;
    z-index: 9999;
  }

  .category-close:hover {
    color: #ff4d4d;
  }

  .categories-sidebar h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    margin-top: 30px;
  }

  /* OVERLAY - SHOW ON MOBILE */
  .category-overlay {
    display: block;
    pointer-events: none;
    opacity: 0;
  }

  .category-overlay.active {
    pointer-events: auto;
    opacity: 1;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    padding: 20px;
    gap: 18px;
    overflow-y: visible;
    max-height: none;
  }

  .product-card {
    height: auto;
  }

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

  .product-card h3 {
    font-size: 0.9rem;
    margin: 8px 0 5px;
  }

  .product-card p {
    font-size: 0.75rem;
    padding: 0 8px 8px;
  }

  .category-btn {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .subcategories {
    max-height: 400px;
  }

  .product-filters {
    padding: 40px 20px 15px;
  }

  .product-filters h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

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

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

  .navbar .nav-links {
    gap: 1rem;
    font-size: 15px;
  }
}

/* RESPONSIVE - MEDIUM PHONES (576px and below) */
@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    padding: 15px;
    gap: 15px;
  }

  .product-card {
    height: auto;
  }

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

  .product-card h3 {
    font-size: 0.85rem;
    margin: 8px 0 4px;
  }

  .product-card p {
    font-size: 0.7rem;
    padding: 0 6px 6px;
    line-height: 1.2;
  }

  .categories-sidebar {
    padding: 15px;
  }

  .categories-sidebar h3 {
    font-size: 1rem;
  }

  .category-item {
    margin-bottom: 8px;
    font-weight: bold;
  }

  .category-btn {
    padding: 7px 10px;
    font-size: 0.85rem;
  }

  .cta-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .cta-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .about-cta .btn-primary {
    padding: 12px 30px;
    font-size: 14px;
  }

  .about-cta {
    height: auto;
    padding: 70px 20px 50px;
  }

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

/* RESPONSIVE - SMALL PHONES (480px and below) */
@media (max-width: 480px) {
  .products-container {
    margin-top: 100px;
  }

  /* HAMBURGER - OPTIMIZED FOR SMALL PHONES */
  .category-hamburger-product {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .category-hamburger-product i {
    font-size: 1.1rem;
  }

  .categories-sidebar {
    width: 75vw;
    max-width: 280px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    padding: 12px;
    gap: 12px;
  }

  .product-card {
    border-radius: 12px;
    height: auto;
  }

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

  .product-card h3 {
    font-size: 0.8rem;
    margin: 6px 0 3px;
  }

  .product-card p {
    font-size: 0.65rem;
    padding: 0 5px 5px;
    line-height: 1.2;
  }

  .categories-sidebar {
    padding: 12px;
  }

  .categories-sidebar h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .category-item {
    margin-bottom: 4px;
  }

  .category-btn {
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .subcategories li {
    padding: 4px 0 4px 10px;
  }

  .product-filters {
    padding: 30px 15px 12px;
  }

  .product-filters h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .product-hero {
    height: 60vh;
  }

  .product-hero h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .product-hero p {
    font-size: 0.8rem;
    max-width: 280px;
  }

  .navbar {
    padding: 0.8rem 1.5rem;
  }

  .navbar .brand-logo {
    height: 50px;
  }

  .navbar .nav-links {
    gap: 0.8rem;
    font-size: 13px;
  }

  .nav-search input {
    width: 50%;
    padding: 5px 8px;
    font-size: 12px;
  }

  .nav-search button {
    padding: 5px 8px;
  }

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

  .cta-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .cta-content p {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .about-cta .btn-primary {
    padding: 10px 24px;
    font-size: 12px;
  }

  .about-cta {
    height: auto;
    padding: 60px 16px 40px;
  }

  footer {
    padding: 40px 4%;
  }
}

/* RESPONSIVE - EXTRA SMALL PHONES (320px and below) */
@media (max-width: 320px) {
  /* HAMBURGER - EXTRA SMALL OPTIMIZATION */
  .category-hamburger-product {
    padding: 10px 12px;
    font-size: 0.9rem;
    gap: 8px;
  }

  .category-hamburger-product i {
    font-size: 1rem;
  }

  .categories-sidebar {
    width: 85vw;
    max-width: 280px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    padding: 8px;
    gap: 8px;
  }

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

  .product-card h3 {
    font-size: 0.75rem;
    margin: 5px 0 2px;
  }

  .product-card p {
    font-size: 0.6rem;
    padding: 0 4px 4px;
  }

  .categories-sidebar {
    padding: 10px;
  }

  .category-btn {
    padding: 7px 8px;
    font-size: 0.75rem;
  }

  .product-hero h1 {
    font-size: 1.2rem;
  }

  .product-hero p {
    font-size: 0.75rem;
  }

  .navbar {
    padding: 0.6rem 1rem;
  }

  .navbar .brand-text {
    font-size: 14px;
  }

  .cta-content h2 {
    font-size: 18px;
  }

  .cta-content p {
    font-size: 11px;
  }

  footer {
    padding: 30px 3%;
  }
}

/* CTA SECTION */
/* ABOUT PAGE CTA SECTION */
.about-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 55vh;
  padding: 70px 24px;
  background: url('images/cta.jpeg') no-repeat center center/cover;
  overflow: hidden;
  border-radius: 0;
}

.about-cta .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f1f1f1;
}

.about-cta .btn-primary {
  background: #a00000;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s ease;
}

.about-cta .btn-primary:hover {
  background: #c00000;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  padding: 60px 8%;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  align-items: start;
}

/* Column 1: Logo + tagline */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-brand-logo {
  width: 120px;
  border-radius: 10px;
}
.footer-logo p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
}

/* Quick Links */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #ff4d4d;
}

/* Contact Info */
.footer-contact p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Social Media Icons in White Pills */
.footer-social .social-pill-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-social .social-pill-container a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #a00000;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: 0.3s;
}
.footer-social .social-pill-container a:hover {
  background: #ff4d4d;
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  color: #777;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* --- Responsive Adjustments --- */

/* Medium devices (Tablets) */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Small devices (Mobiles) */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: left; /* left align for mobile */
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    text-align: left;
  }

  .footer-social .social-pill-container {
    justify-content: flex-start;
  }
}

/* Extra Small Devices (Phones under 480px) */
@media (max-width: 480px) {
  footer {
    padding: 40px 6%;
  }

  .footer-brand-logo {
    width: 100px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 18px;
  }

  .footer-links ul li a,
  .footer-contact p {
    font-size: 16px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 10px;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 48px;
  height: 48px;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }
  .whatsapp-float img {
    width: 42px;
    height: 42px;
  }
}

/* =======================================================
   🔧 UNIVERSAL FIX: Remove unwanted horizontal scrollbars
   Works for all sections & all screen sizes
======================================================= */

/* Prevent body from scrolling horizontally */
html, body {
  width: 100%;
  overflow-x: hidden;  /* ✅ No horizontal scrollbar anywhere */
}
/* ===========================
   MOBILE-SPECIFIC FIXES
   (Place AFTER existing CSS)
   =========================== */

/* Target tablets + phones so desktop remains untouched */
@media (max-width: 992px) {

  /* Make hamburger always on top and visible */
  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 18px;
    width: 40px;
    height: 40px;
    font-size: 28px;
    z-index: 99999; /* highest so it's clickable above overlays */
    cursor: pointer;
    color: #333 !important;
    background: transparent;
    border: none;
    padding: 6px;
  }
  .hamburger i {
    color: #333 !important;
    pointer-events: none;
  }

  /* Ensure mobile nav panel overlays everything */
  .navbar .nav-links {
    z-index: 99998; /* slightly below hamburger so hamburger can toggle it */
    right: -100%;
    /* keep height and width as defined earlier */
  }
  .navbar .nav-links.open {
    right: 0;
  }

  /* Force the hero overlay to remain visible on mobile */
  .product-hero::before {
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
    z-index: 2 !important;
    background: rgba(179, 0, 0, 0.85) !important;
    clip-path: none !important;
    backdrop-filter: none;
    transition: none;
  }

  .product-hero .hero-content {
    margin: 0 !important;
    padding: 0 1.5rem !important;
  }

  .product-hero h1 {
    font-size: 2rem !important;
  }

  .product-hero p {
    font-size: 1rem !important;
    max-width: 100% !important;
  }
  /* push hero content over the overlay */
  .product-hero .hero-content {
    position: relative;
    z-index: 3 !important;
  }

  /* Product filters: ensure visibility and stacking */
  .product-filters {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 18px 16px;
  }

  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
  }

  .filter-btn {
    min-width: 88px;
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  /* If filters are dropdown-like, ensure their dropdown menus are positioned on top */
  .filter-dropdown .dropdown-menu {
    z-index: 950;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    max-height: 60vh;
    overflow-y: auto;
  }

  /* Mobile-friendly nav link sizes */
  .navbar .nav-links li a {
    font-size: 18px;
    padding: 10px 6px;
  }

  /* Mobile dropdown - ensure click opens it */
  .dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.02);
    padding: 8px 0;
  }

  /* Category sidebar: ensure it slides on top and overlay blocks page */
  .categories-sidebar {
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
  }

  /* Make sure CTA and about sections still readable */
  .about-cta::before {
    z-index: 2;
    background: rgba(0,0,0,0.45);
  }
  .about-cta .cta-content { z-index: 3; }

}

/* Extra small phones tweaks (480px and below) */
@media (max-width: 480px) {
  .product-hero::before {
    background: linear-gradient(135deg, rgba(179, 0, 0, 0.6) 60%, rgba(179, 0, 0, 0) 61%) !important;
  }

  .filter-buttons {
    justify-content: flex-start;
    gap: 8px;
    padding: 0 6px;
  }

  .filter-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-width: 78px;
  }

  .hamburger {
    padding: 8px;
    top: 16px;
    right: 14px;
  }
}



