/*
Theme Name: Arandi Child Theme
Theme URI: https://arandi.com.ve/
Template: astra
Author: Oriana Franceschi
Description: Tema Hijo de alta fidelidad para Arandi - Estilo Trippy Pop
Version: 1.4.0
Text Domain: astra-child
*/

/* ==========================================================================
   VARIABLES DE MARCA OFICIALES - ARANDI MANUAL ENE 2026
   ========================================================================== */
:root {
    --color-canaima: #10584A;
    --color-araguaney: #F9D61B;
    --color-morrocoy: #1FB0B2;
    --color-merida: #3E3E39;
    --color-crema: #FBF9F4;
    --font-heading: 'Fraunces', serif;
    --font-body: 'Helvetica Now', 'Helvetica', 'Arial', sans-serif;
}

body { background-color: var(--color-crema) !important;}

/* 2. Forzamos a que los elementos que usan la tipografía heading carguen el peso ultra-pesado de la imagen */
h2.arandi-showcase-title,
.product-card-display-title,
.drawer-header h3,
.suggestion-title,
.category-carousel-title,
.footer-huge-pill-btn {
    font-weight: 900 !important;
}

body { font-family: var(--font-body); color: var(--color-merida); background-color: var(--color-crema);}
body.no-scroll { overflow: hidden !important;}

