img.logo.img-responsive {
    filter: drop-shadow(rgba(255, 255, 255, 0.8) 0px 0px 1px);
}

/* Mega menu: items compactos para que quepan en fila */
.ets_mm_megamenu .mm_menus_li > a {
    padding: 20px 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

/* Nav: las 5 categorias parejas (mismo ancho, centradas, en UNA sola fila) */
@media (min-width: 768px) {
    .ets_mm_megamenu .mm_menus_ul {
        display: flex !important;
        justify-content: space-between;
        flex-wrap: nowrap !important;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .ets_mm_megamenu .mm_menus_ul > .close_menu {
        display: none !important;
    }
    .ets_mm_megamenu .mm_menus_ul > .mm_menus_li {
        flex: 1 1 0 !important;
        min-width: 0;
        text-align: center;
        float: none !important;
    }
    .ets_mm_megamenu .mm_menus_ul > .mm_menus_li > a {
        float: none !important;
        display: block !important;
        text-align: center;
    }
}

/* =========================================================
   ETS MultiLayer Slider: texto con fuente Blackletter del
   nombre "Bloodthirsty Labz" y demas titulos.
   Glow rojo que recorta contra los fondos oscuros.
   ========================================================= */
.mls_layer_type_front_text.msl_layer_front span,
.msl_layer_front.mls-title span {
    text-shadow:
        3px 3px 14px rgba(0, 0, 0, 0.95),
        0 0 34px rgba(255, 26, 26, 0.85),
        0 0 6px rgba(255, 255, 255, 0.35);
    letter-spacing: 3px;
}
.msl_layer_front.mls-subtitle span {
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(255, 42, 42, 0.7);
    letter-spacing: 4px;
}
/* Pirata One (Blackletter) para titulos: efecto de relieve grotesco */
.msl_layer_front.mls-title span {
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.6);
    paint-order: stroke fill;
}

/* Catchphrase llamativa: tinta roja con contorno negro + glow */
.msl_layer_front.mls-catch span {
    text-shadow:
        3px 3px 0px #000,
        -1px -1px 0px #000,
        1px -1px 0px #000,
        -1px 1px 0px #000,
        0 0 26px rgba(255, 42, 42, 0.95);
    letter-spacing: 4px;
    font-weight: 900;
}

/* CTA: boton rojo con halo luminoso */
.msl_layer_front.mls-cta span {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    box-shadow: 0 0 18px rgba(236, 26, 26, 0.85);
    transition: background-color .2s ease, transform .2s ease;
}
.msl_layer_front.mls-cta span:hover {
    background-color: #c10808 !important;
    transform: scale(1.06);
}

/* Badges de confianza: pastillas oscuras con borde rojo grueso */
.msl_layer_front.mls-badge span {
    background-color: rgba(12, 12, 12, 0.62);
    border: 1.5px solid rgba(236, 26, 26, 0.9);
    border-radius: 22px;
    padding: 7px 16px !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    letter-spacing: 2px !important;
    white-space: nowrap;
}

/* Glow de luz detras de la Whey: destello radial rojo difuminado */
.msl_layer_front.mls-glow {
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(255,42,42,0.55) 0%, rgba(255,42,42,0.18) 45%, rgba(255,42,42,0) 72%);
    border-radius: 50%;
    pointer-events: none;
}
/* =========================================================
   SISTEMA DE DISEÑO · BloodthirstyLabs
   ---------------------------------------------------------
   ROJO  → acento, CTA, precios, badges, hover, indicadores
   NEGRO → estructura, títulos, texto principal, footer
   BLANCO→ fondos, tarjetas, espacio en blanco, contraste
   ========================================================= */
