@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Bengali:wght@300;400;500;600;700;800&display=swap');

:root {
    --card-radius: 14px;
    --color-primary: #009cda;       /* Sky Blue from Logo */
    --color-primary-hover: #0082b6;
    --color-accent: #cb6be6;        /* Purple/Magenta from Logo */
    --color-accent-hover: #b54ecd;
    --color-green: #10b981;         /* Premium Emerald Green */
    --color-green-hover: #059669;
    --color-bg: #f8fafc;            /* Premium light slate bg */
    --color-dark: #0f172a;          /* Slate 900 */
    --color-muted: #64748b;         /* Slate 500 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    html, body {
        scroll-behavior: auto !important; /* Disable smooth scroll on mobile touch to allow native 60fps momentum swiping */
    }
}

body {
    background-color: var(--color-bg);
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    color: var(--color-dark);
    margin: 0;
    padding: 0;
    top: 0px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}
.form-select {
    background-position: right 1px center;
}
.main-wrap {
    min-height: 75vh;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-dark);
}

/* Button & UI Overrides */
.btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.btn-success {
    background-color: var(--color-green);
    border-color: var(--color-green);
}
.btn-success:hover, .btn-success:focus {
    background-color: var(--color-green-hover);
    border-color: var(--color-green-hover);
}

/* Header Redesign (Desktop & Mobile) */
.header-desktop {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-top-bar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    background: transparent;
}

.header-search-wrap .form-control {
    border-radius: 30px 0 0 30px;
    border: 2px solid #e5e7eb;
    border-right: none;
    font-size: 0.9rem;
    height: 46px;
    padding-left: 20px;
    transition: all 0.3s ease;
}
.header-search-wrap .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 94, 21, 0.12);
}
.header-search-wrap .search-btn {
    border-radius: 0 30px 30px 0;
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: #ffffff;
    padding: 0 24px;
    font-weight: 600;
    height: 46px;
    transition: all 0.3s ease;
}
.header-search-wrap .search-btn:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.header-utility-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.2s ease;
    opacity: 0.85;
}
.header-utility-link:hover {
    color: var(--color-primary);
    opacity: 1;
    transform: translateY(-1px);
}
.header-utility-link i {
    font-size: 1.25rem;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}
.header-utility-link:hover i {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 50%;
    font-weight: 700;
}

.header-navbar {
    background-color: transparent;
    box-shadow: none;
    padding: 6px 0;
}

.mega-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}
.mega-menu a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}
.mega-menu a:hover {
    color: var(--color-primary);
}
.mega-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.2s ease;
}
.mega-menu a:hover::after {
    width: 100%;
}

/* Show dropdown on hover */
@media (min-width: 992px) {
    .mega-menu .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .mega-menu .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        margin-top: 0; /* Align perfectly for hover continuity */
    }
    .mega-menu .dropdown:hover .dropdown-menu {
        pointer-events: auto;
    }
}

.mega-menu .dropdown-menu {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px;
}
.mega-menu .sub a {
    font-size: 0.88rem;
    color: var(--color-muted);
}
.mega-menu .sub a:hover {
    color: var(--color-primary);
}

/* Mobile Sticky Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 480px;
    height: 66px;
    background: rgba(15, 23, 42, 0.96); /* Deep Slate 900 */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #fff; /* Soft white border */
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom);
    transition: all 0.3s ease;
}
.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8; /* Slate 400 (highly visible against dark bg) */
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    flex: 1;
    height: 100%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-bottom-item.active {
    color: #38bdf8; /* Vibrant Sky Blue */
}
.mobile-bottom-item i {
    font-size: 1.25rem;
    margin-bottom: 1px;
    color: #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-bottom-item span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-bottom-item.active i {
    color: #38bdf8;
    transform: translateY(-4px) scale(1.1);
    text-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}
