/* ==========================================================================
   Asmi Shop Exact Theme & Master CSS (https://asmishop.com/)
   Palette: Primary #005862 | Accent #1598a7 | Orange #ff9800 | Red #e60023
   ========================================================================== */

:root {
    --sd-primary: #005862;
    --primary: #005862;
    --primary-dark: #00454d;
    --primary-light: #007182;
    --accent: #1598a7;
    --accent-hover: #12818e;
    --accent-light: #e6f6f8;
    --orange: #ff9800;
    --orange-dark: #e65100;
    --red: #e60023;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --font-main: 'Poppins', 'Jost', sans-serif;
    --font-price: 'Rubik', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* ==========================================
   Ultra-Slim Sleek Scrollbars (Cross-Browser)
   ========================================== */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #005862;
}

/* Specific elements with super sleek slim scrollbars */
#sidebar.sidebar::-webkit-scrollbar,
.sd-cart-scroll::-webkit-scrollbar,
.searchResults::-webkit-scrollbar {
    width: 3.5px;
}

#sidebar.sidebar::-webkit-scrollbar-thumb,
.sd-cart-scroll::-webkit-scrollbar-thumb,
.searchResults::-webkit-scrollbar-thumb {
    background: rgba(0, 88, 98, 0.25);
    border-radius: 10px;
}

#sidebar.sidebar::-webkit-scrollbar-thumb:hover,
.sd-cart-scroll::-webkit-scrollbar-thumb:hover,
.searchResults::-webkit-scrollbar-thumb:hover {
    background: #005862;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ==========================================
   Header (Asmishop Exact Style)
   ========================================== */


.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 4px 0;
}

/* Asmishop 3-Bar Sidebar Toggle */
.menu-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--primary);
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
}

.menu-btn:hover {
    color: var(--accent);
    background: rgba(0, 88, 98, 0.06);
    transform: scale(1.05);
}

.header-logo .logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Search Bar (Asmishop Native Animated Placeholder) */
.headerSearchInput {
    border: 1.5px solid var(--accent);
    border-radius: 25px;
    padding: 9px 20px;
    font-size: 14px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.headerSearchInput:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 152, 167, 0.2);
    outline: none;
}

/* Login Button */
.login-btn {
    background: var(--primary);
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Header Cart Icon Button (Asmishop Style) */
.header-cart-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--primary);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.header-cart-icon-btn:hover {
    background: rgba(0, 88, 98, 0.06);
    color: var(--accent);
}

.header-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   2-Column Layout (Sidebar + Main Content)
   ========================================== */
.main-wrapper {
    width: 100%;
}

.main-content {
    min-width: 0;
    transition: flex-grow 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Styling (Desktop & Mobile) */
#sidebar.sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 15px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    height: fit-content;
    position: sticky;
    top: 75px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    will-change: width, min-width, max-width, opacity, margin, padding;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        min-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
}

.sidebar-inner {
    width: 234px;
    min-width: 234px;
    max-width: 234px;
    box-sizing: border-box;
}

/* Desktop Sidebar Collapsed State */
#sidebar.sidebar.collapsed {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-right: -1rem !important;
    border: none !important;
    overflow: hidden !important;
    pointer-events: none;
}

@media (min-width: 1200px) {
    #sidebar.sidebar.collapsed {
        margin-right: -1.5rem !important;
    }
}

/* Mobile Sidebar Drawer */
@media (max-width: 991.98px) {
    #sidebar.sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 290px;
        min-width: 290px;
        max-width: 290px;
        height: 100vh;
        max-height: 100vh;
        z-index: 100001;
        transform: translateX(-100%);
        border-radius: 0;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.25);
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-right: 0 !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    #sidebar.sidebar.active-mobile {
        transform: translateX(0) !important;
    }

    .sidebar-inner {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
}

