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

/* Font Awesome Import - Ensure icons are always available */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* 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;
  display: inline-block !important;
  font-weight: 900 !important; /* Ensure solid icons have proper weight */
}

/* Specific Font Awesome icon debugging and fixes */
.fas {
  font-weight: 900 !important; /* Solid icons need 900 weight */
}

.far {
  font-weight: 400 !important; /* Regular icons need 400 weight */
}

.fab {
  font-weight: 400 !important; /* Brand icons need 400 weight */
}

/* Ensure service section icons are visible */
.service-section .fas,
.feature .fas,
.features .fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

/* User Sign In/Sign Out Icon and Text Styles */
.user-signin-icon {
  color: #9fbe1b !important; /* Green color for sign-in */
  font-size: 20px !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
}

.user-signin-text {
  color: #000 !important; /* Green color for sign-in text */
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  transition: color 0.3s ease !important;
}

.user-signin-link:hover .user-signin-icon {
  color: #20c997 !important; /* Lighter green on hover */
  transform: scale(1.1) !important;
}

.user-signin-link:hover .user-signin-text {
  color: #20c997 !important; /* Lighter green on hover */
}

.user-signout-icon {
  color: #dc3545 !important; /* Red color for sign-out/logout */
  font-size: 20px !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
}

.user-signout-text {
  color: #dc3545 !important; /* Red color for sign-out text */
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  transition: color 0.3s ease !important;
}

.user-signout-link:hover .user-signout-icon {
  color: #e74c3c !important; /* Lighter red on hover */
  transform: scale(1.1) !important;
}

.user-signout-link:hover .user-signout-text {
  color: #e74c3c !important; /* Lighter red on hover */
}

