﻿/* Reusable components used by the redesigned templates. */
.rl-button,.normal-btn,.border-btn,.product-enquiry-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 24px; border: 1px solid var(--rollex-navy); border-radius: 4px; background: var(--rollex-navy); color: #fff; font-family: var(--rollex-font); font-size: 14px; font-weight: 600; line-height: 1.5; text-transform: none; letter-spacing: 0; text-decoration: none; }
.rl-button:hover,.normal-btn:hover,.product-enquiry-button:hover { color: #fff; background: var(--rollex-blue); border-color: var(--rollex-blue); }
.rl-button span { font-size: 20px; line-height: 1; }
.border-btn { background: transparent; color: var(--rollex-navy); }
.rl-button--light { color: #123d50; background: #d4f5ed; border-color: #d4f5ed; }
.rl-button--light:hover { color: #123d50; background: #e8fcf6; border-color: #e8fcf6; }
.btn-primary { background: var(--rollex-navy); border-color: var(--rollex-navy); }
.btn-primary:hover { background: var(--rollex-blue); border-color: var(--rollex-blue); }
/* Catalogue and support navigation share the same panel and link rhythm. */
.category-product-wrapper { padding: 28px 22px; background: #f5f8f9; border: 1px solid var(--rollex-border); }
.category-product-wrapper h2 { margin: 0 0 22px; font-size: 24px; }
.category-product :is(ul,li,h6) { list-style: none; margin: 0; padding: 0; }
.category-product a { display: block; padding: 12px 0; color: var(--rollex-navy); font-family: var(--rollex-font); font-size: 14px; font-weight: 500; line-height: 1.6; }
.category-product li + li { border-top: 1px solid #dce5e8; }
.category-product .catalogue-entry--child { margin-left: 10px; border-top: 0; border-left: 2px solid #b9d7d5; }
.category-product .catalogue-entry--child a { padding: 9px 6px 9px calc(14px * var(--category-depth,1)); font-size: 13px; font-weight: 400; color: #526875; }
.category-product .catalogue-entry--expanded > div > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.category-product .catalogue-entry--expanded > div > a::after { content: '−'; color: #43817e; }
.category-product .catalogue-entry--root:has(+ .catalogue-entry--child) { border-bottom: 0; }
.category-product .catalogue-entry--child + .catalogue-entry--root { margin-top: 12px; }
.category-product a[aria-current=page] { color: #176e70; font-weight: 700; }
.category-product :is(.activeItem,.current) a,.category-product a:hover { color: #176e70; }
.category-product :is(.activeItem,.current) > :is(a,div) { font-weight: 700; }
.category-product img { max-width: 100%; height: auto; margin-top: 24px; }
.page-breadcumb { padding-block: 8px; font-size: 13px; line-height: 1.8; }
.page-breadcumb a + a::before { content: '/'; padding-inline: 10px; color: #8da2ae; }
/* Tabs rely on Bootstrap's behaviour, with their presentation owned here. */
.tab-section-01 > .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--rollex-border); }
.tab-section-01 > .tabs li { list-style: none; margin: 0; }
.tab-section-01 > .tabs a { display: block; padding: 16px 24px; color: var(--rollex-navy); background: var(--rollex-surface); }
.tab-section-01 > .tabs .active a { background: var(--rollex-navy); color: #fff; }
.tab-section-01 > .content { padding-top: 30px; }
.tab-section-01 > .content > .tab-pane { display: none; }
.tab-section-01 > .content > .tab-pane.active { display: block; }
/* Shared slider controls; Slick supplies the track and slide mechanics. */
.slick-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #cbdade; border-radius: 50%; background: #fff; color: var(--rollex-navy); font-size: 18px; }
.slick-prev { left: 0; } .slick-next { right: 0; }
.slick-disabled { opacity: .35; }
.slick-dots { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 12px 0 0; margin: 0; }
.slick-dots li { margin: 0; } .slick-dots button { width: 9px; height: 9px; border: 0; padding: 0; border-radius: 50%; background: #b7cdd4; font-size: 0; }
.slick-dots .slick-active button { background: var(--rollex-navy); }
/* CMS guide links. */
.guide-library { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.guide-group { min-width: 0; }
.guide-group__heading :is(h2,h3,h4,h5,h6,p) { margin: 0; }
.guide-group__heading a { display: block; position: relative; color: var(--rollex-navy); overflow-wrap: anywhere; }
.guide-group__heading a::after { content: '\2193'; position: absolute; font-size: 22px; }
.guide-group__heading :is(h2,h3,h4,h5,h6) > a { display: flex; align-items: center; }
.guide-download { margin: 0; border-top: 1px solid var(--rollex-border); }
.guide-download a { display: block; padding: 18px 28px; }
/* Editorial stories and native disclosures. */
.rollex-about__stories,.rollex-about-services__layout { display: grid; align-items: start; }
.rollex-about__story { min-width: 0; }
.rollex-about-services__image { height: auto; }
.rollex-about-services__media { display: flex; flex-wrap: wrap; }
.rollex-about-service summary { position: relative; list-style: none; cursor: pointer; }
.rollex-about-service summary::-webkit-details-marker { display: none; }
.rollex-about-service summary::after { content: '+'; position: absolute; right: 24px; font-size: 24px; line-height: 1; }
.rollex-about-service[open] summary::after { content: '−'; }
.rollex-about-service__body p:last-child { margin-bottom: 0; }
/* Related products use the same component in product details and Why Rollex. */
.related-products__heading { margin-bottom: 28px; }
.related-products__eyebrow { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #42727e; }
.related-products__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.related-product { display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--rollex-navy); border-radius: 6px; }
.related-product__image { display: flex; align-items: center; justify-content: center; height: 260px; padding: 24px; }
.related-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.related-product__info { display: flex; flex-direction: column; flex: 1; padding: 24px; border-top: 1px solid var(--rollex-border); min-height: 156px; }
.related-product h3 { margin: 0 0 24px; font-size: 20px; }
.related-product__action { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; font-size: 13px; font-weight: 600; }
.related-product__action > span { font-size: 22px; }
/* Contact information and enquiry fields. */
.contact-layout { display: grid; align-items: start; }
.contact-detail { border-bottom: 1px solid var(--rollex-border); }
.contact-detail__body p { margin-bottom: 8px; }
.contact-detail__body p:last-child { margin-bottom: 0; }
.contact-map iframe { display: block; width: 100%; border: 0; }
.contact-enquiry { min-width: 0; }
.enquiry-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; margin-bottom: 24px; }
.enquiry-field { min-width: 0; } .enquiry-field--wide { grid-column: 1 / -1; }
.enquiry-field label { display: block; margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.enquiry-field textarea { min-height: 190px; resize: vertical; }
.enquiry-product { padding: 20px; margin-bottom: 28px; background: #fff; border: 1px solid var(--rollex-border); }
.enquiry-product__label { margin: 0 0 12px; font-size: 12px; font-weight: 600; }
.enquiry-product__link { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 16px; align-items: center; }
.enquiry-product__image img { width: 80px; height: 96px; object-fit: contain; }
.enquiry-product__name { font-weight: 600; }
.enquiry-product__link--text { grid-template-columns: minmax(0,1fr); }
.contact-error { color: #ad2532; margin-top: 20px; }
/* Testimonial content remains in CMS order. */
.testimonials-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.testimony { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.testimony--lead { grid-column: 1 / -1; }
.testimony__mark { display: block; font-family: Georgia,serif; line-height: 1; }
.testimony__quote { padding: 0; border: 0; }
.testimony__quote p { font-weight: 400; font-style: normal; white-space: pre-line; }
.testimony__author { display: flex; flex-direction: column; margin-top: auto; border-top: 1px solid var(--rollex-border); }
/* Filters: native layout plus Selectize and jQuery UI mechanics. */
#FilterForm { padding: 0; background: transparent; font-family: var(--rollex-font); }
#FilterForm label { display: block; margin: 0 0 8px; font-size: 13px; }
#FilterForm label.multiselect { padding: 0; }
#FilterForm .selectize-control.form-control { height: auto; padding: 0; border: 0; margin-bottom: 20px; box-shadow: none; }
#FilterForm .selectize-input { min-height: 44px; padding: 11px 30px 11px 12px; border: 1px solid #c4d5dc; border-radius: 4px; box-shadow: none; font: 14px/20px var(--rollex-font); }
#FilterForm .selectize-dropdown { font: 14px/1.5 var(--rollex-font); }
#FilterForm .selectize-dropdown .option { padding: 9px 12px; }
#FilterForm .selectize-dropdown .active { background: var(--rollex-surface); color: var(--rollex-blue); }
#FilterForm > label:has(input[type=checkbox]) { display: flex; align-items: start; gap: 10px; margin: 8px 0; }
#FilterForm input.form-control[type=checkbox] { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; padding: 0; }
#FilterForm > b { display: block; margin-top: 20px; }
#PriceRange { padding: 8px 0 12px; width: 100%; background: transparent; color: var(--rollex-navy); font: 500 15px/1.5 var(--rollex-font); }
.ui-slider { position: relative; text-align: left; }
.ui-slider-handle { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); touch-action: none; }
.ui-slider-range { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); }
#slider-range { height: 4px; margin: 12px 8px 24px; background: #ced8e4; border: 0; }
#slider-range .ui-slider-range { height: 4px; background: var(--rollex-navy); }
#slider-range .ui-slider-handle { width: 16px; height: 20px; margin-left: -8px; background: #fff; border: 2px solid var(--rollex-navy); cursor: ew-resize; }
#FilterForm input[type=submit] { width: 100%; margin-top: 12px; }
/* Card-image links cover their media without depending on theme overlays. */
.shop-product-2 .image { position: relative; }
.shop-product-2 .overlay,.shop-product-2 .forClick { position: absolute; inset: 0; display: block; }
@media(max-width:991px) { .enquiry-fields { grid-template-columns: 1fr; } .related-products__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .testimonials-grid { grid-template-columns: 1fr; } }
@media(max-width:575px) { .related-products__grid { grid-template-columns: 1fr; } .related-product__image { height: 240px; } .related-product__info { padding: 20px; } }
#cookie-law-info-bar { position: fixed; inset: auto 0 0; z-index: 100; padding: 12px; text-align: center; background: #fff; color: var(--rollex-navy); border-top: 2px solid var(--rollex-teal); }
#cookie-law-info-bar.accepted { display: none; }
