/* SuperSwish v1632: detalle de productos visible al rider, PC y móvil. */
html body#ssRacingPage .ss-rider-products {
  margin: 12px 0 14px; padding: 12px; border: 1px solid #e6dba7;
  border-radius: 14px; background: #fffdf0; color: #192337;
  min-width: 0; overflow-wrap: anywhere;
}
html body#ssRacingPage .ss-rider-products-header {
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px; flex-wrap:wrap; padding-bottom:8px;
  border-bottom: 1px solid #e7deb2;
}
html body#ssRacingPage .ss-rider-products-header strong {font-size:14px; font-weight:900; color:#0b2444; line-height:1.35}
html body#ssRacingPage .ss-rider-products-header span {background:#ffdc32; color:#181818; border-radius:999px; padding:4px 9px; font-size:11px; font-weight:850}
html body#ssRacingPage .ss-rider-products-list {list-style:none; padding:0; margin:0}
html body#ssRacingPage .ss-rider-product-row {display:flex; align-items:flex-start; gap:8px; padding:10px 0; border-bottom:1px solid #ece7cb; min-width:0}
html body#ssRacingPage .ss-rider-product-qty {border-radius:8px; background:#161b22; color:#fff; padding:5px 6px; min-width:30px; font-size:12px; font-weight:900; text-align:center; flex-shrink:0}
html body#ssRacingPage .ss-rider-product-info {flex:1; min-width:0; line-height:1.4}
html body#ssRacingPage .ss-rider-product-info strong {display:block; color:#1e293b; font-size:13px; font-weight:850; overflow-wrap:anywhere}
html body#ssRacingPage .ss-rider-product-info small {display:block; margin-top:5px; font-size:11px; line-height:1.45; overflow-wrap:anywhere}
html body#ssRacingPage .ss-rider-product-sides {color:#344054}
html body#ssRacingPage .ss-rider-product-note {background:#fff2ce; border-radius:6px; color:#875207; padding:4px 6px}
html body#ssRacingPage .ss-rider-product-price {flex-shrink:0; font-size:11px; font-weight:850; color:#0b2444; white-space:nowrap; margin-top:5px}
html body#ssRacingPage .ss-rider-order-note {margin-top:10px; padding:9px 10px; border-left:3px solid #e7a009; border-radius:7px; background:#fff5d2}
html body#ssRacingPage .ss-rider-order-note strong {display:block; font-size:12px}
html body#ssRacingPage .ss-rider-order-note p {margin:5px 0 0; font-size:12px; line-height:1.5; white-space:pre-line}
html body#ssRacingPage .ss-rider-products-footer {display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 12px; margin-top:10px; font-size:12px; color:#4b5563}
html body#ssRacingPage .ss-rider-products-footer b {color:#0b2444}
html body#ssRacingPage .ss-rider-products-missing {padding:10px 0; color:#9a3412; font-size:12px; line-height:1.45}
@media(max-width:600px) {
 html body#ssRacingPage .ss-rider-products {margin:10px 0 12px;padding:10px}
 html body#ssRacingPage .ss-rider-product-row {flex-wrap:wrap}
 html body#ssRacingPage .ss-rider-product-price {margin-left:38px; margin-top:0}
 html body#ssRacingPage .ss-rider-products-footer {font-size:11px}
}

/* Foto del producto: visible para el rider en pedidos disponibles y asignados. */
html body#ssRacingPage .ss-rider-product-image {
  position:relative; flex:none; width:78px; height:78px; overflow:hidden;
  border-radius:12px; border:1px solid #e5e7eb; background:#f3f4f6;
}
html body#ssRacingPage .ss-rider-product-photo {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  display:block; background:#fff;
}
html body#ssRacingPage .ss-rider-product-photo-fallback {
  display:flex; height:100%; width:100%; flex-direction:column;
  align-items:center; justify-content:center; gap:3px; color:#64748b;
}
html body#ssRacingPage .ss-rider-product-photo-fallback span {font-size:25px; line-height:1}
html body#ssRacingPage .ss-rider-product-photo-fallback small {font-size:10px; font-weight:700}
html body#ssRacingPage .ss-rider-product-row {align-items:center}
@media(max-width:600px) {
 html body#ssRacingPage .ss-rider-product-image {width:66px; height:66px}
 html body#ssRacingPage .ss-rider-product-row {flex-wrap:nowrap;align-items:flex-start;gap:7px}
 html body#ssRacingPage .ss-rider-product-qty {min-width:25px;padding:4px 5px}
 html body#ssRacingPage .ss-rider-product-price {margin-left:0;white-space:normal;max-width:76px; text-align:right}
 html body#ssRacingPage .ss-rider-product-info {font-size:12px}
}
