
.cart-nav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #e91327;
    border-radius: 50%;
    color: #e91327 !important;
    font-size: 15px;
    transition: all 0.25s ease;
    padding: 0 !important;
}

.cart-nav-icon:hover,
.cart-nav-icon:focus {
    background: #e91327 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

.cart-nav-icon .cart-badge,
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e91327;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
    z-index: 10;
    padding: 0 3px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #e91327;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0 16px 0 16px;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(233, 19, 39, 0.35);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    background: #1f2329;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* ── Best Deals Overlay ── */
#b-deals figure.effect-service {
    position: relative;
    overflow: hidden;
}

#b-deals figure.effect-service .deal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.70);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

#b-deals figure.effect-service:hover .deal-overlay {
    opacity: 1;
}

#b-deals figure.effect-service .deal-overlay h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-align: center;
}

#b-deals figure.effect-service .deal-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 300;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

#b-deals figure.effect-service .deal-overlay a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 0 10px 0 10px;
    margin-top: 4px;
    transition: background 0.25s;
}

#b-deals figure.effect-service .deal-overlay a:hover {
    background: #e91327;
    border-color: #e91327;
}

.header-nav .navbar-nav {
    align-items: center;
}

.header-nav .navbar-nav .nav-item.dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.header-nav .navbar-nav .nav-item.dropdown .dropdown-toggle::after {
    margin-left: 2px;
    vertical-align: middle;
}

.navbar-brand img {
    max-height: 70px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

/* Header fixed hওয়ার কারণে content এর জন্য top padding */
body > .ulockd-home-slider:first-of-type {
    padding-top: 0; /* hero full height, header overlap করবে */
}

/* Non-hero pages এ content header এর নিচে শুরু হবে */
.page-content-offset {
    padding-top: 80px;
}

/* ── Contact Form Input Background ── */
#contact .form-control {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.icon-b {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px;
    border-radius: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ── Mobile Drawer Menu (left → right) ── */
@media (max-width: 991px) {
    #navbar-wd {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        display: block !important;
        padding: 20px 0 40px;
    }

    #navbar-wd.show {
        left: 0;
    }

    #navbar-wd .navbar-nav {
        flex-direction: column;
        padding: 0 16px;
    }

    #navbar-wd .navbar-nav li {
        margin: 2px 0;
    }

    #navbar-wd .navbar-nav .nav-link {
        padding: 10px 14px !important;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #333 !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #navbar-wd .navbar-nav .nav-link.active,
    #navbar-wd .navbar-nav .nav-link:hover {
        background: #e91327 !important;
        color: #fff !important;
        border-radius: 8px !important;
    }

    #navbar-wd .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        border-radius: 8px;
        padding: 6px 0;
        margin: 4px 0;
    }

    #navbar-wd .dropdown-item {
        padding: 8px 20px;
        font-size: 13px;
    }

    /* drawer close button */
    .drawer-close-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px 20px;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 10px;
    }
    .drawer-close-btn span {
        font-size: 15px;
        font-weight: 700;
        color: #1a1a1a;
    }
    .drawer-close-btn button {
        background: none;
        border: none;
        font-size: 22px;
        color: #aaa;
        cursor: pointer;
        line-height: 1;
        padding: 0;
    }
    .drawer-close-btn button:hover { color: #e91327; }

    
}

/* ── Drawer menu items alignment fix ── */
@media (max-width: 991px) {
    #navbar-wd .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
    }

    #navbar-wd .navbar-nav > li {
        width: 100%;
        margin: 1px 0;
    }

    #navbar-wd .navbar-nav > li > a.nav-link {
        width: 100%;
        justify-content: flex-start !important;
        text-align: left !important;
        border-radius: 8px !important;
    }

    #navbar-wd .navbar-nav > li.d-none {
        display: none !important;
    }
}


/* ── Mobile Drawer ── */
@media (max-width: 991px) {
    #navbar-wd {
        position: fixed !important;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        padding: 0 0 40px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    #navbar-wd.show {
        left: 0 !important;
    }
    #navbar-wd .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0 12px;
        width: 100%;
    }
    #navbar-wd .navbar-nav > li {
        width: 100%;
        margin: 2px 0;
    }
    #navbar-wd .navbar-nav .nav-link {
        width: 100%;
        padding: 10px 14px !important;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #333 !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    #navbar-wd .navbar-nav .nav-link.active,
    #navbar-wd .navbar-nav .nav-link:hover {
        background: #e91327 !important;
        color: #fff !important;
    }
    #navbar-wd .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        border: none;
        background: #f5f5f5;
        border-radius: 8px;
        padding: 4px 0;
        margin: 2px 0 4px 14px;
        display: none;
    }
    #navbar-wd .dropdown-menu.show {
        display: block;
    }
    #navbar-wd .dropdown-item {
        padding: 8px 16px;
        font-size: 13px;
        color: #444;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    #navbar-wd .dropdown-item:hover {
        background: #e91327;
        color: #fff;
    }
    .drawer-close-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 8px;
    }
    .drawer-close-btn span { font-size: 15px; font-weight: 700; color: #1a1a1a; }
    .drawer-close-btn button {
        background: none; border: none;
        font-size: 24px; color: #aaa;
        cursor: pointer; line-height: 1; padding: 0;
    }
    .drawer-close-btn button:hover { color: #e91327; }
    .drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
       
    }
    .drawer-overlay.active { display: block; }
    #navbar-wd .navbar-nav > li.d-none { display: none !important; }
}