:root {
    /* color */
    --c-red: #e10600;           /* acento principal: legible como texto Y como fondo */
    --c-red-bright: #ff1a1a;    /* glow / brillos sobre fondos oscuros */
    --c-red-hover: #b30500;
    --c-red-tint: rgba(225, 6, 0, .10);
    --c-black: #0d0d0d;
    --c-ink: #15171c;           /* texto principal */
    --c-ink-2: #4a4f57;         /* texto secundario */
    --c-muted: #616874;         /* texto terciario / precio tachado (5.6:1 blanco, 5.2:1 sobre #f6f6f6) */
    --c-line: #e7e8ec;
    --c-surface: #f6f7f9;
    --c-white: #ffffff;

    /* radios */
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 20px;

    /* sombras */
    --sh-1: 0 1px 2px rgba(13, 13, 14, .05), 0 6px 16px rgba(13, 13, 14, .06);
    --sh-2: 0 10px 22px rgba(13, 13, 14, .10), 0 26px 50px rgba(13, 13, 14, .10);
    --sh-3: 0 18px 36px rgba(13, 13, 14, .16), 0 40px 76px rgba(13, 13, 14, .18);
    --sh-red: 0 12px 26px rgba(225, 6, 0, .28), 0 30px 60px rgba(13, 13, 14, .18);

    /* transiciones */
    --t-fast: .2s cubic-bezier(.4, 0, .2, 1);
    --t: .3s cubic-bezier(.4, 0, .2, 1);
    --t-slow: .6s cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   TÍTULOS DE SECCIÓN — negro + acento rojo, siempre legibles
   ========================================================= */
.products-section-title {
    display: block;
    position: relative;
    text-align: center;
    margin: 0 0 34px;
    color: var(--c-ink);
    letter-spacing: .14em;
}
.products-section-title:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--c-line);
}
.products-section-title span {
    position: relative;
    z-index: 1;
    background: var(--c-white);
    padding: 0 20px;
    color: var(--c-ink);
    font-weight: 700;
}
.products-section-title a {
    color: inherit;
    transition: color var(--t-fast);
}
.products-section-title a:hover {
    color: var(--c-red);
}
.products-section-title:after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: var(--c-red);
}

/* =========================================================
   TARJETAS DE PRODUCTO
   ========================================================= */
.featured-products .product-miniature,
#products .product-miniature,
.product-accessories .product-miniature {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    margin-bottom: 30px;
}

.featured-products .thumbnail-container,
#products .thumbnail-container,
.product-accessories .thumbnail-container {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    margin-bottom: 0;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

/* elevación al pasar el ratón */
.featured-products .product-miniature:hover .thumbnail-container,
#products .product-miniature:hover .thumbnail-container,
.product-accessories .product-miniature:hover .thumbnail-container {
    transform: translateY(-8px);
    box-shadow: var(--sh-2);
    border-color: rgba(225, 6, 0, .38);
}

/* acento rojo superior que se despliega */
.featured-products .thumbnail-container:before,
#products .thumbnail-container:before,
.product-accessories .thumbnail-container:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    z-index: 6;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--t);
}
.featured-products .product-miniature:hover .thumbnail-container:before,
#products .product-miniature:hover .thumbnail-container:before,
.product-accessories .product-miniature:hover .thumbnail-container:before {
    transform: scaleX(1);
}

/* brillo (shine) que recorre la tarjeta */
.featured-products .thumbnail-container:after,
#products .thumbnail-container:after,
.product-accessories .thumbnail-container:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(105deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, .60) 45%,
        rgba(225, 6, 0, .10) 52%,
        rgba(255, 255, 255, 0) 68%);
    transform: translateX(-135%);
    transition: transform .75s ease;
}
.featured-products .product-miniature:hover .thumbnail-container:after,
#products .product-miniature:hover .thumbnail-container:after,
.product-accessories .product-miniature:hover .thumbnail-container:after {
    transform: translateX(135%);
}

/* --- imagen: caja de altura fija (proporción consistente) --- */
.featured-products .image_item_product,
#products .image_item_product,
.product-accessories .image_item_product {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 200px;
    height: 200px;
    padding: 16px 14px;
    background: radial-gradient(120% 95% at 50% 12%, #ffffff 0%, var(--c-surface) 84%);
    border: 0;
    border-bottom: 1px solid var(--c-line);
    overflow: hidden;
}
.featured-products .image_item_product .product-thumbnail,
#products .image_item_product .product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.featured-products .image_item_product .product-thumbnail img,
#products .image_item_product .product-thumbnail img,
.product-accessories .image_item_product .product-thumbnail img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), filter .45s ease;
}

