:root {
    --primary: #ff9900;
    --pdark: #e07b00;
    --dark: #05478b;
    --darker: #012448;
    --sale: #e53e3e;
    --border: #e5e5e5;
    --muted: #777;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
    color: #333;
    background: #f2f2f2;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── TOP INFO BAR ── */
.topbar {
    background: #111827;
    color: #aaa;
    font-size: 11px;
    padding: 5px 0;
}

.topbar a {
    color: #aaa;
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--primary);
}

/* ── DESKTOP HEADER ── */
.dsk-header {
    background: var(--dark);
    padding: 11px 0;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: "Hind Siliguri", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: #fff;
}

.searchbar {
    flex: 1;
    max-width: 560px;
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.searchbar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 14px;
    font-size: 14px;
}

.searchbar button {
    background: var(--primary);
    border: none;
    padding: 0 18px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.searchbar button:hover {
    background: var(--pdark);
}

.hicons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.hicon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 10px;
    gap: 2px;
    position: relative;
    transition: color 0.2s;
    cursor: pointer;
}

.hicon i {
    font-size: 19px;
}

.hicon:hover {
    color: var(--primary);
}

.cbadge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ── DESKTOP NAV + DROPDOWNS ── */
.dsk-nav {
    background: var(--darker);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 60px;
    z-index: 800;
}

.dsk-nav .wrap {
    display: flex;
    align-items: stretch;
}

