/* Google Font Import - Mulish */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900&display=swap');

/* Global font family for entire website - EXCEPT Font Awesome icons */
* {
  font-family: 'Mulish', sans-serif !important;
}

/* Preserve Font Awesome icon fonts */
.fa, .fas, .far, .fal, .fab, .fad, .fass, .fasr, .fatl, .fatr,
[class^="fa-"], [class*=" fa-"],
.fa:before, .fas:before, .far:before, .fal:before, .fab:before, .fad:before, .fass:before, .fasr:before, .fatl:before, .fatr:before,
[class^="fa-"]:before, [class*=" fa-"]:before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
}


.logo-wrapper {
  max-height: 75px;
}

.logo {
  height: auto;
  max-height: 75px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}


/*------------ Top Header csss ---------------------------------------------------------------------------------------------------*/




.header2{
  background-color: #16BAE4;
  height: 35px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 0 3px #000;
}
.header2 a:hover{
  text-decoration: underline;
  color: #000;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  padding: 0 4px; /* Adjust spacing around text */
}

.nav-links span {
  color: white;
  font-size: 13px;
  padding: 0 2px; /* Tight space around '|' */
}



/*---------------------------------------------------------------------------------------------------------------*/

/*----------------------------prodct section-------------------------------*/

/* Grid layout: 4-4-2 structure */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 10px;
  margin: 20px 0px 20px ;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

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

.discount {
  background-color: #9fbe1b;
  color: white;
  font-size: 13px;
  padding: 6px;
  font-weight: bold;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 10px;
}

.product-title {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  min-height: 60px;
}

.price {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mrp {
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  text-decoration: line-through;
}

.pay {
  background-color: #9fbe1b;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
}

.add-to-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #eee;
}

.add-to-cart button {
  background-color: #1b2d50;
  color: white;
  padding: 7px 10px;;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  flex-grow: 1;
  margin-right: 10px;
}

.add-to-cart select {
  padding: 5px;
  border-radius: 4px;
  font-size: 13px;
}

/* Responsive for tablets and phones */
@media (max-width: 992px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
  }
}








/*---------------------------------------------------------------------------------------------------------------*/
.cart-icon-wrapper {
  display: inline-block;
}

#cart-count {
  font-size: 12px;
  padding: 3px 6px;
  display: none; /* Hide when count is 0 */
}

/*-------------------------------------footer seaction --------------------------------------*/
.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #ccc; /* Optional: subtle hover color change */
  text-decoration: none;
}

.desktop-footer {
  background-color: #223459;
  color: white;
  padding: 40px 30px 20px;
  
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
 
}

.footer-column {
  flex: 1;
  min-width: 180px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
  cursor: pointer;
}

.footer-column ul li:hover {
  text-decoration: underline;
  color: white;
}

.footer-column.social .icons i {
  font-size: 16px;
  margin-right: 12px;
  color: #ccc;
  cursor: pointer;
}

.footer-column.social .icons i:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #ccc;
  padding: 0 20px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--dark-green);
  text-decoration: none;
}

/* Contact info links styling */
.footer-column.social .contact-info a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column.social .contact-info a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .desktop-footer {
    padding: 20px 30px;
  }
  
  .footer-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-column {
    min-width: 100%;
    flex: none;
  }
  
  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .footer-column ul li {
    font-size: 16px;
  }
  
  .footer-column.social .icons i {
    font-size: 20px;
    margin-right: 15px;
  }
  
  .footer-bottom {
    font-size: 16px;
    margin-top: 20px;
  }
}

/* Mobile Footer - 2 columns per row */
@media (max-width: 768px) {
  .desktop-footer {
    padding: 15px 20px;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 10px;
  }
  
  .footer-column {
    min-width: auto;
    flex: 1;
    margin-bottom: 15px;
  }
  
  .footer-column h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .footer-column ul li {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .footer-column.social .icons i {
    font-size: 16px;
    margin-right: 10px;
  }
  
  .footer-column.social .contact-info p {
    font-size: 11px;
    margin-bottom: 4px;
  }
  
  .footer-column.social .contact-info a {
    color: #ccc;
    font-size: 11px;
  }
  
  .footer-bottom {
    font-size: 12px;
    margin-top: 15px;
    padding: 0 15px;
  }
  
  .footer-bottom a {
    color: #fff;
    font-weight: 600;
  }
}

/* Small Mobile Footer */
@media (max-width: 480px) {
  .desktop-footer {
    padding: 10px 15px;
  }
  
  .footer-container {
    gap: 15px;
    padding: 0 5px;
  }
  
  .footer-column {
    margin-bottom: 10px;
  }
  
  .footer-column h3 {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .footer-column ul li {
    font-size: 11px;
    margin-bottom: 5px;
  }
  
  .footer-column.social .icons i {
    font-size: 14px;
    margin-right: 8px;
  }
  
  .footer-column.social .contact-info p {
    font-size: 10px;
    margin-bottom: 3px;
  }
  
  .footer-column.social .contact-info a {
    color: #ccc;
    font-size: 10px;
  }
  
  .footer-bottom {
    font-size: 11px;
    margin-top: 10px;
    padding: 0 10px;
  }
  
  .footer-bottom a {
    color: #fff;
    font-weight: 600;
  }
}



/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #9acd32;
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 18px;
  z-index: 1000;
  transition: opacity 0.3s;
}

.scroll-to-top:hover {
  opacity: 0.85;
}




/*---------------------------------------------------------------------------------------------------------------*/


/* Nav Bar 1st Css */

.logo {
  height: 75px;
  width: auto;
  cursor: pointer;
}

.navbar:first-of-type {
  position: relative;
  z-index: 1050; /* Ensure first navbar is above second */
}

.navbar .dropdown-menu {
  position: absolute;
  z-index: 1060; /* Dropdown above both navbars */
}

.navbar form .btn-primary {
  background-color: #0288d1;
  border: none;
}

.navbar form .form-control {
  border-left: none;
}

.badge {
  font-size: 0.6rem;
}


/* Mobile All button styling */
.dropdown-mobile .btn {
  background-color: #99d052;  
  color: #fff;                /* White text */
  border: none;               
}
#categoryDropdownMobile{
  padding-right: 5px !important;
}

.dropdown-mobile {
  padding-right: 5px !important;             
}

.dropdown-mobile .btn:hover {
  background-color: #88be45;  
}

/* Custom border-radius on 3 sides */
.dropdown-desktop .btn,
.dropdown-mobile .btn,
.input-group .btn,
.input-group .form-control {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6; /* no rounding */
}


/* navbar.css */

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0 0.5px !important;
}

.navbar .logo {
  max-height: 75px;
}

.input-group .dropdown-toggle {
  background-color: #99d052;
  border: 1px solid #ced4da;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #3faee1;
  color: white;
}

@media (max-width: 991.98px) {
  .dropdown-desktop {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .dropdown-mobile {
    display: none !important;
  }
}


.quantity-input {
  width: 50px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 10px;
  text-align: center;
}






/*---------------------------------------------------------------------------------------------------------------*/



 /*  2nd Nav bar Css */

/* For second navbar */
.second-navbar {
  position: relative;
  z-index: 1000;
}

.navbar-nav {
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  background: #fff;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0px;


}
.navbar-nav a:hover{
  text-decoration: underline;
  color: rgb(230, 22, 22);
 transform: scale(1.05);
 
}


/* Hide second navbar by default */
.second-navbar {
  display: none;
}

/* Show only on large screens (desktop and up) */
@media (min-width: 992px) {
  .second-navbar {
    display: block;
  }

  .category-navbar {
    position: sticky;
    top: 0;
    z-index: 900; /* Keeps it below primary nav (z-index ~1050) */
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 0; /* Remove default padding */
  }

  .category-navbar .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Better spacing between items */
  }

  .category-navbar .nav-link {
    padding: 0.75rem 1rem;
    font-weight:  bold;
    font-size: 13px;
    color: #222;
    transition: color 0.2s ease-in-out, text-decoration 0.2s;
    white-space: nowrap;
    position: relative;
    text-transform: capitalize !important;
  }

  .category-navbar .nav-link:hover {

    text-decoration: none !important;
    color: red;
  }


}

.nav-btn.prev,
.nav-btn.next {
  background-color: transparent !important;
  box-shadow: none !important;
}


/*---------------------------------------------------------------------------------------------------------------*/













.section-header {
  background-color: #00b4e0;
  color: white;
  padding: 20px 30px;
  font-size: 26px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
  width: 100%; /* Fixed width to match screenshot */
  border: 1px solid #ccc;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 auto 8px auto;
  padding-bottom: 6px !important;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(29, 29, 30, 0.5);
}

.discount-banner {
  background-color: #9FBF1C;
  color: white;
  text-align: center;
  width: 100%;
  padding: 10px 10px;
  font-weight: bold;
  font-size: 14px;
}

.product-image {
  text-align: center;
  padding: 10px 20px;
  background: white;
}

