/* Category-wise Indian beauty banners — clean theme, no flat color blocks */

/* Exclusive offer — premium AI banner */
.imbms-exclusive-offer-area {
    background: var(--imbms-surface, #fff);
}

.imbms-exclusive-offer-banner {
    background-image: url('/img/banner/exclusive-offer.jpg');
    background-position: center center;
    background-size: cover;
    border-radius: 8px;
    min-height: 320px;
    overflow: hidden;
    position: relative;
}

.imbms-exclusive-offer-banner::before {
    background: linear-gradient(
        90deg,
        rgba(255, 63, 108, 0.72) 0%,
        rgba(255, 63, 108, 0.45) 45%,
        rgba(40, 44, 63, 0.25) 100%
    );
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.imbms-exclusive-offer-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    min-height: 320px;
    padding: 48px 24px;
    position: relative;
    z-index: 1;
}

.imbms-exclusive-offer-eyebrow {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Assistant', sans-serif;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 0;
    max-width: 720px;
}

.imbms-exclusive-offer-headline {
    color: #fff;
    font-family: 'Assistant', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0;
    max-width: 760px;
    text-shadow: 0 2px 12px rgba(40, 44, 63, 0.2);
}

.imbms-exclusive-offer-cta {
    background: #fff;
    border-radius: 4px;
    color: #ff3f6c !important;
    display: inline-block;
    font-family: 'Assistant', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-top: 8px;
    padding: 12px 28px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.imbms-exclusive-offer-cta:hover {
    background: #fff0f3;
    color: #e5385f !important;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .imbms-exclusive-offer-banner,
    .imbms-exclusive-offer-content {
        min-height: 260px;
    }

    .imbms-exclusive-offer-content {
        padding: 36px 16px;
    }

    .imbms-exclusive-offer-cta {
        font-size: 12px;
        padding: 10px 22px;
    }
}


.imbms-beauty-home {
    background: var(--imbms-page-bg, #f5f5f6);
    padding-bottom: 4px;
}

/* Soft offer strip (not full blue block) */
.imbms-offer-pill {
    background: #fff;
    border-bottom: 1px solid #eaeaec;
    padding: 10px 24px;
}

.imbms-offer-pill-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1400px;
}

.imbms-offer-pill-inner strong {
    color: #ff3f6c;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.imbms-offer-pill-inner span {
    color: #696b79;
    font-size: 13px;
    font-weight: 600;
}

.imbms-offer-pill-inner a {
    background: #ff3f6c;
    border-radius: 2px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.imbms-offer-pill-inner a:hover {
    background: #e5385f;
}

/* Hero carousel — beauty photo banners */
/* Hero + banners share site page background */
.imbms-beauty-hero {
    background: var(--imbms-page-bg, #f5f5f6);
    padding: 12px 24px 0;
}

.imbms-beauty-hero .slider-area {
    border-radius: 8px;
    margin: 0 auto;
    max-width: 1400px;
    overflow: visible;
    position: relative;
}

.imbms-beauty-hero .owl-stage-outer {
    border-radius: 8px;
    max-height: none;
    overflow: hidden;
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel {
    position: relative;
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav {
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 12;
}

.imbms-beauty-hero .owl-carousel,
.imbms-beauty-hero .owl-stage-outer,
.imbms-beauty-hero .owl-item {
    border-radius: 8px;
}

/* Carousel height follows slide — no extra empty space below banner */
.imbms-beauty-hero .slider-area,
.imbms-beauty-hero .slider-area .owl-carousel,
.imbms-beauty-hero .slider-area .owl-stage-outer,
.imbms-beauty-hero .slider-area .owl-stage,
.imbms-beauty-hero .slider-area .owl-item {
    height: auto !important;
}

.imbms-beauty-hero .owl-carousel .owl-item {
    min-height: 0 !important;
}

.imbms-beauty-slide {
    background-color: #f0f0f0;
    border-radius: 8px;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.imbms-beauty-slide-img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    width: 100%;
}

.imbms-beauty-slide::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 28%,
        rgba(255, 255, 255, 0.15) 55%,
        rgba(255, 255, 255, 0) 72%
    );
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.imbms-beauty-slide-content {
    bottom: 0;
    left: 0;
    max-width: 420px;
    padding: 32px 36px;
    position: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imbms-beauty-tag {
    color: #ff3f6c;
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.imbms-beauty-slide-content h2 {
    color: #282c3f;
    font-family: 'Assistant', sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px;
}

.imbms-beauty-slide-content p {
    color: #696b79;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 18px;
}

.imbms-beauty-cta {
    align-self: flex-start;
    background: #ff3f6c;
    border-radius: 2px;
    color: #fff !important;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

.imbms-beauty-cta:hover {
    background: #e5385f;
    color: #fff !important;
}

.imbms-beauty-hero .slider-active.owl-carousel > .owl-nav div,
.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav div {
    align-items: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 12px rgba(40, 44, 63, 0.12);
    display: flex !important;
    height: 40px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: 1 !important;
    overflow: hidden;
    padding: 0 !important;
    pointer-events: auto;
    position: absolute !important;
    text-align: center !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav div i {
    display: block;
    font-size: 22px;
    line-height: 1;
    margin: 0;
    padding: 0;
    position: static;
    text-align: center;
    width: 1em;
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav .owl-prev i {
    transform: translateX(-1px);
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav .owl-next i {
    transform: translateX(1px);
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav .owl-prev {
    left: 16px !important;
    right: auto !important;
}

.imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav .owl-next {
    left: auto !important;
    right: 16px !important;
}

.imbms-beauty-hero .owl-dots {
    margin: 0;
    padding: 8px 0 2px;
    position: relative;
    z-index: 3;
}

.imbms-beauty-hero .owl-dot {
    background: rgba(255, 255, 255, 0.6) !important;
}

.imbms-beauty-hero .owl-dot.active {
    background: #ff3f6c !important;
}

/* Category banner grid */
.imbms-cat-banners {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 auto;
    max-width: 1400px;
    padding: 8px 24px 8px;
}

.imbms-cat-banner {
    border-radius: 8px;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.imbms-cat-banner:hover {
    box-shadow: 0 8px 24px rgba(40, 44, 63, 0.12);
    text-decoration: none;
    transform: translateY(-2px);
}

.imbms-cat-banner img {
    display: block;
    height: 180px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
}

.imbms-cat-banner-label {
    background: linear-gradient(0deg, rgba(40, 44, 63, 0.75) 0%, transparent 100%);
    bottom: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    left: 0;
    letter-spacing: 0.3px;
    padding: 24px 12px 10px;
    position: absolute;
    right: 0;
    text-align: center;
    text-transform: uppercase;
}

.imbms-beauty-hero .owl-item:not(.active) .imbms-beauty-slide-content {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Don't apply old dark hero overlay to beauty slides */
.imbms-beauty-slide::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 28%,
        rgba(255, 255, 255, 0.15) 55%,
        rgba(255, 255, 255, 0) 72%
    ) !important;
}
.myntra-home .myntra-hero-wrap,
.myntra-home .myntra-hero-ticker,
.myntra-home .myntra-offers-strip {
    display: none !important;
}

.myntra-hero-wrap {
    background: transparent !important;
}

/* Category shortcut circles — use beauty crops */
.imbms-cat-shortcut-icon {
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(40, 44, 63, 0.08);
    overflow: hidden;
}

.imbms-cat-shortcut-icon img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.imbms-cat-shortcuts {
    background: var(--imbms-page-bg, #f5f5f6);
    border-bottom: none;
    margin-bottom: 0;
    padding: 8px 0 16px;
}

/* Mobile */
@media (max-width: 991px) {
    .imbms-beauty-hero {
        margin-bottom: 0;
        padding: 8px 12px 0;
    }

    .imbms-beauty-hero .slider-area {
        margin-bottom: 0;
    }

    .imbms-beauty-hero .slider-area .owl-carousel .owl-item {
        min-height: 0 !important;
    }

    .imbms-beauty-hero .owl-stage-outer {
        height: auto !important;
    }

    .imbms-beauty-slide {
        aspect-ratio: unset;
        display: block;
        min-height: 0;
    }

    .imbms-beauty-slide-img {
        height: auto;
        inset: auto;
        max-height: none;
        min-height: 0;
        object-fit: cover;
        position: relative;
        width: 100%;
    }

    .imbms-beauty-slide::before {
        display: none;
    }

    .imbms-beauty-slide-content {
        background: #fff;
        justify-content: flex-start;
        max-width: none;
        padding: 14px 16px 16px;
        position: relative;
        top: auto;
        height: auto;
    }

    .imbms-beauty-slide-content h2 {
        font-size: 20px;
    }

    .imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav div {
        height: 36px !important;
        width: 36px !important;
    }

    .imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav div i {
        font-size: 20px;
    }

    .imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav .owl-prev {
        left: 10px !important;
    }

    .imbms-beauty-hero .imbms-beauty-slider.owl-carousel > .owl-nav .owl-next {
        right: 10px !important;
    }

    .imbms-cat-banners {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
        padding: 6px 12px 4px;
    }

    .imbms-cat-banner img {
        height: 120px;
    }
}

@media (max-width: 575px) {
    .imbms-cat-banners {
        gap: 8px;
        padding-top: 4px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .imbms-cat-banners {
        grid-template-columns: repeat(3, 1fr);
    }
}
