.site-header {
  --nav-cream: #fffaf2;
  --nav-ink: #092e22;
  --nav-coral: #f75340;
  height: auto;
  min-height: clamp(76px, 6.35vw, 138px);
  gap: clamp(14px, 1.85vw, 40px);
  padding: 10px clamp(20px, 1.8vw, 40px);
  background: var(--nav-cream);
  color: var(--nav-ink);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 7px 18px #60340e19;
}

.site-header .brand {
  flex: none;
  gap: clamp(7px, .55vw, 12px);
  font-size: clamp(26px, 2.15vw, 47px);
}

.site-header .brand .star {
  font-size: clamp(39px, 3.5vw, 76px);
  color: #ffca08;
  text-shadow: none;
}

.site-header nav {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, .8vw, 18px);
  padding: 0;
  background: transparent;
  font-size: clamp(13px, 1.13vw, 25px);
  font-weight: 750;
}

.site-header nav > a, .nav-dropdown summary {
  white-space: nowrap;
  padding: .62em .3em;
}

.site-header nav > a[aria-current="page"],
.site-header nav .nav-dropdown-panel a[aria-current="page"] {
  padding: .56em .95em;
  border-radius: 999px;
  color: white;
  background: linear-gradient(110deg, #ff826a, var(--nav-coral));
}

.nav-dropdown { position: relative; }

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-resources summary { padding-inline: .85em; border-radius: 999px; }
.nav-resources[open] summary, .nav-resources summary:hover { background: #d4eaff; }

.nav-chevron {
  display: inline-block;
  width: .43em;
  height: .43em;
  margin: 0 .12em .16em .25em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nav-dropdown-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  min-width: clamp(154px, 11vw, 240px);
  padding: .55em 0;
  background: #fff;
  border-radius: clamp(15px, 1.2vw, 26px);
  box-shadow: 0 12px 30px #62442529;
}

.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
}

.nav-dropdown-panel a { display: block; padding: .57em 1.2em; white-space: nowrap; }
.nav-dropdown-panel a:hover { background: #fff8ef; }

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, .95vw, 21px);
  padding-left: clamp(12px, 1.15vw, 25px);
}

.nav-actions::before {
  content: "";
  position: absolute;
  inset: 15% auto 15% 0;
  width: 1px;
  background: #e8d3bd;
}

.nav-contact {
  position: relative;
  min-width: clamp(140px, 12vw, 262px);
  padding: .33em .6em .29em;
  border-radius: 1.15em;
  background: linear-gradient(115deg, #ff735c, #fa523e);
  color: white;
  text-align: center;
  white-space: nowrap;
  font-size: 1.2em;
}

.nav-contact::after {
  content: "";
  position: absolute;
  right: -.6em;
  top: -.55em;
  width: 1.28em;
  height: 1.18em;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39 36'%3E%3Cpath d='m6 3-2 13M24 11l-8 9m20 6-10 4' stroke='%23ffc400' stroke-width='5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}

.nav-contact-links { display: flex; margin-top: .13em; }
.site-header .nav-contact-links a {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  min-width: 34px;
  min-height: 32px;
  padding: .1em .4em;
  border-radius: 5px;
  color: white;
}
.nav-contact-links a + a::before {
  content: "";
  position: absolute;
  inset: 20% auto 20% 0;
  width: 1px;
  background: #ffffff70;
}
.nav-contact-links a:hover { background: #ffffff25; }
.nav-contact-links svg { width: 1.08em; height: 1.08em; }

.site-header .nav-quote,
.site-header nav > .nav-quote[aria-current="page"] {
  display: block;
  padding: .75em 1.02em;
  background: #ffc907;
  color: var(--nav-ink);
  border-radius: 999px;
  white-space: nowrap;
}
.site-header .nav-quote:hover { background: #ffda48; color: var(--nav-ink); }
.site-header :focus-visible { outline: 2px solid #225777; outline-offset: 3px; }
main [id] { scroll-margin-top: clamp(88px, 7vw, 150px); }

.product-card-details { margin: 0 5px 8px; }
.product-card-details p { margin: 0 0 12px; line-height: 1.4; }
.product-card-details a { font-weight: 750; text-decoration: underline; }

@media (min-width: 1181px) {
  .site-header .menu-toggle { display: none; }
}

@media (max-width: 1180px) {
  .site-header { min-height: 68px; padding: 8px 18px; }
  .site-header .menu-toggle { display: block; min-width: 44px; min-height: 44px; cursor: pointer; }
  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    align-items: stretch;
    flex-direction: column;
    max-height: calc(100dvh - 68px);
    overflow: auto;
    gap: 3px;
    padding: 12px 18px 20px;
    background: var(--nav-cream);
    box-shadow: 0 12px 25px #60340e19;
    font-size: 16px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav > a, .nav-dropdown summary { display: block; padding: 11px 12px; }
  .site-header nav > a[aria-current="page"] { align-self: flex-start; }
  .nav-dropdown-panel { position: static; transform: none; margin: 4px 0 6px; box-shadow: none; }
  .nav-dropdown-panel::before, .nav-actions::before { display: none; }
  .nav-actions { flex-wrap: wrap; padding: 12px 0 0; }
  .nav-contact-links a { min-height: 40px; }
}

@media (min-width: 1181px) {
  .site-header { gap: clamp(10px, 1vw, 24px); padding-inline: clamp(24px, 2vw, 48px); }
  .site-header nav { gap: clamp(5px, .45vw, 12px); font-size: clamp(12px, .95vw, 22px); }
  .site-header .nav-actions { gap: clamp(7px, .65vw, 16px); }
  .site-header .nav-contact { min-width: clamp(120px, 10.5vw, 230px); }
}