.allcat {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.navul {
    display: flex;
    list-style: none;
    position: static;
}

.navul li {
    position: static;
}

.navul li a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ddd;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.navul li a:hover,
.navul li.hovered a {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
}

.navul li a .chev {
    font-size: 8px;
    margin-left: 2px;
}

/* Dropdown panel — appended to body, positioned via JS */
.ddmenu {
    display: none;
    position: fixed;
    background: #fff;
    min-width: 200px;
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
    z-index: 99999;
}

.ddmenu.open {
    display: block;
}

.ddmenu a {
    display: block;
    padding: 9px 16px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.ddmenu a:hover {
    background: #fff8ee;
    color: var(--primary);
    padding-left: 22px;
}

/* ── MOBILE HEADER ── */
.mob-header {
    display: none;
    background: var(--dark);
    padding: 9px 12px;
    gap: 10px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.mob-logo {
    font-family: "Hind Siliguri", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.mob-logo span {
    color: #fff;
}

.mob-search {
    flex: 1;
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

.mob-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 7px 10px;
    font-size: 13px;
    min-width: 0;
}

.mob-search button {
    background: var(--primary);
    border: none;
    padding: 0 12px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}

.mob-cart {
    color: #fff;
    font-size: 21px;
    position: relative;
    flex-shrink: 0;
}

.mob-cbadge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
}

/* ── RESPONSIVE SHOW/HIDE ── */
@media (max-width: 991px) {
    .topbar,
    .dsk-header,
    .dsk-nav {
        display: none !important;
    }

    .mob-header {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .mob-header {
        display: none !important;
    }

    .mob-bottom-nav {
        display: none !important;
    }
}

/* ── MOBILE DRAWER ── */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5000;
}

.drawer-overlay.open {
    display: block;
}

.drawer {
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 285px;
    background: #fff;
    z-index: 5100;
    overflow-y: auto;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.open {
    left: 0;
}

.drawer-head {
    background: var(--dark);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-logo {
    font-family: "Hind Siliguri", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.d-logo span {
    color: #fff;
}

.d-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.d-search {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.d-search .inner {
    display: flex;
    border: 1.5px solid var(--primary);
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
}

.d-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 13px;
    background: transparent;
    min-width: 0;
}

.d-search button {
    background: var(--primary);
    border: none;
    padding: 0 14px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.d-sec {
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    padding: 10px 16px 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.d-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}

.d-item:hover {
    background: #fff8ee;
    color: var(--primary);
}

.d-item .arr {
    font-size: 11px;
    color: #bbb;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.d-item.sub-open .arr {
    transform: rotate(90deg);
}

.d-sub {
    display: none;
    background: #f5f5f5;
}

.d-item.sub-open + .d-sub {
    display: block;
}

.d-sub a {
    display: block;
    padding: 10px 28px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #ebebeb;
}

.d-sub a:hover {
    color: var(--primary);
    background: #fff8ee;
}

.drawer-foot {
    padding: 14px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.drawer-foot a {
    flex: 1;
    text-align: center;
    padding: 9px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.d-login {
    background: var(--primary);
    color: #fff !important;
}

.d-reg {
    background: #f0f0f0;
    color: #333 !important;
    border: 1px solid #ddd;
}

/* ── TICKER ── */
.ticker-bar {
    background: var(--primary);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 7px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-inner {
    display: inline-block;
    animation: tick 28s linear infinite;
}

@keyframes tick {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ── SIDEBAR ── */
.sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-hd {
    background: var(--primary);
    color: #fff;
    padding: 11px 14px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #333;
    transition: background 0.15s, color 0.15s;
}

.sidebar a:hover {
    background: #fff8ee;
    color: var(--primary);
}

.sidebar a i {
    font-size: 10px;
    color: #ccc;
}

/* ── HERO CAROUSEL ── */
.hero-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 24px 20px;
    height: 190px;
}

@media (min-width: 576px) {
    .hero-slide {
        height: 250px;
    }
}

@media (min-width: 768px) {
    .hero-slide {
        height: 330px;
    }
}

@media (min-width: 992px) {
    .hero-slide {
        height: 375px;
    }
}

.hero-slide .ico {
    font-size: clamp(30px, 6vw, 54px);
}

.hero-slide h2 {
    font-size: clamp(16px, 4vw, 36px);
    font-weight: 700;
    margin: 6px 0 4px;
}

.hero-slide p {
    font-size: clamp(11px, 2vw, 17px);
    color: #ddd;
    margin-bottom: 12px;
}

.sl1 {
    background: linear-gradient(135deg, #0f3460, #16213e);
}

.sl2 {
    background: linear-gradient(135deg, #1a1a2e, #2d1b69);
}

.sl3 {
    background: linear-gradient(135deg, #0d1b2a, #1b3a4a);
}

.carousel-control-prev,
.carousel-control-next {
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ── PROMO BANNERS ── */
.promo {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 105px;
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

@media (min-width: 576px) {
    .promo {
        height: 125px;
    }
}

@media (min-width: 768px) {
    .promo {
        height: 148px;
    }
}

.promo:hover {
    transform: scale(1.015);
}

.promo h4 {
    color: #fff;
    font-size: clamp(13px, 3vw, 18px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.promo p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    margin: 2px 0 0;
}

.promo .pio {
    position: absolute;
    right: 14px;
    bottom: 8px;
    font-size: clamp(34px, 8vw, 58px);
    opacity: 0.2;
}

.p1 {
    background: linear-gradient(135deg, #1a1a2e, #e94560);
}

.p2 {
    background: linear-gradient(135deg, #0f3460, #533483);
}

.p3 {
    background: linear-gradient(135deg, #16213e, #1a7a4a);
}

/* ── SECTION ── */
.sec {
    margin-top: 22px;
}

.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 8px;
    flex-wrap: wrap;
}

.sec-title {
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 8px;
}

.sec-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.viewall {
    font-size: 12px;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 4px 12px;
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
}

.viewall:hover {
    background: var(--primary);
    color: #fff;
}

/* ── FEATURE BOXES ── */
.feat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 13px 8px;
    text-align: center;
}

.feat-box i {
    font-size: clamp(22px, 5vw, 30px);
    color: var(--primary);
    display: block;
    margin-bottom: 7px;
}

.feat-box h6 {
    font-size: clamp(11px, 2.5vw, 13px);
    font-weight: 700;
    margin-bottom: 3px;
}

.feat-box p {
    font-size: 10px;
    color: var(--muted);
    margin: 0;
    display: none;
}

@media (min-width: 576px) {
    .feat-box p {
        display: block;
    }
}

/* ── PRODUCT CARD ── */
.pcard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.pcard:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.pimg {
    position: relative;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .pimg {
        height: 155px;
    }
}

@media (min-width: 992px) {
    .pimg {
        height: 170px;
    }
}

.pimg .emo {
    font-size: clamp(42px, 9vw, 62px);
    transition: transform 0.3s;
}

.pcard:hover .emo {
    transform: scale(1.08);
}

.pbadge {
    position: absolute;
    top: 7px;
    left: 7px;
    background: var(--sale);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
}

.pbadge.new {
    background: #38a169;
}

.pbody {
    padding: 9px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pname {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

@media (min-width: 576px) {
    .pname {
        font-size: 13px;
    }
}

.pprice {
    font-size: 14px;
    font-weight: 700;
    color: #c05800;
}

@media (min-width: 576px) {
    .pprice {
        font-size: 15px;
    }
}

.pold {
    font-size: 11px;
    color: #aaa;
    text-decoration: line-through;
    margin-left: 5px;
}

.pfoot {
    padding: 8px 10px;
    border-top: 1px solid #f5f5f5;
    display: flex;
    gap: 6px;
}

.btnadd {
    flex: 1;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 7px 4px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s;
}

.btnadd:hover {
    background: var(--pdark);
}

@media (min-width: 576px) {
    .btnadd {
        font-size: 12px;
    }
}

.btnwish {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #888;
    padding: 7px 9px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btnwish:hover,
.btnwish.on {
    background: #ffe0e0;
    color: #e53e3e;
    border-color: #e53e3e;
}

/* ── TABS ── */
.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

@media (min-width: 576px) {
    .tab-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background: #fff8ee;
    color: var(--primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ── BRANDS ── */
.brand-row {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.brand-row::-webkit-scrollbar {
    height: 4px;
}

.brand-row::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.brand-pill {
    min-width: 88px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

@media (min-width: 576px) {
    .brand-pill {
        min-width: 105px;
        font-size: 13px;
    }
}

.brand-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ── COUNTDOWN ── */
.cdown {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cblock {
    background: var(--dark);
    color: #fff;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .cblock {
        font-size: 14px;
        min-width: 36px;
    }
}

.cblock small {
    font-size: 8px;
    display: block;
    font-weight: 400;
    color: #aaa;
}

.csep {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* ── NEWSLETTER ── */
.newsletter {
    background: var(--primary);
    padding: 22px 0;
}

.newsletter h5 {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.newsletter p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.nl-form {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    max-width: 420px;
    margin-top: 12px;
    width: 100%;
}

.nl-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 13px;
    min-width: 0;
}

.nl-form button {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* ── FOOTER ── */
footer {
    background: var(--darker);
    color: #aaa;
    padding-top: 32px;
    padding-bottom: 72px;
}

@media (min-width: 992px) {
    footer {
        padding-bottom: 32px;
    }
}

.f-logo {
    font-family: "Hind Siliguri", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.f-logo span {
    color: #fff;
}

.ftitle {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: #aaa;
    font-size: 13px;
    display: block;
    margin-bottom: 7px;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary);
}

.soc-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.soc {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 13px;
    transition: all 0.2s;
}

.soc:hover {
    background: var(--primary);
    color: #fff;
}

.pay-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pay {
    background: #fff;
    padding: 3px 9px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #333;
}

.f-bottom {
    background: #000;
    text-align: center;
    padding: 11px;
    font-size: 11px;
    color: #555;
    margin-top: 28px;
}

/* ── MOBILE BOTTOM NAV ── */
.mob-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 2px solid var(--primary);
    z-index: 1000;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}

.mbnav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    color: #aaa;
    font-size: 10px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
    position: relative;
}

.mbnav i {
    font-size: 18px;
    margin-bottom: 2px;
}

.mbnav:hover,
.mbnav.on {
    color: var(--primary);
}

.mbbadge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
