/**
 * Hero Product Slider block styles.
 */

.winlab-hero-product-slider-wrapper {
    position: relative;
    z-index: var(--hero-wrapper-z-index, auto);
    width: 100%;
    max-width: 100%;
    height: var(--hero-min-height-desktop, 520px);
    min-height: var(--hero-min-height-desktop, 520px);
    margin-top: var(--hero-wrapper-margin-top-desktop, 0);
    margin-right: var(--hero-wrapper-margin-right-desktop, 0);
    margin-bottom: var(--hero-wrapper-margin-bottom-desktop, 0);
    margin-left: var(--hero-wrapper-margin-left-desktop, 0);
    padding-top: var(--hero-wrapper-padding-top-desktop, 0);
    padding-right: var(--hero-wrapper-padding-right-desktop, 0);
    padding-bottom: var(--hero-wrapper-padding-bottom-desktop, 0);
    padding-left: var(--hero-wrapper-padding-left-desktop, 0);
    overflow: var(--hero-wrapper-overflow, hidden);
    border: var(--hero-wrapper-border-width, 0) solid var(--hero-wrapper-border-color, transparent);
    border-top-width: 0;
    border-radius: var(--hero-wrapper-radius-desktop, 0);
    background-color: var(--hero-wrapper-bg-color, transparent);
    background-image: var(--hero-wrapper-gradient, none), var(--hero-wrapper-image, none);
    background-position: center;
    background-size: cover;
    box-shadow: var(--hero-wrapper-shadow, none);
    box-sizing: border-box;
}

.wp-block-custom-hero-product-slider.alignfull,
.winlab-hero-product-slider-wrapper.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.wp-block-custom-hero-product-slider.alignfull,
.winlab-hero-product-slider-wrapper.alignfull {
    margin-top: var(--hero-wrapper-margin-top-desktop, 0);
    margin-bottom: var(--hero-wrapper-margin-bottom-desktop, 0);
}

.wp-block-custom-hero-product-slider.alignwide,
.winlab-hero-product-slider-wrapper.alignwide {
    width: min(100%, 1320px);
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
}

.winlab-hero-product-swiper,
.winlab-hero-product-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: var(--hero-min-height-desktop, 520px);
    min-height: var(--hero-min-height-desktop, 520px);
    overflow: hidden;
    border: var(--hero-container-border-width, 0) solid var(--hero-container-border-color, rgba(106, 74, 35, 0.16));
    border-top-width: 0;
    border-radius: var(--hero-container-radius-desktop, 0);
    background: #fff2d7;
    box-shadow: var(--hero-container-shadow, none);
    box-sizing: border-box;
}

.winlab-hero-product-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: inherit;
}

