/* Landon Tasting Room Menu – inherits the theme's fonts and colors.
   Set an accent on Settings → Wine Menu, or override --l8-accent in the theme. */
.l8-menu{--l8-line:rgba(127,127,127,.28);--l8-line:color-mix(in srgb,currentColor 16%,transparent);--l8-muted:color-mix(in srgb,currentColor 78%,transparent);margin:0 0 2em}
.l8-menu *{box-sizing:border-box}

.l8-rooms{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 1.25em}
.l8-room{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid currentColor;border-radius:2px;text-decoration:none!important;text-transform:uppercase;letter-spacing:.08em;font-size:.8em;font-weight:600;color:inherit}
.l8-room:hover{border-color:var(--l8-accent,currentColor);color:var(--l8-accent,inherit)}
.l8-room.is-current{background:var(--l8-accent,currentColor);border-color:var(--l8-accent,currentColor);color:var(--l8-accent-text,#fff)}

.l8-eyebrow{margin:0 0 .6em;font-size:.8em;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--l8-accent,inherit)}
.l8-part-header .l8-summary{margin:1em 0 0}
.l8-summary{font-size:1.05em;line-height:1.6;margin:0 0 1em;max-width:46em}
.l8-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:.9em 0;border-bottom:1px solid var(--l8-line);font-size:.75em;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--l8-muted)}
.l8-empty{padding:2em 0}

.l8-section{margin-top:2.5em}
.l8-section-title{margin:0 0 .4em}
.l8-scroll{overflow-x:auto}
body .l8-menu table.l8-table{width:100%;border:0;border-collapse:collapse;font-variant-numeric:tabular-nums;margin:0}
body .l8-menu table.l8-table th,body .l8-menu table.l8-table td{padding:.9em .5em;border:0;border-bottom:1px solid var(--l8-line);text-align:right;vertical-align:baseline;background:none}
body .l8-menu table.l8-table thead th{font-size:.75em;font-weight:600;letter-spacing:.1em;text-transform:uppercase;border-bottom-color:currentColor;white-space:nowrap}
body .l8-menu table.l8-table .l8-groups td{padding:.3em .5em;font-size:.68em;font-weight:600;letter-spacing:.12em;text-transform:uppercase;text-align:center;color:var(--l8-accent,inherit);border-bottom:1px solid var(--l8-line)}
body .l8-menu table.l8-table .l8-groups td:first-child{border-bottom:0}
body .l8-menu table.l8-table .l8-col-wine,body .l8-menu table.l8-table .l8-wine{text-align:left;width:100%}
body .l8-menu table.l8-table .l8-wine{font-weight:inherit}
.l8-name{display:block;font-weight:600;font-size:1.1em}
.l8-note{display:block;margin-top:.25em;font-size:.88em;font-weight:400}
body .l8-menu table.l8-table td{font-weight:600;white-space:nowrap;min-width:5em}
body .l8-menu table.l8-table td.l8-none{color:var(--l8-muted);font-weight:400}
.l8-footnote{margin-top:2.5em;font-size:.88em;color:var(--l8-muted);max-width:46em}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* Desktop: bottle headings on two lines (IN / WINERY, TAKE / HOME) and evenly spaced price columns */
@media (min-width:641px){
  body .l8-menu table.l8-table thead th.l8-col-b{line-height:1.35;vertical-align:bottom}
  /* Even, roomier price columns, all centered under their headings */
  body .l8-menu table.l8-table tbody td,body .l8-menu table.l8-table thead th:not(.l8-col-wine){width:96px;min-width:96px;padding-left:10px;padding-right:10px;text-align:center}
  body .l8-menu table.l8-table tbody th,body .l8-menu table.l8-table tbody td{padding-top:18px;padding-bottom:18px}
  body .l8-menu table.l8-table .l8-wine{padding-right:32px}
}

/* Room dropdown is only used on phones. */
.l8-picker{display:none}
.l8-date-short{display:none}

/* Phones: room dropdown, and each wine becomes a card with a Glass row and a Bottle row. */
@media (max-width:640px){
  .l8-menu .l8-rooms{display:none}
  .l8-menu .l8-picker{display:block;margin:20px 0 0}
  .l8-menu .l8-picker-label{display:block;margin:0 0 8px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
  .l8-menu select.l8-select{display:block;width:100%;max-width:none;height:52px;margin:0;padding:0 44px 0 14px;border:1px solid currentColor;border-radius:2px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232A2523' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;font-family:inherit;font-size:14px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:inherit;-webkit-appearance:none;appearance:none;box-shadow:none}
  .l8-meta-at,.l8-date-long{display:none}
  .l8-date-short{display:inline}
  .l8-menu .l8-meta{flex-wrap:wrap;gap:4px 12px}
  .l8-menu .l8-meta > span{white-space:nowrap}

  body .l8-menu table.l8-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body .l8-menu table.l8-table,body .l8-menu table.l8-table tbody{display:block;width:100%}
  body .l8-menu table.l8-table tbody tr{display:grid;grid-template-columns:52px repeat(6,minmax(0,1fr));gap:8px;padding:16px 0;border-bottom:1px solid var(--l8-line)}
  body .l8-menu table.l8-table tbody tr::before,
  body .l8-menu table.l8-table tbody tr::after{grid-column:1;align-self:center;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--l8-accent,inherit)}
  body .l8-menu table.l8-table tbody tr::before{content:"Glass";grid-row:2}
  body .l8-menu table.l8-table tbody tr::after{content:"Bottle";grid-row:3}
  body .l8-menu table.l8-table th,body .l8-menu table.l8-table td{border:0;padding:0}
  body .l8-menu table.l8-table .l8-wine{grid-column:1 / -1;grid-row:1;width:auto;margin-bottom:4px}
  body .l8-menu table.l8-table td{min-width:0;text-align:center;padding:7px 4px;border-radius:2px;white-space:nowrap}
  body .l8-menu table.l8-table td.l8-g{grid-row:2;grid-column:span 3;background:color-mix(in srgb,currentColor 7%,transparent)}
  body .l8-menu table.l8-table tr:has(.l8-g3:not(.l8-none)) td.l8-g{grid-column:span 2}
  body .l8-menu table.l8-table td.l8-g3.l8-none{display:none}
  body .l8-menu table.l8-table td.l8-b{grid-row:3;grid-column:span 3;border:1px solid var(--l8-line)}
  body .l8-menu table.l8-table td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--l8-muted)}
}
