.rf-home-page {
    background-color: #fff;
}

.rf-home-page main {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.rf-home-page main>section {
    margin-block: 0 !important;
    padding-block-start: 0 !important;
}

.rf-home-page .custom_container,
.rf-home-page .roh-header__masthead,
.rf-home-page .roh-topbar__inner {
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
}

.rf-home-page .custom_container {
    padding-inline: 24px;
}

.rf-home-page .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee5e9;
}

.rf-home-page .section-title {
    margin: 0;
    color: #18181b;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.rf-home-page .view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #18181b;
    border-radius: 8px;
    background: #18181b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rf-home-page .view-all-btn:hover {
    background: #000000;
    border-color: #000000;
    color: #fff;
}

.rf-home-page .view-all-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.rf-home-page :is(button, a):focus-visible {
    outline: 2px solid #000000;
    outline-offset: 3px;
}

.rf-home-rail {
    --rail-columns: 6;
    --rail-gap: 8px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--rail-columns) - 1) * var(--rail-gap)) / var(--rail-columns));
    gap: var(--rail-gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.rf-home-rail>* {
    min-width: 0;
    scroll-snap-align: start;
}

.rf-products-rail {
    --rail-columns: 5;
}

.rf-products-rail>* {
    display: flex;
}

.rf-products-rail .rf-product {
    width: 100%;
}

.rf-rail-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 14px;
}

.rf-rail-controls button {
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #18181b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rf-rail-controls button:hover:not(:disabled) {
    background: #18181b;
    border-color: #18181b;
    color: #fff;
}

.rf-rail-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.rf-home-page #latest-products-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199px) {
    .rf-home-rail {
        --rail-columns: 5;
    }

    .rf-products-rail {
        --rail-columns: 5;
    }

    .rf-home-page #latest-products-container {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .rf-home-rail {
        --rail-columns: 4;
    }

    .rf-products-rail {
        --rail-columns: 3;
    }

    .rf-home-page #latest-products-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .rf-home-page .custom_container {
        padding-inline: 12px;
    }

    .rf-home-rail {
        --rail-columns: 2;
        --rail-gap: 10px;
    }

    .rf-home-page #latest-products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rf-home-page .section-header {
        gap: 10px;
        padding-block: 14px;
    }

    .rf-home-page .view-all-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
}

.rf-home-page .rf-flash-section {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    padding-top: 22px;
    padding-bottom: 8px;
}

.rf-flash-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    min-width: 0;
    padding: 24px 18px;
    margin: 0 0 12px;
    background: #f8548f;
    border: 0;
}

.rf-flash-section .rf-products-rail {
    --rail-columns: 5;
    min-width: 0;
    padding-top: 0;
}

.rf-flash-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.rf-flash-eyebrow i {
    color: #302630;
    font-size: 14px;
}

.rf-flash-intro h2 {
    margin: 5px 0;
    font-size: clamp(28px, 3vw, 38px);
    color: #fff;
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.15;
}

.rf-flash-intro h2 span {
    color: #fff;
}

.rf-flash-intro p {
    margin: 7px 0 0;
    color: #ffffff;
    font-size: 12px;
}

.rf-flash-countdown {
    width: 100%;
    text-align: left;
}

.rf-flash-timer-label {
    display: block;
    margin-bottom: 10px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: #ffffff;
}

.rf-flash-clock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.rf-flash-time {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 8px 4px 6px;
    background: #fff;
    border: 1px solid #ecd8e1;
}

.rf-flash-time strong {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.2;
    color: #302630;
    font-variant-numeric: tabular-nums;
}

.rf-flash-time small {
    margin-top: 4px;
    font-size: 9px;
    color: #766770;
}

.rf-flash-navigation {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.rf-flash-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
    background: #fff;
    padding: 5px 14px;
    color: #302630;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #000000;
}

.rf-flash-link:hover {
    color: #18395C;
}

.rf-flash-section .rf-rail-controls {
    margin: 0;
}

.rf-rail-controls[hidden] {
    display: none;
}

.rf-flash-section .rf-rail-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid #e4c9d5;
    border-radius: 0;
    color: #302630;
}

.rf-flash-section .rf-rail-controls button:hover:not(:disabled) {
    background: #000000;
    border-color: #000000;
    color: #302630;
}

.rf-flash-section .rf-home-rail {
    scrollbar-color: #e7c5d4 transparent;
}

@media (max-width: 991px) {
    .rf-home-page .rf-flash-section {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 14px;
    }

    .rf-flash-section .rf-products-rail {
        --rail-columns: 2;
    }

    .rf-flash-heading {
        gap: 20px;
        padding: 20px 14px;
    }
}