.product-image img {
  max-width: 100%;
  height: auto;
  max-height: 140px;
  min-height: 140px;
}

.product-details {
  text-align: center;
  padding: 10px;
  width: 100%;
}

.product-details h3 {
margin: 2px 2px !important;
  font-size: 15px;
  font-weight: bold;
  text-transform: capitalize;
}

/* Align price buttons + wishlist in a row */
.price-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

/* MRP and Pay buttons */
.price-buttons .mrp,
.price-buttons .pay {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: default;
  font-size: 13px;
}

.mrp {
  border: 1px solid #038CC3 !important;
  color: #038CC3 !important;
  background: #038dc38e !important;
  text-decoration: line-through;
}

.pay {
  border: 1px solid #9fbe1b;
  color: #9FBF1C;
  background: #28a7469a !important;
  background: none !important;
}

/* Wishlist inside price-buttons */
.wishlist {
  background: none !important;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  cursor: pointer;
}

.wishlist input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.heart-icon {
  font-size: 18px;
  pointer-events: none;
  color: transparent; /* Transparent fill */
  -webkit-text-stroke: 1px #666; /* Dark grey border */
  text-stroke: 1px #666; /* Dark grey border for non-webkit browsers */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); /* Subtle shadow */
  transition: all 0.3s ease;
}

input[type="checkbox"]:checked + .heart-icon {
  color: #DE0085; /* Pink fill when in wishlist */
  -webkit-text-stroke: 2px #DE0085; /* Pink border when in wishlist */
  text-stroke: 2px #DE0085; /* Pink border for non-webkit browsers */
  filter: drop-shadow(0 2px 4px rgba(222, 0, 133, 0.3)); /* Pink shadow when in wishlist */
}

.heart-checkbox:checked + .wishlist-label .heart-icon {
  color: #DE0085; /* Pink fill when in wishlist */
  -webkit-text-stroke: 2px #DE0085; /* Pink border when in wishlist */
  text-stroke: 2px #DE0085; /* Pink border for non-webkit browsers */
  filter: drop-shadow(0 2px 4px rgba(222, 0, 133, 0.3)); /* Pink shadow when in wishlist */
}

/* Additional specific selectors for initial state */
.wishlist-label.wishlist-active .heart-icon {
  color: #DE0085 !important;
  -webkit-text-stroke: 2px #DE0085 !important;
  text-stroke: 2px #DE0085 !important;
  filter: drop-shadow(0 2px 4px rgba(222, 0, 133, 0.3)) !important;
}

/* Most specific selectors for page load state */
.product-info .wishlist .wishlist-label.wishlist-active .heart-icon,
.product-info .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon,
.card .wishlist .wishlist-label.wishlist-active .heart-icon,
.card .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon,
.product-card .wishlist .wishlist-label.wishlist-active .heart-icon,
.product-card .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon {
  color: #DE0085 !important;
  -webkit-text-stroke: 2px #DE0085 !important;
  text-stroke: 2px #DE0085 !important;
  filter: drop-shadow(0 2px 4px rgba(222, 0, 133, 0.3)) !important;
}

/* Force pink color for wishlist-active state on page load */
.wishlist-label.wishlist-active .heart-icon,
.wishlist-label.wishlist-active span.heart-icon {
  color: #DE0085 !important;
  -webkit-text-stroke: 2px #DE0085 !important;
  text-stroke: 2px #DE0085 !important;
  filter: drop-shadow(0 2px 4px rgba(222, 0, 133, 0.3)) !important;
}

/* Most aggressive selectors for page load state */
body .product-info .wishlist .wishlist-label.wishlist-active .heart-icon,
body .product-info .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon,
body .card .wishlist .wishlist-label.wishlist-active .heart-icon,
body .card .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon,
body .product-card .wishlist .wishlist-label.wishlist-active .heart-icon,
body .product-card .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon,
html body .product-info .wishlist .wishlist-label.wishlist-active .heart-icon,
html body .product-info .wishlist .heart-checkbox:checked + .wishlist-label .heart-icon {
  color: #DE0085 !important;
  -webkit-text-stroke: 2px #DE0085 !important;
  text-stroke: 2px #DE0085 !important;
  filter: drop-shadow(0 2px 4px rgba(222, 0, 133, 0.3)) !important;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 10px 0 15px;
}

.add-to-cart {
  
    background-color: #000;
  color: white;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 70%;
  justify-content: center;
}

.quantity-input {
  width: 50px;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 10px;
  text-align: center;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}


.pagination {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-top: 1rem;
  margin-bottom: 10px;

}

.pagination a {
  padding: 8px 12px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: background-color 0.3s;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .active {
  background-color: #e6e3f1;
  color: #6c5ce7;
  border-color: #aaa;
}


/* Wishlist Pop-up css * /

/* Modal container */
.wishlist-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

/* Modal content */
.wishlist-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.wishlist-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.wishlist-message {
  font-size: 16px;
  margin-bottom: 20px;
  color: #222;
}

.wishlist-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wishlist-btn {
  padding: 12px;
  border: none;
  background-color: #eee;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.wishlist-btn:hover {
  background-color: #ddd;
}

.wishlist-btn.close {
  background-color: #f5f5f5;
}




.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 0 20px #00000050;
}
#cart-icon {
  font-size: 2rem;
  color: #f24e1e;
}



.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

.cart-modal-content {
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cart-icon {
  font-size: 32px;
}

.cart-message {
  font-size: 16px;
  margin-bottom: 20px;
  color: #222;
}

.cart-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-btn {
  padding: 12px;
  border: none;
  background-color: #eee;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-btn:hover {
  background-color: #ddd;
}

.cart-btn.close {
  background-color: #f5f5f5;
}

/*--------------------------------------------------------------*/


/* Google Font Import - Mulish */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900&display=swap');

/* Global font family for entire website - EXCEPT Font Awesome icons */
* {
  font-family: 'Mulish', sans-serif !important;
}

/* Preserve Font Awesome icon fonts */
.fa, .fas, .far, .fal, .fab, .fad, .fass, .fasr, .fatl, .fatr,
[class^="fa-"], [class*=" fa-"],
.fa:before, .fas:before, .far:before, .fal:before, .fab:before, .fad:before, .fass:before, .fasr:before, .fatl:before, .fatr:before,
[class^="fa-"]:before, [class*=" fa-"]:before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
}


.logo-wrapper {
  max-height: 75px;
}

.logo {
  height: auto;
  max-height: 75px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}


/*------------ Top Header csss ---------------------------------------------------------------------------------------------------*/



.header2{
  background-color: #16BAE4;
  height: 35px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 0 3px #000;
}
.header2 a:hover{
  text-decoration: underline;
  color: #000;
}

/* Icon styling */
.header2 .mobile-support-cart i {
  font-size: 18px;
  color: #fff;
  margin-right: -10px;
  margin-top: 3px;
  margin-left: 5px;
}

/* Text (e.g., "Support") spacing */
.header2 .mobile-support-cart span {
 
padding-right: 20px;
  font-weight: 500;
  color: #fff;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  padding: 0 4px; /* Adjust spacing around text */
}

.nav-links span {
  color: white;
  font-size: 13px;
  padding: 0 2px; /* Tight space around '|' */
}








/*----------------------------prodct section-------------------------------*/

/* Grid layout: 4-4-2 structure */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 10px;
  margin: 20px 0px 20px ;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

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

.discount {
  background-color: #9fbe1b;
  color: white;
  font-size: 13px;
  padding: 6px;
  font-weight: bold;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 10px;
}

.product-title {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  min-height: 60px;
}

.price {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mrp {
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  text-decoration: line-through;
}

.pay {
  background-color: #9fbe1b;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
}

.add-to-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #eee;
}

.add-to-cart button {
  background-color: #1b2d50;
  color: white;
  padding: 7px 10px;;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  flex-grow: 1;
  margin-right: 10px;
}

.add-to-cart select {
  padding: 5px;
  border-radius: 4px;
  font-size: 13px;
}

/* Responsive for tablets and phones */
@media (max-width: 992px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
  }
}








/*---------------------------------------------------------------------------------------------------------------*/

/*-------------------------------------footer seaction --------------------------------------*/
.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #ccc; /* Optional: subtle hover color change */
  text-decoration: none;
}

.desktop-footer {
  position: relative;
  color: white;
  padding: 40px 30px 20px;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('asset/images/footer_image.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(34, 52, 89, 0.5);
  z-index: 2;
}

.footer-container {
  position: relative;
  z-index: 3;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
 
}

.footer-column {
  flex: 1;
  min-width: 180px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
  cursor: pointer;
}

.footer-column ul li:hover {
  text-decoration: underline;
  color: white;
}

.footer-column.social .icons i {
  font-size: 16px;
  margin-right: 12px;
  color: #ccc;
  cursor: pointer;
}

.footer-column.social .icons i:hover {
  color: white;
}

.footer-bottom {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #ccc;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .desktop-footer {
    padding: 20px 30px;

  }
  
  .footer-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-column {
    min-width: 100%;
    flex: none;
  }
  
  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .footer-column ul li {
    font-size: 16px;
  }
  
  .footer-column.social .icons i {
    font-size: 20px;
    margin-right: 15px;
  }
  
  .footer-bottom {
    font-size: 16px;
    margin-top: 20px;
  }
}



