/* Compact choices share the real cart; the modal owns its scroll and pinned action. */
.catalog-choice-dialog{border:1px solid #c3a36b70;border-radius:24px;padding:0;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden;background:#F6EFE3;color:#35242a;box-shadow:0 24px 100px #29101855}
.catalog-choice-dialog::backdrop{background:#29101899;backdrop-filter:blur(3px)}
.catalog-choice-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);margin:0;padding:0}.catalog-choice-scroll{padding:24px 24px 12px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.catalog-choice-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.catalog-choice-dialog .eyebrow{color:#8B1E2D;font-size:11px}
.catalog-choice-dialog h2{font:700 30px/1.15 'Playfair Display',serif;color:#591620;margin:7px 0 0}.catalog-choice-dialog header button{min-width:44px;min-height:44px;border-radius:50%;background:#fffaf3;color:#591620;font-size:28px}
.catalog-choice-dialog fieldset{border:0;padding:0;margin:16px 0}.catalog-choice-dialog legend{font-size:17px;font-weight:700;margin-bottom:6px}
.catalog-choice-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid #c3a36b70;border-radius:13px;background:#fffaf5;margin:8px 0;cursor:pointer;font-size:15px;min-height:56px}
.catalog-choice-row:has(input:checked){border-color:#8B1E2D;box-shadow:0 0 0 1px #8B1E2D;background:#fbefea}.catalog-choice-row:has(input:disabled){opacity:.65;cursor:default}.catalog-choice-row input{accent-color:#8B1E2D;width:20px;height:20px;margin:0}.catalog-choice-row strong{font-weight:600;line-height:1.4}.catalog-choice-row small,.catalog-addon-row small,.catalog-edit-row small{display:block;font-size:13px;line-height:1.5;margin-top:3px;color:#67545b}.catalog-choice-row b,.catalog-edit-row b{color:#591620;font-size:15px;white-space:nowrap}
.catalog-base-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 18px;border-bottom:1px solid #c3a36b55;font-size:16px}
.catalog-quantity-control{display:flex;align-items:center;flex-shrink:0;border:1px solid #c3a36b80;border-radius:12px;background:#fffaf5;overflow:hidden;max-width:100%}
.catalog-choice-dialog .catalog-quantity-control button{width:42px;min-height:44px;flex:0 0 42px;background:transparent;color:#591620;font-size:22px;padding:0}.catalog-choice-dialog .catalog-quantity-control input{font-size:16px;text-align:center;min-height:44px;width:38px;min-width:0;border:0;background:transparent;padding:4px 0;color:#35242a;border-radius:0;appearance:textfield;margin:0}.catalog-quantity-control input::-webkit-inner-spin-button,.catalog-quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.catalog-addon-row,.catalog-edit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #c3a36b55;padding:12px 0;font-size:15px}.catalog-addon-row>span,.catalog-edit-copy{min-width:0;overflow-wrap:anywhere}.catalog-edit-copy b{display:block;margin-top:4px}.catalog-choice-dialog .muted{font-size:13px;line-height:1.5;color:#67545b;margin:10px 0 0}
.catalog-choice-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0;background:#fffaf3;padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #c3a36b70;margin:0}.catalog-choice-dialog footer small{display:block;font-size:13px;color:#67545b}.catalog-choice-dialog footer strong{display:block;font-size:21px;color:#591620;white-space:nowrap}.catalog-choice-dialog footer .btn{background:#8B1E2D;color:white;min-height:48px;font-size:15px;line-height:1.4;border-radius:18px;padding:12px 18px;max-width:65%}.catalog-choice-message{font-size:15px;color:#8B1E2D;line-height:1.5}.catalog-choice-message:empty{display:none}
.catalog-choice-dialog :focus-visible{outline:3px solid #8B1E2D;outline-offset:2px}
.customer-shell:has(>.store-intro)>.grid>.card .catalog-card-action{width:auto;height:auto;line-height:1.35;min-height:44px;white-space:normal}
.catalog-cartdock.cartdock{min-height:58px!important;padding:8px 12px!important;gap:10px!important;background:#8B1E2D!important;border-color:#8B1E2D!important;box-shadow:0 6px 24px #59162024!important}.catalog-cartdock .cart-icon{display:grid;place-items:center;background:transparent;width:24px;height:32px;flex:0 0 24px;color:#F6EFE3}.catalog-cartdock .cart-label strong{font-size:14px!important;line-height:1.4}.catalog-cartdock .cart-open{background:#C3A36B;color:#591620;padding:10px 13px;border-radius:24px;font-size:13px!important;line-height:1.3;white-space:nowrap;max-width:none}.catalog-cartdock .cart-open b{font-size:16px;margin-left:4px}.catalog-cartdock .cart-open:after{content:none}
.catalog-import-panel .sectiontitle{margin-top:0}.catalog-import-panel table{width:100%}.catalog-import-panel summary{font-size:16px;font-weight:700;cursor:pointer;padding:12px 0}.catalog-import-panel th,.catalog-import-panel td{padding:10px;text-align:left}.catalog-import-panel .tablewrap{max-height:420px;overflow:auto}.catalog-import-panel p{line-height:1.6}.catalog-import-panel button{min-height:44px}
@media(max-width:700px){.customer-shell:has(>.store-intro)>.grid>.card .catalog-card-action{width:100%;font-size:13px;padding:10px 6px}.catalog-cartdock.cartdock{bottom:calc(82px + env(safe-area-inset-bottom))!important;left:12px!important;right:12px!important}.catalog-cartdock .cart-label strong{font-size:13px!important}.catalog-cartdock .cart-open{font-size:12px!important;padding:10px}.shell:has(~ .catalog-cartdock){padding-bottom:calc(190px + env(safe-area-inset-bottom))}}
@media(max-width:600px){.catalog-choice-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 16px);border-radius:24px 24px 0 0;border-bottom:0}.catalog-choice-dialog form{max-height:calc(100dvh - 18px)}.catalog-choice-scroll{padding:22px 18px 12px}.catalog-choice-scroll:before{content:'';display:block;width:36px;height:4px;border-radius:4px;background:#b9aaa0;margin:-10px auto 16px}.catalog-choice-dialog h2{font-size:28px}.catalog-choice-dialog footer{padding:14px 18px max(14px,env(safe-area-inset-bottom))}.catalog-choice-row{gap:8px;padding:11px 10px;font-size:14px}.catalog-choice-row b{font-size:14px}.catalog-choice-dialog legend{font-size:16px}.catalog-addon-row strong,.catalog-edit-row strong{font-size:14px}.catalog-choice-dialog .catalog-quantity-control button{width:36px;flex-basis:36px}.catalog-choice-dialog .catalog-quantity-control input{width:32px}.catalog-choice-dialog footer .btn{font-size:14px;padding:12px 14px}.catalog-choice-dialog footer strong{font-size:20px}}
@media(max-width:360px){.catalog-cartdock .cart-icon{display:none}.catalog-cartdock .cart-label strong{font-size:12px!important}.catalog-cartdock .cart-open{font-size:11px!important}.catalog-choice-scroll{padding-inline:14px}.catalog-choice-row{grid-template-columns:18px minmax(0,1fr) auto;gap:6px;font-size:13px}.catalog-choice-row b{font-size:13px}}
/* Reserve the same action area before and after selection, including narrow phones. */
.customer-shell:has(>.store-intro)>.grid>.card .pricebar{display:grid;grid-template-columns:1fr;gap:10px}
.customer-shell:has(>.store-intro)>.grid>.card .catalog-card-action{width:100%}
@media(max-width:700px){.customer-shell:has(>.store-intro)>.grid>.card .add{min-height:56px}}

.admin-menu-card .sectiontitle{flex-wrap:wrap;gap:8px}.admin-menu-card .sectiontitle>div{flex:1 1 150px}
.catalog-choice-count{margin:6px 0 10px;color:#8B1E2D;font-size:14px;line-height:1.5}.catalog-choice-count strong{display:inline-block;border:1px solid #c3a36b80;border-radius:20px;padding:3px 10px;background:#fffaf3;font-weight:600}.catalog-choice-count span{display:block;font-size:12px;color:#67545b;margin-top:4px}
.menu-option-admin .sectiontitle{flex-wrap:wrap;gap:12px}.menu-option-admin .sectiontitle h2{margin:0}.menu-option-group{border-top:1px solid #c3a36b60;padding:16px 0;display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.menu-option-group>div:first-child{min-width:0;flex:1}.menu-option-group small{display:block;margin:6px 0;color:#67545b;line-height:1.5}.menu-option-links{display:flex;gap:6px;flex-wrap:wrap}.menu-option-links button{background:#f6efe3;color:#591620;border:1px solid #c3a36b70;border-radius:16px;padding:8px 12px;min-height:44px;font-size:13px;text-align:left}.menu-option-admin .actions{margin:0;flex-shrink:0}.menu-option-admin form{border-top:2px solid #c3a36b80;padding-top:18px;margin-top:18px}.menu-option-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.menu-option-columns fieldset{min-width:0;border:1px solid #c3a36b70;border-radius:12px;padding:12px}.menu-option-columns legend{font-weight:700;font-size:16px}.menu-option-checklist{max-height:290px;overflow-y:auto;overscroll-behavior:contain}.menu-option-checkbox{display:flex;align-items:flex-start;gap:10px;padding:10px 0;font-size:15px;line-height:1.5;cursor:pointer}.menu-option-checkbox input{width:20px!important;height:20px;min-height:20px!important;flex:0 0 20px;margin:2px 0 0!important;accent-color:#8B1E2D}.menu-option-checkbox small{display:block;font-size:13px;color:#67545b}.menu-option-checkbox strong{font-size:14px}.menu-option-admin :focus-visible{outline:3px solid #8B1E2D;outline-offset:2px}
@media(max-width:700px){.menu-option-group{flex-direction:column}.menu-option-columns{grid-template-columns:1fr}.menu-option-admin .btn{font-size:14px;min-height:44px}.menu-option-admin .sectiontitle .actions{flex-wrap:wrap}}
.menu-option-group strong,.menu-option-checkbox span{overflow-wrap:anywhere}.menu-option-checkbox span{min-width:0;flex:1}.menu-option-links button{max-width:100%;overflow-wrap:anywhere}
.menu-option-search{display:block;margin:0 0 8px}.menu-option-search input{display:block;width:100%;min-height:42px;padding:10px 12px;border:1px solid #c3a36b90;border-radius:9px;background:#fff;color:#35242a}.menu-option-search input::placeholder{color:#786a6f}.menu-option-empty{margin:10px 0 2px;color:#67545b;font-size:13px}
@media(max-width:700px){.menu-option-admin .sectiontitle .actions{width:100%;max-width:100%;min-width:0;flex-shrink:1}.menu-option-admin .sectiontitle .actions .btn{flex:1 1 180px;max-width:100%;white-space:normal}}

/* Anchor choice notices to the shared price baseline within each grid row. */
.customer-shell:has(>.store-intro)>.grid>.card .catalog-choice-count{margin-top:auto;padding-top:6px}
.customer-shell:has(>.store-intro)>.grid>.card .catalog-choice-count+.pricebar{margin-top:0}
@media(max-width:640px){.customer-shell:has(>.store-intro)>.grid>.card .catalog-choice-count span{min-height:3em}}
