.product-detail { position: fixed; inset: 0 0 0 auto; width: min(580px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; padding: 50px 38px 28px; background: #fff; color: #111; overflow-y: auto; overflow-x: hidden; font-family: Inter, sans-serif; }
.product-detail::backdrop { background: #d9d9d9bd; }
.product-detail *, .product-detail *::before { box-sizing: border-box; }
.product-detail button { font: inherit; cursor: pointer; }
.product-leaf { position: absolute; top: -48px; right: 50px; transform: rotate(180deg); pointer-events: none; }
.product-navigation { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 62px; }
.product-navigation button { display: flex; gap: 9px; align-items: center; min-height: 32px; padding: 0; background: none; border: 0; color: #023f17; font-size: 10px; font-weight: 600; }
.product-navigation button:first-child img { transform: rotate(180deg); }
.product-navigation button:last-child { width: 32px; justify-content: center; }
.product-detail button:focus-visible, .product-choice:has(input:focus-visible) { outline: 2px solid #023f17; outline-offset: 3px; }
.product-intro { display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #d5dbd7; }
.product-intro.without-photo { grid-template-columns: 1fr; }
.product-intro h2 { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.5; text-transform: uppercase; overflow-wrap: anywhere; }
.product-price { color: #023f17; font-size: 20px; font-weight: 600; margin: 5px 0 14px; }
.product-description { font-size: 13px; line-height: 1.4; margin: 0; }
.product-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 19px; }
.product-form fieldset { border: 0; padding: 0; margin: 12px 0 22px; min-width: 0; }
.product-form legend { font-size: 18px; font-weight: 500; line-height: 1.35; padding: 0; }
.product-choice-hint { font-size: 12px; color: #023f17; margin: 7px 0 18px; }
.product-choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 36px; margin-top: 6px; padding: 4px 14px 4px 18px; border-radius: 7px; background: #eae9e2; cursor: pointer; font-size: 12px; line-height: 1.3; }
.product-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-choice.is-selected { background: #7b9a8f; }
.product-choice-price { margin-left: auto; white-space: nowrap; }
.product-choice-toggle { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; }
.product-choice-count { width: 24px; height: 24px; border-radius: 50%; background: #b8c4bd; text-align: center; line-height: 24px; font-size: 15px; font-weight: 500; }
.product-choice [hidden] { display: none; }
.product-allergens { display: flex; align-items: center; gap: 9px; margin: 20px 0 10px; }
.product-allergens h3 { font-size: 10px; font-weight: 500; margin: 0 0 4px; }
.product-allergens p { font-size: 9px; font-weight: 300; line-height: 1.5; margin: 0; }
.product-checkout { padding-top: 10px; border-top: 1px solid #d5dbd7; }
.product-total { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.product-validation { font-size: 12px; color: #943817; margin: 10px 0; }
.product-validation:empty { margin: 0; }
.product-save { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 43px; margin-top: 34px; padding: 10px 15px; background: #023f17; color: #fff; border: 0; font-size: 10px !important; font-weight: 500 !important; }
.product-save img { filter: brightness(0) invert(1); flex-shrink: 0; }
.product-save span:last-child { white-space: nowrap; font-size: 12px; }
.product-save:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 600px) {
 .product-detail { padding: 50px 28px 40px; }
 .product-navigation { margin: 0 -6px 54px; }
 .product-navigation button { font-size: 9px; }
 .product-intro { grid-template-columns: minmax(0, 1fr) 125px; gap: 16px; }
 .product-intro h2 { font-size: 18px; line-height: 1.55; }
 .product-price { font-size: 18px; }
 .product-description { font-size: 12px; line-height: 1.25; }
 .product-photo { height: 187px; }
 .product-form { padding-inline: 5px; }
 .product-choice { min-height: 32px; padding-block: 4px; }
}
@media (max-width: 359px) {
 .product-detail { padding-inline: 20px; }
 .product-intro { grid-template-columns: minmax(0, 1fr) 105px; gap: 12px; }
 .product-intro h2 { font-size: 16px; }
 .product-save { padding-inline: 10px; gap: 6px; font-size: 9px !important; }
}
@media (max-width: 760px) {
 .product-intro h2 { font-size: 20px; line-height: 1.4; }
 .product-price { font-size: 21px; }
 .product-description { font-size: 14px; line-height: 1.4; }
 .product-form legend { font-size: 22px; }
 .product-choice-hint { font-size: 15px; }
 .product-choice { min-height: 44px; margin-top: 8px; padding: 8px 12px 8px 16px; gap: 10px; font-size: 16px; }
 .product-choice > span:first-of-type { min-width: 0; overflow-wrap: anywhere; }
 .product-choice-toggle, .product-choice-count { width: 28px; height: 28px; }
 .product-choice-toggle { flex-basis: 28px; }
 .product-choice-plus { width: 28px; height: 28px; }
 .product-choice-count { line-height: 28px; font-size: 17px; }
 .product-allergens h3 { font-size: 12px; }
 .product-allergens p { font-size: 11px; }
 .product-total { font-size: 18px; }
 .product-save { min-height: 54px; font-size: 12px !important; line-height: 1.4; }
 .product-save span:last-child { font-size: 16px; }
 /* Keep the breakfast overview compact around the enlarged option rows. */
 .product-detail-breakfast { padding-top: 28px; padding-bottom: 28px; }
 .product-detail-breakfast .product-navigation { margin-bottom: 22px; }
 .product-detail-breakfast .product-intro { padding-bottom: 14px; }
 .product-detail-breakfast .product-price { margin-bottom: 10px; }
 .product-detail-breakfast .product-form fieldset { margin: 10px 0 14px; }
 .product-detail-breakfast .product-choice-hint { margin: 5px 0 10px; }
 .product-detail-breakfast .product-choice { margin-top: 6px; }
 .product-detail-breakfast .product-allergens { margin-top: 14px; }
 .product-detail-breakfast .product-save { margin-top: 22px; }
}

.product-signoff { position:relative; isolation:isolate; margin:64px -38px -28px; height:145px; padding:40px 0 15px; text-align:center; color:var(--green); font:20px/1.2 Caveat,cursive; overflow:hidden; }
.product-wave { position:absolute; z-index:-1; width:100%; height:145px; inset:0; }
.product-heart { display:block; margin:0 auto 5px; }
.product-signoff small { display:block; font-size:14px; margin-top:4px; }
.product-footer-leaf { position:absolute; right:-60px; bottom:-25px; pointer-events:none; }
@media(min-width:761px) {
 .product-detail-breakfast { width:min(908px,calc(100% - 64px)); padding:80px 74px 28px; }
 .product-detail-breakfast .product-navigation { margin-bottom:46px; }
 .product-layout { display:grid; grid-template-columns:minmax(180px, .8fr) minmax(0,1.2fr); gap:24px 64px; align-items:start; }
 .product-layout > .product-photo { grid-column:1; grid-row:1 / 3; height:310px; }
 .product-layout .product-intro { grid-column:2; display:block; padding-bottom:12px; }
 .product-layout .product-intro h2 { font-size:20px; line-height:1.3; }
 .product-layout .product-price { font-size:16px; margin:12px 0; }
 .product-layout .product-form { grid-column:2; grid-row:2 / 5; }
 .product-layout > .product-allergens { grid-column:1; grid-row:3; margin-top:0; }
 .product-layout .product-form legend { font-size:14px; }
 .product-layout .product-choice { min-height:32px; }
 .product-layout .product-choice-hint { font-size:11px; margin-bottom:12px; }
 .product-layout .product-form fieldset:has(input[name="egg"]) { display:flex; flex-wrap:wrap; gap:10px; }
 .product-layout .product-form fieldset:has(input[name="egg"]) .product-choice-hint { width:100%; }
 .product-layout .product-choice:has(input[name="egg"]) { width:calc(50% - 5px); justify-content:center; }
 .product-layout .product-choice:has(input[name="egg"]) :is(.product-choice-price,.product-choice-toggle) { display:none; }
 .product-detail-breakfast .product-signoff { margin-inline:-74px; }
}
@media(max-width:760px) {
 .product-layout { display:grid; grid-template-columns:minmax(0,1fr) 125px; gap:14px; }
 .product-layout > .product-photo { grid-column:2; grid-row:1; height:187px; }
 .product-layout .product-intro { grid-column:1; grid-row:1; display:block; }
 .product-layout .product-form { grid-column:1 / -1; grid-row:2; }
 .product-layout > .product-allergens { grid-column:1 / -1; grid-row:3; }
 .product-signoff { margin-inline:-28px; margin-bottom:-28px; }
}

.product-photo[src$="classic-eggs-figma.png"] { object-position:88% center; }
