/* 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,
.fa-solid,
.fa-brands,
[class^="fa-"],
[class*=" fa-"],
.fa:before,
.fas:before,
.far:before,
.fal:before,
.fab:before,
.fad:before,
.fass:before,
.fasr:before,
.fatl:before,
.fatr:before,
.fa-solid:before,
.fa-brands: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: var(--dark-green) !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: var(--link-hover-blue) !important;
  /* Lighter green on hover */
  transform: scale(1.1) !important;
}

.user-signin-link:hover .user-signin-text {
  color: var(--link-hover-blue) !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: var(--site-blue) !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;
}

/* Hide on mobile to prevent row overflow cutting of the cart icon */
@media (max-width: 991px) {
  .user-welcome-text {
    display: none !important;
  }
}

.welcome-line-1 {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: var(--dark-gray) !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: var(--link-hover-blue) !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: var(--pink) !important;
  /* Pink color when filled */
}

/* Hover effects for wishlist */
.wishlist-link:hover .wishlist-icon.bi-heart {
  color: var(--pink) !important;
  /* Pink color on hover */
}

.wishlist-link:hover .wishlist-icon.bi-heart-fill {
  color: var(--hover-pink) !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: 90px !important;
  height: 90px !important;
  background: white !important;
  border: 3px solid var(--dark-green) !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: 75px !important;
  height: 75px !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: var(--hover-green) !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: var(--dark-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  }

  30% {
    transform: scale(1.2);
    background: white;
    border-color: var(--hover-green);
    box-shadow: 0 8px 32px rgba(159, 191, 28, 0.3);
  }

  60% {
    transform: scale(1.1);
    background: white;
    border-color: var(--dark-green);
    box-shadow: 0 6px 24px rgba(159, 191, 28, 0.25);
  }

  100% {
    transform: scale(1);
    background: white;
    border-color: var(--dark-green);
    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: #FF7700 !important;
}

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

@keyframes countBounceSubtle {
  0% {
    transform: scale(1);
    color: #FF7700;
  }

  50% {
    transform: scale(1.3);
    color: #FF7700;
    text-shadow: 0 0 8px rgba(3, 140, 195, 0.6);
  }

  100% {
    transform: scale(1);
    color: #FF7700;
  }
}



/* 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: 67px !important;
    height: 67px !important;
    bottom: 80px !important;
    right: 20px !important;
  }

  .floating-cart-icon {
    width: 60px !important;
    height: 50px !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-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 0;
  text-align: left;
}

h3 {
  font-size: 12px;
  font-weight: bold;
}

/* Brand Colors - Matching Live Site */
:root {
  --primary-color: #16BAE4;
  --secondary-color: #223459;
  --accent-color: #FF7700;
  --text-dark: #333;
  --text-light: var(--dark-gray);
  --white: #fff;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: var(--dark-green);
  --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: var(--black);
  font-size: 30px !important;
}

#cart-count {
  color: #FF5722 !important;
  background-color: transparent !important;
  font-size: 12px;
  font-weight: bold;
}

#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: none;
  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: 2px;
  font-size: 14px;
  color: var(--border-color);
  cursor: pointer;
}

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

.footer-column.social .icons i {
  font-size: 16px;
  margin-right: 12px;
  color: var(--border-color);
  cursor: pointer;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: var(--border-color);
}

.footer-bottom p {
  margin: 0;
}

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

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

