.wwts-rf-render {
    box-sizing: border-box;
    width: 100%;
}

.wwts-rf-render *,
.wwts-rf-render *::before,
.wwts-rf-render *::after,
.wwts-rf-slider-shell,
.wwts-rf-slider-shell *,
.wwts-rf-slider-shell *::before,
.wwts-rf-slider-shell *::after {
    box-sizing: inherit;
}

.wwts-rf-slider-shell {
    width: 100%;
}

.wwts-rf-slider-pagination {
    display: none;
}

.wwts-rf-slider-pagination[hidden] {
    display: none !important;
}

.wwts-rf-collections-grouped {
    --wwts-rf-zone-nav-admin-bar-height: 0px;
    --wwts-rf-zone-nav-height: 56px;
    --wwts-rf-zone-nav-top: calc(
        var(--wwts-fixed-header-height, 72px) + var(--wwts-rf-zone-nav-admin-bar-height)
    );

    width: 100%;
    min-width: 0;
}

body.admin-bar .wwts-rf-collections-grouped {
    --wwts-rf-zone-nav-admin-bar-height: 32px;
}

.wwts-rf-zone-nav {
    position: sticky;
    top: var(--wwts-rf-zone-nav-top);
    z-index: 40;
    width: 100%;
    min-width: 0;
    margin: 0 0 clamp(34px, 4vw, 52px);
    padding: 10px 12px;
    border-top: 1px solid rgba(64, 52, 45, 0.10);
    border-bottom: 1px solid rgba(64, 52, 45, 0.10);
    background: rgba(247, 243, 236, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.wwts-rf-zone-nav__track {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.wwts-rf-zone-nav__track::-webkit-scrollbar {
    display: none;
}

.wwts-rf-zone-nav__link {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(64, 52, 45, 0.18);
    border-radius: 999px;
    background: rgba(255, 252, 248, 0.56);
    color: #40342d;
    font-family: Roboto, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.wwts-rf-zone-nav__link:hover,
.wwts-rf-zone-nav__link:focus-visible {
    border-color: rgba(64, 52, 45, 0.42);
    background: rgba(255, 252, 248, 0.94);
    color: #40342d;
}

.wwts-rf-zone-nav__link.is-active {
    border-color: #40342d;
    background: #40342d;
    color: #fffdfa;
}

.wwts-rf-zone-nav__link.is-active:hover,
.wwts-rf-zone-nav__link.is-active:focus-visible {
    border-color: #40342d;
    background: #40342d;
    color: #fffdfa;
}

.wwts-rf-zone-nav__link:focus-visible {
    outline: 2px solid #c9a963;
    outline-offset: 3px;
}

.wwts-rf-collection-zones {
    display: grid;
    gap: clamp(56px, 7vw, 96px);
    width: 100%;
    min-width: 0;
}

.wwts-rf-collection-zone {
    min-width: 0;
    scroll-margin-top: calc(
        var(--wwts-rf-zone-nav-top)
        + var(--wwts-rf-zone-nav-height, 56px)
        + 18px
    );
}

.wwts-rf-collection-zone__title {
    margin: 0 0 28px;
}

.wwts-rf-collections {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.wwts-rf-collection-card {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 14px;
    overflow: hidden;
    align-self: start;
    background: #ede7dd;
}

.wwts-rf-collection-card--wide {
    grid-column: span 8;
}

.wwts-rf-collection-card--narrow {
    grid-column: span 4;
}

.wwts-rf-collection-card--half {
    grid-column: span 6;
}

.wwts-rf-collection-card--third {
    grid-column: span 4;
}

.wwts-rf-collection-card--full {
    grid-column: 1 / -1;
}

.wwts-rf-collection-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.wwts-rf-lightbox-trigger {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.wwts-rf-history-item > .wwts-rf-lightbox-trigger {
    height: auto;
}

.wwts-rf-collection-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.wwts-rf-history-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
}

.wwts-rf-collection-caption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 7px 10px;
    background: rgba(247, 243, 236, 0.86);
    color: #5a514c;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.wwts-rf-history-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wwts-rf-history-item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    align-self: start;
    aspect-ratio: auto;
    background: #24211d;
}

.wwts-rf-history-item--hero {
    grid-column: 1 / -1;
    aspect-ratio: auto;
}

.wwts-rf-history-gallery[data-count="2"] .wwts-rf-history-item:nth-child(2) {
    grid-column: 1 / -1;
    aspect-ratio: auto;
}

.wwts-rf-history-caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 6px 9px;
    background: rgba(247, 243, 236, 0.86);
    color: #5a514c;
    font-size: 12px;
    line-height: 1.3;
    pointer-events: none;
}

html.wwts-rf-lightbox-open,
html.wwts-rf-lightbox-open body {
    overflow: hidden;
}

.wwts-rf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    padding: 28px;
}

.wwts-rf-lightbox.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwts-rf-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.94);
}

