.glamour-home-hero {
    --glamour-hero-side-padding: clamp(0.875rem, 1.5vw, 1.5rem);
    --glamour-hero-max-width: min(1760px, calc(100vw - 2.5rem));
    --glamour-hero-height: clamp(460px, 42vw, 560px);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--glamour-hero-max-width);
    margin-inline: auto;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-inline: var(--glamour-hero-side-padding);
    box-sizing: border-box;
}

.glamour-home-hero__grid {
    display: grid;
    gap: 1.25rem;
    align-items: stretch;
    min-height: var(--glamour-hero-height);
}

.glamour-home-hero__grid--with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.glamour-home-hero__slider {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.12);
    min-height: var(--glamour-hero-height);
    height: 100%;
}

.glamour-home-hero__slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    pointer-events: none;
    z-index: 1;
}

.glamour-home-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    z-index: 0;
}

.glamour-home-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.glamour-home-hero__slide img {
    width: 100%;
    height: 100%;
    min-height: var(--glamour-hero-height);
    object-fit: cover;
    display: block;
}

.glamour-home-hero__slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.glamour-home-hero__controls {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.glamour-home-hero__controls .glamour-home-hero__nav,
.glamour-home-hero__controls .glamour-home-hero__dot {
    pointer-events: auto;
}

.glamour-home-hero__nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.glamour-home-hero__nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.glamour-home-hero__nav--prev {
    left: 1rem;
}

.glamour-home-hero__nav--next {
    right: 1rem;
}

.glamour-home-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    z-index: 1;
    transform: translateX(-50%);
    pointer-events: auto;
    display: flex;
    gap: 0.5rem;
}

.glamour-home-hero__dot {
    width: 2rem;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.glamour-home-hero__dot.is-active {
    width: 2.75rem;
    background: #0d9488;
}

.glamour-home-hero__highlights {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: linear-gradient(165deg, #ffffff 0%, #f8f6f4 100%);
    border: 1px solid #e8e4df;
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.06);
    padding: 1.5rem 1.35rem 1.15rem;
    min-height: var(--glamour-hero-height);
    height: 100%;
}

.glamour-home-hero__highlights-head {
    margin-bottom: 1rem;
}

.glamour-home-hero__highlights-title {
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    text-transform: none;
}

.glamour-home-hero__highlights-line {
    display: block;
    margin-top: 0.65rem;
    height: 1px;
    background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%);
    opacity: 0.2;
}

.glamour-home-hero__highlights-panels {
    position: relative;
    flex: 1;
    min-height: 220px;
    overflow: hidden;
}

.glamour-home-hero__highlight-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 0;
}

.glamour-home-hero__highlight-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

@keyframes glamourHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glamour-home-hero__highlight-image-wrap {
    display: block;
    flex: 1 1 auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    min-height: 220px;
    aspect-ratio: 1 / 1.05;
}

.glamour-home-hero__highlight-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
}

.glamour-home-hero__highlight-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.glamour-home-hero__highlight-name {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    color: #374151;
}

.glamour-home-hero__highlight-name a {
    color: inherit;
    text-decoration: none;
}

.glamour-home-hero__highlight-name a:hover {
    color: #1a1a1a;
}

.glamour-home-hero__highlight-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.65rem;
}

.glamour-home-hero__price-final {
    font-family: Poppins, sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #8b1538;
    letter-spacing: -0.02em;
}

.glamour-home-hero__price-regular {
    font-family: Poppins, sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: line-through;
}

.glamour-home-hero__discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    background: #8b1538;
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.glamour-home-hero__highlight-cta {
    margin-top: auto;
    align-self: flex-start;
    font-family: Poppins, sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.glamour-home-hero__highlight-cta:hover {
    opacity: 0.65;
}

.glamour-home-hero__highlight-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
}

.glamour-home-hero__highlight-dots .glamour-home-hero__dot {
    background: #d4d4d8;
}

.glamour-home-hero__highlight-dots .glamour-home-hero__dot.is-active {
    background: #8b1538;
}

@media (max-width: 1024px) {
    .glamour-home-hero {
        --glamour-hero-max-width: min(100%, calc(100vw - 2rem));
        --glamour-hero-height: auto;
    }

    .glamour-home-hero__grid {
        min-height: 0;
        align-items: start;
    }

    .glamour-home-hero__grid--with-sidebar {
        grid-template-columns: 1fr;
    }

    .glamour-home-hero__slider {
        min-height: 0;
        height: auto;
        overflow: hidden;
    }

    .glamour-home-hero__slider-track {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .glamour-home-hero__slide {
        position: absolute;
        inset: auto;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
    }

    .glamour-home-hero__slide.is-active {
        position: relative;
    }

    .glamour-home-hero__slide img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
        display: block;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights {
        min-height: auto;
        height: auto;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights-panels {
        flex: none;
        min-height: 0;
        overflow: visible;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-panel {
        position: relative;
        inset: auto;
        height: auto;
        display: none;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-panel.is-active {
        display: flex;
    }
}

@media (max-width: 640px) {
    .glamour-home-hero {
        margin-top: 1rem;
        margin-bottom: 1.75rem;
        padding-inline: 0;
        --glamour-hero-max-width: 100%;
        --glamour-hero-height: auto;
    }

    .glamour-home-hero__slider {
        border-radius: 0;
        box-shadow: none;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights {
        margin-inline: 1rem;
        min-height: 0;
        padding-bottom: 1.35rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights-panels {
        min-height: 320px;
    }

    .glamour-home-hero__highlight-image-wrap {
        min-height: 200px;
        max-height: 260px;
        flex: 0 0 auto;
        aspect-ratio: auto;
    }

    .glamour-home-hero__nav {
        width: 2rem;
        height: 2rem;
        font-size: 1.25rem;
    }
}