/* RESPONSIVE STYLES */
/* Consolidated Professional Footer - Desktop */
.desktop-footer {
  padding: 40px 20px;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

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

.footer-column h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links-inline,
.footer-connect-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links-inline a,
.footer-connect-inline a,
.footer-connect-inline .contact-info-inline {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links-inline a:hover,
.footer-connect-inline a:hover {
  color: #fff;
  text-decoration: none;
}

.separator {
  color: #666;
  margin: 0 4px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  font-size: 16px;
  color: #ccc;
}

/* Consolidated Professional Footer - Mobile (< 1025px) */
@media (max-width: 1024px) {
  .desktop-footer {
    padding: 5px 15px !important;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2px !important;
    display: flex !important;
  }

  .footer-column h3 {
    display: none !important;
  }

  .footer-links-inline {
    display: flex !important;
    justify-content: center !important;
    /* margin-bottom: 5px !important; */
    gap: 2px !important;
  }

  .footer-links-inline a,
  .footer-links-inline .separator {
    font-size: 11px !important;
    font-weight: 500 !important;
  }

  .footer-connect-inline {
    display: flex !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }

  .footer-connect-inline .contact-info-inline,
  .footer-connect-inline .separator {
    font-size: 11px !important;
    font-weight: 500 !important;
  }

  .footer-connect-inline .social-icons {
    display: none !important;
    /* Hide social icons in mobile as requested */
  }

  .contact-info-inline a {
    white-space: nowrap !important;
    font-weight: 500 !important;
    font-size: 10.5px !important;
  }

  .footer-bottom {
    margin-top: 5px !important;
    font-size: 11px !important;
  }
}

/* Mobile Footer Padding override for left/right spacing */
@media (max-width: 767.98px) {
  .desktop-footer {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FF7700;
  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;
}

/* Loading transition for Product Grid */
.products-grid {
  transition: opacity 0.3s ease;
  opacity: 1;
}

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

/* Nav Bar 1st Css */
.logo {
  height: 60px;
  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: var(--white);
  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;
}

/* Force single-column product grid on small devices */
@media (max-width: 768px) {
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .products-grid .product-card {
    /* max-width: 240px !important; */
    width: 100% !important;
  }
}

/* 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: #FF7700;
  border: 1px solid #ced4da;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--dark-green);
  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: 208px;
  background-color: #11b1f0;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: 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: 20px !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 var(--border-color);
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

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

.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: var(--link-hover-blue);
  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 {
  font-size: 14px !important;
  color: #373737 !important;
}

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

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

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

/* =========== Tablet View (2 Columns) ============ */
@media (max-width: 991px) and (min-width: 601px) {
  .process-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    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: 4px 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: 8px !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: 1048;
    /* Keeps it below primary nav (z-index ~1050) */
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    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: 2px;
    /* Better spacing between items */
    position: relative;
    z-index: 1049;
  }
}

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

/* 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 var(--border-color);
  border-radius: 8px !important;
  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: var(--dark-green);
  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: var(--pink) !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: 34px;
  min-height: 34px;
  max-height: 34px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
  box-sizing: border-box;
}

.add-to-cart-btn i,
.add-to-cart i {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 4px !important;
}

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

/* Product cards sized in asset/style/product-card.css */

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

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

.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: var(--border-color);
}

.wishlist-btn.close {
  background-color: var(--light-gray);
}

/*-------------------------------------------- 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: none;
  border-bottom: none;
  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: 1px solid var(--border-color);
}

.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-top: none;
    border-bottom: none;
  }
}

/* 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: var(--light-gray);
  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: var(--site-blue);
  border: none;
  border-radius: 10px;
  text-align: center;
}

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

.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: none;
  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: 1048;
    /* Keeps it below primary nav (z-index ~1050) */
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    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: 2px;
    /* Better spacing between items */
    position: relative;
    z-index: 1049;
  }

  .category-navbar .nav-link {
    padding: 3px 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: 0px;
  right: 0px;
  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 var(--dark-gray);
  /* Dark grey border */
  text-stroke: 1px var(--dark-gray);
  /* 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;
}

/* Wishlist heart styling lives in asset/style/product-card.css */

/* Product card styling centralized in asset/style/product-card.css */

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


@media (max-width: 600px) {

  /* Wishlist mobile responsive styles */
  .wishlist-container .row {
    margin: 0 !important;
    gap: 8px !important;
  }

  .wishlist-container .col-md-3,
  .wishlist-container .col-sm-6 {
    flex: 0 0 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    padding: 0 2px !important;
    margin-bottom: 12px !important;
  }

  /* .wishlist-container .card,
  .wishlist-container .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 auto 8px auto !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: var(--dark-green) !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 var(--border-color) !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: var(--dark-green) !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: var(--dark-green) !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: #FF7700 !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 #FF7700 !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 - maintain 8px system */
  .container,
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !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 15px !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: 6px 0 !important;
  }

  .dropdown-item {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  /* Compact navbar */
  .navbar {
    padding: 2px 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 8px !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 navigation */
  .category-nav-btn,
  .discounted-nav-btn,
  .featured-nav-btn {
    width: 25px !important;
    height: 25px !important;
    background: var(--white) !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) {

  /* Maintain consistent 8px margins */
  .container,
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Even more compact sections */
  section {
    padding: 2px 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 navigation */
  .category-nav-btn,
  .discounted-nav-btn,
  .featured-nav-btn {
    width: 18px !important;
    height: 18px !important;
    background: var(--white) !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: 0px 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) {

  /* Maintain consistent 8px margins even on ultra small devices */
  .container,
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !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 navigation */
  .category-nav-btn,
  .discounted-nav-btn,
  .featured-nav-btn {
    width: 16px !important;
    height: 16px !important;
    background: var(--white) !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;
  }
}

/* ==========================================================================
   Global Category Slider Styles (Migrated from index.php)
   ========================================================================== */
.categories-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 35px;
  /* Added room for navigation arrows */
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: visible;
}

.categories-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px 15px 5px;
  /* Extra padding at bottom for shadow, side padding protects borders */
  width: 100%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;
}

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

.category-products-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2px !important;
}

.category-products-title {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #333333 !important;
  margin: 0 !important;
  padding-left: 0px !important;
}

/* Base item - Exactly 5 per row Large Screens */
.category-item {
  flex: 0 0 auto;
  width: calc((100% - 64px) / 5);
  /* 5 items, 4 gaps of 16px */
  scroll-snap-align: start;
  text-align: center;
  box-sizing: border-box;
}

.category-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--white);
  padding: 10px 6px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.category-item a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.category-illustration {
  width: 100%;
  aspect-ratio: 4/3;
  /* compact rectangular shape */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: transparent;
  overflow: hidden;
}

.category-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Prevents stretch/zoom cut */
  padding: 4px;
  /* Minimal inner padding */
  transition: transform 0.3s ease;
}