@media (max-width: 575px) {
    .rf-home-page .rf-flash-section {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 20px;
        gap: 12px;
    }

    .rf-flash-heading {
        padding: 18px 16px 12px;
        gap: 18px;
        margin-bottom: 0;
    }

    .rf-flash-intro h2 {
        font-size: 30px;
    }

    .rf-flash-countdown {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
    }

    .rf-flash-timer-label {
        max-width: 65px;
        line-height: 1.6;
        margin: 0;
        letter-spacing: 0.6px;
    }

    .rf-flash-time {
        min-width: 38px;
        padding: 7px 5px 5px;
    }

    .rf-flash-time strong {
        font-size: 19px;
    }

    .rf-flash-clock {
        gap: 4px;
    }

    .rf-flash-navigation {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
        border-top: 1px solid #edd8e1;
        padding-top: 12px;
    }

    .rf-flash-link {
        font-size: 11px;
        gap: 8px;
    }
}

.roh-about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 56px;
    padding: 40px;
    background: #fff6fa;
    border: 1px solid #f1dfe7;
}

.roh-about__eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #18395C;
}

.roh-about__intro h2 {
    max-width: 390px;
    margin: 0;
    color: #302630;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.roh-about__content {
    padding-left: 32px;
    border-left: 1px solid #e8cdd9;
}

.roh-about__content p {
    margin: 0 0 22px;
    color: #695860;
    font-size: 14px;
    line-height: 1.9;
}

.roh-about__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.roh-about__shop {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding: 12px 18px;
    background: #000000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.roh-about__shop:hover {
    background: #000000;
    color: #ffffff;
}

.roh-about__browse {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #695860;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.roh-about__browse:hover {
    color: #18395C;
}

@media (max-width: 767px) {
    .roh-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 26px 22px;
    }

    .roh-about__content {
        border-left: 0;
        padding-left: 0;
    }

    .roh-about__content p {
        font-size: 13px;
    }

    .roh-about__links {
        gap: 8px 18px;
    }
}

.roh-category-carousel {
    position: relative;
}

.roh-category-carousel .category-slider {
    grid-auto-columns: max(210px, calc((100% - 5 * var(--rail-gap)) / 6));
    padding-block: 4px 12px;
    scrollbar-width: none;
}

.roh-category-carousel .category-slider::-webkit-scrollbar {
    display: none;
}

.rf-home-page .category-card {
    position: relative;
    display: block;
    height: 180px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #edccd9;
    border-radius: 0;
    background: #f9e1eb;
    color: #302630;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.rf-home-page .category-slide:nth-child(4n + 2) .category-card {
    background: #f3e8ef;
}

.rf-home-page .category-slide:nth-child(4n + 3) .category-card {
    background: #fcebe6;
}

.rf-home-page .category-slide:nth-child(4n + 4) .category-card {
    background: #eee8f2;
}

.rf-home-page .category-card:hover {
    border-color: #000000;
    box-shadow: inset 0 0 0 1px #000000;
}

.rf-home-page .category-label {
    display: inline-block;
    max-width: 100%;
    padding: 5px 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
    border-radius: 0;
    background: #18395C;
    color: #fff;
    font-size: 9px;
    line-height: 14px;
    font-weight: 600;
}

.rf-home-page .category-content {
    position: relative;
    z-index: 1;
    width: calc(100% - 98px);
    margin-top: 12px;
}

.rf-home-page .category-name {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: #302630;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    overflow-wrap: anywhere;
}

.rf-home-page .category-shop {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 10px;
    line-height: 14px;
    color: #18395C;
}

.rf-home-page .category-shop i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    background: #000000;
    color: #302630;
    font-size: 10px;
}

.rf-home-page .category-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.rf-home-page .category-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.roh-category-carousel .rf-rail-controls {
    position: absolute;
    inset: 0 -12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
}

.roh-category-carousel .rf-rail-controls[hidden] {
    display: none;
}

.roh-category-carousel .rf-rail-controls button {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border: 1px solid #eddae2;
    border-radius: 0;
    background: #fff;
    color: #18395C;
    box-shadow: 0 2px 6px rgb(48 38 48 / 8%);
}

.roh-category-carousel .rf-rail-controls button:hover:not(:disabled) {
    background: #000000;
    border-color: #000000;
    color: #302630;
}