.mobile-bottom-item.active span {
    color: #38bdf8;
    transform: translateY(-2px);
    font-weight: 700;
}
.mobile-bottom-item.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: mobileNavBounceIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#mobileBottomCartBadge {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%) !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 3px 8px rgba(255, 75, 43, 0.4) !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    padding: 3px 6px !important;
    top: -1px !important;
    right: 24% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes mobileNavBounceIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Menu Slide-in Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45); /* Slate 900 translucent dark */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1060;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.site_logo {
    height: 55px;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1070;
    box-shadow: 15px 0 45px rgba(15, 23, 42, 0.12);
    border-radius: 0 32px 32px 0; /* extra premium rounded drawer */
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open {
    transform: translateX(320px);
}
.mobile-drawer-header {
    padding: 24px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}
.mobile-drawer-header span {
    color: #0f172a; /* Slate 900 */
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.02em;
}
.mobile-drawer-header .btn-close {
    background-color: #f1f5f9;
    border-radius: 50%;
    padding: 8px;
    font-size: 0.8rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
}
.mobile-drawer-header .btn-close:hover {
    background-color: #e2e8f0;
    transform: rotate(90deg);
}
.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

/* Premium Accordion inside Mobile Drawer */
.mobile-drawer #mobileMenu {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
}
.mobile-drawer .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    background: transparent;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}
.mobile-drawer .accordion-item:last-child {
    border-bottom: none;
}
.mobile-drawer .accordion-button {
    background: transparent !important;
    box-shadow: none !important;
    color: #334155; /* Slate 700 */
    font-weight: 600;
    font-size: 0.98rem;
    padding: 16px 8px;
    border-radius: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}
.mobile-drawer .accordion-button:not(.collapsed) {
    color: var(--color-primary);
    font-weight: 700;
}
.mobile-drawer .accordion-button .category-header-icon {
    color: #94a3b8; /* Slate 400 default */
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mobile-drawer .accordion-button:not(.collapsed) .category-header-icon {
    color: var(--color-accent); /* Dynamic accent color when active */
    transform: scale(1.2) rotate(5deg);
}
.mobile-drawer .accordion-button::after {
    font-family: 'bootstrap-icons';
    content: "\f282"; /* chevron down */
    background: none !important;
    transform: none !important;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-left: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.mobile-drawer .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    color: var(--color-primary);
}
.mobile-drawer .accordion-body {
    padding: 8px 12px 18px 12px;
    background: rgba(248, 250, 252, 0.95); /* slate-50 background for subcategories */
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.03);
    margin: 8px 0 16px 0;
}
.mobile-drawer .accordion-body a.fw-semibold {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%) !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 14px !important;
    border-radius: 10px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 156, 218, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
}
.mobile-drawer .accordion-body a.fw-semibold::after {
    content: '\F138'; /* arrow-right-circle */
    font-family: 'bootstrap-icons';
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer .accordion-body a.fw-semibold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 156, 218, 0.35);
}
.mobile-drawer .accordion-body a.fw-semibold:hover::after {
    transform: translateX(4px);
}
.mobile-drawer .accordion-body a:not(.fw-semibold) {
    color: #475569; /* Slate 600 */
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer .accordion-body a:not(.fw-semibold):last-child {
    margin-bottom: 0;
}
.mobile-drawer .accordion-body a:not(.fw-semibold)::after {
    content: '\F285'; /* chevron-right */
    font-family: 'bootstrap-icons';
    font-size: 0.75rem;
    color: #cbd5e1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer .accordion-body a:not(.fw-semibold):hover {
    color: var(--color-primary);
    background: #f0f9ff;
    border-color: rgba(0, 156, 218, 0.2);
    transform: translateX(4px);
}
.mobile-drawer .accordion-body a:not(.fw-semibold):hover::after {
    color: var(--color-primary);
    transform: translateX(2px);
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55); /* Reduced opacity for less background darkening */
    backdrop-filter: blur(6px); /* Reduced blur as requested */
    -webkit-backdrop-filter: blur(6px);
    z-index: 1080;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 16px;
}
.mobile-search-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
    transform: translateY(-60px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-search-overlay.open .mobile-search-container {
    transform: translateY(0) scale(1);
}
.search-input-wrapper .search-icon-left {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary); /* Slate 400 -> primary icon */
    font-size: 1.15rem;
}
.mobile-search-field {
    padding-left: 42px !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
    background: rgba(248, 250, 252, 0.8) !important;
    font-size: 0.98rem !important;
    height: 48px !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mobile-search-field:focus {
    border-color: var(--color-primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 156, 218, 0.15) !important;
}
.mobile-search-cancel {
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
    background: rgba(241, 245, 249, 0.6) !important;
    color: #475569 !important; /* Slate 600 */
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    padding: 0 16px !important;
    border-radius: 24px !important; /* Capsule style */
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mobile-search-cancel:hover, .mobile-search-cancel:focus {
    background: rgba(226, 232, 240, 0.8) !important;
    color: #ef4444 !important; /* Premium soft red on hover to indicate cancel/close */
    border-color: rgba(239, 68, 68, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.08) !important;
}

/* Premium Search Result Items */
#mobileSearchResults {
    position: relative !important;
    margin-top: 16px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    display: none;
    box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.02), 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    background: rgba(248, 250, 252, 0.95) !important;
    padding: 10px !important;
}
#mobileSearchResults .list-group-item {
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
    margin-bottom: 6px !important;
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
#mobileSearchResults .list-group-item:last-child {
    margin-bottom: 0 !important;
}
#mobileSearchResults .list-group-item img {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03) !important;
}
#mobileSearchResults .list-group-item:hover,
#mobileSearchResults .list-group-item:focus {
    background-color: #f0f9ff !important;
    border-color: rgba(0, 156, 218, 0.2) !important;
    color: var(--color-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}
