/*
Theme Name: Zinda
Theme URI: https://www.zinda.es/
Template: hello-elementor
Author: Pera Limonera Estudio
Author URI: https://pera-limonera.com/
Description: Tema hijo personalizado para Zinda, desarrollado por Pera Limonera Estudio sobre Hello Elementor y adaptado a las necesidades de diseño, funcionalidad y comercio electrónico de la marca.
Tags: zinda,elementor,woocommerce,custom-theme,responsive,ecommerce
Version: 1.0.0
Updated: 2026-08-12

*/

/*
 * ZINDA - CSS PERSONALIZADO
 * WooCommerce + Elementor Pro
 *
 * ÍNDICE
 * 01. Base global
 * 02. Cabecera y navegación
 * 03. Ficha de producto
 * 04. Loop item de producto
 * 05. PLP y archivos de producto
 * 06. Filtros YITH
 * 07. Capas y paneles globales
 *
 * Limpieza aplicada:
 * - Eliminado el CSS obsoleto de Filter Everything.
 * - Eliminados los dos bloques antiguos y globales de categorías.
 * - Navegación de categorías aislada bajo .zinda-category-nav.
 */

/* ==========================================================================
   01. BASE GLOBAL
   ========================================================================== */

/* Tipografía y espaciado */
h2:not(:first-of-type), h3:not(:first-of-type), h4:not(:first-of-type) {
margin-top: 24px;
}
p:last-of-type {
margin-bottom:0;
}
ul,ol {
margin-bottom: 16px;
}
ol {
padding-left: 18px;
}
strong, b {
font-weight: 700;
}

/**** PERSONALIZACIÓN DE LISTAS HTML ****/
ul { 
padding: 0 0 0 18px; 
}
ul li {
 padding: 6px 0;
}
ul li::marker {
 color: var( --e-global-color-accent );
 font-family: "Font Awesome 5 Free";
 font-weight: 900;
 content: "\f105\ ";
 font-size: 16px; 
}

/* Utilidades, accesibilidad y plugins globales */
/**** OCULTAR TÍTULOS DE FOTO EN LIGHTBOX ****/
.elementor-slideshow__title {
display: none;
}

/**** ESTILO SELECTOR DE TEXTO ****/
::selection{
background-color:
var( --e-global-color-accent );
color: #ffffff
}

/**** Scroll horizontal hidden ****/
html, body {
max-width: 100%;
overflow-x: hidden;
}

/**** Ancho política de cookies Complianz ****/
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode{
max-width: none !important;
}

/**** Título banner consentimiento ****/
@media (max-width: 720px) {
  .cmplz-cookiebanner .cmplz-title {
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/**** Botones banner consentimiento ****/
@media (max-width: 720px) {
  .cmplz-cookiebanner .cmplz-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Skip link - Accesibilidad */
a.skip-link.screen-reader-text {
  color: #000000 !important;
  background-color: #ffffff !important;
}


/* ==========================================================================
   02. CABECERA Y NAVEGACIÓN
   ========================================================================== */

/* Menú principal y menú móvil */
/**** MAIN MENU ****/
.elementor-nav-menu > li {
cursor: pointer;
}
ul.elementor-nav-menu--dropdown a, ul.elementor-nav-menu--dropdown a:focus, ul.elementor-nav-menu--dropdown a:hover {
border-inline-start: 0 !important;
}
.elementor-nav-menu .sub-arrow {
padding: 10px 0 10px 5px !important;
margin-top: -14px;
}
/* MENÚ MÓVIL */
.jet-mobile-menu__controls {
z-index: 102;
}
.jet-mobile-menu .jet-dropdown-arrow {
justify-content: end;
}

/* Topbar con teletipo infinito */
/* =========================
   TOPBAR TELETIPO INFINITO
   ========================= */

.zinda-topbar {
    width: 100%;
    height: 34px;
    overflow: hidden;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 9999;
}

.zinda-topbar__track {
    display: flex;
    width: max-content;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: zinda-marquee 50s linear infinite;
}

.zinda-topbar__group {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex: 0 0 auto;
}

.zinda-topbar__group span {
    display: inline-block;
    padding-right: 48px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

@keyframes zinda-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .zinda-topbar {
        height: 32px;
    }

    .zinda-topbar__group span {
        font-size: 11px;
        padding-right: 32px;
    }
}

/* Buscador desplegable */
/* =========================
   BUSCADOR HEADER
   ========================= */

.zinda-search-trigger {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.zinda-search-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--zinda-header-offset, 0px);
    bottom: 0;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 9998;
}

.zinda-search-drawer {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--zinda-header-offset, 0px);
    background: #fff;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
    z-index: 9999;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.zinda-search-drawer__inner {
    position: relative;
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 0 18px;
}

.zinda-search-form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
}

.zinda-search-form__icon {
    display: inline-flex;
    color: #111;
    flex: 0 0 auto;
}

.zinda-search-form__input {
    flex: 1 1 auto;
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #111;
    font-size: 16px;
    padding: 0;
}

.zinda-search-form__input::placeholder {
    color: #777;
    opacity: 1;
}

.zinda-search-form__submit {
    flex: 0 0 auto;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    box-shadow: none !important;
    cursor: pointer;
}

.zinda-search-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    box-shadow: none !important;
    cursor: pointer;
}

body.zinda-search-open {
    overflow: hidden;
}

body.zinda-search-open .zinda-search-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.zinda-search-open .zinda-search-drawer {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .zinda-search-drawer__inner {
        padding: 0 14px;
    }

    .zinda-search-form {
        min-height: 64px;
    }

    .zinda-search-form__input {
        font-size: 15px;
    }
}


/* ==========================================================================
   03. FICHA DE PRODUCTO
   ========================================================================== */

/* =========================
   VARIACIONES WOOCOMMERCE
   ========================= */

.variations {
    border: 0 !important;
    margin: 0 0 22px !important;
}

.variations tr {
    display: block;
    margin-bottom: 22px;
}

.variations td,
.variations th {
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    text-align: left !important;
}

.variations label {
    display: block;
    margin: 0 0 12px;
    background: #fff !important;
    color: #111;
    font-size: 13px;
    font-weight: 450;
    line-height: 1.3;
}

#pa_talla,
#pa_color {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================
   TALLAS
   ========================= */

.zinda-size-selector {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    width: 100% !important;
    margin-top: 4px !important;
    background: #fff !important;
}

.zinda-size-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;

    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    appearance: none !important;

    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        opacity .18s ease;
}

.zinda-size-btn:hover {
    background: #f3f3f3 !important;
}