/* User Account Icon and Welcome Text Styles */
.user-account-icon {
  color: #007bff !important; /* Blue color for account icon */
  font-size: 20px !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

.user-account-link:hover .user-account-icon {
  color: #0056b3 !important; /* Darker blue on hover */
  transform: scale(1.1) !important;
}

.user-welcome-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.welcome-line-1 {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #666 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.welcome-line-2 {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: capitalize !important;
}

.user-account-link:hover .welcome-line-1 {
  color: #0056b3 !important; /* Blue on hover */
}

.user-account-link:hover .welcome-line-2 {
  color: #0056b3 !important; /* Blue on hover */
}

/* Ensure user icons maintain proper font family */
.user-signin-icon,
.user-signout-icon {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

/* Bootstrap components with proper font inheritance */
.dropdown-menu, .dropdown-item, .nav-link, .navbar-nav {
  font-family: 'Mulish', sans-serif !important;
}

/* Ensure Bootstrap dropdown functionality is not overridden */
.dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 0.255em !important;
  vertical-align: 0.255em !important;
  content: "" !important;
  border-top: 0.3em solid !important;
  border-right: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.3em solid transparent !important;
}

/* User link container styling */
.user-signin-link,
.user-signout-link,
.user-account-link {
  white-space: nowrap !important;
  align-items: center !important;
  gap: 0.25rem !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 0.25rem !important;
  transition: background-color 0.2s ease !important;
}

.user-signin-link:hover,
.user-signout-link:hover,
.user-account-link:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Home Icon Styles */
.home-icon {
  color: var(--dark-grey) !important; /* Use the same blue color as hover */
  font-size: 24px !important;
  transition: all 0.3s ease !important;
}

.home-link:hover .home-icon {
  color: #16BAE4 !important; /* Same color on hover */
}

/* Wishlist Icon Styles */
.wishlist-icon-container {
  position: relative !important;
  display: inline-block !important;
}

.wishlist-icon {
  font-size: 22px !important;
  transition: all 0.3s ease !important;
}

/* Default wishlist icon (outline) */
.wishlist-icon.bi-heart {
  color: var(--dark-grey) !important; /* Pink color for outline */
}

/* Filled wishlist icon (when items exist) */
.wishlist-icon.bi-heart-fill {
  color: #DE0085 !important; /* Pink color when filled */
}

/* Hover effects for wishlist */
.wishlist-link:hover .wishlist-icon.bi-heart {
  color: #DE0085 !important; /* Pink color on hover */
}

.wishlist-link:hover .wishlist-icon.bi-heart-fill {
  color: #B8006B !important; /* Darker pink on hover when already filled */
}

/* Cart Icon Styles */
.cart-icon {
  transition: transform 0.3s ease !important;
  vertical-align: middle !important;
}

.cart-icon:hover {
  transform: scale(1.1) !important;
}

/* Floating Cart Button Styles */
.floating-cart-btn {
  position: fixed !important;
  bottom: 32px;
  right: 100px !important;
  z-index: 1050 !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  width: 75px !important;
  height: 75px !important;
  background: white !important;
  border: 3px solid #9FBF1C !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.floating-cart-icon {
  width: 50px !important;
  height: 40px !important;
  transition: transform 0.3s ease !important;
}

.floating-cart-btn:hover {
  box-shadow: 0 6px 20px rgba(159, 191, 28, 0.3) !important;
  border-color: #8aad19 !important;
}

.floating-cart-btn:hover .floating-cart-icon {
  transform: scale(1.1) !important;
}

/* Professional Floating Cart Animation Classes */
.floating-cart-btn.cart-updated {
  animation: cartBounceSubtle 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.floating-cart-btn.cart-added {
  animation: cartPulseSubtle 0.9s ease-out !important;
}

.floating-cart-btn.cart-removed {
  animation: cartShakeSubtle 0.6s ease-out !important;
}

/* Professional Cart Animations */
@keyframes cartBounceSubtle {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 8px 32px rgba(159, 191, 28, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
}

@keyframes cartPulseSubtle {
  0% {
    transform: scale(1);
    background: white;
    border-color: #9FBF1C;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
  30% {
    transform: scale(1.2);
    background: white;
    border-color: #8aad19;
    box-shadow: 0 8px 32px rgba(159, 191, 28, 0.3);
  }
  60% {
    transform: scale(1.1);
    background: white;
    border-color: #9FBF1C;
    box-shadow: 0 6px 24px rgba(159, 191, 28, 0.25);
  }
  100% {
    transform: scale(1);
    background: white;
    border-color: #9FBF1C;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
}

@keyframes cartShakeSubtle {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-3px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(3px);
  }
}

/* Professional Count Badge Animation */
#floatingCartCount {
  transition: all 0.3s ease !important;
  color: #038CC3 !important;
}

#floatingCartCount.count-updated {
  animation: countBounceSubtle 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  color: #038CC3 !important;
}

@keyframes countBounceSubtle {
  0% {
    transform: scale(1);
    color: #038CC3;
  }
  50% {
    transform: scale(1.3);
    color: #038CC3;
    text-shadow: 0 0 8px rgba(3, 140, 195, 0.6);
  }
  100% {
    transform: scale(1);
    color: #038CC3;
  }
}



/* Mobile responsive styles for navigation icons */
@media (max-width: 768px) {
  .user-signin-icon,
  .user-signout-icon {
    font-size: 18px !important;
  }
  
  .user-signin-text,
  .user-signout-text {
    font-size: 10px !important;
    letter-spacing: 0.3px !important;
  }
  
  .welcome-line-1 {
    font-size: 9px !important;
  }
  
  .welcome-line-2 {
    font-size: 8px !important;
  }
  
  .user-account-icon {
    font-size: 18px !important;
  }
  
  .home-icon {
    font-size: 22px !important;
  }
  
  .wishlist-icon {
    font-size: 20px !important;
  }
  
  .cart-icon {
    width: 35px !important;
    height: 25px !important;
  }
  
  .floating-cart-btn {
    width: 65px !important;
    height: 65px !important;
    bottom: 80px !important;
    right: 20px !important;
  }
  
  .floating-cart-icon {
    width: 36px !important;
    height: 28px !important;
  }
  
  .user-signin-link:hover .user-signin-icon,
  .user-signout-link:hover .user-signout-icon {
    transform: scale(1.05) !important; /* Smaller scale on mobile */
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .user-signin-text,
  .user-signout-text {
    display: none !important; /* Hide text on very small screens, show only icon */
  }
}

body, html {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  line-height: 1.6;
  font-size: 15px;
  text-transform: capitalize !important;
  text-decoration: none;
  color: #222;
  background: #fff;
}

.translate-middle{
  transform: translate(-166%, -90%) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Mulish', sans-serif;
  color: #222;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.h1, h1 {
  font-size: 18px !important;
  font-weight: bold !important ;
}

h2{
  font-size: 14px;
  margin: 12px auto;
  text-align: center;
}

h3{
  font-size: 12px;
  font-weight: bold;
  text-transform: capitalize !important;
}

/* Brand Colors - Matching Live Site */
:root {
  --primary-color: #16BAE4;
  --secondary-color: #223459;
  --accent-color: #9acd32;
  --text-dark: #333;
  --text-light: #666;
  --white: #fff;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: #9fbe1b;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
}

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

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

.cart-icon{
  color: #000000;
  font-size: 30px !important;
}

#cart-count{
  color: #038CC3 !important;
  background: #fff !important;
  border-radius: 50px !important;
  /* padding: 2px; */
  font-size: 12px;
  font-weight: bold;

  border-radius: 100%;
}

#goToTopBtn{
  max-width: 32px;
  max-height: 32px;
  border-radius: 4px !important;
}

.customer-support{
  font-size: 12px !important;
}

/* Top Header - Matching Live Site */
.header2{
  background-color: #16BAE4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2px 20px;
  box-shadow: 0 0 3px #000;
}

.header2 a:hover{
  text-decoration: underline;
  color: #000;
}

.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-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;
}

