@import url("/assets/fonts.css");

.wheel-browse summary { cursor: pointer; list-style: none; }
.wheel-browse summary::-webkit-details-marker { display: none; }
.wheel-browse[open] summary svg { transform: rotate(180deg); }
.wheel-browse summary:focus-visible { outline: 2px solid #435239; outline-offset: 2px; }
.wheel-browse[open] summary { color: #293c25; text-decoration: underline; text-underline-offset: 5px; }
.wheel-browse-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: min(100%, 24rem);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fffdf7;
  border: 1px solid #cfd2c3;
  border-radius: 14px;
  box-shadow: 0 12px 32px #30382b26, 0 2px 5px #30382b0c;
  font: 14px/1.3 Oxygen, sans-serif;
  color: #34432e;
}
.browse-seasonal { padding: 7px 7px 0; }
.browse-seasonal a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 8px 13px;
  border-radius: 8px;
  background: #f5e7d8;
  color: #703e26;
  font: 600 21px/1.1 'Crimson Text', Georgia, serif;
  text-decoration: none;
}
.browse-seasonal a::before {
  content: '';
  flex: 0 0 20px;
  height: 23px;
  border-radius: 2px;
  background: linear-gradient(90deg, #952e49 0 35%, #dc8546 35% 70%, #e1b35e 70%);
}
.browse-seasonal svg { flex: none; margin-left: auto; width: 13px; height: 13px; color: inherit; }
.browse-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 15px 15px 8px;
}
.browse-destinations h2 {
  margin: 0 0 4px;
  color: #68745e;
  font: bold 10px/1.3 Oxygen, sans-serif;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.browse-destinations a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 44px;
  padding-block: 5px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.browse-destinations a + a { border-top: 1px solid #e9e8dd; }
.browse-destinations svg { flex: none; width: 10px; height: 10px; color: #66725d; }
.browse-destinations .calendar-link svg { order: 1; width: 14px; height: 14px; }
.browse-preferences {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #dce0cf;
  background: #f1f3e9;
  padding: 4px 14px;
  gap: 12px;
}
.browse-filter {
  display: flex;
  flex: 1;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  gap: 2px 7px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.browse-filter small { font-size: 11px; }
.browse-language-slot:not(:empty) {
  flex: 1.15;
  position: relative;
  min-width: 0;
  border-left: 1px solid #d5daca;
  padding-left: 12px;
}
.browse-language-slot .ingredient-language-control { margin: 0; }
.wheel-page .browse-language-slot .primary-language-field {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 46px;
}
.browse-language-slot .primary-language-field label {
  position: absolute;
  top: 4px;
  left: 0;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  color: #526149;
  font: 11px/1.3 Oxygen, sans-serif;
  pointer-events: none;
}
.browse-language-slot .primary-language-field select {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  padding: 17px 18px 2px 0;
  background: transparent;
  color: inherit;
  appearance: none;
  font: 16px/1.3 Oxygen, sans-serif;
  text-overflow: ellipsis;
}
.browse-language-slot .primary-language-field::after {
  content: '';
  position: absolute;
  right: 1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.wheel-browse-panel :is(a, select):focus-visible { outline: 2px solid #526347; outline-offset: -2px; }

.dmf-topbar {
  position:sticky; top:0; z-index:80; width:100%; margin:0; padding:0;
  background:#faf8f1; border-bottom:1px solid #e4e2d7;
}
.dmf-topbar::before { content:''; display:block; height:3px; background:linear-gradient(90deg,#e79d45,#e9b1a1 32%,#c9cda0 67%,#e8d27c); }
.dmf-topbar-inner { position:relative; width:min(1120px,calc(100% - 32px)); margin:auto; min-height:60px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.dmf-home a { display:flex; align-items:center; min-height:44px; }
.dmf-home img { display:block; width:110px; height:38px; object-fit:contain; }
.dmf-context-links { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:4px 16px; padding:6px max(16px,4vw); font:13px/1.4 Oxygen,Arial,sans-serif; }
.dmf-context-links a { display:inline-flex; align-items:center; min-height:36px; }
.dmf-actions, .dmf-actions * { box-sizing:border-box; }
.dmf-actions { display:flex; flex:none; align-items:center; gap:clamp(6px,1.6vw,18px); margin-left:auto; color:#435239; text-align:left; letter-spacing:normal; text-transform:none; font:13px/1.3 Arial,sans-serif; }
.dmf-actions .wheel-mobile-saved, .dmf-actions details.wheel-browse {
  position:static; display:block; color:inherit; background:transparent; border:0; padding:0; margin:0;
}
.dmf-actions .wheel-mobile-saved a, .dmf-actions #wheel-login, .dmf-actions .wheel-browse summary {
  display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; gap:5px; min-height:44px; margin:0; padding:0;
  color:inherit; background:transparent; border:0; text-decoration:none; font:13px/1.3 Arial,sans-serif; letter-spacing:normal; text-transform:none;
}
.dmf-actions .wheel-mobile-saved .saved-heart { order:-1; width:15px; height:15px; color:#893c56; }
.dmf-actions #wheel-login { position:relative; padding-inline:12px; }
.dmf-actions #wheel-login::before { content:''; position:absolute; inset:7px 0; border:1px solid #929887; border-radius:999px; pointer-events:none; }
.dmf-actions #wheel-login:is(:hover,:focus-visible)::before { border-color:currentColor; }
.dmf-actions .wheel-browse summary { cursor:pointer; list-style:none; }
.dmf-actions .wheel-browse summary::after { content:none; }
.dmf-actions .wheel-browse summary svg { width:11px; height:7px; }
.dmf-actions .wheel-browse[open] summary { text-decoration:underline; text-underline-offset:5px; }
.dmf-actions .wheel-browse-panel {
  z-index:90; width:min(calc(100vw - 32px),24rem); line-height:1.35; text-transform:none; text-align:left; letter-spacing:normal;
}
.dmf-actions .browse-destinations nav { display:block; position:static; margin:0; padding:0; background:transparent; border:0; }
.dmf-actions .browse-destinations h2 { font:bold 10px/1.3 Oxygen,Arial,sans-serif; margin:0 0 4px; color:#68745e; }
.dmf-actions .browse-destinations a { font:14px/1.35 Oxygen,Arial,sans-serif; white-space:normal; margin:0; }
.dmf-actions .browse-destinations a[aria-current="page"] { font-weight:bold; text-decoration:underline; text-underline-offset:3px; }
.dmf-actions .browse-filter { font:14px/1.35 Oxygen,Arial,sans-serif; }
.wheel-page .site-header .masthead { position:relative; }
.wheel-page .wheel-quick-links a[href="/saved/"] { display:none; }
@media(max-width:680px) {
 .wheel-page:is([data-sussitz],[data-goelles]) .masthead { flex-wrap:wrap; }
 .dmf-topbar-inner { min-height:54px; }
 .dmf-home img { width:105px; }
}
@media(max-width:360px) {
 .dmf-topbar-inner { width:calc(100% - 24px); }
 .dmf-home img { width:84px; }
 .dmf-actions #wheel-login { padding-inline:8px; }
}

.dish-wheel-return:focus-visible { outline:2px solid #435239; outline-offset:2px; border-radius:3px; }
.dish-heading-row { display:flex; align-items:center; justify-content:space-between; column-gap:12px; }
.dish-wheel-return {
  display:inline-flex; align-items:center; gap:4px; min-height:44px; color:#435239; white-space:nowrap;
  font:13px/1.3 Oxygen,Arial,sans-serif; text-decoration:underline; text-underline-offset:3px;
}
@media print { .dish-wheel-return { display:none; } }
@media print { .dmf-topbar, .dmf-actions, .dmf-context-links { display:none !important; } }