/* zoom + elevación del producto al hacer hover */
.featured-products .product-miniature:hover .image_item_product .product-thumbnail img,
#products .product-miniature:hover .image_item_product .product-thumbnail img,
.product-accessories .product-miniature:hover .image_item_product .product-thumbnail img {
    transform: translateY(-7px) scale(1.06);
    filter: drop-shadow(0 16px 18px rgba(13, 13, 14, .22));
}

/* --- descripción / nombre --- */
.featured-products .product-description,
#products .product-description,
.product-accessories .product-description {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}
/* El bloque de reseñas del módulo queda vacío si no hay valoraciones:
   no debe ocupar hueco (si se rellena por AJAX, vuelve a mostrarse). */
.featured-products .grade-stars:empty,
#products .grade-stars:empty,
.featured-products .comments-nb:empty,
#products .comments-nb:empty {
    display: none;
}
.featured-products .product-description .hook-reviews,
#products .product-description .hook-reviews {
    margin-bottom: 0;
}
.featured-products .product-title,
#products .product-title,
.product-accessories .product-title {
    margin: 14px 12px 6px;
    min-height: 42px;
    text-align: center;
    line-height: 1.4;
}
.featured-products .product-title a,
#products .product-title a,
.product-accessories .product-title a {
    color: var(--c-ink);
    font-size: 15px;
    font-weight: 700;
    transition: color var(--t-fast);
}
.featured-products .product-title a:hover,
#products .product-title a:hover,
.product-accessories .product-title a:hover {
    color: var(--c-red);
}

/* --- precio: rojo protagonista, tachado neutro --- */
.featured-products .product-price-and-shipping,
#products .product-price-and-shipping,
.product-accessories .product-price-and-shipping,
.product-miniature .product-price-and-shipping {
    margin: auto 0 0;
    padding: 4px 12px 16px;
    text-align: center;
    color: var(--c-red);
}
.featured-products .product-price-and-shipping .price,
#products .product-price-and-shipping .price,
.product-accessories .product-price-and-shipping .price,
.product-miniature .product-price-and-shipping .price {
    color: var(--c-red);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .01em;
}
.featured-products .product-price-and-shipping .regular-price,
#products .product-price-and-shipping .regular-price,
.product-accessories .product-price-and-shipping .regular-price,
.product-miniature .product-price-and-shipping .regular-price {
    color: var(--c-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: line-through;
    margin-left: 6px;
}

/* --- badges (globales: home, categorías, buscador, accesorias y
       "otros productos de la categoría" de la ficha) --- */
.product-flags,
.featured-products .product-flags,
#products .product-flags {
    top: 12px;
    left: 12px;
    padding: 0;
    z-index: 7;
}
.product-flags li,
.featured-products .product-flags li,
#products .product-flags li {
    min-width: 0;
    margin-bottom: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    box-shadow: 0 4px 10px rgba(13, 13, 14, .18);
}
/* Las insignias viven dentro de la tarjeta (overflow:hidden): el tema las
   deja a width:100% y con float, asi que "-15%" se salia 12px y se cortaba.
   Aqui quedan ancladas a ambos lados y en flex, sin floats. */
.products:not(.list) .product-flags,
.featured-products .product-flags,
.product-miniature .product-flags {
    left: 12px;
    right: 12px;
    width: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
}
.products:not(.list) .product-flags li,
.featured-products .product-flags li,
.product-miniature .product-flags li {
    float: none;
    clear: none;
    margin-bottom: 0;
}
.products:not(.list) .product-flags li.product-discount,
.featured-products .product-flags li.product-discount,
.product-miniature .product-flags li.product-discount {
    margin-left: auto;
}
/* sin la "cola" del banderín del tema */
body .product-flags li:before,
#main .product-flags li:before,
.product-flags li.new:before,
.product-flags li.pack:before,
.product-flags li.out_of_stock:before,
.product-flags li.product-discount:before,
.product-flags li.discount:before {
    display: none;
}
/* el mega-menú esconde sus banderas (megamenu.css) pero nuestras reglas de
   arriba, al mismo nivel de especificidad y más abajo, las volvían flex */
