:root {
    --bs-white: #fff;
    --bs-dark: #212529;
    --bs-body-color: #212529;
    --bs-primary: var(--bs-primary);
    --bs-light-primary: #f4ffe7;
    --bs-secondary: var(--bs-secondary);
    --bs-light: #f2f4f8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Bahnschrift", sans-serif;
    color: var(--bs-body-color);
    background-color: var(--bs-white);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.3px;
}

html {
    scroll-behavior: smooth;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

a:hover {
    color: inherit;
}

img {
    width: 100%;
    height: auto;
}

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

button {
    cursor: pointer;
    border: 1px solid var(--bs-white);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    display: inline-block;
    padding: 0.2rem 1rem;
    color: var(--bs-white);
    background-color: #4e7e10;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
    border: 1px solid transparent;
    border-radius: 80px;
    font-size: 14px;
    float: right;
}

.btn-primary:hover {
    color: var(--bs-white);
    background-color: var(--bs-secondary);
}

.uv-login-btn {
    padding: 10px 0px;
    margin-bottom: 10px;
}

.absolute-full {
    position: absolute;
    inset: 0;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-white {
    background-color: var(--bs-white) !important;
}

.bg-light {
    background-color: var(--bs-light) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-light-primary {
    background-color: var(--bs-light-primary);
}

.topbar {
    background-color: var(--bs-primary);
    padding: 0.3rem 0;
}

.c-pointer {
    cursor: pointer;
}

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

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-35 {
    font-size: 35px !important;
}

.p-0 {
    padding: 0;
}

.pr-6px {
    padding-right: 6px;
}

.pl-6px {
    padding-left: 6px;
}

.pr-3px {
    padding-right: 3px;
}

.pl-3px {
    padding-left: 3px;
}

.pt-1rem {
    padding-top: 1rem !important;
}

.pt-2rem {
    padding-top: 2rem !important;
}

.rounded-16px{
    border-radius: 16px;
}
/* =======================================
   GLOBAL COLOR CHANGE USING var(--primary)
   ======================================= */
   input[type="radio"],
   input[type="checkbox"] {
       accent-color: var(--primary);
   }
   
   input[type="radio"]:focus-visible,
   input[type="checkbox"]:focus-visible {
       outline: 2px solid var(--primary);
       outline-offset: 2px;
   }

.topbar-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-link {
    text-decoration: underline;
    font-weight: 600;
    color: #393939;
    transition: color 0.3s ease;
}

.topbar-link:hover {
    color: var(--bs-secondary);
    font-weight: 600;
    text-decoration: none;
}

.topbar-social-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-otp {
    font-size: 25px;
    text-align: center;
    color: #4e7e10;
}

.fa-facebook-f {
    color: var(--bs-white);
    background: #1877f2;
}

.fa-youtube {
    color: var(--bs-white);
    background: #d34344;
}

.fa-whatsapp {
    color: var(--bs-white);
    background: #075e54;
}

.fa-instagram {
    color: var(--bs-white);
    background: #e1306c;
}

.fa-google {
    color: var(--bs-white);
    background: #d0021b;
}

.fa-twitter {
    color: var(--bs-white);
    background: #1da1f2;
}

.desktop-header {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    background: #fff;
    padding-top: 0.2rem;
    padding-bottom: 0.1rem;
}

.sticky .search-list {
    top: 50px;
}

.desk-header-logo {
    width: 238px;
    background-color: transparent;
}

.header-search {
    padding: 0 85px;
}

.search-form {
    display: flex;
    border: 1px solid var(--bs-primary);
    border-radius: 50px;
    overflow: hidden;
}

.search-input {
    flex: 1 0 0%;
    font-size: 14px;
    padding: 6px 14px;
}

.search-btn {
    flex-shrink: 0;
    background-color: var(--bs-primary);
    width: 50px;
    border: 2px solid var(--bs-white);
    border-radius: 50px;
    font-size: 13px;
    color: var(--bs-white);
}

.search-btn:hover {
    background: var(--bs-secondary);
}

.desktop-navbar {
    padding: 3px 0;
    background-color: var(--bs-light);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-nav-area {
    flex-shrink: 0;
    width: 238px;
    position: relative;
}

.category-toggle-btn {
    font-size: 18px;
    color: var(--bs-body-color);
    background-color: var(--bs-primary);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.category-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background-color: var(--bs-white);
    padding: 1rem;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    padding-top: 0;
    padding-bottom: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 10%);
}

.category-nav-area:hover .category-menu {
    visibility: visible;
    opacity: 1;
    transform: scaleY(1);
}

.category-item {
    border-bottom: 1px solid #ddd;
    position: relative;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4d4d4d;
    font-size: 16px;
    padding: 8px 0;
}

.category-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 225px;
    width: fit-content;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: 999;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.category-item:hover .category-submenu {
    left: calc(100% 1rem);
    visibility: visible;
    opacity: 1;
}

.main-nav-area {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    /* padding: 12px 20px; */
    display: flex;
    justify-content: center;
    z-index: 1000;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
  }

  .main-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .menu-item {
    position: relative;
  }


.menu-link {
    text-decoration: none;
    color: #191919;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 2px 4px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .menu-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary);
    backdrop-filter: blur(10px);
  }
  
/* Submenu */
.submenu {
    position: absolute;
    top: 120%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
  }

  .menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .submenu-item {
    padding: 0;
  }
  
  .submenu-link {
    display: block;
    text-decoration: none;
    color: #1c1a1a;
    padding: 10px 18px;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
    overflow: hidden;
  }
  
  .submenu-link:hover {
    background-color: var(--primary);
    transform: translateX(0);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
  }
  .submenu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
    transform: translateY(-50%);
    opacity: 0.8;
  }
  
  .submenu-link:hover::before {
    width: 6px;
  }
  
  /* Small glowing hover effect */
  .menu-link:hover,
  .submenu-link:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  }
  
  /* Dropdown Icon */
  .dropdown-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.8rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
  }
  
  /* Rotate icon on hover */
  .menu-item:hover > .menu-link .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
  }
  
  /* Optional: If using Font Awesome icon instead of text ▾ */
  .menu-link i.dropdown-icon {
    font-size: 12px;
    vertical-align: middle;
  }
  .menu-item:hover .submenu {
    animation: fadeInBlur 0.4s ease forwards;
  }
  
  .menu-item:hover .dropdown-icon {
    transform: rotate(180deg) scale(1.1);
    opacity: 1;
  }
  
  
