/* Active link for frontend start */

.profile-link.active, .profile-link.active .lab {
    --tw-text-opacity: 1;
    color: rgb(var(--primary) / var(--tw-text-opacity));
}

/* Active link for frontend close */

/* Date picker code start*/
.dp__input {
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
    color: inherit !important;
    font-family: var(--client-font) !important;
    font-size: 0.875rem !important;
    padding: 6px 25px !important;
}

.dp__input:hover {
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
    color: inherit !important;
}

.dp__input_focus {
    border-color: rgb(var(--primary) / 0.2) !important;
    color: inherit !important;
}

.dp__input.invalid {
    border-color: rgb(252 165 165) !important;
}


/* Date picker code close here*/


/* Tag package customize start*/
.vue-tags-input {
    max-width: 100% !important;
}

.vue-tags-input .ti-input {
    --tw-border-opacity: 1 !important;
    border-radius: 0.375rem;
    border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
}

.vue-tags-input.ti-focus .ti-input {
    border-color: rgb(var(--primary) / 0.2) !important;
}

.vue-tags-input.invalid-tag .ti-input {
    --tw-border-opacity: 1 !important;
    border-color: rgb(252 165 165 / var(--tw-border-opacity)) !important;
}

/* Tag package customize end*/

/* Textarea package customize start */
.textarea-error-box-style {
    padding: 0;
    margin: 0;
    border: 1px solid;
    border-radius: 0.375rem;
}

.textarea-error-box-style.invalid::before {
    content: none !important;
}

.textarea-border-radius {
    border-radius: 0 0 0 0.375rem;
    border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
}