.footer-bottom p{
  margin: 0;
}

.category-header{
  text-align: left;
  margin: 20px 0;
}

.contact-info p{
  text-transform: lowercase !important;
}

/* 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-bottom {
    font-size: 12px;
    margin-top: 15px;
    padding: 0 15px;
  }
  
  .footer-bottom a {
    color: #fff;
    font-weight: 600;
  }
  
  .footer-column.social .contact-info a {
    color: #ccc;
    font-size: 11px;
  }
}

/* Small Mobile Footer */
@media (max-width: 480px) {
  .desktop-footer {
    padding: 10px 15px;
  }
  
  .footer-container {
    gap: 15px;
    padding: 0 7px;
  }
  
  .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-bottom {
    font-size: 11px;
    margin-top: 10px;
    padding: 0 10px;
  }
  
  .footer-bottom a {
    color: #fff;
    font-weight: 600;
  }
  
  .footer-column.social .contact-info a {
    color: #ccc;
    font-size: 10px;
  }
}

/* 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;
}

.Hero {
  padding-top: 120px;
  padding-bottom: 120px;
}
.Hero1 {
  padding-top: 200px;
  padding-bottom: 180px;
}

/* 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: 9999 !important; /* Dropdown above both navbars */
}

/* Ensure dropdown menus are clickable and visible */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  z-index: 9999 !important;
  min-width: 200px;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar-nav .dropdown-menu.show {
  display: block !important;
}

/* Ensure dropdown toggles are clickable */
.navbar-nav .dropdown-toggle {
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto !important;
}

.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-toggle:active {
  outline: none;
  box-shadow: none;
}

.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) {
  .dropdown-desktop {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .dropdown-mobile {
    display: none !important;
  }
}
@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; 
  }
}

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

/* General Container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Main Button Style */
.hero-button {
  width: 300px;
  background-color: #11b1f0;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin: 10px auto;
}

.hero-button {
  background-color: #0f9cd5;
}

/* How We Work Section - Matching Live Site */
.process-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px !important;
  margin: 5px 0;
}

.step {
  text-align: center;
  /* Make each step take 16.66% width on desktop to fit 6 per row */
  flex: 0 1 20.66%;
  max-width: 20.66%;
  box-sizing: border-box;
}

.step img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 4px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.step p {
  margin-top: 10px;
  font-weight: bold;
  background-color: #eee;
  padding: 8px 30px;
  border-radius: 25px;
  font-size: 14px;
  display: block;
  border: 1px solid #ddd;
}

.step img:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 5px 5px var(--pay-light-green);
  border: 2px solid var(--dark-green);
}

.step p:hover {
  background-color: var(--dark-green);
  color: white;
}

.arrow img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.arrow:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.hero-container{
  padding: 0px !important;
}

