/*  Brand       : Babicha
    Description : Main Navigation and Sidebar Drawer Styles
    Created on : Jun 15, 2026, 2:38:46 AM
    Author     : Sandeep Verma
*/
@import url("form_components.css");

/* ---------- LOCAL FONTS ---------- */
@font-face {
    font-family: 'Quicksand';
    src: url('../../fonts/Quicksand/Quicksand-VariableFont_wght.ttf') format('truetype-variations'),
         url('../../fonts/Quicksand/static/Quicksand-Regular.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- 01. CSS VARIABLES ---------- */
:root {
    --color-heading: #D23744;
    --color-text: #000000;
    --color-theme: #CC3632;
    --color-bg-light: #fef9f2;
    --color-white: #ffffff;
    --transition-speed: 0.3s;
    
    --nav-color: #fff;
    --nav-hover-color: #ce1212;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #7f7f90;
    --nav-dropdown-hover-color: #ce1212;
    --background-color: #ffffff;
    --default-color: #212529;
    --heading-color: #37373f;
    --accent-color: #ce1212;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* ---------- 02. RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* AOS Animation horizontal scroll fix */
html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 75px;
    }
}

/* Ya fir specific is section ke liye */
.layered-section {
    overflow-x: hidden;
}

a,
button {
    outline: none;
    border: none;
    background: transparent;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* ---------- 03. NAVBAR & BRAND ---------- */
.navbar {
    background-color: var(--color-white) !important;
    transition: all var(--transition-speed);
}

.navbar.is-sticky {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.brand-text {
    color: var(--color-heading) !important;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
}

/* Navbar Links */
.navbar-nav .nav-link {
    transition: color var(--transition-speed) ease;
    letter-spacing: -0.2px;
}

.navbar-nav .nav-link:hover {
    color: var(--color-theme) !important;
}

/* ---------- 04. BUTTONS & ICONS ---------- */
.btn-theme {
    background-color: var(--color-white);
    color: var(--color-theme);
    border: 1.5px solid var(--color-theme);
    transition: all var(--transition-speed) ease;
}

.btn-theme:hover {
    background-color: var(--color-theme);
    color: var(--color-white);
}

.btn-theme-solid {
    background-color: var(--color-theme, #CC3632);
    color: #ffffff !important;
    border: 1.5px solid var(--color-theme, #CC3632);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-theme-solid:hover {
    background-color: #ffffff;
    color: var(--color-theme, #CC3632) !important;
    border-color: var(--color-theme, #CC3632);
    box-shadow: 0 4px 12px rgba(204, 54, 50, 0.25);
}

.cart-icon img {
    height: 24px;
    width: auto;
    transition: transform 0.2s ease;
}

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

/* Custom Hamburger Icon */
.bar-icon-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.bar-icon-2 span {
    display: block;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 4px;
    transition: all var(--transition-speed) ease-in-out;
    width: 100%;
}

.bar-icon-2 span:nth-child(2) {
    width: 85%;
}

.bar-icon-2 span:nth-child(3) {
    width: 60%;
}

.mobile-drawer-toggle:hover .bar-icon-2 span:nth-child(2),
.mobile-drawer-toggle:hover .bar-icon-2 span:nth-child(3) {
    width: 100%;
}

/* ---------- 05. DRAWER MENU (MOBILE/TABLET) ---------- */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85%, 320px);
    height: 100%;
    background-color: var(--color-white);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2001;
    transition: right 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
}

.cart-drawer-container {
    width: 450px !important;
    max-width: 100%;
    background-color: #f8f9fa;
    overflow-y: hidden !important;
    height: 100vh !important;
}

@media (max-width: 575.98px) {
    .cart-drawer-container {
        width: 100% !important;
    }
    
    .mobile-cart-badge {
        top: -0.5rem;
        right: 1.45rem;
        font-size: 0.8rem;
        padding: 0.35em 0.5em;
        line-height: 1;
    }
    
    .mobile-search-filter-row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .mobile-search-filter-row .ux-search {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    .mobile-search-filter-row .filter_part,
    .mobile-search-filter-row .sort_part {
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        justify-content: center;
    }
    .mobile-search-filter-row .filter_part .dropdown,
    .mobile-search-filter-row .sort_part .dropdown {
        width: 100%;
    }
    .mobile-search-filter-row .dropdownfilterbutton {
        width: 100% !important;
        padding: 8px 12px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .mobile-search-filter-row .dropdownfilterbutton span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        max-width: 100%;
    }
    
    .mobile-pagination-wrapper {
        width: 100% !important;
        margin-top: 5px;
    }
    
    .mobile-pagination-row {
        justify-content: space-between !important;
        width: 100% !important;
    }
    
    .product-grid {
        gap: 10px !important;
    }
    .babicha-product-card {
        /* 2 items per row, 1 gap of 10px = 10px total gap space */
        width: calc((100% - 10px) / 2) !important;
    }
}

.drawer-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 1rem 0;
}

.cart-drawer-header {
    background-color: #fff;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.cart-drawer-body {
    background-color: #f8f9fa;
    scrollbar-width: thin;
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
}

#cartDrawerFooter {
    flex-shrink: 0;
}

.cart-item-img-wrapper {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    overflow: hidden;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-badge {
    font-size: 0.6rem;
    transform: translate(-50%, -10%);
}

.cart-footer-icons {
    font-size: 0.7rem;
}

.drawer-container.open {
    right: 0;
}

.drawer-close {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.drawer-close:hover,
.drawer-nav-list a:hover {
    color: var(--color-theme) !important;
}

/* ---------- 06. MEDIA QUERIES ---------- */
@media (max-width: 991px) {
    .navbar-toggler,
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-drawer-toggle,
    .drawer-overlay:not(.cart-drawer-overlay),
    .drawer-container:not(.cart-drawer-container) {
        display: none !important;
    }
}

/* For small devices (phones, 575px and down) */
@media (max-width: 575px) {
    .navbar-brand img {
        height: 40px;
    }

    .cart-icon img {
        height: 30px;
        margin: 0.2rem 0.2rem 0.2rem 0.5rem;
    }
}

/* Base Section Class */
.babicha_section,
.babicha-products-wrapper,
.babicha-pdp-wrapper,
.main__content_wrapper {
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: 100%;
    width: auto;
    background-color: #fff;
    padding: 0 0 60px 0; /* Added standard top and bottom padding */
}

@media (max-width: 768px) {
    .babicha_section,
    .babicha-products-wrapper,
    .babicha-pdp-wrapper,
    .main__content_wrapper {
        padding: 20px 0; /* Compact padding on mobile */
    }
    
    .header-logo-img {
        max-height: 32px !important;
    }
    .header-login-btn {
        padding: 4px 12px !important;
        font-size: 0.82rem !important;
    }
}
@media (max-width: 576px) {
    .babicha_section,
    .babicha-products-wrapper,
    .babicha-pdp-wrapper,
    .main__content_wrapper {
        padding: 15px 0;
    }
    .category-slider-wrap {
        padding: 0 10px !important;
    }
}

.babicha-btn {
    display: inline-block;
    background-color: var(--color-theme);
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.075s ease !important;
}

.babicha-btn:hover {
    background-color: var(--color-heading);
    color: var(--color-white);
    transform: translateY(-3px);
}

.babicha-btn:active {
    transform: scale(0.95) !important;
}

.babicha_md_btn {
    padding: 0.9rem 2rem;
}

.babicha_lg_btn {
    padding: 1.2rem 2rem;
}

@media (max-width: 767.98px) {
    .babicha_md_btn {
        padding: 0.7rem 1.5rem;
    }
}

/* =========================================
   1. BASE STYLES (For Desktop) - ALWAYS FIRST
   ========================================= */

.babicha-heading {
    font-family: "Sniglet", system-ui;
    color: #d13239;
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.buzz-subtext {
    font-family: 'Quicksand', sans-serif;
}

.buzz-input {
    font-family: 'Quicksand', sans-serif;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #1a1a1a;
    box-shadow: none !important;
    transition: border-color 0.25s ease;
}

.buzz-input:focus {
    border-color: var(--color-theme, #d13239);
    background-color: #ffffff;
}

.buzz-input::placeholder,
.form-select.buzz-input {
    font-family: 'Quicksand', sans-serif;
    color: #888888;
    font-weight: 500;
}

.bobalicious-card {
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bobalicious-card .card-icon img {
    height: 96.5px;
    width: auto;
    object-fit: contain;
}

.bobalicious-card .card-title {
    color: #333333;
    font-size: 1.25rem;
    font-weight: 700;
}

.bobalicious-card .card-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 31px;
    letter-spacing: 0;
    color: #666666;
}

/* =========================================
   FRANCHISE SECTION & PARALLAX STYLES
   ========================================= */
.join-us-section-wrapper {
    width: 100%;
    position: relative;
    margin-top: 0px;
    margin-bottom: 0px;
}

.join-us-parallax {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8rem 0; 
}

.join-us-parallax::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-position: center;
    background-size: cover;
    background-attachment: initial;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark Overlay (Isse text aur bright nahi chubhega) */
/*.join-us-parallax::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1); 
    z-index: 1;
}*/

/* Main Container Text */
.join-us-parallax .container {
    position: relative;
    z-index: 2; /* Taki text sabse aage rahe */
}
.join-us-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.join-us-card .join-us-heading {
    color: #c93b42;
    font-family: 'Sniglet', system-ui, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-us-card .join-us-subtext {
    font-family: 'Quicksand', sans-serif;
    color: #555555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .join-us-parallax {
        padding: 5rem 0;
        background-attachment: scroll;
    }
    
    .join-us-card {
        padding: 30px 24px;
    }

    .join-us-card .join-us-heading {
        font-size: 1.85rem;
    }
}

/* ── Background swirl vectors ── */
.bg-vector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.75;
    pointer-events: none;
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: babichaFloat 4s ease-in-out infinite;
}

.babicha-its-vector-left {
    left: -4%;
    rotate: 6deg;
}

.babicha-its-vector-right {
    right: -8%;
}

.stars_of_babicha-vector-left {
    left: -4%;
}

.stars_of_babicha-vector-right {
    right: -7%;
    rotate: 3deg;
}

.reels-left-vector {
    left: -4%;
}

.reels-right-vector {
    right: -2%;
}

.modal {
    z-index: 105005 !important;
}

.modal-backdrop {
    z-index: 105004 !important;
}

/* =========================================
   2. MEDIA QUERIES - ALWAYS AT THE BOTTOM
   ========================================= */

/* Tablet (Medium devices, 991px and down) */
@media (max-width: 991px) {
    .babicha-heading {
        font-size: 2.5rem;
    }

    .reels-left-vector {
        left: -2%;
    }

    .reels-right-vector {
        right: -2%;
    }
}

/* Mobile Landscape (Small devices, 767px and down) */
@media (max-width: 767px) {
    .babicha-heading {
        font-size: 2.3rem;
    }

    /* Mobile size: 130px */
    .bg-vector {
        width: 130px;
        height: 130px;
    }
}

/* Mobile Portrait (Extra small devices, 575px and down) */
@media (max-width: 575px) {
    .babicha-heading {
        font-size: 2rem;
    }
}

/* =========================================
   3. ANIMATIONS (KEYFRAMES)
   ========================================= */

@keyframes babichaFloat {
    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-44%);
    }
}

/* ============================================================
   THE Other Painted SECTION
   ============================================================ */

.layered-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ============================================================
   MARQUEE BAR SECTION
   ============================================================ */
.marquee-bar {
    background-color: #000000;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Flex layout with infinite animation */
.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-bar:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 45px;
}

/* Icon scaling */
.marquee-icon {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Text Styling */
.marquee-text {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: lowercase;
}

/* ── Seamless Scrolling Animation ── */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Mobile Responsive ── */
@media (max-width: 767.98px) {
    .marquee-icon {
        height: 28px;
    }

    .marquee-text {
        font-size: 1rem;
    }

    .marquee-item {
        margin-right: 30px;
        gap: 8px;
    }
}

.section_bottompadding {
    padding: 3rem 0rem;
}

/* ── BABICHA FOOTER ── */
.babicha-footer {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.second-layered-section-bg {
    background-color: #F4E4E4;
}
.second-layered-section-bg2 {
    background-color: #F7F6E5;
}

.sea-mountain-ship {
    height: 100%;
    overflow: hidden;
}

.bf-landscape {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-mobile-bg {
    display: none;
}

.bf-footer-content {
    background: #E5C59C;
    padding: 40px 0px;
    position: relative;
}

.bf-footer-row {
    display: flex;
    align-items: flex-start;
}

/* Content Column (Left) */
.bf-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 10;
}

.bf-logo img {
    width: 210px;
}

.bf-links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.bf-links a {
    color: #000;
    font-weight: 555;
    text-decoration: none;
}

/* Assets Column (Right) */
.bf-assets-col {
    width: 430px;
    flex-shrink: 0;
    position: relative;
    align-self: flex-start;
    z-index: 2;
}

.bf-boy {
    width: 100%;
    display: block;
    margin-left: auto;
}

.bf-rock-desktop {
    width: 95px;
    position: absolute;
    left: -30px;
    top: 25%;
}

.bf-rock-mobile {
    display: none;
}

/* Socials & Bottom */
.bf-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1.5px solid #000;
    padding-top: 18px;
    margin-top: 4px;
}

.bf-socials {
    display: flex;
    gap: 8px;
}

.bf-socials a {
    background: #CC3632;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-copyright {
    margin-bottom: 0;
}

/* Mobile View */
@media (max-width: 767px) {
    .sea-mountain-ship {
        height: 117px;
    }

    .bf-desktop-bg {
        display: none;
    }

    .bf-mobile-bg {
        display: block;
    }

    .bf-footer-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bf-assets-col {
        width: 100%;
        order: 1;
        min-height: 200px;
        position: relative;
    }

    .bf-boy {
        width: 100%;
        margin: 0 auto;
    }

    .bf-rock-desktop {
        top: 64%;
        left: 64%;
    }

    .bf-rock-mobile {
        display: block !important;
        position: absolute;
        top: 5px;
        left: -12%;
        width: 70px;
    }

    .bf-content-col {
        order: 2;
        padding: 20px;
        text-align: left;
        align-items: start;
    }

    .bf-links {
        flex-direction: column;
        gap: 10px;
    }

    .bf-bottom {
        flex-direction: column;
        align-items: start;
        margin-top: 0;
        width: 100%
    }

    .bf-links a {
        text-decoration: none;
        font-size: 18px;
    }
}

/* Fix Breadcrumb Divider Link Issue */
.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, "/") !important;
}

/* ---------- SMART STICKY HEADER ---------- */
.navbar.header-hidden {
    transform: translateY(-100%);
}

/* ==================== IMPORTED FROM REFERENCEHTML2 ==================== */

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  padding: 20px 0;
  top: 0;
  transition: all 0.5s;
  z-index: 997;
  background: #cc3632;
}

.header .logo {
  line-height: 1;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--default-font);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 36px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }
  
  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 10px 0;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color, #ffffff);
    font-size: 15px;
    padding: 7px 14px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 50px;
    border: 1px solid transparent;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    border: 1px solid #ffffff;
    color: #ffffff;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

@media (max-width: 1200px) { 
  .header .header-right-actions { order: 2; } 
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

.scroll-top { z-index: 99999; }



/* ============================================================
   PRODUCT VARIANT ADDON MODAL STYLES
   ============================================================ */

/* Desktop - Fade Animation */
#variantSelectionModal {
    z-index: 100001 !important;
}
.modal-backdrop {
    z-index: 100000 !important;
}

/* Custom Checkbox Styles */
.custom-cb-label {
    cursor: pointer; user-select: none; position: relative;
}
.custom-cb-label input {
    position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;
}
.custom-cb-mark {
    height: 22px; width: 22px; background-color: #fff;
    border: 2px solid #ccc; border-radius: 4px;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.2s ease-in-out; flex-shrink: 0;
}
.custom-cb-label input:checked ~ .custom-cb-mark {
    background-color: #cc3632; border-color: #cc3632;
}
.custom-cb-mark:after {
    content: ""; display: none; width: 6px; height: 12px;
    border: solid white; border-width: 0 2px 2px 0;
    transform: rotate(45deg); margin-bottom: 3px;
}
.custom-cb-label input:checked ~ .custom-cb-mark:after {
    display: block;
}

/* Package Card Styles */
.package-card-wrapper {
    position: relative; cursor: pointer;
}
.package-card-input {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.package-card {
    border: 1px solid #dee2e6; border-radius: 8px; padding:0.5rem;
    text-align: center; background: #fff; min-width: 140px; transition: all 0.2s;
}
.package-card:hover { border-color: #cc3632; }
.package-card-input:checked + .package-card {
    border: 2px solid #cc3632; background: #fff;
}
.package-badge {
    position: absolute; top: -10px; right: 10px; background: #cc3632; color: white;
    font-size: 0.75rem; font-weight: bold; padding: 2px 10px; border-radius: 12px; z-index: 1;
}

/* Desktop: Keep modal centered */
#variantSelectionModal .modal-dialog-bottom {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#variantSelectionModal .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#variantSelectionModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Mobile Bottom Sheet */
@media (max-width: 768px) {
    #variantSelectionModal .modal-dialog {
        display: flex;
        align-items: flex-end;
        min-height: 100%;
        margin: 0;
    }
    #variantSelectionModal .modal-content {
        border-radius: 20px 20px 0 0 !important;
        width: 100%;
    }
}

#variantSelectionModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

#variantSelectionModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-heading);
}

#variantSelectionModal .modal-body {
    padding: 1rem 1.5rem;
}

