/* ==========================================================================
   ShopTec Modern Tech Design System & Header Architecture
   ========================================================================== */

:root {
    --st-primary: #6d28d9;         /* Electric Violet */
    --st-primary-dark: #5b21b6;    /* Deep Violet */
    --st-primary-light: #7c3aed;   /* Bright Violet */
    --st-primary-subtle: #f5f3ff;  /* Violet surface */
    --st-indigo: #4f46e5;         /* Tech Indigo */
    --st-cyan: #06b6d4;           /* Neon Cyan */
    --st-dark-900: #090d16;       /* Obsidian Black */
    --st-dark-800: #0f172a;       /* Tech Slate */
    --st-dark-700: #1e293b;       /* Muted Slate */
    --st-border: #e2e8f0;         /* Modern Border */
    --st-border-subtle: #ede9fe;  /* Subtle Violet Border */
    --st-text-main: #0f172a;      /* Slate 900 Text */
    --st-text-muted: #64748b;     /* Slate Muted Text */
}

/* ==========================================================================
   1. Top Micro Bar (Trust Highlights & Quick Helpline)
   ========================================================================== */
.shoptec-top-microbar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shoptec-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 95%;
    max-width: 1620px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.shoptec-micro-left,
.shoptec-micro-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.micro-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 1px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.micro-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.micro-divider {
    color: #475569;
    opacity: 0.6;
}

.micro-link {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: color 0.15s;
}

.micro-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   2. Main Header (Brand Logo, Tech Search, Action Hub)
   ========================================================================== */
.shoptec-main-header {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    position: relative;
    z-index: 1040;
}

.shoptec-brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 52px;
}

.shoptec-brand-logo:hover {
    transform: scale(1.02);
}

.brand-logo-img {
    max-height: 52px !important;
    height: auto !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
}

/* Smart Tech Search Bar */
.shoptec-search-wrap {
    flex: 1;
    max-width: 620px;
    margin: 0 12px;
    position: relative;
}

.shoptec-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    height: 44px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.shoptec-search-box:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.shoptec-search-icon-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    padding-right: 4px;
    color: #94a3b8;
    font-size: 14px;
}

.shoptec-search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.shoptec-search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 10px;
    height: 100%;
    font-size: 13.5px;
    color: #0f172a;
    flex: 1;
    min-width: 0;
}

.shoptec-search-input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.shoptec-input-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 8px;
}

.shoptec-tool-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.shoptec-tool-btn:hover {
    color: #6d28d9;
    background: #f5f3ff;
}

.shoptec-tool-btn.listening {
    color: #ef4444 !important;
    animation: mcwPulse 1s infinite;
}

@keyframes mcwPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.shoptec-search-submit {
    background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    height: 36px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
    box-shadow: 0 2px 6px rgba(109, 40, 217, 0.25);
    transition: all 0.2s;
    white-space: nowrap;
}

.shoptec-search-submit:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #4338ca 100%);
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.35);
    transform: translateY(-1px);
}

/* Real-time search suggestions dropdown */
.mcw-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.mcw-search-results.active {
    display: block;
}

.mcw-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s;
}

.mcw-search-item:hover {
    background: #f5f3ff;
    color: #6d28d9;
}

.mcw-search-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #f1f5f9;
}

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

.mcw-search-item-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.mcw-search-item-price {
    font-size: 12.5px;
    color: #6d28d9;
    font-weight: 700;
    margin: 2px 0 0;
}

.mcw-search-all-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f5f3ff;
    color: #6d28d9;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ==========================================================================
   3. Header Right Actions Hub
   ========================================================================== */
.shoptec-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.shoptec-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    min-width: 44px;
    position: relative;
    user-select: none;
}

.action-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 16px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.1;
    white-space: nowrap;
    transition: color 0.15s;
}

.shoptec-action-btn:hover .action-icon-circle {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.15);
}

.shoptec-action-btn:hover .action-label {
    color: #6d28d9;
}

/* Pulsing dot for Get App */
.action-pulse-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 6px #10b981;
}

/* Count badge for Wishlist */
.shoptec-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 999px;
    line-height: 1.2;
    border: 1.5px solid #ffffff;
}

/* Support Hub Dropdown */
.shoptec-support-dropdown {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    min-width: 250px;
    padding: 10px 8px;
    z-index: 1070 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(109, 40, 217, 0.06);
}

.shoptec-support-dropdown .dropdown-header {
    padding: 4px 10px 8px 10px;
    margin-bottom: 4px;
}

