/* Header Styles */
body, html {
    margin: 0;
    padding: 0;
}

/* Responsive Logo */
.shopker-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.shopker-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .shopker-logo {
        width: 100px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100vh;
    background: #fff;
    z-index: 9999;

    transform: translateX(-100%);
    transition: transform 0.35s ease-in-out;

    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 60%;
}

.mobile-nav ul li {
    border-bottom: 1px solid #f3f4f6;
    flex-grow: 1;
    max-height: auto;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    height: 100%;
    text-align: center;
}

.mobile-nav ul li a:hover {
    background-color: #fff7ed;
    color: #ea580c;
}

.promo-buttons-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px !important;
}

.promo-buttons-mobile a {
    background-color: #ea580c !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
    text-align: center;
}

.promo-buttons-mobile a:hover {
    background-color: #d64a00 !important;
}

/* Responsive Classes */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none !important;
    }

    .promo-buttons {
        display: none !important;
    }

    .promo-buttons-mobile {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .top-bar-text {
        font-size: 12px;
        padding: 12px 16px !important;
    }

    /* FIX: keep consistent header alignment */
    .header-icons {
        align-items: center;
        gap: 8px !important;
    }

    /* FIX: stable icon sizing */
    .header-icons svg {
        width: 22px;
        height: 22px;
    }

    /* KEEP mobile buttons stable */
    .promo-buttons-mobile {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .top-bar-text {
        font-size: 10px;
    }

    .header-icons svg {
        width: 18px;
        height: 18px;
    }

    .mobile-nav ul li a {
        font-size: 12px;
        padding: 15px;
    }
}

.promo-slider-container {
    position: relative;
    overflow: hidden;
    background-color: #ea580c;
    color: white;
    text-align: center;
    width: 100%;
}

.promo-slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.promo-slide {
    min-width: 100%;
    padding: 8px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .promo-slide {
        padding: 7px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .promo-slide {
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* Slider Indicators */
.promo-indicators {
    position: absolute;
    bottom: 5px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator-dot.active {
    background-color: white;
}

/* ===== CLEAN HEADER ICON FIX (FINAL) ===== */
.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* keep SVG natural alignment */
.header-icons svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* cart wrapper */
.header-icons .relative {
    display: flex;
    align-items: center;
}

/* search button */
#shopker-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ====================== MOBILE SEARCH DROPDOWN FIX ====================== */
@media (max-width: 1024px) {
    
    #search-dropdown {
        right: auto !important;
        left: 40% !important;
        transform: translateX(-70%) !important;
        width: 100vw !important;           /* Mobile pe thoda chhota aur centered */
        max-width: 330px !important;
    }
}

/* Extra small mobile pe aur better look */
@media (max-width: 480px) {
    #search-dropdown {
        width: 100vw !important;
        margin-top: 25px !important;
    }
}

/* Premium Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(37, 211, 102, 0.45),
        0 0 0 8px rgba(37, 211, 102, 0.08);

    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

/* Hover Effect */
.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow:
        0 14px 35px rgba(37, 211, 102, 0.6),
        0 0 0 10px rgba(37, 211, 102, 0.12);
}

/* Icon */
.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

.whatsapp-float i {
    font-size: 38px;
    color: white;
}

/* Pulse Animation */
@keyframes whatsappPulse {
    0% {
        box-shadow:
            0 10px 25px rgba(37, 211, 102, 0.45),
            0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow:
            0 10px 25px rgba(37, 211, 102, 0.45),
            0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow:
            0 10px 25px rgba(37, 211, 102, 0.45),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
    .whatsapp-float i {
    font-size: 38px;
    color: white;
    }

}

.cart-toast{
    position: fixed;
    top: 20px;
    right: 20px;
    background: #16a34a;
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);

    transition: all .3s ease;
}