.offers-container {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.offers-container a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.offers-container a:hover {
    background: var(--accent-light);
    color: var(--primary);
    transform: translateX(3px);
}

.offers-container a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.offers-container a:hover img {
    transform: scale(1.1);
}

/* Accordion Sidebar Categories */
.cat-toggle-arrow {
    cursor: pointer;
    color: #64748b;
    font-size: 12px;
    padding: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cat-toggle-arrow:hover {
    color: var(--primary);
}

.cat-toggle-arrow .fa-minus {
    display: none;
}

.cat-toggle-arrow:not(.collapsed) .fa-plus {
    display: none;
}

.cat-toggle-arrow:not(.collapsed) .fa-minus {
    display: inline-block;
}

.cat-nav-link {
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-nav-link:hover {
    background: var(--accent-light);
    color: var(--primary) !important;
    transform: translateX(3px);
}

.cat-nav-link img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-nav-link:hover img {
    transform: scale(1.08);
}

.category-accordion .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 4px;
}

.category-accordion .accordion-button {
    padding: 7px 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    background: transparent;
    border-radius: 8px !important;
    box-shadow: none !important;
    gap: 8px;
    transition: all 0.2s ease;
}

.category-accordion .accordion-button:not(.collapsed) {
    background: var(--accent-light);
    color: var(--primary);
    font-weight: 600;
}

.category-accordion .accordion-button:hover {
    background: var(--accent-light);
    color: var(--primary);
}

.category-accordion .accordion-button::after {
    font-size: 11px;
    background-size: 11px;
}

.category-accordion .accordion-body {
    padding: 4px 0 4px 34px;
}

.category-accordion .sub-cat-link {
    display: block;
    font-size: 13px;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-accordion .sub-cat-link:hover {
    color: var(--accent);
    background: #f1f5f9;
    padding-left: 12px;
}

/* ==========================================
   Hero Slider Section & Bulletproof Aspect Ratio
   ========================================== */
.slider-section {
    width: 100%;
    margin-bottom: 1.5rem;
}

.heroSlider {
    width: 100%;
    aspect-ratio: 2.7 / 1;
    height: auto !important;
    min-height: unset !important;
    border-radius: 12px;
    background: #eef2f5;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991.98px) {
    .heroSlider {
        aspect-ratio: 2.4 / 1;
    }
}

@media (max-width: 575.98px) {
    .heroSlider {
        aspect-ratio: 2.15 / 1;
    }
}

.heroSlider .swiper-wrapper {
    height: 100%;
    align-items: stretch;
}

.heroSlider .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.heroSlider .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: inherit;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.heroSlider:hover .hero-slide-img {
    transform: scale(1.015);
}

.heroSlider .swiper-button-next,
.heroSlider .swiper-button-prev {
    width: 38px;
    height: 38px;
    background: rgba(0, 88, 98, 0.7);
    color: #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.heroSlider .swiper-button-next::after,
.heroSlider .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 900;
}

.heroSlider .swiper-button-next:hover,
.heroSlider .swiper-button-prev:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.heroSlider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.7;
    width: 8px;
    height: 8px;
    transition: all 0.25s ease;
}

.heroSlider .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
    width: 22px;
    border-radius: 4px;
}

/* ==========================================
   Category Circular Cards Swiper (Uniform Size & Continuous Scroll)
   ========================================== */
.category-slider-wrapper {
    position: relative;
    padding: 0 4px;
}

.home-category-slider {
    padding: 6px 2px 10px 2px !important;
}

.home-category-slider .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: stretch;
}

.home-category-slider .swiper-slide {
    height: auto !important;
    display: flex;
}

.home-category-slider .slide-link {
    width: 100%;
    display: block;
}

.cat-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 10px 6px 8px 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 138px;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 88, 98, 0.12);
    border-color: var(--accent);
}

.cat-card__img-wrap {
    width: 74px;
    height: 74px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.cat-card:hover .cat-card__img-wrap {
    background: transparent !important;
}

.cat-card__img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: transform 0.25s ease;
}

.cat-card:hover .cat-card__img-wrap img {
    transform: scale(1.08);
}

.cat-card__name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    height: 30px;
}

/* ==========================================
   Continuous Brand Slider (Same as Categories)
   ========================================== */
.brand-slider-wrapper {
    position: relative;
    padding: 0 4px;
}

.home-brand-slider {
    padding: 6px 2px 10px 2px !important;
}

.home-brand-slider .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: stretch;
}

.home-brand-slider .swiper-slide {
    height: auto !important;
    display: flex;
}

.brand-slide-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    user-select: none;
    text-decoration: none;
}

.brand-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 88, 98, 0.12);
    border-color: var(--accent);
}