/* --- BARRA DE ANUNCIOS SUPERIOR (TOPBAR) --- */
.custom-topbar {
    background-color: var(--color-canaima);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    height: 40px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #000000;
    z-index: 10001;
}
.topbar-slider { width: 100%;overflow: hidden;}
.topbar-marquee-inner { display: inline-flex; white-space: nowrap;animation: marqueeAnimation 22s linear infinite;}
.topbar-marquee-inner span {padding-right: 20px;}
/* Animación del movimiento continuo de derecha a izquierda */
@keyframes marqueeAnimation {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.topbar-slide { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(15px); transition: all 0.4s ease-in-out;}
.topbar-slide.active { opacity: 1; transform: translateY(0); }

/* --- HEADER MAQUETADO CON REJILLA --- */
.custom-header { background-color: var(--color-crema); border-bottom: 3px solid #000000; position: sticky; top: 0; z-index: 1000;}
.header-container { max-width: 1400px; margin: 0 auto; padding: 14px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;}

.header-left-actions { display: flex; gap: 16px; justify-self: start; }
.header-logo { justify-self: center; }
.header-logo img { max-height: 45px; width: auto; display: block; }
.header-right-actions { display: flex; align-items: center; gap: 20px; justify-self: end; }

/* Estandarización de iconos SVG */
.action-btn svg { width: 24px; height: 24px; stroke: #000000; stroke-width: 2;display: block;}

.action-btn { background: none; border: none;padding: 8px;cursor: pointer;display: flex;align-items: center;justify-content: center;color: #000000;transition: transform 0.2s ease;}
.action-btn:hover { transform: scale(1.1) rotate(-3deg); background-color: var(--color-canaima); color: #fff; stroke: #fff;}
.action-btn svg:hover {stroke: #fff;}

/* Contador del Carrito */
.trigger-cart { position: relative; }
.cart-count { position: absolute; top: -2px; right: -2px; background: var(--color-morrocoy); color: #ffffff; font-size: 10px; font-weight: 900; border-radius: 50%; width: 18px; height: 18px;display: flex; align-items: center; justify-content: center; border: 2px solid #000000;}

/* --- OVERLAY OSCURO --- */
.header-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 9998;}
.header-overlay.active { opacity: 1; visibility: visible; }

/* PANELES LATERALES DESLIZANTES (DRAWERS) */
.drawer-panel { position: fixed; top: 0; right: 0; width: 100%; max-width: 440px; height: 100vh; background: var(--color-crema); border-left: 4px solid #000000; box-shadow: -10px 0 0px rgba(0,0,0,0.1); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 99999; display: flex; flex-direction: column;}
.drawer-panel.open { transform: translateX(0); }
.drawer-header { padding: 24px; border-bottom: 3px solid #000000; display: flex; justify-content: space-between; align-items: center; background: #ffffff;}
.drawer-header h3 { margin: 0; font-family: var(--font-heading); font-size: 1.8rem; color: #000000; }

.drawer-close svg { width: 22px; height: 22px; stroke: #000000; stroke-width: 2; display: block; }
.drawer-close { background: none; border: none; cursor: pointer; color: #000000; padding: 4px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }

.drawer-content, .drawer-content-wrapper { flex: 1; overflow-y: auto; scroll-behavior: smooth; padding: 24px; }
.drawer-content-wrapper { padding: 0; }

/* --- INTERFAZ DEL LIVE SEARCH --- */
.search-input-wrapper { position: relative; width: 100%; }
.drawer-search-field { width: 100%; padding: 14px 16px; border: 3px solid #000000; background: #ffffff; font-size: 0.95rem; font-weight: 700; border-radius: 8px; outline: none; box-shadow: 4px 4px 0px #000000;}
.drawer-search-field:focus { border-color: var(--color-canaima); }
.search-quick-tags { display: flex; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.quick-tag { background: #ffffff; border: 2px solid #000000; padding: 6px 14px; font-size: 0.8rem; border-radius: 20px; cursor: pointer; color: #000000; font-weight: 700; box-shadow: 2px 2px 0px #000000; transition: all 0.1s ease; }
.quick-tag:hover { background: var(--color-araguaney); transform: translateY(-2px); box-shadow: 3px 3px 0px #000000; }

.suggestion-title { font-family: var(--font-heading); font-size: 1.4rem; color: #000000; margin: 24px 0 16px; }

/* TARJETAS DE RECOMENDACIÓN VERTICALES */
.custom-products-suggestion-grid { display: flex; flex-direction: column; gap: 12px; }
.suggestion-product-card { background: #ffffff; border: 3px solid #000000; border-radius: 12px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 4px 4px 0px #000000; }
.suggestion-card-link { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 1; }
.suggestion-thumb-wrapper img { width: 65px; height: 65px; object-fit: cover; border-radius: 8px; border: 2px solid #000000; }
.suggestion-meta { display: flex; flex-direction: column; gap: 4px; }
.suggestion-product-card .p-title { font-size: 0.95rem; font-weight: 900; color: #000000; }
.suggestion-product-card .p-price { font-size: 0.9rem; font-weight: 700; color: var(--color-canaima); }

.btn-quick-add-ajax, .btn-select-options { background: var(--color-araguaney); color: #000000; border: 2px solid #000000; border-radius: 6px; padding: 8px 14px; font-size: 0.8rem; font-weight: 900; cursor: pointer; text-decoration: none; box-shadow: 2px 2px 0px #000000;}
.btn-quick-add-ajax:hover, .btn-select-options:hover { background: var(--color-morrocoy); color: #ffffff; }

.live-search-results-grid { display: flex; flex-direction: column; gap: 16px; }
.search-result-item a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #000000; font-weight: 700; }
.search-result-item img { width: 55px; height: 55px; object-fit: cover; border-radius: 6px; border: 2px solid #000000; }
.res-title { font-size: 0.95rem; display: block; }
.res-price { font-size: 0.88rem; color: var(--color-canaima); }

.search-no-results { text-align: center; padding: 40px 10px; font-weight: 700; }
.no-results-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* --- INTERFAZ DEL CARRITO DE COMPRAS --- */
.cart-urgency-banner { background: #fff3cd; border-bottom: 2px solid #000000; color: #856404; font-size: 0.8rem; font-weight: 700; padding: 12px 24px; text-align: center; }
.drawer-cart-items-list { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.cart-drawer-item { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 2px solid rgba(0,0,0,0.1); }
.cart-item-thumb img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 2px solid #000000; }
.cart-item-details { flex: 1; }
.cart-item-title { font-size: 0.95rem; font-weight: 900; text-decoration: none; color: #000000; display: block; margin-bottom: 4px; }
.cart-item-price { font-size: 0.9rem; font-weight: 700; color: var(--color-canaima); display: block; margin-bottom: 8px; }

.cart-item-qty-selector { display: inline-flex; align-items: center; border: 2px solid #000000; border-radius: 6px; background: #ffffff; height: 32px; overflow: hidden; box-shadow: 2px 2px 0px #000000; }
.cart-item-qty-selector button { background: none !important; border: none !important; width: auto; height: auto; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cart-item-qty-selector button svg { width: 12px; height: 12px; stroke: #000000; stroke-width: 3; }
.qty-value { font-size: 0.9rem; font-weight: 900; min-width: 24px; text-align: center; color: #000000; }

/* ==========================================================================
   AJUSTE DE BOTÓN ELIMINAR EN EL CARRITO (DRAWER)
   ========================================================================== */
.cart-item-remove {
    background: #ffffff !important; /* Fondo blanco limpio */
    border: 2px solid #000000 !important; /* Borde grueso Arandi */
    border-radius: 50% !important; /* Círculo perfecto */
    width: 38px !important; /* Ancho fijo estricto */
    height: 38px !important; /* Alto fijo estricto */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin-left: auto !important; /* Lo empuja completamente a la derecha */
    flex-shrink: 0 !important; /* Evita que el contenedor flex lo estire o deforme */
    box-shadow: 2px 2px 0px #000000 !important; /* Sombra plana pop */
    transition: all 0.1s ease !important;
    cursor: pointer;
}

/* Efecto Hover: Se hunde y cambia a rojo de alerta */
.cart-item-remove:hover {
    background-color: #cc0000 !important;
    transform: translate(-1px, -1px) scale(1.05);
    box-shadow: 3px 3px 0px #000000 !important;
}

/* Control estricto del Icono de Papelera */
.cart-item-remove svg {
    width: 20px !important; /* Tamaño fijo en píxeles, no en porcentaje */
    height: 20px !important;
    stroke: #cc0000 !important; /* Rojo por defecto para resaltar */
    fill: none !important;
    stroke-width: 2px !important;
    transition: stroke 0.1s ease !important;
    margin: 0 !important; /* Elimina márgenes residuales */
}

/* El icono pasa a blanco cuando el botón se vuelve rojo */
.cart-item-remove:hover svg {
    stroke: #ffffff !important;
}

.cart-cross-sells-wrapper { padding: 24px; background: rgba(0,0,0,0.02); border-top: 3px solid #000000; }

.drawer-cart-footer { padding: 24px; border-top: 3px solid #000000; background: #ffffff; position: sticky; bottom: 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 900; }
.total-label { font-size: 1.1rem; }
.total-amount { font-size: 1.4rem; color: var(--color-canaima); }
.tax-info { font-size: 0.78rem; color: #666666; margin: 0 0 16px; }
.cart-footer-buttons { display: flex; flex-direction: column; gap: 10px; }

.btn-view-cart, .btn-checkout { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; text-decoration: none; font-size: 0.95rem; font-weight: 900; border-radius: 8px; border: 3px solid #000000; box-shadow: 4px 4px 0px #000000; transition: all 0.1s ease;}
.btn-view-cart { background: #ffffff; color: #000000; }
.btn-checkout { background: var(--color-araguaney); color: #000000; }
.btn-view-cart:hover, .btn-checkout:hover { transform: translateY(-2px); box-shadow: 5px 5px 0px #000000; }
.btn-view-cart svg, .btn-checkout svg { width: 20px; height: 20px; stroke: #000000; stroke-width: 2; }

/* Carrito Vacío Dinámico Posicional */
.drawer-cart-empty { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; }
.drawer-cart-empty .empty-message { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 6px; color: #000000; }
.drawer-cart-empty .empty-submessage { font-size: 0.9rem; font-weight: 700; margin-bottom: 30px; color: var(--color-merida); }
.empty-cart-categories { display: flex; flex-direction: column; gap: 14px; width: 100%; margin-bottom: 24px; }

.cat-block { display: flex; align-items: center; justify-content: center; height: 75px; border-radius: 12px; text-decoration: none; color: #000000; font-family: var(--font-heading); font-size: 1.2rem; border: 3px solid #000000; box-shadow: 4px 4px 0px #000000; transition: transform 0.1s ease, box-shadow 0.1s ease;}
.cat-block:hover { transform: translateY(-3px); box-shadow: 6px 6px 0px #000000; }
.empty-cart-categories .cat-block:nth-child(1) { background-color: var(--color-araguaney); color: #fff; }
.empty-cart-categories .cat-block:nth-child(2) { background-color: var(--color-morrocoy); color: #fff; }

.btn-block-shop { background: var(--color-canaima); color: #ffffff; border: 3px solid #000000; padding: 14px; width: 100%; border-radius: 8px; font-size: 0.95rem; font-weight: 900; box-shadow: 4px 4px 0px #000000; cursor: pointer; }
.btn-block-shop:hover { background: var(--color-morrocoy);}

/* Transición de carga */
.loading-fade { opacity: 0.5; pointer-events: none; }
.drawer-loading-spinner { border: 3px solid #ffffff; border-top: 3px solid var(--color-canaima); border-radius: 50%; width: 28px; height: 28px; animation: spin 0.8s linear infinite; margin: 30px auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Menú Drawer Vertical */
.drawer-main-menu { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.drawer-main-menu li { border-bottom: 2px solid rgba(0,0,0,0.05); }
.drawer-main-menu a { display: block; padding: 18px 4px; text-decoration: none; color: #000000; font-weight: 700; font-size: 1.1rem; }
.drawer-main-menu a:hover { color: var(--color-morrocoy); padding-left: 6px; }

/* ==========================================================================
   FOOTER MODERN BLOCK (ALINEADO AL DISEÑO SOLICITADO Y MARCA ARANDI)
   ========================================================================== */
.arandi-modern-block-footer {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
}

/* --- BLOQUE SUPERIOR CLARO --- */
.footer-top-card {
    background-color: #10584A; /* Azul claro estilo del nuevo diseño */
    border-radius: 40px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

/* Elementos Decorativos */
.decor-spiral {
    position: absolute;
    top: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    z-index: 0;
}

.footer-top-left, .footer-top-right {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-top-left { padding-right: 40px; }
.footer-top-right { padding-left: 40px; }

/* Divisor central */
.footer-divider {
    width: 2px;
    background-color: rgba(15, 58, 64, 0.2); 
    border-radius: 2px;
    margin: 10px 0;
}

/* Textos Bloque Izquierdo */
.footer-huge-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    color: #fff; /* Verde oscuro intenso para contraste */
    line-height: 1.1;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    font-weight: 900;
}

.footer-mission-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mission-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0F3A40;
}

.mission-avatar img { width: 100%; height: 100%; object-fit: cover; }

.mission-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    max-width: 220px;
    margin: 0;
    line-height: 1.3;
}

.mission-link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #fff;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.mission-link:hover { color: var(--color-araguaney); }

/* Textos Bloque Derecho (Rating y Pastillas) */
.footer-rating-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    color: #ffffff; /* Estrellas en blanco como el diseño */
}

.rating-stars svg { width: 22px; height: 22px; }

.reviews-count {
    font-family: var(--font-body);
    font-weight: 900;
    color: #F9D61B;
    font-size: 0.95rem;
}

.footer-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-pill {
    font-family: var(--font-heading); 
    font-size: 1rem;
    color: #fff;
    border: 2px solid #0F3A40;
    padding: 8px 26px;
    border-radius: 50px; /* Estilo de pastilla/óvalo */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    background-color: #0F3A40;
    color: #AECBD0;
}

/* --- BLOQUE INFERIOR OSCURO --- */
.footer-bottom-card {
    background-color: #352320; /* Marrón oscuro del modelo original */
    border-radius: 20px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.fb-left, .fb-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.fb-right {
    justify-content: flex-end;
    gap: 16px;
}

.fb-center {
    flex: 1;
    text-align: center;
}

.design-credit, .follow-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #ffffff;
    opacity: 0.9;
}

.iuxtex {
    font-weight: bold;
    color: #fff;
}

.brand-logotype {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 1px;
}

.social-squares {
    display: flex;
    gap: 12px;
}

.social-squares a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px; /* Botones cuadrados con borde redondeado */
    color: #ffffff;
    transition: all 0.2s ease;
}

.social-squares a svg { width: 20px; height: 20px; }

.social-squares a:hover {
    background-color: #ffffff;
    color: #352320;
}

/* --- ADAPTACIÓN MÓVIL (RESPONSIVE) --- */
@media (max-width: 968px) {
    .footer-top-card {
        flex-direction: column;
        padding: 40px 24px;
        border-radius: 30px;
    }
    
    .footer-divider {
        width: 100%;
        height: 2px;
        margin: 40px 0;
    }
    
    .footer-top-left, .footer-top-right { padding: 0; }
    
    .footer-huge-headline {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .footer-bottom-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        border-radius: 20px;
        gap: 20px;
    }
    
    .fb-left, .fb-right, .fb-center { justify-content: center; }
    
    .fb-right {
        flex-direction: column;
        gap: 12px;
    }

    .arandi-modern-block-footer {padding: 10px 5px;}
}

/* ==========================================================================
   CARRUSEL DE CATEGORÍAS - ALINEADO A PRODUCTOS Y BANNER ARANDI
   ========================================================================== */
.arandi-category-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 48px; /* Separación consistente con las vitrinas de abajo */
}

/* El secreto del movimiento: Forzar una sola línea continua */
.arandi-category-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px !important; /* Separación igual a la de los productos */
    padding: 20px 10px !important;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.arandi-category-carousel-track::-webkit-scrollbar {
    display: none !important;
}

/* Control estricto del ancho de cada tarjeta (6 Columnas en PC) */
.carousel-slide-card {
    flex: 0 0 calc(16.666% - 20px) !important; /* 6 Columnas exactas */
    scroll-snap-align: start;
    min-width: 180px !important;
    box-sizing: border-box;
}

.category-carousel-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    width: 100%;
}

/* --- ESTILO NEO-BRUTALISTA DE LA CAJA (Idéntico a Productos) --- */
.category-carousel-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px !important; /* Esquinas consistentes con las tarjetas de abajo */
    border: 3px solid #000000 !important; /* Trazo grueso Arandi */
    box-shadow: 5px 5px 0px #000000 !important; /* Sombra plana de impacto */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    transition: transform 0.08s ease, box-shadow 0.08s ease; /* Transición mecánica rápida */
    box-sizing: border-box;
}

.category-carousel-box img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- ESTILO DEL TÍTULO INFERIOR --- */
.category-carousel-title {
    margin-top: 16px;
    font-family: var(--font-heading) !important; 
    font-size: 1rem !important; /* Tamaño equiparado a los productos */
    font-weight: normal;
    color: var(--color-canaima) !important; /* Verde oficial para unificar con el banner */
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase !important; /* Mayúsculas para mantener el peso visual */
    text-decoration: none !important;
    transition: color 0.1s ease;
}

/* --- EFECTOS FÍSICOS HOVER (Hundimiento Brutalista) --- */
.category-carousel-link:hover .category-carousel-box {
    transform: translate(-4px, -4px) !important;
    box-shadow: 9px 9px 0px #000000 !important;
}

.category-carousel-link:hover .category-carousel-box img {
    transform: scale(1.08) rotate(2deg);
}

.category-carousel-link:hover .category-carousel-title {
    color: var(--color-araguaney) !important; /* Detalle pop al pasar el cursor */
}

.category-carousel-link:active .category-carousel-box {
    transform: translate(5px, 5px) !important;
    box-shadow: 0px 0px 0px #000000 !important;
}

/* --- FLECHAS DE NAVEGACIÓN (Consistentes con las de productos) --- */
.carousel-nav-arrow {
    position: absolute;
    top: 40% !important; /* Alineado al centro de la caja visual */
    transform: translateY(-50%);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2.5px solid #000000 !important; 
    box-shadow: 3px 3px 0px #000000 !important; 
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 100 !important;
    padding: 0 !important;
    transition: all 0.1s ease;
}

.carousel-nav-arrow svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #000000 !important; 
    stroke-width: 3px !important;
    display: block !important;
    fill: none !important;
}

.carousel-nav-arrow:hover {
    background: var(--color-araguaney) !important; 
    transform: translateY(-50%) scale(1.06);
}

.carousel-nav-arrow:active {
    transform: translateY(-50%) translate(2px, 2px);
    box-shadow: 0px 0px 0px #000000 !important;
}

.arrow-left { left: -16px !important; }
.arrow-right { right: -16px !important; }

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA (Unificada a 2 columnas en móvil)
   ========================================================================== */
@media (max-width: 1200px) {
    .carousel-slide-card { flex: 0 0 calc(20% - 20px) !important; } /* 5 Cols */
}
@media (max-width: 900px) {
    .carousel-slide-card { flex: 0 0 calc(25% - 18px) !important; } /* 4 Cols */
}
@media (max-width: 768px) {
    .carousel-slide-card { 
        flex: 0 0 calc(50% - 8px) !important; /* 2 COLUMNAS ESTRICTAS */
        min-width: 140px !important; 
    } 
    .arandi-category-carousel-track { gap: 16px !important; padding: 16px 8px !important; }
    .carousel-nav-arrow { display: none !important; } /* Sin flechas en táctil */
    .category-carousel-title { font-size: 1.2rem !important; }
    .arandi-category-carousel-wrapper {margin-bottom: 0px;}
}

/* ==========================================================================
   VITRINA DE PRODUCTOS PREMIUM - ARANDI TRIPPY POP STYLE (CARRUSEL UNIVERSAL)
   ========================================================================== */
.arandi-products-section-container {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 48px;
}

.arandi-products-carousel-harness {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Base de Carrusel Permanente para Productos */
.arandi-products-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 16px 4px !important;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.arandi-products-track::-webkit-scrollbar { 
    display: none !important; 
}

/* Control estricto de tarjetas: 5 columnas exactas en PC (Fiel a tu diseño) */
.arandi-product-ux-card {
    flex: 0 0 calc(20% - 20px) !important; 
    scroll-snap-align: start;
    min-width: 220px !important; /* Mantiene proporciones cómodas */
    background: #ffffff;
    border: 3px solid #000000 !important;
    border-radius: 20px !important;
    box-shadow: 5px 5px 0px #000000 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.product-ux-card-link { 
    text-decoration: none !important; 
    color: #000000 !important; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    width: 100%; 
}

/* Caja superior de Imagen */
.product-card-visual-box {
    width: 100%; 
    height: 220px; 
    background-color: var(--color-crema) !important; 
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px; 
    box-sizing: border-box; 
    border-bottom: 3px solid #000000 !important;
}
.product-card-img-wrap img { 
    max-width: 95%; 
    max-height: 95%; 
    object-fit: contain; 
    transition: transform 0.3s ease; 
}

/* Etiqueta de descuento (Mantenida por si acaso la necesitas) */
.product-card-badge-discount {
    position: absolute; top: 16px; left: 16px; background-color: var(--color-chicle); color: #000000;
    font-family: var(--font-body); font-weight: 900; font-size: 0.85rem; padding: 6px 12px; border-radius: 12px; border: 2px solid #000000; box-shadow: 2px 2px 0px #000000; z-index: 5;
}

/* Contenedor Inferior de Textos */
.product-card-details-box { 
    padding: 20px 16px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    background: #ffffff; 
}

.product-card-brand-tag { 
    font-family: var(--font-body); 
    font-size: 0.75rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    color: var(--color-morrocoy); 
    letter-spacing: 0.5px; 
    margin-bottom: 8px; 
}

.product-card-display-title {
    font-family: var(--font-heading) !important; 
    font-size: 1.2rem !important; 
    color: #000000 !important;
    margin: 0 0 16px 0 !important; 
    line-height: 1.2 !important; 
    text-transform: none; 
    text-decoration: none !important;
}

.product-card-action-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin-top: auto; 
}

.product-card-price-render { 
    font-family: var(--font-body); 
    font-size: 1.15rem; 
    font-weight: 900; 
    color: var(--color-canaima); 
}

.product-card-arrow-action {
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    background-color: var(--color-araguaney); 
    color: #000;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 2px solid #000000; 
    transition: all 0.1s ease;
}
.product-card-arrow-action svg { 
    width: 14px; 
    height: 14px; 
    stroke: #000; 
    fill: none; 
}

/* Estilo de los encabezados de Vitrina */
.arandi-showcase-title {
    font-family: var(--font-heading) !important;
    font-size: 2.6rem !important;
    color: var(--color-canaima) !important;
    margin: 0 0 20px 4px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
}

/* Flechas Mecánicas para el modo Carrusel de Productos */
.products-nav-arrow {
    position: absolute; top: 43% !important; transform: translateY(-50%); width: 44px; height: 44px;
    border-radius: 50%; background: #ffffff !important; border: 2.5px solid #000000 !important; box-shadow: 3px 3px 0px #000000 !important;
    cursor: pointer; display: flex !important; align-items: center; justify-content: center; z-index: 90; padding: 0 !important;
}
.products-nav-arrow svg { width: 18px; height: 18px; stroke: #000000 !important; stroke-width: 3px !important; fill: none !important; }
.products-nav-arrow:hover { background: var(--color-araguaney) !important; transform: translateY(-50%) scale(1.06); }
.products-nav-arrow:active { transform: translateY(-50%) translate(2px, 2px); box-shadow: 0px 0px 0px #000000 !important; }
.products-nav-arrow.arrow-left { left: -16px !important; }
.products-nav-arrow.arrow-right { right: -16px !important; }

/* Efectos Físicos en Hover */
.arandi-product-ux-card:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0px #000000 !important; }
.arandi-product-ux-card:hover .product-card-arrow-action { background-color: #10584A; color: #fff; }
.arandi-product-ux-card:hover .product-card-arrow-action svg { stroke: #fff; transform: translateX(1px); }
.arandi-product-ux-card:active { transform: translate(5px, 5px); box-shadow: 0px 0px 0px #000000 !important; }

/* --- ADAPTACIÓN RESPONSIVA GRADUAL PARA PRODUCTOS --- */
@media (max-width: 1200px) {
    .arandi-product-ux-card { flex: 0 0 calc(25% - 18px) !important; } /* 4 Columnas en Laptops pequeñas */
}
@media (max-width: 900px) {
    .arandi-product-ux-card { flex: 0 0 calc(33.333% - 16px) !important; } /* 3 Columnas en Tablets */
}

/* ==========================================================================
   REGLA PARA MÓVILES (MÁXIMO 768PX): CARRUSEL DE 2 COLUMNAS AUTOMÁTICO
   ========================================================================== */
@media (max-width: 768px) {
    .arandi-products-track {
        gap: 16px !important;
        padding: 16px 8px !important;
    }
    .arandi-product-ux-card {
        flex: 0 0 calc(70% - 8px) !important; /* 2 Columnas exactas */
        min-width: 140px !important;
    }
    .products-nav-arrow { display: none !important; } /* Adiós flechas en móvil */
    .arandi-showcase-title { font-size: 2.2rem !important; text-align: center; margin: 0 0 12px 0 !important; }
}

/* ==========================================================================
   WOOCOMMERCE: CATÁLOGO Y TIENDA (ESTILO NEO-BRUTALISTA ARANDI)
   ========================================================================== */
.woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 3px solid #000000 !important;
    border-radius: 20px !important;
    box-shadow: 5px 5px 0px #000000 !important;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
    padding: 0 !important;
    overflow: hidden;
    text-align: left !important;
}

.woocommerce ul.products li.product:hover {
    transform: translate(-4px, -4px);
    box-shadow: 9px 9px 0px #000000 !important;
}

/* Imagen de la tarjeta */
.woocommerce ul.products li.product img {
    border-bottom: 3px solid #000000 !important;
    margin: 0 0 16px 0 !important;
    background-color: var(--color-crema);
}

/* Título del producto */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 1.2rem !important;
    color: #000000 !important;
    padding: 0 16px !important;
    margin-bottom: 10px !important;
}

/* Precio en Bs */
.woocommerce ul.products li.product .price {
    font-family: var(--font-body) !important;
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: var(--color-canaima) !important;
    padding: 0 16px !important;
    display: block;
}

/* Botón de añadir al carrito en el catálogo */
.woocommerce ul.products li.product .button {
    margin: 16px !important;
    background: var(--color-araguaney) !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    box-shadow: 3px 3px 0px #000000 !important;
    text-transform: uppercase;
    display: block;
    text-align: center;
    font-size: 0.8rem;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--color-morrocoy) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #000000 !important;
}

.ast-woo-product-category {
    padding: 0 16px !important;
    font-family: var(--font-body);
    font-size: 0.75rem !important;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-morrocoy) !important;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
}

/* ==========================================================================
   WOOCOMMERCE: PÁGINA DE PRODUCTO INDIVIDUAL
   ========================================================================== */
/* Galería de imágenes principal */
.woocommerce div.product div.images img {
    border: 3px solid #000000 !important;
    border-radius: 20px !important;
    box-shadow: 6px 6px 0px #000000 !important;
}

/* Título gigante */
.woocommerce div.product .product_title {
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    font-size: 3rem !important;
    color: var(--color-canaima) !important;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px !important;
}

/* Precio gigante */
.woocommerce div.product p.price {
    font-family: var(--font-body) !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: var(--color-merida) !important;
}

/* Selector de Cantidad */
.woocommerce .quantity .qty {
    border: 3px solid #000000 !important;
    border-radius: 8px !important;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 3px 3px 0px #000000 !important;
    height: 50px;
    width: 70px !important;
    background-color: #ffffff;
    color: #000000;
}

/* Botón Principal "Añadir al carrito" */
.woocommerce div.product form.cart .button {
    background-color: var(--color-canaima) !important;
    color: #ffffff !important;
    border: 3px solid #000000 !important;
    border-radius: 8px !important;
    box-shadow: 5px 5px 0px #000000 !important;
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    padding: 14px 30px !important;
    transition: all 0.1s ease;
    margin-left: 0px !important;
}

.woocommerce div.product form.cart .button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #000000 !important;
    background-color: var(--color-morrocoy) !important;
}

/* ==========================================================================
   WOOCOMMERCE: CHECKOUT, INPUTS Y FORMULARIOS
   ========================================================================== */
/* Cajas de texto y selectores */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"],
textarea, 
select,
.select2-container .select2-selection--single {
    border: 3px solid #000000 !important;
    border-radius: 8px !important;
    box-shadow: 4px 4px 0px #000000 !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    transition: all 0.2s ease;
}

/* Efecto al hacer clic en un input */
input[type="text"]:focus, 
input[type="email"]:focus, 
textarea:focus,
select:focus {
    outline: none !important;
    border-color: var(--color-canaima) !important;
    box-shadow: 4px 4px 0px var(--color-canaima) !important;
    transform: translateY(-2px);
}

/* Avisos de WooCommerce (Errores, "Añadido al carrito", etc.) */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
    background-color: var(--color-araguaney) !important;
    color: #000000 !important;
    border-top: none !important;
    border: 3px solid #000000 !important;
    border-radius: 12px !important;
    box-shadow: 5px 5px 0px #000000 !important;
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
}

.woocommerce-message::before, 
.woocommerce-info::before {
    color: #000000 !important;
}

/* ==========================================================================
   WOOCOMMERCE: PÁGINA DE CARRITO (/CART/)
   ========================================================================== */

/* 1. Título de la página */
.woocommerce-cart .page-title,
.woocommerce-cart .entry-title {
    font-family: var(--font-heading) !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
    color: var(--color-canaima) !important;
    text-transform: uppercase;
    margin-bottom: 30px !important;
}

/* 2. Tabla de Productos del Carrito */
.woocommerce table.shop_table.cart {
    border: 3px solid #000000 !important;
    border-radius: 20px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    box-shadow: 6px 6px 0px #000000 !important;
    background-color: #ffffff !important;
    margin-bottom: 40px !important;
}

.woocommerce table.shop_table.cart th {
    background-color: var(--color-canaima) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border-bottom: 3px solid #000000 !important;
    padding: 16px !important;
}

.woocommerce table.shop_table.cart td {
    border-bottom: 2px solid rgba(0,0,0,0.1) !important;
    padding: 16px !important;
    vertical-align: middle !important;
}

/* Imagen del producto dentro de la tabla */
.woocommerce table.cart .product-thumbnail img {
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    box-shadow: 2px 2px 0px #000000 !important;
    max-width: 80px !important;
    background-color: var(--color-crema) !important;
}

/* Nombre del producto y enlaces */
.woocommerce table.cart .product-name a {
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
}

.woocommerce table.cart .product-name a:hover {
    color: var(--color-morrocoy) !important;
}

/* Botón de eliminar (Basurero/Equis) */
.woocommerce table.shop_table.cart a.remove {
    color: #cc0000 !important;
    font-weight: 900 !important;
    border: 2px solid #000000 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    transition: transform 0.1s ease !important;
}

.woocommerce table.shop_table.cart a.remove:hover {
    background-color: #cc0000 !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

/* 3. Botón de Actualizar Carrito y Cupones */
.woocommerce table.cart td.actions .coupon .input-text {
    border: 3px solid #000000 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

.woocommerce table.cart td.actions .button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    box-shadow: 3px 3px 0px #000000 !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    transition: all 0.1s ease !important;
}

.woocommerce table.cart td.actions .button:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 5px 5px 0px #000000 !important;
    background-color: var(--color-araguaney) !important;
}

/* 4. Caja de Totales del Carrito */
.woocommerce .cart-collaterals .cart_totals, 
.woocommerce-page .cart-collaterals .cart_totals {
    background-color: var(--color-araguaney) !important;
    border: 3px solid #000000 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 6px 6px 0px #000000 !important;
    width: 100% !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    color: #000000 !important;
    border-bottom: 3px solid #000000 !important;
    padding-bottom: 14px !important;
    margin-bottom: 24px !important;
    font-size: 1.8rem !important;
    text-transform: uppercase !important;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    color: #000000 !important;
    border-top: 2px dashed rgba(0,0,0,0.2) !important;
}

.woocommerce .cart-collaterals .cart_totals table .amount {
    color: var(--color-canaima) !important;
    font-size: 1.3rem !important;
}

/* 5. Botón Finalizar Compra */
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--color-canaima) !important;
    color: #ffffff !important;
    border: 3px solid #000000 !important;
    box-shadow: 5px 5px 0px #000000 !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    padding: 16px !important;
    display: block !important;
    text-align: center !important;
    transition: all 0.1s ease !important;
    margin-top: 20px !important;
}

.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translate(-3px, -3px) !important;
    box-shadow: 8px 8px 0px #000000 !important;
    background-color: var(--color-morrocoy) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   VISTA PREVIA DE PRODUCTOS (QUICK VIEW MODAL)
   ========================================================================== */

/* Posicionar el botón de Ojo en las tarjetas */
.woocommerce ul.products li.product .product-card-visual-box, /* Para tu inicio */
.woocommerce ul.products li.product { /* Para el catálogo normal */
    position: relative;
}

.arandi-quick-view-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    
    /* El truco mágico para centrar perfectamente: */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0;
    
    color: #000000;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000000;
    z-index: 10;
    transition: all 0.1s ease;
}

.arandi-quick-view-btn svg { 
    width: 18px; 
    height: 18px; 
    stroke: #000000;
    fill: none; /* Asegura que el ojo no se pinte de negro sólido por dentro */
    display: block;
    margin: 0;
}
.arandi-quick-view-btn:hover {
    background: var(--color-araguaney);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #000000;
}

/* El Fondo Oscuro del Modal */
.arandi-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); /* Toque moderno */
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}
.arandi-modal-overlay.active { opacity: 1; visibility: visible; }

/* La Caja Pop-Up */
.arandi-modal-box {
    background: var(--color-crema);
    width: 100%;
    max-width: 900px;
    border: 4px solid #000000;
    border-radius: 20px;
    box-shadow: 10px 10px 0px #000000;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.arandi-modal-overlay.active .arandi-modal-box { transform: translateY(0) scale(1); }

/* Botón de Cerrar (Equis grande) */
.arandi-modal-close {
    right: 16px;
    font-size: 1.2rem;
     position: absolute;
    top: 16px;
    background: #fff;
    border: 2px solid #000;
     border-radius: 50%;
    width: 36px;
     height: 36px;
    display: flex;
     align-items: center;
     justify-content: center;
    padding: 0;
    color: #000;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000;
    z-index: 10;
    transition: all 0.1s ease;
}
.arandi-modal-close:hover { background: #cc0000; color: #fff; transform: scale(1.1); }
.arandi-modal-close svg { width: 20px; height: 20px; }

/* Contenedor del contenido */
.arandi-modal-content {
    overflow-y: auto;
    padding: 30px;
}

/* Grilla Interior (Imagen + Info) */
.qv-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.qv-image-box img {
    width: 100%;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 4px 4px 0px #000000;
}

.qv-brand {
    font-family: var(--font-body);
    font-weight: 900;
    color: var(--color-morrocoy);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.qv-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-canaima);
    margin: 10px 0;
    line-height: 1.1;
}

.qv-price-wrap {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 20px;
}

.qv-short-desc {
    font-family: var(--font-body);
    color: var(--color-merida);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Formularios dentro del Quick View (Botón Añadir al Carrito) */
.qv-cart-form .quantity .qty { height: 45px; }
.qv-cart-form button.single_add_to_cart_button {
    background: var(--color-canaima);
    color: #fff;
    border: 3px solid #000000;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px #000000;
    cursor: pointer;
    transition: all 0.1s ease;
}
.qv-cart-form button.single_add_to_cart_button:hover {
    background: var(--color-morrocoy);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
}
.qv-cart-form .cart{ display: grid; gap: 10px;}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .qv-grid-layout { grid-template-columns: 1fr; gap: 20px; }
    .arandi-modal-content { padding: 20px; }
    .qv-title { font-size: 1.8rem; }
}

/* ==========================================================================
   ESTILO PARA EL BOTÓN "LIMPIAR" (VARIACIONES)
   ========================================================================== */
.arandi-modal-content .reset_variations,
.woocommerce div.product form.cart .reset_variations {
    display: inline-block !important;
    margin-top: 10px;
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    color: #cc0000 !important; /* Rojo alerta */
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 6px 12px;
    border: 2px solid #cc0000;
    border-radius: 6px;
    text-decoration: none !important;
    background: #ffffff;
    box-shadow: 2px 2px 0px #cc0000;
    transition: all 0.1s ease;
}

.arandi-modal-content .reset_variations:hover,
.woocommerce div.product form.cart .reset_variations:hover {
    background: #cc0000 !important;
    color: #ffffff !important;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
    border-color: #000000;
}

/* ==========================================================================
   BOTÓN REMOVEDOR DEL BUSCADOR
   ========================================================================== */
.search-input-wrapper {
    position: relative; /* Ya lo tenías, asegura la posición absoluta del botón */
}

/* Evitar que el texto largo choque con el botón de limpiar */
.drawer-search-field {
    padding-right: 46px !important;
}

/* Estilo del botón X */
.search-clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    padding: 6px !important;
    cursor: pointer;
    display: block;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

/* Se muestra únicamente cuando añadimos la clase mediante JS */
.search-clear-btn.visible {
    display: flex !important;
}

.search-clear-btn svg {
    width: 18px;
    height: 18px;
    stroke: #888888; /* Gris sutil inicial */
    transition: stroke 0.1s ease, transform 0.1s ease;
}

/* Efecto hover estilo Arandi */
.search-clear-btn:hover svg {
    stroke: #cc0000; /* Pasa a rojo alerta */
    transform: scale(1.15) rotate(90deg); /* Pequeño giro divertido */
}

/* ==========================================================================
   DISEÑO DE LOS BOTONES DE VARIACIONES (SWATCHES)
   ========================================================================== */

/* Limpiar la tabla por defecto de WooCommerce */
.woocommerce div.product form.cart .variations th {
    display: block;
    text-align: left;
    padding-bottom: 8px !important;
    font-family: var(--font-heading) !important;
    color: var(--color-canaima);
    font-size: 1.1rem;
}

.woocommerce div.product form.cart .variations td {
    display: block;
    padding-bottom: 20px !important;
}

/* Contenedor de las pastillas */
.arandi-swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Estilo base del botón */
.arandi-swatch-btn {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 3px 3px 0px #000000;
    transition: all 0.1s ease;
}

/* Efecto al pasar el mouse */
.arandi-swatch-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
    background-color: var(--color-araguaney);
}

/* Estado activo (Cuando está seleccionado) */
.arandi-swatch-btn.active {
    background-color: var(--color-canaima);
    color: #ffffff;
    transform: translate(3px, 3px);
    box-shadow: 0px 0px 0px #000000;
    border-color: #000000;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled {
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   WOOCOMMERCE: PAGINACIÓN NEO-BRUTALISTA ARANDI
   ========================================================================== */

/* Contenedor principal de la paginación */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px !important;
    text-align: center !important;
}

/* Flexbox para alinear y separar los botones */
.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 12px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
}

/* Limpiar los estilos de lista nativos */
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
}

/* Estilo base de cada "pastilla" de número */
.woocommerce nav.woocommerce-pagination ul li .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    box-shadow: 3px 3px 0px #000000 !important;
    transition: all 0.1s ease !important;
}

/* Efecto al pasar el mouse por los enlaces (Hover) */
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
    background-color: var(--color-araguaney) !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 5px 5px 0px #000000 !important;
    color: #000000 !important;
}

/* Página actual activa (Estado presionado) */
.woocommerce nav.woocommerce-pagination ul li span.current.page-numbers {
    background-color: var(--color-canaima) !important;
    color: #ffffff !important;
    transform: translate(3px, 3px) !important;
    box-shadow: 0px 0px 0px #000000 !important; /* Pierde la sombra para verse "hundido" */
    cursor: default !important;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    display: grid;
    gap: 10px;
}

.ahfb-svg-iconset {
    display: none;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: none;
    box-sizing: border-box;
    margin-bottom: 1em;
    background-color: #10584A;
    color: #fff !important;
    padding: 10px 0px !important;
    border: 2px solid #000 !important;
    border-radius: 8px !important;
    font-family: inherit;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    box-shadow: 2px 2px 0px #000 !important;
    display: inline-block !important;
    letter-spacing: 0.5px;
}

.woocommerce form.checkout_coupon .button[name="apply_coupon"] {
    width: 100%;
    float: none;
    box-sizing: border-box;
    margin-bottom: 1em;
    background-color: #10584A;
    color: #fff !important;
    padding: 10px 0px !important;
    border: 2px solid #000 !important;
    border-radius: 8px !important;
    font-family: inherit;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    box-shadow: 2px 2px 0px #000 !important;
    display: inline-block !important;
    letter-spacing: 0.5px;
}
.button.wc-backward {
    float: none;
    box-sizing: border-box;
    margin-bottom: 1em !important;
    background-color: #10584A !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border: 2px solid #000 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    box-shadow: 2px 2px 0px #000 !important;
    display: inline-block !important;
    letter-spacing: 0.5px;
}