
body.shop-extras-open{overflow:hidden}.shop-extras-modal::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(3px)}dialog.shop-extras-modal{position:fixed!important;inset:0!important;margin:auto!important;width:min(620px,calc(100vw - 32px))!important;max-width:620px!important;height:auto!important;max-height:90dvh!important;padding:0!important;border:1px solid #41464b!important;border-radius:16px!important;background:#202427!important;color:#f4f5f6!important;overflow:auto!important;transform:none!important;opacity:1!important;box-shadow:0 24px 80px #0008!important}dialog.shop-extras-modal:not([open]){display:none!important}dialog.shop-extras-modal[open]{display:block!important}.shop-extras-modal .shop-inline-extras-inner{display:block!important;padding:24px!important;background:transparent!important;border:0!important;max-width:none!important}.shop-extras-modal .shop-extras-close{position:absolute!important;top:12px;right:12px;z-index:2}.shop-extras-modal .shop-extras-close button{width:34px;height:34px;background:#30363b;color:#fff;border:0;border-radius:50%;font-size:24px}.shop-extras-modal .shop-extras-hero{display:grid!important;grid-template-columns:130px 1fr!important;gap:16px!important;padding:0 20px 20px 0!important;border:0!important;background:transparent!important}.shop-extras-modal .shop-extras-hero img{width:130px!important;height:100px!important;object-fit:cover;border-radius:10px}.shop-extras-modal .shop-extras-hero h2{font-size:23px!important;margin:0 0 8px!important;color:#fff!important}.shop-extras-modal .shop-extras-hero p{font-size:13px!important;line-height:1.5;color:#bbc1c6!important}.shop-extras-modal .shop-extras-hero>strong{grid-column:2;font-size:21px!important;color:#fff!important}.shop-extras-modal .shop-extras-hero>div>span{display:none}.shop-extras-modal .shop-extras-body{padding:0!important;background:transparent!important}.shop-extras-modal .shop-extras-body-heading{display:none!important}.shop-extras-modal .shop-extras-help{font-size:12px;color:#bbc1c6}.shop-extras-modal [data-extras-fields]{display:block!important}.shop-extras-modal .shop-extra-collapse{margin:18px 0!important;padding:0!important;background:transparent!important;border:0!important}.shop-extras-modal .shop-extra-collapse>summary{display:none!important}.shop-extras-modal .shop-extra-group{margin:0!important;padding:0!important;border:0!important;background:transparent!important}.shop-extras-modal .shop-extra-legend{display:flex!important;gap:10px;align-items:center;margin-bottom:10px!important;width:100%}.shop-extras-modal .shop-extra-legend strong{color:#fff!important;font-size:16px!important}.shop-extras-modal .shop-extra-legend span{font-size:10px!important;color:#bbc1c6!important;background:#353b40;border-radius:12px;padding:4px 8px}.shop-extras-modal .shop-extra-choices{display:block!important}.shop-extras-modal .shop-extra-choice{display:flex!important;align-items:center;gap:12px!important;padding:12px!important;margin:0!important;border:1px solid #41464b!important;background:#252a2e!important;border-radius:0!important;min-height:44px!important;color:#fff!important}.shop-extras-modal .shop-extra-choice:first-child{border-radius:8px 8px 0 0!important}.shop-extras-modal .shop-extra-choice:last-child{border-radius:0 0 8px 8px!important}.shop-extras-modal .shop-extra-choice input{width:18px!important;height:18px!important;accent-color:var(--brand-color,#e23434)}.shop-extras-modal .shop-extra-choice span{flex:1;font-size:14px!important}.shop-extras-modal .shop-extra-choice strong{font-size:12px!important;color:#ddd!important}.shop-extras-modal .shop-extra-limit,.shop-extras-modal .shop-extra-hint{font-size:12px;color:#bbc1c6}.shop-extras-modal .shop-extras-qty{display:flex!important;justify-content:space-between;margin-top:20px!important;padding-top:16px;border-top:1px solid #41464b}.shop-extras-modal .shop-extras-footer{position:sticky!important;bottom:-24px;display:flex!important;align-items:center;gap:16px;padding:16px 0!important;background:#202427!important;border-top:1px solid #41464b!important}.shop-extras-modal .shop-extras-footer>div{min-width:90px}.shop-extras-modal .shop-extras-footer strong{font-size:20px!important;color:#fff!important}.shop-extras-modal [data-extras-add]{flex:1;background:var(--brand-color,#e23434)!important;color:white!important;border:0!important;border-radius:8px!important;padding:14px!important;font-size:14px!important}.shop-extras-modal .shop-extra-component-grid{display:block!important}.shop-extras-modal textarea{width:100%;box-sizing:border-box;background:#252a2e;color:#fff;border:1px solid #41464b;border-radius:8px;padding:12px}
@media(max-width:600px){dialog.shop-extras-modal{inset:auto 0 0!important;margin:0!important;width:100%!important;max-width:100%!important;max-height:94dvh!important;border-radius:18px 18px 0 0!important}.shop-extras-modal .shop-inline-extras-inner{padding:20px!important}.shop-extras-modal .shop-extras-hero{grid-template-columns:90px 1fr!important}.shop-extras-modal .shop-extras-hero img{width:90px!important;height:80px!important}.shop-extras-modal .shop-extras-hero h2{font-size:20px!important}.shop-extras-modal .shop-extras-footer{bottom:-20px;flex-direction:column;align-items:stretch}.shop-extras-modal .shop-extras-footer>div{display:flex;justify-content:space-between}.shop-extras-modal [data-extras-add]{width:100%}}

/* 1.3.79 aligned footer controls */
dialog.shop-extras-modal .shop-extras-footer{display:grid!important;grid-template-columns:auto minmax(90px,1fr) minmax(220px,2fr)!important;align-items:center!important;gap:18px!important;padding:18px 0!important;width:100%!important;box-sizing:border-box!important;margin:18px 0 0!important}dialog.shop-extras-modal .shop-extras-footer .shop-extras-qty{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}dialog.shop-extras-modal .shop-extras-qty>strong{font-size:11px!important;font-weight:400!important;color:#bbc1c6!important}dialog.shop-extras-modal .shop-extras-qty>div{display:flex!important;margin:0!important;height:42px!important}dialog.shop-extras-modal .shop-extras-qty button{width:38px!important;height:42px!important;padding:0!important}dialog.shop-extras-modal .shop-extras-qty output{min-width:36px!important;display:flex;align-items:center;justify-content:center}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty){display:flex!important;flex-direction:column-reverse!important;align-items:flex-start!important;gap:6px!important;padding:0!important;margin:0!important;min-width:0!important}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty)>small{font-size:11px!important;color:#bbc1c6!important}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty)>strong{font-size:21px!important;white-space:nowrap}dialog.shop-extras-modal [data-extras-add]{width:100%!important;min-height:48px!important;margin:0!important;font-size:13px!important;line-height:1.4!important;box-sizing:border-box!important}
@media(max-width:600px){dialog.shop-extras-modal .shop-extras-footer{grid-template-columns:1fr 1fr!important;gap:14px!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty){align-items:flex-end!important}dialog.shop-extras-modal [data-extras-add]{grid-column:1 / -1!important}}

/* 1.3.80 footer stays visible while extras scroll */
dialog.shop-extras-modal{overflow:hidden!important}dialog.shop-extras-modal .shop-inline-extras-inner{display:flex!important;flex-direction:column!important;max-height:88dvh!important;box-sizing:border-box!important;overflow:hidden!important}dialog.shop-extras-modal .shop-extras-hero{flex:0 0 auto!important}dialog.shop-extras-modal .shop-extras-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px!important}dialog.shop-extras-modal .shop-extras-footer{position:static!important;flex:0 0 auto!important;margin-top:12px!important} @media(max-width:600px){dialog.shop-extras-modal .shop-inline-extras-inner{max-height:94dvh!important}dialog.shop-extras-modal .shop-extras-hero img{height:64px!important}dialog.shop-extras-modal .shop-extras-hero{padding-bottom:12px!important}}

dialog.shop-extras-modal [data-extras-add]{justify-self:end!important;text-align:center!important}dialog.shop-extras-modal .shop-extras-footer{column-gap:20px!important}

/* 1.3.82: separate total between quantity and action */
dialog.shop-extras-modal .shop-extras-footer{grid-template-columns:114px minmax(90px,1fr) minmax(200px,1.8fr)!important;gap:20px!important;align-items:end!important}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty){align-self:center!important;align-items:center!important;text-align:center!important}dialog.shop-extras-modal [data-extras-add]{min-height:48px!important;padding:12px 16px!important;white-space:normal!important} @media(max-width:600px){dialog.shop-extras-modal .shop-extras-footer{grid-template-columns:1fr 1fr!important;gap:14px!important}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty){align-items:flex-end!important;text-align:right!important}dialog.shop-extras-modal [data-extras-add]{grid-column:1 / -1!important}}

