/* Self-contained premium hero — matches studionina.co split layout */

.slider-container-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.st-premium-hero {
    --st-premium-hero-height: calc(100svh - var(--header-height, 110px) - 24px);
    display: block;
    width: 100%;
    height: var(--st-premium-hero-height);
    min-height: var(--st-premium-hero-height);
    margin: 0;
    background: #f5f2ef;
    overflow: hidden;
}

.st-premium-hero__viewport {
    position: relative;
    width: 100%;
    height: var(--st-premium-hero-height);
    min-height: var(--st-premium-hero-height);
    overflow: hidden;
}

.st-premium-hero__track {
    display: flex;
    width: 100%;
    height: var(--st-premium-hero-height);
    min-height: var(--st-premium-hero-height);
    transition: transform 620ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.st-premium-hero__frame {
    display: flex !important;
    flex-direction: row !important;
    flex: 0 0 100%;
    width: 100%;
    height: var(--st-premium-hero-height);
    min-height: var(--st-premium-hero-height);
    align-items: stretch;
    gap: 0;
}

.st-premium-hero__visual {
    position: relative;
    flex: 0 0 60%;
    width: 60%;
    height: 100%;
    min-height: var(--st-premium-hero-height);
    overflow: hidden;
    background: #17110d;
}

.st-premium-hero__slide {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: var(--st-premium-hero-height);
    overflow: hidden;
}

.st-premium-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: var(--st-premium-hero-height);
    object-fit: cover;
    object-position: center center;
}

.st-premium-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.12) 78%, rgba(0, 0, 0, 0.28) 100%);
    pointer-events: none;
}

.st-premium-hero__content {
    position: absolute;
    z-index: 12;
    left: clamp(28px, 3vw, 52px);
    bottom: clamp(56px, 7vw, 96px);
    max-width: 460px;
    color: #fff;
}

.st-premium-hero__title {
    margin: 0;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3.2vw, 52px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.st-premium-hero__button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
    color: #fff !important;
    background: transparent;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.st-premium-hero__button:hover {
    color: #fff !important;
    border-bottom-color: #fff;
    text-decoration: none !important;
}

.st-premium-hero__slider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.st-premium-hero__slider-arrow {
    width: 18px;
    height: 18px;
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    font-size: 22px;
    font-weight: 200;
    line-height: 16px;
    cursor: pointer;
}

.st-premium-hero__slider-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.st-premium-hero__slider-dot {
    display: block;
    width: 5px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
}

.st-premium-hero__slider-dot.is-active {
    width: 22px;
    background: rgba(255, 255, 255, 0.94);
}

.st-premium-hero__product {
    position: relative;
    z-index: 3;
    flex: 0 0 40%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f4f1ee;
    overflow: hidden;
    height: 100%;
    min-height: var(--st-premium-hero-height);
    pointer-events: auto;
}

.st-premium-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: clamp(34px, 4.2vw, 72px);
    border: 0;
    background: transparent;
    color: #171717;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    pointer-events: auto;
}

.st-premium-product-card:hover {
    color: #171717;
    text-decoration: none !important;
}

.st-premium-product-card:hover .st-premium-product-card__name {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.st-premium-product-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 570px;
    margin-bottom: 26px;
    padding: 42px 34px;
    background: transparent;
}

.st-premium-product-card__image {
    display: block;
    width: 100%;
    max-width: 275px;
    height: auto;
    object-fit: contain;
}

.st-premium-product-card__media.has-hover-image .st-premium-product-card__image--hover {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 275px;
    opacity: 0;
    transition: opacity 240ms ease;
}

.st-premium-product-card:hover .st-premium-product-card__media.has-hover-image .st-premium-product-card__image--primary {
    opacity: 0;
}

.st-premium-product-card:hover .st-premium-product-card__image--hover {
    opacity: 1;
}

.st-premium-product-card__body {
    width: 100%;
    text-align: center;
}

.st-premium-product-card__name {
    margin: 0;
    color: #171717;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-premium-product-card__variant {
    margin: 7px 0 0;
    color: #b6aaa0;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
}

.st-premium-product-card__price {
    margin: 12px 0 0;
    color: #171717;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .st-premium-hero {
        --st-premium-hero-height: clamp(420px, 72vh, 620px);
        height: auto;
        min-height: 0;
    }

    .st-premium-hero__viewport,
    .st-premium-hero__track,
    .st-premium-hero__frame {
        height: auto;
        min-height: 0;
    }

    .st-premium-hero__frame {
        flex-direction: column;
    }

    .st-premium-hero__visual {
        flex: none;
        width: 100%;
        min-height: 0;
        height: var(--st-premium-hero-height);
        aspect-ratio: auto;
        max-height: none;
    }

    .st-premium-hero__slide,
    .st-premium-hero__image {
        min-height: 100%;
        height: 100%;
    }

    .st-premium-hero__product {
        flex: none;
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 0;
    }

    .st-premium-product-card {
        height: auto;
        padding: 28px 16px 36px;
    }

    .st-premium-product-card__media {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .st-premium-hero__visual {
        aspect-ratio: 3 / 4;
        max-height: min(78vh, 520px);
    }

    .st-premium-hero__content {
        left: 22px;
        right: 22px;
        bottom: 52px;
        max-width: none;
    }

    .st-premium-hero__title {
        font-size: clamp(32px, 9vw, 42px);
    }

    .st-premium-hero__slider-arrow {
        display: none;
    }
}