.wwts-rf-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    grid-template-rows: minmax(0, 1fr) auto;
    width: min(1480px, 100%);
    height: min(900px, calc(100vh - 56px));
    color: #f8f4eb;
}

.wwts-rf-lightbox__stage {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
}

.wwts-rf-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.wwts-rf-lightbox__close,
.wwts-rf-lightbox__nav {
    all: unset;
    box-sizing: border-box;
    display: grid !important;
    place-items: center;
    flex: 0 0 auto;
    padding: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 1px solid rgba(248, 244, 235, 0.34) !important;
    border-radius: 999px !important;
    background: rgba(36, 33, 29, 0.58) !important;
    color: #f8f4eb !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.wwts-rf-lightbox__close:hover,
.wwts-rf-lightbox__nav:hover {
    border-color: rgba(248, 244, 235, 0.62) !important;
    background: rgba(36, 33, 29, 0.82) !important;
    transform: scale(1.04);
}

.wwts-rf-lightbox__close:active,
.wwts-rf-lightbox__nav:active {
    transform: scale(0.96);
}

.wwts-rf-lightbox__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 40px !important;
    height: 40px !important;
    font-family: Arial, sans-serif;
    font-size: 24px !important;
    font-weight: 400;
    line-height: 1 !important;
}

.wwts-rf-lightbox__nav {
    grid-row: 1;
    align-self: center;
    justify-self: center;
    width: 44px !important;
    height: 44px !important;
    font-family: Arial, sans-serif;
    font-size: 30px !important;
    font-weight: 300;
    line-height: 1 !important;
}

.wwts-rf-lightbox__nav--prev {
    grid-column: 1;
}

.wwts-rf-lightbox__nav--next {
    grid-column: 3;
}

