/* Super Swish v1609: asistente de tres pasos para comercios existentes y futuros */
html body#ssRacingPage .ss1609-wizard{padding:0!important;overflow:hidden;background:#fff;border:1px solid #dae3ee;border-radius:19px;box-shadow:0 7px 30px rgba(14,22,38,.06);}
html body#ssRacingPage .ss1609-wizard-top{padding:20px 20px 16px;background:linear-gradient(125deg,#101822,#233144);color:white;border-bottom:4px solid #ffd000;}
html body#ssRacingPage .ss1609-wizard-top>small{font-size:10px;font-weight:900;color:#ffde33;letter-spacing:.095em;}
html body#ssRacingPage .ss1609-wizard-top h3{color:white!important;font-size:22px;margin:4px 0 7px;font-weight:950;line-height:1.2}
html body#ssRacingPage .ss1609-wizard-top p{color:#d8e1ed;font-size:13px;line-height:1.5;margin:0 0 16px}
html body#ssRacingPage .ss1609-stepbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
html body#ssRacingPage .ss1609-stepbar span{display:block;text-align:center;background:rgba(255,255,255,.11);color:#e4eaf3;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:10px 5px;font-size:12px;font-weight:800}
html body#ssRacingPage .ss1609-stepbar span.is-current{background:#ffd000;color:#121925;border-color:#ffd000}
html body#ssRacingPage .ss1609-wizard-stage{padding:20px 20px 18px;min-width:0;}
html body#ssRacingPage .ss1609-wizard-stage[hidden],html body#ssRacingPage .ss1609-general-picker[hidden],html body#ssRacingPage .ss1609-custom-panel[hidden],html body#ssRacingPage .ss1609-edit-groups[hidden]{display:none!important}
html body#ssRacingPage .ss1609-wizard-stage .ss1608-step-title{margin-bottom:18px}
html body#ssRacingPage .ss1609-wizard-stage .ss1608-photo-step{margin-top:12px}
html body#ssRacingPage .ss1609-wizard-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:19px;flex-wrap:wrap;border-top:1px solid #e5eaf1;padding-top:16px}
html body#ssRacingPage .ss1609-wizard-nav>span{color:#667085;font-size:12px}
html body#ssRacingPage .ss1609-wizard-nav button{width:auto!important;min-height:45px!important;border-radius:12px!important;padding:11px 16px!important;margin:0!important;font-size:13px;font-weight:900}
html body#ssRacingPage .ss1609-choice-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body#ssRacingPage .ss1609-choice-modes label{display:flex;gap:11px;align-items:start;padding:16px 13px;border:1px solid #dce3ec;border-radius:13px;background:#fbfcff;cursor:pointer;min-width:0;margin:0}
html body#ssRacingPage .ss1609-choice-modes label:has(input:checked){border-color:#ffc700;background:#fff9e3;box-shadow:inset 0 0 0 1px #ffc700}
html body#ssRacingPage .ss1609-choice-modes input{accent-color:#dfa800;flex:0 0 17px;margin-top:3px;width:17px;height:17px;min-width:17px}
html body#ssRacingPage .ss1609-choice-modes span{display:block;min-width:0}
html body#ssRacingPage .ss1609-choice-modes b{display:block;font-size:13px;line-height:1.35;color:#192334}
html body#ssRacingPage .ss1609-choice-modes small{display:block;color:#667085;font-size:11px;line-height:1.5;margin-top:6px}
html body#ssRacingPage .ss1609-general-picker{margin-top:16px;padding:15px;background:#f7faff;border:1px solid #dae5f2;border-radius:14px}
html body#ssRacingPage .ss1609-general-picker h4{margin:0 0 10px;font-size:15px;color:#111f33}
html body#ssRacingPage .ss1609-general-row{display:flex;gap:10px;align-items:center;border:1px solid #e3e8ee;border-radius:11px;padding:11px 12px;background:white;margin:6px 0;font-size:13px;cursor:pointer;color:#172033}
html body#ssRacingPage .ss1609-general-row input{width:18px;height:18px;flex:0 0 18px;accent-color:#e0b000}
html body#ssRacingPage .ss1609-general-row span{min-width:0;display:block;line-height:1.3}
html body#ssRacingPage .ss1609-general-row b{display:block;color:#172033;font-size:13px}
html body#ssRacingPage .ss1609-general-row small{display:block;color:#64748b;line-height:1.35;font-size:11px;margin-top:3px}
html body#ssRacingPage .ss1609-general-picker>small{display:block;color:#5c697a;font-size:11px;margin-top:10px}
html body#ssRacingPage .ss1609-custom-panel{margin-top:16px;padding:14px;border:1px solid #e3e8ee;background:#f7f9fc;border-radius:14px}
html body#ssRacingPage .ss1609-custom-host>h2{margin:0 0 10px;color:#162239;font-size:17px}
html body#ssRacingPage .ss1609-custom-host .ssw-sides-editor{background:white;border:1px solid #e3e7ed;border-radius:12px;padding:10px;margin:0;width:100%;max-width:100%;min-width:0}
html body#ssRacingPage .ss1609-custom-host .ssw164-kind-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
html body#ssRacingPage .ss1609-custom-host .ssw164-kind-tabs button{white-space:normal!important;min-width:0!important;font-size:11px!important;padding:7px!important}
html body#ssRacingPage .ss1609-review{display:grid;gap:8px;padding:15px;border:1px solid #e3e9f0;background:#f8faff;border-radius:13px}
html body#ssRacingPage .ss1609-review>div{display:grid;grid-template-columns:minmax(90px,120px) 1fr;gap:8px;font-size:13px;align-items:start;border-bottom:1px solid #e4e9f0;padding:6px 0}
html body#ssRacingPage .ss1609-review>div:last-child{border-bottom:0}
html body#ssRacingPage .ss1609-review span{color:#687486}
html body#ssRacingPage .ss1609-review strong{color:#142038;overflow-wrap:anywhere}
html body#ssRacingPage .ss1609-save-note{color:#516070;font-size:12px;line-height:1.5;margin:13px 0}
html body#ssRacingPage .ss1609-wizard .ss1608-save-product{margin-top:12px;gap:10px}
html body#ssRacingPage .ss1609-wizard .ss1608-save-product .btn{flex:1 1 170px}
html body#ssRacingPage dialog .ss1609-editor-pick{padding:12px;background:#fff;border:1px solid #e5eaf0;border-radius:12px;margin:9px 12px}
html body#ssRacingPage dialog .ss1609-editor-pick>label{display:block;font-size:13px;font-weight:850;color:#172033}
html body#ssRacingPage dialog .ss1609-editor-pick>label select{display:block;width:100%;margin-top:8px}
html body#ssRacingPage dialog .ss1609-edit-groups{margin:10px 0}
html body#ssRacingPage dialog .ss1609-edit-groups .ss1609-general-row{padding:9px}
@media(max-width:630px){
 html body#ssRacingPage .ss1609-wizard-top{padding:16px 12px 14px}
 html body#ssRacingPage .ss1609-wizard-top h3{font-size:19px}
 html body#ssRacingPage .ss1609-stepbar span{font-size:10px;padding:9px 3px}
 html body#ssRacingPage .ss1609-wizard-stage{padding:15px 12px}
 html body#ssRacingPage .ss1609-choice-modes{grid-template-columns:minmax(0,1fr);gap:8px}
 html body#ssRacingPage .ss1609-wizard-nav{align-items:stretch}
 html body#ssRacingPage .ss1609-wizard-nav>span{flex:1 1 100%}
 html body#ssRacingPage .ss1609-wizard-nav button{flex:1 1 auto}
 html body#ssRacingPage .ss1609-custom-panel{padding:7px}
 html body#ssRacingPage .ss1609-custom-host .ssw-side-group{padding:7px!important}
 html body#ssRacingPage .ss1609-review>div{grid-template-columns:100px minmax(0,1fr)}
}