.hero-button {
  background-color: #028bc2;
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-item{
  text-transform: capitalize !important;
  font-size: 14px !important;
  color: #373737 !important;
}

.nav-link{
  text-transform: capitalize !important;
  font-size: 14px !important;
  color: #373737 !important;
}

.navigationtext{
  text-transform: capitalize !important;
  font-size: 14px !important;
  color: #373737 !important;
}

.navigationtext:hover{
  color: #fff !important;
  background: var(--dark-green) !important;
  border-radius: 4px !important;
}

/* =========== Tablet View (2 Columns) ============ */
@media (max-width: 991px) and (min-width: 601px) {
  .process-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
  }

  .step {
    max-width: 460px;
  }

  .step img {
    max-height: 200px;
  }

  .arrow {
    display: none;
  }
}
/* =========== mobile  View (2 Columns) ============ */
@media (max-width: 600px) {
  .process-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0px;
    justify-items: center;
  }

  .step {
    width: 100%;
    max-width: 180px; /* Slightly wider to fit taller images */
    text-align: center;
  }

  .step img {
    width: 100%;
    height: 160px;        /* Increased height */
    object-fit: contain;  /* Keeps the image from stretching */
  }

  .step p {
    font-size: 12px;
    padding: 6px 12px;
  }

  .arrow {
    display: none;
  }
}

/*----------------------------------------------------- Hero Slider Section-------------------------------------------------- */