#mobileSearchResults .list-group-item::after {
    content: '\F285'; /* chevron-right */
    font-family: 'bootstrap-icons';
    margin-left: auto;
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobileSearchResults .list-group-item:hover::after {
    color: var(--color-primary);
    transform: translateX(3px);
}
#mobileSearchResults .list-group-item small.text-primary {
    color: var(--color-accent) !important; /* purple highlight for price */
}

/* Home Slider customization */
.hero-slider {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateZ(0); /* Force GPU acceleration */
}
.hero-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}
.hero-text {
    position: absolute;
    left: 48px;
    bottom: 48px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Featured Categories Circle Items */
/* Featured Categories Section */
.category-section {
    padding: 10px 0;
}
.category-wrapper {
    position: relative;
}
.category-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    color: #1e293b;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.9;
}
.category-scroll-btn:hover {
    background: var(--color-primary, #009cda);
    color: #ffffff;
    border-color: transparent;
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 20px rgba(0, 156, 218, 0.3);
}
.category-scroll-btn.scroll-left {
    left: -18px;
}
.category-scroll-btn.scroll-right {
    right: -18px;
}
.category-list-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 6px 18px 6px;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch; /* Native 60fps momentum scroll for iOS Safari */
    touch-action: pan-x pan-y; /* Ultra-smooth native touch panning */
    user-select: none;
    will-change: scroll-position;
    transform: translateZ(0);
}
.category-list-container.active-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}
.category-list-container.is-actually-dragging .category-card {
    pointer-events: none;
}
.category-list-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 125px;
    height: 125px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.015);
    position: relative;
    overflow: hidden;
}

.category-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 12px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    padding: 0 8px;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

/* Category card hover states */
.category-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
}
.category-card:hover .category-icon-wrapper {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Gradient Category Accent Cards */
.category-card.accent-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: rgba(186, 230, 253, 0.5);
}
.category-card.accent-blue .category-icon-wrapper {
    color: #009cda;
}
.category-card.accent-blue .category-card-name {
    color: #0369a1;
}
.category-card.accent-blue:hover {
    box-shadow: 0 12px 20px rgba(0, 156, 218, 0.15);
}

.category-card.accent-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: rgba(233, 213, 255, 0.5);
}
.category-card.accent-purple .category-icon-wrapper {
    color: #cb6be6;
}
.category-card.accent-purple .category-card-name {
    color: #7e22ce;
}
.category-card.accent-purple:hover {
    box-shadow: 0 12px 20px rgba(203, 107, 230, 0.15);
}

.category-card.accent-yellow {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: rgba(253, 230, 138, 0.5);
}
.category-card.accent-yellow .category-icon-wrapper {
    color: #d97706;
}
.category-card.accent-yellow .category-card-name {
    color: #b45309;
}
.category-card.accent-yellow:hover {
    box-shadow: 0 12px 20px rgba(217, 119, 6, 0.15);
}

