.glamour-category-brand-banner {
    position: relative;
    width: 100%;
    max-width: min(1760px, calc(100vw - 2rem));
    margin: 2rem auto 0;
    padding-inline: clamp(0.875rem, 2vw, 1.5rem);
    box-sizing: border-box;
}

.glamour-category-brand-banner__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: clamp(160px, 22vw, 280px);
    background: #111;
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.12);
}

.glamour-category-brand-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.glamour-category-brand-banner__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.glamour-category-brand-banner--carousel .glamour-category-brand-banner__slide.is-active {
    position: absolute;
}

.glamour-category-brand-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.glamour-category-brand-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.glamour-category-brand-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(160px, 22vw, 280px);
    padding-block: 1.5rem;
    gap: 0.65rem;
    max-width: min(720px, 85%);
}

.glamour-category-brand-banner__logo {
    display: block;
    max-width: min(220px, 55vw);
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.glamour-category-brand-banner__brand-text {
    margin: 0;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.glamour-category-brand-banner__slogan {
    margin: 0;
    font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.glamour-category-brand-banner__dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    z-index: 2;
    display: flex;
    gap: 0.45rem;
    transform: translateX(-50%);
}

.glamour-category-brand-banner__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.glamour-category-brand-banner__dot.is-active {
    width: 1.35rem;
    background: #fff;
}

.glamour-category-brand-banner__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.glamour-category-brand-banner__nav--prev {
    left: 0.75rem;
}

.glamour-category-brand-banner__nav--next {
    right: 0.75rem;
}

.glamour-category-brand-banner__nav:focus-visible,
.glamour-category-brand-banner__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .glamour-category-brand-banner__slide {
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .glamour-category-brand-banner {
        margin-top: 1rem;
    }

    .glamour-category-brand-banner__content {
        max-width: 100%;
    }

    .glamour-category-brand-banner__nav {
        display: none;
    }
}