.shoptec-support-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 8px 10px !important;
    transition: all 0.18s ease;
}

.shoptec-support-dropdown .dropdown-item:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.shoptec-support-dropdown .dropdown-item:hover .action-icon-circle {
    transform: scale(1.08);
}

.shoptec-support-dropdown .support-dept-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    line-height: 1.2;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 2px 0;
}

.shoptec-support-dropdown .support-dept-phone {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   4. ShopTec Modern Floating Cart Capsule (Replaces split-box copy)
   ========================================================================== */
.shoptec-cart-capsule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 4px 16px 4px 6px;
    background: #ffffff;
    border: 1.5px solid #6d28d9;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.shoptec-cart-capsule:hover {
    transform: translateY(-2px);
    border-color: #5b21b6;
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.22);
}

.cart-capsule-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 14px;
    flex-shrink: 0;
}

.cart-capsule-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    line-height: 1;
}

.cart-capsule-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.cart-capsule-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #64748b;
}

.cart-capsule-total {
    font-size: 13.5px;
    font-weight: 700;
    color: #5b21b6;
    white-space: nowrap;
}

/* ==========================================================================
   5. ShopTec Modern "Get App" Flyout Card (Custom Tech Showcase)
   ========================================================================== */
.shoptec-getapp-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shoptec-getapp-card {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 380px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16), 0 4px 16px rgba(109, 40, 217, 0.08);
    border: 1px solid #ede9fe;
    z-index: 1070 !important;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

/* Caret Arrow */
.shoptec-getapp-card::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #f5f3ff;
    border-top: 1px solid #ede9fe;
    border-left: 1px solid #ede9fe;
    z-index: 2;
}

/* Invisible bridge preventing mouseleave */
.shoptec-getapp-card::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

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

.getapp-card-banner {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 16px 18px 14px 18px;
    border-bottom: 1px solid #ede9fe;
    text-align: left;
}

.getapp-pill-tag {
    background: #6d28d9;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.getapp-rating-tag {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.getapp-headline {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 8px 0 2px 0;
    line-height: 1.25;
}