#variantSelectionModal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
}

#variantSelectionModal .btn-close {
    font-size: 1.5rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

#variantSelectionModal .btn-close:hover {
    opacity: 1;
}

/* ---------- Premium Address Cards & Accordions ---------- */
.babicha-address-card {
    border: 1.5px solid #f0f0f0 !important;
    border-radius: var(--bab-radius);
    background-color: #fff;
    transition: all 0.3s ease;
}
.babicha-address-card:hover {
    border-color: var(--color-theme) !important;
    box-shadow: 0 12px 28px rgba(206, 18, 18, 0.08) !important;
    transform: translateY(-2px);
}
.babicha-address-card.default-address {
    border-color: var(--color-theme) !important;
    background-color: #fffcfb;
}
.babicha-address-card .address-badge {
    background-color: var(--bab-accent-soft);
    color: var(--color-theme);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(206, 18, 18, 0.1);
}
.new-address-accordion {
    border: 1.5px dashed #eaeaea !important;
    border-radius: var(--bab-radius);
    background: #fff;
    transition: all 0.25s ease;
    overflow: hidden;
}
.new-address-accordion:hover {
    border-color: var(--color-theme) !important;
}
#newAddressHeader {
    cursor: pointer;
    transition: background-color 0.2s ease;
}
#newAddressHeader:hover {
    background-color: #fffcfb !important;
}
#newAddressArrow {
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.accordion-add-icon {
    background-color: var(--bab-accent-soft);
    padding: 6px;
    border-radius: 50%;
    color: var(--color-theme) !important;
}
.new-address-form {
    display: none;
    border-top: 1px solid #f8f9fa;
    padding-top: 1rem;
}
.btn-cancel-address {
    background-color: #fff !important;
    color: #6c757d !important;
    border: 1.5px solid #dcdcdc !important;
}
.btn-cancel-address:hover {
    background-color: #f8f9fa !important;
    color: #333 !important;
    border-color: #c2c2c2 !important;
}