.category-item a:hover .category-illustration img {
  transform: scale(1.05);
  /* Smooth inner zoom */
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  color: #adb5bd;
}

.category-placeholder i {
  font-size: 2.5rem;
}

.category-label {
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  margin: 0;
  line-height: 1.2;
  text-align: center;
  transition: color 0.3s;
  word-break: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 18px;
}

.category-item a:hover .category-label {
  color: var(--primary-color);
}

/* Tablet view - Exactly 3 per row */
@media (min-width: 768px) and (max-width: 1199px) {
  .categories-slider-wrapper {
    padding: 0 25px;
  }

  .categories-container {
    gap: 12px;
  }

  .category-item {
    width: calc((100% - 24px) / 3);
    /* 3 items, 2 gaps of 12px */
  }

  .category-item a {
    padding: 8px 4px;
  }

  .category-label {
    font-size: 13px;
  }
}

/* Mobile view - Exactly 2 per row */
@media (max-width: 767px) {
  .categories-slider-wrapper {
    padding: 0 10px;
    /* Minimal padding on mobile */
  }

  .categories-container {
    gap: 10px;
    padding: 8px 5px 12px 5px;
  }

  .category-item {
    width: calc((100% - 10px) / 2);
    /* 2 items, 1 gap of 10px */
  }

  .category-item a {
    padding: 8px;
    border-radius: 6px;
  }

  .category-illustration {
    margin-bottom: 8px;
  }

  .category-illustration img {
    padding: 4px;
  }

  .category-label {
    font-size: 11px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .category-item {
    /* Rely on the 2 items per row rule above */
  }

  .category-illustration {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 767px) {
  .subcategories-section.popular-categories-section {
    padding: 8px 0 4px !important;
    background: #fff !important;
  }

  .subcategories-section .categories-card {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
  }

  .subcategories-section .category-products-header {
    display: none !important;
  }

  .subcategories-section .mobile-subcategory-slider {
    padding: 0 28px;
    overflow: visible;
    --mobile-subcategory-image-size: calc((100% - 30px) / 4);
  }

  .subcategories-section .categories-container {
    gap: 10px !important;
    overflow-x: hidden !important;
    padding: 4px 0 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto;
    scroll-padding-left: 0;
    clip-path: inset(0 0 0 0 round 0);
  }

  .subcategories-section .category-item {
    flex: 0 0 calc((100% - 30px) / 4) !important;
    width: calc((100% - 30px) / 4) !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .subcategories-section .category-item a {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .subcategories-section .category-item a:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }

  .subcategories-section .category-illustration {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-bottom: 6px;
    border: 1px solid #e7edf1;
    border-radius: 8px;
    background: #f8fafb;
  }

  .subcategories-section .category-illustration img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
  }

  .subcategories-section .category-label {
    color: #2f3742;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    min-height: 26px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .subcategories-section .category-nav-btn {
    top: 44px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 30 !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  .subcategories-section .category-nav-btn.prev-btn {
    left: 2px;
  }

  .subcategories-section .category-nav-btn.next-btn {
    right: 2px;
  }
}


.category-nav-btn,
.discounted-nav-btn,
.featured-nav-btn,
.related-nav-btn {
  background: #ffffff;
  border: none;
  color: var(--light-blue);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  width: 25px !important;
  height: 25px !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 1;
  pointer-events: auto;
  text-decoration: none;
  line-height: 1;
  user-select: none;
  border-radius: 4px;
  /* Optional: adds a slight roundedness if desired, or keep square */
}

.category-nav-btn:hover,
.discounted-nav-btn:hover,
.featured-nav-btn:hover,
.related-nav-btn:hover {
  background: #ffffff;
  color: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(206, 229, 239, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.category-nav-btn img,
.discounted-nav-btn img,
.featured-nav-btn img,
.related-nav-btn img {
  width: 10px !important;
  height: 10px !important;
  object-fit: contain;
}

.category-nav-btn.prev-btn,
.discounted-nav-btn.prev-btn,
.featured-nav-btn.prev-btn,
.related-nav-btn.prev-btn {
  left: 10px;
}

.category-nav-btn.next-btn,
.discounted-nav-btn.next-btn,
.featured-nav-btn.next-btn,
.related-nav-btn.next-btn {
  right: 10px;
}


.popular-categories-section {
  padding: 20px !important;
  background: #f5f5f5 !important;
  margin-top: 0 !important;
}

.categories-card {
  background: #fff !important;
  border-radius: 8px !important;
  border: 1px solid #e0e0e0 !important;
  padding: 20px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
}

@media (min-width: 992px) {

  .hero-slider-section,
  .popular-categories-section,
  .discounted-products-section,
  .featured-products-section,
  .service-section,
  .process-container {
    margin: 0 15px !important;
  }
}

@media (max-width: 767px) {
  .popular-categories-section {
    padding: 8px 5px !important;
  }
}

/* Home Page Specific Product Category Overrides */
.home-categories-section .categories-container {
  gap: 16px !important;
}

.home-categories-section .category-item {
  width: calc((100% - 64px) / 5);
  /* 5 items, 4 gaps of 16px */
  flex-shrink: 0;
}

.home-categories-section .category-item a {
  padding: 12px;
}

.home-categories-section .category-illustration {
  aspect-ratio: 1/1;
  margin-bottom: 4px;
  border-radius: 6px;
}

.home-categories-section .category-illustration img {
  padding: 0;
  object-fit: cover;
  border-radius: 6px;
}

.home-categories-section .category-label {
  font-size: 14px;
}

/* Home Arrow Restyling */
.home-categories-section .categories-slider-wrapper {
  padding: 0 40px;
  /* Big exterior gap for arrows */
}

.home-categories-section .category-nav-btn.prev-btn {
  left: 5px;
}

.home-categories-section .category-nav-btn.next-btn {
  right: 5px;
}

/* Tablet view - Exactly 4 per row */
@media (min-width: 768px) and (max-width: 1199px) {
  .home-categories-section .category-item {
    width: calc((100% - 36px) / 4);
    /* 4 items, 3 gaps of 12px */
  }
}

/* Mobile view - DMart Style Category Grid Slider Redesign */
@media (max-width: 767px) {
  .home-categories-section .categories-card {
    background: linear-gradient(180deg, #e3f2aa 0%, #ffffff 100%) !important;
    padding: 10px 12px 10px 12px !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
  }

  .home-categories-section .category-products-header {
    margin-bottom: 2px !important;
    padding: 0 5px !important;
  }

  .home-categories-section .categories-container {
    display: grid !important;
    grid-auto-flow: column !important;
    /* Forces items into columns */
    grid-template-rows: repeat(2, 1fr) !important;
    /* Creates 2 rows */
    grid-template-columns: none !important;
    grid-auto-columns: calc((100% - 15px) / 2) !important;
    /* Forces 50% width for all columns */
    gap: 7px 15px !important;
    padding: 5px 0px !important;
    overflow-x: auto !important;
    /* Enables horizontal scroll */
    scroll-snap-type: x mandatory !important;
    /* Smooth swiping */
    -webkit-overflow-scrolling: touch !important;
  }

  /* Custom scrollbar hiding (DMart style) */
  .home-categories-section .categories-container::-webkit-scrollbar {
    display: none !important;
  }

  .home-categories-section .categories-container {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  .home-categories-section .category-item {
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
  }

  .home-categories-section .category-item a {
    background: #ffffff !important;
    border: 1px solid #e0f2a4 !important;
    border-radius: 12px !important;
    padding: 5px 5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
  }

  .home-categories-section .category-illustration {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.2 / 1 !important;
    margin-bottom: 4px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .home-categories-section .category-illustration img {
    width: 95% !important;
    height: 95% !important;
    object-fit: cover !important;
  }

  .home-categories-section .category-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  .home-categories-section .categories-slider-wrapper {
    padding: 0 !important;
  }

  .home-categories-section .category-nav-btn {
    display: none !important;
    /* Arrows hidden as requested */
  }
}

/* SweetAlert2 Global Close Button Overrides */
.swal2-close {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  font-size: 24px !important;
  display: flex !important;
  color: #444 !important;
}

/* Enforce consistent height and layout for all SweetAlerts */
.swal2-popup {
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 30px 20px 20px 20px !important;
}

/* Ensure actions (buttons) stick to the bottom */
.swal2-actions {
  margin-top: auto !important;
  padding-top: 15px !important;
}

/* --- Wishlist Specific Layout Overrides --- */
.wishlist-container {
  max-width: 1250px !important;
  /* Force a boxed width instead of fluid full screen */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.wishlist-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  justify-content: center !important;
  align-items: stretch !important;
}

/* Ensure product cards flex nicely inside the new grid */
.wishlist-grid .card.product-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  /* Rely entirely on grid gap */
  float: none !important;
  justify-self: center;
  height: 100% !important;
}

/* Responsive breakdowns for the boxed wishlist grid - STANDARDIZED */
@media (max-width: 767px) {
  .wishlist-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .wishlist-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}

@media (min-width: 1200px) {
  .wishlist-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
  }

  .wishlist-grid .card.product-card {
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* --- How We Work Section Mobile Adjustments --- */
@media (max-width: 767px) {
  .hero-container {
    margin-top: 7px !important;
    margin-bottom: 7px !important;
    padding: 0 !important;
  }

  .hero-button {
    margin: 0 auto !important;
    display: table !important;
    /* Center block with auto margin */
  }

  .process-container {
    gap: 5px !important;
    /* Final ultra-tight gap between cards */
    margin-bottom: 0px !important;
    /* Final ultra-tight bottom gap */
    padding: 0 15px !important;
  }

  .step {
    flex: 0 1 100% !important;
    max-width: 100% !important;
  }

  .step img {
    max-height: 120px !important;
    padding: 0px !important;
  }
}

@media (min-width: 1400px) {
  .wishlist-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
  }
}

/* Why Inprotech Section - Global Styles */
.why-inprotech-alt {
  padding: 50px 0;
  background-color: white;
}

.why-header-alt {
  text-align: left;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.why-header-alt h2 {
  font-size: 36px;
  color: #1a2e44;
  margin-bottom: 0;
  font-weight: 800;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}

.why-header-alt h2 span {
  color: #FF7700;
}

.why-header-alt p {
  color: #777;
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.why-grid-alt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-slider-wrapper {
  position: relative;
}

.why-nav-btn {
  display: none !important;
}

.why-card-alt {
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.why-card-alt:hover {
  transform: translateY(-8px);
}

.why-image-alt {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.why-image-alt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-card-alt:hover .why-image-alt img {
  transform: scale(1.05);
}

.why-card-alt h3 {
  color: #FF7700;
  font-size: 22px;
  font-weight: 800;
  margin: 25px 30px 15px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.why-card-alt p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 25px 25px;
  text-align: center;
}

@media (max-width: 1024px) {
  .why-grid-alt {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid-alt {
    grid-template-columns: 1fr;
  }

  .why-header-alt {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* Unified Category Section Heading Styles (from Homepage) */
.inp-custom-homepage-cat-title-row {
  display: flex !important;
  align-items: center !important;
  /* justify-content: flex-start !important; */
  gap: 55px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  padding-left: 0 !important;
}

@media (max-width: 768px) {
  .inp-custom-homepage-cat-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0px !important;
  }
}

.inp-custom-homepage-cat-title {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--navy-blue, #1A2E44) !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.inp-custom-homepage-cat-title .text-orange {
  color: var(--primary-orange, #FF6600) !important;
}

.inp-custom-homepage-cat-subtitle {
  color: #777 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
  max-width: 670px;
  text-align: left !important;
}