.getapp-subtext {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.getapp-card-body {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.getapp-qr-frame {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    flex-shrink: 0;
}

.getapp-qr-image {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 4px;
}

.getapp-qr-badge {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

.getapp-store-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.getapp-store-btn {
    display: block;
    text-decoration: none;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.getapp-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.getapp-store-btn img {
    width: 100%;
    max-width: 160px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.getapp-card-perks {
    background: #f8fafc;
    padding: 9px 18px;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
    color: #475569;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

@media (max-width: 576px) {
    .shoptec-getapp-card {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 15px;
        right: 15px;
        width: auto;
        transform: translateY(20px);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    }
    .shoptec-getapp-card::before {
        display: none;
    }
    .shoptec-getapp-card.show {
        transform: translateY(0);
    }
}

/* ==========================================================================
   6. Bottom Category Navigation Bar (Modern High-Tech Obsidian & Electric Neon)
   ========================================================================== */
.shoptec-bottom-nav {
    background: linear-gradient(90deg, var(--primary-color-onhover, #37016e) 0%, var(--primary-color, #4a147d) 50%, var(--primary-color-onhover, #37016e) 100%) !important;
    position: relative;
    border-bottom: 2px solid var(--primary-color-onhover, rgba(0, 0, 0, 0.2)) !important;
    border-image: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14) !important;
    z-index: 1020;
    overflow: visible !important;
}

.shoptec-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    width: 98%;
    max-width: 1760px;
    margin: 0 auto;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    overflow: visible !important;
    position: relative;
}

/* Horizontal Category Navigation Bar - Spans and fills the complete width evenly */
.shoptec-categories-scroll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: visible !important;
    white-space: nowrap;
    gap: 2px;
}

.mcw-cat-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.shoptec-nav-link {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 8px 8px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.18s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
    cursor: pointer;
    letter-spacing: 0.15px;
}

.shoptec-nav-link .nav-arrow {
    font-size: 9.5px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: transform 0.2s ease;
}

.shoptec-nav-link:hover,
.mcw-cat-dropdown:hover > .shoptec-nav-link,
.mcw-cat-dropdown.show > .shoptec-nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.mcw-cat-dropdown:hover > .shoptec-nav-link .nav-arrow,
.mcw-cat-dropdown.show > .shoptec-nav-link .nav-arrow {
    transform: rotate(180deg);
    color: #ffffff !important;
}

@media (max-width: 1540px) {
    .shoptec-nav-link {
        font-size: 13px !important;
        padding: 8px 6px;
    }
}

@media (max-width: 1480px) {
    .shoptec-nav-link {
        font-size: 12.5px !important;
        padding: 7px 4.5px;
        letter-spacing: 0;
    }
    .shoptec-deals-link {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
        margin-left: 4px !important;
    }
}

@media (max-width: 1366px) {
    .shoptec-nav-link {
        font-size: 12px !important;
        padding: 6px 3.5px;
        letter-spacing: 0;
    }
    .shoptec-nav-link .nav-arrow {
        font-size: 8.5px;
    }
    .shoptec-deals-link {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 1220px) {
    .shoptec-categories-scroll {
        overflow-x: auto !important;
        justify-content: flex-start;
        gap: 8px;
        padding-bottom: 2px;
    }
    .shoptec-categories-scroll::-webkit-scrollbar {
        display: none;
    }
}

/* Quick Deals Pill on right */
.shoptec-deals-link {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    color: #ffffff !important;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
}

.shoptec-deals-link:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
    color: #ffffff !important;
}

/* ==========================================================================
   7. Dropdowns & Submenu Menus
   ========================================================================== */
.shoptec-mega-dropdown,
.mcw-brands-dropdown-menu,
.mcw-cat-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    padding: 8px;
    margin-top: 2px !important;
    min-width: 220px;
    z-index: 1060;
    display: none;
    animation: stDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Show on hover on desktop */
@media (min-width: 992px) {
    .dropdown.mcw-cat-dropdown:hover > .mcw-cat-dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .dropdown.mcw-cat-dropdown:hover > .mcw-cat-dropdown-menu.mcw-grid-2cols {
        display: grid !important;
    }
}

/* Show on click toggle */
.mcw-cat-dropdown-menu.show,
.dropdown.mcw-cat-dropdown.show > .mcw-cat-dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mcw-cat-dropdown-menu.mcw-grid-2cols.show,
.dropdown.mcw-cat-dropdown.show > .mcw-cat-dropdown-menu.mcw-grid-2cols {
    display: grid !important;
}

@keyframes stDropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shoptec-mega-dropdown {
    min-width: 250px;
    max-height: 460px;
    overflow-y: auto;
}

.mcw-brands-dropdown-menu {
    min-width: 220px;
    max-height: 380px;
    overflow-y: auto;
}

.mcw-cat-dropdown-menu.mcw-grid-2cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 8px;
    min-width: 440px;
    padding: 12px;
}

.mcw-cat-dropdown-menu.mcw-dropdown-end {
    right: 0 !important;
    left: auto !important;
}

.mcw-cat-dropdown-menu .dropdown-item,
.shoptec-mega-dropdown .dropdown-item,
.mcw-brands-dropdown-menu .dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all 0.15s;
}

.mcw-cat-dropdown-menu .dropdown-item:hover,
.shoptec-mega-dropdown .dropdown-item:hover,
.mcw-brands-dropdown-menu .dropdown-item:hover {
    background: var(--primary-soft, #f5f3ff) !important;
    color: var(--primary-color, #4a147d) !important;
    padding-left: 16px;
}

.mcw-all-link {
    font-weight: 700 !important;
    color: var(--primary-color, #4a147d) !important;
    background: var(--primary-soft, #f5f3ff) !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   8. Full-Width Responsive Containers
   ========================================================================== */
@media (min-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        width: 95% !important;
        max-width: 1620px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        width: 96% !important;
        max-width: 1720px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ==========================================================================
   9. Footer App Store Badges
   ========================================================================== */
.footer-app-badges {
    margin-top: 14px;
}

.footer-app-heading {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.footer-store-badge-link {
    display: inline-block;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, opacity 0.2s;
    background: #000;
}

.footer-store-badge-link:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.footer-store-badge-img {
    height: 38px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .footer-app-heading {
        justify-content: center;
    }
    .footer-app-buttons {
        justify-content: center;
    }
}

/* ==========================================================================
   10. Product Listing Filter Sidebar
   ========================================================================== */
.filter-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.filter-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.filter-section .accordion-button {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    padding: 12px 0;
}

.filter-section .accordion-button:not(.collapsed) {
    color: #6d28d9;
    background: transparent;
    box-shadow: none;
}

.filter-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.filter-section .form-check-label {
    font-size: 13px;
    color: #475569;
    cursor: pointer;
}

.filter-section .form-check-input:checked {
    background-color: #6d28d9;
    border-color: #6d28d9;
}

.product_filter_btn {
    background-color: #6d28d9 !important;
    border-color: #6d28d9 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 24px;
    transition: background-color 0.15s;
}

.product_filter_btn:hover {
    background-color: #5b21b6 !important;
    border-color: #5b21b6 !important;
}

#reload.btn-danger {
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 600;
}

/* Mobile Header Polish */
.search-nav .navbar .company-logo {
    display: flex;
    align-items: center;
    max-height: 48px;
    max-width: 190px;
}

.search-nav .navbar .company-logo img.brand-logo-link {
    max-height: 40px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    width: auto !important;
    image-rendering: -webkit-optimize-contrast;
}

/* ==========================================================================
   7. ShopTec Comprehensive UI & UX Enhancements
   ========================================================================== */

/* Deal Pulse Animation for Top Offers in Navigation */
@keyframes shoptecDealGlow {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 4px 18px rgba(239, 68, 68, 0.6);
        transform: translateY(-1px);
    }
}

.shoptec-deals-link {
    animation: shoptecDealGlow 2.5s infinite ease-in-out;
}

/* Hero Banner Styling */
.mySwiper.grab {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

/* Modern Section Headings & Subtitles */
.section-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 0 !important;
    line-height: 1.25 !important;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #6d28d9 0%, #4f46e5 100%);
    border-radius: 4px;
}

.banner-paragraph {
    color: #64748b !important;
    font-size: 13.5px !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

/* Modern Pill "View More" & "See All" Buttons */
.viewmorebtn {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #6d28d9 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 7px 18px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.viewmorebtn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%) !important;
    border-color: #6d28d9 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.28) !important;
    transform: translateY(-2px) !important;
}

/* Popular Categories Modern Cards */
.categories-card {
    text-align: center;
    padding: 12px 8px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1.5px solid #f1f5f9 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 4px;
}

.categories-card:hover {
    transform: translateY(-5px) !important;
    border-color: #ddd6fe !important;
    box-shadow: 0 12px 28px rgba(109, 40, 217, 0.12) !important;
}

.categories-image {
    height: 125px !important;
    padding: 12px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.categories-image img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    transition: transform 0.25s ease !important;
}

.categories-card:hover .categories-image img {
    transform: scale(1.08) !important;
}

.categories-card-text {
    padding: 8px 4px 4px 4px !important;
}

.categories-card-text h4 {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 4px 0 0 0 !important;
    transition: color 0.15s !important;
}

.categories-card:hover .categories-card-text h4 {
    color: #6d28d9 !important;
}

/* Brands Carousel Showcase */
.swiperForBrands .categories-card {
    background: #ffffff !important;
    border: 1.5px solid #f1f5f9 !important;
    border-radius: 16px !important;
    padding: 14px 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.22s ease !important;
}

.swiperForBrands .categories-card:hover {
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

.brands-image {
    height: 85px !important;
    padding: 10px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.brands-image img {
    max-height: 65px !important;
    max-width: 120px !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
}

.swiperForBrands .categories-card:hover .brands-image img {
    transform: scale(1.08) !important;
}

/* Product Cards & Modern ShopTec Action Buttons */
.product-card {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-card:hover {
    transform: translateY(-6px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09) !important;
}

.product-img-style3 {
    padding: 16px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 195px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.product-img-style3 img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

.product-card:hover .product-img-style3 img {
    transform: scale(1.06) !important;
}

/* Floating Wishlist Heart */
.rating-div {
    position: static !important;
}

.product-card .add-to-fav-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(6px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.product-card .add-to-fav-btn ion-icon {
    font-size: 19px !important;
    line-height: 1 !important;
    display: block !important;
    color: #475569 !important;
    pointer-events: none !important;
}

.product-card .add-to-fav-btn ion-icon.heart,
.product-card .add-to-fav-btn ion-icon.text-danger {
    color: #ef4444 !important;
}

.product-card .add-to-fav-btn:hover {
    transform: scale(1.12) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
    border-color: #fca5a5 !important;
}

.product-card .add-to-fav-btn:hover ion-icon {
    color: #ef4444 !important;
}

/* Product Listing Image Box (img-box-h250) */
.product-card .img-box-h250 {
    padding: 14px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 195px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.product-card .img-box-h250 img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

.product-card:hover .img-box-h250 img {
    transform: scale(1.06) !important;
}

/* Product Card Body */
.product-card .card-body {
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.product-card .card-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 4px !important;
    min-height: 38px !important;
}

.product-card .card-text {
    font-size: 11px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

/* Product Pricing - Match Default ShopTec Style Across All Pages */
.product-card .card-price,
.product-card .card-price .price,
.product-card .price #price,
.product-card #price {
    font-family: var(--font-lexend), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: var(--font-size-16) !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
}

.product-discount-label {
    background: #ecfdf5 !important;
    color: #059669 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}

/* Modern Gradient Add to Cart Button (Replaces Competitor Dark Purple) */
.add-in-cart-btn {
    background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 9px 16px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.2) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    text-decoration: none !important;
}

.add-in-cart-btn:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #4338ca 100%) !important;
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.35) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.add-in-cart-btn .add-in-cart {
    color: #ffffff !important;
}

.add-in-cart-btn .add-in-cart-icon i {
    color: #ffffff !important;
}

/* Swiper Circular Floating Navigation Chevrons */
.swiper-button-next,
.swiper-button-prev {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.swiper-button-next ion-icon,
.swiper-button-prev ion-icon {
    font-size: 20px !important;
    color: #0f172a !important;
    transition: color 0.15s !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.3) !important;
    transform: scale(1.08) !important;
}

.swiper-button-next:hover ion-icon,
.swiper-button-prev:hover ion-icon {
    color: #ffffff !important;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #ffffff !important;
}

/* Home Navigation Link in Top Navigation Bar (Icon Only - Enhanced Visibility) */
.shoptec-nav-link.home-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    min-width: 38px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.13) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important;
}

.shoptec-nav-link.home-nav-link i {
    font-size: 18px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.shoptec-nav-link.home-nav-link:hover,
.shoptec-nav-link.home-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.16) 100%) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
}

.shoptec-nav-link.home-nav-link:hover i {
    transform: scale(1.12) !important;
    color: #ffffff !important;
}

.shoptec-nav-link.home-nav-link:active {
    transform: scale(0.96) !important;
}

@media (max-width: 1480px) {
    .shoptec-nav-link.home-nav-link {
        height: 31px !important;
        min-width: 35px !important;
        padding: 0 8px !important;
    }
    .shoptec-nav-link.home-nav-link i {
        font-size: 16.5px !important;
    }
}

@media (max-width: 1366px) {
    .shoptec-nav-link.home-nav-link {
        height: 29px !important;
        min-width: 33px !important;
        padding: 0 7px !important;
    }
    .shoptec-nav-link.home-nav-link i {
        font-size: 15.5px !important;
    }
}

/* ==========================================================================
   Centered Pop-up Modal Transformation for Login (#login-canvas)
   ========================================================================== */

/* Pop-up dialog positioning & styling */
#login-canvas.offcanvas {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 94% !important;
    max-width: 440px !important;
    height: auto !important;
    max-height: 90vh !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    background-color: #ffffff !important;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.28), 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translate(-50%, -46%) scale(0.94) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.26s !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1070 !important;
}

/* Showing / Open state: perfectly centered with spring pop animation */
#login-canvas.offcanvas.showing,
#login-canvas.offcanvas.show:not(.hiding) {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hiding / Closing state */
#login-canvas.offcanvas.hiding {
    transform: translate(-50%, -46%) scale(0.94) !important;
    opacity: 0 !important;
    visibility: visible !important;
}

/* All offcanvas drawers (mobile menu, cart drawer) must sit above backdrop */
.offcanvas,
#offcanvasExample.offcanvas,
#cartmodal.offcanvas {
    z-index: 1065 !important;
}

/* Ensure backdrop covers behind drawers and modal with modern blur */
.offcanvas-backdrop {
    z-index: 1055 !important;
    background-color: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    transition: opacity 0.25s ease !important;
}

/* Mobile search header sticky position and z-index */
header.search-nav {
    z-index: 1020 !important;
}

/* Header styling */
#login-canvas .offcanvas-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px 16px 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
}

#login-canvas .offcanvas-title {
    font-family: var(--font-lexend, 'Lexend', sans-serif) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#login-canvas .offcanvas-header .btn-close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: #f1f5f9 !important;
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background-size: 11px !important;
    background-position: center !important;
}

#login-canvas .offcanvas-header .btn-close:hover {
    background-color: #e2e8f0 !important;
    opacity: 1 !important;
    transform: rotate(90deg) !important;
}

/* Body styling */
#login-canvas .offcanvas-body {
    padding: 20px 24px 24px 24px !important;
    overflow-y: auto !important;
}

/* Form input styling inside modal */
#login-canvas .form-label .form-lable {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

#login-canvas .form-control {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#login-canvas .form-control:focus {
    border-color: var(--primary-color, #702082) !important;
    box-shadow: 0 0 0 3px rgba(112, 32, 130, 0.12) !important;
    outline: none !important;
}

/* Password insert container */
#login-canvas .password-insert.form-control {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    height: 46px !important;
}

#login-canvas .password-insert input.form-control {
    flex: 1 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 10px 14px !important;
    height: 100% !important;
}

#login-canvas input[type="password"]::-ms-reveal,
#login-canvas input[type="password"]::-ms-clear {
    display: none !important;
}