/* .main-nav-area {
    flex: 1 0 0%;
} */

/* .main-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
} */

/* .menu-item {
    flex-shrink: 0;
    position: relative;
} */

/* .menu-link {
    font-size: 18px;
    display: block;
    padding: 3px 0;
} */

/* .submenu-link:hover,
.menu-link:hover {
    color: var(--bs-primary);
}

.submenu-link:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
} */

/* .submenu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% 1rem);
    width: fit-content;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: 999;
    white-space: nowrap;
    min-width: 240px;
} */

/* .menu-item:hover .submenu {
    top: 100%;
    visibility: visible;
    opacity: 1;
} */

/* .submenu-item {
    border-bottom: 1px solid #ddd;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-link {
    display: block;
    padding: 10px 16px;
    font-size: 16px;
} */

.mobile-header {
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--bs-white);
    box-shadow: 0 0 10px rgb(33 37 41 / 22%);
}

.nav-toggler-wrapper {
    width: 44px;
    height: 44px;
}

#nav-toggler {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 40px;
    padding: 14px 10px;
    cursor: pointer;
}

.toggle-line {
    display: block;
    position: relative;
    height: 2px;
    background: var(--bs-body-color);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.toggle-line:nth-child(2) {
    margin: 5px 0;
}

#nav-toggler.close {
    background: rgb(77 77 77 / 20%);
    width: 40px;
    height: 40px;
}

#nav-toggler.close .toggle-line:nth-child(1) {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 5px;
}

#nav-toggler.close .toggle-line:nth-child(2) {
    display: none;
}