.hero-slider-section {
    padding: 0;
    margin-bottom: 0px;
    margin-top: -40px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #f0f2f5;
    padding-top: 40px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: #fff;
    /* No display:none here! Bootstrap manages this. */
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
}
/* Desktop styles (unchanged) */
.hero-slide-1 {
    background-image: url('../images/banner_1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-2 {
    background-image: url('../images/banner_2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-3 {
    background-image: url('../images/banner_3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== Tablet & Mobile (≤768px) ===== */
@media (max-width: 768px) {
    .carousel {
        height: 350px; /* Increased height to show full image */
        padding-top: 20px;
    }

    .carousel-item {
        font-size: 14px;
        padding: 20px;
        flex-direction: column;
    }

    .category-products-title {
      padding-left: 20px !important;
    }

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

    .navbar .logo {
      margin-left: -8px !important;
    }


    
.hero-slider-section {
    padding: 0;
    margin-bottom: 0px;
    margin-top: 10px;
}

    .hero-slide-1,
    .hero-slide-2 {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}
@media (max-width: 768px) {
  .carousel {
    height: auto; /* Let content define height */
    padding: 0;   /* Remove top/bottom padding */
    margin: 0;    /* Remove extra space if any */
  }

  .carousel-item {
    padding: 0;
    margin: 0;
    font-size: 14px;
    flex-direction: column;
  }

  .hero-slide-1,
  .hero-slide-2 {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    aspect-ratio: 3 / 1; /* Maintain proportional size */
  }
}

@media (max-width: 480px) {
  .carousel {
    height: auto;
    padding: 0;
  }

  .carousel-item {
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    flex-direction: column;
  }

  .hero-slide-1,
  .hero-slide-2 {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    aspect-ratio: 3 / 1;
  }
}

 /*  2nd Nav bar Css */

/* 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;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 0; /* Remove default padding */
  }

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

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

/* Section Headers - Matching Live Site */
.header0 {
  background-color: #16BAE4;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  color: white;
  font-weight: normal;
  font-size: 14px; /* default font size */
}

@media (max-width: 600px) {
  .header0 {
     font-size: 10px; /* smaller font size on small screens */
  }
  .header0 .header-title {
    font-size: 14px; /* smaller title font size on small screens */
  } 
  .P-Button{
    font-size: 12px;
  }
  
  
}

.header-title {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  color: white;
  text-decoration: none;
}

.P-Button {
  color: white;
  background-color: transparent;
  border: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;      
  transition: font color 0.3s, color 0.3s; 
  
}

.P-Button:hover {
    
  color: #0d0d0e;           
  border-radius: 4px;   
   transform: scale(1.05);
     
}

.P-Button span {
  font-weight: bold;
}

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

.index-main-section{
  background:#e5f8fd;
}
/* Product Carousel Wrapper - Matching Live Site */
.product-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigation Buttons - Matching Live Site */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-btn.prev {
  left: 0px;
  color: rgb(215, 215, 215) !important;
}

.nav-btn.next {
  right: 0px;
  color: rgb(215, 215, 215) !important;
}

/* Container for all cards */
.product-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: 20px;
  padding: 20px;
  max-width: 100%;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
  background-color: #fff;
  box-shadow: 0 0 8px rgba(28, 27, 27, 0.1);
  margin-top: 20px;
}
.product-row::-webkit-scrollbar {
  display: none;
}

/* Individual card styling */
.card {
  border: 1px solid #ddd;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  /* flex: 0 0 270px;  Remove fixed width */
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .product-carousel-wrapper, #product, .product-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .card {
    max-width: 48vw;
    min-width: 140px;
  }
}
@media (max-width: 600px) {
  .product-carousel-wrapper, #product, .product-row {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
  }
  .card {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 auto 2px auto;
    box-sizing: border-box;
  }
}

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

.product-details {
  padding: 15px;
  padding-top: 0px;
  position: relative;
  z-index: 3; /* Always on top */
  background-color: #fff;
}

/* Existing styles unchanged */
/* .discount-banner {
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 2;
  background-color: #9fbe1b;
  color: white;
  padding: 3px 8px;
  font-size: 0.8rem;
  border-radius: 0px;
  font-weight: bold;
  text-align: center;
} */

.product-image {
  position: relative;
  z-index: 1; /* Base layer */
  text-align: center;
  /* padding: 10px 20px; */
}

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

.product-details h3 {
  margin: 2px 2px !important;
  font-weight: bold;
  
  /* 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;
}

.price-buttons, .price-buttons1, .modern-prices {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.price-btn, .mrp, .pay {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.wishlist, .wishlist-label, .wishlist input[type="checkbox"] {
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  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,
input[type="checkbox"]:checked + .wishlist-label i {
  color: #DE0085 !important;
}

.cart-actions, .cart-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.quantity-control {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px;
  overflow: hidden;
}
.quantity-input {
  width: 48px;
  min-width: 0;
  flex: 1 1 0;
}
.add-to-cart-btn, .add-to-cart {
  flex: 1 1 0;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.modern-prices{
  max-height: 30px !important;
}

.price-buttons1{
  max-height: 30px !important;
}

.place-order-btn{
  background-color: #99d052 !important;
}

/* Hide spinner arrows for all quantity input fields across the site */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button,
.shop-page-quantity-input::-webkit-inner-spin-button,
.shop-page-quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-input,
.cart-qty-input,
.shop-page-quantity-input {
  -moz-appearance: textfield;
}

/* Wrapper to control layout and buttons */
.product-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hide scrollbars and enable smooth scrolling */
#product, #featured-products {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#product::-webkit-scrollbar, #featured-products::-webkit-scrollbar {
  display: none;
}

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

.products-section .product-card {
  max-width: 200px;
  min-width: 200px;
  margin: 0 auto 5px; /* Reduced bottom margin */
  flex-grow: 0; /* Prevent card from growing */
  flex-shrink: 0; /* Prevent card from shrinking */
}

/* Ensure single product card on pages like wishlist doesn't stretch */
.products .card {
  padding-bottom: 6px !important;
}

/*-----------------------------------------Product Categories css---------------------------------------------------------*/

/* Category Section - Matching Live Site */
.category-section {
  padding: 15px 0;
  width: auto;
  background: #fff;
  margin: 25px 25px;
  border: 1px solid #ddd;
}

.category-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.category-container {
  display: flex !important;
  gap: 30px !important;
  /* overflow-x: auto; */
  scroll-behavior: smooth;
  padding: 20px 0 !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

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

/* OLD CATEGORY CARD STYLES - REMOVED TO PREVENT CONFLICTS */

/* OLD CATEGORY CARD IMAGE STYLES - REMOVED TO PREVENT CONFLICTS */

/* OLD CATEGORY CARD P STYLES - REMOVED TO PREVENT CONFLICTS */

.category-card a{
  text-decoration: none;
}

.nav-btn {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #16BAE4;
  border-radius: 2px !important;
  font-size: 22px;
  cursor: pointer;
  width: 20px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev-btn {
  left: 0;
  color: white !important;
}

.next-btn {
  right: 0;
  color: white !important;
}

/* Hide nav buttons on small screens */
@media (max-width: 768px) {
  .nav-btn {
    display: none;
  }
  
  /* OLD MOBILE CATEGORY CARD STYLES - REMOVED TO PREVENT CONFLICTS */
  
  .category-container {
    gap: 12px;
    padding: 10px 0;
  }
  
  .category-section {
    margin: 15px 15px;
    padding: 10px 0;
  }
}

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

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 70px 40px;
  margin: auto;
}

.feature {
  flex: 1 1 calc(25% - 20px); /* 4 boxes in a row with spacing */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 24px;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.feature::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border: 1px solid white;
  border-radius: 4px;
  pointer-events: none;
}

.feature i {
  font-size: 36px;
}

.feature i.fa-truck {
  transform: scaleX(-1);
}

.divider {
  width: 1px;
  height: 40px;
  background-color: white;
}

.green { background-color: #4caf50; }
.yellow { background-color: #fbc02d; }
.blue { background-color: #4285f4; }
.gray { background-color: #6c757d; }

/* ✅ Responsive */
@media (max-width: 1024px) {
  .feature {
    flex: 1 1 calc(50% - 20px); /* 2 per row */
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .feature {
    flex: 1 1 100%; /* full width on mobile */
    font-size: 18px;
    padding: 15px 16px;
  }

  .feature i {
    font-size: 28px;
  }

  .divider {
    display: none;
  }
}

/*-------------------------------------------- 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;
}

/*-------------------------------------------- wishlist pop up css-------------------------------------------------------------------*/

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

/* 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 '|' */
}

/*--------------------------------------2nd navbar-----------------------------------------------------*/
.category-scroll-container {
  display: flex;            /* ensure flex layout */
  gap: 10px;                /* add gap between items */
  background-color:#fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
scroll-behavior: smooth;
overflow-x: auto;

  /* 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-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.category-label {
  font-size: 8px;
  font-weight: bold;
  color: #6c757d;
  text-decoration: none !important;
}

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

@media (max-width: 767px) {
.category-scroll-container .scroll-wrapper {
  margin: 2px 6px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
  border-radius: 4px !important;
  border: 1px solid #ddd !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 {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.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;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    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: 5px 1rem;
    transition: color 0.2s ease-in-out, text-decoration 0.2s;
    white-space: nowrap;
    position: relative;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    text-transform: none !important;
    text-decoration: none;
    line-height: 25px;
  }

  .category-navbar .nav-link:hover {
    text-decoration: none;
    color: #000;
  }
}

.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-------------privacy page csss-------------------------------------------------------------------*/

/* Hide scrollbars and enable smooth scrolling */
#product {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: 20px;
  padding: 20px;
  max-width: 100%;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
  background-color: #fff;
  box-shadow: 0 0 8px rgba(28, 27, 27, 0.1);
}

#featured-products {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: 20px;
  padding: 20px;
  max-width: 100%;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

#product::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

#featured-products::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

/* Wishlist Icon Styling */
.wishlist {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.wishlist .heart-checkbox {
    display: none; /* Hide the actual checkbox */
}

.wishlist .wishlist-label {
    cursor: pointer;
    font-size: 1.2rem; /* Smaller icon size */
    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-in-out;
    display: inline-block;
    line-height: 1;
}

/* Ensure heart icon styling */
.wishlist .heart-icon {
    color: transparent !important;
    -webkit-text-stroke: 1px #666 !important;
    text-stroke: 1px #666 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    transition: all 0.3s ease-in-out !important;
}

.wishlist .wishlist-label:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)); /* Enhanced shadow on hover */
}

.wishlist .heart-checkbox:checked + .wishlist-label {
    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 */
}

.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 */
}

.wishlist .heart-checkbox:checked + .wishlist-label:hover {
    filter: drop-shadow(0 3px 6px rgba(222, 0, 133, 0.4)); /* Enhanced pink shadow on hover */
}

.wishlist .heart-checkbox:checked + .wishlist-label:hover .heart-icon {
    filter: drop-shadow(0 3px 6px rgba(222, 0, 133, 0.4)); /* Enhanced pink shadow on hover */
}

/* Additional specific selectors for initial state */
.wishlist .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;
}

/* Ensure product-info has relative positioning for absolute wishlist positioning */
.product-info {
    position: relative;
}

/* --- Definitive Card Width Solution --- */
/* Target all contexts where product cards appear */
.products-section .row,
.products .row,
.wishlist-container .row { /* Assuming a container for wishlist */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the start */
    gap: 1.5rem; /* Consistent gap between cards */
}

/* Override Bootstrap's column behavior within these rows */
.products-section .row > [class*='col-'],
.products .row > [class*='col-'],
.wishlist-container .row > [class*='col-'] {
    flex: 0 0 auto; /* Prevent growing and shrinking */
    width: auto; /* Let the card's width dominate */
}

/* The card itself defines its size */
.card, .product-card {
    width: 208px;
    max-width: 208px;
    min-width: 208px;
    margin-bottom: 20px;
    float: none;
    display: inline-block;
    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;
}
/* --- End Definitive Solution --- */

.products-section .product-card {
    margin: 0 auto 1.5rem; /* Center card and provide bottom margin */
    flex-grow: 0; /* Prevent card from growing */
}

/* Add any other general styles here */

input, select, textarea, button {
  font-family: 'Mulish', sans-serif !important;
  color: #222;
  font-size: 1em;
}

/* UNIFIED QUANTITY CONTROL STYLES FOR ENTIRE SITE */
/* Override any conflicting styles from Header.css and other files */
.quantity-control {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  border: 1px solid #d1d5db !important; /* Light grey border */
  border-radius: 4px !important;
  background: #ffffff !important; /* White background */
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; /* Subtle shadow */
  height: 32px !important;
  min-height: 32px !important;
  max-width: 120px !important;
  gap: 0 !important;
}

/* Override any conflicting button styles */
.quantity-control .btn-qty,
.btn-qty {
  width: 33.33% !important; /* Equal width for each section */
  height: 32px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  border: none !important;
  background: #ffffff !important; /* White background */
  color: #333333 !important; /* Dark grey text */
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  border-right: 1px solid #d1d5db !important; /* Light grey border between sections */
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0 !important; /* Ensure no rounded corners */
  box-sizing: border-box !important;
}

.quantity-control .btn-qty:last-child {
  border-right: none !important; /* Remove border from last button */
}

.quantity-control .btn-qty:hover {
  background: #f3f4f6 !important; /* Light grey hover */
}

.quantity-control .btn-qty:disabled {
  background: #6c757d !important;
  cursor: not-allowed !important;
}

/* Override Header.css quantity-input styles */
.quantity-control input[type="number"],
.quantity-control .quantity-input,
.quantity-input {
  width: 33.33% !important; /* Equal width for center section */
  height: 32px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  text-align: center !important;
  border: none !important;
  background: #ffffff !important; /* White background - override blue from Header.css */
  color: #333333 !important; /* Dark grey text - override white from Header.css */
  padding: 0 !important;
  margin: 0 !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
  border-left: 1px solid #d1d5db !important; /* Light grey border on left */
  border-right: 1px solid #d1d5db !important; /* Light grey border on right */
  border-top: none !important; /* Remove top border */
  border-bottom: none !important; /* Remove bottom border */
  border-radius: 0 !important; /* Override rounded corners from Header.css */
  box-sizing: border-box !important;
}

.quantity-control input[type="number"]::-webkit-inner-spin-button,
.quantity-control input[type="number"]::-webkit-outer-spin-button,
.quantity-control .quantity-input::-webkit-inner-spin-button,
.quantity-control .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .quantity-control {
    height: 28px !important;
    min-height: 28px !important;
    max-width: 100px !important;
  }
  .quantity-control .btn-qty {
    width: 33.33% !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  .quantity-control input[type="number"],
  .quantity-control .quantity-input {
    width: 33.33% !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}

.price-btn, .mrp, .pay, .wishlist, .wishlist-label, .wishlist input[type="checkbox"],
.price-buttons1 button, .modern-prices button, .price-buttons button {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  max-width: 200px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
}

.product-detail-card .mrp,
.product-detail-card .pay,
.modern-info .mrp,
.modern-info .pay {
  max-width: 117px !important;
}

/* Cart Added Highlight - Comprehensive Global Styles */
.cart-added-highlight,
.add-to-cart.cart-added-highlight, 
.add-to-cart-btn.cart-added-highlight, 
.shop-page-add-to-cart-btn.cart-added-highlight,
.related-products-container .add-to-cart-btn.cart-added-highlight,
.product-card .add-to-cart-btn.cart-added-highlight,
.card .add-to-cart-btn.cart-added-highlight,
.discounted-products-section .add-to-cart-btn.cart-added-highlight,
.category-section .add-to-cart-btn.cart-added-highlight,
.products-grid .add-to-cart-btn.cart-added-highlight,
.search-results .add-to-cart-btn.cart-added-highlight,
.homepage-section .add-to-cart-btn.cart-added-highlight,
.top-products-section .add-to-cart-btn.cart-added-highlight,
button.cart-added-highlight,
input[type="button"].cart-added-highlight,
input[type="submit"].cart-added-highlight,
[data-product-id].cart-added-highlight {
  border: 2.5px solid #ffd600 !important; /* Yellow border */
  background: #9fbe1b !important; /* Green background */
  color: #fff !important;
  box-shadow: 0 0 0 6px rgba(255,214,0,0.18), 0 2px 12px rgba(40,167,69,0.22) !important;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s !important;
  transform: scale(1.02) !important;
  position: relative !important;
  z-index: 10 !important;
}

.discount-banner{
  padding: 10px 14px !important;
}

/* ===== PRODUCT CATEGORIES - HIGH PRIORITY OVERRIDES ===== */
/* Force category card sizes with maximum specificity */
.category-section .category-container .category-card {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  max-height: 200px !important;
  padding: 15px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin-right: 20px !important;
  box-sizing: border-box !important;
}

.category-section .category-container .category-card img {
  width: 240px !important;
  height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover !important;
  border: 1px solid #ddd !important;
  padding: 6px !important;
  display: block !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.category-section .category-container .category-card p {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #333 !important;
  text-decoration: none !important;
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
  .category-section .category-container .category-card {
    width: 180px !important;
    height: 180px !important;
    /* min-width: 180px !important; */
    max-width: 180px !important;
    max-height: 180px !important;
    padding: 12px !important;
  }
  
  .category-section .category-container .category-card img {
    width: 200px !important;
    height: 200px !important;
    max-width: 200px !important;
    max-height: 200px !important;
    padding: 5px !important;
  }
  
  .category-section .category-container .category-card p {
    font-size: 14px !important;
    min-height: 40px !important;
    margin: 8px 0 0 0 !important;
  }
}

/* Universal Cart Added Highlight - Fallback for any element */
.cart-added-highlight {
  border: 2.5px solid #ffd600 !important; /* Yellow border */
  background: #9fbe1b !important; /* Green background */
  color: #fff !important;
  box-shadow: 0 0 0 6px rgba(255,214,0,0.18), 0 2px 12px rgba(40,167,69,0.22) !important;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s !important;
  transform: scale(1.02) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Additional specificity for different page contexts */
body .cart-added-highlight,
html .cart-added-highlight,
#main-content .cart-added-highlight,
.container .cart-added-highlight,
.row .cart-added-highlight,
.col .cart-added-highlight {
  border: 2.5px solid #ffd600 !important;
  background: #9fbe1b !important;
  color: #fff !important;
  box-shadow: 0 0 0 6px rgba(255,214,0,0.18), 0 2px 12px rgba(40,167,69,0.22) !important;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s !important;
  transform: scale(1.02) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Scroll to Top Button - Enhanced Version */
#backToTopBtn {
  display: none !important; /* Hidden by default */
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important; /* Position on right side for better UX */
  z-index: 9999 !important;
  font-size: 18px !important;
  border: none !important;
  outline: none !important;
  background: linear-gradient(135deg, #9ACD32, #7cb342) !important; /* Enhanced gradient */
  color: white !important;
  cursor: pointer !important;
  padding: 15px !important;
  border-radius: 4px !important; /* Slightly rounded corners */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(154, 205, 50, 0.3) !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

#backToTopBtn:hover {
  background: linear-gradient(135deg, #7cb342, #5a9216) !important; /* Darker gradient on hover */
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(154, 205, 50, 0.4) !important;
}

#backToTopBtn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(154, 205, 50, 0.3) !important;
}

#backToTopBtn.show {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#backToTopBtn i {
  transition: transform 0.3s ease !important;
}

#backToTopBtn:hover i {
  transform: translateY(-1px) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #backToTopBtn {
    bottom: 20px !important;
    left: 20px !important; /* Changed from right to left */
    right: auto !important; /* Reset right positioning */
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
    padding: 12px !important;
  }
  
  /* Also style the goToTopBtn for mobile */
  #goToTopBtn {
    bottom: 20px !important;
    left: 20px !important;
    right: auto !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  #backToTopBtn {
    bottom: 15px !important;
    left: 15px !important; /* Changed from right to left */
    right: auto !important; /* Reset right positioning */
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
    padding: 10px !important;
  }
  
  /* Also style the goToTopBtn for small mobile */
  #goToTopBtn {
    bottom: 15px !important;
    left: 15px !important;
    right: auto !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }
}

/* Accessibility improvements */
#backToTopBtn:focus {
  outline: 2px solid #9ACD32 !important;
  outline-offset: 2px !important;
}

/* Animation for smooth appearance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#backToTopBtn.show {
  animation: fadeInUp 0.3s ease-out !important;
}

/* ===== GLOBAL 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 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;
  }
  
  /* 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;
  }
}

/* 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;
  }
}