/* V1610 · Crear productos en un modal real. Solo el modal muestra el asistente. */
html body#ssRacingPage #ss1608AddProduct{display:none!important;}
html body#ssRacingPage dialog.ss1610-product-dialog #ss1608AddProduct{display:block!important;margin:0!important;border:0!important;border-radius:20px;box-shadow:none!important;overflow:visible!important;}
html body#ssRacingPage dialog.ss1610-product-dialog{position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:min(92vw,820px)!important;max-width:820px!important;max-height:min(92dvh,900px)!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;border:0!important;border-radius:22px!important;padding:0!important;color:#172033!important;box-shadow:0 30px 90px rgba(5,12,22,.42)!important;overscroll-behavior:contain;scrollbar-width:thin;}
html body#ssRacingPage dialog.ss1610-product-dialog::backdrop{background:rgba(6,12,22,.79)!important;backdrop-filter:blur(4px)}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-wizard-top{position:relative;padding-right:59px!important;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-close{position:absolute;top:15px;right:14px;width:39px;height:39px;background:#273446!important;border:1px solid rgba(255,255,255,.26)!important;border-radius:50%;color:white!important;font-size:27px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0!important;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-close:hover{background:#394b61!important}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-stepbar{grid-template-columns:repeat(4,minmax(0,1fr));}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-stepbar span.is-completed{background:rgba(255,208,0,.17);color:#fff0a8;border-color:rgba(255,208,0,.35)}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-wizard-nav{position:sticky;bottom:0;z-index:4;background:#fff;padding:14px 0 5px}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rules{display:grid;gap:12px;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rules-intro{margin:0;color:#657185;font-size:13px;line-height:1.5}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-card{border:1px solid #dfe5ee;border-radius:14px;background:#f9fbfe;padding:14px 15px;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-title{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-title strong{color:#101c2f;font-size:15px;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-title small{background:#fef1c6;padding:4px 8px;border-radius:16px;color:#514400;font-weight:800;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-card p{font-size:12px;color:#64748b;margin:6px 0 12px;line-height:1.5}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-fields label{font-weight:850;color:#1b2c40;font-size:12px;display:block}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-fields label span{display:block;margin-bottom:6px}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-fields select{width:100%;height:43px;border-radius:9px;border:1px solid #cbd5e1;background:white;color:#172033;padding:7px;font:inherit}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-fields select:disabled{opacity:.62;background:#eceef1;}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-note{display:block;margin-top:9px;font-size:11px;color:#667085;line-height:1.45}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-help{background:#fff8e0;padding:18px;border:1px solid #f4dd87;border-radius:14px;font-size:13px;color:#584b1b;line-height:1.55}
html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-wizard-stage{background:white!important}
@media(max-width:630px){
 html body#ssRacingPage dialog.ss1610-product-dialog{width:calc(100vw - 18px)!important;max-height:calc(100dvh - 28px)!important;border-radius:17px!important;}
 html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-wizard-top{padding:16px 52px 14px 14px!important;}
 html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-stepbar{margin-right:-38px;gap:4px;}
 html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-stepbar span{font-size:9px!important;padding:9px 2px!important}
 html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-wizard-stage{padding:15px 13px!important}
 html body#ssRacingPage dialog.ss1610-product-dialog .ss1610-rule-fields{grid-template-columns:1fr 1fr;}
 html body#ssRacingPage dialog.ss1610-product-dialog .ss1609-wizard-nav button{min-width:116px!important;}
}