.ets_mm_megamenu .product-flags {
    display: none;
}
/* la plantilla del mega-menú emite class="discount" (sin prefijo product-flag),
   que el tema no estilaba: texto blanco sobre fondo transparente */
body .product-flags li.discount,
#main .product-flags li.discount {
    background: var(--c-red);
    color: #fff;
}
.product-flags li.new,
.featured-products .product-flags li.new,
#products .product-flags li.new {
    background: var(--c-black);
    color: #fff;
}
body .product-flags li.pack,
#main .product-flags li.pack,
#main .featured-products .product-flags li.pack {
    background: var(--c-red);
    color: #fff;
}
body .product-flags li.out_of_stock,
#main .product-flags li.out_of_stock {
    background: var(--c-black);
    color: #fff;
}
body .product-flags li.product-discount,
#main .product-flags li.product-discount {
    background: var(--c-red);
    color: #fff;
}
body .product-flags li.product-discount .discount-percen,
body .product-flags li.product-discount .discount-percentage,
#main .product-flags li.product-discount .discount-percen,
#main .product-flags li.product-discount .discount-percentage {
    background: transparent;
    color: #fff;
    padding: 0;
}

/* =========================================================
   ACCIONES DE LA TARJETA (añadir al carrito / vista rápida)
   ========================================================= */
.featured-products .highlighted-informations,
#products .highlighted-informations,
.product-accessories .highlighted-informations {
    position: absolute;
    right: 12px;
    left: auto;
    top: auto;
    bottom: 12px;
    transform: none;
    width: auto;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t), transform var(--t);
}
.featured-products .product-miniature:hover .highlighted-informations,
#products .product-miniature:hover .highlighted-informations,
.product-accessories .product-miniature:hover .highlighted-informations {
    opacity: 1;
    visibility: visible;
}

.featured-products .highlighted-informations .add_to_cart_button,
#products .highlighted-informations .add_to_cart_button {
    float: none;
    max-width: none;
    margin: 0;
}
.featured-products .add_to_cart_button .btn.btn-primary,
#products .add_to_cart_button .btn.btn-primary {
    position: relative;
    float: none;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--c-red);
    color: #fff;
    box-shadow: 0 8px 18px rgba(225, 6, 0, .38);
    transition: background-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.featured-products .add_to_cart_button .btn.btn-primary:hover,
#products .add_to_cart_button .btn.btn-primary:hover {
    background-color: var(--c-red-hover) !important;
    border-color: var(--c-red-hover) !important;
    color: #fff !important;
    transform: scale(1.09);
    box-shadow: 0 12px 24px rgba(225, 6, 0, .46);
}
.featured-products .add_to_cart_button .btn-primary i,
#products .add_to_cart_button .btn-primary i {
    transform: none;
    font-size: 18px;
    max-width: none;
}

.featured-products .quick-view,
#products .quick-view,
.product-accessories .quick-view {
    float: none;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--c-red);
    border-radius: 50%;
    background-color: var(--c-white);
    color: var(--c-red);
    font-size: 0;
    line-height: 1;
    transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.featured-products .quick-view:hover,
#products .quick-view:hover,
.product-accessories .quick-view:hover {
    background-color: var(--c-red) !important;
    border-color: var(--c-red) !important;
    color: #fff !important;
    transform: scale(1.09);
}
.featured-products .quick-view i,
#products .quick-view i,
.product-accessories .quick-view i {
    position: static;
    left: auto;
    top: auto;
    font-size: 18px;
    transform: none;
    color: inherit;
}

/* Sin hover (táctil): las acciones tienen que estar visibles siempre */
@media (hover: none), (pointer: coarse) {
    .featured-products .highlighted-informations,
    #products .highlighted-informations,
    .product-accessories .highlighted-informations {
        opacity: 1;
        visibility: visible;
        right: 10px;
        left: 10px;
        bottom: 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .featured-products .image_item_product,
    #products .image_item_product {
        flex: 0 0 170px;
        height: 170px;
        padding-bottom: 56px;
    }
    .featured-products .add_to_cart_button .btn.btn-primary,
    #products .add_to_cart_button .btn.btn-primary {
        width: 44px;
        height: 44px;
    }
    .featured-products .quick-view,
    #products .quick-view {
        width: 44px;
        height: 44px;
    }
}

