body.site_s2 {
    --drev-photo-ratio: 7 / 5;
    --drev-photo-radius: 15px;
    --drev-photo-inset: clamp(8px, 1.7cqw, 12px);
    --drev-photo-caption: #fffdf9;
    --drev-photo-shadow: 0 1px 3px #201a1599, 0 0 7px #201a1559;
}

/* Aspro adds the part of the footer visible on screen to its inline offset. */
body.site_s2 #scrollToTop.scroll-to-top { bottom: 80px !important; }

/* The same aperture and typography on the main grid, section links and native history. */
body.site_s2 #right_block_ajax .wave1-grid [data-wave1-card] .drev8-card-frame,
body.site_s2 .drev-section-tile,
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner {
    aspect-ratio: var(--drev-photo-ratio);
    border-radius: var(--drev-photo-radius);
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items.wave1-grid:not(.owl-carousel) > [data-drev8-card-surface="grid"][data-wave1-use-source][data-drev-interactive] .drev8-card-media .drev8-card-picture > img.wave1-picture {
    inset: 0;
    width: 100%;
    min-width: 100% !important;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: var(--drev8-photo-x,50%) 50%;
    clip-path: none;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items.wave1-grid:not(.owl-carousel) > [data-drev8-card-surface="grid"][data-wave1-use-source][data-drev-interactive] .drev8-card-media .drev8-card-picture::before,
body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items.wave1-grid:not(.owl-carousel) > [data-drev8-card-surface="grid"][data-wave1-use-source][data-drev-interactive] .drev8-card-media .drev8-card-picture::after { content: none; }

body[data-drev-v8~="cards"] #right_block_ajax .wave1-grid [data-wave1-use-source][data-drev-interactive]
 .drev8-card-picture:has(.wave1-picture:not([data-drev-photo-ready])) > img.drev8-card-photo {
    opacity: 1 !important;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-frame > .inner_wrap > .drev8-card-glass {
    display: grid;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: end;
    align-items: last baseline;
    gap: 12px;
    padding: 0;
    height: auto !important;
    color: var(--drev-photo-caption);
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-frame .drev8-card-glass::after,
body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-frame .drev8-card-media .like_icons::before {
    content: none !important;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-glass :is(.item-title,.cost.prices,.drev8-card-quote) {
    display: block;
    width: auto;
    min-height: 0;
    padding: 0;
    color: inherit;
    background: none;
    box-shadow: none;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-glass :is(.item-title a,.item-title a span,.price,.price span,.drev8-card-quote) {
    color: var(--drev-photo-caption) !important;
    text-shadow: var(--drev-photo-shadow) !important;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-glass .item_info--bottom_block {
    grid-column: 2;
    justify-self: end;
    text-align: end;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-glass .item-title a {
    display: block;
    font-size: var(--wave1-type-size);
    white-space: normal;
    overflow-wrap: anywhere;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-glass .item-title a > span {
    width: auto;
    white-space: normal;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-glass .price .values_wrapper {
    align-items: baseline;
    translate: none;
}

body.site_s2 [data-drev-interactive] :is(.drev8-card-glass,.block-item__info) :is(.dp-byn-symbol,.drev-minimum-price-prefix) {
    color: var(--drev-price-note-color, #eee8dc) !important;
    opacity: .87;
    font-size: .77em !important;
    font-weight: 550 !important;
    vertical-align: baseline;
}
body.site_s2 [data-drev-interactive] :is(.drev8-card-glass,.block-item__info) .drev-minimum-price-prefix {
    margin-inline-end: .24em;
    white-space: nowrap;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-frame .drev8-card-media .like_icons > .wrapp_one_click {
    display: none !important;
}

[data-drev-price-action] { cursor: pointer; pointer-events: auto; }
[data-drev-price-action]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-media .like_icons,
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-actions {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body.site_s2 [data-drev-interactive] :is(.like_icons,.drev-history-actions) > * {
    pointer-events: inherit !important;
}

body.site_s2 [data-drev-interactive] :is(.like_icons,.drev-history-actions) > * [data-drev8-control] {
    pointer-events: inherit !important;
}

body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive]:is([data-drev-revealed],:has(:focus-visible)) .drev8-card-media .like_icons,
body.site_s2 .viewed-wrapper [data-drev-history]:is([data-drev-revealed],:has(:focus-visible)) .drev-history-actions {
    opacity: 1 !important;
    pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
    body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive]:is(:hover,:focus-within) .drev8-card-media .like_icons,
    body.site_s2 .viewed-wrapper [data-drev-history]:is(:hover,:focus-within) .drev-history-actions {
        opacity: 1 !important;
        pointer-events: auto;
    }
}

body.site_s2 [data-drev-interactive] :is(.like_icons,.drev-history-actions) :is(.drev8-control, .drev8-icon-slot, button) {
    color: #292622;
    background: transparent !important;
    box-shadow: none !important;
}
body.site_s2 [data-drev-interactive] :is(.like_icons,.drev-history-actions) svg {
    filter: drop-shadow(0 0 1px #fffaf0);
}

/* Reuse Aspro .hover_shine .shine, its pseudoelement and its keyframes. */
body.site_s2 .hover_shine [data-drev-interactive] .drev-card-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.site_s2 .hover_shine [data-drev-interactive]:hover .drev-card-shine::before {
        animation: shine .5s ease;
        opacity: 1;
        visibility: visible;
        z-index: 3;
    }
}
body.site_s2 .hover_shine :is([data-drev-interactive],[data-drev-section-tile]) .shine::before {
    pointer-events: none;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    body.site_s2 .hover_shine :is([data-drev-interactive],[data-drev-section-tile]) .shine::before {
        animation: none !important;
        visibility: hidden !important;
    }
    body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-media .like_icons,
    body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-actions { transition: none; }
}

body.site_s2:has([data-drev-v8-section-hero]) .top-block-wrapper :is(.topic__heading,.topic__heading__count) {
    display: none;
}
body.site_s2 [data-drev-v8-section-hero] .dpv-hero__scene-main { --drev8-hero-fit: cover; }
body.site_s2 .dpv-hero[data-drev-v8-hero][data-drev-v8-section-hero] .dpv-hero__scene { inset: 0 !important; width: 100% !important; }

body.site_s2 .catalog_section_list[data-drev-section-tiles] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(14px,1.2vw,24px);
    margin: 0;
    width: 100%;
}
body.site_s2 .catalog_section_list[data-drev-section-tiles]::before,
body.site_s2 .catalog_section_list[data-drev-section-tiles]::after { display: none; }
body.site_s2 .catalog_section_list[data-drev-section-tiles] > :is([data-drev-section-tile], :has([data-drev-section-tile])) {
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.site_s2 [data-drev-section-tile] {
    border: 0;
    box-shadow: none;
    margin: 0;
    position: relative;
    container-type: inline-size;
    overflow: hidden;
}
body.site_s2 [data-drev-section-tile] .drev-section-tile {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #e5dfd4;
}
body.site_s2 [data-drev-section-tile] .drev-section-tile img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}
.drev-section-tile-label {
    position: absolute;
    inset: auto var(--drev-photo-inset) var(--drev-photo-inset);
    z-index: 4;
    color: var(--drev-photo-caption);
    text-shadow: var(--drev-photo-shadow);
    font: 630 clamp(17px,4.5cqw,24px)/1.12 Onest, sans-serif;
}
.drev-section-tile:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

/* Aspro renders this rail on pages that do not load its Swiper bundle.
   Keep the native slide markup horizontally accessible until it is enhanced. */
body.site_s2 .viewed-wrapper .swiper:not(.swiper-initialized):has([data-drev-history]) > .swiper-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
body.site_s2 .viewed-wrapper .swiper:not(.swiper-initialized) .swiper-slide:has([data-drev-history]) {
    flex: 0 0 calc((100% - 48px) / 5);
    scroll-snap-align: start;
}
@media (min-width: 2300px) {
    body.site_s2 .viewed-wrapper .swiper:not(.swiper-initialized) .swiper-slide:has([data-drev-history]) {
        flex-basis: calc((100% - 60px) / 6);
    }
}
@media (width < 1440px) {
    body.site_s2 .viewed-wrapper .swiper:not(.swiper-initialized) .swiper-slide:has([data-drev-history]) {
        flex-basis: calc((100% - 24px) / 3);
    }
}
@media (width < 1024px) {
    body.site_s2 .viewed-wrapper .swiper:not(.swiper-initialized) .swiper-slide:has([data-drev-history]) {
        flex-basis: calc((100% - 12px) / 2);
    }
}
@media (width < 768px) {
    body.site_s2 .viewed-wrapper .swiper:not(.swiper-initialized) .swiper-slide:has([data-drev-history]) {
        flex-basis: 100%;
    }
}
/* Systems already have SSR photo cards but intentionally have no Wave 1 Quick View.
   Apply the caption layout without synthesizing controls absent in native Aspro. */
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-frame {
    aspect-ratio: var(--drev-photo-ratio);
}
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-glass {
    inset: auto var(--drev-photo-inset) var(--drev-photo-inset) !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-glass::before,
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-glass :is(.item_info--top_block,.item_info--bottom_block) > :not(.item-title,.cost.prices,.drev8-card-quote) {
    display: none !important;
}
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-glass :is(.item-title,.cost.prices) {
    margin: 0;
    min-width: 0;
}
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-glass :is(.item-title a,.cost.prices .price_value,.drev8-card-quote) {
    font: 630 16px/1.15 Onest, sans-serif;
}
body.site_s2 #right_block_ajax [data-drev-experience-native] .drev8-card-glass .drev8-card-price--quote .drev8-card-quote {
    padding: 0;
    margin: 0;
}

body.site_s2 .viewed-wrapper .swiper-slide:has([data-drev-history]) {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}
body.site_s2 .viewed-wrapper [data-drev-history] {
    display: block;
    container-type: inline-size;
    padding: 0;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner {
    position: relative;
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: #e5dfd4;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner:has(> .drev-history-photo[data-drev-photo-ready]) > .block-item__image {
    visibility: hidden;
    pointer-events: none;
}
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 0;
    margin: 0;
    max-width: none;
    max-height: none;
}
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-photo:not([data-drev-photo-ready]) {
    opacity: 0;
    pointer-events: none;
}
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-photo [data-drev-history-image] {
    position: absolute;
    inset: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: var(--drev8-photo-x,50%) var(--drev8-photo-y,50%);
}
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-photo[data-drev-history-portrait] {
    background: #f2efea;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner:has(> [data-drev-history-portrait][data-drev-photo-ready]) {
    --drev-photo-caption: #28251f;
    --drev-photo-shadow: none;
    --drev-price-note-color: var(--drev-photo-caption);
}
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-photo[data-drev-history-portrait] [data-drev-history-image] {
    object-fit: contain !important;
    object-position: center;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__info {
    position: absolute;
    inset: auto var(--drev-photo-inset) var(--drev-photo-inset) !important;
    z-index: 4;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: end;
    align-items: last baseline;
    gap: 10px;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    height: auto !important;
    min-height: 0;
    padding: 0;
    margin: 0;
    color: var(--drev-photo-caption);
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__info > :not(.block-item__title,.block-item__cost,.drev8-card-quote),
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__info::before {
    display: none !important;
}
body.site_s2 .viewed-wrapper [data-drev-history] :is(.block-item__title,.block-item__title a,.block-item__title a span,.block-item__cost,.price,.price span,.drev8-card-quote) {
    color: inherit;
    margin: 0;
    padding: 0;
    font: 630 clamp(15px,4.5cqw,24px)/1.12 Onest,sans-serif;
    text-shadow: var(--drev-photo-shadow);
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__title a {
    display: block !important;
    width: fit-content;
    max-width: 100%;
    max-height: none;
    -webkit-line-clamp: unset;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    pointer-events: auto;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__cost {
    margin: 0;
    text-align: end;
    white-space: nowrap;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__title a {
    white-space: normal;
    overflow-wrap: anywhere;
}
.drev-history-actions {
    position: absolute;
    z-index: 5;
    top: var(--drev-photo-inset);
    right: var(--drev-photo-inset);
    display: flex;
    color: #28251f;
}
body.site_s2 .viewed-wrapper [data-drev-history] .drev-history-actions > button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
}
.drev-history-actions svg { width: 20px; height: 20px; color: inherit; }
.drev-history-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }

@media (max-width: 767px) {
    body.site_s2 .catalog_section_list[data-drev-section-tiles] {
        grid-template-columns: minmax(0,1fr);
        width: 100vw;
        margin-inline: calc((100% - 100vw) / 2) !important;
    }
    body.site_s2 [data-drev-section-tile],
    body.site_s2 [data-drev-section-tile] :is(.drev-section-tile, img) {
        border-radius: 0;
    }
    body.site_s2 .dpv-bento[data-drev8-bento] .dpv-bento__rail {
        width: 100vw;
        margin-inline: calc((100% - 100vw) / 2);
        padding-inline: 0;
        scroll-padding-inline: 0;
    }
    body.site_s2 .dpv-bento[data-drev8-bento] .dpv-bento__grid {
        padding-inline: 0;
        grid-auto-columns: 100vw;
    }
    body.site_s2.dpr-v7.dpr-v6 .dpv-bento[data-drev8-bento] :is(.dpv-bento__grid, .dpv-bento__grid--single) .dpv-bento__card {
        width: 100vw;
        flex-basis: 100vw;
        max-width: none;
        border-radius: 0;
    }
    body.site_s2 .dpv-bento[data-drev8-bento] .dpv-bento__card :is(img,.dpv-bento__card-caption) { border-radius: 0; }
}

/* Secondary shelves use the same photo aperture and lower caption row as the catalog. */
@media (min-width: 768px) {
    body.site_s2 .viewed_product_block > .wrapper_inner:has(.viewed-wrapper) {
        width: 100%;
        max-width: none !important;
        padding-inline: clamp(20px, 2.1vw, 72px);
    }
}
body.site_s2 .viewed-wrapper:has([data-drev-history]) .swiper-nav-offset { margin-inline: 0; }
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner {
    height: auto !important;
    border: 0 !important;
    aspect-ratio: var(--drev-photo-ratio) !important;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner > .block-item__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__info {
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}
body.site_s2 .viewed-wrapper [data-drev-history] :is(.block-item__title a,.block-item__title a span,.price,.price_value,.drev8-card-quote) {
    font-size: clamp(15px, 4.5cqw, 23px) !important;
    line-height: 1.12 !important;
    color: var(--drev-photo-caption) !important;
    text-shadow: var(--drev-photo-shadow) !important;
}
body.site_s2 .viewed-wrapper [data-drev-history] .block-item__title a {
    display: block !important;
    overflow: visible !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
}

body.site_s2 [data-drev-secondary-rail] .catalog_block.items [data-drev-interactive] {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    padding: 0;
    margin: 0;
    container-type: inline-size;
}
body.site_s2 [data-drev-secondary-rail] .catalog_block.items [data-drev-interactive] .drev8-card-frame {
    display: block;
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: var(--drev-photo-ratio);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    isolation: isolate;
}
body.site_s2 [data-drev-secondary-rail] .catalog_block.items [data-drev-interactive] .inner_wrap {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
}
body.site_s2 [data-drev-secondary-rail] .catalog_block.items .drev8-card-frame .drev8-card-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    padding: 0;
    margin: 0;
    background: #ebe7df;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-media .drev8-card-picture {
    position: absolute;
    display: block !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-picture > img.drev8-card-photo {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0;
    object-fit: cover !important;
    object-position: var(--drev8-photo-x,50%) var(--drev8-photo-y,50%);
    border-radius: 0;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-frame[data-drev8-media="studio"] {
    --drev-photo-caption: #28251f;
    --drev-price-note-color: #28251f;
    --drev-photo-shadow: none;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-frame[data-drev8-media="studio"] img.drev8-card-photo {
    object-fit: contain !important;
}
body.site_s2 [data-drev-secondary-rail] .catalog_block.items [data-drev-interactive] .drev8-card-glass {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: last baseline;
    gap: 10px;
    position: absolute;
    inset: auto var(--drev-photo-inset) var(--drev-photo-inset) !important;
    width: auto;
    max-width: none !important;
    min-height: 0;
    height: auto !important;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    color: var(--drev-photo-caption);
    z-index: 4;
    pointer-events: none;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-glass :is(.item_info--top_block,.item_info--bottom_block,.cost.prices,.item-title) {
    display: block !important;
    width: auto;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-glass :is(.item-title a,.item-title a span,.price,.price span,.drev8-card-quote) {
    font: 630 clamp(15px, 4.5cqw, 23px)/1.12 Onest,sans-serif;
    color: var(--drev-photo-caption) !important;
    text-shadow: var(--drev-photo-shadow) !important;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-glass .item-title a {
    display: block !important;
    pointer-events: auto;
    overflow: visible !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-glass :is(.item_info--bottom_block,.cost.prices) {
    justify-self: end;
    text-align: end;
    white-space: nowrap;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-glass :is(.cost.prices,.drev8-card-quote) {
    margin: 0 !important;
    padding: 0 !important;
}
body.site_s2 [data-drev-secondary-rail] .drev8-card-glass::after,
body.site_s2 [data-drev-secondary-rail] [data-drev-interactive] :is(.drev8-card-actions,.article_block,.drev8-card-specs,.drev8-card-article,.properties_absolute,.stickers,.rating),
body.site_s2 [data-drev-secondary-rail] .drev8-card-media > :is(.thumb,.js-item-gallery,.fill-image-mirror):not(.drev8-card-picture) {
    display: none !important;
}
body.site_s2 [data-drev-secondary-rail] [data-drev-interactive] .like_icons {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 0;
    inset: var(--drev-photo-inset) var(--drev-photo-inset) auto auto;
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease;
}
body.site_s2 [data-drev-secondary-rail] [data-drev-interactive]:is([data-drev-revealed],:focus-within) .like_icons {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
    body.site_s2 [data-drev-secondary-rail] [data-drev-interactive]:hover .like_icons {
        opacity: 1 !important;
        visibility: visible;
        pointer-events: auto;
    }
}
body.site_s2 [data-drev-secondary-rail] [data-drev-interactive] .like_icons :is(.wish_item,.fast_view_button > span) {
    background: transparent;
    box-shadow: none;
    border: 0;
    min-width: 44px;
    min-height: 44px;
}

/* Photo surfaces only. Interactive chrome keeps its native shape. */
body.site_s2 #right_block_ajax .catalog_block.drev8-photo-grid > [data-drev8-card-surface="grid"],
body.site_s2 #right_block_ajax .catalog_block.drev8-photo-grid > [data-drev8-card-surface="grid"] :is(.drev8-card-frame,.drev8-card-media,.drev8-card-picture,.drev8-card-picture img,.drev8-card-glass),
body.site_s2 .catalog_section_list [data-drev-section-tile],
body.site_s2 .catalog_section_list [data-drev-section-tile] :is(.drev-section-tile,img),
body.site_s2 .viewed-wrapper [data-drev-history] :is(.block-item__inner,.drev-history-photo,.drev-history-photo img),
body.site_s2 .dpv-bento[data-drev8-bento] :is(.dpv-bento__card,.dpv-bento__card img) {
    border-radius: 0 !important;
}

body.site_s2 .drev-catalog-heading {
    margin: clamp(22px, 3vw, 52px) 0 clamp(14px, 1.65vw, 28px);
    color: inherit;
    font: 550 clamp(24px, 2vw, 38px)/1.16 Onest, sans-serif;
    text-wrap: balance;
}

body.site_s2:has([data-drev-v8-section-hero]) .top-block-wrapper .breadcrumbs {
    text-align: start;
    justify-content: flex-start;
}

body.site_s2:has([data-drev-v8-section-hero]) .page-top .topic:not(:has(h1)) {
    display: none;
}

@media (min-width: 1200px) {
    body.site_s2:has([data-drev-v8-section-hero]) .top-block-wrapper .page-top {
        padding-inline: 32px;
    }
}

@media (max-width: 767px) {
    body.site_s2:has([data-drev-v8-section-hero]) .top-block-wrapper .page-top {
        display: block;
        min-height: 0;
        padding-block: 14px 0;
    }

    body.site_s2 #right_block_ajax .catalog_block.drev8-photo-grid {
        width: 100vw !important;
        max-width: none;
        margin-inline: calc((100% - 100vw) / 2) !important;
        padding-inline: 0;
        grid-template-columns: minmax(0,1fr);
    }

    body.site_s2 #right_block_ajax .catalog_block.drev8-photo-grid > [data-drev8-card-surface="grid"] {
        width: 100%;
        max-width: none;
        padding-inline: 0 !important;
    }

    body[data-drev-v8~="cards"] #right_block_ajax .catalog_block.items:is(.wave1-grid,.drev8-photo-grid):not(.owl-carousel) > [data-drev8-card-surface="grid"]:is([data-wave1-card],[data-drev8-card-ssr],[data-drev-experience-native])[data-drev-interactive] .drev8-card-frame > .inner_wrap > .drev8-card-glass {
        inset-inline: 16px;
        inset-block-end: 12px;
    }

    body.site_s2 :is(.drev-section-tile, [data-drev-experience-native], .viewed-wrapper [data-drev-history]) {
        --drev-photo-inset: 16px;
    }

    body.site_s2 .viewed-wrapper [data-drev-history] .block-item__inner {
        border: 0;
    }

    body.site_s2 .viewed-wrapper .swiper:has([data-drev-history]) {
        width: 100vw;
        margin-inline: calc((100% - 100vw) / 2);
    }
}

/* Keep both product shelves aligned while preserving their native sliders. */
body.site_s2 [data-drev-shelf] {
    --drev-shelf-gutter: clamp(16px, 2.1vw, 72px);
    width: calc(100vw - 2 * var(--drev-shelf-gutter) - var(--drev-shelf-scrollbar, 0px));
    max-width: none;
    margin-inline: calc((100% - 100vw + var(--drev-shelf-scrollbar, 0px)) / 2 + var(--drev-shelf-gutter));
}
body.site_s2 .viewed_product_block:has([data-drev-shelf]) { background: #fff; }

body.site_s2 [data-drev-shelf] .drev-shelf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 clamp(16px, 1.6vw, 30px);
}
body.site_s2 [data-drev-shelf] .drev-shelf-head > :is(.ordered-block__title, h3.font_lg) {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: start;
    font: 400 clamp(26px, 1.7vw, 42px)/1.12 Forum, Georgia, serif;
}
body.site_s2 .drev-shelf-nav { display: flex; gap: 8px; flex: 0 0 auto; }
body.site_s2 .drev-shelf-nav[hidden] { display: none; }
body.site_s2 .drev-shelf-nav > button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d5cfc6;
    border-radius: 50%;
    background: #fff;
    color: #27231e;
}
body.site_s2 .drev-shelf-nav > button::before {
    content: '';
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateX(-1px) rotate(-45deg);
}
body.site_s2 .drev-shelf-nav > [data-direction="prev"]::before { transform: translateX(1px) rotate(135deg); }
body.site_s2 .drev-shelf-nav > button:disabled { opacity: .36; }
body.site_s2 .drev-shelf-nav > button:enabled:hover { background: #29251f; color: #fff; }
body.site_s2 .drev-shelf-nav > button:focus-visible { outline: 2px solid #29251f; outline-offset: 3px; }

body.site_s2 [data-drev-shelf] :is(.owl-nav,.owl-dots,.swiper-button-prev,.swiper-button-next,.swiper-pagination,.swiper-navigation),
body.site_s2 [data-drev-secondary-rail] [data-drev-interactive] :is(.button_block,.read_more) {
    display: none !important;
}

body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) {
    --drev-photo-inset: clamp(12px, 3.8cqw, 22px);
    --drev-photo-shadow: 0 1px 4px #15120fd9, 0 0 12px #15120f80;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: last baseline;
    gap: 10px;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info)
    :is(.item-title a,.item-title a span,.block-item__title a,.block-item__title a span,.price,.price_value,.drev8-card-quote) {
    font: 600 clamp(15px, 4.45cqw, 22px)/1.18 Onest, sans-serif !important;
    -webkit-text-stroke: 0;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) .drev8-card-quote { white-space: nowrap; }
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) :is(.item-title,.block-item__title) { min-width: 0; margin: 0; }

body.site_s2 .drev8-card-frame .drev-model-picture {
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    visibility: hidden;
    pointer-events: none;
}
body.site_s2 .drev8-card-frame[data-drev-model-scene] .drev-model-picture {
    visibility: visible;
    pointer-events: auto;
}
body.site_s2 .drev8-card-frame .drev8-card-picture > img.drev-model-scene {
    position: absolute;
    display: block !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
    opacity: 1 !important;
}
body.site_s2 .drev8-card-frame[data-drev-model-scene] .drev8-card-media:has(> .drev-model-picture) .drev8-card-picture:not(.drev-model-picture) {
    visibility: hidden;
}
@media (max-width: 767px) {
    body.site_s2 [data-drev-shelf] {
        width: calc(100vw - var(--drev-shelf-scrollbar, 0px));
        margin-inline: calc((100% - 100vw + var(--drev-shelf-scrollbar, 0px)) / 2);
    }
    body.site_s2 [data-drev-shelf] .drev-shelf-head { padding-inline: 16px; }
}

body.site_s2 [data-drev-shelf] .drev8-card-glass .item_info--bottom_block,
body.site_s2 [data-drev-shelf] .drev8-card-glass .ce_cmp_hidden {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
body.site_s2 [data-drev-shelf] .drev8-card-glass :is(.price,.values_wrapper,.js_price_wrapper) {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* Remove the space reserved for the former buy row and align the printed lines. */
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) {
    align-items: end !important;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) >
    :is(.item_info--top_block,.item_info--bottom_block,.block-item__title,.block-item__cost) {
    align-self: end !important;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info)
    :is(.item_info--bottom_block,.cost.prices,.js_price_wrapper,.prices-wrapper,.price_matrix_wrapper,.price:not(.discount),.drev8-card-quote) {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.18;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info)
    :is(.price:not(.discount),.price_value,.price_currency,.price .values_wrapper,.drev8-card-quote) {
    font: 700 var(--drev-card-caption-size)/1.08 Forum, Onest, sans-serif !important;
    vertical-align: baseline;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info)
    .price :is(.drev-minimum-price-prefix,.dp-byn-symbol) {
    font-size: .77em !important;
    line-height: 1;
}

/* Keep both actions on the same axis on every photographic card. */
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons),
body.site_s2 #right_block_ajax [data-drev8-card-surface="grid"][data-drev-interactive] .drev8-card-media .like_icons {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 0 !important;
    width: max-content !important;
    height: 44px;
    inset-inline: auto var(--drev-photo-inset, 12px) !important;
    inset-block: var(--drev-photo-inset, 12px) auto !important;
    z-index: 8;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons) { color: #fffdf9; }
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons) > *,
body.site_s2 #right_block_ajax [data-drev8-card-surface="grid"][data-drev-interactive] .like_icons > * {
    flex: 0 0 auto;
    margin: 0 !important;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons)
    :is([data-drev8-control],.fast_view_button,.wish_item_button,.drev8-icon-slot) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons)
    :is([data-drev8-control],.fast_view_button,.wish_item_button,.drev8-icon-slot)::before,
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons)
    :is([data-drev8-control],.fast_view_button,.wish_item_button,.drev8-icon-slot)::after {
    content: none !important;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons) [data-drev8-control] {
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    pointer-events: inherit;
    cursor: pointer;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] :is(.drev-history-actions,.like_icons) [data-drev8-control] .drev8-icon {
    width: 20px !important;
    height: 20px !important;
    filter: drop-shadow(0 1px 2px #191611d9);
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] .like_icons > .wish_item {
    order: -1;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] .like_icons > .fast_view_button {
    position: static !important;
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    transform: none !important;
}
body.site_s2 [data-drev-shelf] [data-drev-interactive] .like_icons [data-drev8-control] {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info)
    :is(.item-title a,.item-title a span,.block-item__title a,.block-item__title a span) {
    font: 600 var(--drev-card-caption-size)/1.08 Forum, Onest, sans-serif !important;
    font-synthesis: weight;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) {
    --drev-photo-shadow: 0 1px 4px #181512d1, 0 0 8px #1815127a;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) .price
    .drev-minimum-price-prefix {
    font: 500 .69em/1 Onest, sans-serif !important;
    margin-inline-end: .35em;
    opacity: .92;
}
body.site_s2 [data-drev-shelf] :is(.drev8-card-glass,.block-item__info) .price .dp-byn-symbol {
    font-size: .78em !important;
    margin-inline-start: .18em;
    vertical-align: baseline;
}