#nav-toggler.close .toggle-line:nth-child(3) {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 3px;
}

.mobile-cart-icon {
    font-size: 26px;
}

.mobile-item-count {
    font-size: 12px;
    min-height: 20px;
    min-width: 20px;
    background-color: var(--bs-primary);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 3px;
    transform: translateY(-6px);
}

@media (max-width: 991px) {
    body {
        padding-top: 68px;
    }
}

.navbar-nav {
    padding: 20px;
    width: 290px;
    display: block;
    position: fixed;
    left: -400px;
    top: 63px;
    height: calc(100vh - 50px);
    overflow: auto;
    background: var(--bs-white);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 9999;
    border-top: 1px solid #eee;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
}

#header.open .navbar-nav {
    left: 0;
}

#header.open .mobile-header {
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
}

.overlay {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 99;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    display: none;
}

.overlay.open {
    display: block;
}

.slide-image-wrapper {
    position: relative;
    z-index: 1;
}

.slider-wrapper {
    position: relative;
}

.slide-image-wrapper::before {
    content: "";
    display: block;
    padding-top: 30%;
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.indicator-btn {
    border: none;
    width: 15px !important;
    height: 15px !important;
    background-color: var(--bs-white) !important;
    margin: 0 8px !important;
    border-radius: 50%;
    opacity: 1 !important;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    margin: 0;
}

.indicator-btn.active {
    background-color: #7fc129 !important;
}

.nav-item {
    border-bottom: 1px solid #eee;
    position: relative;
}

.nav-item.has-sub {
    padding-right: 0;
}

.has-sub.nav-item::before,
.has-sub.nav-item::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1px;
    background: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    border: none;
    pointer-events: none;
    cursor: pointer;
}

.has-sub.nav-item:before {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.nav-submenu {
    background-color: #fafafa;
}

.nav-submenu>li {
    padding-left: 25px;
}

.nav-link {
    line-height: 44px;
    font-size: 14px;
    font-weight: 400;
    padding: 0 20px;
    color: var(--bs-dark);
    display: block;
    width: calc(100% - 55px);
}

.navbar-nav .nav-item:hover{
    background: rgba(26, 159, 207, 0.1);
    color: var(--primary) !important;
}

.navbar-nav .nav-submenu .nav-item:hover{
    background: rgba(26, 159, 207, 0.1);
    color: var(--primary) !important;
}

.banner-image-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 0.2rem;
    max-height: 350px;
}

.banner-image-wrapper::before {
    content: "";
    display: block;
    padding-top: 50%;
}

.banner-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.banner-image-wrapper:hover::after {
    opacity: 1;
}

.m-0 {
    margin: 0;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey; */
    border-radius: 0px;
}


.whatsapp-btn-outline {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2); 
    background-color: #d1fae5;
    color: #238f1a; 
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}


.whatsapp-btn-outline:hover {
    background-color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.4);
    color: #064e3b;
}

.whatsapp-btn-outline span {
    flex: 1;
}


/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 82px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

#shipping_address::placeholder {
    color: #bbb;
    /* lighter shade */
    opacity: 1;
    /* ensures consistent color across browsers */
}

