/* Myntra-exact layout — header, search, homepage promos */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700;800&display=swap');

:root {
    --myntra-pink: #ff3f6c;
    --myntra-text: #282c3f;
    --myntra-muted: #696b79;
    --myntra-border: #eaeaec;
    --myntra-search-bg: #f5f5f6;
    --myntra-blue: #0478c5;
}

body,
.imbms-header,
.product-area,
.slider-banner-area {
    font-family: 'Assistant', 'Overpass', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ── Slim top strip (FSSAI) — scrolling marquee ── */
.imbms-announce {
    background: #fff;
    border-bottom: 1px solid var(--myntra-border);
    color: #535766;
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    padding: 8px 0;
}

.imbms-announce-marquee {
    overflow: hidden;
    width: 100%;
}

.imbms-announce-track {
    align-items: center;
    animation: imbms-announce-scroll 28s linear infinite;
    display: inline-flex;
    flex-shrink: 0;
    gap: 32px;
    padding-left: 100%;
    padding-right: 32px;
    white-space: nowrap;
    will-change: transform;
}

@keyframes imbms-announce-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.imbms-announce .fssai-badge {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    white-space: nowrap;
}

.imbms-announce .fssai-badge img {
    height: 32px;
    width: auto;
}

.imbms-announce .announce-text {
    flex-shrink: 0;
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
}

.imbms-announce-inner {
    justify-content: flex-start;
    max-width: none;
    padding: 0 24px;
}

/* ── Main header bar — Myntra single row ── */
.imbms-header {
    box-shadow: none;
}

.imbms-header-main {
    border-bottom: 1px solid var(--myntra-border);
    box-shadow: none;
    padding: 0 !important;
}

.imbms-header-container {
    max-width: none;
    padding: 0 24px;
}

.imbms-myntra-bar {
    align-items: center;
    display: flex;
    gap: 0;
    height: 80px;
    min-height: 80px;
}

.imbms-logo {
    margin-right: 28px;
}

.imbms-logo img {
    height: 50px;
    max-width: 155px;
}

/* Inline category nav — like MEN WOMEN KIDS */
.imbms-top-nav {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.imbms-top-nav li {
    position: relative;
}

.imbms-top-nav a,
.imbms-top-nav button {
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--myntra-text);
    cursor: pointer;
    display: block;
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin: 0 2px;
    padding: 26px 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.imbms-top-nav a:hover,
.imbms-top-nav button:hover {
    background: #fff0f3;
    color: var(--myntra-pink);
}

.imbms-top-nav .nav-badge-new {
    background: var(--myntra-pink);
    border-radius: 2px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    left: 50%;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 2px 4px;
    position: absolute;
    top: 14px;
    transform: translateX(-50%);
}

/* Search — icon left, wide gray bar */
.imbms-header .imbms-search-wrap.imbms-search-desktop {
    flex: 1 1 auto;
    margin: 0 40px 0 24px;
    max-width: none;
}

.imbms-header .imbms-search-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: var(--myntra-search-bg) !important;
    border: none !important;
    border-radius: 4px;
    height: 40px;
    overflow: visible;
    position: relative;
}

.imbms-header .imbms-search-form:focus-within {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(40, 44, 63, 0.08);
}

.imbms-search-icon {
    align-items: center;
    color: var(--myntra-muted);
    cursor: pointer;
    display: flex !important;
    flex: none !important;
    font-size: 16px;
    height: auto !important;
    justify-content: center;
    left: 12px;
    line-height: 1 !important;
    padding: 0 !important;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    z-index: 2;
}

.imbms-header .imbms-search-form input {
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
}

.imbms-header .imbms-search-icon + input {
    padding-left: 38px !important;
}

.imbms-header .imbms-search-form button[type="submit"] {
    display: none !important;
}

/* Actions — Profile, Wishlist, Bag */
.imbms-header-actions {
    gap: 8px;
}

.imbms-action-item > a,
.imbms-action-item .imbms-action-link,
.imbms-header .header-cart > a {
    gap: 4px;
    padding: 4px 14px;
}

.imbms-action-label,
.imbms-header .header-cart .cart-text .digit {
    display: block !important;
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.imbms-header .header-cart .cart-text #amt {
    display: none !important;
}

.imbms-header .header-cart .cart-text .digit::after {
    content: none;
}

.imbms-action-item i,
.imbms-header .header-cart > a .cart-icon i {
    font-size: 20px;
}

.imbms-header .imbms-action-help {
    display: none;
}

/* Hide old second category row on desktop */
@media (min-width: 992px) {
    .imbms-cat-nav.imbms-cat-nav-desktop-row {
        display: none !important;
    }

    .imbms-top-nav {
        display: flex !important;
    }

    .imbms-menu-btn {
        display: none !important;
    }

    .imbms-myntra-bar {
        display: flex !important;
        height: 80px;
    }

    .imbms-cart-amt {
        display: none !important;
    }
}

.imbms-myntra-bar {
    align-items: center;
    display: flex;
    gap: 0;
    min-height: 56px;
}

.imbms-top-nav {
    display: none;
}

/* Mobile header */
@media (max-width: 991px) {
    .imbms-myntra-bar {
        gap: 8px;
        height: 56px;
    }

    .imbms-header-container {
        padding: 0 12px;
    }

    .imbms-logo img {
        height: 36px;
        max-width: 110px;
    }

    .imbms-logo {
        margin-right: auto;
    }

    .imbms-action-label,
    .imbms-header .header-cart .cart-text .digit,
    .imbms-cart-amt {
        display: none !important;
    }

    .imbms-header .shopping-cart-content {
        display: none !important;
    }
}

/* ── Homepage Myntra promos ── */
.myntra-home {
    background: #fff;
}

.myntra-coupon-banner {
    background: linear-gradient(90deg, #0478c5 0%, #0369b0 100%);
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.myntra-coupon-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 100%;
    padding: 18px 32px;
}

.myntra-coupon-left {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.myntra-coupon-right {
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 600;
    line-height: 1.4;
    max-width: 280px;
    text-align: right;
}

.myntra-coupon-banner::before,
.myntra-coupon-banner::after {
    border: 2px dashed rgba(255, 255, 255, 0.35);
    bottom: 8px;
    content: "";
    position: absolute;
    top: 8px;
    width: 12px;
}

.myntra-coupon-banner::before {
    border-left: none;
    border-radius: 0 8px 8px 0;
    left: 0;
}

.myntra-coupon-banner::after {
    border-radius: 8px 0 0 8px;
    border-right: none;
    right: 0;
}

/* Full-width hero */
.myntra-hero-wrap {
    background: #0478c5;
    overflow: hidden;
    position: relative;
}

.myntra-hero-wrap .slider-area {
    margin: 0;
}

.myntra-hero-wrap .single-slider.bg-img {
    border-radius: 0;
    min-height: 420px;
}

.myntra-hero-wrap .single-slider.bg-img::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.35) 100%);
}

