/* Sertina 22/10/2026 - arreglos de la auditoria. Todo cuelga de html.sb-aud (modo prueba). */

/* Franja de temporada de la portada: oculta salvo en modo prueba */
.sh-temporada { display: none; }
html.sb-aud .sh-temporada {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 18px; padding: 14px 18px; border-radius: 14px;
  background: #8C1D3A; color: #fff; text-decoration: none; min-height: 64px;
}
html.sb-aud .sh-temporada:hover { color: #fff; text-decoration: none; filter: brightness(1.06); }
html.sb-aud .sh-temp-txt { display: flex; flex-direction: column; line-height: 1.25; }
html.sb-aud .sh-temp-eti { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
html.sb-aud .sh-temp-tit { font-size: 19px; font-weight: 700; }
html.sb-aud .sh-temp-btn {
  flex: 0 0 auto; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap;
  text-decoration: underline; text-underline-offset: 4px;
}
@media (max-width: 575px) {
  html.sb-aud .sh-temporada { padding: 12px 14px; }
  html.sb-aud .sh-temp-tit { font-size: 16px; }
  html.sb-aud .sh-temp-btn { font-size: 14px; }
}

/* Gastos de envio en el carrito y en el resumen del pedido */
html.sb-aud .sb-aud-envio {
  margin: 10px 16px 14px; padding: 12px 14px; border-radius: 10px;
  background: #FDF4F6; color: #2B1B1F; font-size: 14px; line-height: 1.45;
}
html.sb-aud .sb-aud-envio p { margin: 0 0 4px; }
html.sb-aud .sb-aud-envio-tit { font-weight: 700; color: #8C1D3A; }
html.sb-aud .sb-aud-envio-falta { margin-top: 6px !important; color: #177E5F; }
html.sb-aud .sb-aud-envio-ok { margin-top: 6px !important; color: #177E5F; font-weight: 700; }
html.sb-aud .sb-aud-envio-nota { font-size: 12px; color: #8A7A7E; margin-top: 6px !important; }

/* Ficha en el movil: el chat no se monta encima del precio ni del boton de anadir */
@media (max-width: 767px) {
  html.sb-aud body#product #megachatbot-fab { display: none !important; }
  /* la cabecera se esconde al bajar (solo la ficha) y vuelve al subir */
  html.sb-aud body#product #header { transition: transform .25s ease; will-change: transform; }
  html.sb-aud.sb-aud-cab-oculta body#product #header { transform: translateY(-100%); }
}

/* ===== Tanda 1 · 22/10/2026 · puntos 19 y 22 (modo prueba) ===== */

/* 19 · Carrito: un solo carrusel (se queda #sb-completa) y una sola caja del minimo (la barra de arriba) */
html.sb-aud body#cart #sb-carro-extra { display: none !important; }
html.sb-aud body#cart .cart-summary .sertina-minimo { display: none !important; }
/* sin la caja amarilla, la gallina del boton se montaba sobre "¿Tiene un codigo promocional?" */
html.sb-aud body#cart .cart-summary .js-cart-detailed-actions { padding-top: 34px !important; }
@media (min-width: 768px) { html.sb-aud body#cart .cart-summary .js-cart-detailed-actions { padding-top: 52px !important; } }
html.sb-aud body#cart .sb-aud-min-nota { margin: 8px 0 0; font-size: 13px; line-height: 1.35; color: #6B5A5E; text-align: center; }

/* 19 · Carrito: + y − de 44 px (zona tactil minima) y papelera de 44 px */
html.sb-aud body#cart .cart-items .bootstrap-touchspin .btn-touchspin {
  width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important;
  display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important;
}
html.sb-aud body#cart .cart-items .bootstrap-touchspin { height: 44px !important; min-height: 44px; align-items: center; }
html.sb-aud body#cart .cart-items .product-line-actions .qty { height: auto !important; }
html.sb-aud body#cart .cart-items .product-line-grid-right { padding-bottom: 6px; }
html.sb-aud body#cart .cart-items .bootstrap-touchspin .btn-touchspin .material-icons { font-size: 22px !important; line-height: 1 !important; }
html.sb-aud body#cart .cart-items .js-cart-line-product-quantity { height: 44px !important; min-width: 44px; font-size: 16px !important; }
html.sb-aud body#cart .cart-items .remove-from-cart {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px;
}
html.sb-aud body#cart .cart-items .remove-from-cart .material-icons { float: none !important; margin: 0 !important; }

/* con botones de 44 px la cantidad no cabia en su columna y tapaba el precio: cantidad y precio en fila flexible */
html.sb-aud body#cart .cart-items .product-line-actions .col-md-10 > .row { display: flex; align-items: center; flex-wrap: nowrap; margin: 0; }
html.sb-aud body#cart .cart-items .product-line-actions .col-md-10 > .row > .qty { flex: 0 0 auto; width: auto !important; max-width: none !important; padding-right: 12px; }
html.sb-aud body#cart .cart-items .product-line-actions .col-md-10 > .row > .price { flex: 1 1 auto; width: auto !important; max-width: none !important; white-space: nowrap; display: flex; align-items: center; min-height: 44px; padding-top: 0 !important; }

html.sb-aud body#cart .cart-items .product-line-actions .price .product-price { top: 0 !important; margin: auto 0 !important; transform: none !important; }

/* 22 · Linea de privacidad bajo "¿Te avisamos cuando vuelva?" */
html.sb-aud .sb-avisame .sb-aud-priv { margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: #6B5A5E; }
html.sb-aud .sb-avisame .sb-aud-priv a { color: inherit; text-decoration: underline; }
.sb-aud-priv { display: none; }
html.sb-aud .sb-aud-priv { display: block; }

/* 22 · Chat: aviso de asistente virtual y contacto con una persona */
html.sb-aud #megachatbot-widget .sb-aud-chat-persona { font-size: 12px; line-height: 1.35; }
html.sb-aud #megachatbot-widget .sb-aud-chat-persona a { color: inherit; text-decoration: underline; }