/* --- Dropdown Container --- */
.custom-user-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 12px 2px 4px;
    border-radius: 50px;
    background:#fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}


/* --- Dropdown Toggle --- */
.custom-dropdown-toggle,
.custom-dropdown-toggle:hover {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--nav-font, 'Inter', sans-serif);
    text-decoration: none;
    padding: 2px 0;
    background: transparent;
    border: none;
}

/* Dropdown Arrow/Caret */
.custom-dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    border-top: 0.35em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* User Profile Image */
.custom-dropdown-toggle .user_profile_image {
    object-fit: cover;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* --- Dropdown Menu with Smooth Animation --- */
.custom-user-dropdown .custom-dropdown-menu {
    position: absolute;
    right: 0; /* Bootstrap ke dropdown-menu-end jaisa */
    top: 100%;
    background: #ffffff;
    min-width: 170px;
    border-radius: 0.40rem;
    margin: 0;
    padding: 6px;
    border: 1px solid #ffffff;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    
    /* Animation Properties */
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px); /* 50px thoda zyada lamba ho jata hai, 20px smooth feel deta hai */
    transition: all 0.4s ease;
}

/* Hover par menu show karna */
.custom-user-dropdown:hover .custom-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

/* --- Dropdown Items (Replaces py-2, px-3, fw-medium) --- */
.custom-user-dropdown .custom-dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    text-decoration: none;
    border-radius: 6px;
    margin: 2px 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Item par hover effect */
