/* Ficha de producto: visual limpio y minimalista. Solo se carga en fichas de producto. */
:root{--f-azul:#205494;--f-azul-o:#17406f;--f-tinta:#1f2430;--f-gris:#6b7280;--f-borde:#e5e7eb;--f-fondo:#f3f4f6;--f-verde:#1f7a44;--f-rojo:#E40044}

html body.may-ficha-v2,
html body.may-ficha-v2 #page,
html body.may-ficha-v2 .site-content{background:#fff}

/* Sin tarjetas alrededor de cada bloque: todo sobre fondo blanco */
html body.may-ficha-v2 .elementor-location-single > .elementor-section,
html body.may-ficha-v2 .elementor-location-single > .e-con{background:#fff!important;border:0!important;box-shadow:none!important;border-radius:0!important}

/* ---------- Galería: miniaturas a la izquierda, foto grande con fondo suave ---------- */
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .woocommerce-product-gallery{
  display:flex!important;flex-direction:row-reverse;gap:16px;align-items:flex-start;width:100%!important;float:none!important;opacity:1!important}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-viewport{
  flex:1 1 auto;min-width:0;background:var(--f-fondo);border-radius:16px;overflow:hidden}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image img{
  border-radius:0;mix-blend-mode:multiply}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs{
  flex:0 0 76px;width:76px!important;display:flex!important;flex-direction:column;gap:10px;margin:0!important;padding:0!important;list-style:none}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs li{
  width:100%!important;float:none!important;margin:0!important;padding:0!important;border:0!important}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs li img{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1.5px solid transparent;background:var(--f-fondo);opacity:.65;cursor:pointer;transition:.15s}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs li img:hover{opacity:1}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs li img.flex-active{opacity:1;border-color:var(--f-azul)}
html body.may-ficha-v2 .woocommerce-product-gallery__trigger{
  top:14px!important;right:14px!important;width:40px;height:40px;border-radius:50%;background:#fff!important;color:var(--f-tinta)!important;
  box-shadow:0 1px 6px rgba(16,24,40,.12);z-index:5}

/* ---------- Columna derecha ---------- */
html body.may-ficha-v2 .may-cab{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 8px}
html body.may-ficha-v2 .may-cat-prod{font-size:12.5px;font-weight:600;letter-spacing:.9px;text-transform:uppercase;color:var(--f-azul);text-decoration:none}
html body.may-ficha-v2 .may-cab .may-sku{font-size:12.5px;color:#9aa0a6;letter-spacing:0;text-transform:none;margin:0}
html body.may-ficha-v2 .may-titulo-producto{font-size:32px!important;font-weight:700!important;line-height:1.15!important;letter-spacing:-.4px;color:var(--f-tinta);margin:0 0 14px!important}

/* Precio */
html body.may-ficha-v2 .may-precios{border:0!important;background:transparent!important;padding:0!important;margin:0 0 6px!important}
html body.may-ficha-v2 .may-precios .may-lista,
html body.may-ficha-v2 .may-precios .may-lista .amount{font-size:20px!important;font-weight:600;letter-spacing:0;color:var(--f-gris);line-height:1.2}
html body.may-ficha-v2 .may-precios .may-lista::after{content:"precio de lista";font-size:13px;font-weight:400;letter-spacing:0;color:#9aa0a6;margin-left:10px}
html body.may-ficha-v2 .may-transfer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px!important}
html body.may-ficha-v2 .may-transfer strong,
html body.may-ficha-v2 .may-transfer strong .amount{font-size:38px!important;font-weight:700;letter-spacing:-.6px;line-height:1.1;color:var(--f-verde)!important}
html body.may-ficha-v2 .may-transfer span{font-size:14.5px;color:var(--f-gris)!important}
html body.may-ficha-v2 .may-pill{font-style:normal;font-size:12px;font-weight:700;color:#fff;background:var(--f-rojo);border-radius:999px;padding:3px 9px;letter-spacing:.2px}
html body.may-ficha-v2 .may-cuotas{margin-top:8px;font-size:14px;color:var(--f-gris)}
html body.may-ficha-v2 .may-cuotas div{display:flex;align-items:center;gap:8px;padding:2px 0}
html body.may-ficha-v2 .may-cuotas div::before{content:"";width:16px;height:16px;flex:none;background:var(--f-gris);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='12' rx='2'/><path d='M3 10h18'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='12' rx='2'/><path d='M3 10h18'/></svg>") center/contain no-repeat}
html body.may-ficha-v2 .may-cuotas strong,html body.may-ficha-v2 .may-cuotas .amount{color:var(--f-tinta);font-weight:600}
html body.may-ficha-v2 .may-dto-nota{display:none}

/* Resumen y características */
html body.may-ficha-v2 .may-resumen{margin:18px 0 6px}
html body.may-ficha-v2 .may-resumen p{font-size:15.5px;line-height:1.55;color:#374151;margin:0 0 12px}
html body.may-ficha-v2 .may-puntos{list-style:none;margin:0;padding:0}
html body.may-ficha-v2 .may-puntos li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;color:var(--f-tinta);padding:5px 0;line-height:1.4}
html body.may-ficha-v2 .may-puntos .may-ico{width:18px;height:18px;flex:none;margin-top:1px;color:var(--f-verde)}

/* Medida: botones sobrios */
html body.may-ficha-v2 form.cart .variations{margin:14px 0 4px!important}
html body.may-ficha-v2 form.cart .variations th,
html body.may-ficha-v2 form.cart .variations td{padding:0!important;display:block;border:0!important}
html body.may-ficha-v2 form.cart .variations label{font-size:12.5px!important;font-weight:600;text-transform:uppercase;letter-spacing:.8px;color:var(--f-gris)!important;margin:0 0 8px;display:block}
html body.may-ficha-v2 .may-opciones{gap:6px!important}
html body.may-ficha-v2 .may-opciones .may-op{margin:0!important}
html body.may-ficha-v2 .may-op{border:1px solid var(--f-borde);border-radius:7px;padding:7px 11px;font-size:13.5px;font-weight:500;line-height:1.2;color:var(--f-tinta);background:#fff;white-space:nowrap}
html body.may-ficha-v2 .may-op:hover:not(.agotado){background:#fff!important;color:var(--f-tinta)!important;border-color:#8b9099!important}
html body.may-ficha-v2 .may-op.elegida,
html body.may-ficha-v2 .may-op.elegida:hover{background:#e6e6e6!important;border-color:#1f2430!important;color:var(--f-tinta)!important;font-weight:600}
html body.may-ficha-v2 form.cart .variations label .may-sel{text-transform:none;letter-spacing:0;font-size:14px;color:var(--f-tinta)}
html body.may-ficha-v2 form.cart .variations label .may-sel b{font-weight:700}

/* Cantidad y botón */
html body.may-ficha-v2 .woocommerce-variation-add-to-cart,
html body.may-ficha-v2 form.cart:not(.variations_form){display:flex!important;gap:12px;align-items:stretch;margin-top:18px}
html body.may-ficha-v2 .single_variation_wrap .woocommerce-variation-price{display:none}
html body.may-ficha-v2 .quantity{display:inline-flex!important;align-items:center;border:1.5px solid var(--f-borde);border-radius:12px;background:#fff;height:54px;width:auto!important;margin:0!important;overflow:hidden}
html body.may-ficha-v2 .quantity input.qty{width:46px!important;height:100%;border:0!important;background:transparent!important;text-align:center;font-size:16px;font-weight:600;padding:0!important;box-shadow:none!important;-moz-appearance:textfield}
html body.may-ficha-v2 .quantity input.qty::-webkit-outer-spin-button,
html body.may-ficha-v2 .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html body.may-ficha-v2 .may-mas-menos{width:42px;height:100%;border:0;background:transparent;font-size:20px;color:var(--f-tinta);cursor:pointer;line-height:1}
html body.may-ficha-v2 .may-mas-menos:hover{background:var(--f-fondo)}
html body.may-ficha-v2 .single_add_to_cart_button{
  flex:1 1 auto;height:54px!important;border-radius:12px!important;background:var(--f-azul)!important;color:#fff!important;border:0!important;
  font-size:16px!important;font-weight:600!important;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;padding:0 24px!important;transition:.15s}
html body.may-ficha-v2 .single_add_to_cart_button:hover{background:var(--f-azul-o)!important}
html body.may-ficha-v2 .single_add_to_cart_button.disabled,
html body.may-ficha-v2 .single_add_to_cart_button:disabled{opacity:.45;cursor:not-allowed}
html body.may-ficha-v2 .single_add_to_cart_button::before{content:"";width:20px;height:20px;background:#fff;flex:none;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4h2.5l2.2 10.5a1 1 0 001 .8h8.6a1 1 0 001-.8L20 8H6.2'/><circle cx='9.5' cy='19' r='1.3'/><circle cx='17' cy='19' r='1.3'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4h2.5l2.2 10.5a1 1 0 001 .8h8.6a1 1 0 001-.8L20 8H6.2'/><circle cx='9.5' cy='19' r='1.3'/><circle cx='17' cy='19' r='1.3'/></svg>") center/contain no-repeat}

/* Stock, envío, confianza */
html body.may-ficha-v2 .may-stock{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;font-weight:600}
html body.may-ficha-v2 .may-stock[hidden]{display:none}
html body.may-ficha-v2 .may-stock.si{color:var(--f-verde)}
html body.may-ficha-v2 .may-stock.no{color:var(--f-rojo)}
html body.may-ficha-v2 .may-stock .may-ico{width:18px;height:18px}
html body.may-ficha-v2 .may-f-envio{display:flex;gap:12px;align-items:flex-start;margin-top:14px;font-size:14.5px;color:var(--f-tinta)}
html body.may-ficha-v2 .may-f-envio .may-ico{width:24px;height:24px;flex:none;color:var(--f-tinta)}
html body.may-ficha-v2 .may-f-envio strong{display:block;font-weight:600}
html body.may-ficha-v2 .may-f-envio span{display:block;font-size:13px;color:var(--f-gris);margin-top:2px}
html body.may-ficha-v2 .may-confianza{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--f-borde)}
html body.may-ficha-v2 .may-confianza div{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--f-tinta);line-height:1.25}
html body.may-ficha-v2 .may-confianza .may-ico{width:24px;height:24px;flex:none}
html body.may-ficha-v2 .product_meta{display:none!important}

/* ---------- Pestañas horizontales y contenido en tarjeta ---------- */
html body.may-ficha-v2 .woocommerce-tabs{display:block!important;width:100%!important}
html body.may-ficha-v2 .woocommerce-tabs ul.tabs{display:flex!important;flex-direction:row!important;gap:6px;width:auto!important;float:none!important;margin:0 0 -1px!important;padding:0!important;border:0!important;list-style:none}
html body.may-ficha-v2 .woocommerce-tabs ul.tabs::before,
html body.may-ficha-v2 .woocommerce-tabs ul.tabs::after{display:none!important}
html body.may-ficha-v2 .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0!important;padding:0!important;border-radius:0!important}
html body.may-ficha-v2 .woocommerce-tabs ul.tabs li::before,
html body.may-ficha-v2 .woocommerce-tabs ul.tabs li::after{display:none!important}
html body.may-ficha-v2 .woocommerce-tabs ul.tabs li a{display:block;padding:13px 22px!important;font-size:15px;font-weight:500;color:var(--f-gris)!important;border:1px solid transparent;border-bottom:0;border-radius:12px 12px 0 0;text-decoration:none!important}
html body.may-ficha-v2 .woocommerce-tabs ul.tabs li.active a{color:var(--f-tinta)!important;font-weight:600;background:#fff;border-color:var(--f-borde);border-bottom:1px solid #fff;position:relative;z-index:2}
html body.may-ficha-v2 .woocommerce-Tabs-panel{width:100%!important;float:none!important;margin:0!important;padding:30px 34px!important;border:1px solid var(--f-borde);border-radius:0 14px 14px 14px;background:#fff}
html body.may-ficha-v2 .woocommerce-Tabs-panel > h2:first-child{display:none}
html body.may-ficha-v2 .woocommerce-Tabs-panel h2{font-size:22px;font-weight:700;color:var(--f-tinta)}
html body.may-ficha-v2 .woocommerce-Tabs-panel p,
html body.may-ficha-v2 .woocommerce-Tabs-panel li{font-size:15.5px;line-height:1.65;color:#374151}
html body.may-ficha-v2 .woocommerce-Tabs-panel ul{margin:0 0 16px 1.2em}

/* ---------- Relacionados: tarjetas horizontales ---------- */
html body.may-ficha-v2 .related.products > h2,
html body.may-ficha-v2 section.related > h2{font-size:26px!important;font-weight:700!important;letter-spacing:-.3px;text-align:left!important;margin:36px 0 18px!important}
html body.may-ficha-v2 .related ul.products li.product{
  text-align:left!important;padding:14px!important;border:1px solid var(--f-borde)!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important}
html body.may-ficha-v2 .related ul.products li.product:hover{border-color:#cfd5de!important;box-shadow:0 6px 18px rgba(16,24,40,.07)!important;transform:none}
html body.may-ficha-v2 .related ul.products li.product .may-cat-label,
html body.may-ficha-v2 .related ul.products li.product .button,
html body.may-ficha-v2 .related ul.products li.product .may-loop-cuotas{display:none!important}
html body.may-ficha-v2 .related ul.products li.product a.woocommerce-LoopProduct-link{display:grid!important;grid-template-columns:92px 1fr;column-gap:14px;align-items:center}
html body.may-ficha-v2 .related ul.products li.product a.woocommerce-LoopProduct-link img{grid-row:1 / span 3;width:92px!important;height:92px!important;object-fit:cover;margin:0!important;border-radius:12px!important;background:var(--f-fondo)}
html body.may-ficha-v2 .related ul.products li.product .woocommerce-loop-product__title{text-align:left!important;font-size:13.5px!important;font-weight:600!important;line-height:1.3;margin:0 0 6px!important;padding:0!important}
html body.may-ficha-v2 .related ul.products li.product .price,
html body.may-ficha-v2 .related ul.products li.product .may-precio-desde,
html body.may-ficha-v2 .related ul.products li.product .may-loop-transfer{text-align:left!important;font-size:15px}
html body.may-ficha-v2 .related ul.products li.product .may-loop-transfer strong{font-size:16px!important}
html body.may-ficha-v2 .related ul.products{grid-template-columns:repeat(4,1fr)!important;gap:16px!important}

@media (max-width:1100px){html body.may-ficha-v2 .related ul.products{grid-template-columns:repeat(2,1fr)!important}}
@media (max-width:767px){
  html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .woocommerce-product-gallery{flex-direction:column-reverse}
  html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs{flex:none;width:100%!important;flex-direction:row;overflow-x:auto}
  html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .flex-control-thumbs li{flex:0 0 64px;width:64px!important}
  html body.may-ficha-v2 .may-titulo-producto{font-size:26px!important}
  html body.may-ficha-v2 .may-transfer strong,html body.may-ficha-v2 .may-transfer strong .amount{font-size:32px!important}
  html body.may-ficha-v2 .may-confianza{grid-template-columns:1fr;gap:12px}
  html body.may-ficha-v2 .woocommerce-Tabs-panel{padding:20px 18px!important}
  html body.may-ficha-v2 .woocommerce-tabs ul.tabs{overflow-x:auto}
  html body.may-ficha-v2 .woocommerce-tabs ul.tabs li a{padding:12px 14px!important;white-space:nowrap}
  html body.may-ficha-v2 .related ul.products{grid-template-columns:1fr!important}
}

/* ---------- Ajustes ---------- */
html body.may-ficha-v2 .may-precios{opacity:1!important}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__wrapper,
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image{width:100%!important}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image img{width:100%!important;height:auto!important;display:block}
html body.may-ficha-v2 form.cart .variations{margin-bottom:0!important}
html body.may-ficha-v2 form.cart a.reset_variations[style*="hidden"]{display:none!important}
html body.may-ficha-v2 form.cart a.reset_variations{display:inline-block;margin-top:8px;font-size:12.5px;color:var(--f-gris)}
html body.may-ficha-v2 .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart,
html body.may-ficha-v2 .elementor-widget-woocommerce-product-add-to-cart .elementor-widget-container{margin-top:0!important}
html body.may-ficha-v2 .single_variation_wrap{margin:0!important}
html body.may-ficha-v2 .woocommerce-variation.single_variation{margin:0!important;min-height:0!important}
html body.may-ficha-v2 .may-f-envio{border:0!important;padding:0!important;background:transparent!important}

@media (max-width:767px){
  html body.may-ficha-v2 .site-content > .col-full{margin-left:0!important;margin-right:0!important;padding-left:16px!important;padding-right:16px!important}
  html body.may-ficha-v2 .elementor-location-single .elementor-container{padding-left:0!important;padding-right:0!important}
  html body.may-ficha-v2 .elementor-location-single .elementor-widget-wrap.elementor-element-populated{padding-left:0!important;padding-right:0!important}
  html body.may-ficha-v2 .woocommerce-tabs ul.tabs li a{font-size:14px}
}

/* Video del producto */
.may-video{margin:34px auto 10px;clear:both;text-align:center}
.may-video h2{font-size:20px;margin:0 0 14px;color:#1f2430}
.may-video-marco{position:relative;width:100%;height:0;border-radius:12px;overflow:hidden;background:#000;box-shadow:0 6px 22px rgba(0,0,0,.12)}
.may-video-marco iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