/* Small devices (mobile) */
@media (max-width: 576px) {
    .whatsapp-btn {
        bottom: 115px;
        width: 40px;
        height: 40px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}


/* Handle */
::-webkit-scrollbar-thumb {
    background: #ccc9c9;
    border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ccc9c9;
}

.filter-brand-area {
    /*display: flex;*/
    /*align-items: center;*/
    /*overflow-x: scroll;*/

    height: 27px;
    overflow: hidden;
}

.h-auto {
    height: auto !important;
}

.brand-filter {
    cursor: pointer;
    display: inline-block;
    line-height: 25px;
    padding: 0 6px;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 1px 5px 0;
    font-size: 13px;
    font-weight: normal;
}

.brand-filter:hover {
    color: var(--bs-white);
    background-color: #4e7e10;
}

.brand-filter-active {
    color: var(--bs-white);
    background-color: #4e7e10;
}

.banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-image-wrapper:hover .banner-image {
    transform: scale(1.2);
}

.section-header {
    border-bottom: solid 1px #ccc9c9;
    position: relative;
}

.product-section .container {
    /* background: #f3f3f3; */
    padding: 15px 10px;
    border-radius: 10px;
}

/* ==== Product Card Wrapper ==== */
.single-product {
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: var(--bs-white);
    box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
    padding: 5px 5px 12px 5px;
    position: relative;
}

.single-product:hover .product-image-wrapper::after {
    opacity: 1;
}

/* ==== Ribbon Wrapper ==== */
.container__wrapper4 {
    left: 0;
    position: absolute;
    top: 0;
    height: 100px;
    width: 100px;
    overflow: hidden;
    z-index: 998;
}

.container__ribbon4 {
    left: -84px;
    position: absolute;
    top: 32px;
    height: 19px;
    width: 206px;
    transform: rotate(-45deg);
    background-color: rgb(217 217 217);
    padding-left: 82px;
    color: #000;
    font-weight: 700;
    font-size: 12px;
}

/* ==== Product Image ==== */
.product-image-wrapper {
    position: relative;
    z-index: 1;
    will-change: transform;
}

.product-image-wrapper::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.product-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

/* ==== Discount Ribbon ==== */
.discount {
    position: absolute;
    right: 0px;
    top: 0px;
    white-space: nowrap;
    background-color: #4e7e10;
    color: var(--bs-white);
    font-weight: 600;
    font-size: 10px;
    width: fit-content;
    height: 20px;
    padding: 4px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    line-height: 10px;
}

/* ==== Discount Price Box ==== */
.discount-price {
    color: #4e7e10;
    font-weight: 700;
    padding: 10px 0px 0px 0px;
    font-size: 14px;
    line-height: 1;
    min-height: 18px;
}

.new-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary);
}

.old-price {
    color: #f10d0d;
    font-size: 11px;
    opacity: 0.5;
    text-decoration: line-through;
}

.del-old-price {
    color: #f10d0d;
    font-size: 14px;
    opacity: 0.4;
    text-decoration: line-through;
}

/* ==== Product Price (when no discount) ==== */
.product-price {
    color: #4e7e10;
    font-weight: 700;
    padding: 5px 0px 0px 0px;
    font-size: 13px;
}

.modal-product-price {
    color: #4e7e10;
    font-weight: 800;
    padding: 5px 0px 0px 0px;
    font-size: 20px;
}



/* ==== Optional Badge ==== */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--discount-text);
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Buy Now button */
.custom-buy-now-btn {
    /* border: 1px solid var(--bs-secondary); */
    color: var(--bs-secondary);
    /* background-color: transparent; */
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    font-weight: 500;
    opacity: 0.7;
}

.custom-buy-now-btn:hover {
    background-color: var(--bs-secondary);
    color: var(--bs-white);
    opacity: 1;
}

/* Add to Cart button */
.custom-add-to-cart-btn {
    /* border: 1px solid var(--bs-primary); */
    color: var(--bs-primary);
    /* background-color: transparent; */
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    font-weight: 600;
    opacity: 0.7;
}

.custom-add-to-cart-btn:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
}

/* Responsive: icons only on small, text + icon on md+ */
.custom-buy-now-btn span,
.custom-add-to-cart-btn span {
    font-size: 0.85rem;
}

.product-title-wrapper {
    /*background-color: var(--bs-primary);*/
    /*text-align: center;*/
    position: relative;
    min-height: 44px;
    padding: 5px 6px;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* limit to 2 lines */
    line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    line-height: 1.3em;
    max-height: 2.6em;
    /* = line-height * 2 */
    cursor: pointer;
    /* normal text cursor, no hand */
}

.product-title:hover {
    color: var(--bs-primary);
}

/* Tooltip container */
.product-title.custom-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 88%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-primary);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: normal;
    font-size: 13px;
    line-height: 1.4;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    word-break: break-word;
}