.custom-user-dropdown .custom-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1e2125;
}

/* Logout jaisi text-danger class ke liye custom color */
.custom-user-dropdown .custom-dropdown-item.text-danger {
    color: #dc3545;
}

.custom-user-dropdown .custom-dropdown-item.text-danger:hover {
    background-color: #fcebeb; /* Thoda light red background hover par */
    color: #b02a37;
}

/* --- Header Logo --- */
.header-logo-img {
    max-height:45px;
}

@media (min-width: 992px) {
    .hero-banner-common{
        margin-top:5.5rem;
    }
}

/* --- Category Slider Custom Styles --- */
.category-slider-wrap {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 42px;
    width: 100%;
}

.category-nav-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 8px 4px;
    width: 100%;
}

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

.category-item {
    flex: 0 0 auto;
}

.category-pill {
    white-space: nowrap;
}

.category-nav-prev, .category-nav-next {
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    z-index: 10;
    color: #fff !important;
    background-color: #CC3632 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
}

.category-nav-prev:hover, .category-nav-next:hover {
    background-color: #b02a27 !important;
    transform: translateY(-50%) scale(1.05);
}

.category-nav-prev {
    left: -10px;
}

.category-nav-next {
    right: -10px;
}

/* --- Related Products Swiper Custom Nav --- */
.related-products-swiper {
    position: relative;
    padding: 10px 5px 25px 5px;
}