.brand-slide-card img {
    max-height: 72%;
    max-width: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.brand-slide-card:hover img {
    transform: scale(1.08);
}

.brand-slide-card .brand-name-text {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-align: center;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.brand-slide-card:hover .brand-name-text {
    color: var(--accent);
}

/* ==========================================
   Flash Deals Section & Countdown
   ========================================== */
.countdown-box .time-box {
    background: #ffffff;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 4px 8px;
    min-width: 52px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.countdown-box span {
    font-size: 16px;
    font-weight: bold;
    color: #e65100;
    display: block;
    line-height: 1.1;
    font-family: var(--font-price);
}

.countdown-box small {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
}

/* ==========================================
   Product Card (.single-product)
   ========================================== */
.single-product {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.single-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 88, 98, 0.12);
    border-color: var(--accent);
}

/* Red Discount Badge */
.single-product .discount-box {
    position: absolute;
    top: 0;
    left: 8px;
    z-index: 5;
}

.single-product .discount-box span {
    display: inline-block;
    background: #e60023;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 6px;
    text-align: center;
    font-family: var(--font-price);
    border-radius: 0 0 4px 4px;
}

/* Card Timer Badge (Asmishop Style) */
.card-countdown {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 5;
}

.card-timer-badge {
    background: #005862;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    font-family: var(--font-price);
}

/* Image Wrapper */
.single-product .img-wrapper {
    position: relative;
    background: #ffffff;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
    border-bottom: 1px solid #f8fafc;
}

@media (max-width: 768px) {
    .single-product .img-wrapper {
        height: 150px;
        padding: 8px;
    }
}

.single-product .img-wrapper img.product-img {
    max-height: 145px;
    max-width: 90%;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.25s ease;
}

.single-product:hover .img-wrapper img.product-img {
    transform: scale(1.05);
}

.outofstock-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.outofstock-box h5 {
    color: #ffffff;
    font-size: 13px;
    background: #eb4d4b;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0;
}

/* Content Wrapper */
.single-product .content-wrapper {
    background: #ffffff;
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.single-product .product-title {
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
    margin-bottom: 3px;
}

.single-product .product-title:hover {
    color: var(--accent);
}

.measure-product {
    color: #64748b;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 4px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
    font-family: var(--font-price);
}

.price-wrapper .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.price-wrapper del {
    color: #94a3b8;
    font-size: 12.5px;
}

/* Add To Cart & Stepper */
.add-cart-btn {
    background: var(--accent) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    height: 34px;
    transition: all 0.2s ease;
}

.add-cart-btn:hover {
    background: var(--primary) !important;
    transform: translateY(-1px);
}

.item-qty.qty-plus-wrap {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 2px 6px;
    background: #f8fafc;
}

.item-qty.qty-plus-wrap .qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.item-qty.qty-plus-wrap .qty-btn:hover {
    background: var(--accent);
}

.item-qty.qty-plus-wrap .cart-qty-text {
    font-size: 13px;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}

/* ==========================================
   Floating 2-Tier Cart Widget (Asmishop Exact Style)
   ========================================== */
.floating-cart-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
    width: 72px;
}

.floating-cart-widget:hover {
    transform: translateY(-50%) scale(1.04);
}

.floating-cart-widget.hide-widget {
    transform: translateY(-50%) translateX(120%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.floating-cart-widget .fc-top {
    background: #ffffff;
    border: 2px solid #e60023;
    border-right: none;
    border-radius: 8px 0 0 0;
    padding: 6px 4px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.floating-cart-widget .fc-top i {
    font-size: 18px;
}

.floating-cart-widget .fc-top .fc-count {
    color: #1e293b;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.floating-cart-widget .fc-bottom {
    background: var(--primary);
    color: #ffffff;
    width: 100%;
    text-align: center;
    padding: 5px 4px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-price);
    border-radius: 0 0 0 8px;
}

/* ==========================================
   Cart Drawer Overlay & Offcanvas (#offcanvasRight)
   ========================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

#offcanvasRight.offcanvas {
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0;
    width: 380px !important;
    max-width: 92vw;
    z-index: 1050;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    border-left: none;
}

#offcanvasRight.offcanvas.show {
    transform: translateX(0);
    visibility: visible;
}

.offCanva-right-cartItems {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

/* Cart Header */
.sd-cart-header {
    background: #005862;
    padding: 16px 20px;
    flex-shrink: 0;
}

.sd-cart-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    color: #ffffff;
}

.sd-cart-close {
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.sd-cart-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Cart Items Scrollable List */
.sd-cart-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 16px;
    background: #f8fafc;
    min-height: 150px;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: box-shadow 0.2s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-item .item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item .item-info {
    flex: 1;
    min-width: 0;
}

.cart-item .item-info h6 {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

.cart-item .item-unit-price {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Quantity Control Buttons in Cart */
.cart-item .item-qty {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2px 6px;
    gap: 6px;
}

.cart-item .qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #005862;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
    padding: 0;
}

.cart-item .qty-btn:hover {
    background: #005862;
    color: #ffffff;
}

.cart-item .qty-val {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    min-width: 16px;
    text-align: center;
    margin: 0;
    user-select: none;
}

.cart-item .qty-val-input {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    width: 44px;
    text-align: center;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    -moz-appearance: textfield;
}

.cart-item .qty-val-input::-webkit-outer-spin-button,
.cart-item .qty-val-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item .item-total-price .new {
    font-size: 14.5px;
    font-weight: 700;
    color: #005862;
    font-family: var(--font-price);
}

/* Item Remove Trash Button */
.cart-item .item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cart-item .item-remove:hover {
    color: #ef4444;
    transform: scale(1.15);
}

/* Cart Footer */
.sd-cart-footer {
    background: #ffffff;
    padding: 16px 20px 20px 20px;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.sd-cart-total-row {
    font-size: 16px;
}

.sd-cart-total-row span:first-child {
    font-weight: 600;
    color: #334155;
}

.sd-cart-total-amount {
    font-size: 19px;
    font-weight: 800;
    color: #005862;
    font-family: var(--font-price);
}

.sd-cart-footer-actions {
    display: flex;
    gap: 10px;
}

.sd-view-cart-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: #ffffff;
    color: #005862 !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    border-radius: 10px;
    border: 1.5px solid #005862;
    box-shadow: 0 2px 8px rgba(0, 88, 98, 0.08);
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.sd-view-cart-btn:hover {
    background: #e6f4f5;
    color: #00454d !important;
    border-color: #00454d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 98, 0.16);
}

.sd-checkout-btn {
    flex: 1.3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: #005862;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 88, 98, 0.35);
    transition: all 0.25s ease;
    border: none;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.sd-checkout-btn:hover {
    background: #00454d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 88, 98, 0.45);
    color: #ffffff !important;
}

/* ==========================================
   Footer (.gs-footer-section)
   ========================================== */
.gs-footer-section {
    background-color: #005862 !important;
    color: #ffffff !important;
    position: relative;
    z-index: 10;
    margin-top: 40px;
}

.gs-footer-section .footer-widget h5 {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.gs-footer-section p {
    color: #cbd5e1 !important;
}

.gs-footer-section a {
    color: #cbd5e1 !important;
    transition: all 0.2s ease;
}

.gs-footer-section a:hover {
    color: #ffffff !important;
}

.gs-footer-section .footer-contact-info span {
    color: #ffffff !important;
}

.gs-footer-bottom {
    background-color: #00454d !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.gs-footer-bottom strong {
    color: #ffffff !important;
}

/* ==========================================
   Mobile Bottom Navigation
   ========================================== */
.bottom_social_section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 6px 0;
}

.bottom_social_section .social_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    gap: 2px;
}

.bottom_social_section .social_item.active,
.bottom_social_section .social_item:hover {
    color: var(--primary);
}

.bottom_social_section .social_item i {
    font-size: 18px;
}

/* ==========================================
   Subcategory Chips (Landing Showcase & Category Header)
   ========================================== */
.subcat-chips-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    padding: 3px 0;
    white-space: nowrap;
}

.subcat-chips-scroll-wrap::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1.2;
}

.subcat-chip:hover {
    background: #e6f6f8;
    color: #005862;
    border-color: #1598a7;
    transform: translateY(-1px);
}

.subcat-chip.all-chip {
    font-weight: 600;
    color: #005862;
    background: #f0fdfa;
    border-color: #ccfbf1;
}

.subcat-chip.all-chip:hover {
    background: #1598a7;
    color: #ffffff;
    border-color: #1598a7;
}

.subcat-chip.active {
    background: #005862 !important;
    color: #ffffff !important;
    border-color: #005862 !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 88, 98, 0.25);
}

.subcat-chip.active .subcat-badge-num {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.subcat-badge-num {
    font-size: 10px;
    background: #e2e8f0;
    color: #475569;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: 600;
}

.cat-products-grid {
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.cat-products-grid.loading {
    opacity: 0.45;
    pointer-events: none;
    filter: blur(0.5px);
}

.hover-teal:hover {
    color: var(--accent) !important;
}

/* Category Page Filter Pills */
.subcat-pills-bar {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.subcat-pills-bar::-webkit-scrollbar {
    display: none;
}

.subcat-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.subcat-pill-btn:hover {
    background: #e6f6f8;
    color: #005862;
    border-color: #1598a7;
}

.subcat-pill-btn.active {
    background: #005862 !important;
    color: #ffffff !important;
    border-color: #005862 !important;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 88, 98, 0.25);
}

.subcat-pill-btn .pill-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #475569;
}

.subcat-pill-btn.active .pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Sidebar Active Highlighting */
.cat-nav-link.active {
    background: #e6f6f8 !important;
    color: #005862 !important;
    font-weight: 600;
    border-left: 3px solid #005862;
}

.subcat-nav-link.active {
    color: #005862 !important;
    font-weight: 700 !important;
}

/* Pagination Styling */
.pagination {
    gap: 4px;
}

.pagination .page-item .page-link {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 14px;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background-color: #005862;
    border-color: #005862;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 88, 98, 0.25);
}

.pagination .page-item .page-link:hover {
    background-color: #e6f6f8;
    border-color: #1598a7;
    color: #005862;
}

.pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f8fafc;
    border-color: #f1f5f9;
}

/* Product Detail Custom Styling */
.product-main-img {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-img-box:hover .product-main-img {
    transform: scale(1.08);
}

#productDetailTabs .nav-link {
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

#productDetailTabs .nav-link:hover {
    background: #e6f6f8;
    color: #005862;
    border-color: #1598a7;
}

#productDetailTabs .nav-link.active {
    background: #005862 !important;
    color: #ffffff !important;
    border-color: #005862 !important;
    box-shadow: 0 2px 8px rgba(0, 88, 98, 0.25);
}

.detail-qty-box button:hover {
    background: #e2e8f0 !important;
    border-radius: 50%;
}

.trust-icon-box {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.trust-features-grid:hover .trust-icon-box {
    transform: translateY(-2px);
    background-color: #e6f6f8 !important;
    border-color: #1598a7 !important;
}

/* ==========================================
   Product Detail Modern Elements
   ========================================== */
.pd-price-box {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 88, 98, 0.04);
}

.pd-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-main-price {
    font-size: clamp(1.55rem, 4vw, 2.1rem);
    font-weight: 800;
    font-family: var(--font-price);
    color: #005862;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.pd-unit-label {
    font-size: clamp(13px, 2vw, 15px);
    color: #64748b;
    font-weight: 600;
    font-family: var(--font-main);
    margin-left: 6px;
}

.pd-old-price {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #94a3b8;
    text-decoration: line-through;
    font-family: var(--font-price);
    font-weight: 500;
}

.pd-discount-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: clamp(10.5px, 2vw, 12px);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.22);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.3;
}

.pd-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #99f6e4;
    border-radius: 50px;
    padding: 5px 14px;
    box-shadow: 0 2px 6px rgba(0, 88, 98, 0.06);
    font-size: 13px;
    white-space: nowrap;
}

.pd-total-badge .pd-total-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.pd-total-badge .pd-total-amount {
    color: #005862;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-price);
}

.pd-total-badge .pd-total-breakdown {
    color: #64748b;
    font-size: 11px;
}

@media (max-width: 575.98px) {
    .pd-price-box {
        padding: 12px 14px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
    .pd-price-wrap {
        gap: 6px;
    }
    .pd-total-badge {
        padding: 4px 10px;
        font-size: 12px;
    }
    .pd-total-badge .pd-total-amount {
        font-size: 14px;
    }
}

/* ==========================================
   Product Detail: Actions Bar & Unit Steppers (Compact & Responsive)
   ========================================== */
.pd-buy-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .pd-buy-action-bar {
        flex-wrap: nowrap;
    }
}

.pd-single-unit-box {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px 6px;
    height: 38px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.pd-dual-unit-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px 6px;
    height: 38px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.pd-unit-control-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pd-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 2px 3px;
    height: 30px;
    gap: 2px;
    box-sizing: border-box;
}

.pd-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.pd-qty-btn:hover {
    background: #005862;
    color: #ffffff;
    transform: scale(1.08);
}

.pd-qty-input {
    width: 24px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
}

.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pd-qty-input.pd-qty-input-sub {
    width: 34px;
}

.pd-unit-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #005862;
    background: #e6f6f8;
    border: 1px solid rgba(0, 88, 98, 0.15);
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.pd-actions-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pd-btn-cart {
    height: 38px;
    padding: 0 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    background: #005862;
    border: 1px solid #005862;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 88, 98, 0.22);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.pd-btn-cart:hover {
    background: #00454d;
    border-color: #00454d;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 88, 98, 0.3);
}

.pd-btn-wa {
    height: 38px;
    padding: 0 13px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    background: #25D366;
    border: 1px solid #25D366;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.pd-btn-wa:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.pd-btn-wa i {
    font-size: 16px;
}

@media (max-width: 576px) {
    .pd-buy-action-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .pd-dual-unit-box,
    .pd-single-unit-box {
        width: 100%;
        justify-content: center;
        height: 40px;
        padding: 4px 8px;
    }
    .pd-actions-btn-group {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .pd-btn-cart,
    .pd-btn-wa {
        flex: 1;
        height: 40px;
        padding: 0 10px;
        font-size: 13px;
        justify-content: center;
    }
}

.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6f6f8;
    color: #005862;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.product-thumb-btn {
    transition: all 0.2s ease;
}

.product-thumb-btn:hover {
    border-color: #005862 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

.product-thumb-btn.active {
    border-color: #005862 !important;
    box-shadow: 0 0 0 2px rgba(0, 88, 98, 0.2) !important;
    transform: scale(1.04);
}

/* ==========================================
   Custom Floating Toast Notification
   ========================================== */
.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #00454d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90vw;
    text-align: center;
}

.custom-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.custom-toast i {
    color: #22c55e;
    font-size: 16px;
}

@media (max-width: 767px) {
    .custom-toast {
        bottom: 75px; /* Above mobile bottom navigation bar */
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* ==========================================
   Dual Unit Steppers & Cart Controls
   ========================================== */
.item-qty-sm {
    height: 30px !important;
    padding: 2px 4px !important;
    gap: 2px !important;
}
.item-qty-sm .qty-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 13px !important;
}
.item-qty-sm .qty-val-input {
    width: 28px !important;
    font-size: 12px !important;
    padding: 0 !important;
}
.item-qty-sm .qty-val-input-sub {
    width: 38px !important;
}
.unit-badge-sm {
    font-size: 10.5px;
    font-weight: 700;
    color: #005862;
    background: rgba(0, 88, 98, 0.08);
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}


/* ==========================================
   Cart Drawer: Compact Unit Steppers & Layout
   ========================================== */
.cart-item .item-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.cart-item .item-header-row h6 {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    padding-right: 0 !important;
}

.cart-item .item-header-row .item-remove-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    padding: 2px 4px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.cart-item .item-header-row .item-remove-btn:hover {
    color: #ef4444;
    transform: scale(1.15);
}

.drawer-stepper-pill {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2px 3px;
    height: 28px;
    gap: 1px;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.drawer-stepper-pill:focus-within {
    border-color: #005862;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 88, 98, 0.12);
}

.drawer-step-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #005862;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.drawer-step-btn:hover {
    background: #005862;
    color: #ffffff;
}

.drawer-step-input {
    width: 24px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #0f172a;
    outline: none !important;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
}

.drawer-step-input-sub {
    width: 34px !important;
}

.drawer-step-input::-webkit-outer-spin-button,
.drawer-step-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.drawer-step-unit {
    font-size: 10px;
    font-weight: 700;
    color: #005862;
    text-transform: uppercase;
    margin-right: 3px;
    letter-spacing: 0.3px;
    user-select: none;
    flex-shrink: 0;
}

.drawer-dual-stepper-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.drawer-dual-stepper-wrap .drawer-stepper-pill {
    flex: 1;
    justify-content: space-between;
    min-width: 0;
}

.drawer-stepper-plus {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
    user-select: none;
}