/* Tooltip arrow */
.product-title.custom-tooltip::before {
    content: "";
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--bs-primary) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

/* Show tooltip on hover */
.product-title.custom-tooltip:hover::after,
.product-title.custom-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Responsive tooltip adjustments */
@media (max-width: 768px) {
    .product-title.custom-tooltip::after {
        font-size: 12px;
        max-width: 220px;
        padding: 6px 10px;
    }

    .product-title.custom-tooltip::before {
        border-width: 5px;
    }
}

@media (max-width: 480px) {
    .product-title.custom-tooltip::after {
        font-size: 11px;
        max-width: 180px;
        padding: 5px 8px;
    }
}
.product-price-section {
    font-size: 18px;
    margin-bottom: 15px;
}

.modal-rating .modal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: var(--bs-danger); /* Bootstrap danger color */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-rating .modal-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.modal-discount-price {
    font-size: 12px;
    font-weight: bold;
}

.modal-short-description-wrapper {
    position: relative; /* needed for ::after and proper overlay */
}

.modal-short-description {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    max-height: calc(1.6em * 7); /* limit to ~7 lines */
    overflow: hidden;
    white-space: pre-line; /* preserve line breaks */
    position: relative;
}

.modal-short-description ul {
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
}

.modal-short-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* fade-out effect */
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.modal-read-more {
    display: block;
    color: var(--bs-primary);
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    text-align: right;
}


.gallery-item {
    position: relative;
    z-index: 1;
}

.gallery-item::before {
    content: "";
    display: block;
    padding-top: 60%;
}

.gallery-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-blog {
    background-color: var(--bs-white);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.blog-image-wrapper {
    position: relative;
    z-index: 1;
}

.blog-image-wrapper::before {
    content: "";
    display: block;
    padding-top: 64%;
}

.blog-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.single-blog:hover .blog-image-wrapper::after {
    opacity: 1;
}

.blog-image {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    line-height: 1.6rem;
    max-height: calc(2.5 * 1.6rem);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    font-weight: 500;
    font-size: 1.3rem;
}

.blog-exerp {
    line-height: 1.6rem;
    max-height: calc(3.75 * 1.6rem);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 3;
    font-weight: 400;
    color: #444;
    margin-bottom: 0.5rem;
    min-height: 77px;
}

.blog-link {
    font-weight: 600;
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: capitalize;
}

.blog-link:hover {
    color: var(--bs-primary-hover);
}

.footer-section {
    background-color: #393939;
    position: relative;
    padding: 6rem 0 3rem;
    color: var(--bs-white);
}

.subscribe-area {
    position: relative;
    max-width: 100%;
    width: 520px;
    margin-left: auto;
    margin-right: 5rem;
    margin-bottom: -5rem;
    background-color: var(--bs-white);
    border: 2px solid var(--bs-primary);
    border-radius: 5rem 0;
    padding: 2rem;
    z-index: 1;
}

.subscribe-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--bs-body-color);
}

.subscribe-note {
    font-size: 13px;
}

.subscribe-form {
    display: flex;
    border: 1px solid #a1a1a1;
    border-radius: 50px;
    overflow: hidden;
}

.subscribe-input {
    padding-left: 22px;
    font-size: 15px;
}

.subscribe-btn {
    border: 1px solid var(--bs-white);
    background-color: #4e7e10;
    color: var(--bs-white);
    white-space: nowrap;
    padding: 14px 21px;
    display: inline-block;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
}

.footer-address {
    margin: 1.5rem 0;
}

.footer-widget-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    margin-top: -5px;
}

.footer-link {
    display: inline-block;
    padding: 5px 0;
}

.footer-social-link {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.footer-copyright {
    background-color: #323233 !important;
    color: #9c9c9c;
    font-size: 14px;
    padding: 10px 0px;
}

.copyright-link {
    color: var(--bs-primary);
    font-weight: 600;
}

.scrollTop {
    position: fixed;
    right: 25px;
    bottom: -60px;
    z-index: 999;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease-out;
    border: 1px solid transparent;
    will-change: transform;
}

.scrollTop:hover {
    background-color: var(--bs-secondary);
}

.scrollTop.show {
    visibility: visible;
    opacity: 1;
    bottom: 30px;
}

.rounded {
    border-radius: 5px;
}

.login-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 650px;
    padding: 20px;
    z-index: 99999;
    pointer-events: none;
    will-change: transform;
}