.pdp-swiper-nav-buttons .swiper-button-prev,
.pdp-swiper-nav-buttons .swiper-button-next {
    position: static !important;
    margin: 0 !important;
    color: #ffffff !important;
    background-color: #CC3632 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
}

.pdp-swiper-nav-buttons .swiper-button-prev::after,
.pdp-swiper-nav-buttons .swiper-button-next::after {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.pdp-swiper-nav-buttons .swiper-button-prev:hover,
.pdp-swiper-nav-buttons .swiper-button-next:hover {
    background-color: #b02a27 !important;
    transform: scale(1.08);
}

.related-products-swiper .swiper-slide {
    height: auto;
}

.related-products-swiper .swiper-slide .babicha-product-card {
    width: 100% !important;
}

/* --- Babicha Toggle Switch --- */
.babicha-toggle-switch input[type=checkbox],
.babicha-toggle-switch input[type=radio] {
  height: 0;
  width: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.babicha-toggle-switch label {
  cursor: pointer;
  text-indent: -9999px;
  width: 42px;
  height: 22px;
  background: #cbd5e1;
  display: inline-block;
  border-radius: 100px;
  position: relative;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.babicha-toggle-switch label:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.babicha-toggle-switch input:checked + label {
  background: #cc3632;
  box-shadow: none !important;
}

.babicha-toggle-switch input:checked + label:after {
  left: calc(100% - 2px);
  transform: translateX(-100%);
}

.babicha-toggle-switch label:active:after {
  width: 22px;
}

/* Product Card Bestseller & New Badges */
.badge-bestseller-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 243, 205, 0.95);
  color: #856404;
  border: 1px solid #ffebaba0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}

.badge-new-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(224, 242, 254, 0.95);
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}

/* ============================================================================
   RESPONSIVE DIV-TABLE TO MOBILE CARD UI
   ============================================================================ */
.div-table-wrapper {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 24px;
}

.div-table-header {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 700;
  color: #475569;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
}

.div-table-body .div-table-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.div-table-body .div-table-row:last-child {
  border-bottom: none;
}

.div-table-body .div-table-row:hover {
  background-color: #f8fafc;
}

.div-table-col {
  flex: 1;
  font-size: 0.925rem;
  color: #1e293b;
  padding: 0 8px;
}

/* Specific Column Flex Ratios for Desktop */
.col-id { flex: 0.8; font-weight: 700; color: #cc3632; }
.col-date { flex: 1.2; color: #64748b; }
.col-items { flex: 2; }
.col-amount { flex: 1; font-weight: 700; }
.col-status { flex: 1; }
.col-action { flex: 1; text-align: right; }

/* Mobile Card View (max-width: 768px) */
@media screen and (max-width: 768px) {
  .div-table-wrapper {
    background: transparent;
    box-shadow: none;
  }

  .div-table-header {
    display: none;
  }

  .div-table-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .div-table-body .div-table-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .div-table-body .div-table-row:active {
    transform: scale(0.99);
  }

  .div-table-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    text-align: right;
  }

  .div-table-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 8px;
  }

  .div-table-col::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: left;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .col-action::before {
    display: none;
  }

  .col-action {
    justify-content: stretch;
  }

  .col-action .btn {
    width: 100%;
  }
}