.category-card.accent-orange {
    background: linear-gradient(135deg, #fff5f2 0%, #ffeae5 100%);
    border-color: rgba(255, 212, 204, 0.5);
}
.category-card.accent-orange .category-icon-wrapper {
    color: #ff5e15;
}
.category-card.accent-orange .category-card-name {
    color: #c2410c;
}
.category-card.accent-orange:hover {
    box-shadow: 0 12px 20px rgba(255, 94, 21, 0.15);
}

.category-card.accent-pink {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-color: rgba(251, 207, 232, 0.5);
}
.category-card.accent-pink .category-icon-wrapper {
    color: #ec4899;
}
.category-card.accent-pink .category-card-name {
    color: #be185d;
}
.category-card.accent-pink:hover {
    box-shadow: 0 12px 20px rgba(236, 72, 153, 0.15);
}

.category-card.accent-emerald {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: rgba(187, 247, 208, 0.5);
}
.category-card.accent-emerald .category-icon-wrapper {
    color: #059669;
}
.category-card.accent-emerald .category-card-name {
    color: #047857;
}
.category-card.accent-emerald:hover {
    box-shadow: 0 12px 20px rgba(5, 150, 105, 0.15);
}

/* Mobile Category Grid Redesign */
/* mobile category redesign removed */

/* Product Grid and Card Revamp */
.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 14px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 6px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    border-radius: 4px;
}
.section-view-all {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 156, 218, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}
.section-view-all i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-view-all:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 156, 218, 0.25);
    transform: translateY(-1px);
}
.section-view-all:hover i {
    transform: translateX(4px);
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.02);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 156, 218, 0.12), 0 5px 15px rgba(203, 107, 230, 0.08);
    border-color: rgba(0, 156, 218, 0.25);
}
.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f8fafc;
}
.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card-body {
    padding: 16px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ajax-cart-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}
.product-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.product-title a:hover {
    color: var(--color-primary);
}

.product-short-desc {
    font-size: 0.76rem;
    color: var(--color-muted);
    line-height: 1.4;
    margin-top: 4px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-price-wrap {
    margin-top: auto;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}
.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}
.product-price-old {
    font-size: 0.82rem;
    color: var(--color-muted);
    text-decoration: line-through;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .product-price-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        min-height: 32px;
    }
    .product-price {
        font-size: 0.9rem;
    }
    .product-price-old {
        font-size: 0.72rem;
    }
}

.product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.product-card-actions .btn-cart {
    flex: 1;
    background-color: rgba(16, 185, 129, 0.06);
    color: var(--color-green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 0;
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.product-card-actions .btn-cart:hover {
    background-color: var(--color-green);
    color: #ffffff;
    border-color: var(--color-green);
}
.product-card-actions .btn-buy {
    flex: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 156, 218, 0.15);
}
.product-card-actions .btn-buy:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(203, 107, 230, 0.3);
}



/* Google Translate Widget & Switches */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}
.goog-te-gadget {
    font-size: 0;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
.skiptranslate {
    display: none;
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 22px;
}
.slider:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--color-primary);
}
input:checked + .slider:before {
    transform: translateX(20px);
}
.notranslate {
    translate: no;
}
.accordion-button:focus {
    box-shadow: none !important;
}

/* Toast alert customization */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.custom-toast {
    background: #ffffff;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    min-width: 250px;
    padding: 12px 18px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease forwards;
}
.custom-toast.toast-success {
    border-left-color: var(--color-green);
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 991.98px) {
    .header-desktop {
        display: none;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .hero-slide img {
        height: 220px;
    }
    .hero-text {
        left: 20px;
        bottom: 20px;
        right: 20px;
    }
    .hero-text h2 {
        font-size: 1.5rem;
    }
    .main-wrap {
        padding-bottom: 90px; /* offset for bottom sticky nav */
    }
}

/* Premium Quantity Selector details page */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9;
    padding: 4px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}
.quantity-selector .btn-qty {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--color-dark);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.quantity-selector .btn-qty:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}
.quantity-selector input[type="number"] {
    width: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
}
/* Hide numeric input arrows */
.quantity-selector input[type="number"]::-webkit-outer-spin-button,
.quantity-selector input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-selector input[type="number"] {
    -moz-appearance: textfield;
}

/* Sticky Header Styles */
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.header-desktop {
    position: static !important;
    box-shadow: none !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
}