.login-popup.open {
    pointer-events: auto;
}

.login-form-wrapper {
    background-color: var(--bs-white);
    border-radius: 10px;
    padding: 2rem 2rem 4rem 2rem;
    position: relative;
    transform: translateY(30px) scale(0.965) perspective(1px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 6px 36px rgb(34 34 34 / 33%);
    transition: opacity 150ms ease-out, transform 255ms cubic-bezier(0.175, 0.745, 0.425, 1.11);
    transition-delay: 75ms;
    will-change: transform;
}

.login-popup.open .login-form-wrapper {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.text-danger {
    color: red;
}

.text-success {
    color: green;
}

.phone-verify-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 650px;
    padding: 20px;
    z-index: 99999;
    pointer-events: none;
    will-change: transform;
}

.phone-verify-popup.open {
    pointer-events: auto;
}

.phone-verify-popup.open .login-form-wrapper {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.btn-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 18px;
    background-color: rgb(0 0 0 / 10%);
    border-radius: 50%;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.popup-input {
    background-color: #e5ffd8;
    margin-bottom: 1rem;
    padding: 14px 20px;
}

.remember-label {
    cursor: pointer;
}

.alternate {
    text-align: center;
    margin: 30px 0;
    font-size: 18px;
    text-transform: uppercase;
}

.alternate-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.alternate-login-btn {
    background-color: var(--bs-light);
    padding: 10px;
    padding-right: 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.login-btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav {
    position: fixed;
    left: 0;
    bottom: -70px;
    width: 100%;
    background-color: var(--bs-white);
    box-shadow: 0 -7px 10px rgb(0 0 0 / 8%);
    border-radius: 0.5rem 0.5rem 0 0;
    z-index: 98;
    transition: all 0.2s ease-in-out;
    will-change: transform;
}

.bottom-nav.visible {
    bottom: 0;
}

.bottom-nav-link {
    display: grid;
    text-align: center;
    padding: 15px;
    place-items: center;
}

.bottom-nav-icon {
    fill: var(--bs-body-color);
}

.search-href {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.old-price {
    color: #f10d0d;
    font-size: 11px;
    opacity: 0.5;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}



.product-stock-out-alert-big {
    position: absolute;
    width: 79px;
    height: 30px;
    background: #e71717;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    line-height: 29px;
    left: 0;
    top: 0;
    border-bottom-right-radius: 12px;
}

.product-stock-out-alert {
    position: absolute;
    width: 79px;
    height: 30px;
    background: #e71717;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    line-height: 29px;
    left: 0;
    top: 0;
    border-bottom-right-radius: 12px;
}

.cat-product-stock-out-alert {
    position: absolute;
    width: 79px;
    height: 30px;
    background: #e71717;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    line-height: 29px;
    left: 0;
    top: 0;
    border-bottom-right-radius: 12px;
}

@media screen and (max-width: 767px) {
    .product-stock-out-alert-big {
        width: 60px;
        height: 26px;
        font-size: 8px;
    }

    .product-stock-out-alert {
        width: 60px;
        height: 26px;
        font-size: 8px;
    }

    .cat-product-stock-out-alert {
        width: 60px;
        height: 26px;
        font-size: 8px;
    }

    .image-zoom-stock-out {
        width: 330px;
        height: 330px;
        left: 0px;
        line-height: 261px;
    }
}

.overflow-x {
    overflow-x: scroll;
}

.col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

/* Offer */

.offer-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 1rem;
}

.offer-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6a00, #ee0979);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.responsive-title {
    word-break: break-word;
    white-space: normal;
    padding: 0 10px;
}

.poster-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.7);
    transform: scale(1.1);
    z-index: 1;
    transition: transform 0.3s ease;
}