/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #9acd32;
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 18px;
  z-index: 1000;
  transition: opacity 0.3s;
}

.scroll-to-top:hover {
  opacity: 0.85;
}




/*---------------------------------------------------------------------------------------------------------------*/


/* Nav Bar 1st Css */

.logo {
  height: 75px;
  width: auto;
  cursor: pointer;
}

.navbar:first-of-type {
  position: relative;
  z-index: 1050; /* Ensure first navbar is above second */
}

.navbar .dropdown-menu {
  position: absolute;
  z-index: 1060; /* Dropdown above both navbars */
}

.navbar form .btn-primary {
  background-color: #0288d1;
  border: none;
}

.navbar form .form-control {
  border-left: none;
}

.badge {
  font-size: 0.6rem;
}


/* Mobile All button styling */
.dropdown-mobile .btn {
  background-color: #99d052;  
  color: #fff;                /* White text */
  border: none;               
}

.dropdown-mobile .btn:hover {
  background-color: #88be45;  
}

/* Custom border-radius on 3 sides */
.dropdown-desktop .btn,
.dropdown-mobile .btn,
.input-group .btn,
.input-group .form-control {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6; /* no rounding */
}


/* navbar.css */

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0 0.5px !important;
}

.navbar .logo {
  max-height: 75px;
}

.input-group .dropdown-toggle {
  background-color: #99d052;
  border: 1px solid #ced4da;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #3faee1;
  color: white;
}

@media (max-width: 991.98px) {
  .navbar .logo-wrapper {
    width: 100%; /* take full width */
    display: flex;
    justify-content: center;
    align-items: center; 
  }

  .navbar .logo {
    max-height: 65px; 
  }
}