.header-mobile {
    position: static !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Category Navbar (Logo matched color) & Hover Dropdown styling */
.header-navbar.custombg {
    background-color: var(--color-primary) !important; /* Sky Blue from Logo (#009cda) */
    border: none !important;
    padding: 0 !important;
}

.custombg .mega-menu {
    display: flex !important;
    gap: 0 !important;
    align-items: center !important;
    padding: 0 !important;
}

.custombg .mega-menu a.cat {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    padding: 12px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    position: relative !important;
}

.custombg .mega-menu a.cat::after {
    display: none !important; /* Hide standard underline transition from default menu */
}

.custombg .mega-menu a.cat:hover {
    color: #e0f2fe !important; /* Soft light blue on hover */
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.custombg .dropdown-menu {
    display: block !important;
    position: absolute !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    min-width: 200px !important;
    width: max-content !important;
    padding: 8px 0 !important;
    margin-top: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none;
    z-index: 1000 !important;
}

.custombg .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.custombg .dropdown-menu a.dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 8px 20px !important;
    color: #1e293b !important; /* slate-800 */
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.custombg .dropdown-menu a.dropdown-item:hover {
    background-color: #f0f9ff !important; /* Very light soft blue */
    color: var(--color-primary) !important; /* Sky Blue text */
}

/* ==========================================================================
   FLOATING CHAT WIDGET (WHATSAPP & MESSENGER)
   ========================================================================== */
.floating-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-options.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.chat-btn-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.option-whatsapp {
    background-color: #25d366;
}
.option-whatsapp:hover {
    background-color: #20ba5a;
}

.option-messenger {
    background: linear-gradient(135deg, #006aff, #00c6ff);
}
.option-messenger:hover {
    background: linear-gradient(135deg, #0056ce, #00a4d3);
}

.option-phone {
    background-color: #007bff;
}
.option-phone:hover {
    background-color: #0069d9;
}

.chat-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #009cda; /* Primary Sky Blue matched to site */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.chat-toggle-btn:hover {
    transform: scale(1.05);
    background-color: #0082b6;
}

.chat-toggle-btn.open {
    background-color: #334155; /* Slate 700 to look like Close */
    transform: rotate(90deg);
}

.chat-toggle-btn.open:hover {
    background-color: #1e293b;
}

/* Positioning Adjustment for Mobile view to clear bottom nav */
@media (max-width: 991.98px) {
    .floating-chat-widget {
        bottom: 80px;
        right: 16px;
    }
}

/* Link styling in cart */
.cart-item-link {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.cart-item-link:hover {
    color: var(--color-primary);
}

/* Responsive Cart Table on Mobile Devices */
@media (max-width: 768px) {
    .cart-table-wrapper {
        overflow: visible !important;
    }
    .cart-table thead {
        display: none !important;
    }
    
    .cart-table, 
    .cart-table tbody, 
    .cart-table tr {
        display: block !important;
        width: 100% !important;
    }
    
    .cart-table tr {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        gap: 12px !important;
        padding: 16px 16px 68px 16px !important; /* extra bottom padding for absolute positioned elements */
        border-bottom: 1px solid #e2e8f0 !important;
        position: relative !important;
    }
    
    .cart-table td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
    }
    
    /* Checkbox (Column 1) - aligned left */
    .cart-table td:nth-child(1) {
        grid-column: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
    }
    
    /* Item Details (Column 2) - spans remaining width */
    .cart-table td:nth-child(2) {
        grid-column: 2 !important;
        display: flex !important;
        gap: 12px !important;
        align-items: center !important;
        padding-right: 30px !important; /* spacing for delete button */
    }
    
    /* Hide Unit Price (Column 3) on mobile */
    .cart-table td:nth-child(3) {
        display: none !important;
    }
    
    /* Quantity Selector (Column 4) placed absolutely at bottom-left */
    .cart-table td:nth-child(4) {
        position: absolute !important;
        bottom: 14px !important;
        left: 16px !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .cart-table td:nth-child(4) .quantity-selector {
        margin-left: 0 !important;
    }
    
    /* Line Total (Column 5) placed absolutely at bottom-right */
    .cart-table td:nth-child(5) {
        position: absolute !important;
        bottom: 14px !important;
        right: 16px !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        font-weight: 700 !important;
        font-size: 1.05rem !important;
    }
    
    /* Label for Line Total on Mobile */
    .cart-table td:nth-child(5)::before {
        content: "Total: " !important;
        font-weight: 500 !important;
        color: var(--color-muted) !important;
        font-size: 0.85rem !important;
        margin-right: 6px !important;
    }
    
    /* Remove Button (Column 6) absolute positioned top-right */
    .cart-table td:nth-child(6) {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
    }
}

/* Product Badges (Left & Right alignment) */
.product-badge-left {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 156, 218, 0.2);
}

.product-badge-right {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(203, 107, 230, 0.25);
}

/* Premium Footer Styling */
.premium-footer {
    background-color: #0f172a; /* Slate 900 */
    color: #94a3b8; /* Slate 400 */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}
.premium-footer .text-muted,
.premium-footer .text-muted span,
.premium-footer .text-muted a,
.premium-footer .contact-info p,
.premium-footer .contact-info p span,
.premium-footer .contact-info p a {
    color: #94a3b8 !important;
}
.premium-footer .contact-info p a:hover {
    color: var(--color-primary) !important;
}
.premium-footer .footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.premium-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
}
.premium-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.premium-footer .footer-links li {
    margin-bottom: 12px;
}
.premium-footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}
.premium-footer .footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}
.premium-footer .social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}
.premium-footer .social-icons a:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 156, 218, 0.35);
    border-color: transparent;
}
.premium-footer .contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    line-height: 1.4;
}
.premium-footer .contact-info i {
    color: var(--color-primary);
    font-size: 1.15rem;
    margin-top: 2px;
}
.premium-footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0 24px 0;
}
.premium-footer .copyright-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b; /* Slate 500 */
    font-size: 0.82rem;
}
.premium-footer .copyright-wrap a {
    color: #64748b;
    transition: color 0.2s ease;
}
.premium-footer .copyright-wrap a:hover {
    color: #cbd5e1;
}

