﻿/* Shared category template: presentation of existing category and product-table data. */
body main:has(.rc-category) > .common-static-header { display: none; }
.rc-category { color: var(--rollex-navy); }

.rc-category > section:first-child { background: #fff; border-bottom: 1px solid var(--rollex-border); }
.rc-category > section:first-child .container { padding-top: 8px; padding-bottom: 8px; }
.rc-category > section:last-child { padding-top: 44px; padding-bottom: 72px; background: #fff; }

.rc-category .shop-category-side-bar { min-width: 0; }
.rc-category .product-listing-2 > .title { margin: 0 0 48px; padding: 0; max-width: none; }
.rc-category .rc-intro { padding: clamp(30px,4vw,60px); border-radius: 0; background: radial-gradient(ellipse at right bottom,#246583,#102b49 70%); color: #fff; }
.rc-category .rc-intro h1 { font-size: clamp(34px,4.2vw,62px); line-height: 1.13; font-weight: 500; color: #fff; margin: 0 0 28px; letter-spacing: -.04em; }

.rc-category .rc-intro p { color: #d0e1e9; font-size: clamp(17px,1.5vw,21px); line-height: 1.75; max-width: 850px; margin: 0; }
.rc-category .rc-details { padding: 32px 0 0; max-width: 1000px; margin-inline: auto; font-size: 16px; line-height: 1.8; }
.rc-category .rc-details p { font-size: inherit; line-height: inherit; margin: 0 0 22px; color: var(--rollex-muted); }
.rc-category .rc-details p:has(> strong:only-child) { margin-bottom: 12px; color: var(--rollex-navy); }
.rc-category .rc-details ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 12px 28px; margin: 0 0 26px; background: var(--rollex-surface); border-left: 3px solid var(--rollex-teal); border-radius: 0 6px 6px 0; list-style: none; }
.rc-category .rc-details li { display: block; list-style: none; padding: 14px 0; margin: 0; font-size: 15px; line-height: 1.5; color: var(--rollex-navy); }
.rc-category .rc-details li::before { content: none; }
.rc-category .rc-details a { color: var(--rollex-blue); text-decoration: underline; text-underline-offset: 4px; }
.rc-category .rc-details a:hover { color: #176e70; }
.rc-category .product-listing-2 > .categories, .rc-category .product-listing-2 > .products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0; padding-top: 30px; border-top: 1px solid var(--rollex-border); }
.rc-category .shop-product-2-wrapper { display: flex; padding: 0; margin: 0; width: auto; min-width: 0; float: none; align-self: stretch; }
.rc-category .shop-product-2 { display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; padding: 24px; border: 0; border-radius: 6px; background: var(--rollex-surface); box-shadow: none; transition: background .2s,transform .2s; }
.rc-category .shop-product-2:hover { transform: translateY(-4px); background: #e4f1f1; box-shadow: none; }
.rc-category .shop-product-2 .image { padding: 0; margin: 0 0 20px; flex: 0 0 auto; border: 0; background: transparent; }
.rc-category .shop-product-2 .image img { display: block; width: 100%; height: 240px; object-fit: contain; mix-blend-mode: multiply; margin: 0; padding: 12px; }
.rc-category .shop-product-2 .image .overlay { opacity: 1; background: transparent; }
.rc-category .shop-product-2 .image .overlay ul { display: none; }
.rc-category .shop-product-2 .info { border: 0; border-top: 1px solid #d6e0e3; padding: 20px 0 0; margin: auto 0 0; text-align: left; background: transparent; }
.rc-category .shop-product-2 .info > a { display: flex; justify-content: space-between; align-items: start; gap: 18px; font-family: var(--rollex-heading-font); font-size: 22px; line-height: 1.35; font-weight: 500; letter-spacing: -.03em; color: var(--rollex-navy); text-transform: none; }
.rc-category .shop-product-2 .info > a::after { content: '↗'; font-size: 25px; color: #42727e; }

@media (max-width: 640px) {
    .rc-category > section:last-child { padding-top: 26px; padding-bottom: 48px; }

    .rc-category .rc-intro { padding: 28px 24px; }
    .rc-category .rc-details { padding-top: 30px; }
    .rc-category .rc-details ul { grid-template-columns: 1fr; padding: 10px 20px; }
    .rc-category .rc-details li + li { border-top: 1px solid var(--rollex-border); }
    .rc-category .product-listing-2 > .categories, .rc-category .product-listing-2 > .products { grid-template-columns: 1fr; gap: 16px; padding-top: 30px; }
    
    
    
}
.rc-category > section > .container > .catalogue-layout { margin-inline: 0; }
.rc-category .product-listing-2 { width: 100%; max-width: none; margin: 0; float: none; }

/* Preserve the catalogue navigation alongside the redesigned category content. */
.rc-category > section:last-child > .container > .catalogue-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}
.rc-category .category-product a { font-family: var(--rollex-font); color: var(--rollex-navy); line-height: 1.5; }
.rc-category .category-product .activeItem > div > a { color: #176e70; font-weight: 700; }
.rc-category .category-product a:hover { color: #176e70; }
.rc-category .category-product img { max-width: 100%; height: auto; }
@media (max-width: 1199px) and (min-width: 992px) {
    .rc-category > section:last-child > .container > .catalogue-layout { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
    .rc-category .product-listing-2 > .categories, .rc-category .product-listing-2 > .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 991px) {
    .rc-category > section:last-child > .container > .catalogue-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
}
.rc-category .rc-details :is(img,iframe,video) { max-width: 100%; }
.rc-category .rc-details table { display: block; max-width: 100%; overflow-x: auto; }

.rc-category .shop-product-2:has(:focus-visible) { outline: 2px solid #1d9b92; outline-offset: 4px; }

@media (min-width: 641px) {
    .rc-category .product-listing-2 > .categories:has(> .shop-product-2-wrapper:nth-child(4):last-child) {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 640px) {
    .rc-category .shop-product-2 .image img { height: 230px; }
    .rc-category .product-listing-2 > :is(.categories,.products) { gap: 16px; }
}