.poster-wrapper:hover .poster-bg {
    transform: scale(1.15);
}

.poster-main {
    position: relative;
    width: 90%;
    height: 90%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    /* border-radius: 12px; */
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-wrapper:hover .poster-main {
    transform: scale(1.02);
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); */
}




.offer-card {
    background: var(--card-bg);
    color: var(--card-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 420px;
    max-height: 450px;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.thumb-wrapper {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.offer-card:hover .product-thumb {
    transform: scale(1.05);
}

/* Product Title */
.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 10px;
    min-height: 40px;
    /* keeps height consistent */
}

/* Buy Now Button */
.btn-buy-now {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-buy-now:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .poster-main {
        width: 95%;
        height: 95%;
    }
}

@media (max-width: 767.98px) {
    .poster-main {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 991.98px) {
    .offer-title {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }
}

@media (max-width: 767.98px) {
    .offer-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }
}

/*For Search*/
.search-list-hide {
    display: none;
}

.search-list-show {
    display: block;
}

.search-list {
    position: absolute;
    top: 89px;
    max-height: 450px;
    height: auto;
    overflow-y: scroll;
    width: 400px;
    background: #fff;
    padding: 7px;
    z-index: 1200;
}

.search-list ul {
    list-style: none;
    /*padding-left: 1.1rem;*/
}

.search-list ul li {
    padding: 3px;
    background: #f0f0f0;
    border-radius: 5px;
}

.search-list ul li:hover {
    background: #bab7b7;
}

.search-list-img {
    width: 60px;
    height: 60px;
}

.search-item-list {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

/*Mbl*/
.search-list-mbl-hide {
    display: none;
}

.search-list-mbl-show {
    display: block;
}

.search-list-mbl {
    position: absolute;
    top: 106px;
    left: 10px;
    max-height: 350px;
    height: auto;
    overflow-y: scroll;
    width: auto;
    margin-right: 10px;
    background: #fff;
    padding: 6px;
    z-index: 1200;
    border: solid 1px #ededed;
    border-radius: 10px;
}

.search-list-mbl ul {
    list-style: none;
    /*padding-left: 1.1rem;*/
}

.search-list-mbl ul li {
    padding: 3px;
    background: #f0f0f0;
    border-radius: 5px;
}

.search-list-mbl-img {
    width: 40px;
    height: 40px;
}

.search-item-list-mbl {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

.pro-details-area .product-desc-img {
    display: block;
    width: 100%;
    height: 520px;
    /* desktop default */
    object-fit: contain;
    /* no distortion */
    margin: 10px 0;
}

/* Mobile bottom bar */
@media (max-width: 767.98px) {
    .bottom-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: -25px;
        padding: 0.75rem 1rem;
        background: #ffffff;
        z-index: 1050;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        margin: 0; /* override my-4 on mobile if needed */
    }

    .bottom-action-bar .btn {
        flex: 1 1 0;
        justify-content: center;
    }

    /* So content is not hidden behind the fixed bar */
    body {
        padding-bottom: 80px;
    }
}

/* Large tablets */
@media (max-width: 992px) {
    .pro-details-area .product-desc-img {
        height: 400px;
    }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
    .pro-details-area .product-desc-img {
        height: 300px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .pro-details-area .product-desc-img {
        height: 200px;
    }
}

.zoom_image_area_image {
    width: 50px !important;
}

/* Custom responsive  */
@media (min-width: 768px) { /* Bootstrap's 'md' breakpoint */
    .justify-content-md-start {
      justify-content: flex-start !important;
    }
  }

  @media (max-width: 767.98px) {
    #cartModal .modal-dialog {
      margin: 96px auto 1rem auto; /* top, auto left/right, bottom spacing */
      max-height: calc(100% - 96px - 1rem); /* avoid cutting modal bottom */
    }
  
    #cartModal .modal-content {
      max-height: calc(100vh - 96px - 2rem); /* allow scrolling if content is tall */
      overflow-y: auto;
    }
  }
  