/* 1.3.83: compact, consistent popup spacing */
dialog.shop-extras-modal .shop-inline-extras-inner{padding:18px!important;gap:0!important}dialog.shop-extras-modal .shop-extras-hero{margin:0!important;padding:0 38px 12px 0!important;row-gap:6px!important}dialog.shop-extras-modal .shop-extras-hero:has([data-extras-photo][hidden]){grid-template-columns:1fr!important}dialog.shop-extras-modal .shop-extras-hero:has([data-extras-photo][hidden])>strong{grid-column:1!important}dialog.shop-extras-modal [data-extras-photo][hidden]{display:none!important}dialog.shop-extras-modal .shop-extras-hero p{margin:0!important}dialog.shop-extras-modal .shop-extras-footer{padding:12px 0 0!important;margin:10px 0 0!important;min-height:0!important}dialog.shop-extras-modal .shop-extras-help{margin:0 0 12px!important}dialog.shop-extras-modal .shop-extra-collapse{margin:0 0 14px!important}
@media(max-width:600px){dialog.shop-extras-modal .shop-inline-extras-inner{padding:16px!important}dialog.shop-extras-modal .shop-extras-hero{column-gap:12px!important;grid-template-columns:72px 1fr!important;padding-bottom:10px!important}dialog.shop-extras-modal .shop-extras-hero img{width:72px!important;height:60px!important}dialog.shop-extras-modal .shop-extras-hero h2{font-size:20px!important;line-height:1.25!important;margin:0 0 4px!important}dialog.shop-extras-modal .shop-extras-hero>strong{font-size:18px!important}dialog.shop-extras-modal .shop-extras-footer{gap:10px!important;padding:10px 0 env(safe-area-inset-bottom)!important}dialog.shop-extras-modal .shop-extras-footer>div:not(.shop-extras-qty){align-self:center!important}dialog.shop-extras-modal [data-extras-add]{min-height:46px!important;padding:12px!important}dialog.shop-extras-modal .shop-extras-qty>div{height:40px!important}dialog.shop-extras-modal .shop-extras-qty button{height:40px!important}}

.shop-extras-modal [data-extras-error]:not([hidden]){display:block!important;background:#fff0eb!important;color:#9a291b!important;border:1px solid #e5a899!important;border-left:4px solid #d64a32!important;border-radius:8px!important;padding:12px 14px!important;margin:12px 0!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;scroll-margin-top:12px;outline:none!important}
.shop-extras-modal .shop-extra-group.is-invalid{outline:2px solid #dc7562!important;outline-offset:5px;border-radius:8px!important}