/*--------------------------------------2nd navbar-----------------------------------------------------*/
.category-scroll-container {
  display: block;           /* container should be block */
  background-color:#fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;

  /* Keep these overrides */
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.category-item {
  flex: 0 0 auto;
  width: 70px;
  text-align: center;

  /* Remove text decoration */
  text-decoration: none !important;

  /* Keep other overrides */
  outline: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.category-item:active {
  border: 1px solid #fff !important;
}

/* Mobile Category Slider Active State */
.category-scroll-container .category-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 4px 2px;
  text-decoration: none;
  color: #333;
}

.category-scroll-container .category-item:hover {
  background-color: rgba(153, 208, 82, 0.1);
  transform: translateY(-2px);
}

.category-scroll-container .category-item.active .category-img {
  border: 3px solid #99d052;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(153, 208, 82, 0.3);
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.category-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px !important;
  border: 1px solid #ccc;
}

.category-label {
    font-size: 8px;
  font-weight: bold;
    color: #6c757d;
  text-decoration: none !important;
}
  
  /* Mobile wishlist count badge positioning */
  .mobile-nav-link[href*="wishlist.php"] {
    position: relative;
  }
  
  /* Mobile only styles for wishlist count badge */
  @media (max-width: 991.98px) {
    .mobile-nav-link[href*="wishlist.php"] .wishlist-count-badge,
    .mobile-nav-link[href*="wishlist.php"] .badge {
      position: absolute !important;
      top: 0px !important;
      right: 8px !important;
      transform: translate(50%, -50%) !important;
      z-index: 10;
      background-color: #DE0085 !important;
      font-size: 8px !important;
      min-width: 12px !important;
      height: 12px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    /* Override any conflicting styles */
    .mobile-nav-link[href*="wishlist.php"] .wishlist-count-badge {
      top: 0px !important;
      right: 8px !important;
      min-width: 12px !important;
      height: 12px !important;
      font-size: 8px !important;
    }
  }

/* Hide scroll on desktop */
@media (min-width: 992px) {
  .category-scroll-container {
    display: none !important;
  }
}

/* Tab view styles with same gap */
.tab-view {
  display: flex;
  gap: 10px;       /* same gap as category */
}

.tab-item {
  /* Example tab item style */
  padding: 8px 16px;
  background-color: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;

  /* To keep consistent no decoration */
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.scroll-wrapper {
  display: flex;
  gap: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}
.category-item {
  flex: 0 0 auto;
  min-width: 70px; /* Adjust as needed */
}


.quantity-input {
  width: 50px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 10px;
  text-align: center;
}


.second-navbar {
  position: relative;
  z-index: 1000;
}

.navbar-nav {
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  background: #fff;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0px;


}
.navbar-nav a:hover{
  text-decoration: underline;
  color: rgb(230, 22, 22);
 transform: scale(1.05);
 
}


/* Hide second navbar by default */
.second-navbar {
  display: none;
}

/* Show only on large screens (desktop and up) */
@media (min-width: 992px) {
  .second-navbar {
    display: block;
  }

  .category-navbar {
    position: sticky;
    top: 0;
    z-index: 900; /* Keeps it below primary nav (z-index ~1050) */
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 0; /* Remove default padding */
  }

  .category-navbar .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Better spacing between items */
  }

  .category-navbar .nav-link {
    padding: 0.75rem 1rem;
    font-weight:  bold;
    font-size: 13px;
    color: #222;
    transition: color 0.2s ease-in-out, text-decoration 0.2s;
    white-space: nowrap;
    position: relative;
    text-transform: capitalize !important;
  }

  .category-navbar .nav-link:hover {
    
    text-decoration: underline;
    color: red;
  }

}

.nav-btn.prev,
.nav-btn.next {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Hide scrollbar for WebKit browsers */
.category-scroll-container::-webkit-scrollbar,
.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for Firefox */
.category-scroll-container,
.scroll-wrapper {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* Internet Explorer 10+ */
}


/*-------------------------------z--------------------------------------------------------------------------------*/













.section-header {
  background-color: #00b4e0;
  color: white;
  padding: 20px 30px;
  font-size: 26px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
  width: 100%; /* Fixed width to match screenshot */
  border: 1px solid #ccc;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 auto 8px auto;
  padding-bottom: 6px !important;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(29, 29, 30, 0.5);
}

.discount-banner {
  background-color: #9FBF1C;
  color: white;
  text-align: center;
  width: 100%;
  padding: 10px 14px;
  font-weight: bold;
  font-size: 14px;
}
.discount-banner1 {
  background-color: #9fbe1b;
  color: white;
  text-align: center;
  width: 100%;
  padding: 7px 10px;
  font-weight: bold;
  font-size: 14px;

}
@media (min-width: 546px){
  .discount-banner1{
      background-color: #9fbe1b;
  color: white;
  text-align: center;
  width: 100%;
  padding: 7px 10px;
  font-weight: bold;
  font-size: 14px;

  }
}

@media (min-width: 996px){
  .discount-banner1{
      background-color: #9fbe1b;
  color: white;
  text-align: center;
  width: 100%;
  padding: 7px 10px;
  font-weight: bold;
  font-size: 14px;


  }
}


.product-image {
  text-align: center;
  padding: 10px 20px;
  background: white;
}

.product-image img {
  max-width: 100%;
  max-height: 155px;
  height: auto;
}

.product-details {
  text-align: center;
  padding: 10px;
  width: 100%;
}

.product-details h3 {
margin: 2px 2px !important;
  font-size: 15px;
  font-weight: bold;
  text-transform: capitalize;
}

/* Align price buttons + wishlist in a row */
.price-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

/* MRP and Pay buttons */
.price-buttons .mrp,
.price-buttons .pay {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: default;
  font-size: 13px;
}

.mrp {
border: 1px solid #038CC3 !important;
color: #038CC3 !important;
  background: #038dc38e !important;
  text-decoration: line-through;
}

.pay {
  border: 1px solid #9fbe1b !important;
  color: #9fbe1b !important;
  background: none !important;
}

/* Wishlist inside price-buttons */
.wishlist {
  background: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.wishlist input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.heart-icon {
  font-size: 18px;
  pointer-events: none;
  color: #fff; /* default color */
  transition: color 0.3s ease;
}

input[type="checkbox"]:checked + .heart-icon {
  color: red;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 10px 0 15px;
}

.add-to-cart {
  
    background-color: #000;
  color: white;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 70%;
  justify-content: center;
}

.quantity-input {
  width: 50px;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 10px;
  text-align: center;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}


.pagination {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-top: 1rem;
  margin-bottom: 10px;

}

.pagination a {
  padding: 8px 12px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: background-color 0.3s;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .active {
  background-color: #e6e3f1;
  color: #6c5ce7;
  border-color: #aaa;
}

.wishlist-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.wishlist-modal-content {
  background: #fff;
  padding: 30px 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

#wishlist-icon {
  font-size: 40px;
  color: #e91e63;
  margin-bottom: 10px;
}

#wishlist-message {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
}

.wishlist-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wishlist-btn {
  padding: 10px 20px;
  background: #9fbe1b;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.wishlist-btn:hover {
  background-color: #093b15;
}

.wishlist-btn.close {
  background: #ccc;
  color: #000;
}

.wishlist-btn.close:hover {
  background: #aaa;
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


/*-------------------------------------------------------------*/


/* Sticky Header Implementation */
.header2 {
  background-color: #16BAE4;
  height: 35px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 0 3px #000;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0 0.5px !important;
  position: sticky;
  top: 35px;
  z-index: 999;
  width: 100%;
}

.category-scroll-container {
  display: block;
  background-color: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 91px;
  z-index: 998;
  width: 100%;
  overflow: hidden;
  max-width: 100vw;
}

.category-scroll-container .scroll-wrapper {
  display: flex;
  gap: 1px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  padding: 1px 1px;
  max-width: 100%;
  transition: scroll-left 0.02s ease-out;
  will-change: scroll-left;
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.category-scroll-container .scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.category-scroll-container .scroll-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-navbar {
  position: sticky;
  top: 91px;
  z-index: 997;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  width: 100%;
}

/* Mobile responsive sticky positioning */
@media (max-width: 991.98px) {
  .navbar {
    top: 0;
  }
  
  .category-scroll-container {
    top: 130px;
  }
  
  .category-navbar {
    top: 83px;
  }
}

/* Ensure body has proper padding to account for sticky header */
body {
  padding-top: 0 !important;
}

/* Floating cart positioning */
#floatingCartBtn {
  z-index: 1001;
  background: white !important;
  border: 3px solid #9FBF1C !important;
}

/* Floating cart count color */
#floatingCartCount {
  color: #038CC3 !important;
}

#floatingCartPanel.fixed-panel {
  z-index: 1002;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .header2 {
    height: auto;
    min-height: 35px;
    padding: 5px 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
  }
  
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
  }
  
  .nav-links a {
    font-size: 11px;
    padding: 2px 3px;
  }
  
  .nav-links span {
    font-size: 11px;
    padding: 0 1px;
  }
  
  .navbar {
    padding: 0;
    flex-wrap: wrap;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }
  
  /* Logo and cart row */
  .navbar .logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 2px; */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 6px;
  }
  
  .navbar .logo {
    max-height: 120px;
    width: auto;
    flex: 0 0 auto;
    min-width: 0;
  }
  
  /* Hide customer support on mobile, show only cart icon */
  .customer-support-section {
    display: none !important;
  }
  
  /* Mobile navigation icons */
  .mobile-nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: auto;
  }
  
  .mobile-nav-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .mobile-nav-link i {
    font-size: 24px !important;
  }
  
  /* Account text styling */
  .mobile-nav-link .user-welcome-text,
  .mobile-nav-link .user-signin-text {
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #333 !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }
  
  /* Ensure sign-in text is fully visible */
  .mobile-nav-link .user-signin-text {
    min-width: 40px !important;
    text-align: left !important;
  }
  
  /* Cart icon consistency */
  .cart-link {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  
  .cart-icon {
    width: 35px !important;
    height: 25px !important;
  }
  
  /* Ensure account text is visible on medium mobile */
  .mobile-nav-link .user-welcome-text,
  .mobile-nav-link .user-signin-text {
    display: block !important;
  }
  
  /* Show cart icon on mobile */
  .cart-section {
    display: flex !important;
    position: static;
    flex: 0 0 auto;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    min-width: 45px;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0;
  }
  
  .cart-section a {
    color: #333 !important;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .cart-section i {
    font-size: 1.2rem;
    margin-right: 5px;
  }
  
  /* Search bar row */
  .navbar form {
    width: 100%;
    margin: 0;
    order: 2;
    min-width: 0;
    max-width: 100%;
    padding: 0 0px 8px 0px;
    box-sizing: border-box;
  }
  
  .navbar form .input-group {
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    display: flex;
    margin: 0;
    border-collapse: collapse;
    font-size: 0;
    letter-spacing: -1px;
  }
  
  .navbar form .input-group > * {
    font-size: 14px;
  }
  
  .navbar form .input-group > * {
    margin: 0;
    border-radius: 0;
  }
  
  .navbar form .input-group .dropdown-mobile {
    margin-right: 0;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  
  .navbar form .input-group .form-control {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  
  .navbar form .input-group .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  
  .navbar form .input-group > * {
    flex: 1;
    min-width: 0;
  }
  
  .navbar form .form-control {
    font-size: 14px;
    padding: 8px 12px;
    flex: 1;
    min-width: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
  }
  
  .navbar form .btn {
    padding: 8px 12px;
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 0;
    height: 42px;
    /* width: 42px;
    min-width: 42px;
    max-width: 42px; */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Connect dropdown button with search input */
  .navbar form .dropdown-toggle {
    border-radius: 0;
    border-right: none;
    flex-shrink: 0;
  }
  
  /* Ensure seamless connection between search elements */
  .navbar form .input-group .dropdown-mobile .btn {
    border-right: none !important;
    margin-right: 0 !important;
  }
  
  .navbar form .input-group .form-control {
    border-left: none !important;
    border-right: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .navbar form .input-group .btn {
    border-left: none !important;
    margin-left: 0 !important;
  }
  
  /* Force connection by removing any gaps */
  .navbar form .input-group > * {
    margin: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Target Bootstrap input-group elements specifically */
  .navbar form .input-group .dropdown-mobile,
  .navbar form .input-group .form-control,
  .navbar form .input-group .btn {
    margin: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Direct targeting of mobile dropdown and search input */
  .dropdown-mobile {
    margin-right: 0 !important;
    border-right: none !important;
  }
  
  .mobile-search-input {
    margin-left: 0 !important;
    border-left: none !important;
    /* width: calc(100% + 10px) !important; */
  }
  
  /* Force connection using specific class targeting */
  .navbar form .input-group .dropdown-mobile .btn {
    border-right: none !important;
    margin-right: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  
  .navbar form .input-group .mobile-search-input {
    border-left: none !important;
    margin-left: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    width: calc(100% + 8px) !important;
    margin-left: -4px !important;
  }
  
  /* Force connection by targeting the specific gap */
  .navbar form .input-group .dropdown-mobile {
    margin-right: 0 !important;
  }
  
  .navbar form .input-group .form-control {
    margin-left: -1px !important;
    width: 100% !important;
  }
  
  /* Ultra-aggressive gap elimination */
  .navbar form .input-group .dropdown-mobile .btn {
    margin-right: 0 !important;
    border-right: none !important;
    box-shadow: none !important;
  }
  
  .navbar form .input-group .form-control {
    margin-left: -1px !important;
    border-left: none !important;
    box-shadow: none !important;
  }
  
  /* Override any potential Bootstrap spacing */
  .input-group > .dropdown-mobile {
    margin-right: 0px !important;
  }
  
  .input-group > .form-control {
    margin-left: -2px !important;
  }
  
  /* Force remove border radius from mobile dropdown button */
  .navbar form .input-group .dropdown-mobile .btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }
  
  /* Force remove border radius from search input */
  .navbar form .input-group .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: none !important;
    margin-left: -3px !important;
    box-shadow: none !important;
  }
  
  /* Additional aggressive fix for the gap */
  .navbar form .input-group .dropdown-mobile {
    position: relative;
    z-index: 3;
  }
  
  .navbar form .input-group .form-control {
    position: relative;
    z-index: 2;
    /* margin-left: -4px !important; */
  }
  
  /* Force the search input to overlap the dropdown button */
  .navbar form .input-group .form-control:focus {
    margin-left: -4px !important;
    border-left: none !important;
  }
  
  .navbar form .input-group .dropdown-mobile {
    margin-right: 0px !important;
    border-right: none !important;
  }
  
  .navbar form .input-group .form-control {
    margin-left: -1px !important;
    margin-right: -1px !important;
    border-left: none !important;
    border-right: none !important;
  }
  
  .navbar form .input-group .btn {
    margin-left: -1px !important;
    border-left: none !important;
  }
  
  /* Override any Bootstrap default spacing */
  .navbar form .input-group .dropdown-mobile .btn {
    border-right: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
  }
  
  .navbar form .input-group .form-control {
    border-left: none !important;
    margin-left: 0 !important;
    padding-left: 12px !important;
    box-shadow: none !important;
  }
  
  /* Force absolute connection by overlapping elements */
  .navbar form .input-group .dropdown-mobile {
    position: relative;
    z-index: 2;
    margin-right: 0px !important;
    border-right: none !important;
  }
  
  .navbar form .input-group .form-control {
    position: relative;
    z-index: 1;
    margin-left: -4px !important;
    border-left: none !important;
  }
  
  /* Additional fix for the gap */
  .navbar form .input-group .dropdown-mobile .btn {
    border-right: none !important;
    margin-right: 0 !important;
    position: relative;
    z-index: 2;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  
  /* Target the specific dropdown-mobile div */
  .dropdown-mobile {
    margin-right: 0px !important;
    border-right: none !important;
  }

  .mx-4 {
    margin-right: 0px !important;
    margin-left: 0px !important;
}
  
  .dropdown-mobile .btn {
    border-right: none !important;
    margin-right: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none !important;
  }
  
  /* Force the search input to connect with the dropdown */
  .navbar form .input-group .form-control {
    margin-left: 0 !important;
    border-left: none !important;
    box-shadow: none !important;
    width: calc(100% + 2px) !important;
  }
  
  /* Direct targeting of mobile search input for connection */
  .mobile-search-input {
    width: calc(100% + 12px) !important;
    margin-left: -6px !important;
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    position: relative;
    z-index: 2;
  }
  
  /* Force the input to extend into the dropdown area */
  .navbar form .input-group .mobile-search-input {
    position: relative;
    z-index: 2;
    width: calc(100% + 15px) !important;
    margin-left: -8px !important;
  }
  
  /* Controlled connection approach */
  .navbar form .input-group {
    position: relative;
  }
  
  .navbar form .input-group .dropdown-mobile {
    position: relative;
    z-index: 1;
  }
  
  .navbar form .input-group .mobile-search-input {
    position: relative;
    left: -4px;
    width: calc(100% + 6px) !important;
    z-index: 2;
  }
  
  /* Target by ID for controlled specificity */
  #headerSearchInput {
    /* width: calc(100% + 10px) !important; */
    /* margin-left: -5px !important; */
    width: 100% !important;
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    position: relative;
    z-index: 2;
  }
  
  /* Controlled connection using specific selector */
  .navbar form .input-group #headerSearchInput.mobile-search-input {
    position: relative;
    width: 100% !important;
    z-index: 2;
  }
  
  /* Nuclear option: Use transform to force connection */
  .navbar form .input-group .dropdown-mobile {
    transform: translateX(0) !important;
    margin-right: 0 !important;
    border-right: none !important;
  }
  
  .navbar form .input-group .form-control {
    transform: translateX(0) !important;
    margin-left: 0 !important;
    border-left: none !important;
    box-shadow: none !important;
    width: 100% !important;
  }
  
  /* Force absolute positioning to eliminate gaps */
  .navbar form .input-group {
    position: relative;
  }
  
  .navbar form .input-group .dropdown-mobile {
    position: relative;
    z-index: 10;
  }
  
  .navbar form .input-group .form-control {
    position: relative;
    z-index: 9;
    left: 0;
  }
  
  /* Ultra-aggressive gap elimination using CSS Grid */
  .navbar form .input-group {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 0 !important;
  }
  
  .navbar form .input-group .dropdown-mobile {
    grid-column: 1;
    margin: 0 !important;
  }
  
  .navbar form .input-group .mobile-search-input {
    grid-column: 2;
    margin: 0 !important;
    width: 100% !important;
    margin-left: -3px !important;
  }
  
  .navbar form .input-group .mobile-search-btn {
    grid-column: 3;
    margin: 0 !important;
  }
  
  /* Ensure dropdown button and search input are connected */
  .navbar form .dropdown-desktop,
  .navbar form .dropdown-mobile {
    flex-shrink: 0;
  }
  
  /* Remove any gaps in the input group */
  .navbar form .input-group > *:not(:last-child) {
    margin-right: 0;
  }
  
  .navbar form .input-group > *:not(:first-child) {
    margin-left: 0;
  }
  
  /* Ensure search input takes full width */
  .navbar form .form-control {
    flex: 1;
    min-width: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
  }
  
  /* Ensure dropdown button is properly sized */
  .navbar form .dropdown-desktop,
  .navbar form .dropdown-mobile {
    flex-shrink: 0;
    /* min-width: 80px !important; */
  }
  
  /* Old rule removed - using new cart-section class instead */
  
  /* Mobile search results popup */
  #headerSearchResultsPopup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 400px !important;
    z-index: 9999 !important;
  }
  
  .category-item {
    width: 50px;
    min-width: 50px;
    flex-shrink: 0;
  }
  
  .category-img {
    width: 70px !important;
    height: 70px !important;
  }
  
  .category-label {
    font-size: 8px;
    line-height: 1.2;
    /* word-wrap: break-word; */
    text-align: center;
    max-width: 40ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  }
  
  /* Floating cart mobile adjustments */
  #floatingCartBtn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  #floatingCartBtn i {
    font-size: 1.5rem;
  }
  
  #floatingCartPanel.fixed-panel {
    width: 95vw;
    max-width: 95vw;
    height: 80vh;
    max-height: 80vh;
    bottom: 10px;
    right: 2.5vw;
  }
  
  /* Ensure header elements don't overflow */
  .navbar,
  .header2,
  .category-scroll-container {
    overflow: hidden;
    max-width: 100vw;
  }
  
  /* Fix any potential horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .header2 {
    padding: 3px 5px;
    margin-bottom: 0;
  }
  
  .nav-links {
    font-size: 10px;
    gap: 3px;
  }
  
  .nav-links a {
    font-size: 10px;
    padding: 1px 2px;
  }
  
  .navbar {
    padding: 0;
  }
  
  .navbar .logo-wrapper {
    /* margin-bottom: 6px; */
    gap: 10px;
  }
  
  .navbar .logo {
    max-height: 50px;
    min-width: 0;
  }
  
  .navbar form {
    padding: 0 0px 6px 0px;
  }
  
  .navbar form .form-control {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 0;
    border-left: none;
  }
  
  .navbar form .btn {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 0;
  }
  
  /* Mobile navigation icons on small screens */
  .mobile-nav-icons {
    gap: 10px;
  }
  
  .mobile-nav-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .mobile-nav-link i {
    font-size: 22px !important;
  }
  
  /* Cart icon consistency for small screens */
  .cart-link {
    width: 40px !important;
    height: 40px !important;
  }
  
  .cart-icon {
    width: 35px !important;
    height: 25px !important;
  }
  
  /* Ensure account text is visible on small mobile */
  .mobile-nav-link .user-welcome-text,
  .mobile-nav-link .user-signin-text {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }
  
  /* Show cart icon on small mobile */
  .cart-section {
    padding: 6px 10px;
    min-width: 40px;
    border-radius: 6px;
    flex-shrink: 0;
  }
  
  .cart-section a {
    font-size: 12px;
  }
  
  .cart-section i {
    font-size: 1rem;
    margin-right: 3px;
  }
  
  .category-item {
    width: 50px;
    min-width: 50px;
  }
  
  .category-img {
    width: 70px !important;
    height: 70px !important;
  }
  
  .category-label {
    font-size: 8px;
  }
  
  #floatingCartBtn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  #floatingCartBtn i {
    font-size: 1.3rem;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .mobile-nav-icons {
    gap: 8px;
  }
  
  .mobile-nav-link {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  
  .mobile-nav-link i {
    font-size: 18px !important;
  }
  
  .mobile-nav-link .user-welcome-text,
  .mobile-nav-link .user-signin-text {
    font-size: 10px !important;
    line-height: 1 !important;
  }
  
  .cart-link {
    width: 32px !important;
    height: 32px !important;
  }
  
  .cart-icon {
    width: 35px !important;
    height: 25px !important;
  }
}

/* Very small devices (phones, 360px and down) */
@media (max-width: 360px) {
  .mobile-nav-icons {
    gap: 6px;
  }
  
  .mobile-nav-link {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  
  .mobile-nav-link i {
    font-size: 16px !important;
  }
  
  .mobile-nav-link .user-welcome-text,
  .mobile-nav-link .user-signin-text {
    font-size: 10px !important;
    line-height: 1 !important;
  }
  
  .cart-link {
    width: 28px !important;
    height: 28px !important;
  }
  
  .cart-icon {
    width: 35px !important;
    height: 25px !important;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 991.98px) and (orientation: landscape) {
  .navbar .logo-wrapper {
    /* margin-bottom: 5px; */
  }
  
  .navbar .logo {
    max-height: 45px;
  }
  
  .category-scroll-container {
    padding: 5px 3px;
  }
  
  .category-item {
    width: 50px;
    min-width: 50px;
  }
  
  .category-img {
    width: 70px !important;
    height: 70px !important;
  }
}

/* Ensure proper viewport meta tag is respected */
@media (max-width: 991.98px) {
  .container {
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
  }
  
  .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* Responsive Header Styles */
.navbar.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  width: 100% !important;
}

/* Ensure header stays on top */
body {
  padding-top: 0;
}

/* Override all navbar styles to ensure sticky behavior */
.navbar,
.navbar:first-of-type,
.navbar.navbar-expand-lg {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  width: 100% !important;
}

/* Ensure parent elements don't interfere */
html, body {
  overflow-x: hidden;
  height: 100%;
}

/* Force sticky behavior with higher specificity */
.navbar.sticky-top.bg-white {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  width: 100% !important;
}

/* Mobile navigation icons */
.mobile-nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  position: relative;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 4px;
  white-space: nowrap;
}

.mobile-nav-link:hover {
  transform: scale(1.1);
  background: none;
  box-shadow: none;
}

.mobile-nav-link i {
  transition: transform 0.3s ease;
}

.mobile-nav-link:hover i {
  transform: scale(1.1);
}

/* Specific colors for mobile nav icons */
.mobile-nav-link[href*="wishlist.php"] i {
  color: #DE0085 !important;
}

.mobile-nav-link[href*="myaccount.php"] i {
  color: #007bff !important;
}

.mobile-nav-link[href*="login.php"] i {
  color: #99d052 !important;
}

.mobile-nav-link[href*="cart.php"] {
  background: none;
  border: none;
}

/* Mobile navigation text styling - ensure visibility */
.mobile-nav-link .user-welcome-text,
.mobile-nav-link .user-signin-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
  display: block !important;
}

.mobile-nav-link .welcome-line-1,
.mobile-nav-link .welcome-line-2 {
  margin: 0;
  padding: 0;
  display: block !important;
}

/* Mobile welcome text styling */
.mobile-nav-link .welcome-line-2 {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 60px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}

/* Extra small screens - adjust welcome text */
@media (max-width: 480px) {
  .mobile-nav-link .welcome-line-2 {
    max-width: 50px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 360px) {
  .mobile-nav-link .welcome-line-2 {
    max-width: 40px !important;
    font-size: 8px !important;
  }
}

.mobile-nav-link .user-signin-text {
  margin: 0;
  padding: 0;
  display: block !important;
}

/* Mobile cart section - now part of mobile-nav-icons */
.cart-section-mobile {
  display: none; /* Hide old cart section since we're using mobile-nav-icons */
}

/* Ensure cart count badge is visible */
#cart-count-mobile,
#cart-count {
  font-size: 12px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1031;
  color: #038CC3 !important;
}

/* Mobile cart count positioning - right side */
#cart-count-mobile {
  position: absolute !important;
  top: -5px !important;
  right: 5px !important;
  transform: translate(50%, -50%) !important;
  z-index: 1032 !important;
}

/* Wishlist count badge styling */
.mobile-nav-link[href*="wishlist.php"] .badge {
  background-color: #DE0085 !important;
  color: white !important;
  font-size: 8px !important;
  min-width: 12px !important;
  height: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1031 !important;
  position: absolute !important;
  top: 0px !important;
  right: 8px !important;
  transform: translate(50%, -50%) !important;
}

/* Desktop cart section - remove background */
.cart-section {
  background: none !important;
  padding: 0;
}

.cart-section .cart-link {
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.cart-section .cart-link:hover {
  background-color: #f8f9fa;
}

/* Category navbar visibility fix */
.second-navbar {
  display: none;
}

@media (min-width: 992px) {
  .second-navbar {
    display: block !important;
  }
  
  .category-navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
  }
  
  .category-navbar .navbar-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .category-navbar .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease;
    text-transform: none !important;
  }
  
  .category-navbar .nav-link:hover {
    color: #007bff;
  }
  
}

/* Mobile connected search bar styles */
@media (max-width: 991.98px) {
  .mobile-category-btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
  }
  
  .mobile-search-input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: none !important;
  }
  
  .mobile-search-btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  
  /* Ensure proper spacing */
  .input-group .dropdown-mobile {
    margin-right: 0px;
  }
  
  .input-group .mobile-search-input {
    margin-left: -1px;
  }
}

