/* Global header and footer styles for all child theme templates/pages. */
:root {
  --gold: #BDA76E;
  --gold-dark: #9f8950;
  --black: #000000;
  --charcoal: #0b0b0b;
  --soft-black: #111111;
  --white: #ffffff;
  --ivory: #f7f3ea;
  --muted: #777777;
  --border: rgba(189, 167, 110, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --container: 1320px;
  --serif: "Cormorant Garamond", serif;
  --sans: "Montserrat", sans-serif;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.rp-child-site {
  margin: 0;
  padding-top: 116px;
  font-family: var(--sans);
  color: var(--soft-black);
  background: var(--white);
  line-height: 1.6;
}
body.rp-child-site * { box-sizing: border-box; }
body.rp-child-site a { color: inherit; text-decoration: none; }
body.rp-child-site img { max-width: 100%; height: auto; display: block; }
body.rp-child-site button,
body.rp-child-site input,
body.rp-child-site select { font-family: inherit; }

.container,
.rp-container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0 18px;
  transition: all 0.35s ease;
}

.nav-shell {
  width: min(100%, 1230px);
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: all 0.35s ease;
}

.site-header.scrolled {
  top: 0;
  padding: 0;
}

.site-header.scrolled .nav-shell {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.94);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(189, 167, 110, 0.28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.nav {
  height: 74px;
  padding: 0 22px 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.site-header.scrolled .nav {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  height: 78px;
  padding-inline: 0;
}

.logo,
.site-header .custom-logo-link,
.footer .custom-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: 230px;
}

.site-header .custom-logo,
.footer .custom-logo {
  width: auto;
  max-height: 52px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  background: #f7f7f6;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 25px rgba(189, 167, 110, 0.25);
  flex: 0 0 auto;
}

.logo-text {
  display: grid;
  line-height: 1.05;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.logo-text span:last-child {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-top: 3px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li { margin: 0; }
.menu a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  padding: 27px 0;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu a:hover,
.menu a.active,
.menu .current-menu-item > a,
.menu .current_page_item > a { color: #fff; }
.menu a:hover::after,
.menu a.active::after,
.menu .current-menu-item > a::after,
.menu .current_page_item > a::after { width: 22px; }

.menu-switchers {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
}

.nav-select {
  height: 36px;
  min-width: 82px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 28px 0 13px;
  font-size: 12px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 15px, calc(100% - 9px) 15px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.nav-select:hover,
.nav-select:focus {
  border-color: var(--gold);
  background-color: rgba(189, 167, 110, 0.13);
}

.nav-select option { color: var(--black); background: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.nav-cta {
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(189, 167, 110, 0.32);
  transition: all 0.35s ease;
  white-space: nowrap;
}

.nav-cta span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: all 0.35s ease;
}

.nav-cta:hover {
  background: #d2bd83;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(189, 167, 110, 0.42);
}
.nav-cta:hover span { transform: rotate(45deg); }

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.mobile-toggle span {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
  transition: all 0.3s ease;
}
.mobile-toggle span:nth-child(1) { top: 16px; }
.mobile-toggle span:nth-child(2) { top: 23px; }
.mobile-toggle span:nth-child(3) { top: 30px; }
.mobile-toggle.active span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu-switchers,
.mobile-menu-cta { display: none; }
.desktop-switchers { display: flex; }

.footer {
  background: #050505;
  color: var(--white);
  padding: 58px 0 26px;
  margin-top: 70px;
}
.rp-luxury-homepage .footer { margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
}
.footer p,
.footer li,
.footer a { color: rgba(255,255,255,0.68); font-size: 14px; }
.footer h3 {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer ul { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.footer a:hover { color: var(--gold); }
.footer-brand .logo { margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: 0.3s ease;
}
.socials a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.48);
  font-size: 13px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.rp-page-main {
  min-height: 55vh;
  padding: 36px 0 70px;
}
.rp-page-main .entry-header,
.rp-page-main .entry-content {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}
.rp-page-main .entry-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  margin: 0 0 28px;
  color: var(--soft-black);
}
.rp-page-main .entry-content {
  font-size: 16px;
  color: #222;
}
.rp-page-main .entry-content a { color: var(--gold-dark); text-decoration: underline; }

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .menu { gap: 16px; }
  .nav-cta { padding: 0 18px; }
}

@media (max-width: 980px) {
  body.rp-child-site { padding-top: 96px; }
  .site-header { top: 14px; padding: 0 14px; }
  .site-header.scrolled { top: 0; padding: 0; }
  .nav-shell { width: 100%; border-radius: 28px; }
  .site-header.scrolled .nav-shell { border-radius: 0; }
  .nav,
  .site-header.scrolled .nav {
    width: 100%;
    height: 68px;
    padding: 0 12px 0 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .logo,
  .site-header .custom-logo-link { min-width: auto; }
  .logo-mark { width: 40px; height: 40px; font-size: 18px; }
  .logo-text { font-size: 11px; }
  .logo-text span:last-child { font-size: 10px; }
  .nav-cta { display: none; }
  .desktop-switchers { display: none; }
  .mobile-toggle { display: block; }
  .menu {
    position: fixed;
    top: 94px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px;
    background: rgba(0, 0, 0, 0.96);
    border: 1px solid rgba(189, 167, 110, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: all 0.35s ease;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 1000;
  }
  .site-header.scrolled .menu { top: 82px; }
  .menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .menu li { width: 100%; }
  .menu a {
    display: flex;
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
  }
  .menu a::after { display: none; }
  .menu a:hover,
  .menu a.active,
  .menu .current-menu-item > a,
  .menu .current_page_item > a { background: rgba(189, 167, 110, 0.14); color: var(--gold); }
  .mobile-menu-switchers {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0 4px;
  }
  .mobile-menu-cta { display: block; }
  .nav-select {
    width: 100%;
    height: 48px;
    min-width: 0;
    border-radius: 14px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.08);
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  body.rp-child-site { padding-top: 84px; }
  .container,
  .rp-container,
  .rp-page-main .entry-header,
  .rp-page-main .entry-content { width: min(100% - 32px, var(--container)); }
  .site-header { top: 8px; padding: 0 8px; }
  .nav-shell { border-radius: 999px; }
  .nav,
  .site-header.scrolled .nav { height: 64px; padding: 0 10px; }
  .logo { gap: 9px; }
  .logo-mark { width: 36px; height: 36px; font-size: 16px; }
  .logo-text { max-width: 126px; font-size: 9px; letter-spacing: .08em; }
  .logo-text span:last-child { font-size: 8px; }
  .mobile-toggle { width: 42px; height: 42px; }
  .mobile-toggle span { left: 12px; }
  .menu { top: 74px; left: 8px; right: 8px; padding: 12px; max-height: calc(100vh - 86px); }
  .site-header.scrolled .menu { top: 72px; }
  .menu a { justify-content: center; text-align: center; font-size: 14px; padding: 14px; }
  .mobile-menu-switchers { grid-template-columns: 1fr; gap: 8px; }
  .footer { padding-top: 46px; }
  .footer-grid > div,
  .footer-bottom { text-align: center; }
  .footer-brand .logo,
  .footer-links,
  .socials { justify-content: center; }
}

/* v1.3.6: Header consistency fix for normal WordPress pages.
   Keep the same luxury header behaviour used on the homepage, and protect it
   from default WordPress/menu/plugin styles on normal pages. */
.site-header {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
}

.site-header .nav {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

.site-header .logo,
.site-header .custom-logo-link {
  min-width: auto !important;
  width: auto !important;
  max-width: none !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.site-header .logo-text {
  display: none !important;
}

.site-header .logo-mark {
  width: 46px !important;
  height: 46px !important;
  font-size: 18px !important;
}

/* v1.7.2: Site Identity wordmark visibility.
   The source logo is only 160x31, so width:auto keeps it visually tiny.
   Give the wordmark an explicit rendered width on desktop while preserving
   its aspect ratio. This rule also wins over legacy homepage logo rules. */
.site-header .custom-logo {
  display: block !important;
  width: 260px !important;
  height: auto !important;
  max-width: 260px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  filter: brightness(1.20) contrast(1.08) drop-shadow(0 2px 8px rgba(189, 167, 110, 0.20));
}

.site-header .menu {
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  gap: clamp(12px, 1.1vw, 22px) !important;
}

.site-header .menu li {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.site-header .menu a,
.site-header .menu .current-menu-item > a,
.site-header .menu .current_page_item > a {
  color: rgba(255, 255, 255, 0.88) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.site-header .menu a:hover,
.site-header .menu a.active,
.site-header .menu .current-menu-item > a,
.site-header .menu .current_page_item > a {
  color: #fff !important;
}

.site-header .desktop-switchers .rpml-switcher,
.site-header .desktop-switchers .rp-currency-switcher,
.site-header .mobile-menu-switchers .rpml-switcher,
.site-header .mobile-menu-switchers .rp-currency-switcher {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .desktop-switchers .rp-currency-switcher__label,
.site-header .mobile-menu-switchers .rp-currency-switcher__label {
  display: none !important;
}

.site-header .desktop-switchers .rpml-switcher__select,
.site-header .mobile-menu-switchers .rpml-switcher__select,
.site-header .desktop-switchers .rp-currency-select,
.site-header .mobile-menu-switchers .rp-currency-select,
.site-header .nav-select {
  height: 42px !important;
  min-width: 76px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  padding: 0 28px 0 13px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  outline: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%) !important;
  background-position: calc(100% - 14px) 18px, calc(100% - 9px) 18px !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
}

.site-header .desktop-switchers .rpml-switcher__select option,
.site-header .mobile-menu-switchers .rpml-switcher__select option,
.site-header .desktop-switchers .rp-currency-select option,
.site-header .mobile-menu-switchers .rp-currency-select option,
.site-header .nav-select option {
  color: #000 !important;
  background: #fff !important;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .site-header .custom-logo {
    width: 220px !important;
    max-width: 220px !important;
    max-height: 46px !important;
  }

  .site-header .desktop-switchers {
    display: none !important;
  }
  .site-header .nav-cta {
    padding: 0 18px !important;
  }
}

@media (max-width: 980px) {
  .site-header .nav,
  .site-header.scrolled .nav {
    justify-content: space-between !important;
    padding-left: 16px !important;
    padding-right: 12px !important;
  }

  .site-header .logo {
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  .site-header .custom-logo-link {
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  .site-header .custom-logo {
    width: 185px !important;
    max-width: 185px !important;
    max-height: 40px !important;
  }

  .site-header .logo-mark {
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
  }

  .site-header .nav-actions {
    margin-left: auto !important;
  }

  .site-header .mobile-toggle {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin-left: auto !important;
  }

  .site-header .mobile-toggle.active {
    transform: none !important;
  }

  .site-header .menu {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex-wrap: nowrap !important;
  }

  .site-header .menu li {
    width: 100% !important;
  }

  .site-header .menu a {
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  .site-header .mobile-menu-switchers .rpml-switcher,
  .site-header .mobile-menu-switchers .rp-currency-switcher {
    width: 100% !important;
    display: block !important;
  }

  .site-header .mobile-menu-switchers .rpml-switcher__select,
  .site-header .mobile-menu-switchers .rp-currency-select,
  .site-header .mobile-menu-switchers .nav-select {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 520px) {
  .site-header .nav,
  .site-header.scrolled .nav {
    padding-left: 14px !important;
    padding-right: 10px !important;
  }

  .site-header .logo-mark {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }


  .site-header .custom-logo {
    width: 160px !important;
    max-width: 160px !important;
    max-height: 36px !important;
  }
}

.socialmedia-width{
width: 21px;;
}
