/* Super Swish v1608 - Selector limpio para comercios existentes y futuros.
   No altera cálculos, Firestore, disponibilidad o opciones del catálogo.
   Las plantillas BON y Little Caesars mantienen sus estilos específicos. */
html body#ssRacingPage dialog.ss1579-dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog){
 width:min(94vw,720px)!important;max-width:720px!important;max-height:min(92dvh,850px)!important;
 border:0!important;border-radius:22px!important;background:#fff!important;overflow:hidden!important;
 box-shadow:0 24px 84px #050c22a0!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) form.ssw160-product-form{height:min(90dvh,820px)!important;max-height:90dvh!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-hero{
 padding:18px 92px 16px 22px!important;background:#fff!important;border-bottom:1px solid #e5e9ee!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-copy small{display:none!important}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-copy h2{
 color:#101827!important;font-size:clamp(19px,2.5vw,25px)!important;margin:0 0 5px!important;line-height:1.24!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-copy p{
 color:#6a7483!important;font-size:12px!important;line-height:1.4!important;margin:0!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-close-dialog{
 top:15px!important;right:15px!important;background:#eff1f4!important;color:#172033!important;width:38px!important;height:38px!important;min-width:38px!important;font-size:18px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1579-favorite{
 top:15px!important;right:60px!important;background:#fff5cb!important;color:#283143!important;border:1px solid #ffd148!important;width:38px!important;height:38px!important;min-width:38px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw160-product-scroll{background:#fff!important;padding-bottom:13px!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-photo{
 display:flex!important;align-items:center!important;gap:14px!important;padding:14px 22px 5px!important;background:#fff!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-photo img{
 width:96px!important;height:90px!important;min-width:96px!important;max-height:90px!important;flex:0 0 96px!important;
 object-fit:contain!important;border-radius:14px!important;background:#fff8dc!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-photo p{
 padding:0!important;margin:0!important;font-size:13px!important;line-height:1.5!important;color:#606e82!important;background:transparent!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw160-price-line{
 justify-content:flex-end!important;border:0!important;padding:2px 22px 9px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw160-price-line [data-base-price]{color:#101828!important;font-size:17px!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) [data-groups]{padding:0 22px!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw164-client-kind{
 font-weight:900!important;font-size:13px!important;margin:18px 0 5px!important;color:#535d6d!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) details.ssw-picker-group{
 padding:13px 0 15px!important;border-bottom:1px solid #ebedf0!important;display:block!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-picker-group summary{
 font-size:16px!important;color:#151b24!important;gap:8px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-picker-group summary small{
 background:#fff0b0!important;padding:4px 8px!important;font-size:10px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-picker-group>p{
 margin:5px 0 10px!important;font-size:12px!important;color:#748092!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw-side-choice{
 display:flex!important;min-width:0!important;min-height:52px!important;padding:8px 10px!important;gap:8px!important;
 border:1px solid #d9dee7!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw-side-choice:has(input:checked){
 background:#fff9dc!important;border-color:#eabb1b!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid input{
 flex:0 0 17px!important;width:17px!important;min-width:17px!important;height:17px!important;margin:0!important;
 accent-color:#e6b000!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw163-choice-photo{
 display:grid!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:9px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw163-choice-photo:not(:has(img)){display:none!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw163-choice-name{
 font-size:12px!important;font-weight:750!important;line-height:1.28!important;overflow-wrap:anywhere!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw-side-choice strong{
 display:block!important;flex:0 0 auto!important;color:#566170!important;font-size:11px!important;white-space:nowrap!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw-side-choice:has(input[value=""]) {
 grid-column:1/-1!important;min-height:37px!important;background:#f8fafc!important;justify-content:flex-start!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-notes{
 display:flex!important;flex-direction:column!important;gap:7px!important;margin:14px 22px 15px!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-notes strong{
 font-size:14px!important;color:#172033!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-notes small{color:#667085;font-size:12px;font-weight:500;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-notes textarea{
 width:100%!important;min-height:65px!important;box-sizing:border-box!important;padding:12px!important;resize:vertical!important;
 background:#fff!important;border:1px solid #d5dce5!important;border-radius:12px!important;color:#172033!important;font:13px/1.5 system-ui!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-price-footer{
 background:#fff!important;border-top:1px solid #e6e9ef!important;padding:10px 17px max(12px,env(safe-area-inset-bottom))!important;
 box-shadow:0 -4px 18px #1a253012!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw160-checkout{
 display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;
}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-price-footer [data-total]{display:none!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-quantity{grid-column:1!important;grid-row:1!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-quantity>label{display:none!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-picker-actions{grid-column:2!important;grid-row:1!important;}
html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-picker-actions button[type=submit]{
 font-size:14px!important;font-weight:950!important;border-radius:13px!important;min-height:49px!important;white-space:normal!important;
}
/* Comercio: botones claros, formulario por pasos y extras opcionales. */
html body#ssRacingPage .ss1608-merchant-welcome{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;
 margin:12px 0 16px;padding:22px;border-radius:18px;background:linear-gradient(122deg,#101822,#263247);
 color:#fff;border-bottom:4px solid #ffd000;
}
html body#ssRacingPage .ss1608-merchant-welcome>div:first-child{flex:1 1 260px;}
html body#ssRacingPage .ss1608-merchant-welcome small{font-size:11px;font-weight:900;letter-spacing:.08em;color:#ffdb29;}
html body#ssRacingPage .ss1608-merchant-welcome h3{color:#fff;margin:5px 0 4px;font-size:clamp(18px,3vw,23px);font-weight:950;}
html body#ssRacingPage .ss1608-merchant-welcome p{color:#e0e6ef;margin:0;font-size:13px;line-height:1.5;}
html body#ssRacingPage .ss1608-merchant-shortcuts{display:flex;flex:1 1 300px;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
html body#ssRacingPage .ss1608-merchant-shortcuts .btn{width:auto!important;min-width:0!important;flex:1 1 136px;padding:11px 12px!important;margin:0!important;border-radius:11px!important;white-space:normal!important;}
html body#ssRacingPage .ss1608-merchant-shortcuts .btn-outline{background:#fff!important;color:#152234!important;border-color:#fff!important;}
html body#ssRacingPage .ss1608-add-product{background:#fff;border:1px solid #dce4ec;border-radius:16px;padding:16px;margin:12px 0 20px;}
html body#ssRacingPage .ss1608-step-title{display:flex;align-items:center;gap:10px;margin:0 0 13px;}
html body#ssRacingPage .ss1608-step-title>span,
html body#ssRacingPage .ss1608-save-product>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#ffcd00;color:#111827;font-size:16px;font-weight:950;}
html body#ssRacingPage .ss1608-step-title strong{display:block;font-size:16px;color:#142033;font-weight:950;}
html body#ssRacingPage .ss1608-step-title small{display:block;color:#667085;font-size:12px;line-height:1.45;}
html body#ssRacingPage .ss1608-new-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:10px;}
html body#ssRacingPage .ss1608-new-fields>.form-group{min-width:0;}
html body#ssRacingPage .ss1608-add-product .form-input,
html body#ssRacingPage .ss1608-add-product .form-select{box-sizing:border-box;max-width:100%;min-height:45px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#101828;}
html body#ssRacingPage .ss1608-description{margin-bottom:11px;}
html body#ssRacingPage .ss1608-description small{font-size:11px;color:#667085;}
html body#ssRacingPage .ss1608-advanced-offer{border:1px solid #e3e7ee;border-radius:12px;margin:9px 0 17px;background:#fbfcfe;padding:0;}
html body#ssRacingPage .ss1608-advanced-offer summary{cursor:pointer;font-weight:850;color:#243146;padding:13px;list-style:auto;}
html body#ssRacingPage .ss1608-advanced-offer summary small{display:block;color:#6a7688;font-size:11px;font-weight:500;margin-left:18px;}
html body#ssRacingPage .ss1608-promotion-slot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:0 13px 13px;}
html body#ssRacingPage .ss1608-photo-step{background:#f8fafc;border:1px solid #e3e7ee;padding:14px;border-radius:14px;margin-bottom:14px;}
html body#ssRacingPage .ss1608-photo-step .form-group{margin:0;}
html body#ssRacingPage .ss1608-save-product{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#fff8db;border-radius:13px;padding:14px;}
html body#ssRacingPage .ss1608-save-product>div{flex:1 1 170px;}
html body#ssRacingPage .ss1608-save-product strong{display:block;color:#1f2937;font-size:15px;}
html body#ssRacingPage .ss1608-save-product small{display:block;color:#5b6474;font-size:11px;line-height:1.4;}
html body#ssRacingPage .ss1608-save-product .btn{width:auto!important;min-width:180px!important;margin:0!important;border-radius:12px!important;padding:11px 15px!important;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-intro{
 background:#fffae8;border-left:4px solid #ffcb00;border-radius:11px;padding:12px 14px;line-height:1.55;font-size:13px;color:#293547;
}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-section{
 border:1px solid #dce2ea;border-radius:13px;background:#fbfcff;margin:13px 0;overflow:hidden;
}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-section>summary{
 cursor:pointer;display:block;font-size:14px;font-weight:950;color:#19273b;padding:13px 14px;list-style-position:inside;
}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-section>summary small{
 display:block;font-size:12px;font-weight:500;color:#667085;margin:3px 0 0 20px;
}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-section-hint{font-size:12px;line-height:1.5;color:#546175;margin:0 14px 11px;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-section>label{display:flex;gap:9px;align-items:center;margin:0 14px 10px;font-size:13px;color:#28364a;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-section fieldset{margin:10px!important;max-width:calc(100% - 20px)!important;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ss1608-editor-section .ss1579-merchant-recommendations label{
 display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e3e7ee;background:#fff;border-radius:9px;margin:5px 0;font-size:13px;
}
html body#ssRacingPage dialog.ssw160-merchant-editor .ssw164-kind-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ssw164-kind-tabs button{white-space:normal!important;min-width:0!important;min-height:44px!important;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ssw-side-group{background:#fdfdff!important;border:1px solid #e4e8ee!important;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ssw-option-editor{border-bottom:1px solid #e8edf3;padding:11px 0;}
html body#ssRacingPage dialog.ssw160-merchant-editor .ssw-option-editor input[type=text],
html body#ssRacingPage dialog.ssw160-merchant-editor .ssw-option-editor input[type=number]{min-height:43px!important;}
@media(max-width:650px){
 html body#ssRacingPage dialog.ss1579-dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog){width:min(96vw,650px)!important;max-width:650px!important;height:min(92dvh,790px)!important;max-height:92dvh!important;margin:auto!important;border-radius:20px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) form.ssw160-product-form{height:100%!important;max-height:100%!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-hero{padding:16px 95px 13px 16px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-copy h2{font-size:19px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-photo{gap:10px!important;padding:11px 16px 3px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw157-dialog-photo img{width:69px!important;min-width:69px!important;height:69px!important;max-height:69px!important;flex:0 0 69px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw160-price-line{padding:3px 16px 8px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) [data-groups]{padding:0 16px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid{gap:7px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw-side-choice{padding:9px!important;min-height:48px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw163-choice-name{font-size:11px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw163-choice-photo{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid .ssw-side-choice strong{font-size:10px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-notes{margin:12px 16px 17px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw160-checkout{grid-template-columns:96px minmax(0,1fr)!important;gap:9px!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-price-footer{padding:9px 12px max(12px,env(safe-area-inset-bottom))!important;}
 html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ssw-picker-actions button[type=submit]{font-size:12px!important;min-height:47px!important;padding:9px 5px!important;}
 html body#ssRacingPage .ss1608-merchant-welcome{padding:16px;}
 html body#ssRacingPage .ss1608-merchant-shortcuts{justify-content:flex-start;}
 html body#ssRacingPage .ss1608-merchant-shortcuts .btn{flex-basis:100%;}
 html body#ssRacingPage .ss1608-add-product{padding:12px;}
 html body#ssRacingPage .ss1608-new-fields{grid-template-columns:1fr;gap:9px;}
 html body#ssRacingPage .ss1608-promotion-slot{grid-template-columns:1fr;}
 html body#ssRacingPage .ss1608-save-product .btn{width:100%!important;flex-basis:100%;}
 html body#ssRacingPage dialog.ssw160-merchant-editor .ssw164-kind-tabs button{font-size:11px!important;padding:8px 4px!important;}
}
@media(max-width:370px){html body#ssRacingPage dialog.ss1608-universal-dialog:not(.ss1597-bon-dialog) .ss1608-choice-grid{grid-template-columns:1fr!important;}}
/* Ocultar herramientas técnicas hasta necesitarlas hace el panel más fácil en móvil. */
html body#ssRacingPage .ss1608-merchant-tools{margin:12px 0;border:1px solid #dfe5eb;border-radius:14px;background:#f8fafc;overflow:hidden;}
html body#ssRacingPage .ss1608-merchant-tools>summary{display:block;cursor:pointer;font-size:14px;font-weight:900;color:#233047;padding:15px 17px;list-style-position:inside;}
html body#ssRacingPage .ss1608-merchant-tools>summary small{display:block;font-size:12px;color:#667085;font-weight:500;margin:4px 0 0 22px;}
html body#ssRacingPage .ss1608-merchant-tools>summary:hover{background:#f1f5fa;}
html body#ssRacingPage .ss1608-merchant-tools .ssw164-merchant-access,
html body#ssRacingPage .ss1608-merchant-tools .ss1606-card,
html body#ssRacingPage .ss1608-merchant-tools .ss1601-import-card{margin:9px!important;}