/* Icon-specific styles for header2 navigation */
.header2 .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 24px;
  height: 24px;
}

.header2 .nav-links a i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Individual icon colors matching website theme */
.header2 .nav-links a[href*="index.php"] i {
  color: #17a2b8; /* Home - teal/cyan */
}

.header2 .nav-links a[href*="shop.php"] i {
  color: #9fbe1b; /* Shop - green */
}

.header2 .nav-links a[href*="wishlist.php"] i {
  color: #dc3545; /* Wishlist - red */
}

.header2 .nav-links a[href*="myaccount.php"] i {
  color: #007bff; /* My Account - blue */
}

.header2 .nav-links a[href*="login.php"] i {
  color: #ffc107; /* Login - yellow/warning */
}

.header2 .nav-links a[href*="logout.php"] i {
  color: #6c757d; /* Logout - gray */
}

.header2 .nav-links a:hover {
  color: #495057;
  transform: scale(1.1);
}

.header2 .nav-links a:hover i {
  transform: scale(1.1);
  color: #495057; /* All icons turn dark gray on hover */
}

/* Mobile responsive icon styles */
@media (max-width: 991.98px) {
  .header2 .nav-links a i {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .header2 .nav-links a i {
    font-size: 12px;
  }
}

/* Search bar width and height adjustments */
.navbar form {
  max-width: 60%; /* Decrease total width */
  margin: 0 auto; /* Center the search bar */
}

.navbar form .input-group {
  height: 35px; /* Increase height slightly */
}

.navbar form .form-control {
  height: 35px; /* Match the input group height */
  font-size: 14px;
  padding: 8px 12px;
}

.navbar form .btn {
  height: 45px; /* Match the input group height */
  padding: 8px 16px;
  font-size: 14px;
}

.navbar form .dropdown-toggle {
  height: 45px; /* Match the input group height */
  padding: 8px 16px;
  font-size: 14px;
}

/* Desktop specific adjustments */
@media (min-width: 992px) {
  .navbar form {
    max-width: 50%; /* Even smaller on desktop */
  }
  
  .navbar form .input-group {
    height: 35px; /* Slightly taller on desktop */
  }
  
  .navbar form .form-control,
  .navbar form .btn,
  .navbar form .dropdown-toggle {
    height: 35px; /* Match desktop height */
  }
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .navbar form {
    max-width: 100%; /* Wider on mobile for better usability */
  }
  
  .navbar form .input-group {
    height: 35px; /* Slightly shorter on mobile */
  }
  
  .navbar form .form-control,
  .navbar form .btn,
  .navbar form .dropdown-toggle {
    height: 35px; /* Match mobile height */
  }
}

/* Dropdown hover color override */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #99d052 !important;
  color: white !important;
}