.winlab-hero-product-swiper .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.winlab-hero-product-slide {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    padding: var(--hero-container-padding-top-desktop, 36px) var(--hero-container-padding-right-desktop, 42px) var(--hero-container-padding-bottom-desktop, 36px) var(--hero-container-padding-left-desktop, 42px);
    overflow: hidden;
    background-color: var(--hero-bg, #fff2d7);
    background-image:
        radial-gradient(circle at 54% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 35%),
        linear-gradient(116deg, var(--hero-bg, #fff2d7) 0%, #fffaf0 52%, #f3d49a 100%);
    background-position: center;
    background-size: 100% 100%;
    color: var(--hero-text, #4a2a0c);
    box-sizing: border-box;
}

.winlab-hero-product-slide * {
    box-sizing: border-box;
}

.winlab-hero-product-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background-image: var(--hero-slide-bg-image, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: var(--hero-bg-opacity, 1);
    pointer-events: none;
}

.winlab-hero-product-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
    background: var(--hero-overlay-bg, rgba(255, 246, 230, 0));
    pointer-events: none;
}

.winlab-hero-product-slide.overlay-enabled::after {
    display: block;
}

.winlab-hero-slide-inner {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: var(--hero-vertical-align-desktop, center);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    width: min(100%, 1350px);
    height: 100%;
    min-height: 100%;
    max-width: 1350px;
    margin-right: auto;
    margin-left: auto;
    column-gap: var(--hero-gap-desktop, 24px);
}

.winlab-hero-slide-content {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: var(--hero-content-width-desktop, 560px);
    text-align: var(--hero-text-align-desktop, left);
}

.winlab-hero-product-slider-wrapper .winlab-hero-eyebrow {
    margin: 0 0 var(--hero-subtitle-margin-bottom-desktop, 18px);
    color: var(--hero-subtitle-color, var(--hero-text, #4a2a0c));
    font-size: var(--hero-subtitle-size-desktop, 14px);
    font-weight: var(--hero-subtitle-weight, 700);
    line-height: var(--hero-subtitle-line-height-desktop, 1.3);
    letter-spacing: var(--hero-subtitle-letter-spacing-desktop, 0);
    text-transform: var(--hero-subtitle-transform, uppercase);
}

.winlab-hero-product-slider-wrapper .winlab-hero-title {
    margin: 0 0 var(--hero-heading-margin-bottom-desktop, 16px);
    max-width: var(--hero-heading-max-width-desktop, 560px);
    color: var(--hero-heading-color, var(--hero-text, #4a2a0c));
    font-size: var(--hero-heading-size-desktop, 40px);
    font-weight: var(--hero-heading-weight, 700);
    line-height: var(--hero-heading-line-height-desktop, 1.08);
    letter-spacing: var(--hero-heading-letter-spacing-desktop, 0);
    text-transform: var(--hero-heading-transform, none);
}

.winlab-hero-product-slider-wrapper .winlab-hero-description {
    margin: 0;
    max-width: var(--hero-description-max-width-desktop, 500px);
    color: var(--hero-description-color, var(--hero-text, #4a2a0c));
    font-size: var(--hero-description-size-desktop, 17px);
    font-weight: var(--hero-description-weight, 400);
    line-height: var(--hero-description-line-height-desktop, 1.55);
    letter-spacing: var(--hero-description-letter-spacing-desktop, 0);
    text-transform: var(--hero-description-transform, none);
}

.winlab-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 38px;
    margin-top: var(--hero-button-margin-top-desktop, 20px);
    padding: var(--hero-button-padding-top-desktop, 9px) var(--hero-button-padding-right-desktop, 20px) var(--hero-button-padding-bottom-desktop, 9px) var(--hero-button-padding-left-desktop, 20px);
    border: var(--hero-button-border-width, 0) solid var(--hero-button-border-color, transparent);
    border-radius: var(--hero-button-radius-desktop, 999px);
    background: var(--hero-button-bg, var(--hero-accent, #a86608));
    color: var(--hero-button-color, #ffffff);
    font-size: var(--hero-button-size-desktop, 13px);
    font-weight: var(--hero-button-weight, 700);
    line-height: var(--hero-button-line-height-desktop, 1.2);
    letter-spacing: var(--hero-button-letter-spacing-desktop, 0);
    text-align: center;
    text-decoration: none;
    text-transform: var(--hero-button-transform, uppercase);
    box-shadow: var(--hero-button-shadow, inset 0 -2px 0 rgba(74, 42, 12, 0.28));
}

.winlab-hero-button:hover,
.winlab-hero-button:focus {
    border-color: var(--hero-button-hover-border-color, transparent);
    background: var(--hero-button-hover-bg, #8f5606);
    color: var(--hero-button-hover-color, #ffffff);
}

.winlab-hero-button:focus-visible,
.winlab-hero-nav:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 3px;
}

.winlab-hero-button-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.winlab-hero-button-icon svg,
.winlab-hero-nav svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.winlab-hero-slide-media {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.winlab-hero-slide-media img {
    display: block;
    width: auto;
    max-width: min(100%, var(--hero-image-width-desktop, 720px));
    height: auto;
    max-height: var(--hero-image-max-height-desktop, 520px);
    border-radius: var(--hero-image-radius-desktop, 0);
    object-fit: contain;
    filter: var(--hero-image-filter, drop-shadow(0 28px 30px rgba(96, 52, 11, 0.22)));
    user-select: none;
    opacity: 0;
    transform: translateY(65px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: transform, opacity;
}

/* Hiển thị nổi lên từ dưới chậm và siêu mượt khi cuộn tới section và slide đang active */
.winlab-hero-product-slider-wrapper.is-in-view .swiper-slide-active .winlab-hero-slide-media img,
.winlab-hero-product-slider-wrapper.is-in-view .swiper-slide-duplicate-active .winlab-hero-slide-media img,
.winlab-hero-product-slider-wrapper.is-in-view:not([data-swiper-initialized="true"]) .winlab-hero-slide-media img {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.15s;
}

.winlab-hero-product-slider-editor .winlab-hero-slide-media img {
    opacity: 1;
    transform: none;
    transition: none;
}

.winlab-hero-slide-content {
    grid-column: 1;
}

.winlab-hero-slide-media {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
}

.layout-desktop-image-left .winlab-hero-slide-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.layout-desktop-image-left .winlab-hero-slide-content {
    grid-column: 2;
}

.layout-desktop-image-left .winlab-hero-slide-media {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
}

.layout-desktop-image-background .winlab-hero-slide-inner {
    grid-template-columns: minmax(0, 1fr);
}

.layout-desktop-image-background .winlab-hero-slide-content {
    grid-column: 1;
}

.layout-desktop-image-background .winlab-hero-slide-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(62%, var(--hero-image-width-desktop, 720px));
    justify-content: flex-end;
    pointer-events: none;
}

.winlab-hero-controls {
    position: absolute;
    right: auto;
    left: 50%;
    bottom: clamp(20px, 3vw, 34px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    width: min(calc(100% - 84px), 1200px);
    transform: translateX(-50%);
}

.winlab-hero-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: var(--hero-text, #4a2a0c);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.winlab-hero-nav svg {
    width: 22px;
    height: 22px;
}

.winlab-hero-nav:hover,
.winlab-hero-nav:focus {
    background: #ffffff;
}

.winlab-hero-product-slider-wrapper.is-single-slide .winlab-hero-controls {
    display: none;
}

.winlab-hero-product-empty {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 0;
    color: #64748b;
    background: #f8fafc;
}

.winlab-hero-product-slider-editor {
    width: 100%;
}

.editor-styles-wrapper .wp-block-custom-hero-product-slider.alignfull,
.editor-styles-wrapper .winlab-hero-product-slider-wrapper.alignfull {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.winlab-hero-product-slider-editor .winlab-hero-product-slider {
    overflow: hidden;
}

.winlab-hero-rich-field {
    min-width: 0;
}

.winlab-hero-product-slider-editor .winlab-hero-title,
.winlab-hero-product-slider-editor .winlab-hero-description {
    display: block;
    visibility: visible;
    opacity: 1;
}

.winlab-hero-product-slider-editor .winlab-hero-title {
    min-height: 1.1em;
}

.winlab-hero-product-slider-editor .winlab-hero-description {
    min-height: 1.4em;
}

.winlab-hero-rich-field:focus {
    outline: 1px dashed rgba(168, 102, 8, 0.72);
    outline-offset: 4px;
}

.winlab-hero-product-slider-editor .winlab-hero-button.is-editor-button {
    cursor: text;
}

.winlab-hero-product-slider-editor .winlab-hero-button-text {
    min-width: 64px;
}

.winlab-hero-editor-image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 360px);
    min-height: 180px;
    border: 1px dashed #c6a46f;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.7);
    color: #4a2a0c;
    font-weight: 700;
}

.winlab-hero-editor-slide-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.winlab-hero-editor-slide-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dcdcde;
    border-radius: 0;
    background: #ffffff;
    cursor: pointer;
}

.winlab-hero-editor-slide-row.is-active {
    border-color: #a86608;
    box-shadow: 0 0 0 1px #a86608;
}

.winlab-hero-editor-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 34px;
    overflow: hidden;
    border-radius: 0;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.winlab-hero-editor-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winlab-hero-editor-slide-name {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1d2327;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.winlab-hero-editor-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
}

.winlab-hero-editor-action-button {
    min-width: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
}

.winlab-hero-editor-add,
.winlab-hero-editor-media-button {
    width: 100%;
    justify-content: center;
}

.winlab-hero-panel-tools {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.winlab-hero-box-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.winlab-hero-editor-media-field {
    margin-bottom: 12px;
}

.winlab-hero-editor-media-preview {
    display: block;
    width: 100%;
    max-height: 122px;
    margin-bottom: 8px;
    border: 1px solid #dcdcde;
    border-radius: 0;
    object-fit: cover;
    background: #f6f7f7;
}

.winlab-hero-controls.is-editor-controls {
    pointer-events: auto;
}

.winlab-hero-nav.is-preview-nav {
    color: var(--hero-text, #4a2a0c);
}

.winlab-hero-link-popover {
    min-width: 280px;
    padding: 10px;
}

@media (min-width: 922px) {
    .winlab-hero-product-slider-wrapper.is-hidden-desktop {
        display: none;
    }
}

@media (max-width: 921px) {
    .winlab-hero-product-slider-wrapper {
        height: auto;
        min-height: var(--hero-min-height-tablet, 460px);
        margin-top: var(--hero-wrapper-margin-top-tablet, 0);
        margin-bottom: var(--hero-wrapper-margin-bottom-tablet, 0);
        padding: var(--hero-wrapper-padding-top-tablet, 0) var(--hero-wrapper-padding-right-tablet, 0) var(--hero-wrapper-padding-bottom-tablet, 0) var(--hero-wrapper-padding-left-tablet, 0);
        border-radius: var(--hero-wrapper-radius-tablet, 0);
    }

    .wp-block-custom-hero-product-slider.alignfull,
    .winlab-hero-product-slider-wrapper.alignfull {
        margin-top: var(--hero-wrapper-margin-top-tablet, 0);
        margin-bottom: var(--hero-wrapper-margin-bottom-tablet, 0);
    }

    .winlab-hero-product-swiper,
    .winlab-hero-product-slider {
        height: auto;
        min-height: var(--hero-min-height-tablet, 460px);
        border-radius: var(--hero-container-radius-tablet, 0);
    }

    .winlab-hero-product-swiper .swiper-wrapper,
    .winlab-hero-product-swiper .swiper-slide {
        height: auto;
        min-height: inherit;
    }

    .winlab-hero-product-slide {
        align-items: stretch;
        height: auto;
        min-height: var(--hero-min-height-tablet, 460px);
        padding: var(--hero-container-padding-top-tablet, 28px) var(--hero-container-padding-right-tablet, 20px) var(--hero-container-padding-bottom-tablet, 56px) var(--hero-container-padding-left-tablet, 20px);
    }

    .winlab-hero-slide-inner {
        align-items: var(--hero-vertical-align-tablet, center);
        align-content: start;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        height: auto;
        min-height: calc(var(--hero-min-height-tablet, 460px) - var(--hero-container-padding-top-tablet, 28px) - var(--hero-container-padding-bottom-tablet, 56px));
        column-gap: var(--hero-gap-tablet, 20px);
        row-gap: var(--hero-gap-tablet, 20px);
    }

    .winlab-hero-slide-content {
        grid-column: 1;
        grid-row: 1;
        max-width: var(--hero-content-width-tablet, 560px);
        text-align: var(--hero-text-align-tablet, left);
    }

    .winlab-hero-slide-media {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 2;
        width: min(100%, var(--hero-image-width-tablet, 520px));
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        opacity: 1;
        pointer-events: auto;
    }

    .winlab-hero-product-slider-wrapper .winlab-hero-eyebrow {
        margin-bottom: var(--hero-subtitle-margin-bottom-tablet, 18px);
        font-size: var(--hero-subtitle-size-tablet, 14px);
        line-height: var(--hero-subtitle-line-height-tablet, 1.3);
        letter-spacing: var(--hero-subtitle-letter-spacing-tablet, 0);
    }

    .winlab-hero-product-slider-wrapper .winlab-hero-title {
        margin-bottom: var(--hero-heading-margin-bottom-tablet, 16px);
        max-width: var(--hero-heading-max-width-tablet, 560px);
        font-size: var(--hero-heading-size-tablet, 34px);
        line-height: var(--hero-heading-line-height-tablet, 1.08);
        letter-spacing: var(--hero-heading-letter-spacing-tablet, 0);
    }

    .winlab-hero-product-slider-wrapper .winlab-hero-description {
        max-width: var(--hero-description-max-width-tablet, 500px);
        font-size: var(--hero-description-size-tablet, 15px);
        line-height: var(--hero-description-line-height-tablet, 1.55);
        letter-spacing: var(--hero-description-letter-spacing-tablet, 0);
    }

    .winlab-hero-button {
        margin-top: var(--hero-button-margin-top-tablet, 20px);
        padding: var(--hero-button-padding-top-tablet, 8px) var(--hero-button-padding-right-tablet, 18px) var(--hero-button-padding-bottom-tablet, 8px) var(--hero-button-padding-left-tablet, 18px);
        border-radius: var(--hero-button-radius-tablet, 999px);
        font-size: var(--hero-button-size-tablet, 13px);
        line-height: var(--hero-button-line-height-tablet, 1.2);
        letter-spacing: var(--hero-button-letter-spacing-tablet, 0);
    }

    .winlab-hero-slide-media img {
        max-width: min(100%, var(--hero-image-width-tablet, 520px));
        max-height: var(--hero-image-max-height-tablet, 330px);
        border-radius: var(--hero-image-radius-tablet, 0);
    }

    .layout-tablet-image-left .winlab-hero-slide-media {
        grid-row: 1;
        justify-content: center;
    }

    .layout-tablet-image-left .winlab-hero-slide-content {
        grid-row: 2;
    }

    .layout-tablet-image-background .winlab-hero-slide-media {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 2;
        width: min(100%, var(--hero-image-width-tablet, 520px));
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        opacity: 1;
        pointer-events: auto;
    }

    .winlab-hero-controls {
        bottom: 22px;
        width: min(calc(100% - 40px), 1200px);
    }
}

@media (min-width: 545px) and (max-width: 921px) {
    .winlab-hero-product-slider-wrapper.is-hidden-tablet {
        display: none;
    }
}

@media (max-width: 544px) {
    .winlab-hero-product-slider-wrapper {
        height: auto;
        min-height: var(--hero-min-height-mobile, 520px);
        margin-top: var(--hero-wrapper-margin-top-mobile, 0);
        margin-bottom: var(--hero-wrapper-margin-bottom-mobile, 0);
        padding: var(--hero-wrapper-padding-top-mobile, 0) var(--hero-wrapper-padding-right-mobile, 0) var(--hero-wrapper-padding-bottom-mobile, 0) var(--hero-wrapper-padding-left-mobile, 0);
        border-radius: var(--hero-wrapper-radius-mobile, 0);
    }

    .wp-block-custom-hero-product-slider.alignfull,
    .winlab-hero-product-slider-wrapper.alignfull {
        margin-top: var(--hero-wrapper-margin-top-mobile, 0);
        margin-bottom: var(--hero-wrapper-margin-bottom-mobile, 0);
    }

    .winlab-hero-product-slider-wrapper.is-hidden-mobile {
        display: none;
    }

    .winlab-hero-product-swiper,
    .winlab-hero-product-slider {
        height: auto;
        min-height: var(--hero-min-height-mobile, 520px);
        border-radius: var(--hero-container-radius-mobile, 0);
    }

    .winlab-hero-product-swiper .swiper-wrapper,
    .winlab-hero-product-swiper .swiper-slide {
        height: auto;
        min-height: inherit;
    }

    .winlab-hero-product-slide {
        align-items: stretch;
        height: auto;
        min-height: var(--hero-min-height-mobile, 520px);
        padding: var(--hero-container-padding-top-mobile, 18px) var(--hero-container-padding-right-mobile, 20px) var(--hero-container-padding-bottom-mobile, 56px) var(--hero-container-padding-left-mobile, 20px);
    }

    .winlab-hero-slide-inner {
        align-items: var(--hero-vertical-align-mobile, start);
        align-content: start;
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: calc(var(--hero-min-height-mobile, 520px) - var(--hero-container-padding-top-mobile, 18px) - var(--hero-container-padding-bottom-mobile, 56px));
        column-gap: var(--hero-gap-mobile, 16px);
        row-gap: var(--hero-gap-mobile, 16px);
    }

    .winlab-hero-slide-content {
        grid-column: 1;
        grid-row: 1;
        max-width: min(100%, var(--hero-content-width-mobile, 100%));
        text-align: var(--hero-text-align-mobile, left);
    }

    .winlab-hero-slide-media {
        position: relative;
        right: auto;
        bottom: auto;
        grid-column: 1;
        grid-row: 2;
        width: min(100%, var(--hero-image-width-mobile, 300px));
        margin: 0 auto;
        justify-content: center;
        opacity: 1;
        pointer-events: auto;
    }

    .winlab-hero-product-slider-wrapper .winlab-hero-eyebrow {
        margin-bottom: var(--hero-subtitle-margin-bottom-mobile, 10px);
        font-size: var(--hero-subtitle-size-mobile, 11px);
        line-height: var(--hero-subtitle-line-height-mobile, 1.25);
        letter-spacing: var(--hero-subtitle-letter-spacing-mobile, 0);
    }

    .winlab-hero-product-slider-wrapper .winlab-hero-title {
        margin-bottom: var(--hero-heading-margin-bottom-mobile, 16px);
        max-width: min(100%, var(--hero-heading-max-width-mobile, 100%));
        font-size: var(--hero-heading-size-mobile, 26px);
        line-height: var(--hero-heading-line-height-mobile, 1.1);
        letter-spacing: var(--hero-heading-letter-spacing-mobile, 0);
    }

    .winlab-hero-product-slider-wrapper .winlab-hero-description {
        max-width: min(100%, var(--hero-description-max-width-mobile, 100%));
        font-size: var(--hero-description-size-mobile, 13px);
        line-height: var(--hero-description-line-height-mobile, 1.45);
        letter-spacing: var(--hero-description-letter-spacing-mobile, 0);
    }

    .winlab-hero-button {
        min-height: 34px;
        margin-top: var(--hero-button-margin-top-mobile, 12px);
        padding: var(--hero-button-padding-top-mobile, 7px) var(--hero-button-padding-right-mobile, 14px) var(--hero-button-padding-bottom-mobile, 7px) var(--hero-button-padding-left-mobile, 14px);
        border-radius: var(--hero-button-radius-mobile, 999px);
        font-size: var(--hero-button-size-mobile, 11px);
        line-height: var(--hero-button-line-height-mobile, 1.2);
        letter-spacing: var(--hero-button-letter-spacing-mobile, 0);
    }

    .winlab-hero-slide-media img {
        max-width: 100%;
        max-height: var(--hero-image-max-height-mobile, 180px);
        border-radius: var(--hero-image-radius-mobile, 0);
        object-position: right bottom;
    }

    .layout-mobile-image-left .winlab-hero-slide-media {
        position: relative;
        inset: auto;
        grid-row: 1;
        justify-content: center;
        width: auto;
        pointer-events: auto;
    }

    .layout-mobile-image-left .winlab-hero-slide-content {
        grid-row: 2;
    }

    .layout-mobile-image-background .winlab-hero-slide-media {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 2;
        width: min(82vw, var(--hero-image-width-mobile, 300px));
        margin: 6px auto 0;
        justify-content: center;
        opacity: 1;
        pointer-events: auto;
    }

    .layout-mobile-image-background .winlab-hero-slide-media img {
        max-height: min(var(--hero-image-max-height-mobile, 180px), 46vw);
        object-position: center bottom;
    }

    .winlab-hero-controls {
        bottom: 16px;
        width: min(calc(100% - 40px), 1200px);
        gap: 8px;
    }

    .winlab-hero-nav {
        width: 36px;
        height: 36px;
    }

    .winlab-hero-nav svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 390px) {
    .winlab-hero-slide-media {
        width: min(78vw, var(--hero-image-width-mobile, 300px));
    }

    .winlab-hero-controls {
        bottom: 14px;
    }

    .winlab-hero-nav {
        width: 34px;
        height: 34px;
    }
}
