﻿/* Shared site shell: navigation, footer and compact header search. */
/* New navigation intentionally avoids the old theme's menu classes and scripts. */
.rl-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--rollex-border); }
.rl-header__inner { width: 91%; max-width: 1500px; min-height: 105px; margin: auto; display: flex; align-items: center; gap: 26px; }
.rl-brand { display: inline-flex; flex-shrink: 0; }
.rl-brand img { display: block; width: 155px; height: 67px; object-fit: contain; }
.rl-navigation { margin-left: auto; }
.rl-header :is(ul,li), .rl-footer :is(ul,li) { list-style: none; padding: 0; margin: 0; }
.rl-nav-list { display: flex; align-items: center; gap: 20px; }
.rl-nav-item { position: relative; }
.rl-nav-item__top { display: flex; align-items: center; gap: 2px; }
.rl-header .rl-nav-list a { display: block; color: var(--rollex-navy); font-family: var(--rollex-font); font-size: 13px; font-weight: 500; line-height: 1.5; text-decoration: none; padding: 16px 0; }
.rl-header .rl-nav-list a:hover, .rl-header .is-current > .rl-nav-item__top > a { color: #176e70; }
.rl-submenu-toggle { padding: 10px 6px; border: 0; background: transparent; color: var(--rollex-navy); font: inherit; cursor: pointer; }
.rl-header .rl-submenu { position: absolute; top: 100%; left: 0; width: 280px; padding: 12px 20px; border: 1px solid var(--rollex-border); border-radius: 6px; background: #fff; box-shadow: var(--rollex-shadow); display: none; }
.rl-header .rl-submenu a { padding: 10px 0; font-size: 14px; }
.rl-nav-item:last-child .rl-submenu { left: auto; right: 0; }
.rl-header:not(.is-enhanced) .rl-nav-item:hover > .rl-submenu,
.rl-header:not(.is-enhanced) .rl-nav-item:focus-within > .rl-submenu,
.rl-header .rl-nav-item.is-open > .rl-submenu { display: block; }
.rl-submenu-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(45deg); }
.rl-menu-toggle { display: none; border: 1px solid var(--rollex-border); border-radius: 5px; padding: 10px 12px; background: #fff; color: var(--rollex-navy); font: inherit; cursor: pointer; }
.rl-header__cta { flex-shrink: 0; gap: 12px; }
/* White footer matches the concept while retaining the existing CMS content. */
.rl-footer { padding: 48px 0 24px; background: #fff; border-top: 1px solid var(--rollex-border); color: var(--rollex-navy); }
.rl-footer__top { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr) minmax(0,1.35fr); align-items: start; gap: 48px; padding-bottom: 44px; }
.rl-footer__content { font-size: 13px; line-height: 1.8; color: var(--rollex-muted); overflow-wrap: anywhere; }
.rl-footer__content :is(p,li,a,span) { font-family: var(--rollex-font); font-size: inherit; color: inherit; }
.rl-footer__content img { max-width: 100%; height: auto; }
.rl-footer__content ul { padding-left: 18px; }
.rl-footer__content li { list-style: disc; }
.rl-footer__content a { text-decoration: underline; }
.rl-footer__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 24px; align-items: start; }

.rl-footer__links a { display: flex; align-items: baseline; gap: 8px; color: var(--rollex-navy); font-size: 13px; line-height: 1.5; }
.rl-footer__links a:hover { color: #176e70; }
.rl-footer__links span { flex-shrink: 0; margin: 0; }
.rl-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--rollex-border); color: var(--rollex-muted); font-size: 11px; }
.rl-footer__bottom a { color: inherit; }
@media (max-width: 1199px) {
    .rl-header__inner { flex-wrap: wrap; gap: 16px; min-height: 90px; padding-block: 12px; }
    .rl-header .rl-brand img { width: 125px; height: 58px; }
    .rl-header__cta { margin-left: auto; padding: 13px 16px; font-size: 12px; }
    .rl-header.is-enhanced .rl-menu-toggle { display: inline-flex; align-items: center; gap: 12px; order: 2; }
    .rl-navigation { width: 100%; margin: 0; order: 3; }
    .rl-header.is-enhanced .rl-navigation { display: none; }
    .rl-header.is-menu-open .rl-navigation { display: block; }
    .rl-nav-list { display: block; border-top: 1px solid var(--rollex-border); padding-top: 12px !important; }
    .rl-nav-item__top { justify-content: space-between; }
    .rl-header .rl-submenu { position: static; width: 100%; box-shadow: none; margin-bottom: 8px; }
    .rl-header .rl-nav-list > li > a, .rl-header .rl-nav-item__top > a { font-size: 16px; padding: 13px 0; flex: 1; }
    .rl-submenu-toggle { min-width: 44px; min-height: 44px; }
}
@media (max-width: 767px) {
    .rl-container { width: 86%; }
    .rl-header__inner { width: 88%; }
    .rl-header__cta { gap: 12px; font-size: 11px; padding: 11px 12px; }
    .rl-menu-toggle { font-size: 13px; }
    .rl-footer { padding-top: 36px; }
    .rl-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
    .rl-footer__links { grid-column: 1 / -1; }
    .rl-footer__bottom { flex-wrap: wrap; }
}
@media (max-width: 400px) {
    .rl-header__inner { gap: 10px; width: 92%; }
    .rl-header .rl-brand img { width: 100px; height: 50px; }
    .rl-header__cta { max-width: 145px; }
    .rl-menu-toggle { padding: 9px; }
    .rl-footer__top { grid-template-columns: 1fr; }
}
.rl-search-form { display: flex; align-items: stretch; width: 145px; max-width: 100%; border: 1px solid #c4d5dc; border-radius: 4px; background: #fff; }
.rl-search-form:focus-within { border-color: #2e8884; outline: 2px solid #6bc8c155; outline-offset: 2px; }
.rl-search-form input { display: block; flex: 1 1 auto; min-width: 0; width: 100%; margin: 0; padding: 7px 9px; border: 0; border-radius: 4px 0 0 4px; background: transparent; color: var(--rollex-navy); font: 500 13px/18px var(--rollex-font); letter-spacing: 0; }
.rl-search-form input::placeholder { font: inherit; letter-spacing: inherit; }
.rl-search-form input:focus { outline: none; }
.rl-search-form button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin: 0; padding: 7px 9px; border: 0; border-radius: 0 4px 4px 0; background: transparent; color: var(--rollex-navy); font: 500 14px/1 var(--rollex-font); cursor: pointer; }
.rl-search-form button:hover { color: #176e70; background: #e4f1f1; }
.rl-header .rl-search-form { height: 34px; }
.rl-header .rl-search-form button svg { width: 16px; height: 16px; }
@media(max-width:1199px) {
    .rl-header .rl-nav-item--search { padding: 14px 0; }
    .rl-header .rl-search-form { width: 100%; height: 42px; }
    .rl-header .rl-search-form input { font-size: 16px; padding: 10px 12px; }
}