/* Topbar navigation items in main navbar */
.topbar-nav-items a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 40px;
  height: 40px;
  font-size: 20px;
}

.topbar-nav-items a i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

/* Individual icon colors matching website theme */
.topbar-nav-items a[href*="index.php"] i {
  color: #17a2b8; /* Home - teal/cyan */
}



.topbar-nav-items a[href*="wishlist.php"] i {
  color: #DE0085; /* Wishlist - pink/magenta */
}

.topbar-nav-items a[href*="myaccount.php"] i {
  color: #007bff; /* My Account - blue */
}

.topbar-nav-items a[href*="login.php"] i {
  color: #99d052; /* Login - green */
}

.topbar-nav-items a[href*="logout.php"] i {
  color: #dc3545; /* Logout - red */
}

.topbar-nav-items a:hover {
  color: #495057;
  transform: scale(1.1);
}

.topbar-nav-items a:hover i {
  transform: scale(1.1);
  color: #495057; /* All icons turn dark gray on hover */
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .topbar-nav-items {
    display: none !important; /* Hide on mobile since we have mobile cart icon */
  }
}

/* Wishlist color override - use #DE0085 throughout site */
input[type="checkbox"]:checked + .heart-icon,
.heart-icon.checked,
.wishlist-label.wishlist-active i,
.wishlist-label.wishlist-active,
.heart-checkbox:checked + .wishlist-label i,
.heart-checkbox:checked + .wishlist-label {
  color: #DE0085 !important;
}

.wishlist-btn {
  background-color: #DE0085 !important;
  color: white !important;
}

.wishlist-btn:hover {
  background-color: #b8006e !important; /* Darker shade for hover */
}

#wishlist-icon {
  color: #DE0085 !important;
}

/* Wishlist count styling - positioned in the middle of the heart icon */
.wishlist-icon-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wishlist-count {
  position: absolute;
  top: 45%;
  left: 52%;
  transform: translate(-50%, -50%);
  color: white !important;
  font-size: 0.7rem !important;
  font-weight: bold !important;
  z-index: 10 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
  pointer-events: none;
  line-height: 1;
}

/* Mobile responsive wishlist count */
@media (max-width: 991.98px) {
  .wishlist-count {
    font-size: 0.6rem !important;
  }
}

/* Comprehensive wishlist icon filled state - ensure all wishlist icons show filled color */
input[type="checkbox"]:checked + .wishlist-label i,
input[type="checkbox"]:checked + .heart-icon,
.heart-checkbox:checked + .wishlist-label i,
.heart-checkbox:checked + .wishlist-label,
.wishlist-label.wishlist-active,
.wishlist-label.wishlist-active i {
  color: #DE0085 !important;
}

