/* 1.8.53: ficha de producto con el estilo de marca (coherente con la ficha de combo estilo Amazon).
   Todo acotado a .zfl-sp53 (la envoltura de la ficha) y a los avisos de WooCommerce de la ficha.
   Botones: primario #ffcc00/#111827 (hover/active #f5c400); secundario #f3f4f6 (claro) / #252830 (oscuro).
   Nunca blanco ni hover negro. */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53{--s53-sec:#f3f4f6;--s53-sec-h:#e5e7eb;--s53-sec-line:#e5e7eb;--s53-sec-tx:#111827;--s53-in-bg:#ffffff;--s53-in-line:#d1d5db;--s53-in-tx:#111827;--s53-dis:#e5e7eb;--s53-dis-tx:#6b7280}
html.dark-mode body.zfl-store-active div.zfl-sp-wrap.zfl-sp53{--s53-sec:#252830;--s53-sec-h:#2d3139;--s53-sec-line:#3a3f48;--s53-sec-tx:#f3f4f6;--s53-in-bg:#1f2229;--s53-in-line:#3a3f48;--s53-in-tx:#f3f4f6;--s53-dis:#252830;--s53-dis-tx:#6b7280}

/* Ruta */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-crumb{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:13px!important;color:var(--zfa-muted)!important;margin:4px 0 12px!important;line-height:1.4}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-crumb a{color:var(--zfa-link)!important;text-decoration:none!important;font-weight:500}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-crumb a:hover{text-decoration:underline!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-crumb span{color:var(--zfa-text)!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Galería */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-main-img{border:1px solid var(--zfa-line)!important;border-radius:10px!important;background:var(--s53-sec)!important;object-fit:contain!important;aspect-ratio:1!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-thumbs{gap:8px!important;margin-top:10px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-thumbs img{width:60px!important;height:60px!important;border:2px solid var(--zfa-line)!important;border-radius:8px!important;background:var(--s53-sec)!important;opacity:.8}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-thumbs img:hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-thumbs img.active{border-color:#ffcc00!important;opacity:1}

/* Título, enlace, insignia, separador */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-pdp-title{color:var(--zfa-text)!important;font-weight:600!important;line-height:1.25!important;margin:0 0 4px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-pdp-info>.zfa-link{font-size:13px;color:var(--zfa-link)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-badge-best{display:inline-flex!important;align-self:flex-start;align-items:center;background:#fff4cc!important;color:#7a5a00!important;border:1px solid #f5c400!important;border-radius:999px!important;padding:2px 10px!important;font-size:12px!important;font-weight:700!important}
html.dark-mode body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-badge-best{background:#3a3216!important;color:#ffcc00!important;border-color:#6b5a14!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-pdp-info hr{border:0!important;border-top:1px solid var(--zfa-line)!important;margin:6px 0!important;height:0!important;background:none!important}

/* Precio con su unidad al lado y monedas como chips iguales */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-prices{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;gap:4px 6px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-per-unit{display:inline!important;font-size:13px!important;font-weight:600!important;color:var(--zfa-muted)!important;margin:0 0 0 2px!important;position:static!important;float:none!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-othercur{flex:1 0 100%!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:8px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-othercur .zfl-sp-price-item{display:inline-flex!important;align-items:baseline;gap:2px;background:var(--s53-sec)!important;color:var(--zfa-text)!important;border:1px solid var(--s53-sec-line)!important;border-radius:999px!important;padding:5px 12px!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-othercur .zfl-sp-price-item .zfl-per-unit{font-size:11px!important}

/* Zona y categorías */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-meta-tag{display:inline-flex!important;align-items:center;gap:4px;background:var(--s53-sec)!important;color:var(--zfa-text)!important;border:1px solid var(--s53-sec-line)!important;border-radius:999px!important;padding:4px 12px!important;font-size:12px!important;font-weight:500;text-decoration:none!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 a.zfl-sp-meta-tag:hover{background:var(--s53-sec-h)!important;border-color:#ffcc00!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 a.zfl-sp-meta-tag:focus-visible{outline:2px solid #ffcc00!important;outline-offset:2px}

/* Caja de compra */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-buy{background:var(--zfa-card)!important;border:1px solid var(--zfa-line)!important;border-radius:10px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp53-buyprice{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-stock-lg{margin:6px 0 4px!important;font-weight:600!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-buy .zfl-sp-agotado{display:inline-block!important;align-self:flex-start!important;width:auto!important;max-width:max-content;background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;border-radius:999px!important;padding:3px 12px!important;font-size:13px!important}
html.dark-mode body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-buy .zfl-sp-agotado{background:#3b1d1d!important;color:#fca5a5!important;border-color:#5b2626!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}

/* Primarios: Agregar al carrito / Comprar ahora / botón nativo de variaciones */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfl-sp-add-btn{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:42px!important;border-radius:999px!important;background:#ffcc00!important;background-image:none!important;color:#111827!important;border:1px solid #f5c400!important;font-weight:700!important;font-size:14px!important;text-decoration:none!important;box-shadow:0 1px 2px rgba(17,24,39,.12)!important;cursor:pointer}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn:hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button:hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfl-sp-add-btn:hover,
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn:active,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button:active,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfl-sp-add-btn:active{background:#f5c400!important;color:#111827!important;border-color:#f5c400!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn:active,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button:active{transform:translateY(1px)}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn:focus-visible,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button:focus-visible,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-share-wide:focus-visible,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-wa:focus-visible,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-opt:focus-visible{outline:2px solid #ffcc00!important;outline-offset:2px!important;box-shadow:0 0 0 4px rgba(255,204,0,.25)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn:disabled,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-btn:disabled:hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button:disabled,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button.disabled,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .single_add_to_cart_button.disabled:hover{background:var(--s53-dis)!important;color:var(--s53-dis-tx)!important;border-color:var(--s53-sec-line)!important;box-shadow:none!important;cursor:not-allowed!important;transform:none!important;opacity:1!important}

/* Secundarios sutiles: Compartir y Preguntar por WhatsApp */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-share-wide,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-wa{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:40px!important;margin:0!important;border-radius:999px!important;background:var(--s53-sec)!important;background-image:none!important;color:var(--s53-sec-tx)!important;border:1px solid var(--s53-sec-line)!important;font-weight:600!important;font-size:14px!important;text-decoration:none!important;box-shadow:none!important;padding:8px 14px!important;cursor:pointer}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-share-wide:hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-wa:hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-share-wide:active,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .zfa-wa:active{background:var(--s53-sec-h)!important;color:var(--s53-sec-tx)!important;border-color:#ffcc00!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-share-wide svg{color:inherit!important;stroke:currentColor}

/* Selector de litros / presets y «Otra cantidad» */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure{background:transparent!important;border:0!important;padding:0!important;margin:0 0 4px!important;color:var(--zfa-text)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-q{display:block;font-size:13px!important;font-weight:700!important;color:var(--zfa-text)!important;margin-bottom:6px}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-presets{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-opt:not(.is-selected){background:var(--s53-sec)!important;background-image:none!important;color:var(--s53-sec-tx)!important;border:1px solid var(--s53-sec-line)!important;box-shadow:none!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-opt:not(.is-selected):hover,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-opt:not(.is-selected):active{background:var(--s53-sec-h)!important;border-color:#ffcc00!important;color:var(--s53-sec-tx)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-opt{min-height:40px!important;border-radius:999px!important;padding:6px 14px!important;font-weight:700!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-other{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin-top:8px!important;font-size:13px;color:var(--zfa-muted)!important}

/* Campos al estilo del tema (cantidad, otra cantidad, variaciones) */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-field,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add .quantity{display:inline-flex!important;align-items:center}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure input,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add input.qty,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add select,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .variations select{background:var(--s53-in-bg)!important;color:var(--s53-in-tx)!important;border:1px solid var(--s53-in-line)!important;border-radius:8px!important;min-height:40px!important;padding:6px 10px!important;font-size:15px!important;box-shadow:none!important;max-width:100%}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure input{width:96px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure input:focus,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add input.qty:focus,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfa-sp-add select:focus{outline:none!important;border-color:#ffcc00!important;box-shadow:0 0 0 3px rgba(255,204,0,.3)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure input:disabled{opacity:.6;cursor:not-allowed}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-unit{margin-left:6px;font-weight:700;color:var(--zfa-muted)}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .variations{width:100%;border:0!important;margin:0 0 8px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .variations th,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .variations td{background:transparent!important;border:0!important;padding:4px 0!important;color:var(--zfa-text)!important;text-align:left}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .reset_variations{color:var(--zfa-link)!important;font-size:13px}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .woocommerce-variation-price .price{color:var(--zfa-text)!important;font-weight:700}

/* Comprados juntos / combos / reseñas / relacionados */
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-section,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-related{background:var(--zfa-card)!important;border:1px solid var(--zfa-line)!important;border-radius:8px!important;padding:18px 20px!important;margin:0 0 16px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-section h2,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-related h2{font-size:20px!important;font-weight:700!important;color:var(--zfa-text)!important;margin:0 0 14px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rev-item{border-bottom:1px solid var(--zfa-line)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rev-item:last-child{border-bottom:0!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rev-name,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rev-text{color:var(--zfa-text)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rev-date{color:var(--zfa-muted)!important}
html.dark-mode body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rev-avatar{background:#3a3216!important;color:#ffcc00!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:14px!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-card{display:flex!important;flex-direction:column;background:var(--zfa-card)!important;border:1px solid var(--zfa-line)!important;border-radius:10px!important;overflow:hidden;text-decoration:none!important;transition:border-color .15s,box-shadow .15s}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-card:hover{border-color:#ffcc00!important;box-shadow:0 4px 14px rgba(17,24,39,.08)!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-card:focus-visible{outline:2px solid #ffcc00!important;outline-offset:2px}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-card img{background:var(--s53-sec)!important;object-fit:contain!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-card-name{color:var(--zfa-text)!important;font-size:14px!important;line-height:1.3;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-card-price{color:var(--zfa-muted)!important;font-size:12px!important}
@media (max-width:768px){
  html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-rel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-section,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-related{padding:12px!important;border-radius:6px!important}
  html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-sp-main-img{aspect-ratio:4/3!important}
}

/* Avisos de WooCommerce en la ficha («añadido al carrito», errores) */
html body.zfl-store-active.single-product .woocommerce-notices-wrapper :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){background:#fffbe6!important;color:#111827!important;border:1px solid #f5c400!important;border-left-width:4px!important;border-radius:8px!important;padding:12px 16px!important;margin:0 auto 12px!important;max-width:1200px;box-shadow:none!important;list-style:none}
html body.zfl-store-active.single-product .woocommerce-notices-wrapper .woocommerce-error{background:#fef2f2!important;border-color:#fca5a5!important;color:#7f1d1d!important}
html.dark-mode body.zfl-store-active.single-product .woocommerce-notices-wrapper :is(.woocommerce-message,.woocommerce-info){background:#252830!important;color:#f3f4f6!important;border-color:#6b5a14!important}
html.dark-mode body.zfl-store-active.single-product .woocommerce-notices-wrapper .woocommerce-error{background:#3b1d1d!important;color:#fca5a5!important;border-color:#5b2626!important}
html body.zfl-store-active.single-product .woocommerce-notices-wrapper :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{color:inherit!important}
html body.zfl-store-active.single-product .woocommerce-notices-wrapper .button{background:#ffcc00!important;color:#111827!important;border:1px solid #f5c400!important;border-radius:999px!important;padding:6px 14px!important;font-weight:700!important;box-shadow:none!important}
html body.zfl-store-active.single-product .woocommerce-notices-wrapper .button:hover,html body.zfl-store-active.single-product .woocommerce-notices-wrapper .button:active{background:#f5c400!important;color:#111827!important}
html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure-field{width:auto!important;flex:0 0 auto!important;gap:0}
/* 1.8.53-ficha: «Otra cantidad» (p. ej. 11405 en L): valor a la izquierda y unidad separada dentro del campo, sin flechas nativas. */
html body.zfl-store-active .zfl-measure-field{position:relative!important;display:inline-flex!important;align-items:center!important}
html body.zfl-store-active .zfl-measure-field input.zfl-input,html body.zfl-store-active div.zfl-sp-wrap.zfl-sp53 .zfl-measure .zfl-measure-field input.zfl-input{width:104px!important;text-align:left!important;padding:6px 34px 6px 12px!important;-moz-appearance:textfield!important;appearance:textfield!important;font-variant-numeric:tabular-nums}
html body.zfl-store-active .zfl-measure-field input.zfl-input::-webkit-inner-spin-button,html body.zfl-store-active .zfl-measure-field input.zfl-input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
html body.zfl-store-active .zfl-measure-field .zfl-measure-unit{position:absolute!important;right:1px!important;top:1px!important;bottom:1px!important;left:auto!important;margin:0!important;width:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-left:1px solid var(--s53-in-line,#d1d5db)!important;font-size:13px!important;font-weight:700!important;color:#6b7280!important;pointer-events:none;border-radius:0 7px 7px 0}
html.dark-mode body.zfl-store-active .zfl-measure-field .zfl-measure-unit{color:#a3a9b3!important;border-left-color:var(--s53-in-line,#3a3f48)!important}
