/* Shared header dropdowns, mobile menu, and footer Explore row */

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 4000;
  background: var(--sand, #E4D5C0);
  color: var(--deep, #042A44);
  padding: 10px 16px;
  font-family: var(--sans, Outfit, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus {
  top: 16px;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--deep, #042A44);
}

.site-head .wrap-wide.bar {
  width: min(1520px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 0 12px;
  position: relative;
}

.site-head .logo-h {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  flex-wrap: nowrap;
  margin-left: 28px;
  margin-right: 0;
  flex: 0 1 auto;
}

nav.primary > a:not(.btn),
nav.primary .nav-dd-btn {
  font-family: var(--sans, Outfit, sans-serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(246, 243, 238, 0.86);
  background: none;
  border: 0;
  padding: 8px 0;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 0;
}

nav.primary > a:not(.btn):hover,
nav.primary .nav-dd-btn:hover,
nav.primary > a:not(.btn):focus-visible,
nav.primary .nav-dd-btn:focus-visible {
  color: var(--sand, #E4D5C0);
  outline: none;
}

nav.primary > a:focus-visible,
nav.primary .nav-dd-btn:focus-visible,
.nav-dd-menu a:focus-visible,
.nav-toggle:focus-visible {
  outline: 1px solid var(--sand, #E4D5C0);
  outline-offset: 4px;
}

nav.primary .btn,
.header-cta {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 12px 18px;
  background: var(--sand, #E4D5C0);
  color: var(--deep, #042A44);
  border: 1px solid var(--sand, #E4D5C0);
  letter-spacing: 0.16em;
}

nav.primary .btn:hover,
.header-cta:hover,
nav.primary .btn:focus-visible,
.header-cta:focus-visible {
  background: #efe4d4;
  border-color: #efe4d4;
  color: var(--deep, #042A44);
}

.header-cta { margin-left: 4px; }
header.site-head a.btn.header-cta {
  margin-left: auto;
}
header.site-head nav.primary a.btn.menu-cta { display: none; }


/* Dropdowns */
.nav-dd {
  position: relative;
}

.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dd-btn .chev {
  width: 9px;
  height: 9px;
  display: block;
  position: relative;
  flex-shrink: 0;
}

.nav-dd-btn .chev::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dd.is-open .nav-dd-btn .chev::before,
.nav-dd:hover .nav-dd-btn .chev::before {
  transform: rotate(225deg);
  top: 5px;
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: auto;
  transform: translateY(6px);
  max-width: min(280px, calc(100vw - 24px));
  min-width: 228px;
  padding: 10px 0;
  background: #031e31;
  border: 1px solid rgba(156, 197, 192, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 320;
}

.nav-dd-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.is-open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

nav.primary .nav-dd-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 300;
  color: rgba(246, 243, 238, 0.86);
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 0;
  line-height: 1.4;
}

nav.primary .nav-dd-menu a:hover,
nav.primary .nav-dd-menu a:focus-visible {
  color: var(--sand, #E4D5C0);
  background: rgba(156, 197, 192, 0.08);
  outline: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--off, #F6F3EE);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Footer Explore row */
.foot-explore {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(156, 197, 192, 0.14);
}

.foot-explore .label {
  font-family: var(--sans, Outfit, sans-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sand, #E4D5C0);
}

.foot-explore a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(246, 243, 238, 0.75);
}

.foot-explore a:hover,
.foot-explore a:focus-visible {
  color: var(--sand, #E4D5C0);
  outline: none;
}

.foot-explore a:focus-visible {
  outline: 1px solid var(--sand, #E4D5C0);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .site-head .wrap-wide.bar {
    width: calc(100% - 48px);
  }

  .nav-toggle {
    display: flex;
  }

  /* Override any page-level "display: none" on the primary nav */
  .site-head nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #031e31;
    border-top: 1px solid rgba(156, 197, 192, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 32px;
    max-height: calc(100vh - 70px);
    overflow: auto;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
  }

  .site-head nav.primary.is-open {
    display: flex;
  }

  nav.primary > a:not(.btn),
  nav.primary .nav-dd-btn {
    padding: 14px 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(156, 197, 192, 0.1);
  }

  header.site-head a.btn.header-cta { display: none; }
  header.site-head nav.primary a.btn.menu-cta { display: inline-flex; }

  nav.primary .btn,
  nav.primary .menu-cta {
    display: inline-flex;
    margin: 22px 0 8px;
    width: 100%;
    text-align: center;
    border-bottom: 0;
    background: var(--sand, #E4D5C0);
    color: var(--deep, #042A44);
    border: 1px solid var(--sand, #E4D5C0);
    padding: 16px 18px;
  }

  .nav-dd-menu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 12px;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    display: none;
    transition: none;
  }

  .nav-dd-menu::before { display: none; }

  .nav-dd.is-open .nav-dd-menu {
    display: block;
    visibility: visible;
    pointer-events: auto;
    max-height: none;
    opacity: 1;
    transform: none;
  }

  /* Disable hover-open on touch / small screens */
  .nav-dd:hover .nav-dd-menu,
  .nav-dd:focus-within .nav-dd-menu {
    display: none;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-dd.is-open:hover .nav-dd-menu,
  .nav-dd.is-open:focus-within .nav-dd-menu,
  .nav-dd.is-open .nav-dd-menu {
    display: block;
    visibility: visible;
    pointer-events: auto;
  }

  nav.primary .nav-dd-menu a {
    padding: 10px 0;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .nav-dd.is-open .nav-dd-btn .chev::before {
    transform: rotate(225deg);
    top: 5px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .foot-explore {
    flex-direction: column;
    gap: 10px;
  }
  .foot-explore a { display: block; }
}


/* Shared product-page photo sizing, gallery, and supporting blocks */
.product-photo-band,
.product-gallery,
.also-card,
.product-content img {
  /* containment is applied to the images themselves */
}

.product-photo-band {
  overflow: hidden;
  background: #0a2436;
}

.product-photo-band img {
  display: block;
  width: 100%;
  max-width: 1400px;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(560px, 65vh);
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 16px;
  background: #0a2436;
  box-sizing: border-box;
}

.product-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #0a2436;
}

.product-gallery img,
.also-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.suits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.suits-grid h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.suits-grid p {
  color: var(--muted, rgba(4, 42, 68, 0.72));
  font-size: 15px;
  line-height: 1.6;
}

.product-faq {
  margin-top: 64px;
  max-width: 880px;
}

.product-faq h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 8px;
}

.product-faq .rule {
  width: 40px;
  height: 1px;
  background: var(--teal, #9CC5C0);
  margin: 0 0 28px;
}

.product-faq details {
  border-bottom: 1px solid var(--hairline, rgba(6, 69, 113, 0.14));
  padding: 16px 0;
}

.product-faq summary {
  cursor: pointer;
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--deep, #042A44);
  list-style: none;
}

.product-faq summary::-webkit-details-marker { display: none; }

.product-faq summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 3px;
}

.product-faq details[open] summary::after {
  transform: rotate(225deg);
  vertical-align: 0;
}

.product-faq .answer {
  color: var(--muted, rgba(4, 42, 68, 0.72));
  margin-top: 10px;
}

.product-faq .answer p { margin: 0; }

@media (max-width: 1100px) {
  .also-grid { grid-template-columns: repeat(3, 1fr); }
  .suits-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .product-photo-band img {
    aspect-ratio: 4 / 3;
    max-height: min(360px, 55vh);
  }
  .product-gallery {
    grid-template-columns: 1fr;
    padding: 0 0 12px;
    gap: 8px;
  }
  .also-grid { grid-template-columns: 1fr 1fr; }
  .product-faq h2 { font-size: 30px; }
}

@media (max-width: 560px) {
  .suits-grid { grid-template-columns: 1fr; }
}

/* Fit fix 2026-11-21: show whole photos, never crop or overflow */
.product-photo-band { padding: 24px 16px; box-sizing: border-box; }
.product-photo-band img {
  width: auto !important;
  max-width: min(100%, 1100px) !important;
  height: auto !important;
  max-height: 70vh !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  border-radius: 6px;
}
.product-gallery { max-width: 1100px; padding: 0 16px 24px; }
.product-gallery img, .also-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
img { max-width: 100%; height: auto; }
@media (max-width: 980px) {
  .product-photo-band { padding: 12px; }
  .product-photo-band img { max-height: none !important; width: 100% !important; }
}

/* Menu button on the left (2026-11-21) */
@media (max-width: 1200px) {
  .site-head .wrap-wide.bar { justify-content: flex-start; }
  .site-head .nav-toggle { order: -1; margin-left: -10px; margin-right: 10px; }
  .site-head .bar > a:first-of-type { margin-right: auto; }
}

/* Footer logo alignment: PNG has 53px transparent left pad on a 1600x400 canvas.
   Displayed at 56px height, pull left so the mark lines up with footer text. */
.foot-brand img {
  display: block;
  margin-left: calc(56px * -53 / 400);
}

/* Suite (and any future) combined photo + gallery band */
.product-photos {
  background: #0a2436;
  padding: 24px 16px 32px;
  box-sizing: border-box;
}
.product-photos .product-photo-band {
  background: transparent;
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.product-photos .product-photo-band img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  border-radius: 6px;
}
.product-photos .product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 0 !important;
  background: transparent;
  box-sizing: border-box;
}
.product-photos .product-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  border-radius: 6px;
}
@media (max-width: 980px) {
  .product-photos { padding: 12px 12px 24px; }
  .product-photos .product-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
}