/* Ensure wishlist icons are visible and properly styled */
.wishlist-label i,
.heart-icon {
  transition: color 0.3s ease;
}

/* Default state for wishlist icons */
.wishlist-label i {
  color: #ccc;
}

/* Hover state for wishlist icons */
.wishlist-label:hover i {
  color: #DE0085;
}

/* Shop page wishlist styling */
.shop-page-heart-checkbox:checked + .shop-page-wishlist-label i,
.shop-page-heart-checkbox:checked + .shop-page-wishlist-label {
  color: #DE0085 !important;
}

.shop-page-wishlist-label.wishlist-active,
.shop-page-wishlist-label.wishlist-active i {
  color: #DE0085 !important;
}

/* Category Dropdown Styling */
.category-navbar .dropdown-menu {
  min-width: 220px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
  padding: 4px 0;
}

.category-navbar .dropdown-menu .dropdown-item {
  padding: 2px 20px !important;
  font-size: 0.875rem !important;
  color: #495057;
  border-bottom: 1px solid #f8f9fa;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize !important;
}

.category-navbar .dropdown-menu .dropdown-item:hover,
.category-navbar .dropdown-menu .dropdown-item:focus {
  background-color: #99d052 !important;
  color: white !important;
  text-decoration: none !important;
}

.category-navbar .dropdown-menu .dropdown-divider {
  margin: 4px 0;
  border-color: #e9ecef;
}

.category-navbar .nav-link.dropdown-toggle::after {
  margin-left: 4px;
  font-size: 10px;
}

/* Parent category styling in dropdown */
.category-navbar .dropdown-menu .dropdown-item.parent-category {
  font-weight: 600;
  color: #495057;
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  text-transform: capitalize !important;
}

.category-navbar .dropdown-menu .dropdown-item.parent-category:hover {
  background-color: #99d052 !important;
  color: white !important;
}

