/* Shared primary navigation. */
.site-header { padding-block: 19px; gap: 22px; align-items: center; border-bottom: 1px solid #e9dfd1; }
.site-header .brand { gap: 11px; flex: none; }
.site-header .brand img { width: 49px; height: 49px; filter: drop-shadow(0 3px 6px #3f12261a); }
.site-header .brand strong { font-size: 22px; letter-spacing: .055em; }
.site-header > nav { display: flex; align-items: center; gap: 3px; margin-left: auto; width: auto; }
.site-header > nav > a,
.site-header > nav > .catalog-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 12px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; line-height: 1.4; font-weight: 700; color: #54172d; text-decoration: none; white-space: nowrap; }
.site-header > nav > a:hover,
.site-header > nav > .catalog-menu > summary:hover,
.site-header > nav > .catalog-menu[open] > summary { background: #f0e6d9; color: #54172d; }
.site-header > nav > .nav-secondary { color: #6f6257; font-weight: 600; }
.site-header > nav > .nav-partners { margin-left: 8px; border-left: 1px solid #dfd2c1; border-radius: 0 8px 8px 0; padding-left: 19px; }
.site-header > nav > .nav-advisor { margin-left: 6px; background: #5b1831; color: #fffaf0; padding-inline: 15px; }
.site-header > nav > .nav-advisor:hover { background: #762440; color: #fff; }
.site-header > nav > a:focus-visible,
.site-header summary:focus-visible,
.site-header button:focus-visible,
.site-header .catalog-panel a:focus-visible { outline: 3px solid #aa7a34; outline-offset: 3px; }
.site-header .catalog-panel { top: calc(100% + 1px); padding: 22px 25px 16px; border: 1px solid #e5d9c9; border-radius: 0 0 16px 16px; background: #fffdf9; box-shadow: 0 18px 35px #3b1b2020; max-height: min(640px, var(--menu-available-height, 74dvh)); overflow-y: auto; }
.site-header .catalog-panel-heading { align-items: center; padding-bottom: 15px; margin-bottom: 18px; gap: 14px; }
.site-header .catalog-panel-heading > div > a { font-size: 23px; color: #54172d; }
.site-header .catalog-eyebrow { font-size: 9px; color: #8b6437; letter-spacing: .11em; margin-bottom: 5px; }
.site-header .catalog-close { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 11px; border: 1px solid #e7ddce; border-radius: 8px; background: #fff; color: #756758; font: 600 12px system-ui,sans-serif; cursor: pointer; }
.site-header .catalog-close span { font-size: 21px; font-weight: 400; line-height: 1; }
.site-header .catalog-close:hover { background: #f5ede2; color: #54172d; }
.site-header .catalog-menu-grid { gap: 0; align-items: stretch; }
.site-header .catalog-menu-group,
.site-header .catalog-menu-group.catalog-featured { border: 0; border-radius: 0; background: none; padding: 0 18px; border-left: 1px solid #eee5d9; }
.site-header .catalog-menu-group:first-child { padding-left: 0; border-left: 0; }
.site-header .catalog-menu-group:last-child { padding-right: 0; }
.site-header .catalog-menu-group .catalog-group-title { font-size: 15px; font-weight: 750; line-height: 1.4; padding-block: 2px; min-height: 26px; }
.site-header .catalog-group-title span { font-size: 15px; color: #a47638; }
.site-header .catalog-group-hint { margin: 5px 0 6px; min-height: 0; color: #8c7a66; font-size: 11px; line-height: 1.45; }
.site-header .catalog-menu-group ul { margin-top: 7px; }
.site-header .catalog-menu-group li a { padding: 7px 0; font-size: 13px; color: #65564a; line-height: 1.35; min-height: 31px; }
.site-header .catalog-menu-group li a:hover { color: #651c36; text-decoration: underline; text-underline-offset: 3px; }
.spirit-secondary { margin-top: 17px; padding-top: 14px; border-top: 1px solid #e9dfd2; }
.secondary-label { margin: 0 0 9px; color: #8b7359; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.spirit-secondary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 7px 11px; }
.site-header .spirit-more,
.site-header .spirit-direct { min-width: 0; border: 1px solid #eadfce; border-radius: 8px; background: #fbf7ef; }
.site-header .spirit-more > summary,
.site-header .spirit-direct { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 8px 11px; min-height: 37px; color: #65354a; font-size: 12px; font-weight: 650; line-height: 1.4; text-decoration: none; list-style: none; cursor: pointer; }
.site-header .spirit-more > summary::-webkit-details-marker { display: none; }
.site-header .spirit-more > summary span { font-size: 16px; color: #a58354; }
.site-header .spirit-more[open] > summary { border-bottom: 1px solid #e9dfd1; }
.site-header .spirit-more[open] > summary span { transform: rotate(45deg); }
.site-header .spirit-more ul { list-style: none; padding: 5px 11px 9px; margin: 0; background: #fffdfa; border-radius: 0 0 8px 8px; }
.site-header .spirit-more li a { display: block; padding: 7px 0; min-height: 32px; color: #716052; font-size: 12px; font-weight: 400; line-height: 1.4; text-decoration: none; white-space: normal; }
.site-header .spirit-more li .spirit-all { color: #5b1831; font-weight: 700; }
.site-header .spirit-more li a:hover { text-decoration: underline; }
.site-header .spirit-direct:hover,
.site-header .spirit-more > summary:hover { background: #f1e7d8; }
.site-header .catalog-panel-footer { margin-top: 14px; padding-top: 12px; font-size: 11px; }
.site-header .catalog-panel-footer > a { font-size: 12px; }
.site-header .wine-menu .catalog-menu-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
@media (max-width: 1100px) and (min-width: 761px) {
  .site-header { gap: 12px; padding-bottom: 12px; }
  .site-header > nav { width: 100%; justify-content: space-between; margin-top: 1px; }
  .site-header .wine-menu .catalog-menu-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 0; }
}
@media (max-width: 760px) {
  .site-header { gap: 14px; padding-block: 16px; }
  .site-header > nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; width: 100%; margin: 0; overflow: visible; }
  .site-header > nav > a,
  .site-header > nav > .catalog-menu > summary { width: 100%; min-height: 43px; padding: 9px 7px; font-size: 12px; border: 1px solid #e6dbcc; border-radius: 8px; background: #fffdf8; }
  .site-header > nav > .nav-partners { margin: 0; padding: 9px 7px; border: 1px solid #e6dbcc; border-radius: 8px; }
  .site-header > nav > .nav-advisor { margin: 0; grid-column: span 2; background: #5b1831; color: #fffaf0; border-color: #5b1831; }
  .site-header .catalog-panel { padding: 17px; }
  .site-header .catalog-menu-grid,
  .site-header .wine-menu .catalog-menu-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 0; }
  .site-header .catalog-menu-group { padding: 0 13px; }
  .site-header .catalog-menu-group:nth-child(odd) { border-left: 0; padding-left: 0; }
  .site-header .catalog-menu-group:nth-child(even) { padding-right: 0; }
  .site-header .catalog-menu-group li a { min-height: 37px; padding-block: 9px; }
  .site-header .spirit-secondary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .site-header .spirit-more > summary,
  .site-header .spirit-direct { min-height: 44px; }
  .site-header .spirit-more li a { min-height: 39px; }
  .site-header .catalog-panel-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-header .catalog-panel-footer > a { min-height: 32px; padding: 4px 0; border: 0; background: none; text-align: left; }
}
@media (max-width: 480px) {
  .site-header .brand img { width: 44px; height: 44px; }
  .site-header .brand strong { font-size: 21px; }
  .site-header > nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header > nav > .nav-advisor { grid-column: span 2; }
  .site-header .catalog-panel-heading > div > a { font-size: 21px; }
  .site-header .catalog-close { font-size: 0; padding: 5px 9px; min-width: 36px; justify-content: center; gap: 0; }
  .site-header .catalog-eyebrow { font-size: 8px; }
  .site-header .catalog-menu-group .catalog-group-title { font-size: 14px; }
  .site-header .catalog-menu-group li a { font-size: 12px; }
  .site-header .catalog-group-hint { font-size: 10px; }
}
