/**
 * Rolex + RCPO Keep Exploring carousel (Swiper).
 * CON-4: merged from rolex-common-keepExploring.css +
 * rolex-rcpo-common-keepExploring.css (dual selectors; HTML class names unchanged).
 * RCPO-only rules: rolex-rcpo-keepExploring-overrides.css
 * @see dev-doc/rolex_shared_assets_consolidation_plan.html#milestones
 */


/* —— Section (.rolex-collection-block.white) —— */
.rolex-wrapper .rolex-common-keepExploring.rolex-collection-block,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring.rolex-collection-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-top: max(7vh, 60px);
    padding-bottom: max(7vh, 60px);
    background-color: #fff;
}

@media only screen and (min-width: 1024px) {
.rolex-wrapper .rolex-common-keepExploring.rolex-collection-block,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring.rolex-collection-block {
        padding-top: max(10vh, 90px);
        padding-bottom: max(10vh, 90px);
    }
}

/* CON-5: .large width → rolex-collection.css */

.rolex-wrapper .rolex-common-keepExploring .rolex-collection-headline36,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .rolex-collection-headline36 {
    color: #472b20;
    font-weight: 700;
    font-size: clamp(1.5rem, calc(1.25rem + 0.875vw), 2.25rem);
    line-height: 1.24;
    padding-top: 0;
}

.rolex-wrapper .rolex-common-keepExploring .rolex-collection-headline20,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .rolex-collection-headline20 {
    color: #472b20;
    font-weight: 700;
    font-size: clamp(1.125rem, calc(1.0625rem + 0.1563vw), 1.25rem);
    line-height: 1.3;
}

/* —— Carousel shell —— */
.rolex-wrapper .rolex-keepExploring-carousel-shell,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-carousel-shell {
    position: relative;
    max-width: 1628px;
    width: calc(100% - 48px + 8px);
    margin: 24px auto 0;
    overflow: visible;
}

@media only screen and (min-width: 768px) {
.rolex-wrapper .rolex-keepExploring-carousel-shell,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-carousel-shell {
        width: calc(((1620 / 1920) * 100%) + 8px);
    }
}

.rolex-wrapper .rolex-keepExploring-carousel-viewport,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport {
    position: relative;
    overflow: visible;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel.swiper,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel.swiper {
    overflow: hidden;
    position: relative;
    height: auto;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .swiper-wrapper,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .swiper-wrapper {
    height: auto;
    align-items: flex-start;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .swiper-slide,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* —— Slides —— */
.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem {
    display: block !important;
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem:hover,
.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem.active,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem:hover,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem.active {
    color: #127749;
    text-decoration: none;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem:hover .rolex-common-gridTitle,
.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem.active .rolex-common-gridTitle,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem:hover .rolex-common-gridTitle,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem.active .rolex-common-gridTitle {
    color: #127749;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail {
    overflow: hidden;
    display: block;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail img,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem:hover .thumbnail img,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem:hover .thumbnail img {
    transform: scale3d(1.1, 1.1, 1);
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-mobile,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-mobile {
    display: block;
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-desktop,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-desktop {
    display: none;
}

@media only screen and (min-width: 768px) {
.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-mobile,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-mobile {
        display: none;
    }

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-desktop,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .thumbnail .thumbnail-desktop {
        display: block;
    }
}

.rolex-wrapper .rolex-common-keepExploring .keepExploringCarousel .carouselItem .title,
.rolex-wrapper.rolexrcpo .rolexrcpo-common-keepExploring .keepExploringCarousel .carouselItem .title {
    display: block;
    padding-top: 10px;
    line-height: 1.3;
}

/* —— Pagination (legacy slick-dots; visible at all breakpoints per old site) —— */
.rolex-wrapper .rolex-keepExploring-pagination-wrap,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap {
    display: block;
    width: 100%;
    min-height: 8px;
    margin: 40px 0 6px;
    padding: 0;
    position: relative;
    z-index: 2;
    clear: both;
    text-align: center;
    line-height: 0;
    box-sizing: border-box;
}

.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-pagination.swiper-pagination,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-pagination.swiper-pagination {
    position: static !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    width: 100% !important;
    min-height: 8px;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
}

.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-bullet,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-bullet {
    appearance: none;
    -webkit-appearance: none;
    width: 32px;
    height: 4px;
    margin: 0 7px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background-color: #d4d4d4;
    opacity: 1;
    cursor: pointer;
    display: inline-block !important;
    vertical-align: top;
    line-height: 0;
    font-size: 0;
    box-sizing: border-box;
    transition: width 0.2s ease-out, background-color 0.2s ease-out;
}

.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-bullet--active,
.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-bullet.is-active,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-bullet--active,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-bullet.is-active {
    width: 78px;
    background-color: #127749;
}

@media only screen and (max-width: 767px) {
.rolex-wrapper .rolex-keepExploring-pagination-wrap,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap {
        margin: 15px 0 6px;
    }

.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-bullet,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-bullet {
        width: 18px;
        margin: 0 4px;
    }

.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-bullet--active,
.rolex-wrapper .rolex-keepExploring-pagination-wrap .rolex-keepExploring-bullet.is-active,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-bullet--active,
.rolex-wrapper.rolexrcpo .rolexrcpo-keepExploring-pagination-wrap .rolexrcpo-keepExploring-bullet.is-active {
        width: 40px;
    }
}

/* —— Arrows (desktop; brown chevron per legacy keepExploring) —— */
.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow {
    position: absolute;
    top: 40%;
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    border-style: solid;
    border-color: #472b20;
    border-width: 3px 3px 0 0;
    background-color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    z-index: 2;
    appearance: none;
    opacity: 0.6;
    box-sizing: content-box;
    transition: opacity 0.2s ease-out, border-color 0.2s ease-out;
}

.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow::after,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate3d(-50%, -50%, 0) translate3d(6px, 2px, 0);
    background-color: #000;
    opacity: 0.1;
    border-radius: 40px;
    z-index: -1;
    pointer-events: none;
}

.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--prev,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--prev {
    left: -40px;
    transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -135deg);
}

.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--next,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--next {
    right: -40px;
    transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, 45deg);
}

@media only screen and (max-width: 767px) {
.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--prev,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--prev {
        left: 0;
    }
}

.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow:hover,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow:hover {
    opacity: 1;
    border-color: #127749;
}

.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--disabled,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow--disabled {
    opacity: 0;
    pointer-events: none;
}

@media only screen and (max-width: 779px) {
.rolex-wrapper .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow,
.rolex-wrapper.rolexrcpo .rolex-keepExploring-carousel-viewport .rolex-carousel-arrow {
        display: none;
    }
}