.zinda-size-btn.active {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

.zinda-size-btn:focus-visible {
    outline: 1px solid #111 !important;
    outline-offset: 3px !important;
}

.zinda-size-btn.disabled,
.zinda-size-btn:disabled {
    opacity: .22 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* =========================
   COLOR POR IMAGEN
   ========================= */

.zinda-color-selector {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    background: #fff;
    scrollbar-width: none;
}

.zinda-color-selector::-webkit-scrollbar {
    display: none;
}

.zinda-color-btn,
.zinda-color-btn:hover,
.zinda-color-btn.active,
.zinda-color-btn:focus,
.zinda-color-btn:focus-visible {
    position: relative;
    width: 74px;
    height: 88px;
    flex: 0 0 74px;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    background: #f4f4f4 !important;
    cursor: pointer;
    overflow: hidden;
    appearance: none !important;
}

.zinda-color-btn img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.zinda-color-btn::before,
.zinda-color-btn::after {
    box-shadow: none !important;
    border: 0 !important;
}

.zinda-color-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: transparent;
    pointer-events: none;
}

.zinda-color-btn.active::after {
    background: #111 !important;
}

.zinda-color-btn:hover::after {
    background: #999 !important;
}

/* =========================
   BOTÓN CARRITO
   ========================= */

.quantity {
    display: none !important;
}

.single_add_to_cart_button {
    width: 100% !important;
    min-height: 56px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #fff !important;

    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;

    transition:
        background-color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}

.single_add_to_cart_button:hover {
    background: #000 !important;
}

.single_add_to_cart_button:active {
    transform: translateY(1px);
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.wc-variation-selection-needed {
    opacity: .38 !important;
    cursor: not-allowed !important;
}

.reset_variations {
    display: none !important;
}

.single-product form.cart,
.single-product .variations_form,
.single-product .woocommerce-variation-add-to-cart {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.single-product .single_add_to_cart_button {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* =========================
   GALERÍA PRODUCTO
   ========================= */

.single-product .woo-variation-product-gallery,
.single-product .woocommerce-product-gallery {
    display: none !important;
}

.zinda-product-gallery {
    width: 100%;
}

.zinda-product-gallery__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
}

.zinda-product-gallery__item {
    width: 100%;
    aspect-ratio: 5 / 6;
    background: #fff;
    overflow: hidden;
}

.zinda-product-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.zinda-product-gallery__progress {
    display: none;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
    .variations {
        margin-bottom: 18px !important;
    }

    .zinda-size-selector {
        gap: 8px !important;
    }

    .zinda-size-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 13px !important;
    }

    .zinda-color-selector {
        gap: 10px;
        margin-bottom: 22px;
    }

    .zinda-color-btn,
    .zinda-color-btn:hover,
    .zinda-color-btn.active,
    .zinda-color-btn:focus,
    .zinda-color-btn:focus-visible {
        width: 72px;
        height: 88px;
        flex-basis: 72px;
    }

    .single_add_to_cart_button {
        min-height: 54px !important;
    }

    .zinda-product-gallery__track {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0;
        width: 100%;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .zinda-product-gallery__track::-webkit-scrollbar {
        display: none;
    }

    .zinda-product-gallery__item {
    flex: 0 0 100%;
    width: 100%;
    height: 58vh;
    min-height: 430px;
    max-height: 620px;
    scroll-snap-align: start;
    background: #fff;
}

.zinda-product-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

    .zinda-product-gallery__progress {
        display: block;
        position: relative;
        width: 42px;
        height: 2px;
        margin: 12px 0 0;
        background: #d8d8d8;
        overflow: hidden;
    }

    .zinda-product-gallery__progress span {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: #111;
        transition: transform .18s ease;
        will-change: transform;
    }
}

/* =========================
   ACORDEONES PRODUCTO
   ========================= */

.zinda-product-panels {
    margin-top: 28px;
    color: #111;
    font-size: 14px;
    line-height: 1.45;
}

.zinda-product-panel {
    margin-bottom: 14px;
}

.zinda-product-panel__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: none !important;
}

.zinda-product-panel__toggle:hover,
.zinda-product-panel__toggle:focus {
    background: transparent !important;
    color: #111 !important;
    outline: 0 !important;
}

.zinda-product-panel__icon {
    position: relative;
    width: 12px;
    height: 12px;
    display: inline-block;
    transition: transform .2s ease;
}

.zinda-product-panel__icon::before,
.zinda-product-panel__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 1px;
    background: #111;
    transform: translateY(-50%);
}

.zinda-product-panel__icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.zinda-product-panel.is-open .zinda-product-panel__icon {
    transform: rotate(180deg);
}

.zinda-product-panel.is-open .zinda-product-panel__icon::after {
    opacity: 0;
}

.zinda-product-panel__content {
    margin-top: 18px;
    max-width: 560px;
    color: #111;
}

.zinda-product-panel__content p {
    margin: 0 0 12px;
}

/* =========================
   OCULTAR AVISOS DE WOOCOMMERCE EN FICHA DE PRODUCTO
   ========================= */

.single-product .woocommerce-notices-wrapper,
.single-product .woocommerce-message,
.single-product .woocommerce-error,
.single-product .woocommerce-info {
    display: none !important;
}

/* =========================
   DRAWER GUÍA DE TALLAS
   ========================= */

.zinda-size-guide-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
}

.zinda-size-guide-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.zinda-size-guide-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    transition: opacity .24s ease;
}

.zinda-size-guide-drawer.is-open .zinda-size-guide-drawer__overlay {
    opacity: 1;
}

.zinda-size-guide-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(520px, 100%);
    height: 100%;
    padding: 56px 40px 40px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
}

.zinda-size-guide-drawer.is-open .zinda-size-guide-drawer__panel {
    transform: translateX(0);
}

.zinda-size-guide-drawer__close {
    position: absolute;
    top: 22px;
    right: 24px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
}

.zinda-size-guide-drawer__content h2,
.zinda-size-guide-drawer__content h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 400;
}

.zinda-size-guide-drawer__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.zinda-size-guide-drawer__content th,
.zinda-size-guide-drawer__content td {
    padding: 16px 12px;
    border: 1px solid #111;
    text-align: left;
    font-weight: 400;
}

@media (max-width: 767px) {
    .zinda-size-guide-drawer__panel {
        width: 100%;
        padding: 54px 24px 32px;
    }
}

/* =========================
   PRECIO OFERTA ZINDA
   ========================= */

.single-product .price {
    margin: 0 0 22px !important;
    color: #111 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.zinda-sale-price {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    color: #111 !important;
}

.zinda-sale-price__regular,
.zinda-sale-price__current {
    position: relative;
    display: inline-block !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.zinda-sale-price__regular::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 52%;
    height: 1px;
    background: #111;
    pointer-events: none;
}

.single-product .woocommerce-variation-price {
    display: none !important;
}


/* ==========================================================================
   04. LOOP ITEM DE PRODUCTO
   ========================================================================== */

/* =========================
   LOOP ITEM PRODUCTO - ESTABLE
   ========================= */

.zinda-loop-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

/* El padre real del shortcode en Elementor */
.zinda-loop-card > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* Forzar orden correcto: imagen primero, texto después */
.zinda-loop-card > .e-con-inner > .elementor-element-1fce6e6 {
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
}

.zinda-loop-card > .e-con-inner > .elementor-element-ab391a2 {
    order: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
}

/* Zona de imagen */
.zinda-loop-card__media {
    position: relative !important;
    display: grid !important;
    grid-template-areas: "stack";
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    background: #fff !important;
    flex: 0 0 auto !important;
}