.ql-toolbar.ql-snow {
    border: 1px solid rgb(229 231 235) !important;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.ql-container.ql-snow {
    border-left: 1px solid rgb(229 231 235) !important;
    border-right: 1px solid rgb(229 231 235) !important;
    border-bottom: 1px solid rgb(229 231 235) !important;
}

/* Textarea package customize end */

/* Text details v-html section start */
.text-description>ol {
    list-style: auto !important;
    margin: auto !important;
    padding: revert !important;
}

.text-description>ul {
    list-style: unset !important;
    margin: auto !important;
    padding: revert !important;
}

/* Text details v-html section end */

/* Select code start */
.vue-select.no-radius {
    border-radius: 0 !important;
}

.vue-select {
    width: auto !important;
    border: 1px solid rgb(229 231 235 / var(--tw-border-opacity)) !important;
    border-radius: 0.375rem !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex-direction: column !important;
}

.vue-select.invalid {
    border: 1px solid rgb(252 165 165 / var(--tw-border-opacity)) !important
}

.vue-input {
    padding: 0.1rem 0 !important;
}

.vue-input input {
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.vue-input input::placeholder {
    color: #697a8d !important;
}

.vue-dropdown {
    border: 1px solid rgb(var(--primary) / 0.2) !important;
    box-shadow: 0 0.25rem 1rem rgb(229 231 235 / 45%) !important;
}

.vue-select.direction-top .vue-dropdown {
    border-top-left-radius: 0.375rem !important;
    border-top-right-radius: 0.375rem !important;
    z-index: 100000;
}

.vue-select.direction-bottom .vue-dropdown {
    border-bottom-left-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    z-index: 100000;
}

.vue-select[aria-expanded='true'].direction-top {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.vue-select[aria-expanded='true'].direction-bottom {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.vue-select[aria-expanded='true'] {
    border-color: rgb(var(--primary) / 0.2) !important;
}

.vue-dropdown-item.highlighted {
    background-color: rgba(67, 89, 113, .04) !important;
}

.vue-dropdown-item.selected.highlighted {
    background-color: rgba(105, 108, 255, .08) !important;
    color: rgb(var(--primary) / var(--tw-text-opacity)) !important;
}

.vue-dropdown-item.selected {
    background-color: rgba(105, 108, 255, .08) !important;
    color: rgb(var(--primary) / var(--tw-text-opacity)) !important;
}

.vue-dropdown-item {
    font-size: 15px;
    padding: 0.4375rem 0.875rem !important;
}

.frontend-select input::placeholder {
    font-size: 1rem !important;
    color: rgb(31 31 57 / 1) !important;
}

/* Select code close */

/* Range slider code start */
.simple-range-slider-popover.simple-range-slider-popover-left,
.simple-range-slider-popover-arrow,
.simple-range-slider-popover.simple-range-slider-popover-right {
    display: none;
}

.simple-range-slider .simple-range-slider-bg-bar {
    margin: 10px 10px 10px !important;
}

.simple-range-slider .simple-range-slider-bg-bar .simple-range-slider-anchor {
    background: #ffffff !important;
}

/* Range slider code close */

/* Icon size start */

.lab-font-color-1 {
    color: #dee2e5 !important;
}

[class="lab"].lab-font-size-20, [class^="lab-"].lab-font-size-20, [class*=" lab-"].lab-font-size-20 {
    font-size: 20px !important;
}

[class="lab"].lab-font-size-2xl, [class^="lab-"].lab-font-size-2xl, [class*=" lab-"].lab-font-size-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}

[class="lab"].lab-font-size-xl, [class^="lab-"].lab-font-size-xl, [class*=" lab-"].lab-font-size-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}

[class="lab"].lab-font-size-8, [class^="lab-"].lab-font-size-8, [class*=" lab-"].lab-font-size-8 {
    font-size: 8px !important;
}

[class="lab"].lab-font-size-10, [class^="lab-"].lab-font-size-10, [class*=" lab-"].lab-font-size-10 {
    font-size: 10px !important;
}

[class="lab"].lab-font-size-16, [class^="lab-"].lab-font-size-16, [class*=" lab-"].lab-font-size-16 {
    font-size: 16px !important;
}

[class="lab"].lab-font-size-24, [class^="lab-"].lab-font-size-24, [class*=" lab-"].lab-font-size-24 {
    font-size: 24px !important;
}

[class="lab"].lab-font-size-14, [class^="lab-"].lab-font-size-14, [class*=" lab-"].lab-font-size-14 {
    font-size: 14px !important;
}

/* Icon size close */

/* installer code start */
.bg-installer {
    background-image: url(../../../images/required/installer.jpg);
}

/* installer code close */

/* installer code close */
iframe.w-full.rounded-2xl {
    background: rgb(20, 20, 20) !important;
}

.sr-only {
    left: inherit !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: transparent;
    cursor: pointer;
    position: absolute;
    inset: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
}

.drawer:where([dir="ltr"], [dir="ltr"] *) {
    right: 0px;
    --tw-translate-x: 100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.drawer:where([dir="rtl"], [dir="rtl"] *) {
    left: 0px;
    right: unset !important;
    --tw-translate-x: -100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.drawer.active:where([dir="ltr"], [dir="ltr"] *) {
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.drawer.active:where([dir="rtl"], [dir="rtl"] *) {
    --tw-translate-x: -0px;
    right: unset !important;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.dp__clear_icon{
    right: 1px !important;
}
[dir="rtl"] .dp__clear_icon{
    right: unset !important;
    left: 1px !important;
}

.dp__input_icons {
    background: #fff;
    padding: 4px 4px !important;
}

@media only screen and (max-width: 1023px) {
    .velmld-parent.componentLoading {
        position: unset !important;        
    }
}

/* Golden/Cream Theme Overrides matching AstroVasu.com */
:root {
    --bg-primary: #FCF9F2; /* Exact AstroVasu body background */
    --bg-navbar: #FFFDF8;  /* Lighter shade of the same family for cleaner header */
    --text-primary: #1C160C; /* Exact AstroVasu primary text color */
}

/* Background overrides (excluding footer) */
body, 
main, 
#app:not(footer *):not(.footer *),
.bg-slate-50:not(footer):not(footer *):not(.footer):not(.footer *), 
.bg-gray-50:not(footer):not(footer *):not(.footer):not(.footer *), 
.bg-zinc-50:not(footer):not(footer *):not(.footer):not(.footer *), 
.section:not(footer *):not(.footer *),
.container:not(footer *):not(.footer *),
.bg-default:not(footer *):not(.footer *) {
    background-color: var(--bg-primary) !important;
}

/* Card, Product Card, and Category Card design (White background cards) */
.bg-white:not(footer):not(footer *):not(.footer):not(.footer *),
.card:not(footer *):not(.footer *), 
.product-card:not(footer *):not(.footer *), 
.category-card:not(footer *):not(.footer *) {
    background-color: #ffffff !important;
    border: 1px solid rgba(212, 168, 67, 0.15) !important;
}

/* Header/Navbar lighter shade override */
header, 
header nav, 
.navbar, 
.nav-bar, 
.top-bar, 
.header-bg,
#app header,
#app header nav {
    background-color: var(--bg-navbar) !important;
    border-bottom: 1px solid rgba(212, 168, 67, 0.15) !important;
}

/* Specific background reset for inputs and search bars to remain readable (excluding footer inputs) */
input:not(footer *):not(.footer *), 
textarea:not(footer *):not(.footer *), 
select:not(footer *):not(.footer *), 
.search-input,
.search-bar {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    border-color: #e5e7eb !important;
}

/* Ensure good text contrast and readability */
body, 
p, 
span:not(.text-white):not(footer *):not(.footer *), 
a:not(.text-white):not(.bg-primary *):not(footer *):not(.footer *), 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
.text-gray-900, 
.text-gray-800, 
.text-gray-700, 
.text-slate-900, 
.text-slate-800 {
    color: var(--text-primary) !important;
}

/* Maintain active primary color for links or highlighted elements */
.text-primary, .active {
    color: rgb(var(--primary)) !important;
}

/* Premium Custom Water Ripple Cursor Styles */
.ripple-trail-dot {
    width: 6px;
    height: 6px;
    background: rgba(212, 168, 67, 0.5); /* Gold water droplet */
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    animation: dripFade 500ms ease-out forwards;
}
@keyframes dripFade {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.water-ripple {
    position: fixed;
    border: 2px solid rgba(212, 168, 67, 0.7); /* Luxury Gold water wave */
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleWave 700ms cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
@keyframes rippleWave {
    0% {
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        width: 130px;
        height: 130px;
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
        border-width: 1px;
    }
}

/* === PART 2: HIGH-END PREMIUM MICRO-INTERACTIONS & CURSOR ANIMATIONS === */

/* Disable mobile default tap blue outline globally */
* {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

/* 0. Global interactive element config */
a, 
button, 
.store-badge, 
.product-card, 
.category-card, 
.swiper-button-next, 
.swiper-button-prev,
.fa-heart,
.fa-bag-shopping,
.fa-magnifying-glass,
.fa-user,
.brand-logo-container,
[class*="card"] {
    cursor: pointer !important;
}

/* 1. Images (product images, category images, banners) */
.product-card img, 
.category-card img, 
.banner img, 
img[class*="product"], 
img[class*="category"] {
    transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform;
}

.product-card:hover img, 
.category-card:hover img,
.banner:hover img {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.product-card:active img, 
.category-card:active img {
    transform: scale(0.97) !important;
}

/* Wishlist Heart Icon Overlays */
.fa-heart {
    opacity: 0.75;
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), color 200ms ease, opacity 200ms ease !important;
}
.fa-heart:hover {
    opacity: 1 !important;
    transform: scale(1.18) !important;
    color: rgb(var(--primary)) !important;
}
.fa-heart:active {
    animation: heartBounce 400ms cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
@keyframes heartBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* 2. Product Cards (Premium Translation & Elevation) */
.product-card,
[class*="product-card"] {
    transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform;
}
.product-card:hover,
[class*="product-card"]:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 30px rgba(90, 80, 64, 0.12) !important;
}
.product-card:hover .text-gray-900,
.product-card:hover h3,
.product-card:hover a {
    color: rgb(var(--primary)) !important;
    transition: color 200ms ease !important;
}

/* 3. Navigation Bar (Left to Right Underline Grow) */
#app header nav a, 
.navbar a, 
.nav-link {
    position: relative;
    transition: color 250ms ease, font-weight 250ms ease !important;
}
#app header nav a::after, 
.navbar a::after, 
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: rgb(var(--primary));
    transform-origin: bottom left;
    transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#app header nav a:hover::after, 
.navbar a:hover::after, 
.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown Arrow rotation */
.dropdown-trigger:hover .arrow-icon,
.dropdown-trigger:hover i {
    transform: rotate(180deg) !important;
    transition: transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Search bar focus glow */
input[type="text"]:focus, 
.search-bar input:focus {
    border-color: rgb(var(--primary)) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.15) !important;
    transition: box-shadow 250ms ease, border-color 250ms ease !important;
}

/* 4. Top Right Header Icons */
.fa-bag-shopping, 
.fa-user, 
.fa-magnifying-glass {
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), color 200ms ease !important;
}
.fa-bag-shopping:hover, 
.fa-user:hover, 
.fa-magnifying-glass:hover {
    transform: scale(1.15) !important;
    color: rgb(var(--primary)) !important;
}
.fa-bag-shopping:active, 
.fa-user:active {
    animation: iconPress 200ms ease-out;
}
@keyframes iconPress {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 5. Buttons (Tactile Feedback & Hover Shadows) */
button, 
.btn, 
.btn-primary, 
.subscribe-btn, 
[class*="btn-"] {
    transition: all 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
button:hover, 
.btn:hover,
[class*="btn-"]:hover {
    filter: brightness(0.92) !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 16px rgba(var(--primary), 0.22) !important;
}
button:active, 
.btn:active,
[class*="btn-"]:active {
    transform: scale(0.95) !important;
}

/* 6. Category Circles/Boxes */
.category-card,
[class*="category-box"] {
    transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 300ms ease, box-shadow 300ms ease !important;
    will-change: transform;
}
.category-card:hover,
[class*="category-box"]:hover {
    transform: translateY(-4px) scale(1.06) !important;
    border-color: rgba(212, 168, 67, 0.4) !important;
    box-shadow: 0 8px 20px rgba(90, 80, 64, 0.08) !important;
}

/* 7. Brand Logos (Grayscale conversion) */
.brand-logo-container,
[class*="brand-logo"] {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 300ms ease, opacity 300ms ease !important;
}
.brand-logo-container:hover,
[class*="brand-logo"]:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.08) translateY(-2px) !important;
}

/* 8. Scroll Trigger Animation Base Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Bulletproof Footer Reset (NO background color or theme overrides inside footer) */
.footer,
.footer *,
footer,
footer * {
    background: transparent !important;
}

/* Maintain dark background for the main footer container */
.footer,
footer {
    background-color: #1f1f39 !important; /* Theme original dark navy */
}

/* Ensure footer text and links remain white and fully visible */
.footer a,
.footer p,
.footer span,
.footer h3,
.footer h4,
.footer li,
.footer i,
footer a,
footer p,
footer span,
footer h3,
footer h4,
footer li,
footer i {
    color: #ffffff !important;
}

/* Re-enable white background only for the email input box inside footer */
.footer input,
footer input {
    background-color: #ffffff !important;
    color: #1c160c !important;
}

/* Re-enable theme orange background for the subscribe button */
.footer button,
.footer .subscribe-btn,
footer button,
footer .subscribe-btn {
    background-color: #f7941d !important;
    color: #ffffff !important;
}

/* Elegant shadow/glow behind logo in header bar for better visibility */
header img[alt="logo"],
nav img[alt="logo"],
.navbar img[alt="logo"],
#app header img,
.w-28.sm\:w-32 {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.16)) !important;
    transition: filter 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

header img[alt="logo"]:hover,
nav img[alt="logo"]:hover,
.navbar img[alt="logo"]:hover,
#app header img:hover,
.w-28.sm\:w-32:hover {
    filter: drop-shadow(0 4px 10px rgba(212, 168, 67, 0.35)) !important;
    transform: scale(1.03) !important;
}

/* Mobile header: keep menus/icons visible. Never cover admin hamburger with centered logo. */
@media (max-width: 1023px) {
    #app header:not(.db-header) .container {
        position: relative !important;
        min-height: 56px !important;
        height: 56px !important;
        display: flex !important;
        align-items: center !important;
    }

    #app header:not(.db-header),
    #app header:not(.db-header).fixed {
        padding: 0 !important;
        height: 56px !important;
        background-color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        overflow: visible !important;
    }

    #app header:not(.db-header) img[alt="logo"] {
        max-height: 40px !important;
        height: 40px !important;
        width: auto !important;
        object-fit: contain !important;
        transform: none !important;
    }

    /* Hamburger + search stay above the logo */
    #app header:not(.db-header) button.leading-none {
        position: relative !important;
        z-index: 30 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .banner-swiper,
    .banner-swiper img,
    img[alt="banner"] {
        height: 230px !important;
        object-fit: cover !important;
    }

    header.db-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 50 !important;
        height: 56px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        padding: 8px 12px !important;
        overflow: visible !important;
        background-color: #ffffff !important;
    }
    header.db-header > a.w-32,
    header.db-header > a.flex-shrink-0 {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        z-index: 1 !important;
        width: 88px !important;
        margin: 0 8px 0 44px !important;
        display: block !important;
    }
    header.db-header .db-header-nav {
        position: absolute !important;
        left: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 200 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        color: #fd8b0e !important;
        background-color: rgba(253, 139, 14, 0.08) !important;
    }
    header.db-header .dropdown-btn h3 {
        display: none !important;
    }
    header.db-header .lab-arrow-down {
        min-width: 12px !important;
        min-height: 12px !important;
        overflow: visible !important;
    }
}

/* Admin Panel Sidebar Logo Adjustment (Only in Admin Panel, Desktop and Mobile frontend untouched) */
aside.db-sidebar div.db-sidebar-header a.w-24,
aside.db-sidebar .db-sidebar-header a,
.db-sidebar-header a.router-link-active {
    width: 145px !important;
    max-width: 145px !important;
    min-width: 145px !important;
    display: block !important;
    overflow: visible !important;
}
aside.db-sidebar div.db-sidebar-header a.w-24 img,
aside.db-sidebar .db-sidebar-header a img,
.db-sidebar-header a.router-link-active img {
    width: 100% !important;
    height: auto !important;
    max-height: 48px !important;
    object-fit: contain !important;
}

/* Style Popular Brands with full showcase card images filling the entire box */








/* Rhizb header auth buttons */
.rhizb-header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.rhizb-header-login,
.rhizb-header-signup {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
    white-space: nowrap;
    text-decoration: none !important;
}
.rhizb-header-login {
    color: #1C160C !important;
    background: #ffffff !important;
    border: 1px solid #1C160C !important;
}
.rhizb-header-signup {
    color: #ffffff !important;
    background: #C4A35A !important;
    border: 1px solid #C4A35A !important;
}
.rhizb-header-login:hover,
.rhizb-header-signup:hover {
    opacity: 0.9;
}
header button.lab-line-user {
    color: #1C160C !important;
}
@media (max-width: 767px) {
    .rhizb-header-auth {
        display: none !important;
    }
}

/* Shiprocket admin card fallback */
#rhizb-sr-card { width: 100%; }
#rhizb-sr-card .rhizb-sr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}
#rhizb-sr-card .rhizb-sr-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #4b5563; }
#rhizb-sr-card .rhizb-sr-field input {
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 10px;
    font-weight: 500;
    color: #111827;
}
#rhizb-sr-card .rhizb-sr-btn {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #C4A35A;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
#rhizb-sr-card .rhizb-sr-btn:disabled { opacity: 0.55; cursor: wait; }
#rhizb-sr-card .rhizb-sr-btn-ghost {
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #e5e7eb;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
#rhizb-sr-card .rhizb-sr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#rhizb-sr-card .rhizb-sr-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 820px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#rhizb-sr-card .rhizb-sr-modal-sm { max-width: 460px; }
#rhizb-sr-card .rhizb-sr-modal-h,
#rhizb-sr-card .rhizb-sr-modal-f {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}
#rhizb-sr-card .rhizb-sr-modal-f { border-bottom: 0; border-top: 1px solid #e5e7eb; justify-content: flex-end; }
#rhizb-sr-card .rhizb-sr-modal-b { padding: 16px; overflow: auto; }

/* Restore menu icons (Iconly + Font Awesome) in admin + mobile header */
[class="lab"],
[class^="lab-"],
[class*=" lab-"] {
    font-family: "Iconly" !important;
    font-style: normal !important;
    line-height: 1 !important;
}
.fa-solid,
.fa-regular,
.fa-brands,
.fas,
.far,
.fab {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
    line-height: 1 !important;
}
.fa-solid,
.fas {
    font-weight: 900 !important;
}
header [class*="lab-"]::before,
.db-sidebar [class*="lab-"]::before,
.db-header [class*="lab-"]::before,
.fa-solid::before,
.fas::before {
    display: inline-block !important;
}
.db-header-nav,
header .lab-line-search,
header .lab-line-user,
header .lab-line-heart,
header .lab-line-cart,
header .lab-line-menu,
header .lab-line-category {
    min-width: 22px;
    min-height: 22px;
    visibility: visible !important;
    opacity: 1 !important;
}

header.db-header .db-header-nav,
header .lab-line-humburger,
header .lab-line-bag,
header .lab-line-heart,
header .lab-line-user,
header .lab-line-search {
    font-style: normal !important;
}
.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands" !important;
}
.fa-regular, .far {
    font-weight: 400 !important;
}
/* Keep drawers above the header so admin/mobile menus are readable */
@media (max-width: 1023px) {
    header.db-header {
        z-index: 40 !important;
    }
    aside.db-sidebar,
    aside.db-sidebar.active {
        z-index: 60 !important;
        width: 260px !important;
        max-width: 85vw !important;
    }
    aside.db-sidebar.active {
        --tw-translate-x: 0px !important;
        transform: translateX(0) !important;
    }
    .db-sidebar-nav-menu,
    .db-sidebar-nav-menu span,
    .db-sidebar-nav-title {
        color: #1C160C !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .db-sidebar-nav-menu {
        width: 100% !important;
        min-height: 40px !important;
    }
}

#mobile-sidebar-canvas,
#mobile-category-canvas,
#mobile-profile-canvas,
#cart-canvas {
    z-index: 80 !important;
}
#mobile-sidebar-canvas.canvas-active > div,
#mobile-category-canvas.canvas-active > div,
#mobile-profile-canvas.canvas-active > div,
#cart-canvas.canvas-active > div {
    background-color: #ffffff !important;
    color: #1C160C !important;
}
#mobile-sidebar-canvas a,
#mobile-sidebar-canvas span,
#mobile-sidebar-canvas h4,
#mobile-category-canvas a,
#mobile-profile-canvas a {
    color: #1C160C !important;
    opacity: 1 !important;
}