#login-canvas .password-insert .eye-icons {
    padding: 0 14px !important;
    cursor: pointer !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    height: 100% !important;
    flex-shrink: 0 !important;
}

#login-canvas .password-insert .eye-icons ion-icon {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
    color: #64748b !important;
    display: block !important;
    visibility: visible !important;
}

#login-canvas .password-insert:focus-within {
    border-color: var(--primary-color, #702082) !important;
    box-shadow: 0 0 0 3px rgba(112, 32, 130, 0.12) !important;
}

/* Submit Login button */
#login-canvas .submit-btn,
#login-canvas .Register-btn {
    width: 100% !important;
    height: 44px !important;
    border-radius: 10px !important;
    background: var(--primary-color, #702082) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(112, 32, 130, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#login-canvas .submit-btn:hover,
#login-canvas .Register-btn:hover {
    background: var(--primary-color-onhover, #5a1868) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(112, 32, 130, 0.35) !important;
}

/* Remember me & forgot password */
#login-canvas .form-check {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: unset !important;
}

#login-canvas .form-check-input {
    border-color: #cbd5e1 !important;
    cursor: pointer !important;
    margin: 0 !important;
    float: none !important;
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0 !important;
}

#login-canvas .form-check-input:checked {
    background-color: var(--primary-color, #702082) !important;
    border-color: var(--primary-color, #702082) !important;
}

#login-canvas .form-check-label {
    font-size: 13.5px !important;
    color: #475569 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

#login-canvas .forget_password_sec {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--primary-color, #702082) !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
}