/* Apilar imágenes del loop: compatible con <img> y <picture> */
.zinda-loop-card__media > .zinda-loop-card__img {
    grid-area: stack !important;
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

/* Ajuste visual de la imagen */
.zinda-loop-card__media > img.zinda-loop-card__img,
.zinda-loop-card__media > picture.zinda-loop-card__img > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Imagen principal */
.zinda-loop-card__img--primary {
    z-index: 1 !important;
    opacity: 1 !important;
    transition: opacity .22s ease !important;
}

/* Imagen secundaria */
.zinda-loop-card__img--secondary {
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .22s ease !important;
}

/* Hover únicamente en dispositivos con ratón */
@media (hover: hover) and (pointer: fine) {
    .zinda-loop-card__media:has(> .zinda-loop-card__img--secondary):hover
    > .zinda-loop-card__img--primary {
        opacity: 0 !important;
    }

    .zinda-loop-card__media:has(> .zinda-loop-card__img--secondary):hover
    > .zinda-loop-card__img--secondary {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.zinda-loop-card__img--secondary {
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .22s ease;
}

.zinda-loop-card__media:hover .zinda-loop-card__img--primary,
.zinda-loop-card__media:focus-visible .zinda-loop-card__img--primary {
    opacity: 0 !important;
}

.zinda-loop-card__media:hover .zinda-loop-card__img--secondary,
.zinda-loop-card__media:focus-visible .zinda-loop-card__img--secondary {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Texto */
.zinda-loop-card__body {
    order: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding-top: 8px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Móvil */
@media (max-width: 767px) {
    .zinda-loop-card__img--secondary {
        display: none !important;
    }

    .zinda-loop-card__body {
        padding-top: 10px !important;
    }
}


/* ==========================================================================
   05. PLP Y ARCHIVOS DE PRODUCTO
   ========================================================================== */

/* =========================
   NAVEGACION DE CATEGORIAS
   ========================= */

/* Contenedor del carrusel */
.zinda-category-nav {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.zinda-category-nav .elementor-widget-container,
.zinda-category-nav .woocommerce {
    width: 100%;
    min-width: 0;
}

/* Carrusel horizontal */
.zinda-category-nav .woocommerce ul.products {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(28px, 5vw, 80px) !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 2px 1px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.zinda-category-nav .woocommerce ul.products::-webkit-scrollbar {
    display: none;
}

/* Elementos del carrusel */
.zinda-category-nav .woocommerce ul.products li.product-category {
    flex: 0 0 auto !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    scroll-snap-align: start;
}

.zinda-category-nav .woocommerce ul.products li.product-category::marker {
    content: "" !important;
    display: none !important;
}

/* Ocultar imagenes y contadores */
.zinda-category-nav li.product-category img,
.zinda-category-nav li.product-category mark.count,
.zinda-category-nav li.product-category .count {
    display: none !important;
}

/* Enlace y nombre de categoria */
.zinda-category-nav li.product-category > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 0 10px !important;
    color: #111 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.zinda-category-nav .woocommerce-loop-category__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

/* Subrayado de la categoria activa */
.zinda-category-nav li.product-category > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: #111;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}

.zinda-category-nav li.product-category.current-cat > a::after,
.zinda-category-nav li.product-category.current-cat-parent > a::after,
.zinda-category-nav li.product-category.current-cat-ancestor > a::after,
.zinda-category-nav li.product-category.is-current > a::after,
.zinda-category-nav li.product-category > a[aria-current="page"]::after {
    transform: scaleX(1);
}

/* Controles laterales */
.zinda-category-nav__arrow {
    position: absolute !important;
    z-index: 20 !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 36px !important;
    min-width: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    transform: translateY(-50%) !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

/* Chevron sintetico */
.zinda-category-nav__arrow::before {
    content: "" !important;
    display: block !important;
    width: 9px !important;
    height: 9px !important;
    border-top: 1.5px solid #111 !important;
    border-right: 1.5px solid #111 !important;
}

.zinda-category-nav__arrow--prev::before {
    transform: rotate(-135deg) !important;
}

.zinda-category-nav__arrow--next::before {
    transform: rotate(45deg) !important;
}

.zinda-category-nav__arrow--prev {
    left: 8px !important;
}

.zinda-category-nav__arrow--next {
    right: 8px !important;
}

/* El atributo hidden manda en los extremos */
.zinda-category-nav__arrow[hidden] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.zinda-category-nav__arrow:hover,
.zinda-category-nav__arrow:focus,
.zinda-category-nav__arrow:active {
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
}

.zinda-category-nav__arrow:focus-visible {
    outline: 1px solid #111;
    outline-offset: 2px;
}

@media (hover: hover) {
    .zinda-category-nav li.product-category > a:hover::after {
        transform: scaleX(1);
    }
}

/* Carrusel movil con espacio independiente para flechas */
@media (max-width: 767px) {
    .zinda-category-nav {
        --zinda-category-control-space: 48px;
    }

    .zinda-category-nav .woocommerce ul.products {
        gap: 28px !important;
        padding-right: var(--zinda-category-control-space) !important;
        padding-left: var(--zinda-category-control-space) !important;
        scroll-padding-right: var(--zinda-category-control-space);
        scroll-padding-left: var(--zinda-category-control-space);
    }

    /* Degradados por debajo de las flechas */
    .zinda-category-nav::before,
    .zinda-category-nav::after {
        content: "";
        position: absolute;
        z-index: 4;
        top: 0;
        bottom: 0;
        width: var(--zinda-category-control-space);
        pointer-events: none;
        opacity: 0;
        transition: opacity .18s ease;
    }

    .zinda-category-nav::before {
        left: 0;
        background: linear-gradient(
            to left,
            rgba(255, 255, 255, 0),
            #fff 68%
        );
    }

    .zinda-category-nav::after {
        right: 0;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0),
            #fff 68%
        );
    }

    .zinda-category-nav.can-scroll-left::before,
    .zinda-category-nav.can-scroll-right::after {
        opacity: 1;
    }
}

/* Cards del archivo nativo de WooCommerce */
/* =========================
   PRODUCTOS DE ARCHIVO - CARD ZINDA DEFINITIVA
   ========================= */

/* Cuadrícula de productos */

body .elementor-widget-wc-archive-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 28px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tarjeta completa */

body .elementor-widget-wc-archive-products ul.products li.product {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;

    float: none !important;
    clear: none !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* Eliminar cualquier marker heredado */

body .elementor-widget-wc-archive-products ul.products li.product::marker {
    content: "" !important;
    display: none !important;
}

/* Enlace principal de la tarjeta */

body .elementor-widget-wc-archive-products
li.product > .woocommerce-LoopProduct-link {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #111 !important;
    text-decoration: none !important;
}

/* =========================
   IMÁGENES
   ========================= */

body .elementor-widget-wc-archive-products
.zinda-archive-card__media {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    background: #fff !important;
}

/* Capas de imagen */

body .elementor-widget-wc-archive-products
.zinda-archive-card__image {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    transition: opacity .22s ease !important;
}

/* Picture generado por el optimizador */

body .elementor-widget-wc-archive-products
.zinda-archive-card__image picture {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Imagen final */

body .elementor-widget-wc-archive-products
.zinda-archive-card__image img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;
}

/* Estado inicial */

body .elementor-widget-wc-archive-products
.zinda-archive-card__image--primary {
    z-index: 1 !important;
    opacity: 1 !important;
}

body .elementor-widget-wc-archive-products
.zinda-archive-card__image--secondary {
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hover solamente cuando existe segunda imagen */

@media (hover: hover) and (pointer: fine) {
    body .elementor-widget-wc-archive-products
    li.product:hover
    .zinda-archive-card__media:has(.zinda-archive-card__image--secondary)
    .zinda-archive-card__image--primary {
        opacity: 0 !important;
    }

    body .elementor-widget-wc-archive-products
    li.product:hover
    .zinda-archive-card__image--secondary {
        opacity: 1 !important;
    }
}

/* =========================
   TÍTULO Y PRECIO
   ========================= */

body .elementor-widget-wc-archive-products
li.product .woocommerce-loop-product__title {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 11px 42px 2px 10px !important;

    color: #111 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
}

body .elementor-widget-wc-archive-products
li.product .price {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 42px 11px 10px !important;

    color: #b7b7b7 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

body .elementor-widget-wc-archive-products
li.product .price .amount,
body .elementor-widget-wc-archive-products
li.product .price bdi {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* Precio anterior rebajado */

body .elementor-widget-wc-archive-products
li.product .price del {
    color: #777 !important;
    opacity: 1 !important;
}

/* Precio rebajado actual */

body .elementor-widget-wc-archive-products
li.product .price ins {
    color: #111 !important;
    text-decoration: none !important;
}

/* =========================
   BOTÓN CONVERTIDO EN +
   ========================= */

body .elementor-widget-wc-archive-products
li.product > .button.product_type_variable {
    position: absolute !important;
    right: 7px !important;
    bottom: 30px !important;
    z-index: 5 !important;

    display: block !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
}

/* Líneas del símbolo + */

body .elementor-widget-wc-archive-products
li.product > .button.product_type_variable::before,
body .elementor-widget-wc-archive-products
li.product > .button.product_type_variable::after {
    content: "" !important;

    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    display: block !important;

    width: 12px !important;
    height: 1px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #111 !important;
    border: 0 !important;

    transform: translate(-50%, -50%) !important;
}

body .elementor-widget-wc-archive-products
li.product > .button.product_type_variable::after {
    transform: translate(-50%, -50%) rotate(90deg) !important;
}

/* Ocultar textos auxiliares */

body .elementor-widget-wc-archive-products
li.product > .screen-reader-text {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 1024px) {
    body .elementor-widget-wc-archive-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* =========================
   MÓVIL
   ========================= */

@media (max-width: 767px) {
    body .elementor-widget-wc-archive-products ul.products {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body .elementor-widget-wc-archive-products
    .zinda-archive-card__image--secondary {
        display: none !important;
    }

    body .elementor-widget-wc-archive-products
    .zinda-archive-card__image--primary {
        opacity: 1 !important;
    }

    body .elementor-widget-wc-archive-products
    li.product .woocommerce-loop-product__title {
        padding: 10px 40px 2px 9px !important;
        font-size: 13px !important;
    }

    body .elementor-widget-wc-archive-products
    li.product .price {
        padding: 0 40px 10px 9px !important;
        font-size: 12px !important;
    }

    body .elementor-widget-wc-archive-products
    li.product > .button.product_type_variable {
        right: 5px !important;
        bottom: 27px !important;
    }
}

/* Ordenación y altura dinámica del archivo */
/* =========================
   ARCHIVO DE PRODUCTOS - OCULTAR ORDENACIÓN
   ========================= */

body .elementor-widget-wc-archive-products
form.woocommerce-ordering {
    display: none !important;
}

/* =========================
   ARCHIVE PRODUCTOS MOVIL - ALTURA DINAMICA
   ========================= */

@media (max-width: 767px) {

    /* Contenedor que envuelve el archivo de productos */
    body.tax-product_cat
    .elementor-416
    .elementor-element.elementor-element-e4147c3 {
        --display: block !important;
        --flex-wrap-mobile: nowrap !important;

        display: block !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        overflow: visible !important;
    }

    /* Widget Productos del archivo */
    body.tax-product_cat
    .elementor-416
    .elementor-element.elementor-element-74fd6d3 {
        display: block !important;
        position: relative !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        overflow: visible !important;
    }

    /* Contenido WooCommerce generado dinámicamente */
    body.tax-product_cat
    .elementor-element-74fd6d3 > .woocommerce,
    body.tax-product_cat
    .elementor-element-74fd6d3 ul.products {
        display: grid !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        overflow: visible !important;
    }

    /* El footer vuelve al flujo normal */
    body.tax-product_cat .elementor-location-footer {
        position: static !important;
        clear: both !important;
    }
}

/* Selector y columnas dinámicas */
/* =========================
   SELECTOR DE COLUMNAS PLP
   ========================= */

.zinda-grid-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 44px;
    gap: 4px;
}

.zinda-grid-switcher__desktop,
.zinda-grid-switcher__mobile {
    display: flex;
    align-items: center;
    gap: 2px;
}

.zinda-grid-switcher__mobile {
    display: none;
}

.zinda-grid-switcher__button {
    appearance: none;
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.zinda-grid-switcher__button:hover {
    color: #111;
    background: #f5f5f5;
}

.zinda-grid-switcher__button.is-active {
    color: #111;
    background: transparent;
}

.zinda-grid-switcher__button:focus-visible {
    color: #111;
    outline: 1px solid #111;
    outline-offset: -1px;
}

/* Iconos de columnas */

.zinda-grid-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 16px;
}

.zinda-grid-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 16px;
    background: currentColor;
    transform: translateX(-50%);
}

.zinda-grid-icon--2::before {
    left: 6px;
    transform: none;
    box-shadow: 7px 0 0 currentColor;
}

.zinda-grid-icon--3::before {
    left: 3px;
    transform: none;
    box-shadow:
        7px 0 0 currentColor,
        14px 0 0 currentColor;
}

.zinda-grid-icon--4::before {
    left: 0;
    transform: none;
    box-shadow:
        6px 0 0 currentColor,
        12px 0 0 currentColor,
        18px 0 0 currentColor;
}

/* Línea indicadora de selección */

.zinda-grid-switcher__button::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 3px;
    left: 8px;
    height: 1px;
    background: #111;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity .2s ease, transform .2s ease;
}

.zinda-grid-switcher__button {
    position: relative;
}

.zinda-grid-switcher__button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* =========================
   COLUMNAS DINAMICAS PLP
   ========================= */

body.tax-product_cat
.elementor-widget-wc-archive-products
ul.products.zinda-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    --grid-columns: 2 !important;
}

body.tax-product_cat
.elementor-widget-wc-archive-products
ul.products.zinda-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    --grid-columns: 3 !important;
}

body.tax-product_cat
.elementor-widget-wc-archive-products
ul.products.zinda-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    --grid-columns: 4 !important;
}

/* =========================
   SELECTOR DE COLUMNAS TABLET
   ========================= */

@media (min-width: 768px) and (max-width: 1024px) {

    body.tax-product_cat
    .elementor-widget-wc-archive-products
    ul.products.zinda-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        --grid-columns: 2 !important;
    }

    body.tax-product_cat
    .elementor-widget-wc-archive-products
    ul.products.zinda-grid--3,
    body.tax-product_cat
    .elementor-widget-wc-archive-products
    ul.products.zinda-grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        --grid-columns: 3 !important;
    }
}

/* =========================
   SELECTOR DE COLUMNAS MOVIL
   ========================= */

@media (max-width: 767px) {

    .zinda-grid-switcher__desktop {
        display: none;
    }

    .zinda-grid-switcher__mobile {
        display: flex;
    }

    .zinda-grid-switcher {
        min-height: 40px;
    }

    .zinda-grid-switcher__button {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    body.tax-product_cat
    .elementor-widget-wc-archive-products
    ul.products.zinda-grid--1 {
        grid-template-columns: minmax(0, 1fr) !important;
        --grid-columns: 1 !important;
    }

    body.tax-product_cat
    .elementor-widget-wc-archive-products
    ul.products.zinda-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        --grid-columns: 2 !important;
    }

}


/* ==========================================================================
   06. FILTROS YITH
   ========================================================================== */

/* =========================
   YITH FILTROS - ESTILO ZINDA
   ========================= */

.yith-wcan-filters,
.yith-wcan-filters * {
    box-sizing: border-box;
}

/* Contenedor general */
.yith-wcan-filters .filters-container,
.yith-wcan-filters form {
    margin: 0 !important;
    padding: 0 !important;
}

/* Cada bloque de filtro */
.yith-wcan-filter {
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Título */
.yith-wcan-filter .filter-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: #111 !important;
}

/* Ocultar legend duplicado */
.yith-wcan-filter fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0 !important;
}

.yith-wcan-filter fieldset legend {
    display: none !important;
}

/* Link limpiar */
.yith-wcan-filter .clear-selection {
    display: inline-block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #111 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.yith-wcan-filter .clear-selection:hover {
    opacity: .7 !important;
}

/* Lista horizontal scrolleable */
.yith-wcan-filter .filter-items {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin: 0 !important;
    padding: 2px 0 10px !important;
    list-style: none !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}

.yith-wcan-filter .filter-items::-webkit-scrollbar {
    display: none !important;
}

/* Cada item */
.yith-wcan-filter .filter-item {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Ocultar checkbox real */
.yith-wcan-filter .filter-item input[type="checkbox"],
.yith-wcan-filter .filter-item input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Label contenedor limpio */
.yith-wcan-filter .filter-item > label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

/* Chip base */
.yith-wcan-filter .filter-item .term-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    min-width: 40px !important;
    padding: 9px 10px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease !important;
}

/* Hover */
.yith-wcan-filter .filter-item .term-label:hover {
    border-color: #bdbdbd !important;
}

/* Seleccionado */
.yith-wcan-filter .filter-item.active .term-label {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* Sin resultados / deshabilitado */
.yith-wcan-filter .filter-item.disabled .term-label {
    color: #cfcfcf !important;
    border-color: #e6e6e6 !important;
    background: #fff !important;
    pointer-events: none !important;
}

/* Talla redonda */
.yith-wcan-filter[data-taxonomy="filter_talla"] .filter-item .term-label {
    min-width: 42px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
}

/* Resto de atributos tipo pill */
.yith-wcan-filter[data-taxonomy="filter_color"] .filter-item .term-label,
.yith-wcan-filter[data-taxonomy="filter_altura-del-tacon"] .filter-item .term-label,
.yith-wcan-filter[data-taxonomy="filter_material"] .filter-item .term-label,
.yith-wcan-filter[data-taxonomy="filter_tipo-de-cierre"] .filter-item .term-label,
.yith-wcan-filter[data-taxonomy="filter_genero"] .filter-item .term-label {
    padding: 9px 10px !important;
}

/* Móvil */
@media (max-width: 767px) {
    .yith-wcan-filter {
        margin-bottom: 20px !important;
    }

    .yith-wcan-filter .filter-title {
        margin-bottom: 12px !important;
        font-size: 14px !important;
    }

    .yith-wcan-filter .clear-selection {
        margin-bottom: 12px !important;
        font-size: 14px !important;
    }

    .yith-wcan-filter .filter-item .term-label {
        min-height: 38px !important;
        font-size: 13px !important;
        padding: 9px 10px !important;
    }

    .yith-wcan-filter[data-taxonomy="filter_talla"] .filter-item .term-label {
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
    }
}

/* =========================
   YITH FILTROS - AJUSTES FINOS
   ========================= */

/* Quitar el marker/flechita global del tema */
.yith-wcan-filters ul,
.yith-wcan-filters ol,
.yith-wcan-filters li {
    list-style: none !important;
}

.yith-wcan-filters ul li::marker,
.yith-wcan-filters ol li::marker,
.yith-wcan-filters .filter-items li::marker,
.yith-wcan-filters .filter-item::marker {
    content: "" !important;
    font-size: 0 !important;
    color: transparent !important;
}

/* Por si el tema mete pseudoelementos raros */
.yith-wcan-filters .filter-item::before,
.yith-wcan-filters .filter-item::after,
.yith-wcan-filters .filter-items::before,
.yith-wcan-filters .filter-items::after {
    content: none !important;
    display: none !important;
}

/* Título y limpiar en columna, uno debajo del otro */
.yith-wcan-filter .filter-content {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.yith-wcan-filter .filter-title {
    display: block !important;
    margin: 0 0 10px !important;
}

.yith-wcan-filter .clear-selection {
    display: block !important;
    width: fit-content !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.yith-wcan-filter .clear-selection:hover,
.yith-wcan-filter .clear-selection:focus {
    color: #111 !important;
    opacity: .65 !important;
    text-decoration: none !important;
}

/* Quitar color rosa heredado en links internos del filtro */
.yith-wcan-filters a,
.yith-wcan-filters a:visited,
.yith-wcan-filters a:hover,
.yith-wcan-filters a:focus {
    color: inherit !important;
}

/* Mantener color correcto del chip */
.yith-wcan-filter .filter-item .term-label {
    color: #111 !important;
}

.yith-wcan-filter .filter-item.active .term-label {
    color: #fff !important;
}


/* ==========================================================================
   07. CAPAS Y PANELES GLOBALES
   ========================================================================== */

/* Carrito lateral de Elementor */
/* ==========================================================================
   CARRITO LATERAL DE ELEMENTOR
   ========================================================================== */

/* Carrito cerrado: debe desaparecer por completo */
.elementor-menu-cart__container.elementor-lightbox[aria-hidden="true"],
.elementor-widget-woocommerce-menu-cart:not(.elementor-menu-cart--shown)
  .elementor-menu-cart__container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0) !important;
}

/* Carrito abierto */
.elementor-menu-cart__container.elementor-lightbox[aria-hidden="false"],
.elementor-widget-woocommerce-menu-cart.elementor-menu-cart--shown
  .elementor-menu-cart__container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99998 !important;
  transform: scale(1) !important;
}

/* Panel lateral */
.elementor-menu-cart__main {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(420px, 100vw) !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff !important;
  z-index: 99999 !important;
}

/* Evitar que el panel oculto pueda interceptar pulsaciones */
.elementor-menu-cart__container[aria-hidden="true"]
  .elementor-menu-cart__main {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(100%) !important;
}

/* Panel visible */
.elementor-menu-cart__container[aria-hidden="false"]
  .elementor-menu-cart__main {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

/* Icono del carrito del encabezado */
.elementor-menu-cart__toggle .elementor-button {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.elementor-menu-cart__toggle .elementor-button-icon,
.elementor-menu-cart__toggle .elementor-button-icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

/* Bloquear scroll exclusivamente cuando el carrito está abierto */
body:has(
    .elementor-menu-cart__container.elementor-lightbox[aria-hidden="false"]
  ) {
  overflow: hidden !important;
}

/* ==========================================================================
   MI CUENTA - ESTRUCTURA GENERAL
   ========================================================================== */

.woocommerce-account.logged-in .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.woocommerce-account.logged-in .woocommerce::before,
.woocommerce-account.logged-in .woocommerce::after,
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
  display: none !important;
  content: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  min-width: 0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  grid-column: 1;
  grid-row: 1;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
}

/* Navegacion */

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li,
.woocommerce-account .woocommerce-MyAccount-navigation li::marker {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  content: "";
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: inline-block;
  padding: 0 0 4px;
  border-bottom: 1px solid transparent;
  color: #555;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
  color: #111;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  border-bottom-color: #111;
  color: #111;
}

/* Ocultar descargas */

.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads {
  display: none !important;
}

/* Titulares y texto */

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin: 0 0 24px;
  color: #111;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.woocommerce-account .woocommerce-MyAccount-content p {
  color: #333;
  line-height: 1.55;
}

/* ==========================================================================
   MI CUENTA - FORMULARIOS
   ========================================================================== */

.woocommerce-account .woocommerce-form,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields {
  margin: 0;
}

.woocommerce-account .form-row {
  margin: 0 0 20px;
  padding: 0;
}

.woocommerce-account .form-row label,
.woocommerce-account fieldset legend {
  margin: 0 0 8px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
}

.woocommerce-account fieldset {
  margin: 32px 0 24px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid #ddd;
}

.woocommerce-account input.input-text,
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account select,
.woocommerce-account textarea,
.woocommerce-account .select2-selection {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  color: #111;
  box-shadow: none;
}

.woocommerce-account textarea {
  min-height: 120px;
  resize: vertical;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus,
.woocommerce-account .select2-container--focus .select2-selection {
  border-color: #111;
  outline: 1px solid #111;
  outline-offset: 0;
}

.woocommerce-account input[type="checkbox"] {
  accent-color: #111;
}

.woocommerce-account .password-input {
  width: 100%;
}

.woocommerce-account .show-password-input {
  color: #333;
}

/* Botones */

.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account a.button {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none !important;
}

.woocommerce-account .button:hover,
.woocommerce-account .button:focus-visible {
  background: #fff;
  color: #111;
}

/* ==========================================================================
   MI CUENTA - PEDIDOS
   ========================================================================== */

.woocommerce-account table.shop_table {
  width: 100%;
  margin: 0 0 28px;
  border: 0;
  border-top: 1px solid #ccc;
  border-collapse: collapse;
  border-radius: 0;
  background: transparent;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  padding: 16px 12px;
  border: 0;
  border-bottom: 1px solid #ddd;
  color: #222;
  text-align: left;
  vertical-align: middle;
}

.woocommerce-account table.shop_table th {
  color: #555;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.woocommerce-account table.shop_table td a:not(.button) {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-account
  .woocommerce-orders-table__cell-order-actions
  .button {
  margin: 3px 0 3px 6px;
}

/* ==========================================================================
   MI CUENTA - DIRECCIONES
   ========================================================================== */

.woocommerce-account .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 0;
}

.woocommerce-account .woocommerce-Address {
  float: none;
  width: 100% !important;
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid #ddd;
  border-radius: 0;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce-Address-title {
  display: block;
}

.woocommerce-account .woocommerce-Address-title h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

.woocommerce-account .woocommerce-Address-title .edit {
  display: inline-block;
  float: none !important;
  margin: 0 0 18px;
  color: #555;
  text-decoration: none;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-account address {
  color: #444;
  font-style: normal;
  line-height: 1.6;
}

/* ==========================================================================
   MI CUENTA - AVISOS
   ========================================================================== */

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f7f7f7;
  color: #222;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before {
  display: none;
}

/* ==========================================================================
   MI CUENTA - ACCESO
   ========================================================================== */

.woocommerce-account:not(.logged-in) .woocommerce {
  max-width: 560px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login {
  padding: 0;
  border: 0;
  border-radius: 0;
}

/* ==========================================================================
   MI CUENTA - TABLET
   ========================================================================== */

@media (max-width: 1024px) {
  .woocommerce-account.logged-in .woocommerce {
    display: block !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
    margin: 0 0 40px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: none;
  }

  .woocommerce-account
    .woocommerce-MyAccount-navigation::-webkit-scrollbar {
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    width: max-content;
    gap: 24px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    white-space: nowrap;
  }

  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MI CUENTA - MOVIL
   ========================================================================== */

@media (max-width: 767px) {
  .woocommerce-account .form-row-first,
  .woocommerce-account .form-row-last {
    float: none !important;
    width: 100% !important;
  }

  .woocommerce-account table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce-account table.shop_table_responsive tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
  }

  .woocommerce-account table.shop_table_responsive td {
    display: grid;
    grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    gap: 16px;
    padding: 7px 0;
    border: 0;
    text-align: right !important;
  }

  .woocommerce-account table.shop_table_responsive td::before {
    color: #555;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    text-transform: uppercase;
  }

  .woocommerce-account
    .woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .woocommerce-account
    .woocommerce-orders-table__cell-order-actions::before {
    margin-right: auto;
  }
}
/* ==========================================================================
   MI CUENTA - ACCESO, REGISTRO Y RECUPERAR CONTRASENA
   ========================================================================== */

/* Anchura del contenido */

.woocommerce-account
  .woocommerce:has(.woocommerce-form-login),
.woocommerce-account
  .woocommerce:has(.woocommerce-form-register),
.woocommerce-account
  .woocommerce:has(.lost_reset_password) {
  width: 100%;
  max-width: 560px;
  margin-right: auto;
}

/* Titulares */

.woocommerce-account .woocommerce-form-login + h2,
.woocommerce-account .woocommerce-form-register + h2 {
  margin-top: 48px;
}

.woocommerce-account .woocommerce h2 {
  margin: 0 0 28px;
  color: #111;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

/* Formularios */

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .lost_reset_password {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row,
.woocommerce-account .lost_reset_password .form-row {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

/* Texto de recuperar contrasena */

.woocommerce-account .lost_reset_password > p:first-child {
  max-width: 520px;
  margin: 0 0 28px;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

/* Etiquetas */

.woocommerce-account .woocommerce-form-login label,
.woocommerce-account .woocommerce-form-register label,
.woocommerce-account .lost_reset_password label {
  display: block;
  margin: 0 0 8px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.woocommerce-account
  .woocommerce-form-login
  .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

/* Campos */

.woocommerce-account
  .woocommerce-form-login
  input.input-text,
.woocommerce-account
  .woocommerce-form-register
  input.input-text,
.woocommerce-account
  .lost_reset_password
  input.input-text {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 15px;
  box-shadow: none;
}

.woocommerce-account
  .woocommerce-form-login
  input.input-text:focus,
.woocommerce-account
  .woocommerce-form-register
  input.input-text:focus,
.woocommerce-account
  .lost_reset_password
  input.input-text:focus {
  border-color: #111;
  outline: 1px solid #111;
  outline-offset: 0;
}

/* Campo de contrasena */

.woocommerce-account .password-input {
  position: relative;
  display: block;
  width: 100%;
}

.woocommerce-account .password-input input {
  padding-right: 48px !important;
}

.woocommerce-account .show-password-input {
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  color: #333;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Fila del boton y recuerdame */

.woocommerce-account
  .woocommerce-form-login
  .form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* Botones */

.woocommerce-account
  .woocommerce-form-login
  .woocommerce-form-login__submit,
.woocommerce-account
  .woocommerce-form-register
  .woocommerce-form-register__submit,
.woocommerce-account
  .lost_reset_password
  .woocommerce-Button {
  min-width: 150px;
  min-height: 48px;
  margin: 0;
  padding: 13px 22px;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
  box-shadow: none;
}

.woocommerce-account
  .woocommerce-form-login
  .woocommerce-form-login__submit:hover,
.woocommerce-account
  .woocommerce-form-login
  .woocommerce-form-login__submit:focus-visible,
.woocommerce-account
  .woocommerce-form-register
  .woocommerce-form-register__submit:hover,
.woocommerce-account
  .woocommerce-form-register
  .woocommerce-form-register__submit:focus-visible,
.woocommerce-account
  .lost_reset_password
  .woocommerce-Button:hover,
.woocommerce-account
  .lost_reset_password
  .woocommerce-Button:focus-visible {
  border-color: #111;
  background: #fff;
  color: #111;
}

/* Recuerdame */

.woocommerce-account
  .woocommerce-form-login
  input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #111;
}

/* Enlace para recuperar la contrasena */

.woocommerce-account .woocommerce-LostPassword {
  margin: 18px 0 0;
}

.woocommerce-account .woocommerce-LostPassword a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #555;
}

.woocommerce-account .woocommerce-LostPassword a:hover,
.woocommerce-account .woocommerce-LostPassword a:focus-visible {
  color: #111;
  border-bottom-color: #111;
}

/* Privacidad y mensajes del registro */

.woocommerce-account
  .woocommerce-form-register
  .woocommerce-privacy-policy-text {
  margin: 0 0 22px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.woocommerce-account
  .woocommerce-form-register
  .woocommerce-privacy-policy-text
  a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Avisos y errores */

.woocommerce-account
  .woocommerce:has(.woocommerce-form-login)
  .woocommerce-error,
.woocommerce-account
  .woocommerce:has(.woocommerce-form-register)
  .woocommerce-error,
.woocommerce-account
  .woocommerce:has(.lost_reset_password)
  .woocommerce-error,
.woocommerce-account
  .woocommerce:has(.lost_reset_password)
  .woocommerce-message {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f7f7f7;
  color: #222;
}

.woocommerce-account
  .woocommerce:has(.woocommerce-form-login)
  .woocommerce-error::before,
.woocommerce-account
  .woocommerce:has(.woocommerce-form-register)
  .woocommerce-error::before,
.woocommerce-account
  .woocommerce:has(.lost_reset_password)
  .woocommerce-error::before,
.woocommerce-account
  .woocommerce:has(.lost_reset_password)
  .woocommerce-message::before {
  display: none;
}

/* ==========================================================================
   MI CUENTA - ACCESO RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
  .woocommerce-account
    .woocommerce:has(.woocommerce-form-login),
  .woocommerce-account
    .woocommerce:has(.woocommerce-form-register),
  .woocommerce-account
    .woocommerce:has(.lost_reset_password) {
    max-width: none;
  }

  .woocommerce-account .woocommerce h2 {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .woocommerce-account
    .woocommerce-form-login
    .form-row:has(.woocommerce-form-login__submit) {
    align-items: flex-start;
    gap: 14px;
  }

  .woocommerce-account
    .woocommerce-form-login
    .woocommerce-form-login__submit,
  .woocommerce-account
    .woocommerce-form-register
    .woocommerce-form-register__submit,
  .woocommerce-account
    .lost_reset_password
    .woocommerce-Button {
    width: 100%;
  }
}

/* ==========================================================================
   COMPLIANZ - ENLACES SIN MARKERS
   ========================================================================== */

.cmplz-cookiebanner .cmplz-documents,
.cmplz-cookiebanner .cmplz-documents ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cmplz-cookiebanner .cmplz-documents li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cmplz-cookiebanner .cmplz-documents li::marker {
  content: "" !important;
  display: none !important;
  font-size: 0 !important;
}

.cmplz-cookiebanner .cmplz-documents li::before {
  display: none !important;
  content: none !important;
}
@media (max-width: 767px) {
  .cmplz-cookiebanner .cmplz-documents ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 16px !important;
  }

  .cmplz-cookiebanner .cmplz-documents li {
    width: auto !important;
  }
}

/* ==========================================================================
   CHECKOUT - PEDIDO RECIBIDO
   ========================================================================== */

.woocommerce-order-received .woocommerce-order {
  width: 100%;
  color: #222;
}

/* Mensaje de confirmacion */

.woocommerce-order-received
  .woocommerce-thankyou-order-received {
  margin: 0 0 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid #111;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
}

/* Resumen superior */

.woocommerce-order-received
  .woocommerce-order-overview {
  display: grid !important;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 0.9fr)
    minmax(0, 0.8fr)
    minmax(0, 1.8fr);
  width: 100%;
  margin: 0 0 64px !important;
  padding: 22px 0 !important;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  list-style: none !important;
}

.woocommerce-order-received
  .woocommerce-order-overview::before,
.woocommerce-order-received
  .woocommerce-order-overview::after {
  display: none !important;
  content: none !important;
}

.woocommerce-order-received
  .woocommerce-order-overview
  li {
  float: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-right: 1px solid #ddd !important;
  color: #666;
  font-size: 11px !important;
  font-weight: 400;
  line-height: 1.35 !important;
  text-transform: uppercase;
  list-style: none !important;
}

.woocommerce-order-received
  .woocommerce-order-overview
  li:first-child {
  padding-left: 0 !important;
}

.woocommerce-order-received
  .woocommerce-order-overview
  li:last-child {
  padding-right: 0 !important;
  border-right: 0 !important;
}

.woocommerce-order-received
  .woocommerce-order-overview
  li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.woocommerce-order-received
  .woocommerce-order-overview
  li::before {
  display: none !important;
  content: none !important;
}

.woocommerce-order-received
  .woocommerce-order-overview
  li
  strong {
  display: block;
  margin-top: 5px;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: none;
  overflow-wrap: anywhere;
}

/* Titulares */

.woocommerce-order-received
  .woocommerce-order-details__title,
.woocommerce-order-received
  .woocommerce-customer-details
  h2,
.woocommerce-order-received
  .woocommerce-column__title {
  margin: 0 0 24px !important;
  color: #111;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

/* ==========================================================================
   CHECKOUT - TABLA DEL PEDIDO
   ========================================================================== */

.woocommerce-order-received
  .woocommerce-order-details {
  margin: 0 0 60px;
}

.woocommerce-order-received
  table.woocommerce-table--order-details {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid #111 !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  background: transparent;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  th,
.woocommerce-order-received
  table.woocommerce-table--order-details
  td {
  padding: 17px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #ddd !important;
  background: transparent !important;
  color: #222;
  text-align: left;
  vertical-align: top;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  thead
  th {
  color: #555;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  .woocommerce-table__product-name {
  width: 64%;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  .woocommerce-table__product-total {
  width: 36%;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  a {
  color: #111 !important;
  font-weight: 400;
  text-decoration: none !important;
  border-bottom: 1px solid #999;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  a:hover,
.woocommerce-order-received
  table.woocommerce-table--order-details
  a:focus-visible {
  border-bottom-color: #111;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  .product-quantity {
  color: #555;
  font-weight: 400;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  tfoot
  th {
  color: #555;
  font-weight: 400;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  tfoot
  td {
  font-weight: 500;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  tfoot
  tr:last-child
  th,
.woocommerce-order-received
  table.woocommerce-table--order-details
  tfoot
  tr:last-child
  td {
  padding-top: 21px !important;
  padding-bottom: 21px !important;
  border-bottom-color: #111 !important;
  color: #111;
  font-size: 16px;
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  small.includes_tax {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 11px;
  font-weight: 400;
}

/* Metadatos del producto */

.woocommerce-order-received
  .woocommerce-table__product-name
  .wc-item-meta {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce-order-received
  .woocommerce-table__product-name
  .wc-item-meta
  li {
  margin: 3px 0;
  color: #666;
  font-size: 13px;
  list-style: none;
}

.woocommerce-order-received
  .woocommerce-table__product-name
  .wc-item-meta
  li::marker {
  content: "";
}

.woocommerce-order-received
  .woocommerce-table__product-name
  .wc-item-meta
  p {
  display: inline;
}

/* ==========================================================================
   CHECKOUT - DIRECCIONES
   ========================================================================== */

.woocommerce-order-received
  .woocommerce-customer-details {
  margin: 0 !important;
}

.woocommerce-order-received
  .woocommerce-columns--addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 72px);
  margin: 0 !important;
}

.woocommerce-order-received
  .woocommerce-columns--addresses::before,
.woocommerce-order-received
  .woocommerce-columns--addresses::after {
  display: none !important;
  content: none !important;
}

.woocommerce-order-received
  .woocommerce-columns--addresses
  .woocommerce-column {
  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.woocommerce-order-received
  .woocommerce-columns--addresses
  address {
  min-height: 0;
  margin: 0 !important;
  padding: 20px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #111 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #333;
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.woocommerce-order-received
  .woocommerce-customer-details--phone,
.woocommerce-order-received
  .woocommerce-customer-details--email {
  margin: 12px 0 0 !important;
  padding-left: 0 !important;
  color: #333;
}

.woocommerce-order-received
  .woocommerce-customer-details--phone::before,
.woocommerce-order-received
  .woocommerce-customer-details--email::before {
  display: none !important;
}

/* Nota del cliente */

.woocommerce-order-received
  .woocommerce-customer-details
  .woocommerce-customer-details--note {
  margin: 32px 0 0;
  padding: 18px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* ==========================================================================
   CHECKOUT - PEDIDO RECIBIDO TABLET
   ========================================================================== */

@media (max-width: 1024px) {
  .woocommerce-order-received
    .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-order-received
    .woocommerce-order-overview
    li {
    padding: 16px 20px !important;
    border-bottom: 1px solid #ddd !important;
  }

  .woocommerce-order-received
    .woocommerce-order-overview
    li:first-child {
    padding-left: 20px !important;
  }

  .woocommerce-order-received
    .woocommerce-order-overview
    li:nth-child(2n) {
    border-right: 0 !important;
  }

  .woocommerce-order-received
    .woocommerce-order-overview
    li:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }
}

/* ==========================================================================
   CHECKOUT - PEDIDO RECIBIDO MOVIL
   ========================================================================== */

@media (max-width: 767px) {
  .woocommerce-order-received
    .woocommerce-thankyou-order-received {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .woocommerce-order-received
    .woocommerce-order-overview {
    margin-bottom: 48px !important;
    padding: 0 !important;
  }

  .woocommerce-order-received
    .woocommerce-order-overview
    li,
  .woocommerce-order-received
    .woocommerce-order-overview
    li:first-child,
  .woocommerce-order-received
    .woocommerce-order-overview
    li:last-child {
    padding: 14px 12px !important;
  }

  .woocommerce-order-received
    .woocommerce-order-overview
    li
    strong {
    font-size: 15px;
  }

  .woocommerce-order-received
    .woocommerce-order-details__title,
  .woocommerce-order-received
    .woocommerce-customer-details
    h2,
  .woocommerce-order-received
    .woocommerce-column__title {
    margin-bottom: 18px !important;
    font-size: 24px;
  }

  /* Mantener la tabla en dos columnas */

  .woocommerce-order-received
    table.woocommerce-table--order-details {
    display: table !important;
    table-layout: fixed;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    thead {
    display: table-header-group !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    tbody {
    display: table-row-group !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    tfoot {
    display: table-footer-group !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    tr {
    display: table-row !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    th,
  .woocommerce-order-received
    table.woocommerce-table--order-details
    td {
    display: table-cell !important;
    width: auto !important;
    padding: 14px 12px !important;
    font-size: 13px;
    text-align: left !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    th:first-child,
  .woocommerce-order-received
    table.woocommerce-table--order-details
    td:first-child {
    width: 62% !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    th:last-child,
  .woocommerce-order-received
    table.woocommerce-table--order-details
    td:last-child {
    width: 38% !important;
  }

  .woocommerce-order-received
    table.woocommerce-table--order-details
    td::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-order-received
    .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .woocommerce-order-received
    .woocommerce-order-details {
    margin-bottom: 52px;
  }
}