.roh-category-carousel .rf-rail-controls button:disabled {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 575px) {
    .roh-category-carousel .category-slider {
        grid-auto-columns: 220px;
        gap: 10px;
    }

    .roh-category-carousel .rf-rail-controls {
        inset-inline: -8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rf-home-page .category-card {
        transition: none;
    }
}

/* Centered home sections and clean carousel controls */
.rf-home-product-section .section-header {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 12px;
    margin: 0 0 20px;
    border: 0;
    border-bottom: 1px solid #eee5e9;
    text-align: left;
}

.rf-home-product-section {
    position: relative;
}

.rf-home-product-section .section-title,
.roh-category-section .section-title {
    padding: 0;
    border: 0;
    margin: 0 !important;
    text-align: left;
}

.rf-home-rail {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.rf-home-rail::-webkit-scrollbar {
    display: none;
}

.rf-home-product-section>.rf-rail-controls,
.roh-category-carousel .rf-rail-controls,
.rf-flash-section .rf-home-section-footer [data-flash-controls] .rf-rail-controls {
    position: absolute;
    z-index: 3;
    top: 56%;
    right: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    pointer-events: auto;
    transform: translateY(-50%);
}

.rf-home-product-section>.rf-rail-controls button,
.roh-category-carousel .rf-rail-controls button,
.rf-flash-section .rf-rail-controls button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff4d;
    color: #111;
    box-shadow: none;
    border: none;
}

.rf-home-product-section>.rf-rail-controls button:hover:not(:disabled),
.roh-category-carousel .rf-rail-controls button:hover:not(:disabled),
.rf-flash-section .rf-rail-controls button:hover:not(:disabled) {
    background: #111;
    border-color: #111;
    color: #fff;
}

.rf-home-product-section>.rf-rail-controls button:disabled,
.roh-category-carousel .rf-rail-controls button:disabled {
    opacity: .35;
    pointer-events: none;
}

.rf-home-section-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.rf-home-product-section .section-header .rf-home-section-footer {
    flex-direction: row;
    align-items: center;
    margin: 0;
}

.rf-home-section-footer [data-flash-controls] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rf-home-section-footer [data-flash-controls] .rf-rail-controls {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.rf-home-section-footer [data-flash-controls] .rf-rail-controls button {
    pointer-events: auto;
}

.roh-category-carousel .category-slider {
    grid-auto-columns: calc((100% - 4 * var(--rail-gap)) / 5);
}

.roh-category-carousel .category-slide {
    display: flex;
    min-width: 0;
}

.rf-home-page .category-card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #eee;
    color: #fff;
}

.rf-home-page .category-card::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, transparent 48%, rgb(0 0 0 / 72%) 100%);
    content: '';
}

.rf-home-page .category-card-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.rf-home-page .category-card:hover .category-card-image {
    transform: scale(1.035);
}

.rf-home-page .category-card .category-content {
    position: absolute;
    inset: auto 14px 16px;
    z-index: 1;
    width: auto;
    margin: 0;
}

.rf-home-page .category-card .category-name {
    margin: 0 0 4px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.25;
}

.rf-home-page .category-card .category-shop {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.rf-home-page .category-card:hover {
    border: 0;
    box-shadow: none;
}

.roh-category-carousel .rf-rail-controls {
    top: 50%;
    right: 24px;
    bottom: auto;
    left: 24px;
    height: 38px;
    transform: translateY(-50%);
}

.rf-home-section-footer>div:empty {
    display: none;
}

.rf-home-view-all,
.rf-home-product-section .view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    min-height: 36px;
    padding: 6px 13px;
    border: 1px solid #e5d9d3;
    border-radius: 4px;
    background: transparent;
    color: #18395C;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.rf-home-view-all:hover,
.rf-home-product-section .view-all-btn:hover:not(:disabled) {
    background: #18395C;
    border-color: #18395C;
    color: #fff;
}

.rf-home-page .rf-flash-section {
    position: relative;
    display: block;
    padding-top: 28px;
    padding-bottom: 12px;
}

.rf-flash-heading {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 0 20px;
    margin: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    text-align: center;
}

.rf-flash-intro h2,
.rf-flash-intro h2 span {
    color: #111;
}

.rf-flash-intro p,
.rf-flash-eyebrow,
.rf-flash-timer-label {
    color: #555;
}

.rf-flash-eyebrow i {
    color: #111;
}

.rf-flash-countdown {
    width: min(100%, 360px);
    text-align: center;
}

.rf-flash-clock {
    gap: 8px;
}

.rf-flash-time {
    border-color: #ddd;
}

.rf-flash-time strong,
.rf-flash-time small {
    color: #111;
}

.rf-flash-section .rf-products-rail {
    --rail-columns: 5;
}

.rf-flash-section .rf-home-section-footer {
    margin-top: 16px;
}

.rf-flash-section .rf-rail-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rf-flash-section .rf-rail-controls[hidden] {
    display: none;
}

@media (max-width: 991px) {
    .rf-flash-section .rf-products-rail {
        --rail-columns: 3;
    }
}

@media (max-width: 575px) {
    .rf-home-product-section .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 20px;
    }

    .roh-category-carousel .category-slider {
        grid-auto-columns: calc((100% - var(--rail-gap)) / 2);
    }

    .rf-home-page .category-card .category-content {
        inset-inline: 10px;
        bottom: 12px;
    }

    .rf-home-page .category-card .category-name {
        font-size: 15px;
    }

    .rf-home-section-footer {
        margin-top: 25px;
    }

    .rf-home-product-section>.rf-rail-controls,
    .rf-flash-section .rf-home-section-footer [data-flash-controls] .rf-rail-controls {
        right: 18px;
        left: 18px;
    }

    .rf-home-page .rf-flash-section {
        display: block;
        padding-top: 20px;
    }

    .rf-flash-heading {
        gap: 14px;
        padding: 0 0 16px;
    }

    .rf-flash-section .rf-products-rail {
        --rail-columns: 2;
    }
}

.roh-category-section .view-all-btn {
    border-radius: 4px;
}
