/**
 * Rolex landing — M4 Our Rolex selection (product carousel, Swiper).
 * Migrated from rolex.min.css + vs-common watch card layout.
 */

/* —— Product cards —— */
.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem {
    display: block;
    height: 100%;
    margin: 0;
    padding: 0;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem::before,
.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem::after,
.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper::before,
.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper::after {
    display: none !important;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItemInner {
    display: block;
    width: calc(100% - 8px);
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    position: relative;
    background-color: #f4efea !important;
    border-width: 0 !important;
    box-shadow: none !important;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-imageWrapper,
.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper {
    display: block;
    position: relative;
    z-index: 4;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-imageWrapper {
    padding: 0;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-imageWrapper .imageWrapper {
    display: block;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    position: relative;
    background-color: #f4efea;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-imageWrapper .imageWrapper img {
    display: block;
    width: 80%;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate3d(0, -50%, 0) scale3d(1.02, 1.02, 1);
    transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItemInner:hover .vs-common-watchItem-imageWrapper .imageWrapper img {
        transform: translate3d(0, -50%, 0) scale3d(1.1, 1.1, 1);
    }
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper-title {
    padding-bottom: 10px;
}

/* CON-5b: headline/body16 → rolex-typography.css */

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper {
    padding: 40px 50px;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper {
        padding: 24px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper {
        padding: 40px 24px;
    }
}

@media only screen and (max-width: 767px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.en,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.tc,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.sc {
        min-height: 200px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.en,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.tc,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.sc {
        min-height: 150px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.en {
        min-height: 180px;
    }

    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.tc,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.sc {
        min-height: 200px;
    }
}

@media only screen and (min-width: 1440px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.en,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.tc,
    .rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .vs-common-watchItem-infoWrapper.sc {
        min-height: 200px;
    }
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .rolex-ourRolexSelection-list-card-item-label {
    display: block;
    position: relative;
    text-align: left;
    color: #472b20;
    z-index: 4;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .rolex-ourRolexSelection-list-card-item-label.infoCollection {
    margin-bottom: 4px;
    line-height: 1.2;
}

.rolex-wrapper .rolex-ourRolexSelection-products-wrapper .vs-common-watchItem .rolex-ourRolexSelection-list-card-item-label.rolex-collection-body16 {
    color: rgba(71, 43, 32, 0.8);
}

/* CON-5: .large width → rolex-collection.css */
/* CON-5c: noPadding* → rolex-collection.css */

/* Products column — predictable vertical rhythm (legacy slick + watchGridActions) */
.rolex-wrapper .rolex-index-selection .rolex-ourRolexSelection-products-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* —— View all — below pagination (legacy padding-top: 40px on .rolex-common-watchGridActions) —— */
.rolex-wrapper .rolex-index-selection .rolex-ourRolexSelection-products-wrapper .rolex-common-watchGridActions {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 40px;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.rolex-wrapper .rolex-index-selection .rolex-common-watchGridActions .shopnowBtn.rolex-common-buttonlabel {
    margin-top: 0;
}

.rolex-wrapper .rolex-index-selection .shopnowBtn {
    display: block;
    padding: 16px 30px;
    font-size: 16px;
    line-height: 1.3em;
    background-color: #127749;
    color: #fff;
    border-radius: 100px;
    border: 1px solid #127749;
    transition: all 0.2s ease-out;
    text-decoration: none;
}

.rolex-wrapper .rolex-index-selection .shopnowBtn:hover {
    background-color: #fff;
    color: #127749;
    text-decoration: none;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-index-selection .shopnowBtn {
        transition: none !important;
    }
}

/* —— Swiper carousel (was Slick) —— */
.rolex-wrapper .rolex-ourRolexSelection-products-carousel {
    position: relative;
}

.rolex-wrapper .rolex-ourRolexSelection-products-slider.swiper {
    position: relative;
    margin-left: -4px;
    margin-right: -4px;
    overflow: hidden;
}

.rolex-wrapper .rolex-ourRolexSelection-products-slider .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* Pagination row — legacy .slick-dots margin 15px 0 6px; +20px top vs old slick for Hyvä card layout */
.rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap {
    display: block;
    width: 100%;
    min-height: 8px;
    flex: 0 0 auto;
    margin: 35px 0 10px;
    padding: 0;
    position: relative;
    z-index: 2;
    clear: both;
    box-sizing: border-box;
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap {
        display: none !important;
    }
}

.rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-pagination.swiper-pagination {
    position: static !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    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;
}

/* Custom bullets — do not use Swiper .swiper-pagination-bullet (blue circles) */
.rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-bullet {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block !important;
    box-sizing: border-box;
    width: 18px;
    height: 4px;
    margin: 0 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background-color: #d4d4d4;
    opacity: 1;
    vertical-align: top;
    cursor: pointer;
    line-height: 0;
    font-size: 0;
    transition: width 0.2s ease-out, background-color 0.2s ease-out;
}

.rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-bullet--active,
.rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-bullet.is-active {
    width: 40px;
    background-color: #127749;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-bullet {
        width: 32px;
        margin: 0 7px;
    }

    .rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-bullet--active,
    .rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .rolex-selection-bullet.is-active {
        width: 78px;
    }
}

/* Kill any Swiper default bullets if they leak in */
.rolex-wrapper .rolex-index-selection .rolex-selection-pagination-wrap .swiper-pagination-bullet:not(.rolex-selection-bullet) {
    display: none !important;
}

/* Arrows — brown chevron + dark circle (legacy selection slick) */
.rolex-wrapper .rolex-ourRolexSelection-products-slider .rolex-carousel-arrow {
    position: absolute;
    top: 50%;
    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;
    box-sizing: content-box;
    opacity: 0.6;
    transition: border-color 0.2s ease-out, opacity 0.2s ease-out;
}

.rolex-wrapper .rolex-ourRolexSelection-products-slider .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-ourRolexSelection-products-slider .rolex-carousel-arrow--prev {
    left: 0;
    transform: translate3d(0, -0.65em, 0) translate3d(0, -40px, 0) translate3d(0, -50%, 0) rotate3d(0, 0, 1, -135deg);
}

.rolex-wrapper .rolex-ourRolexSelection-products-slider .rolex-carousel-arrow--next {
    right: 0;
    transform: translate3d(0, -0.65em, 0) translate3d(0, -40px, 0) translate3d(0, -50%, 0) rotate3d(0, 0, 1, 45deg);
}

.rolex-wrapper .rolex-ourRolexSelection-products-slider .rolex-carousel-arrow:hover {
    opacity: 1;
    border-color: #127749;
}

.rolex-wrapper .rolex-ourRolexSelection-products-slider .rolex-carousel-arrow--disabled {
    opacity: 0;
    pointer-events: none;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-ourRolexSelection-products-slider .rolex-carousel-arrow {
        display: none;
    }
}