.myntra-hero-badge {
    background: #fff;
    border: 2px solid #03a685;
    border-radius: 4px;
    color: #03a685;
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding: 6px 12px;
    text-transform: uppercase;
}

.myntra-hero-off {
    color: #fff;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin: 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.myntra-hero-sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 20px;
}

.myntra-hero-ticker {
    background: var(--myntra-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    overflow: hidden;
    padding: 8px 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.myntra-hero-ticker span {
    animation: myntra-ticker 18s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes myntra-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Bank / partner strip */
.myntra-offers-strip {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--myntra-border);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 14px 24px;
}

.myntra-offers-strip img {
    height: 28px;
    object-fit: contain;
    width: auto;
}

.myntra-offers-strip p {
    color: var(--myntra-text);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.myntra-offers-strip small {
    color: var(--myntra-muted);
    font-size: 10px;
}

/* Hide old desktop side banners — full width hero like Myntra */
@media (min-width: 992px) {
    .slider-banner-area.mobile-hide {
        display: none !important;
    }
}

/* Category circles row */
.imbms-cat-shortcuts {
    border-bottom: 1px solid var(--myntra-border);
    margin-bottom: 0;
    padding: 20px 0 16px;
}

/* Product sections — full bleed white */
.product-area {
    border-bottom: 1px solid var(--myntra-border);
    margin-bottom: 0;
}

p.section-title.section-bg-white {
    font-family: 'Assistant', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Side offer tab — hidden; wtsapp2 floating button is used instead */
.myntra-side-tab {
    display: none !important;
}

@media (max-width: 767px) {
    .myntra-coupon-inner {
        flex-direction: column;
        gap: 8px;
        padding: 14px 20px;
        text-align: center;
    }

    .myntra-coupon-right {
        max-width: none;
        text-align: center;
    }

    .myntra-hero-wrap .single-slider.bg-img {
        min-height: 240px;
    }
}