/* Subcategory styling with indentation */
.category-navbar .dropdown-menu .dropdown-item.subcategory {
  padding-left: 45px !important;
  color: #6c757d;
  font-size: 0.875rem !important;
  position: relative;
  text-transform: capitalize !important;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory::before {
  content: "└─";
  position: absolute;
  left: 20px;
  color: #adb5bd;
  font-size: 0.7rem;
}

/* Multiple levels of subcategories */
.category-navbar .dropdown-menu .dropdown-item.subcategory-level-1 {
  padding-left: 45px !important;
  font-size: 0.875rem !important;
  text-transform: capitalize !important;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory-level-1::before {
  content: "└─";
  position: absolute;
  left: 20px;
  color: #adb5bd;
  font-size: 0.7rem;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory-level-2 {
  padding-left: 65px !important;
  font-size: 0.875rem !important;
  text-transform: capitalize !important;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory-level-2::before {
  content: "└─";
  position: absolute;
  left: 40px;
  color: #adb5bd;
  font-size: 0.7rem;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory-level-3 {
  padding-left: 85px !important;
  font-size: 0.875rem !important;
  text-transform: capitalize !important;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory-level-3::before {
  content: "└─";
  position: absolute;
  left: 60px;
  color: #adb5bd;
  font-size: 0.7rem;
}

/* Subcategories with children styling */
.category-navbar .dropdown-menu .dropdown-item.subcategory-with-children {
  font-weight: 500;
  text-transform: capitalize !important;
  color: #495057;
}

.category-navbar .dropdown-menu .dropdown-item.subcategory-with-children:hover {
  background-color: #99d052 !important;
  color: white !important;
}

/* Remove bottom margin from cart-actions to eliminate unnecessary bottom space */
.cart-actions {
  margin-bottom: 0 !important;
}

/* Reduce dropdown item padding and font size */
.dropdown-menu .dropdown-item {
  padding: 2px 20px !important; /* Reduced from default 8px to 2px for top/bottom */
  font-size: 0.875rem !important; /* Reduced font size (14px) */
}

/* Breadcrumb Navigation Styling */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.breadcrumb {
    background: transparent !important;
    padding: 0 15px !important;
    margin: 0 !important;
    font-size: 0.8rem !important;
    color: #6c757d !important;
}

.breadcrumb-item {
    display: inline-block !important;
    margin-right: 4px !important;
}

/* Completely remove all breadcrumb separators first */
.breadcrumb-item::before,
.breadcrumb-item::after,
.breadcrumb-nav .breadcrumb .breadcrumb-item::before,
.breadcrumb-nav .breadcrumb .breadcrumb-item::after,
.breadcrumb .breadcrumb-item::before,
.breadcrumb .breadcrumb-item::after {
    content: none !important;
    display: none !important;
}

/* Then add only the ">" separator */
.breadcrumb-item:not(:last-child)::after,
.breadcrumb-nav .breadcrumb .breadcrumb-item:not(:last-child)::after,
.breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: ">" !important;
    display: inline !important;
    margin-left: 4px !important;
    color: #adb5bd !important;
    font-weight: bold !important;
}

.breadcrumb-item a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.breadcrumb-item a:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

.breadcrumb-item.active {
    color: #495057 !important;
    font-weight: 500 !important;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 6px 0;
    }
    
    .breadcrumb {
        font-size: 0.75rem !important;
        padding: 0 10px !important;
    }
    
    .breadcrumb-item {
        margin-right: 3px !important;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 3px !important;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.7rem !important;
        padding: 0 8px !important;
    }
    
    .breadcrumb-item {
        margin-right: 2px !important;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 2px !important;
    }
}

/* Ensure consistent product title heights for uniform card appearance */
.product-details h3 {
  /* min-height: 32px !important;
  max-height: 32px !important;
  height: 32px !important; */
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}

/* Override any Bootstrap or other breadcrumb separators */
.breadcrumb-nav .breadcrumb .breadcrumb-item:not(:last-child)::after,
.breadcrumb .breadcrumb-item:not(:last-child)::after,
.breadcrumb-item:not(:last-child)::after {
    content: ">" !important;
    margin-left: 4px !important;
    color: #adb5bd !important;
    font-weight: bold !important;
}

/* Ensure no other separators are shown */
.breadcrumb-item::before,
.breadcrumb-item::after {
    content: none !important;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">" !important;
    margin-left: 4px !important;
    color: #adb5bd !important;
    font-weight: bold !important;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--dark-green);
  border-radius: 6px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #7a8c1a; /* Slightly darker shade of dark-green */
}

/* Firefox scrollbar styles */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--dark-green) #f1f1f1;
}

/* Custom Category Item Styles - Replacing category-item */
.custom-category-item {
  flex: 0 0 auto;
  width: 70px;
  text-align: center;

  /* Remove text decoration */
  text-decoration: none !important;

  /* Keep other overrides */
  outline: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.custom-category-item:active {
  border: 1px solid #fff !important;
}

/* Mobile Category Slider Active State */
.category-scroll-container .custom-category-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 4px 2px;
  text-decoration: none;
  color: #333;
}

.category-scroll-container .custom-category-item:hover {
  background-color: rgba(153, 208, 82, 0.1);
  transform: translateY(-2px);
}

.category-scroll-container .custom-category-item.active .category-img {
  border: 3px solid #99d052;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(153, 208, 82, 0.3);
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

/* ===== MOBILE COMPACT STYLES ===== */
/* Mobile devices - Make website compact with consistent margins */
@media (max-width: 768px) {
  /* Global container margins for consistency */
  .container, .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  /* Reduce section padding */
  section {
    padding: 15px 0 !important;
  }
  
  /* Compact hero section */
  .hero-slider-section {
    margin-bottom: 10px !important;
  }
  
  /* Compact process section */
  .process-container {
    padding: 0 !important;
    gap: 15px !important;
  }
  
  /* .step {
    padding: 8px !important;
  } */
  
  .step img {
    padding: 0px !important;
  }

  .process-container {
    margin: 0px !important;
  }
  
  .step p {
    font-size: 10px !important;
    margin: 5px 0 0 0 !important;
  }
  
  /* Compact category section */
  .popular-categories-section {
    padding: 15px 0 !important;
  }
  
  .categories-card {
    padding: 10px 0 !important;
    margin: 0 6px !important;
  }
  
  .category-products-header {
    padding: 0 0 10px 0 !important;
    margin-bottom: 2px !important;
  }
  
  .category-products-title {
    font-size: 16px !important;
    margin-bottom: 5px !important;
  }
  
  /* Compact product sections */
  .discounted-products-section,
  .featured-products-section {
    padding: 15px 0 !important;
  }
  
  .discounted-products-card,
  .featured-products-card {
    padding: 10px 0 !important;
  }
  
  .discounted-products-header,
  .featured-products-header {
    padding: 0 0 0px 0 !important;
    /* margin-bottom: 10px !important; */
  }
  
  .discounted-products-title,
  .featured-products-title {
    font-size: 16px !important;
    margin-bottom: 5px !important;
  }
  
  /* Compact product cards */
  .product-card {
    margin-bottom: 10px !important;
    padding: 8px !important;
  }
  
  .product-info {
    padding: 8px !important;
  }
  
  .product-details h3 {
    font-size: 12px !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
  }
  
  .price-buttons {
    gap: 5px !important;
    margin-bottom: 8px !important;
  }
  
  .price-btn {
    padding: 4px 6px !important;
    font-size: 10px !important;
  }
  
  /* Compact navigation */
  .category-nav-btn,
  .discounted-nav-btn,
  .featured-nav-btn {
    width: 20px !important;
    height: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    z-index: 100 !important;
  }
  
  .category-nav-btn.prev-btn,
  .discounted-nav-btn.prev-btn,
  .featured-nav-btn.prev-btn {
    left: 5px !important;
  }
  
  .category-nav-btn.next-btn,
  .discounted-nav-btn.next-btn,
  .featured-nav-btn.next-btn {
    right: 5px !important;
  }
  
  /* Adjust navigation button images */
  .category-nav-btn img,
  .discounted-nav-btn img,
  .featured-nav-btn img {
    width: 10px !important;
    height: 10px !important;
  }
  
  /* Reduce gaps in containers */
  .categories-container,
  .discounted-products-container,
  .featured-products-container {
    gap: 8px !important;
    padding: 5px 0 !important;
  }
  
  /* Compact headings */
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 8px !important;
  }
  
  h1 { font-size: 18px !important; }
  h2 { font-size: 16px !important; }
  h3 { font-size: 14px !important; }
  h4 { font-size: 13px !important; }
  h5 { font-size: 12px !important; }
  h6 { font-size: 11px !important; }
  
  /* Compact paragraphs */
  p {
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
  }
  
  /* Compact buttons */
  .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  
  /* Compact forms */
  .form-control {
    padding: 6px 10px !important;
    font-size: 14px !important;
  }
  
  /* Compact lists */
  ul, ol {
    padding-left: 20px !important;
  }
  
  li {
    margin-bottom: 5px !important;
  }
  
  /* Compact tables */
  .table {
    font-size: 12px !important;
  }
  
  .table td, .table th {
    padding: 6px 8px !important;
  }
  
  /* Compact cards */
  .card {
    margin-bottom: 10px !important;
  }
  
  .card-body {
    padding: 12px !important;
  }
  
  .card-title {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }
  
  /* Compact modals */
  .modal-body {
    padding: 15px !important;
  }
  
  .modal-header {
    padding: 10px 15px !important;
  }
  
  .modal-footer {
    padding: 10px 15px !important;
  }
  
  /* Compact alerts */
  .alert {
    padding: 8px 12px !important;
    margin-bottom: 10px !important;
  }
  
  /* Compact breadcrumbs */
  .breadcrumb {
    padding: 8px 0 !important;
    margin-bottom: 10px !important;
  }
  
  .breadcrumb-item {
    font-size: 12px !important;
  }
  
  /* Compact pagination */
  .pagination {
    gap: 2px !important;
  }
  
  .page-link {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  
  /* Compact badges */
  .badge {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }
  
  /* Compact tooltips */
  .tooltip {
    font-size: 11px !important;
  }
  
  /* Compact dropdowns */
  .dropdown-menu {
    padding: 5px 0 !important;
  }
  
  .dropdown-item {
    padding: 6px 15px !important;
    font-size: 13px !important;
  }
  
  /* Compact navbar */
  .navbar {
    padding: 8px 0 !important;
  }
  
  .navbar-nav .nav-link {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  
  /* Compact footer */
  footer {
    padding: 20px 0 !important;
  }
  
  footer .container {
    padding: 0 12px !important;
  }
  
  /* Compact grid spacing */
  .row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  
  .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* Extra small mobile devices - Even more compact */
@media (max-width: 480px) {
  /* Tighter margins */
  .container, .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* Even more compact sections */
  section {
    padding: 10px 0 !important;
  }
  
  /* Smaller headings */
  h1 { font-size: 16px !important; }
  h2 { font-size: 14px !important; }
  h3 { font-size: 12px !important; }
  h4 { font-size: 11px !important; }
  h5 { font-size: 10px !important; }
  h6 { font-size: 9px !important; }
  
  /* Smaller text */
  p {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }
  
  /* Smaller buttons */
  .btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }
  
  /* Smaller form elements */
  .form-control {
    padding: 5px 8px !important;
    font-size: 13px !important;
  }
  
  /* Smaller cards */
  .card-body {
    padding: 8px !important;
  }
  
  .card-title {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }
  
  /* Smaller product cards */
  .product-card {
    margin-bottom: 8px !important;
    padding: 6px !important;
  }
  
  .product-info {
    padding: 6px !important;
  }
  
  .product-details h3 {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  
  .price-buttons {
    gap: 4px !important;
    margin-bottom: 6px !important;
  }
  
  .price-btn {
    padding: 3px 5px !important;
    font-size: 9px !important;
  }
  
  /* Smaller navigation */
  .category-nav-btn,
  .discounted-nav-btn,
  .featured-nav-btn {
    width: 18px !important;
    height: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    z-index: 100 !important;
  }
  
  .category-nav-btn.prev-btn,
  .discounted-nav-btn.prev-btn,
  .featured-nav-btn.prev-btn {
    left: 3px !important;
  }
  
  .category-nav-btn.next-btn,
  .discounted-nav-btn.next-btn,
  .featured-nav-btn.next-btn {
    right: 3px !important;
  }
  
  /* Adjust navigation button images */
  .category-nav-btn img,
  .discounted-nav-btn img,
  .featured-nav-btn img {
    width: 10px !important;
    height: 10px !important;
  }
  
  /* Smaller gaps */
  .categories-container,
  .discounted-products-container,
  .featured-products-container {
    gap: 6px !important;
    padding: 4px 0 !important;
  }
  
  /* Smaller grid spacing */
  .row {
    margin-left: -4px !important;
    margin-right: -4px !important;
  }
  
  .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* Ultra small devices */
@media (max-width: 360px) {
  /* Minimal margins */
  .container, .container-fluid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  
  /* Minimal padding */
  section {
    padding: 8px 0 !important;
  }
  
  /* Minimal text sizes */
  h1 { font-size: 15px !important; }
  h2 { font-size: 13px !important; }
  h3 { font-size: 11px !important; }
  h4 { font-size: 10px !important; }
  h5 { font-size: 9px !important; }
  h6 { font-size: 8px !important; }
  
  p {
    font-size: 11px !important;
    margin-bottom: 5px !important;
  }
  
  /* Minimal buttons */
  .btn {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }
  
  /* Minimal form elements */
  .form-control {
    padding: 4px 6px !important;
    font-size: 12px !important;
  }
  
  /* Minimal cards */
  .card-body {
    padding: 6px !important;
  }
  
  .card-title {
    font-size: 11px !important;
    margin-bottom: 5px !important;
  }
  
  /* Minimal product cards */
  .product-card {
    margin-bottom: 6px !important;
    padding: 5px !important;
  }
  
  .product-info {
    padding: 5px !important;
  }
  
  .product-details h3 {
    font-size: 10px !important;
    margin-bottom: 3px !important;
  }
  
  .price-buttons {
    gap: 3px !important;
    margin-bottom: 5px !important;
  }
  
  .price-btn {
    padding: 2px 4px !important;
    font-size: 8px !important;
  }
  
  /* Minimal navigation */
  .category-nav-btn,
  .discounted-nav-btn,
  .featured-nav-btn {
    width: 16px !important;
    height: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    z-index: 100 !important;
  }
  
  .category-nav-btn.prev-btn,
  .discounted-nav-btn.prev-btn,
  .featured-nav-btn.prev-btn {
    left: 2px !important;
  }
  
  .category-nav-btn.next-btn,
  .discounted-nav-btn.next-btn,
  .featured-nav-btn.next-btn {
    right: 2px !important;
  }
  
  /* Adjust navigation button images */
  .category-nav-btn img,
  .discounted-nav-btn img,
  .featured-nav-btn img {
    width: 8px !important;
    height: 8px !important;
  }
  
  /* Minimal gaps */
  .categories-container,
  .discounted-products-container,
  .featured-products-container {
    gap: 4px !important;
    padding: 3px 0 !important;
  }
  
  /* Minimal grid spacing */
  .row {
    margin-left: -3px !important;
    margin-right: -3px !important;
  }
  
  .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

.featured-products-section {
  background: none !important;
  margin: 0px 18px !important;
}

.service-section{
  margin: 0px 18px !important;
}

@media (max-width: 768px){
.featured-products-section {
  background: none !important;
  margin: 0px 0px !important;
}

.service-section{
  margin: 0px 7px !important;
}
.category-nav-btn {
  width: 18px !important;
  height: 18px !important;
}
}

