.rf-hero-section {
    --hero-pink: #000000;
    --hero-ink: #302630;
    --hero-line: #eadfe4;
    padding: 0;
    background: #fff;
    color: var(--hero-ink);
}

.rf-hero-section *,
.rf-hero-section *::before,
.rf-hero-section *::after {
    border-radius: 0;
}

.rf-hero-section a {
    color: inherit;
    text-decoration: none;
}

.rf-hero-section :is(a, button):focus-visible {
    outline: 2px solid #18395C;
    outline-offset: 3px;
}

.rf-hero-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.rf-categories-panel {
    background: #fff;
    border: 1px solid var(--hero-line);
}

.rf-categories-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--hero-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.rf-category-menu {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.rf-category-item {
    position: relative;
    border-bottom: 1px solid #f4edf0;
}

.rf-category-item:last-child {
    border-bottom: 0;
}

.rf-category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.6;
    min-height: 42px;
}

.rf-site-category-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.rf-category-placeholder {
    width: 22px;
    text-align: center;
    color: #18395C;
}

.rf-category-arrow {
    margin-left: auto;
    font-size: 9px;
    color: #8c7782;
}

.rf-category-link:hover,
.rf-category-item:focus-within>.rf-category-link {
    background: #fff0f5;
    color: #18395C;
}

.rf-subcategories {
    position: absolute;
    left: 100%;
    top: -1px;
    z-index: 20;
    width: 240px;
    background: #fff;
    border: 1px solid var(--hero-line);
    padding: 8px;
    box-shadow: 8px 8px 20px #3026300a;
    visibility: hidden;
    opacity: 0;
}

.rf-category-item:hover>.rf-subcategories,
.rf-category-item:focus-within>.rf-subcategories {
    visibility: visible;
    opacity: 1;
}

.rf-subcategory-link {
    display: block;
    padding: 9px 12px;
    font-size: 12px;
}

.rf-subcategory-link:hover {
    background: #fff0f5;
}

.rf-main-slider {
    position: relative;
    min-width: 0;
    border: 0;
    background: transparent;
}

.rf-hero-track {
    display: grid;
    overflow: hidden;
    background: #f7f4ef;
}

.rf-hero-slide {
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .55s ease;
}

.rf-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.rf-hero-slide picture {
    display: block;
    width: 100%;
    height: auto;
}

.rf-hero-slide picture img {
    display: block;
    width: 100%;
    height: auto;
}

.rf-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(24, 57, 92, .72);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease;
}

.rf-hero-arrow:hover {
    background: #18395C;
    transform: translateY(-50%) scale(1.08);
}

.rf-hero-arrow--prev { left: 18px; }
.rf-hero-arrow--next { right: 18px; }

@media (max-width: 767px) {
    .rf-hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .rf-hero-arrow--prev { left: 10px; }
    .rf-hero-arrow--next { right: 10px; }
}

.rf-hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 34px;
    padding: 8px 12px 0;
}

.rf-hero-dot {
    display: block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d8d1c7;
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease, transform .25s ease;
}

.rf-hero-dot:hover {
    transform: scale(1.18);
    background: #aa8c55;
}

.rf-hero-dot.is-active {
    width: 26px;
    flex-basis: 26px;
    background: #18395C;
    box-shadow: inset 0 0 0 2px #18395C, inset 0 0 0 3px #d7b779;
}

.rf-main-slider>.carousel {
    position: absolute;
    inset: 0;
}

.rf-main-slider .carousel-inner,
.rf-main-slider .carousel-item {
    height: 100%;
    border-radius: 0;
}

.rf-main-slider .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-main-slider .carousel-control-prev,
.rf-main-slider .carousel-control-next {
    top: auto;
    bottom: 14px;
    width: 36px;
    height: 36px;
    background: #fff;
    color: var(--hero-ink);
    opacity: 1;
    border: 1px solid var(--hero-line);
    transform: none;
}

.rf-main-slider .carousel-control-prev {
    left: auto;
    right: 58px;
}

.rf-main-slider .carousel-control-next {
    right: 14px;
}

.rf-main-slider .carousel-control-prev:hover,
.rf-main-slider .carousel-control-next:hover {
    background: var(--hero-pink);
}

.rf-slider-empty {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 32px;
    gap: 18px;
}

.rf-slider-empty>span {
    font-size: 11px;
    letter-spacing: 3px;
}

.rf-slider-empty h2 {
    font-size: 32px;
    color: var(--hero-ink);
}

.rf-slider-empty a {
    font-size: 13px;
    border-bottom: 2px solid var(--hero-pink);
}

.rf-side-banners {
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
    gap: 16px;
}

.rf-promo-banner {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #faf7f9;
    border: 1px solid var(--hero-line);
}

.rf-promo-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-promo-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: #fff;
    color: var(--hero-ink);
    font-size: 12px;
}

.rf-promo-banner:hover {
    border-color: var(--hero-pink);
}

.rf-promo-banner:hover .rf-promo-arrow {
    background: var(--hero-pink);
}

@media (max-width: 1199px) {
    .rf-side-banners {
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .rf-hero-section-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rf-categories-header {
        padding: 8px 12px;
        font-size: 12px;
    }

    .rf-category-menu {
        display: flex;
        overflow-x: auto;
        padding: 0;
        scrollbar-width: thin;
    }

    .rf-category-item {
        flex-shrink: 0;
        border-bottom: 0;
        border-right: 1px solid var(--hero-line);
    }

    .rf-category-link {
        padding: 8px 12px;
        white-space: nowrap;
    }

    .rf-subcategories,
    .rf-category-arrow {
        display: none;
    }

    .rf-main-slider .carousel-item img {
        height: auto;
    }

    .rf-side-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
        gap: 14px;
    }

    .rf-promo-banner {
        aspect-ratio: 1;
    }
}

@media (max-width: 575px) {
    .rf-hero-section {
        padding: 0;
    }

    .rf-slider-empty {
        min-height: 240px;
        padding: 24px;
    }

    .rf-slider-empty h2 {
        font-size: 25px;
    }

    .rf-hero-dots {
        min-height: 32px;
        padding-top: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rf-hero-slide {
        transition: none;
    }
}
