.glamour-home-hero {
    --glamour-hero-side-padding: clamp(0.5rem, 0.9vw, 1rem);
    --glamour-hero-max-width: min(1920px, calc(100vw - 1rem));
    --glamour-hero-height: auto;
    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: start;
    min-height: 0;
}

.glamour-home-hero__grid--with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(252px, min(19vw, 300px));
    gap: clamp(0.75rem, 1.35vw, 1.25rem);
}

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

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

.glamour-home-hero__slide {
    display: none;
    width: 100%;
    text-decoration: none;
    color: inherit;
    line-height: 0;
}

.glamour-home-hero__slide.is-active {
    display: block;
    pointer-events: auto;
}

.glamour-home-hero__slide-img {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
    vertical-align: top;
}

.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: 30;
    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: 21;
    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: clamp(0.65rem, 1vw, 1rem) clamp(0.6rem, 0.9vw, 0.95rem) clamp(0.55rem, 0.85vw, 0.85rem);
    min-height: 0;
    height: auto;
    align-self: start;
    width: 100%;
    max-width: none;
    font-size: clamp(0.75rem, 0.85vw, 0.875rem);
}

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

.glamour-home-hero__highlights-title {
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    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: 0 1 auto;
    min-height: 0;
    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: 0 0 auto;
    margin-bottom: 0.65rem;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    min-height: 0;
    max-height: clamp(120px, 16vw, 190px);
    aspect-ratio: 1 / 1.05;
}

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

.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__grid--with-sidebar .glamour-home-hero__highlight-name {
    font-size: 0.72rem;
    line-height: 1.35;
}

.glamour-home-hero__grid--with-sidebar .glamour-home-hero__price-final {
    font-size: clamp(1rem, 1.15vw, 1.2rem);
}

.glamour-home-hero__grid--with-sidebar .glamour-home-hero__installment {
    font-size: 0.65rem;
}

.glamour-home-hero__installment {
    min-width: 0;
    max-width: 100%;
}

.glamour-home-hero__installment .glamour-installment-banner {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (min-width: 1025px) {
    .glamour-home-hero {
        --glamour-hero-max-width: min(1920px, calc(100vw - 0.75rem));
        --glamour-hero-side-padding: clamp(0.375rem, 0.65vw, 0.75rem);
    }

    /* Yükseklik = görselin doğal oranı (zoom / cover yok). */
    .glamour-home-hero__grid--with-sidebar {
        align-items: stretch;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__slider {
        height: auto;
        max-height: none;
        min-height: 0;
        display: block;
        line-height: 0;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__slider-track {
        height: auto;
        min-height: 0;
        display: block;
        position: relative;
        line-height: 0;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__slide.is-active {
        display: block;
        width: 100%;
        height: auto;
        line-height: 0;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__slide-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights {
        height: auto;
        min-height: 100%;
        max-height: none;
        max-width: min(19vw, 300px);
        align-self: stretch;
        display: flex;
        flex-direction: column;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights-head {
        flex-shrink: 0;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights-panels {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .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;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        opacity: 1;
        visibility: visible;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-image-wrap {
        flex: 1 1 auto;
        min-height: 72px;
        max-height: none;
        aspect-ratio: auto;
        margin-bottom: 0.5rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-image-wrap img {
        padding: 0.25rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-body {
        flex: 0 0 auto;
        gap: 0.5rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-dots {
        flex-shrink: 0;
        margin-top: auto;
    }
}

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

.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:not(.is-active) {
        display: none;
    }

    .glamour-home-hero__slide.is-active {
        display: block;
    }

    .glamour-home-hero {
        overflow-x: clip;
    }

    .glamour-home-hero__highlights,
    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights {
        max-width: 100%;
        width: 100%;
        align-self: stretch;
        box-sizing: border-box;
        min-width: 0;
    }

    .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: hidden;
        max-width: 100%;
    }

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

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-panel.is-active {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-image-wrap {
        flex: 0 1 36%;
        width: auto;
        max-width: 36%;
        min-width: 0;
        max-height: none;
        min-height: 0;
        margin-bottom: 0;
        aspect-ratio: auto;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-image-wrap img {
        width: 100%;
        height: auto;
        max-height: 11rem;
        object-fit: contain;
        padding: 0.25rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-body {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.5rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-name {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__price-final {
        font-size: 1.25rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__installment {
        font-size: 0.625rem;
        line-height: 1.35;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__installment .glamour-installment-banner {
        padding: 0.35rem 0.4rem;
        font-size: inherit;
        line-height: inherit;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-prices {
        gap: 0.35rem 0.5rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__price-final {
        font-size: 1.125rem;
        overflow-wrap: anywhere;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-name a {
        overflow-wrap: anywhere;
    }
}

@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;
        width: auto;
        max-width: none;
        min-height: 0;
        padding: 0.85rem 0.75rem 1.15rem;
        border-radius: 10px;
    }

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

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-panel.is-active {
        flex-direction: row;
        gap: 0.65rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-image-wrap {
        flex: 0 1 34%;
        max-width: 34%;
        max-height: none;
        min-width: 0;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlight-image-wrap img {
        max-height: 10.5rem;
    }

    .glamour-home-hero__grid--with-sidebar .glamour-home-hero__highlights-title {
        font-size: 1.0625rem;
    }

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

.glamour-home-hero__nav:focus-visible,
.glamour-home-hero__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .glamour-home-hero__slide,
    .glamour-home-hero__highlight-panel,
    .glamour-home-hero__nav,
    .glamour-home-hero__dot {
        transition: none !important;
    }
}