/* =========================================================
   CARRUSEL 3D COVERFLOW
   ========================================================= */
.coverflow-3d {
    position: relative;
    width: 100%;
    height: 400px;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    perspective: 1400px;
    perspective-origin: 50% 50%;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
.coverflow-3d .swiper-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.coverflow-3d .swiper-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(200px, 30%, 300px);
    margin: 0;
    padding: 0;
    display: block;
    background: transparent;
    border: 0;
    border-radius: var(--r-lg);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: none;
}
.coverflow-3d.is-ready .swiper-slide {
    transition: transform var(--t-slow), opacity .4s ease;
}
.coverflow-3d .swiper-slide.is-visible {
    pointer-events: auto;
}

/* la tarjeta visible es .thumbnail-container dentro de la diapositiva */
.coverflow-3d .product-miniature {
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
}
.coverflow-3d .thumbnail-container {
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.coverflow-3d .swiper-slide.is-near .thumbnail-container {
    box-shadow: var(--sh-2);
}
.coverflow-3d .swiper-slide.is-far .thumbnail-container {
    box-shadow: var(--sh-1);
}
.coverflow-3d .swiper-slide.is-center .thumbnail-container {
    box-shadow: var(--sh-3);
    border-color: rgba(225, 6, 0, .35);
}
.coverflow-3d .product-miniature:hover .thumbnail-container {
    transform: translateY(-8px);
    box-shadow: var(--sh-3);
    border-color: rgba(225, 6, 0, .6);
}
.coverflow-3d .image_item_product {
    flex: 0 0 165px;
    height: 165px;
}
.coverflow-3d .product-title {
    margin: 12px 10px 4px;
    min-height: 40px;
}
.coverflow-3d .product-price-and-shipping {
    padding-bottom: 14px;
}
.coverflow-3d .highlighted-informations {
    opacity: 0;
    visibility: hidden;
}
.coverflow-3d .product-miniature:hover .highlighted-informations {
    opacity: 1;
    visibility: visible;
}
@media (hover: none), (pointer: coarse) {
    .coverflow-3d .highlighted-informations {
        opacity: 1;
        visibility: visible;
    }
    .coverflow-3d .image_item_product {
        flex: 0 0 150px;
        height: 150px;
        padding-bottom: 52px;
    }
}

/* --- controles --- */
.coverflow-3d .swiper-pagination {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 30;
    pointer-events: none;
}
.coverflow-3d .swiper-pagination-bullet {
    pointer-events: auto;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cdd0d5;
    cursor: pointer;
    transition: background-color var(--t-fast), width var(--t-fast);
}
.coverflow-3d .swiper-pagination-bullet:hover {
    background: #9aa0a6;
}
.coverflow-3d .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: var(--c-red);
}

.coverflow-3d .swiper-button-prev,
.coverflow-3d .swiper-button-next {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--sh-1);
    cursor: pointer;
    z-index: 30;
    transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.coverflow-3d .swiper-button-prev { left: 4px; }
.coverflow-3d .swiper-button-next { right: 4px; }
.coverflow-3d .swiper-button-prev:hover,
.coverflow-3d .swiper-button-next:hover {
    background-color: var(--c-red);
    border-color: var(--c-red);
    transform: scale(1.08);
}
.coverflow-3d .swiper-button-prev:focus-visible,
.coverflow-3d .swiper-button-next:focus-visible {
    outline: 2px solid var(--c-red);
    outline-offset: 2px;
}
.coverflow-3d .swiper-button-prev:after,
.coverflow-3d .swiper-button-next:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2.5px solid var(--c-ink);
    border-right: 2.5px solid var(--c-ink);
    transition: border-color var(--t-fast);
}
.coverflow-3d .swiper-button-next:after {
    transform: translate(-60%, -50%) rotate(45deg);
}
.coverflow-3d .swiper-button-prev:after {
    transform: translate(-40%, -50%) rotate(-135deg);
}
.coverflow-3d .swiper-button-prev:hover:after,
.coverflow-3d .swiper-button-next:hover:after {
    border-color: #fff;
}