/* v1611 · Creación instantánea de guarniciones, bebidas y extras desde el paso 2 */
html body#ssRacingPage .ss1611-quick-library{margin:0 0 20px;border:1px solid #e0e7f0;border-radius:18px;background:linear-gradient(145deg,#f8fbff,#fff);padding:16px;}
html body#ssRacingPage .ss1611-quick-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
html body#ssRacingPage .ss1611-quick-head strong{font-size:16px;color:#121e32;display:block}
html body#ssRacingPage .ss1611-quick-head small{font-size:12px;display:block;color:#667085;margin-top:3px}
html body#ssRacingPage .ss1611-saved-tag{background:#dff8e9;color:#176341;padding:6px 9px;border-radius:99px;font-size:10px;font-weight:850}
html body#ssRacingPage .ss1611-library-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
html body#ssRacingPage .ss1611-library-card{background:white;padding:11px 9px;border:1px solid #e1e8ef;border-radius:12px;min-width:0}
html body#ssRacingPage .ss1611-library-card strong{display:block;font-size:12px;color:#172333;line-height:1.4}
html body#ssRacingPage .ss1611-library-card small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#758091;font-size:11px;margin-top:4px;line-height:1.5}
html body#ssRacingPage .ss1611-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body#ssRacingPage .ss1611-quick-actions button{padding:12px 6px!important;border-radius:12px!important;background:#ffcf00!important;border:1px solid #efbd00!important;color:#111b27!important;font-size:13px!important;font-weight:950;min-height:46px!important;white-space:normal;cursor:pointer}
html body#ssRacingPage .ss1611-quick-actions button:hover{background:#ffdf40!important}
html body#ssRacingPage .ss1611-create-form{margin-top:14px;padding:14px;background:#fff;border:1px solid #b9d1e9;border-radius:15px;box-shadow:0 6px 18px #1623330e;}
html body#ssRacingPage .ss1611-create-form[hidden],html body#ssRacingPage .ss1611-confirmation[hidden]{display:none!important}
html body#ssRacingPage .ss1611-create-form h4{margin:0 0 5px;font-size:17px;color:#172438}
html body#ssRacingPage .ss1611-create-form p{margin:0 0 12px;font-size:12px;line-height:1.4;color:#596779}
html body#ssRacingPage .ss1611-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body#ssRacingPage .ss1611-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:850;color:#1f3042;min-width:0}
html body#ssRacingPage .ss1611-field input,html body#ssRacingPage .ss1611-field select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #cad5e2;border-radius:11px;padding:9px;color:#172333;background:#fff;font-size:13px}
html body#ssRacingPage .ss1611-field input[type=file]{padding:8px;font-size:11px}
html body#ssRacingPage .ss1611-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px;flex-wrap:wrap}
html body#ssRacingPage .ss1611-form-actions button{padding:12px 14px!important;border-radius:11px!important;font-weight:850;min-height:44px!important;font-size:12px!important;cursor:pointer}
html body#ssRacingPage .ss1611-save{background:#ffcf00!important;color:#101820!important}
html body#ssRacingPage .ss1611-save:disabled{opacity:.5;cursor:wait}
html body#ssRacingPage .ss1611-cancel{background:#edf2f7!important;color:#283b54!important}
html body#ssRacingPage .ss1611-message{margin:8px 0 0!important;color:#9f2222!important;font-size:12px}
html body#ssRacingPage .ss1611-confirmation{margin:10px 0 0!important;background:#e8fbef;border:1px solid #a8e4bd;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:750;color:#17633e;line-height:1.45}
html body#ssRacingPage dialog .ss1611-editing-side [data-ss1609-stage="2"] .ss1609-wizard-nav{display:none!important}
html body#ssRacingPage .ss1611-choose-title{color:#192437!important;font-size:15px;margin:17px 0 10px;font-weight:950}
@media(max-width:630px){
 html body#ssRacingPage .ss1611-quick-library{padding:12px}
 html body#ssRacingPage .ss1611-saved-tag{font-size:9px}
 html body#ssRacingPage .ss1611-library-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 html body#ssRacingPage .ss1611-library-card{padding:8px 6px;text-align:center;display:grid;place-items:center;min-height:50px}
 html body#ssRacingPage .ss1611-library-card strong{font-size:10px}
 html body#ssRacingPage .ss1611-library-card small{display:none}
 html body#ssRacingPage .ss1611-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 html body#ssRacingPage .ss1611-quick-actions button{font-size:11px!important;padding:10px 3px!important;min-height:45px!important}
 html body#ssRacingPage .ss1611-form-grid{grid-template-columns:minmax(0,1fr);gap:9px}
 html body#ssRacingPage .ss1611-form-actions{flex-direction:column-reverse}
 html body#ssRacingPage .ss1611-form-actions button{width:100%!important}
}

/* v1613: pantalla del comercio nunca pinta el formulario dentro de la página. */
html body#ssRacingPage #ss1613ProductBlueprint{display:none!important}
html body#ssRacingPage.ss1613-dialog-open{overflow:hidden!important}
html body#ssRacingPage dialog.ss1610-product-dialog[open]{display:block!important;z-index:2147483000!important}
html body#ssRacingPage dialog.ss1610-product-dialog[open] #ss1608AddProduct{display:block!important}