/* Mobile Responsive Optimizations for Footer */
@media (max-width: 768px) {
    .premium-footer {
        padding-bottom: 92px !important; /* Crucial padding to prevent sticky bottom nav overlap */
    }
    .premium-footer .row {
        text-align: center;
    }
    .premium-footer .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .premium-footer .contact-info p {
        justify-content: center;
    }
    .premium-footer .copyright-wrap {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Product Details Image Gallery */
.product-main-image-wrap {
    background-color: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-image-wrap img {
    max-height: 420px;
    object-fit: contain;
    transition: opacity 0.15s ease-in-out;
}
.product-thumbnails-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.product-thumbnails-container::-webkit-scrollbar {
    height: 5px;
}
.product-thumbnails-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.product-thumbnails-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.thumb-item-wrap {
    width: 76px;
    height: 76px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: #ffffff;
}
.thumb-item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.thumb-item-wrap:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary-hover);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.thumb-item-wrap.active {
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 156, 218, 0.15);
}

/* Mobile adjustments for Explore Categories */
@media (max-width: 767.98px) {
    .trust-banner {
        display: none !important;
    }

    .category-list-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        overflow-x: visible;
        padding: 4px;
    }
    
    .category-card {
        width: 100%;
        height: auto;
        min-height: 85px;
        border-radius: 12px;
        padding: 8px 4px;
    }
    
    .category-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
        margin-bottom: 8px;
        border-radius: 10px;
    }
    
    .category-card-name {
        font-size: 0.65rem;
        padding: 0 2px;
        white-space: normal;
        line-height: 1.2;
    }
}

/* Fix scrolling performance on Android */
@media (max-width: 991.98px) {
    .mobile-bottom-nav, .header-desktop, .header-mobile {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .mobile-bottom-nav {
        background: rgba(15, 23, 42, 0.98) !important;
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Trust Banner */
.trust-banner .trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}
.trust-banner .trust-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.95);
}
.trust-banner .trust-icon {
    font-size: 2rem;
    line-height: 1;
    padding: 10px;
    background: rgba(0,0,0,0.03);
    border-radius: 12px;
}
.trust-banner .trust-icon.text-primary { background: rgba(0, 156, 218, 0.1); }
.trust-banner .trust-icon.text-success { background: rgba(16, 185, 129, 0.1); }
.trust-banner .trust-icon.text-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b !important; }
.trust-banner .trust-icon.text-info { background: rgba(14, 165, 233, 0.1); color: #0ea5e9 !important; }

.trust-banner .trust-text {
    display: flex;
    flex-direction: column;
}
.trust-banner .trust-text strong {
    font-size: 0.95rem;
    color: var(--color-dark);
}
.trust-banner .trust-text span {
    font-size: 0.8rem;
    color: var(--color-muted);
}
@media (max-width: 767.98px) {
    .trust-banner .trust-item {
        padding: 12px;
        gap: 8px;
    }
    .trust-banner .trust-icon {
        font-size: 1.5rem;
        padding: 8px;
    }
    .trust-banner .trust-text strong {
        font-size: 0.8rem;
    }
    .trust-banner .trust-text span {
        font-size: 0.7rem;
    }
}

/* CTA Promotional Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(217, 70, 239, 0.15) 100%);
    border: none;
    border-radius: 24px;
    padding: 48px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.2) 0%, transparent 70%);
    z-index: 0;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    z-index: 0;
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-content h3 {
    color: var(--color-dark);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.cta-content p {
    color: var(--color-muted);
    font-size: 1.1rem;
}
.btn-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #d946ef 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
    animation: ctaPulse 2.5s infinite;
}
.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(217, 70, 239, 0.5);
    color: #ffffff;
    animation: none; /* Stop pulse on hover */
}
@keyframes ctaPulse {
    0% { transform: scale(1); box-shadow: 0 8px 25px rgba(217, 70, 239, 0.35); }
    50% { transform: scale(1.02); box-shadow: 0 12px 35px rgba(217, 70, 239, 0.5); }
    100% { transform: scale(1); box-shadow: 0 8px 25px rgba(217, 70, 239, 0.35); }
}
@media (max-width: 767.98px) {
    .cta-banner {
        padding: 30px 16px;
    }
    .cta-content h3 { font-size: 1.4rem; }
    .cta-content p { font-size: 0.9rem; margin-bottom: 1.25rem !important; }
    .btn-cta { padding: 10px 24px; font-size: 0.85rem; }
}