#login-canvas .forget_password_sec:hover {
    opacity: 0.8 !important;
    text-decoration: underline !important;
}

/* OR separator */
#login-canvas .separator {
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    margin: 18px 0 !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#login-canvas .separator::before,
#login-canvas .separator::after,
#login-canvas .separator span {
    flex: 1 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    content: '' !important;
}

/* Third party login buttons */
#login-canvas .thirdparty-login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#login-canvas .thirdparty-login img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
}

#login-canvas .thirdparty-login p {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin: 0 !important;
}

#login-canvas .thirdparty-login:hover {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px) !important;
}

#login-canvas a.emailLogin,
#login-canvas a.phoneLogin,
#login-canvas a#googleLogin {
    text-decoration: none !important;
    flex: 1 !important;
    max-width: 170px !important;
}

/* Create account bottom bar */
#login-canvas .btn-link {
    font-weight: 600 !important;
    color: var(--primary-color, #702082) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    padding: 0 !important;
}

#login-canvas .btn-link:hover {
    text-decoration: underline !important;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    #login-canvas.offcanvas {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        border-radius: 16px !important;
        max-height: 88vh !important;
    }
    #login-canvas .offcanvas-header {
        padding: 16px 18px 12px 18px !important;
    }
    #login-canvas .offcanvas-body {
        padding: 16px 18px 20px 18px !important;
    }
}

/* Mobile Category Accordion Animation & Chevron Rotation */
#offcanvasExample [data-bs-toggle="collapse"] {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: rgba(112, 32, 130, 0.08);
    transition: color 0.15s ease;
}

#offcanvasExample [data-bs-toggle="collapse"]:hover {
    color: var(--primary-color, #702082);
}

#offcanvasExample [data-bs-toggle="collapse"][aria-expanded="true"] .mobile-cat-chevron,
#offcanvasExample [data-bs-toggle="collapse"][aria-expanded="true"] .subcat-chevron {
    transform: rotate(180deg);
}

#offcanvasExample .collapse {
    transition: height 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}




