.carta { background: var(--ivory); color: var(--wine); scroll-margin-top: 0; }
.carta-strip { display: flex; gap: 3px; height: 36px; overflow: hidden; background: var(--ivory); }
.carta-strip[hidden] { display: none; }
.carta-strip img { display: block; min-width: 0; width: 0; height: 100%; object-fit: cover; }
.carta-content { padding: clamp(80px, 8vw, 128px) var(--site-gutter) var(--section-space); }
.carta-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: clamp(56px, 6vw, 88px); }
.carta-heading p { margin: 0 0 4px; max-width: 32ch; color: var(--body-ink); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.carta-heading h2 { margin: 0; font: 400 clamp(48px, 5vw, 72px)/1.1 var(--serif); letter-spacing: -.035em; }
.carta-label { display: inline-block; margin-bottom: 24px; padding: 8px 18px; border: 1px solid rgb(59 7 18 / 28%); border-radius: 99px; font-size: 12px; line-height: 1.3; letter-spacing: .04em; }
.carta-list { border-top: 1px solid rgb(59 7 18 / 23%); }
.carta-item { border-bottom: 1px solid rgb(59 7 18 / 23%); }
.carta-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; padding: 28px 0; font: 400 clamp(32px, 3.5vw, 54px)/1.2 var(--serif); letter-spacing: -.025em; cursor: pointer; list-style: none; transition: color .2s; }
.carta-item summary::-webkit-details-marker { display: none; }
.carta-item summary:hover, .carta-item[open] summary { color: #87631f; }
.carta-item summary:focus-visible { outline: 2px solid #87631f; outline-offset: 5px; border-radius: 2px; }
.carta-icon { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid rgb(59 7 18 / 32%); border-radius: 50%; }
.carta-icon::before, .carta-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.carta-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.carta-item[open] .carta-icon::after { transform: translate(-50%, -50%); }
.carta-body { display: flex; align-items: start; justify-content: space-between; gap: clamp(28px, 5vw, 72px); padding: 4px 0 44px; }
.carta-products { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.carta-product { padding: 22px 0; }
.carta-product-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; min-width: 0; }
.carta-product-with-photo { --carta-thumb-height: 90px; --carta-caption-height: 18px; --carta-caption-gap: 6px; display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: start; gap: 28px; }
.carta-product:first-child { padding-top: 0; }
.carta-product + .carta-product { border-top: 1px solid rgb(59 7 18 / 12%); }
.carta-product h3 { margin: 0; font: 400 clamp(23px, 2.2vw, 29px)/1.25 var(--serif); }
.carta-product-price { align-self: baseline; padding-top: 4px; color: var(--wine); font: 600 15px/1.5 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.carta-product-price-pending, .carta-product-unavailable .carta-product-price { color: #79676a; font-weight: 400; font-size: 12px; }
.carta-product-description { grid-column: 1 / -1; max-width: 64ch; margin: 0; color: var(--body-ink); font-size: 16px; line-height: 1.7; }
.carta-product-meta { grid-column: 1 / -1; margin: 0; color: #79676a; font-size: 12px; line-height: 1.6; }
.carta-body .carta-category-photo { flex: 0 0 144px; margin: 0; }
.carta-photo-link { display: inline-grid; gap: 10px; color: var(--wine); font-size: 12px; text-underline-offset: 4px; }
.carta-body .carta-category-photo img { display: block; width: 144px; height: 108px; object-fit: cover; border-radius: 4px; }
.carta-product-with-photo .carta-category-photo img { width: 120px; height: 90px; }
.carta-product-with-photo .carta-photo-link { gap: var(--carta-caption-gap); line-height: var(--carta-caption-height); }
.carta-bottle-surface {
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgb(59 7 18 / 16%);
  border-radius: 5px;
  background: radial-gradient(ellipse at 50% 88%, rgb(168 118 54 / 15%), transparent 65%), linear-gradient(145deg, #fffaf0, #efe3cc);
}
.carta-body .carta-category-photo img.carta-photo-contained { width: 118px; height: 118px; object-fit: contain; padding: 5px; background: transparent; mix-blend-mode: multiply; }
.carta-photo-link:focus-visible { outline: 2px solid #87631f; outline-offset: 5px; }
.carta-photo-dialog { width: min(1000px, calc(100% - 32px)); max-height: 92svh; padding: 14px; overflow: auto; border: 0; border-radius: 8px; background: var(--ivory); color: var(--wine); }
.carta-photo-dialog::backdrop { background: rgb(18 4 8 / 82%); backdrop-filter: blur(5px); }
body:has(.carta-photo-dialog[open]) { overflow: hidden; }
.carta-photo-stage { overflow: hidden; border-radius: 4px; }
.carta-photo-stage:not(.carta-bottle-surface) { background: #eee6da; }
.carta-photo-stage > img { display: block; width: 100%; max-height: 72svh; object-fit: contain; }
.carta-photo-stage.carta-bottle-surface { padding: 16px; }
.carta-photo-stage > img.carta-photo-contained { background: transparent; mix-blend-mode: multiply; }
.carta-photo-close { position: absolute; z-index: 1; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(59 7 18 / 20%); border-radius: 50%; background: var(--ivory); color: var(--wine); font: 300 28px/1 var(--sans); cursor: pointer; }
.carta-photo-close:focus-visible { outline: 2px solid #87631f; outline-offset: 4px; }
.carta-photo-dialog h2 { margin: 14px 0 4px; font: 400 25px/1.3 var(--serif); }
.carta-photo-credit { margin: 8px 0 0; color: #79676a; font-size: 12px; line-height: 1.6; }
.carta-photo-credit a { color: inherit; text-underline-offset: 3px; }
.carta-product-title { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.carta-product-title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.carta-product-copy { grid-template-columns: minmax(0, 1fr) minmax(8ch, max-content); }
.carta-product-price { text-align: right; }
.carta-product-prices { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 26px; padding-block: 3px; }
.carta-product-copy:has(> .carta-product-prices) { grid-template-columns: minmax(0, 1fr) max-content; }
.carta-product-copy > .carta-product-prices { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: space-between; align-self: start; height: calc(var(--carta-thumb-height, 90px) + var(--carta-caption-gap, 6px) + var(--carta-caption-height, 18px)); gap: 0; padding: 0; text-align: right; }
.carta-product-copy > .carta-product-prices .carta-price-option { gap: 0; }
.carta-product-copy > .carta-product-prices :is(.carta-price-label, .carta-price-includes) { font-size: 12px; line-height: 15px; }
.carta-product-copy > .carta-product-prices .carta-price-option strong { font-size: 14px; line-height: 18px; }
.carta-product-copy:has(> .carta-product-prices) > :is(.carta-product-description, .carta-product-meta, .carta-detail-link) { grid-column: 1; }
.carta-price-option { display: grid; align-content: start; gap: 1px; }
.carta-price-label, .carta-price-includes { color: #796267; font: 400 12px/1.5 var(--sans); }
.carta-price-option strong { color: var(--wine); font: 600 15px/1.5 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.carta-price-includes { color: #87631f; }
.carta-detail-link { grid-column: 1 / -1; justify-self: start; padding: 8px 0; border: 0; background: transparent; color: var(--wine); font: 500 14px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.carta-price-note { padding-top: 16px; color: #79676a; font: 400 13px/1.6 var(--sans); }
.carta-detail-price { margin: 8px 10px; font-weight: 600; }
.carta-detail-description { max-width: 70ch; margin: 14px 10px 20px; color: var(--body-ink); font: 400 16px/1.75 var(--sans); }
.carta-photo-dialog h2 { margin-inline: 10px; }
.carta-photo-stage[hidden] { display: none; }
.carta-photo-stage > img { max-height: 48svh; }
.carta-photo-dialog:has(.carta-photo-stage[hidden]) { width: min(680px, calc(100% - 32px)); padding: 32px; }
.carta-photo-dialog:has(.carta-photo-stage[hidden]) h2 { padding-right: 44px; }
@media (max-width: 760px) {
  .carta-strip { height: 30px; gap: 2px; }
  .carta-content { padding: 72px 24px 80px; }
  .carta-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 48px; }
  .carta-heading p { font-size: 16px; }
  .carta-item summary { min-height: 100px; font-size: clamp(29px, 7.5vw, 40px); gap: 16px; padding: 24px 0; }
  .carta-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .carta-body { flex-direction: column; gap: 24px; padding-bottom: 32px; }
  .carta-body .carta-category-photo { flex-basis: auto; order: -1; }
  .carta-body .carta-category-photo img { width: 120px; height: 90px; }
  .carta-products { width: 100%; }
  .carta-product { padding: 18px 0; }
  .carta-product-copy { gap: 6px 12px; }
  .carta-product-with-photo { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .carta-product-with-photo .carta-category-photo { order: 0; }
  .carta-product-with-photo:has(.carta-product-prices) { --carta-thumb-height: 72px; grid-template-columns: minmax(0, 1fr) 96px; column-gap: 16px; row-gap: 10px; }
  .carta-product-with-photo:has(.carta-product-prices) .carta-product-copy { display: contents; }
  .carta-product-with-photo:has(.carta-product-prices) h3 { grid-column: 1 / -1; }
  .carta-product-with-photo .carta-product-copy > .carta-product-prices { grid-column: 1; grid-row: 2; text-align: left; }
  .carta-product-with-photo:has(.carta-product-prices) .carta-category-photo { grid-column: 2; grid-row: 2; }
  .carta-product-with-photo:has(.carta-product-prices) .carta-category-photo img { width: 96px; height: 72px; }
  .carta-product-with-photo:has(.carta-product-prices) .carta-product-description { grid-column: 1 / -1; }
  .carta-product-price { font-size: 14px; }
  .carta-product-price-pending, .carta-product-unavailable .carta-product-price { font-size: 11px; }
  .carta-product-description { font-size: 16px; }
}