/* Product Details Page Redesign */
.discount-badge {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.zoom-container {
    cursor: crosshair;
}
.zoom-img {
    transition: transform 0.2s ease-out;
}
.zoom-container:hover .zoom-img {
    transform: scale(1.6);
}

.variant-chips-container {
    margin-top: 4px;
}
.variant-chip {
    cursor: pointer;
    user-select: none;
}
.variant-chip .chip-content {
    display: inline-block;
    padding: 5px 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.variant-radio:checked + .chip-content,
.color-radio:checked + .chip-content {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(40, 172, 226, 0.3);
}
.variant-chip:hover .chip-content {
    transform: translateY(-1px);
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.variant-radio:checked:hover + .chip-content,
.color-radio:checked:hover + .chip-content {
    color: #ffffff;
}

.btn-add-cart {
    background: var(--color-dark);
    color: #ffffff;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-add-cart i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-add-cart:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.btn-add-cart:hover i {
    transform: translateX(4px);
}

/* Product Social Share Solid & Hover Color Styles */
.btn-share-wa {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 50px !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
}
.btn-share-wa:hover, .btn-share-wa:active, .btn-share-wa:focus {
    background-color: #1da851 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(29, 168, 81, 0.4) !important;
}

.btn-share-msg {
    background-color: #0084FF !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 50px !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 8px rgba(0, 132, 255, 0.25) !important;
}
.btn-share-msg:hover, .btn-share-msg:active, .btn-share-msg:focus {
    background-color: #0066CC !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.4) !important;
}

.btn-share-copy {
    background-color: #64748B !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 50px !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.25) !important;
}
.btn-share-copy:hover, .btn-share-copy:active, .btn-share-copy:focus {
    background-color: #334155 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(51, 65, 85, 0.4) !important;
}
.btn-share-copy.copied {
    background-color: #16a34a !important;
}

/* Responsive Share & Action Buttons on Mobile Devices */
@media (max-width: 575.98px) {
    .product-share-bar {
        align-items: flex-start !important;
    }
    .btn-share-wa, .btn-share-msg, .btn-share-copy {
        padding: 5px 12px !important;
        font-size: 0.78rem !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
    }
    .btn-add-cart, .btn-cta {
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
        min-width: 0 !important;
    }
}

/* System-wide Custom Checkbox Styling */
.form-check-input[type="checkbox"],
input[type="checkbox"].form-check-input,
input[type="checkbox"] {
    border: 2px solid #000000 !important;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-check-input[type="checkbox"]:checked,
input[type="checkbox"].form-check-input:checked,
input[type="checkbox"]:checked {
    background-color: var(--color-primary, #009cda) !important;
    border-color: var(--color-primary, #009cda) !important;
}

.form-check-input[type="checkbox"]:indeterminate,
input[type="checkbox"].form-check-input:indeterminate,
input[type="checkbox"]:indeterminate {
    background-color: var(--color-primary, #009cda) !important;
    border-color: var(--color-primary, #009cda) !important;
}

.form-check-input[type="checkbox"]:focus,
input[type="checkbox"].form-check-input:focus,
input[type="checkbox"]:focus {
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--color-primary, #009cda) 25%, transparent) !important;
}