/* =========================================================
   REVEAL al entrar en vista
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}
.reveal.anim-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

/* =========================================================
   ACENTOS DE PÁGINA
   ========================================================= */
.featured-products {
    margin-bottom: 64px;
}
.all-product-link,
.all-product-link:hover {
    color: var(--c-red) !important;
}
#footer, footer {
    border-top: 2px solid var(--c-red);
}
.product-miniature .product-price-and-shipping .price {
    color: var(--c-red);
}
/* Badge "Nuevo" en negro en TODA la tienda (el rojo del tema #ec4249 con
   blanco da 3.86:1 y no llega al mínimo de 4.5:1) */
.product-flags li.new {
    background: var(--c-black);
    color: #fff;
}
/* CTA de compra de la ficha de producto: es el botón de compra, va en rojo */
.product-actions .add-to-cart,
.product-add-to-cart .add-to-cart {
    background-color: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
}
.product-actions .add-to-cart:hover,
.product-add-to-cart .add-to-cart:hover,
.product-actions .add-to-cart:focus,
.product-add-to-cart .add-to-cart:focus,
.product-actions .add-to-cart:active,
.product-add-to-cart .add-to-cart:active {
    background-color: var(--c-red-hover);
    border-color: var(--c-red-hover);
    color: #fff;
}
/* Contraste: el gris #878787 del tema da 3.59:1 y el rojo #ec4249 de la
   pestaña activa 3.86:1; ambos por debajo del mínimo de 4.5:1 */
.product-prices .tax-shipping-delivery-label {
    color: var(--c-muted);
}
/* Precio tachado de la ficha: theme.css:11292 pone #ccc = 1.61:1 sobre blanco */
.product-prices .regular-price {
    color: var(--c-muted);
}
/* Fila de compra: a 768-800px el contenedor mide 345px y el botón de lista de
   deseos (60px) desbordaba 43px -> scroll horizontal de la página */
.product-quantity {
    flex-wrap: wrap;
    min-width: 0;
}
.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link.active:focus,
.tabs .nav-tabs .nav-link.active:hover {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
}
/* Barra de ordenación de los listados: el gris del tema da 2.85:1 y 3.59:1.
   Nota: "a:not([href]):not([tabindex])" de Bootstrap fuerza color:inherit,
   así que hace falta especificidad (0,3,0) para ganarle. */
.products-selection .sort-by {
    color: var(--c-muted);
}
.products-sort-order {
    color: var(--c-muted);
}
.products-sort-order.dropdown .select-title {
    color: var(--c-ink);
}
.products-sort-order.dropdown .select-title .material-icons {
    color: var(--c-muted);
}
/* Miga de pan: el gris #878787 del tema da 3.32:1 sobre su fondo #f6f6f6 */
nav.breadcrumb a,
nav.breadcrumb a span,
nav.breadcrumb li,
nav.breadcrumb li span,
nav.breadcrumb .breadcrumb-item a,
nav.breadcrumb .breadcrumb-item span {
    color: var(--c-muted);
}
/* Totales del carrito (mini-carrito y resumen): #ec4249 da 3.86:1 */
.cart-total .value,
.cart-summary-line .value,
.blockcart .cart-total .value {
    color: var(--c-red);
}
/* --- Checkout / formularios --- */
/* Estado activo de los pasos y enlaces: #ec4249 da 3.86:1.
   El tema usa .nav-item .nav-link.active (0,3,0), así que hay que igualarlo. */
body .nav-item .nav-link.active,
body .nav-link.active {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
}
/* Precios de líneas de carrito / checkout: #ec4249 da 3.86:1 */
body .product-price,
body .cart-total .product-price {
    color: var(--c-red);
}
/* Pistas de formulario: #ccc da 1.61:1 */
body .form-control-comment {
    color: var(--c-muted);
}
/* #999 da 2.85:1 (el tema lo marca con !important) */
body .text-muted {
    color: var(--c-muted) !important;
}
/* Botones "Mostrar"/ocultar de los input-group: #878787 con blanco = 3.59:1.
   En checkout manda body#checkout [data-action=...] (tiene id). */
