/* Shared standalone menu item presentation; no ordering behavior. */
.rp-menu-page {max-width:1120px!important;padding-top:20px}
.rp-menu-page .rp-item-breadcrumb {font-size:13px;line-height:1.5;gap:8px;margin-bottom:16px}
.rp-menu-page #rp-menu-detail-stage {border:1px solid #e5e7eb;border-radius:12px;padding:24px;box-shadow:none;animation:none}
.rp-menu-page #rp-menu-detail-stage .rp-menu-item-layout {gap:28px;align-items:start}
.rp-menu-page #rp-menu-detail-stage .rp-menu-item-media-card {border:0;border-radius:10px;background:#f8fafc;box-shadow:none}
.rp-menu-page #rp-menu-detail-stage .rp-menu-item-media {aspect-ratio:4/3;min-height:0;max-height:420px}
.rp-menu-page #rp-menu-detail-stage .rp-menu-item-info {padding:0;min-width:0}
.rp-menu-page #rp-menu-detail-stage .rp-item-eyebrow {font-size:11px;line-height:1.5;letter-spacing:.06em;font-weight:600}
.rp-menu-page #rp-menu-detail-stage .rp-item-title {font-size:32px;line-height:1.15;letter-spacing:-.02em;font-weight:700;margin:6px 0 0}
.rp-menu-page #rp-menu-detail-stage .rp-item-price-badge {border-radius:7px;padding:9px 12px;font-size:16px;font-weight:650}
.rp-menu-page #rp-menu-detail-stage .rp-item-description {border:0;border-radius:0;background:transparent;padding:0;margin:20px 0 0;box-shadow:none}
.rp-menu-page #rp-menu-detail-stage .rp-item-description-title,
.rp-menu-page #rp-menu-detail-stage .rp-item-modifiers-title {font-size:15px;line-height:1.4;font-weight:650;letter-spacing:0;text-transform:none}
.rp-menu-page #rp-menu-detail-stage .rp-item-description-copy {font-size:14px;line-height:1.6;margin:6px 0 0}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifiers {margin-top:20px}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifiers-subtitle {font-size:13px;line-height:1.5;margin-top:4px}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-card,
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-card:hover {border:0;border-top:1px solid #e5e7eb;border-radius:0;background:transparent;box-shadow:none;transform:none;padding:10px 0 0!important;margin-top:10px}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-name {font-size:15px;line-height:1.4;font-weight:600;letter-spacing:0}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-options {margin:0;gap:0}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-option-label {padding:8px 0;min-height:36px;border-radius:4px;gap:10px;transform:none}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-option-label:hover {background:#f9fafb}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-option-text {display:flex;flex:1;justify-content:space-between;align-items:baseline;gap:14px;width:100%;min-width:0;font-size:14px;line-height:1.45;letter-spacing:0}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-option-text>span:first-child:not(:last-child) {min-width:0}
.rp-menu-page #rp-menu-detail-stage .rp-item-modifier-option-price {font-size:14px;line-height:1.45;font-weight:600;white-space:nowrap;flex-shrink:0;margin-left:auto}
.rp-menu-page #rp-menu-detail-stage .rp-item-actions {gap:10px;margin-top:20px}
.rp-menu-page #rp-menu-detail-stage .rp-item-btn {min-height:46px;border-radius:8px;font-size:14px;line-height:1.3;font-weight:600;padding:12px 20px;box-shadow:none;transform:none}
.rp-menu-page .rp-related-panel {margin-top:28px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;animation:none}
.rp-menu-page .rp-related-panel h2 {font-size:20px;line-height:1.3}
.rp-menu-page .rp-related-grid {gap:16px}
.rp-menu-page .rp-related-card,
.rp-menu-page .rp-related-card:hover {border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:none;transform:none}
.rp-menu-page .rp-related-body {padding:12px;gap:10px;align-items:start}
.rp-menu-page .rp-related-name {font-size:14px;line-height:1.4;font-weight:600;letter-spacing:0}
.rp-menu-page .rp-related-price {font-size:13px;line-height:1.4}
.rp-menu-page .rp-related-add {font-size:11px;font-weight:600;letter-spacing:0;border-radius:6px;background:#fff;min-height:30px;padding:6px 8px}
@media(min-width:1024px) {
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-layout {grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-layout--no-media {grid-template-columns:minmax(0,1fr)}
 .rp-menu-page .rp-related-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px) {
 .rp-menu-page {padding-left:16px!important;padding-right:16px!important}
 .rp-menu-page #rp-menu-detail-stage {padding:16px;border-radius:10px}
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-layout {gap:20px}
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-media {aspect-ratio:4/3;max-height:300px}
 .rp-menu-page #rp-menu-detail-stage .rp-item-title {font-size:28px;line-height:1.2}
 .rp-menu-page #rp-menu-detail-stage .rp-item-actions {display:flex;flex-direction:column}
 .rp-menu-page #rp-menu-detail-stage .rp-item-btn {width:100%}
 .rp-menu-page #rp-menu-detail-stage .rp-item-modifier-option-label:has(input) {min-height:44px}
 .rp-menu-page .rp-related-grid {gap:10px}
 .rp-menu-page .rp-related-body {padding:10px;flex-wrap:wrap}
 .rp-menu-page .rp-related-name {font-size:13px}
}

/* Align the standalone content edges with the shared 1200px tab strip. */
.rp-menu-page {max-width:1200px!important;padding-left:0!important;padding-right:0!important}
.rp-menu-page .rp-related-grid {gap:20px}
.rp-menu-page .rp-related-card,
.rp-menu-page .rp-related-card:hover {border-radius:12px;min-width:0}
.rp-menu-page .rp-related-media {aspect-ratio:auto;height:156px;flex-shrink:0;background:#f8fafc}
.rp-menu-page .rp-related-media img {display:block;width:100%;height:100%;object-fit:cover}
.rp-menu-page .rp-related-body {padding:12px;display:flex;flex-direction:column;align-items:stretch;gap:12px;flex:1}
.rp-menu-page .rp-related-copy {flex:1;min-width:0}
.rp-menu-page .rp-related-name {font-size:16px;line-height:1.2;font-weight:700}
.rp-menu-page .rp-related-description {margin:6px 0;color:var(--theme-product-description-color,#475569);font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rp-menu-page .rp-related-price {font-size:14px;margin:8px 0 0;font-weight:650}
.rp-menu-page .rp-related-add {display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;border-radius:8px;font-size:12px;padding:12px 16px;background:#fff!important;color:var(--theme-button-color,#111827)!important;border:1px solid var(--theme-button-border-color,#d1d5db);font-weight:650}
.rp-menu-page .rp-related-card:focus-visible {outline:2px solid var(--theme-button-color,#111827);outline-offset:3px}
@media(min-width:1024px) {
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-layout {align-items:stretch}
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-media-card {align-self:stretch;position:relative;height:100%;min-height:320px}
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-media {position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;max-height:none;min-height:0}
 .rp-menu-page #rp-menu-detail-stage .rp-menu-item-media img {height:100%;width:100%;object-fit:cover}
}
@media(max-width:767px) {
 .rp-menu-page .rp-related-grid {gap:12px}
 .rp-menu-page .rp-related-media {height:auto;aspect-ratio:16/10}
 .rp-menu-page .rp-related-name {font-size:14px}
 .rp-menu-page .rp-related-body {padding:10px;gap:10px}
}

.rp-menu-page #rp-menu-detail-stage .rp-item-description-copy { white-space: pre-line; }