.wwts-rf-lightbox__meta {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.wwts-rf-lightbox__caption {
    max-width: 760px;
}

.wwts-rf-lightbox__counter {
    flex: 0 0 auto;
    opacity: 0.72;
}

.wwts-rf-lightbox__close:focus-visible,
.wwts-rf-lightbox__nav:focus-visible,
.wwts-rf-lightbox-trigger:focus-visible,
.wwts-rf-slider-dot:focus-visible,
.wwts-rf-grouped-nav__button:focus-visible {
    outline: 2px solid rgba(248, 244, 235, 0.92);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .wwts-rf-slider-track {
        position: relative;
        display: flex !important;
        width: 100%;
        gap: 0 !important;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .wwts-rf-slider-track::-webkit-scrollbar {
        display: none;
    }

    .wwts-rf-slider-track > [data-wwts-rf-slide] {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: auto;
        grid-column: auto !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .wwts-rf-slider-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 12px;
        margin-top: 12px;
        pointer-events: none;
    }

    .wwts-rf-slider-dot {
        display: block !important;
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
        flex: 0 0 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(90, 81, 76, 0.34) !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.56) !important;
        box-shadow: none !important;
        cursor: pointer;
        pointer-events: auto;
        transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
    }

    .wwts-rf-slider-dot.is-active {
        border-color: rgba(90, 81, 76, 0.56) !important;
        background: #fff !important;
        transform: scale(1.18);
    }

    .wwts-rf-collection-card {
        display: flex;
        align-items: stretch;
        align-self: flex-start;
        padding: 12px;
    }

    .wwts-rf-collection-media {
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: auto;
        background: #f7f3ec;
    }

    .wwts-rf-collection-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .wwts-rf-history-item,
    .wwts-rf-history-item--hero,
    .wwts-rf-history-gallery[data-count="2"] .wwts-rf-history-item:nth-child(2) {
        aspect-ratio: auto;
        background: #24211d;
    }

    .wwts-rf-history-item > .wwts-rf-lightbox-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    .wwts-rf-history-image {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 72vh;
        object-fit: contain;
    }

    .wwts-rf-slider-track.is-sized .wwts-rf-collection-media,
    .wwts-rf-slider-track.is-sized .wwts-rf-collection-media > .wwts-rf-lightbox-trigger,
    .wwts-rf-slider-track.is-sized .wwts-rf-history-item > .wwts-rf-lightbox-trigger {
        width: 100%;
        height: 100%;
    }

    .wwts-rf-slider-track.is-sized .wwts-rf-collection-media > .wwts-rf-lightbox-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wwts-rf-slider-track.is-sized .wwts-rf-collection-image,
    .wwts-rf-slider-track.is-sized .wwts-rf-history-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 782px) {
    body.admin-bar .wwts-rf-collections-grouped {
        --wwts-rf-zone-nav-admin-bar-height: 46px;
    }
}

@media (max-width: 767px) {
    .wwts-rf-zone-nav {
        margin-bottom: 30px;
        padding-inline: 8px;
    }

    .wwts-rf-zone-nav__link {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 10px;
    }

    .wwts-rf-collection-zones {
        gap: 44px;
    }

    .wwts-rf-collection-zone__title {
        margin-bottom: 18px;
    }

    .wwts-rf-collection-card {
        padding: 10px;
    }

    .wwts-rf-collection-caption {
        left: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
    }

    .wwts-rf-history-caption {
        left: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
    }

    .wwts-rf-history-image {
        max-height: 68vh;
    }

    .wwts-rf-slider-pagination {
        gap: 8px;
        margin-top: 10px;
    }

    .wwts-rf-slider-dot {
        width: 7px !important;
        height: 7px !important;
        min-width: 7px !important;
        min-height: 7px !important;
        max-width: 7px !important;
        max-height: 7px !important;
        flex-basis: 7px !important;
    }

    .wwts-rf-lightbox {
        padding: 12px;
    }

    .wwts-rf-lightbox__dialog {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        width: 100%;
        height: calc(100vh - 24px);
    }

    .wwts-rf-lightbox__nav {
        width: 38px !important;
        height: 38px !important;
        font-size: 26px !important;
    }

    .wwts-rf-lightbox__close {
        top: 4px;
        right: 4px;
        width: 36px !important;
        height: 36px !important;
        font-size: 22px !important;
    }

    .wwts-rf-lightbox__meta {
        gap: 12px;
        padding-top: 10px;
        font-size: 12px;
    }
}



/* Brand gallery images stay comfortably inside the usable viewport below
   the measured fixed header. Grouped rails also have a bounded 220-650px
   viewport so a single zone cannot dominate the page vertically. */
.wwts-rf-collection-image,
.wwts-rf-history-image {
    max-height: calc(85vh - var(--wwts-fixed-header-height, 72px) - 30px);
    max-height: calc(85dvh - var(--wwts-fixed-header-height, 72px) - 30px);
    object-fit: contain;
}

/* Grouped Collections use a horizontal rail at every breakpoint. Navigation
   lives in fixed side columns; the middle column is the native scroll wrapper. */
.wwts-rf-grouped-rail-frame {
    display: grid;
    grid-template-columns:
        clamp(30px, 5%, 50px)
        minmax(0, 1fr)
        clamp(30px, 5%, 50px);
    align-items: stretch;
    width: 100%;
    min-height: 220px;
    height: clamp(
        220px,
        calc(85vh - var(--wwts-fixed-header-height, 72px) - 30px),
        650px
    );
    height: clamp(
        220px,
        calc(85dvh - var(--wwts-fixed-header-height, 72px) - 30px),
        650px
    );
    overflow: hidden;
    background: #fff;
}

.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collections--grouped-rail {
    position: relative;
    display: flex !important;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding-block: 20px;
    gap: 20px !important;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    overflow-anchor: none;
    -webkit-overflow-scrolling: touch;
}

.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collections--grouped-rail::-webkit-scrollbar {
    display: none;
}

.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collections--grouped-rail > [data-wwts-rf-slide] {
    flex: 0 0 var(--wwts-rf-grouped-desktop-basis, calc(33.333333% - 13.333333px)) !important;
    width: var(--wwts-rf-grouped-desktop-basis, calc(33.333333% - 13.333333px)) !important;
    min-width: 0 !important;
    height: 100% !important;
    max-height: 100%;
    grid-column: auto !important;
    align-self: stretch;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collection-media,
.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collection-media > .wwts-rf-lightbox-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collection-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-slider-pagination {
    display: none !important;
}

.wwts-rf-grouped-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin-top: 0;
    padding: 12px 20px 14px;
    background: #fff;
    text-align: center;
}

.wwts-rf-grouped-counter {
    color: #5a514c;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
}

.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button {
    all: unset;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 30px !important;
    max-width: 50px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    background-image: none !important;
    color: rgba(72, 68, 65, 0.82) !important;
    font: inherit !important;
    line-height: 1 !important;
    text-shadow: none !important;
    transform: none !important;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button--prev {
    justify-self: end;
}

.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button--next {
    justify-self: start;
}

.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button::before,
.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button::after {
    content: none !important;
    display: none !important;
}

.wwts-rf-grouped-nav__icon {
    display: block;
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: solid currentColor;
    border-width: 0 3px 3px 0;
    transform-origin: 50% 50%;
}

.wwts-rf-grouped-nav__button--prev .wwts-rf-grouped-nav__icon {
    transform: rotate(135deg);
}

.wwts-rf-grouped-nav__button--next .wwts-rf-grouped-nav__icon {
    transform: rotate(-45deg);
}

.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button:hover:not(:disabled) {
    background: #faf8f4 !important;
    color: rgba(72, 68, 65, 1) !important;
}

.wwts-rf-grouped-rail-frame > .wwts-rf-grouped-nav__button:disabled {
    color: rgba(72, 68, 65, 0.22) !important;
    cursor: default;
    pointer-events: none;
}

.wwts-rf-progressive-loader--rail {
    box-sizing: border-box;
    flex: 0 0 var(--wwts-rf-grouped-desktop-basis, calc(33.333333% - 13.333333px));
    align-self: stretch;
    width: var(--wwts-rf-grouped-desktop-basis, calc(33.333333% - 13.333333px)) !important;
    min-width: var(--wwts-rf-grouped-desktop-basis, calc(33.333333% - 13.333333px));
    min-height: 0 !important;
    height: 100%;
    padding: 14px;
    background: #ede7dd;
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collections--grouped-rail > [data-wwts-rf-slide] {
        flex-basis: var(--wwts-rf-grouped-tablet-basis, calc(50% - 10px)) !important;
        width: var(--wwts-rf-grouped-tablet-basis, calc(50% - 10px)) !important;
        min-width: var(--wwts-rf-grouped-tablet-basis, calc(50% - 10px)) !important;
    }

    .wwts-rf-progressive-loader--rail {
        flex-basis: var(--wwts-rf-grouped-tablet-basis, calc(50% - 10px));
        width: var(--wwts-rf-grouped-tablet-basis, calc(50% - 10px)) !important;
        min-width: var(--wwts-rf-grouped-tablet-basis, calc(50% - 10px));
    }
}

@media (max-width: 767px) {
    .wwts-rf-slider-shell[data-wwts-rf-grouped-zone="1"] .wwts-rf-collections--grouped-rail > [data-wwts-rf-slide] {
        flex-basis: var(--wwts-rf-grouped-mobile-basis, 100%) !important;
        width: var(--wwts-rf-grouped-mobile-basis, 100%) !important;
        min-width: var(--wwts-rf-grouped-mobile-basis, 100%) !important;
    }

    .wwts-rf-progressive-loader--rail {
        flex-basis: var(--wwts-rf-grouped-mobile-basis, 100%);
        width: var(--wwts-rf-grouped-mobile-basis, 100%) !important;
        min-width: var(--wwts-rf-grouped-mobile-basis, 100%);
    }

    .wwts-rf-grouped-rail-frame {
        min-height: 220px;
    }

    .wwts-rf-grouped-controls {
        margin-top: 10px;
    }

    .wwts-rf-grouped-nav__icon {
        width: 12px;
        height: 12px;
        border-width: 0 2px 2px 0;
    }
}

.wwts-rf-progressive-sentinel {
    display: block;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.wwts-rf-progressive-loader {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
}

.wwts-rf-slider-shell[data-wwts-rf-progressive-loading="1"] .wwts-rf-progressive-loader {
    display: flex;
}

.wwts-rf-progressive-loader__spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(90, 81, 76, 0.24);
    border-top-color: #5a514c;
    border-radius: 50%;
    animation: wwts-rf-progressive-spin 0.75s linear infinite;
}

@keyframes wwts-rf-progressive-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wwts-rf-progressive-loader__spinner {
        animation-duration: 1.5s;
    }
}


/* Brand gallery card previews intentionally crop to their layout frame.
   The lightbox keeps its separate object-fit: contain contract so the full
   source image remains available on open. */
.wwts-rf-slider-shell:not([data-wwts-rf-grouped-zone="1"]) .wwts-rf-collection-card--wide .wwts-rf-collection-media,
.wwts-rf-slider-shell:not([data-wwts-rf-grouped-zone="1"]) .wwts-rf-collection-card--full .wwts-rf-collection-media {
    aspect-ratio: 16 / 10;
}

.wwts-rf-slider-shell:not([data-wwts-rf-grouped-zone="1"]) .wwts-rf-collection-card--half .wwts-rf-collection-media {
    aspect-ratio: 4 / 3;
}

.wwts-rf-slider-shell:not([data-wwts-rf-grouped-zone="1"]) .wwts-rf-collection-card--narrow .wwts-rf-collection-media,
.wwts-rf-slider-shell:not([data-wwts-rf-grouped-zone="1"]) .wwts-rf-collection-card--third .wwts-rf-collection-media {
    aspect-ratio: 4 / 5;
}

.wwts-rf-collection-media > .wwts-rf-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wwts-rf-collection-media > .wwts-rf-lightbox-trigger > img.wwts-rf-collection-image,
.wwts-rf-slider-track.is-sized .wwts-rf-collection-media > .wwts-rf-lightbox-trigger > img.wwts-rf-collection-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .wwts-rf-slider-shell:not([data-wwts-rf-grouped-zone="1"]) .wwts-rf-collection-card .wwts-rf-collection-media {
        aspect-ratio: 4 / 3;
    }
}