.input-group-btn .btn,
body#checkout [data-action="show-password"] {
    background-color: var(--c-ink);
    border-color: var(--c-ink);
    color: #fff;
}
.input-group-btn .btn:hover,
.input-group-btn .btn:focus,
body#checkout [data-action="show-password"]:hover,
body#checkout [data-action="show-password"]:focus {
    background-color: var(--c-black);
    border-color: var(--c-black);
    color: #fff;
}
/* CTA primario (Continuar, Añadir al carrito, Buscar...): rojo de marca */
.btn-primary {
    background-color: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--c-red-hover);
    border-color: var(--c-red-hover);
    color: #fff;
}
/* Deshabilitado: el tema lo deja en #acaaba con texto blanco (2.32:1).
   Gris medio -> sigue leyéndose como inactivo pero la etiqueta es legible. */
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary.disabled:hover,
.btn-primary:disabled:hover,
.btn-primary.disabled:focus,
.btn-primary:disabled:focus {
    background-color: #5f6269 !important;
    border-color: #5f6269 !important;
    color: #fff !important;
    opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .coverflow-3d { height: 380px; }
}
/* En pantallas medianas (768-991px) el contenedor es de 720px y las 5
   etiquetas se quedan sin aire: el hueco entre rótulos es
   99 - (ancho1 + ancho2)/2, y con 12px PRE-ENTRENOS/AMINOÁCIDOS/EQUIPAMIENTO
   sobresalen de su caja y casi se tocan. Se baja la tipografía solo en ese
   rango. Los cuadros siguen midiendo todos lo mismo (ancho igual, una línea). */
@media (min-width: 768px) and (max-width: 991px) {
    .ets_mm_megamenu ul.mm_menus_ul > li.mm_menus_li > a {
        font-size: 11px !important;
        padding: 20px 4px !important;
    }
}
@media (max-width: 767px) {
    .coverflow-3d { height: 350px; }
    /* El tema fuerza las acciones visibles a <=767px, pero en el carrusel
       solo la tarjeta central debe mostrarlas: si no se ven 4 círculos
       rojos solapados entre las tarjetas superpuestas. */
    .coverflow-3d .swiper-slide:not(.is-center) .highlighted-informations {
        opacity: 0;
        visibility: hidden;
        transition: none;
    }
    .coverflow-3d .image_item_product { flex: 0 0 145px; height: 145px; }
    .coverflow-3d .swiper-button-prev,
    .coverflow-3d .swiper-button-next {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    .products-section-title { letter-spacing: .1em; }
    .products-section-title span { padding: 0 12px; }
}
@media (max-width: 575px) {
    .featured-products .image_item_product,
    #products .image_item_product {
        flex: 0 0 175px;
        height: 175px;
    }
    .coverflow-3d { height: 330px; }
    .coverflow-3d .image_item_product { flex: 0 0 130px; height: 130px; }
    .featured-products .product-title a,
    #products .product-title a { font-size: 14px; }
}

/* =========================================================
   PIE DE PÁGINA — respiración entre columnas
   ---------------------------------------------------------
   .footer_top es flex con justify-content:space-between. El bloque de
   enlaces del tema envuelve la lista en un .row de Bootstrap, que lleva
   margen negativo de -15px: la lista desborda 15px a cada lado de su
   columna y, cuando el contenedor es de 720px (768-991px) y las 4
   columnas caben justas (288+160+108+163 = 719), no queda aire y el
   texto se pisa: "Nuevos productos" se monta sobre "Información
   personal" y se cuela sobre la Newsletter.
   Se elimina el margen negativo (la columna pasa a medir lo que ocupa
   su contenido) y se estrecha la columna de contacto para que el
   espacio sobrante se reparta como aire real entre las columnas.
   ========================================================= */
@media (min-width: 768px) {
    .footer_top .links .row {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .footer_top > .block-contact {
        max-width: 230px;
    }
}
