/*
Theme Name: Kadence Child - All Import
Theme URI: https://nuevo.allimport.com.py
Description: Tema hijo personalizado para All Import Paraguay basado en Kadence.
Author: All Import
Author URI: https://nuevo.allimport.com.py
Template: kadence
Version: 1.2.0
Text Domain: kadence-child
*/

/* Prevenir desbordamiento horizontal en todo el sitio */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative !important;
}

.allimport-header-wrapper {
    max-width: 100% !important;
    overflow: hidden !important;
}


/* 1. Ocultar cabeceras originales de Kadence y títulos grises en catálogo, carrito y checkout */
#masthead,
.site-header,
#mobile-header,
.product-archive-hero-section,
.woocommerce-products-header,
.page-id-1183 .entry-hero,
.page-id-7 .entry-hero,
.woocommerce-cart .entry-hero,
.woocommerce-checkout .entry-hero,
.woocommerce-account .entry-hero {
    display: none !important;
}

/* 2. Reseteo de espaciados base */
#inner-wrap,
#primary,
#main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.content-container.site-container {
    padding-top: 20px !important;
    max-width: 1200px !important;
}

/* 3. Cabecera Personalizada Marketplace */
.allimport-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.07);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.allimport-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top bar removed */

.allimport-main-header {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.allimport-main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}


/* Logo oficial en cabecera */
.allimport-header-logo-img {
    height: 38px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
}

.allimport-brand-logo:hover .allimport-header-logo-img {
    transform: scale(1.03) !important;
}

@media (max-width: 768px) {
    .allimport-header-logo-img {
        height: 32px !important;
    }
}

.allimport-brand-logo {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.allimport-brand-logo span {
    color: #2563eb;
}

.allimport-search-wrap {
    flex: 1;
    max-width: 580px;
}

.allimport-search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    margin: 0;
}

.allimport-search-input {
    width: 100% !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 8px 46px 8px 16px !important;
    font-size: 13px !important;
    color: #0f172a !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    height: 40px !important;
}

.allimport-search-input:focus {
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.allimport-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.allimport-search-btn:hover {
    background: #1d4ed8;
}

.allimport-actions-wrap {
    display: flex;
    align-items: center;
}

.allimport-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 14px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.allimport-cart-btn:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.allimport-cart-badge {
    color: #2563eb;
}

.allimport-cart-btn:hover .allimport-cart-badge {
    color: #60a5fa;
}

.allimport-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.allimport-nav-bar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.allimport-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-decoration: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    line-height: 1.3;
}

.allimport-nav-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.12);
}

.allimport-nav-item:active {
    transform: scale(0.97);
}

.allimport-nav-item.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}

.allimport-nav-item.is-active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
}

.allimport-nav-item.nav-item-sale {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fed7aa;
    color: #ea580c !important;
    font-weight: 800;
}

.allimport-nav-item.nav-item-sale:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    transform: translateY(-1px);
}

.allimport-nav-item.nav-item-sale.is-active {
    background: #ea580c;
    border-color: #ea580c;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.nav-item-icon {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-item-text {
    letter-spacing: -0.15px;
}

/* 4. Banner Panorámico Slim y Badges */
.allimport-hero-banner {
    position: relative !important;
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #1e293b !important;
    background: #091322 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* Botón interactivo HTML en el Banner Principal */
.allimport-hero-cta-btn {
    position: absolute !important;
    left: 6.2% !important;
    bottom: 12% !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 2 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.allimport-hero-cta-btn:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.allimport-hero-cta-btn .allimport-hero-btn-arrow {
    display: inline-block !important;
    transition: transform 0.2s ease !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.allimport-hero-cta-btn:hover .allimport-hero-btn-arrow {
    transform: translateX(4px) !important;
}

@media (max-width: 768px) {
    .allimport-hero-cta-btn {
        left: 5% !important;
        bottom: 8% !important;
        padding: 7px 16px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }
}

@media (max-width: 480px) {
    .allimport-hero-cta-btn {
        left: 4% !important;
        bottom: 6% !important;
        padding: 5px 12px !important;
        font-size: 11px !important;
    }
}

.allimport-hero-banner img {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
    display: block !important;
}

.allimport-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.allimport-badge-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.allimport-badge-icon {
    font-size: 20px;
    line-height: 1;
}

.allimport-badge-info strong {
    display: block;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
}

.allimport-badge-info span {
    display: block;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 2px !important;
}


/* 5. STEPPER DE COMPRA RESPONSIVE (1. Carrito -> 2. Datos y Pago -> 3. Confirmación) */
.allimport-stepper-wrap {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    width: 100%;
    box-sizing: border-box;
}

.allimport-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.step-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}

.stepper-step.is-active .step-circle {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.stepper-step.is-active .step-label {
    color: #0f172a;
    font-weight: 800;
}

.stepper-step.is-completed .step-circle {
    background: #0f172a;
    color: #ffffff;
}

.stepper-line {
    flex: 1 1 auto;
    height: 2px;
    background: #e2e8f0;
    margin: 0 14px;
    min-width: 20px;
}

.stepper-line.is-active {
    background: #2563eb;
}

/* 6. REDISEÑO MODERNO DE PÁGINA DE CARRITO (/cart) */
.woocommerce-cart .woocommerce-notices-wrapper {
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Ocultar alertas redundantes de 'añadido al carrito' en cart y checkout */
/* Alertas en cart y checkout ahora estilizadas de forma moderna */

/* Contenedor Grid de Carrito en 2 Columnas (Desktop) */
@media (min-width: 769px) {
    .kadence-woo-cart-form-wrap {
        display: grid !important;
        grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr) !important;
        gap: 32px !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .kadence-woo-cart-form-wrap::before,
    .kadence-woo-cart-form-wrap::after {
        display: none !important;
        content: none !important;
    }

    .woocommerce-cart-form {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cart-collaterals {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        position: sticky !important;
        top: 90px !important;
        box-sizing: border-box !important;
    }
}

.woocommerce-cart-form {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 26px 30px !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
}

.woocommerce-cart-form .cart-summary h2 {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    letter-spacing: -0.3px !important;
}

.woocommerce-cart-form table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    width: 100% !important;
}

/* Alineación Armónica y Estricta de Cabeceras */
.woocommerce-cart-form table.shop_table th {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    padding: 10px 12px 14px 12px !important;
}

.woocommerce-cart-form table.shop_table th.product-name,
.woocommerce-cart-form table.shop_table td.product-name {
    text-align: left !important;
}

.woocommerce-cart-form table.shop_table th.product-price,
.woocommerce-cart-form table.shop_table td.product-price {
    text-align: center !important;
}

.woocommerce-cart-form table.shop_table th.product-quantity,
.woocommerce-cart-form table.shop_table td.product-quantity {
    text-align: center !important;
}

.woocommerce-cart-form table.shop_table th.product-subtotal,
.woocommerce-cart-form table.shop_table td.product-subtotal {
    text-align: right !important;
}

.woocommerce-cart-form table.shop_table th.product-remove,
.woocommerce-cart-form table.shop_table td.product-remove {
    width: 38px !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 8px !important;
}

.woocommerce-cart-form table.shop_table th.product-thumbnail,
.woocommerce-cart-form table.shop_table td.product-thumbnail {
    width: 80px !important;
    text-align: center !important;
}

.woocommerce-cart-form table.shop_table td {
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    padding: 16px 12px !important;
    vertical-align: middle !important;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-cart-form .product-name a {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    transition: color 0.15s ease !important;
}

.woocommerce-cart-form .product-name a:hover {
    color: #2563eb !important;
}

/* Jerarquía de Precios: Precio unitario sutil vs Subtotal prominente */
.woocommerce-cart-form .product-price {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

.woocommerce-cart-form .product-subtotal {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

/* Botón Eliminar Estilo Píldora Circular */
.woocommerce-cart-form .product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #94a3b8 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-cart-form .product-remove a.remove:hover {
    background: #fee2e2 !important;
    border-color: #fecaca !important;
    color: #ef4444 !important;
    transform: scale(1.08) !important;
}

.woocommerce-cart-form .quantity input.qty {
    width: 58px !important;
    height: 40px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-cart-form .quantity input.qty:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.woocommerce-cart-form td.actions {
    padding-top: 20px !important;
    border-top: 1.5px solid #f1f5f9 !important;
    text-align: right !important;
}

/* Botón Actualizar Carrito: Flexbox Centrado Matemático 100% */
.woocommerce-cart-form button.button[name="update_cart"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    line-height: 1 !important;
    padding: 0 22px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.woocommerce-cart-form button.button[name="update_cart"]:hover:not(:disabled) {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
}

.woocommerce-cart-form button.button[name="update_cart"]:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

/* Tarjeta de Totales del Carrito */
.cart-collaterals {
    width: 100% !important;
    box-sizing: border-box !important;
}

.cart-collaterals .cart_totals {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
}

.cart-collaterals .cart_totals h2 {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 18px 0 !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
}

.cart-collaterals table.shop_table {
    width: 100% !important;
    border: none !important;
    margin-bottom: 20px !important;
}

.cart-collaterals table.shop_table tr,
.cart-collaterals table.shop_table th,
.cart-collaterals table.shop_table td {
    background: transparent !important;
}

.cart-collaterals table.shop_table th {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    padding: 10px 0 !important;
    border: none !important;
}

.cart-collaterals table.shop_table td {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 10px 0 !important;
    text-align: right !important;
    border: none !important;
}

.cart-collaterals table.shop_table tr.shipping td,
.cart-collaterals table.shop_table tr.woocommerce-shipping-totals td {
    text-align: left !important;
}

.cart-collaterals table.shop_table tr.order-total th {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-top: 1.5px solid #f1f5f9 !important;
    padding-top: 14px !important;
}

.cart-collaterals table.shop_table tr.order-total td {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    border-top: 1.5px solid #f1f5f9 !important;
    padding-top: 14px !important;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 48px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Badges de Confianza en Carrito con Vectores SVG */
.allimport-cart-trust {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1.5px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.cart-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.cart-trust-item .trust-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.cart-trust-item .trust-icon-shield {
    background: #eff6ff !important;
}

.cart-trust-item .trust-icon-truck {
    background: #ecfdf5 !important;
}

.cart-trust-item .trust-icon-chat {
    background: #f0fdf4 !important;
}

.cart-trust-item .trust-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.3 !important;
}

.cart-trust-item .trust-text strong {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.cart-trust-item .trust-text span {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}

/* Estado de Carrito Vacío: Tarjeta Centrada, Proporcional y Armónica */
.woocommerce-cart .woocommerce:has(.wc-empty-cart-message) {
    max-width: 500px !important;
    margin: 40px auto 60px auto !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 44px 32px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .woocommerce:has(.wc-empty-cart-message)::before {
    content: "" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 20px auto !important;
    border-radius: 50% !important;
    background: #eff6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") no-repeat center center !important;
    border: 1px solid #dbeafe !important;
}

.woocommerce-cart .wc-empty-cart-message {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.woocommerce-cart .cart-empty.woocommerce-info {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
}

.woocommerce-cart .cart-empty.woocommerce-info::before {
    display: none !important;
}

.woocommerce-cart .cart-empty.woocommerce-info::after {
    content: "Explorá nuestro catálogo y descubrí las mejores ofertas disponibles para vos." !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 8px !important;
    line-height: 1.5 !important;
}

.woocommerce-cart p.return-to-shop {
    margin: 24px 0 0 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.woocommerce-cart p.return-to-shop a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 26px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-cart p.return-to-shop a.button:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42) !important;
    color: #ffffff !important;
}

/* 7. REDISEÑO MODERNO DE PÁGINA DE CHECKOUT (/checkout) */
@media (min-width: 769px) {
    .woocommerce-checkout form.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr) !important;
        gap: 28px !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Alertas y Errores de Checkout ocupan el 100% del ancho arriba sin colapsar las 2 columnas */
    .woocommerce-checkout .woocommerce-NoticeGroup,
    .woocommerce-checkout .woocommerce-NoticeGroup-checkout {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 8px !important;
        box-sizing: border-box !important;
    }

    .woocommerce-checkout #customer_details {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-checkout #order_review {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        position: sticky !important;
        top: 90px !important;
    }
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error {
    background: #fef2f2 !important;
    border: 1.5px solid #fecaca !important;
    border-left: 5px solid #ef4444 !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin: 0 0 8px 0 !important;
    list-style: none !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.06) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error li {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #991b1b !important;
    padding: 4px 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error li::before {
    content: "⚠️" !important;
    font-size: 14px !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error li a {
    color: #b91c1c !important;
    text-decoration: none !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error li a:hover {
    text-decoration: underline !important;
}

/* Campos con error e indicaciones inline limpias */
.woocommerce-checkout p.woocommerce-invalid input.input-text,
.woocommerce-checkout p.woocommerce-invalid select {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.woocommerce-checkout p.woocommerce-invalid input.input-text:focus,
.woocommerce-checkout p.woocommerce-invalid select:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.woocommerce-checkout p.checkout-inline-error-message {
    color: #ef4444 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin: 6px 0 0 0 !important;
    display: block !important;
}

.woocommerce-checkout #customer_details {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 18px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    padding-bottom: 10px !important;
}

/* Inputs Modernos y Ergonómicos */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    height: 44px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout textarea {
    height: 90px !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

.woocommerce-checkout label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

/* Columna Derecha de Revisión y Pago */
.woocommerce-checkout #order_review_heading {
    display: none !important;
}

.woocommerce-checkout #order_review {
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border: none !important;
    margin-bottom: 18px !important;
}

.woocommerce-checkout #order_review table.shop_table th {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    padding: 8px 0 !important;
}

.woocommerce-checkout #order_review table.shop_table td {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 12px 0 !important;
}

.woocommerce-checkout #order_review .order-total td {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
}

/* Estilos para Pasarelas de Pago de Pagopar */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#payment ul.payment_methods {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    list-style: none !important;
}

#payment ul.payment_methods > li.wc_payment_method {
    position: relative !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    list-style: none !important;
    cursor: pointer !important;
    margin: 0 !important;
}

#payment ul.payment_methods > li.wc_payment_method:hover {
    border-color: #cbd5e1 !important;
    background: #fafafa !important;
}

#payment ul.payment_methods > li.wc_payment_method.active,
#payment ul.payment_methods > li.wc_payment_method:has(> input[type="radio"]:checked) {
    border-color: #2563eb !important;
    background: #f8faff !important;
    box-shadow: 0 0 0 1.5px #2563eb !important;
}

/* Radio button principal visible y en flujo natural (evita saltos bruscos de scroll) */
#payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"]:first-child {
    clip: auto !important;
    position: static !important;
    display: inline-block !important;
    margin: 0 8px 0 0 !important;
    accent-color: #2563eb !important;
    transform: scale(1.15) !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

#payment ul.payment_methods > li.wc_payment_method > label {
    display: inline !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    line-height: 1.3 !important;
}

#payment ul.payment_methods > li.wc_payment_method > label::before {
    display: none !important;
}

#payment ul.payment_methods > li.wc_payment_method > label .sub {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    margin-top: 6px !important;
}

#payment ul.payment_methods > li.wc_payment_method > label .promo {
    display: inline-block !important;
    margin-top: 8px !important;
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

#payment ul.payment_methods > li.wc_payment_method .methods_group {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 10px !important;
    width: auto !important;
}

#payment ul.payment_methods > li.wc_payment_method .methods_group img {
    max-height: 24px !important;
    height: 24px !important;
    width: auto !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    padding: 1px 2px !important;
    border: 1px solid #e2e8f0 !important;
    object-fit: contain !important;
    display: inline-block !important;
}

#payment .payment_box {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 14px 16px !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #334155 !important;
    box-shadow: none !important;
}

/* Sub-métodos Pagopar (Wepa, Aquí Pago, Pago Express, Tigo Money, Wally, etc.) */
#payment ul.pagopar_payments {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    list-style: none !important;
    width: 100% !important;
}

#payment ul.pagopar_payments > li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

#payment ul.pagopar_payments > li:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

#payment ul.pagopar_payments > li.active,
#payment ul.pagopar_payments > li:has(input[type="radio"]:checked) {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px #2563eb !important;
}

#payment ul.pagopar_payments > li label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    width: auto !important;
    flex: 1 1 auto !important;
    line-height: 1.3 !important;
}

#payment ul.pagopar_payments > li label::before {
    display: none !important;
}

#payment ul.pagopar_payments > li label input[type="radio"] {
    position: static !important;
    display: inline-block !important;
    margin: 0 !important;
    accent-color: #2563eb !important;
    transform: scale(1.15) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

#payment ul.pagopar_payments > li .methods_group {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 45% !important;
}

#payment ul.pagopar_payments > li .methods_group img {
    max-height: 24px !important;
    height: 24px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
}

.pagopar-copy {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin: 10px 0 0 0 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}

.pagopar-copy img {
    height: 16px !important;
    width: auto !important;
    display: inline-block !important;
}

/* Texto de Privacidad en Español */
.woocommerce-privacy-policy-text {
    margin-top: 14px !important;
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

.woocommerce-privacy-policy-text p {
    margin: 0 !important;
}

.woocommerce-privacy-policy-text a.woocommerce-privacy-policy-link {
    color: #2563eb !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Botón Realizar el Pedido */
.woocommerce-checkout #place_order {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    height: 50px !important;
    padding: 0 24px !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
    transition: all 0.2s ease !important;
    margin-top: 16px !important;
    cursor: pointer !important;
}

.woocommerce-checkout #place_order:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38) !important;
    transform: translateY(-1px) !important;
}

/* Badge de Seguridad al pie del checkout */
.allimport-checkout-security-badge {
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    color: #64748b !important;
    text-align: center !important;
}

.allimport-checkout-security-badge .sec-icon {
    font-size: 14px !important;
}

/* ==========================================================================
   8. ADAPTACIÓN MÓVIL (< 768px) - CARRITO, CHECKOUT Y STEPPER
   ========================================================================== */
@media (max-width: 768px) {
    .allimport-header-container {
        padding: 0 12px !important;
    }
    .allimport-main-header-inner {
        flex-wrap: wrap !important;
        gap: 8px 0 !important;
    }
    .allimport-logo-wrap {
        display: none !important;
    }
    .allimport-actions-wrap {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .allimport-search-wrap {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 6px !important;
    }

    /* Stepper en Móvil: Círculos con labels abajo y líneas proporcionales */
    .allimport-stepper-wrap {
        padding: 12px 8px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .allimport-stepper {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .stepper-step {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 3px !important;
        flex: 0 0 74px !important;
        width: 74px !important;
    }
    .stepper-line {
        flex: 1 1 auto !important;
        min-width: 8px !important;
        max-width: 36px !important;
        margin: 11px 3px 0 3px !important;
    }
    .step-circle {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
    .step-label {
        font-size: 10.5px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
        display: block !important;
        color: #475569 !important;
    }

    /* CARRITO EN MÓVIL: Apilado vertical al 100% de ancho */
    .kadence-woo-cart-form-wrap {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .kadence-woo-cart-form-wrap::before,
    .kadence-woo-cart-form-wrap::after {
        display: none !important;
        content: none !important;
    }
    .woocommerce-cart-form,
    .cart-collaterals {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        grid-column: auto !important;
        grid-row: auto !important;
        position: static !important;
        padding: 20px 16px !important;
        box-sizing: border-box !important;
    }

    /* Producto en Carrito como Tarjeta Móvil Rediseñada */
    .woocommerce-cart-form table.shop_table {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-cart-form table.shop_table tbody {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-cart-form table.shop_table thead {
        display: none !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item {
        display: grid !important;
        grid-template-columns: 72px 1fr auto !important;
        grid-template-areas:
            "thumb name remove"
            "thumb price price"
            "thumb qty subtotal" !important;
        gap: 6px 14px !important;
        align-items: center !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td {
        display: block !important;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td::before {
        display: none !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {
        grid-area: thumb !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {
        width: 72px !important;
        height: 72px !important;
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {
        grid-area: name !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-name a {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-price {
        grid-area: price !important;
        font-size: 12.5px !important;
        color: #64748b !important;
        font-weight: 600 !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity {
        grid-area: qty !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity input.qty {
        width: 52px !important;
        height: 36px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal {
        grid-area: subtotal !important;
        text-align: right !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        color: #0f172a !important;
        white-space: nowrap !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove {
        grid-area: remove !important;
        text-align: right !important;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove a.remove {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }
    .woocommerce-cart-form td.actions {
        display: block !important;
        padding: 16px 0 0 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .woocommerce-cart-form td.actions button.button[name="update_cart"] {
        width: 100% !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12.5px !important;
    }

    /* CHECKOUT EN MÓVIL: Apilado vertical */
    .woocommerce-checkout form.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout #customer_details .col-2,
    .woocommerce-checkout #order_review {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        position: static !important;
        padding: 16px 14px !important;
        box-sizing: border-box !important;
    }
    .woocommerce-checkout .col-1 .form-row-first,
    .woocommerce-checkout .col-1 .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    .allimport-trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

/* =========================================================
   1. DESHABILITAR Y OCULTAR CUPONES POR COMPLETO
   ========================================================= */
.woocommerce-form-coupon-toggle,
.woocommerce-form-coupon,
.checkout_coupon,
.coupon,
td.actions .coupon,
tr.cart-discount {
    display: none !important;
}

/* =========================================================
   2. ESTILO PREMIUM Y CONTRASTE PARA LA PGINA PRINCIPAL
   ========================================================= */
body.woocommerce-shop,
body.woocommerce-page,
#inner-wrap {
    background-color: #f8fafc !important;
}

/* Ajustes de Contenedor y Eliminacin de Espacio Muerto con Footer */
#primary.content-area,
.content-area {
    margin-bottom: 0 !important;
}

.content-container.site-container {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}

.woocommerce-cart .content-container.site-container,
.woocommerce-checkout .content-container.site-container {
    padding-bottom: 30px !important;
}

#main.site-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Cambiador de Pginas (Paginacin WooCommerce Centrada y Moderna) */
nav.woocommerce-pagination {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

nav.woocommerce-pagination ul {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav.woocommerce-pagination ul li .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

nav.woocommerce-pagination ul li span.current {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25) !important;
}

nav.woocommerce-pagination ul li a.page-numbers:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe !important;
    transform: translateY(-1px) !important;
}

/* Optimizacin del Footer: eliminar padding excesivo */
/* Optimización del Footer: tipografía elegante, sutil y padding equilibrado */
.site-bottom-footer-inner-wrap {
    padding-top: 18px !important;
    padding-bottom: 22px !important;
}

.site-bottom-footer-inner-wrap .footer-html,
.site-bottom-footer-inner-wrap .footer-html p,
.site-bottom-footer-inner-wrap .footer-html-inner,
.site-footer p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    color: #64748b !important;
    letter-spacing: 0.25px !important;
    text-align: center !important;
}

/* Barra de resultados y selector de ordenamiento */
.woocommerce-result-count {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

.woocommerce-ordering select {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #0f172a !important;
    padding: 6px 12px !important;
    height: 38px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce-ordering select:focus {
    border-color: #2563eb !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* =========================================================
   3. TARJETAS DE PRODUCTO VIBRANTES Y MODERNAS
   ========================================================= */
ul.products {
    margin-top: 15px !important;
}

ul.products li.product {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 12px 12px 16px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

/* Hover de Elevación y Borde Azul en la Tarjeta */
ul.products li.product:hover {
    transform: translateY(-6px) !important;
    border-color: #2563eb !important;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12) !important;
}

/* Contenedor de Imagen con Efecto Zoom Suave */
ul.products li.product .woocommerce-loop-image-link {
    display: block !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
}

ul.products li.product .woocommerce-loop-image-link img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
}

ul.products li.product:hover .woocommerce-loop-image-link img {
    transform: scale(1.06) !important;
}

/* Badge de Oferta / Destacado */
ul.products li.product span.onsale {
    background: #ea580c !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    top: 18px !important;
    left: 18px !important;
    right: auto !important;
    min-height: auto !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3) !important;
}

/* Contenido de la Tarjeta */
ul.products li.product .product-details {
    padding: 10px 4px 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: transparent !important;
}

/* Título del Producto */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    margin-bottom: 6px !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

ul.products li.product:hover .woocommerce-loop-product__title a {
    color: #2563eb !important;
}

/* Ocultar párrafos de descripción larga en la grilla para que las tarjetas sean limpias y parejas */
ul.products li.product .product-excerpt {
    display: none !important;
}

/* Precios en Guaraníes */
ul.products li.product .price {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 6px 0 12px !important;
    display: block !important;
}

ul.products li.product .price del {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin-right: 6px !important;
}

ul.products li.product .price ins {
    color: #ea580c !important;
    text-decoration: none !important;
}

/* Contenedor del Botón de Acción */
ul.products li.product .product-action-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
    margin-top: auto !important;
    padding: 0 !important;
}

/* BOTÓN AÑADIR AL CARRITO: DESTACADO Y CON HOVER AZUL INTENSO */
ul.products li.product a.button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button,
ul.products li.product .product-action-wrap a.button {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1.5px solid #0f172a !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

/* ESTADO HOVER: AZUL VIBRANTE CON SOMBRA ELEVADA */
ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product a.button:hover,
ul.products li.product .product-action-wrap a.button:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Icono dentro del botón */
ul.products li.product a.button svg,
ul.products li.product a.button .kadence-svg-icon {
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease !important;
}

ul.products li.product a.button:hover svg,
ul.products li.product a.button:hover .kadence-svg-icon {
    transform: translateX(3px) !important;
}

/* Estado de Producto Añadido (checkmark) */
ul.products li.product a.added_to_cart {
    display: block !important;
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    margin-top: 6px !important;
    text-decoration: none !important;
}


/* FORZAR BOTON AÑADIR AL CARRITO SIEMPRE VISIBLE CON HOVER AZUL BRILLANTE */
.woocommerce ul.products li.product .product-action-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-top: 10px !important;
    padding: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products li.product .entry-content-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product .entry-content-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap {
    transform: none !important;
    padding: 10px 4px 0 !important;
}

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .product-action-wrap a.button,
.woocommerce-page ul.products li.product a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1.5px solid #0f172a !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    cursor: pointer !important;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .product-action-wrap a.button:hover,
.woocommerce-page ul.products li.product a.button:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-2px) !important;
}


/* ==========================================================================
   PALETA GLOBAL: ELIMINAR TONOS ROJOS Y UNIFICAR CON CORPORATIVO AZUL / NAVY
   ========================================================================== */
:root,
body {
    --global-palette1: #2563eb !important;
    --global-palette2: #1d4ed8 !important;
    --global-palette10: #3b82f6 !important;
    --global-palette13: #2563eb !important;
    --global-palette14: #3b82f6 !important;
    --global-palette15: #60a5fa !important;
    --global-palette-highlight: #2563eb !important;
    --global-palette-highlight-alt: #1d4ed8 !important;
    --global-palette-btn-bg: #0f172a !important;
    --global-palette-btn-bg-hover: #2563eb !important;
    --global-palette-btn: #ffffff !important;
    --global-palette-btn-hover: #ffffff !important;
}

/* ==========================================================================
   FICHA DE PRODUCTO INDIVIDUAL (SINGLE PRODUCT)
   ========================================================================== */

/* Botón Añadir al Carrito */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0f172a !important;
    border: 1.5px solid #0f172a !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 32px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Selector de cantidad */
.woocommerce div.product form.cart div.quantity {
    margin-right: 14px !important;
    display: inline-flex !important;
}

.woocommerce div.product form.cart div.quantity input.qty {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    width: 68px !important;
    height: 48px !important;
    text-align: center !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce div.product form.cart div.quantity input.qty:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Título, Precio y Metadatos */
.woocommerce div.product .product_title {
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #0f172a !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 20px !important;
}

.woocommerce div.product .product_meta {
    font-size: 13px !important;
    color: #64748b !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 16px !important;
    margin-top: 24px !important;
}

.woocommerce div.product .product_meta a {
    color: #2563eb !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce div.product .product_meta a:hover {
    text-decoration: underline !important;
}

/* Ocultar pestaña y sección de Valoraciones */
.woocommerce div.product .woocommerce-tabs ul.tabs li.reviews_tab,
.woocommerce div.product .woocommerce-tabs #tab-reviews,
#tab-title-reviews {
    display: none !important;
}

/* Pestañas de producto modernas */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    display: flex !important;
    gap: 8px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
    display: inline-block !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
    color: #0f172a !important;
    border-bottom-color: #2563eb !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    color: #334155 !important;
    line-height: 1.7 !important;
    font-size: 15px !important;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin-bottom: 20px !important;
}

.woocommerce-breadcrumb a {
    color: #64748b !important;
    text-decoration: none !important;
}

.woocommerce-breadcrumb a:hover {
    color: #2563eb !important;
}

/* Badge de oferta si lo hay */
.woocommerce span.onsale {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

/* Ocultar enlace y mención de Kadence WP en el pie de página */
.site-footer .footer-html a[href*="kadencewp"],
.site-footer .footer-html-inner a[href*="kadencewp"] {
    display: none !important;
}



/* ==========================================================================
   PROPUESTA A: LAYOUT MARKETPLACE 3 COLUMNAS (DESKTOP & RESPONSIVE MÓVIL)
   ========================================================================== */

/* 1. Ocultar Breadcrumbs y Productos Relacionados */
.kadence-breadcrumbs-wrap,
.entry-hero-container-inner .entry-breadcrumbs,
.kadence-breadcrumbs,
.single-product .kadence-breadcrumbs-wrap,
.single-product .related.products,
.single-product .upsells.products,
.single-product .woocommerce-tabs {
    display: none !important;
}

/* 2. Forzar Visibilidad y Aspecto de Galería de Imágenes (Flexslider) */
.woocommerce-product-gallery,
.woocommerce div.product div.images {
    opacity: 1 !important;
    visibility: visible !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
    padding: 0 !important;
    overflow-x: auto !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 68px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1.5px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    border-color: #2563eb !important;
}

.woocommerce div.product div.images img {
    border-radius: 12px !important;
}

/* 3. Contenedor Principal del Producto */
.woocommerce div.product {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* ==========================================================================
   DESKTOP (min-width: 1024px): 3 Columnas Marketplace
   ========================================================================== */
@media (min-width: 1024px) {
    .woocommerce div.product {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 32px !important;
    }

    /* Columna 1: Galería (Izquierda 34%) */
    .woocommerce div.product div.images {
        flex: 0 0 34% !important;
        max-width: 34% !important;
        margin: 0 !important;
        float: none !important;
        position: sticky !important;
        top: 90px !important;
    }

    /* Columnas 2 y 3 dentro del summary (Derecha 66%) */
    .woocommerce div.product div.summary {
        flex: 0 0 calc(66% - 32px) !important;
        max-width: calc(66% - 32px) !important;
        margin: 0 !important;
        float: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* Grid dentro de summary: Columna Central + Buy Box */
    .allimport-3col-wrapper {
        display: grid !important;
        grid-template-columns: 1.35fr 1fr !important;
        grid-template-rows: auto 1fr !important;
        grid-template-areas:
            "header buybox"
            "features buybox" !important;
        gap: 16px 28px !important;
        align-items: start !important;
    }

    .allimport-header-block {
        grid-area: header !important;
    }

    .allimport-features-block {
        grid-area: features !important;
    }

    .allimport-buybox-block {
        grid-area: buybox !important;
        position: sticky !important;
        top: 90px !important;
    }
}

/* ==========================================================================
   MÓVIL Y TABLET (max-width: 1023px): Stack Natural Optimizado
   1. Galería -> 2. Título & Stock -> 3. Buy Box -> 4. Características
   ========================================================================== */
@media (max-width: 1023px) {
    .woocommerce div.product div.images {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px 0 !important;
    }

    .woocommerce div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .allimport-3col-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .allimport-header-block {
        order: 1 !important;
    }

    .allimport-buybox-block {
        order: 2 !important;
    }

    .allimport-features-block {
        order: 3 !important;
    }
}

/* ==========================================================================
   ESTILOS DE ELEMENTOS (HEADER, FEATURES, BUY BOX)
   ========================================================================== */

/* Bloque Header: Stock + SKU + Título */
.allimport-header-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.allimport-stock-sku-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.allimport-badge-stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
}

.allimport-tag-sku {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-family: monospace !important;
}

.allimport-product-heading {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
}

@media (max-width: 767px) {
    .allimport-product-heading {
        font-size: 20px !important;
    }
}

/* Bloque Características Destacadas */
.allimport-features-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.allimport-highlights-box {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.highlights-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
}

.highlights-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.highlight-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    transition: all 0.2s ease !important;
}

.highlight-item:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.highlight-check {
    color: #2563eb !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
}

.highlight-text {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
}

/* Bloque Buy Box */
.allimport-buybox-block {
    width: 100% !important;
}

.allimport-buybox-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.buybox-price-header {
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
}

.buybox-price-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.buybox-price-value {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
}

.buybox-price-value .woocommerce-Price-amount {
    color: #0f172a !important;
    font-weight: 900 !important;
}

.buybox-price-value del {
    display: inline-block !important;
    font-size: 16px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
}

.buybox-price-value del .woocommerce-Price-amount {
    font-size: 16px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

.buybox-price-value ins {
    text-decoration: none !important;
    color: #ea580c !important;
    font-weight: 900 !important;
}

.buybox-price-value ins .woocommerce-Price-amount {
    color: #ea580c !important;
}

.buybox-pagopar-chip {
    margin-top: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
}

.buybox-pagopar-chip span {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #bfdbfe !important;
    display: inline-flex !important;
    align-items: center !important;
}

.buybox-pagopar-chip small {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}

/* Formulario de Carrito en Buy Box */
.buybox-cart-form-wrap form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.buybox-cart-form-wrap form.cart div.quantity input.qty {
    width: 58px !important;
    height: 44px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    text-align: center !important;
}

.buybox-cart-form-wrap form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 44px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
}

.buybox-cart-form-wrap form.cart .single_add_to_cart_button:hover {
    background: #1e293b !important;
    transform: translateY(-1px) !important;
}

/* Botón Único de WhatsApp */
.buybox-wa-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: 44px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25) !important;
    transition: all 0.2s ease !important;
}

.buybox-wa-btn:hover {
    background: #20bd5a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(37, 211, 102, 0.35) !important;
    color: #ffffff !important;
}

/* Mini Resumen de Garantías y Envíos */
.buybox-trust-mini {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: #64748b !important;
}

.mini-trust-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.mini-trust-row .mini-icon {
    font-size: 14px !important;
}


/* Ocultar barra de scroll en scroll horizontal (categorías y miniaturas) */
.allimport-nav-bar::-webkit-scrollbar,
.allimport-nav-bar-inner::-webkit-scrollbar,
.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.allimport-nav-bar,
.allimport-nav-bar-inner,
.woocommerce div.product div.images .flex-control-thumbs {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}









/* ==========================================================================
   DROPDOWN DE ORDENAMIENTO PERSONALIZADO (PROPUESTA 1)
   ========================================================================== */
.woocommerce-ordering.allimport-ordering-form {
    margin-bottom: 0 !important;
    font-size: 13px !important;
}

.allimport-custom-dropdown {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.allimport-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none;
    outline: none;
}

.allimport-sort-btn:hover {
    border-color: #2563eb !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-1px);
}

.allimport-custom-dropdown.is-open .allimport-sort-btn {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.allimport-sort-btn .sort-active-val {
    color: #2563eb !important;
    font-weight: 800 !important;
}

.allimport-sort-btn .sort-icon-chevron {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.allimport-custom-dropdown.is-open .allimport-sort-btn .sort-icon-chevron {
    transform: rotate(180deg);
}

/* Menú flotante estilo tarjeta */
.allimport-sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

.allimport-custom-dropdown.is-open .allimport-sort-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.sort-menu-header {
    padding: 8px 12px 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
}

.sort-menu-options {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 4px;
}

.allimport-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 9px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    user-select: none;
    outline: none;
}

.allimport-sort-option:hover,
.allimport-sort-option:focus {
    background: #f8fafc;
    color: #0f172a;
}

.allimport-sort-option.is-active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 700;
}

.allimport-sort-option .opt-icon {
    display: inline-block;
    margin-right: 4px;
}

.allimport-sort-option .opt-check {
    color: #2563eb;
    font-weight: 900;
    font-size: 14px;
    margin-left: 8px;
}

@media (max-width: 600px) {
    .allimport-sort-btn {
        padding: 7px 12px !important;
        font-size: 12.5px !important;
        gap: 6px !important;
    }
    .allimport-sort-menu {
        min-width: 210px;
        right: 0;
        left: auto;
        max-width: calc(100vw - 32px);
    }
}

/* Ocultar selector de vista cuadrícula / lista */
.kadence-woo-toggle {
    display: none !important;
}


/* ==========================================================================
   NOTIFICACIONES Y ALERTAS MODERNAS DE WOOCOMMERCE
   ========================================================================== */
.woocommerce-notices-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 16px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* 1. MENSAJE DE ÉXITO (Añadido al carrito, producto eliminado, carrito actualizado) */
.woocommerce-message {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px 16px !important;
    background: #ffffff !important;
    border: 1.5px solid #86efac !important;
    border-left: 6px solid #16a34a !important;
    border-radius: 14px !important;
    padding: 13px 20px !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px -4px rgba(22, 101, 52, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03) !important;
    margin: 0 0 20px 0 !important;
    animation: allimportSlideDown 0.3s ease-out !important;
}

.woocommerce-message::before {
    content: "✓" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
    border-radius: 50% !important;
    background: #dcfce7 !important;
    color: #15803d !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    margin-right: 4px !important;
}

/* Botón 'Ver Carrito' dentro del mensaje */
.woocommerce-message .button.wc-forward,
.woocommerce-message a.button {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

.woocommerce-message .button.wc-forward:hover,
.woocommerce-message a.button:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.35) !important;
    color: #ffffff !important;
}

.woocommerce-message .button.wc-forward::after {
    content: " →" !important;
    font-weight: 800 !important;
}

/* Botón '¿Deshacer?' de producto eliminado en el carrito */
.woocommerce-message a.restore-item {
    display: inline-flex !important;
    align-items: center !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 9px !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: auto !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-message a.restore-item:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-1px) !important;
}

/* 2. MENSAJE DE ERROR (Validaciones de formulario, checkout) */
.woocommerce-error {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1.5px solid #fecaca !important;
    border-left: 6px solid #ef4444 !important;
    border-radius: 14px !important;
    padding: 14px 20px !important;
    color: #991b1b !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px -4px rgba(239, 68, 68, 0.08) !important;
    list-style: none !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce-error li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}

.woocommerce-error li::before {
    content: "⚠️" !important;
    font-size: 15px !important;
}

/* 3. MENSAJE DE INFORMACIÓN (Avisos, cupones, etc.) */
.woocommerce-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    background: #ffffff !important;
    border: 1.5px solid #bfdbfe !important;
    border-left: 6px solid #2563eb !important;
    border-radius: 14px !important;
    padding: 13px 20px !important;
    color: #1e40af !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.08) !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce-info::before {
    content: "ℹ️" !important;
    font-size: 16px !important;
    margin-right: 4px !important;
    flex: 0 0 auto !important;
}

@keyframes allimportSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .woocommerce-notices-wrapper {
        margin: 10px auto !important;
        padding: 0 14px !important;
    }
    .woocommerce-message,
    .woocommerce-info {
        padding: 12px 15px !important;
        font-size: 13px !important;
        gap: 10px !important;
    }
    .woocommerce-message .button.wc-forward,
    .woocommerce-message a.button {
        justify-content: center !important;
        width: 100% !important;
        padding: 9px 16px !important;
        margin-top: 4px !important;
    }
}



/* Seguridad total de ancho y legibilidad en métodos de pago */
#payment ul.payment_methods > li.wc_payment_method {
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
#payment ul.payment_methods > li.wc_payment_method > label {
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
}
#payment ul.payment_methods > li.wc_payment_method > label .sub {
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
}
#payment ul.pagopar_payments > li {
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
#payment ul.pagopar_payments > li label {
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

/* Ocultar cajas de pago vacías en métodos directos (Tarjetas de crédito, Transferencias, PIX) */
.payment_method_pagopar_tarjetas .payment_box,
.payment_method_pagopar_transferencia_bancaria .payment_box,
.payment_method_pagopar_pix .payment_box {
    display: none !important;
}


/* --------------------------------------------------------------------------
 * MODERNIZACIÓN DE COMPONENTES GLOBALES (FASE 1: SVG, BÚSQUEDA Y 404)
 * -------------------------------------------------------------------------- */

/* 1. Iconos Vectoriales del Cintillo de la Portada */
.allimport-badge-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
}

.allimport-badge-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.allimport-badge-icon.badge-icon-truck {
    background: #eff6ff !important;
}

.allimport-badge-icon.badge-icon-card {
    background: #ecfdf5 !important;
}

.allimport-badge-icon.badge-icon-shield {
    background: #fef3c7 !important;
}

.allimport-badge-icon.badge-icon-chat {
    background: #f0fdf4 !important;
}

/* 2. Sellos y Chips de Confianza en Buybox de Producto */
.buybox-pagopar-chip .chip-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.buybox-trust-mini .mini-trust-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

.buybox-trust-mini .mini-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.buybox-trust-mini .mini-icon-truck {
    background: #eff6ff !important;
}

.buybox-trust-mini .mini-icon-shield {
    background: #f0fdf4 !important;
}

/* 3. Botón de Zoom Flotante en Galería de Producto */
.woocommerce-product-gallery__trigger {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 16px !important;
    right: 16px !important;
    transition: all 0.2s ease !important;
    z-index: 9 !important;
}

.woocommerce-product-gallery__trigger:hover {
    background: #f8fafc !important;
    transform: scale(1.06) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15) !important;
}

.woocommerce-product-gallery__trigger::before {
    border: none !important;
}

/* 4. Tarjeta Rediseñada: Búsqueda sin Resultados */
.woocommerce-no-products-found,
.search-no-results .woocommerce-info {
    max-width: 520px !important;
    margin: 40px auto 60px auto !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 44px 32px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.woocommerce-no-products-found::before,
.search-no-results .woocommerce-info::before {
    content: "" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 18px auto !important;
    border-radius: 50% !important;
    background: #eff6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E") no-repeat center center !important;
    border: 1px solid #dbeafe !important;
}

.woocommerce-no-products-found h2,
.search-no-results .woocommerce-info {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
}

.woocommerce-no-products-found::after,
.search-no-results .woocommerce-info::after {
    content: "No encontramos productos para tu criterio de búsqueda. Probá con términos más generales o explorá nuestro catálogo." !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 10px !important;
    line-height: 1.5 !important;
}

/* Botón 'Ver todos los productos' generado debajo del aviso vacío */
.allimport-empty-search-cta {
    margin-top: 24px !important;
    text-align: center !important;
}

.allimport-empty-search-cta a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 26px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.allimport-empty-search-cta a.button:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42) !important;
    color: #ffffff !important;
}

/* 5. Tarjeta Rediseñada: Error 404 (Página no encontrada) */
.error404 .entry-content,
.error404 .page-content {
    max-width: 520px !important;
    margin: 40px auto 60px auto !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 46px 32px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
}

.error404 .entry-title,
.error404 h1.page-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
}

.error404 .entry-content::before {
    content: "404" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 18px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    margin-bottom: 16px !important;
}

.error404 p {
    font-size: 14.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}

.error404 form.search-form {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 380px !important;
    margin: 0 auto 20px auto !important;
}

.error404 form.search-form input.search-field {
    height: 44px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    width: 100% !important;
}

.error404 form.search-form button.search-submit {
    height: 44px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 0 18px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    border: none !important;
    cursor: pointer !important;
}


/* --------------------------------------------------------------------------
 * ESTILOS DE COMPONENTES: 404 Y BÚSQUEDA SIN RESULTADOS
 * -------------------------------------------------------------------------- */

/* 404 Wrapper y Card */
.allimport-404-wrapper {
    width: 100% !important;
    padding: 60px 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.allimport-404-card {
    max-width: 500px !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 44px 32px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
}

.allimport-404-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 14px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 16px !important;
}

.allimport-404-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 10px 0 !important;
}

.allimport-404-desc {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}

.allimport-404-search {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 380px !important;
    margin: 0 auto 24px auto !important;
}

.allimport-404-input {
    flex: 1 1 auto !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}

.allimport-404-input:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    outline: none !important;
}

.allimport-404-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.allimport-404-submit:hover {
    background: #1d4ed8 !important;
}

.allimport-404-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
}

.allimport-404-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 24px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.2s ease !important;
}

.allimport-404-btn-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Card de Búsqueda sin Resultados */
.allimport-empty-search-card {
    max-width: 500px !important;
    margin: 40px auto 60px auto !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 44px 32px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
}

.empty-search-icon {
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 18px auto !important;
    border-radius: 50% !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.empty-search-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 10px 0 !important;
}

.empty-search-desc {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}

.empty-search-actions .empty-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 26px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.2s ease !important;
}

.empty-search-actions .empty-search-btn:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Ocultar avisos duplicados por defecto en búsqueda */
.search-no-results .woocommerce-info {
    display: none !important;
}


/* ==========================================================================
   BOTON FLOTANTE GLOBAL DE WHATSAPP (ALL IMPORT)
   ========================================================================== */
.allimport-wa-float-wrap {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.allimport-wa-float-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    position: relative;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.allimport-wa-float-btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.allimport-wa-float-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.allimport-wa-float-btn:hover .allimport-wa-float-circle {
    background: linear-gradient(135deg, #28e06c 0%, #20c662 100%);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.allimport-wa-float-circle svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Indicador pulsante En linea */
.allimport-wa-online-pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    background-color: #22c55e;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.6);
    animation: allimport-wa-pulse 2.2s infinite;
}

@keyframes allimport-wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Tooltip / Globo de dialogo */
.allimport-wa-float-tooltip {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    position: relative;
    transition: all 0.25s ease;
    opacity: 0.98;
}

.allimport-wa-float-btn:hover .allimport-wa-float-tooltip {
    opacity: 1;
    transform: translateX(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

.allimport-wa-float-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ffffff;
}

.wa-tooltip-title {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

.wa-tooltip-action {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

/* Enlace interactivo en la tarjeta Atencion Directa de la Portada */
.allimport-badge-card-link {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.allimport-badge-card-link:hover {
    transform: translateY(-3px);
    border-color: #16a34a !important;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.14) !important;
}

.allimport-badge-card-link:hover .badge-icon-chat {
    background-color: #dcfce7 !important;
    transform: scale(1.08);
}

.allimport-badge-card-link .allimport-badge-info span {
    color: #16a34a !important;
    font-weight: 600 !important;
}

/* Responsividad para Dispositivos Moviles */
@media (max-width: 768px) {
    .allimport-wa-float-wrap {
        bottom: 20px;
        right: 18px;
    }
    .allimport-wa-float-circle {
        width: 54px;
        height: 54px;
    }
    .allimport-wa-float-circle svg {
        width: 29px;
        height: 29px;
    }
    .allimport-wa-float-tooltip {
        display: none !important;
    }
}


/* ==========================================================================
   CABECERA: ACCESOS A LOCAL COMERCIAL Y UBICACIÓN
   ========================================================================== */
/* Obsolete top-bar location button styles removed */

/* Botón Local en Fila Principal de Cabecera */
.allimport-actions-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.allimport-header-loc-btn {
    background: #f0f7ff;
    color: #1d4ed8;
    border: 1.5px solid #bfdbfe;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.allimport-header-loc-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.allimport-header-loc-btn svg {
    transition: transform 0.2s ease;
}

.allimport-header-loc-btn:hover svg {
    transform: scale(1.12);
}

.allimport-nav-item-loc {
    margin-left: auto;
    font-weight: 700 !important;
    color: #1e40af !important;
    background: #eff6ff;
    border-radius: 8px;
    padding: 6px 12px !important;
    border: 1px solid #dbeafe;
}

.allimport-nav-item-loc:hover {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

/* ==========================================================================
   PANEL LATERAL DESLIZANTE (SIDE DRAWER) DE UBICACIÓN
   ========================================================================== */
body.allimport-drawer-open {
    overflow: hidden !important;
}

.allimport-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.allimport-drawer-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.allimport-location-drawer,
.allimport-location-drawer *,
.allimport-location-drawer *::before,
.allimport-location-drawer *::after {
    box-sizing: border-box !important;
}

.allimport-location-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-width: 100vw;
    background: #ffffff;
    z-index: 9999999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.allimport-location-drawer.is-active {
    transform: translateX(0);
}

/* Cabecera del Drawer (Estilo Armonizado con el Branding de ALL IMPORT) */
.allimport-drawer-header {
    background: #ffffff;
    color: #0f172a;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.drawer-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-header-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer-header-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a !important;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.drawer-header-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    width: fit-content;
    margin-top: 1px;
}

.drawer-header-status.is-open {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.drawer-header-status.is-open .status-indicator {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: allimport-pulse-dot 1.8s infinite;
}

.drawer-header-status.is-open .status-label {
    color: #059669;
}

.drawer-header-status.is-closed {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.drawer-header-status.is-closed .status-indicator {
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
}

.drawer-header-status.is-closed .status-label {
    color: #b45309;
}

@keyframes allimport-pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Botón de Cierre del Drawer (Elegante y sin distorsión de rotación) */
.allimport-drawer-close {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    flex-shrink: 0;
}

.allimport-drawer-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
    transform: scale(1.06);
}

.allimport-drawer-close:active {
    transform: scale(0.95);
}

/* Cuerpo del Drawer */
.allimport-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
}

.allimport-drawer-body::-webkit-scrollbar {
    width: 5px;
}
.allimport-drawer-body::-webkit-scrollbar-track {
    background: transparent;
}
.allimport-drawer-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.allimport-drawer-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mapa en el Drawer */
.allimport-drawer-map-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    background: #f1f5f9;
}

.allimport-drawer-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-badge-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
}

/* Ficha de Detalles */
.allimport-drawer-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon.icon-pin { background: #eff6ff; border: 1px solid #dbeafe; }
.detail-icon.icon-ref { background: #ecfdf5; border: 1px solid #d1fae5; }
.detail-icon.icon-clock { background: #fffbeb; border: 1px solid #fef3c7; }
.detail-icon.icon-box { background: #f0fdf4; border: 1px solid #dcfce7; }

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 3px;
}

.detail-primary {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.detail-secondary {
    font-size: 11.5px;
    color: #475569;
    margin-top: 1px;
}

.detail-city {
    font-size: 11.5px;
    font-weight: 600;
    color: #2563eb;
    margin-top: 2px;
}

.detail-ref-text {
    margin: 0;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.35;
}

.detail-schedule-row {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    padding: 2px 0;
}

.schedule-days {
    color: #475569;
}

.schedule-hours {
    color: #0f172a;
    font-weight: 700;
}

.detail-schedule-row.is-closed-row .schedule-hours {
    color: #dc2626;
    font-weight: 600;
}

.detail-pickup-badge {
    font-size: 12.5px;
    font-weight: 700;
    color: #16a34a;
}

.detail-pickup-sub {
    margin: 2px 0 0 0;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
}

/* Botones de Acción GPS en Drawer */
.allimport-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 2px;
}

.drawer-btn {
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.drawer-btn-gmaps {
    background: #2563eb;
    color: #ffffff !important;
}

.drawer-btn-gmaps:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}

.drawer-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.drawer-btn-waze {
    background: #0284c7;
    color: #ffffff !important;
    font-size: 12px;
    padding: 11px 12px;
}

.drawer-btn-waze:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.3);
}

.drawer-btn-wa {
    background: #16a34a;
    color: #ffffff !important;
    font-size: 12px;
    padding: 11px 12px;
}

.drawer-btn-wa:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.3);
}

/* ==========================================================================
   ESTILOS PARA LA PÁGINA DEDICADA /ubicacion/
   ========================================================================== */
.allimport-location-page-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

.location-page-hero {
    text-align: center;
    margin-bottom: 36px;
}

.location-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-title {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.location-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.location-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

.location-map-container {
    height: 440px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.location-page-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.loc-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
}

.loc-card-avatar {
    width: 46px;
    height: 46px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.loc-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.loc-status-pill {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
}

.loc-data-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.loc-data-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.loc-data-icon {
    font-size: 18px;
    line-height: 1.2;
}

.loc-data-text strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
    margin-bottom: 2px;
}

.loc-data-text p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.loc-data-text span {
    font-size: 12px;
    color: #2563eb;
    font-weight: 500;
}

.loc-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loc-btn {
    text-decoration: none !important;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s ease;
}

.loc-btn-maps { background: #2563eb; color: #ffffff !important; }
.loc-btn-maps:hover { background: #1d4ed8; transform: translateY(-2px); }

.loc-btn-waze { background: #0891b2; color: #ffffff !important; }
.loc-btn-waze:hover { background: #0e7490; transform: translateY(-2px); }

.loc-btn-wa { background: #16a34a; color: #ffffff !important; }
.loc-btn-wa:hover { background: #15803d; transform: translateY(-2px); }

/* Responsividad Móvil */
@media (max-width: 768px) {
    
    .allimport-header-loc-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 7px 14px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }
    .allimport-header-loc-btn .loc-btn-label {
        display: inline !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: #1d4ed8 !important;
    }
    .allimport-location-drawer {
        width: 100vw;
        max-width: 100vw;
    }
    .location-page-grid {
        grid-template-columns: 1fr;
    }
    .location-map-container {
        height: 280px;
    }
}
/* Limpieza de cabecera por defecto de Kadence en pagina /ubicacion/ */
.page-id-2209 .entry-header {
    display: none !important;
}
.page-id-2209 .entry-content {
    padding-top: 0 !important;
}
/* Ajustes de perfeccionamiento movil para el Drawer de Ubicacion */
@media (max-width: 768px) {
    .allimport-location-drawer {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    .allimport-drawer-header {
        padding: 12px 16px !important;
        width: 100% !important;
    }
    .drawer-header-left {
        max-width: calc(100% - 44px) !important;
        gap: 10px !important;
    }
    .drawer-header-icon {
        width: 36px !important;
        height: 36px !important;
    }
    .drawer-header-title {
        font-size: 15px !important;
    }
    .drawer-header-status {
        font-size: 10.5px !important;
    }
    .allimport-drawer-close {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0 !important;
        margin-left: 8px !important;
    }
    .allimport-drawer-body {
        padding: 16px !important;
        width: 100% !important;
        gap: 14px !important;
    }
    .allimport-drawer-map-wrap {
        height: 180px !important;
    }
    .detail-schedule-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        padding: 3px 0 !important;
    }
    .drawer-btn-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   ALINEACIÓN Y ESTILOS DE ENVÍO Y CONFIANZA EN CARRITO Y CHECKOUT
   ========================================================================== */
#shipping_method,
ul.woocommerce-shipping-methods {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left !important;
}

#shipping_method li,
ul.woocommerce-shipping-methods li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
    line-height: 1.35 !important;
}

#shipping_method li:last-child,
ul.woocommerce-shipping-methods li:last-child {
    margin-bottom: 0 !important;
}

#shipping_method li input[type="radio"],
ul.woocommerce-shipping-methods li input[type="radio"] {
    margin: 3px 0 0 0 !important;
    flex-shrink: 0 !important;
    accent-color: #2563eb !important;
    cursor: pointer !important;
}

#shipping_method li label,
ul.woocommerce-shipping-methods li label {
    text-align: left !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    flex: 1 !important;
    margin: 0 !important;
    display: inline !important;
}

.woocommerce-shipping-destination {
    text-align: left !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
}

.woocommerce-shipping-calculator {
    text-align: left !important;
    margin-top: 6px !important;
}

.woocommerce-shipping-calculator a {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    text-decoration: underline !important;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping td,
.woocommerce-checkout #order_review table.shop_table tr.woocommerce-shipping-totals td {
    text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping th,
.woocommerce-checkout #order_review table.shop_table tr.cart-subtotal th,
.woocommerce-checkout #order_review table.shop_table tr.order-total th {
    vertical-align: top !important;
    padding-top: 12px !important;
}

.cart-trust-item .trust-icon-card {
    background: #ecfdf5 !important;
}

.cart-trust-item.cart-trust-link {
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.cart-trust-item.cart-trust-link:hover {
    opacity: 0.85 !important;
    transform: translateX(2px) !important;
}

@media (max-width: 768px) {
    .cart-collaterals table.shop_table tr.shipping,
    .cart-collaterals table.shop_table tr.woocommerce-shipping-totals {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    .cart-collaterals table.shop_table tr.shipping th,
    .cart-collaterals table.shop_table tr.woocommerce-shipping-totals th {
        width: 100% !important;
        display: block !important;
        padding-bottom: 6px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #475569 !important;
    }
    .cart-collaterals table.shop_table tr.shipping td,
    .cart-collaterals table.shop_table tr.woocommerce-shipping-totals td {
        width: 100% !important;
        display: block !important;
        padding-top: 0 !important;
    }
}

.cart-collaterals table.shop_table_responsive tr.shipping td::before,
.cart-collaterals table.shop_table_responsive tr.woocommerce-shipping-totals td::before,
.cart-collaterals table.shop_table tr.shipping td::before,
.cart-collaterals table.shop_table tr.woocommerce-shipping-totals td::before {
    display: none !important;
    content: none !important;
}


/* 3.8 Ocultar "¿Enviar a una dirección diferente?" y estilar caja informativa de retiro */
#ship-to-different-address,
.woocommerce-shipping-fields,
#shipping_address_1_field,
#shipping_city_field {
    display: none !important;
}

.allimport-pickup-info-box {
    background: #f8faff !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    margin: 8px 0 18px 0 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04) !important;
    animation: fadeInPickup 0.25s ease-out;
}

@keyframes fadeInPickup {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.allimport-pickup-info-box .pickup-notice-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.allimport-pickup-info-box .pickup-notice-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1e40af !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
}

.allimport-pickup-info-box .pickup-notice-body p {
    margin: 0 0 6px 0 !important;
    font-size: 13px !important;
    color: #334155 !important;
    line-height: 1.45 !important;
}

.allimport-pickup-info-box .pickup-badge-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin-top: 10px !important;
    padding-top: 9px !important;
    border-top: 1px dashed #cbd5e1 !important;
    font-size: 12.5px !important;
    color: #166534 !important;
    font-weight: 600 !important;
}


/* Reglas estrictas para el modo Retiro en Local vs Delivery */
form.woocommerce-checkout #allimport-pickup-notice {
    display: none !important;
}

form.woocommerce-checkout.is-pickup-selected #allimport-pickup-notice {
    display: block !important;
}

form.woocommerce-checkout.is-pickup-selected #billing_address_1_field,
form.woocommerce-checkout.is-pickup-selected #billing_state_field {
    display: none !important;
}


/* ==========================================================================
   22. REDISEÑO MODERNO DE PÁGINA DE CONFIRMACIÓN / THANK YOU PAGE
   ========================================================================== */
.allimport-thankyou-wrapper {
    max-width: 820px !important;
    margin: 0 auto 50px auto !important;
    padding: 0 16px !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

/* Ocultar elementos estándar redundantes de WooCommerce */
.allimport-thankyou-wrapper > .woocommerce-notice--success,
.allimport-thankyou-wrapper > .woocommerce-order-overview.order_details,
.allimport-thankyou-wrapper > .woocommerce-customer-details {
    display: none !important;
}

/* 1. HERO CONFIRMATION CARD */
.allimport-hero-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

.allimport-hero-card .hero-card-accent-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 6px !important;
    background: linear-gradient(90deg, #2563eb 0%, #10b981 50%, #2563eb 100%) !important;
}

.allimport-hero-card .hero-check-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    background: #ecfdf5 !important;
    border: 4px solid #d1fae5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px auto !important;
    box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.1) !important;
}

.allimport-hero-card .hero-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #dcfce7 !important;
    color: #166534 !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.allimport-hero-card .status-pulse-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #16a34a !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3) !important;
    display: inline-block !important;
}

.allimport-hero-card .hero-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.25 !important;
}

.allimport-hero-card .hero-subtitle {
    font-size: 14.5px !important;
    color: #64748b !important;
    margin: 0 auto 24px auto !important;
    max-width: 580px !important;
    line-height: 1.5 !important;
}

.allimport-hero-card .hero-subtitle strong {
    color: #1e293b !important;
}

.allimport-hero-card .order-id-badge {
    color: #2563eb !important;
    font-weight: 800 !important;
    background: #eff6ff !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #bfdbfe !important;
}

.allimport-hero-card .hero-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

.btn-whatsapp-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 13px 24px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
}

.btn-whatsapp-action:hover {
    background: #20bd5a !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.btn-store-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 22px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.btn-store-action:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* 2. TIMELINE: ¿QUÉ SUCEDERÁ AHORA? */
.allimport-timeline-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.allimport-timeline-card .timeline-heading {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
    margin: 0 0 16px 0 !important;
}

.timeline-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
}

.timeline-step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
}

.timeline-step.is-completed {
    background: #eff6ff !important;
    border-color: #dbeafe !important;
}

.timeline-step .step-badge {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #cbd5e1 !important;
    color: #475569 !important;
    flex-shrink: 0 !important;
}

.timeline-step.is-completed .step-badge {
    background: #2563eb !important;
    color: #ffffff !important;
}

.timeline-step.is-active .step-badge {
    background: #0284c7 !important;
    color: #ffffff !important;
}

.timeline-step .step-body h4 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.timeline-step .step-body p {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* 3. DETALLES DEL PEDIDO */
.allimport-order-items-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.order-items-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.order-items-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.order-meta-sub {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.payment-method-pill {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    border: 1px solid #dbeafe !important;
}

.order-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.order-item-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f8fafc !important;
    gap: 14px !important;
}

.order-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.order-item-thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.order-item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.order-item-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.order-item-name a {
    color: #1e293b !important;
    text-decoration: none !important;
}

.order-item-name a:hover {
    color: #2563eb !important;
}

.qty-badge {
    font-size: 12px !important;
    color: #64748b !important;
}

.order-item-right {
    text-align: right !important;
    flex-shrink: 0 !important;
}

.order-item-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.order-totals-breakdown {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1.5px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.order-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

.order-total-row .total-val {
    font-weight: 600 !important;
    color: #1e293b !important;
}

.order-total-row.is-grand-total {
    margin-top: 8px !important;
    padding-top: 12px !important;
    border-top: 1.5px solid #e2e8f0 !important;
    font-size: 16px !important;
    color: #0f172a !important;
}

.order-total-row.is-grand-total .total-label {
    font-weight: 800 !important;
}

.order-total-row.is-grand-total .total-val {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
}

/* 4. GRID DE INFORMACIÓN (MODALIDAD Y CONTACTO) */
.allimport-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

.info-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.info-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #2563eb !important;
    margin-bottom: 10px !important;
}

.info-card-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.info-card-desc {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

.store-hours-box {
    margin-top: 12px !important;
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    color: #475569 !important;
    line-height: 1.45 !important;
}

.shipping-city-badge {
    margin-top: 10px !important;
    display: inline-block !important;
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.contact-details-list {
    margin-top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 12.5px !important;
}

.contact-detail-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.contact-detail-row .detail-label {
    color: #94a3b8 !important;
    font-size: 11.5px !important;
}

.contact-detail-row .detail-value {
    color: #1e293b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* 5. SELLOS DE CONFIANZA AL PIE */
.allimport-thankyou-trust {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.trust-pill {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
}

.trust-pill .pill-icon {
    font-size: 18px !important;
}

.trust-pill .pill-text strong {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.trust-pill .pill-text span {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
}

/* ESTADO ERROR / FALLIDO */
.allimport-failed-card {
    background: #ffffff !important;
    border: 1px solid #fecaca !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.04) !important;
    margin-bottom: 24px !important;
}

.allimport-failed-card .failed-icon {
    margin-bottom: 16px !important;
}

.allimport-failed-card .failed-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #991b1b !important;
    margin: 0 0 10px 0 !important;
}

.allimport-failed-card .failed-desc {
    font-size: 14px !important;
    color: #64748b !important;
    max-width: 500px !important;
    margin: 0 auto 20px auto !important;
    line-height: 1.5 !important;
}

.allimport-failed-card .failed-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.btn-retry-pay {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}

.btn-failed-wa {
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}

/* RESPONSIVE MÓVIL (< 768px) */
@media (max-width: 768px) {
    .allimport-hero-card {
        padding: 30px 18px !important;
        border-radius: 20px !important;
    }

    .allimport-hero-card .hero-title {
        font-size: 21px !important;
    }

    .allimport-hero-card .hero-subtitle {
        font-size: 13px !important;
    }

    .btn-whatsapp-action,
    .btn-store-action {
        width: 100% !important;
    }

    .timeline-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .allimport-info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .allimport-thankyou-trust {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .order-items-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .order-item-row {
        align-items: flex-start !important;
    }

    .order-item-thumb {
        width: 48px !important;
        height: 48px !important;
    }

    .order-item-name {
        font-size: 13px !important;
    }
}


/* ==========================================================================
   22. REDISEÑO MODERNO DE PÁGINA DE CONFIRMACIÓN / THANK YOU PAGE
   ========================================================================== */
.allimport-thankyou-wrapper {
    max-width: 820px !important;
    margin: 0 auto 50px auto !important;
    padding: 0 16px !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

/* Ocultar elementos estándar redundantes de WooCommerce */
.allimport-thankyou-wrapper > .woocommerce-notice--success,
.allimport-thankyou-wrapper > .woocommerce-order-overview.order_details,
.allimport-thankyou-wrapper > .woocommerce-customer-details {
    display: none !important;
}

/* 1. HERO CONFIRMATION CARD */
.allimport-hero-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

.allimport-hero-card .hero-card-accent-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 6px !important;
    background: linear-gradient(90deg, #2563eb 0%, #10b981 50%, #2563eb 100%) !important;
}

.allimport-hero-card .hero-check-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    background: #ecfdf5 !important;
    border: 4px solid #d1fae5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px auto !important;
    box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.1) !important;
}

.allimport-hero-card .hero-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #dcfce7 !important;
    color: #166534 !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.allimport-hero-card .status-pulse-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #16a34a !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3) !important;
    display: inline-block !important;
}

.allimport-hero-card .hero-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.25 !important;
}

.allimport-hero-card .hero-subtitle {
    font-size: 14.5px !important;
    color: #64748b !important;
    margin: 0 auto 24px auto !important;
    max-width: 580px !important;
    line-height: 1.5 !important;
}

.allimport-hero-card .hero-subtitle strong {
    color: #1e293b !important;
}

.allimport-hero-card .order-id-badge {
    color: #2563eb !important;
    font-weight: 800 !important;
    background: #eff6ff !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #bfdbfe !important;
}

.allimport-hero-card .hero-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

.btn-whatsapp-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 13px 24px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
}

.btn-whatsapp-action:hover {
    background: #20bd5a !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.btn-store-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 22px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.btn-store-action:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* 2. TIMELINE: ¿QUÉ SUCEDERÁ AHORA? */
.allimport-timeline-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.allimport-timeline-card .timeline-heading {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
    margin: 0 0 16px 0 !important;
}

.timeline-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
}

.timeline-step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
}

.timeline-step.is-completed {
    background: #eff6ff !important;
    border-color: #dbeafe !important;
}

.timeline-step .step-badge {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #cbd5e1 !important;
    color: #475569 !important;
    flex-shrink: 0 !important;
}

.timeline-step.is-completed .step-badge {
    background: #2563eb !important;
    color: #ffffff !important;
}

.timeline-step.is-active .step-badge {
    background: #0284c7 !important;
    color: #ffffff !important;
}

.timeline-step .step-body h4 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.timeline-step .step-body p {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* 3. DETALLES DEL PEDIDO */
.allimport-order-items-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.order-items-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.order-items-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.order-meta-sub {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.payment-method-pill {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    border: 1px solid #dbeafe !important;
}

.order-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.order-item-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f8fafc !important;
    gap: 14px !important;
}

.order-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.order-item-thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.order-item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.order-item-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.order-item-name a {
    color: #1e293b !important;
    text-decoration: none !important;
}

.order-item-name a:hover {
    color: #2563eb !important;
}

.qty-badge {
    font-size: 12px !important;
    color: #64748b !important;
}

.order-item-right {
    text-align: right !important;
    flex-shrink: 0 !important;
}

.order-item-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.order-totals-breakdown {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1.5px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.order-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

.order-total-row .total-val {
    font-weight: 600 !important;
    color: #1e293b !important;
}

.order-total-row.is-grand-total {
    margin-top: 8px !important;
    padding-top: 12px !important;
    border-top: 1.5px solid #e2e8f0 !important;
    font-size: 16px !important;
    color: #0f172a !important;
}

.order-total-row.is-grand-total .total-label {
    font-weight: 800 !important;
}

.order-total-row.is-grand-total .total-val {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
}

/* 4. GRID DE INFORMACIÓN (MODALIDAD Y CONTACTO) */
.allimport-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

.info-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.info-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #2563eb !important;
    margin-bottom: 10px !important;
}

.info-card-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.info-card-desc {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

.store-hours-box {
    margin-top: 12px !important;
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    color: #475569 !important;
    line-height: 1.45 !important;
}

.shipping-city-badge {
    margin-top: 10px !important;
    display: inline-block !important;
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.contact-details-list {
    margin-top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 12.5px !important;
}

.contact-detail-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.contact-detail-row .detail-label {
    color: #94a3b8 !important;
    font-size: 11.5px !important;
}

.contact-detail-row .detail-value {
    color: #1e293b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* 5. SELLOS DE CONFIANZA AL PIE */
.allimport-thankyou-trust {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.trust-pill {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
}

.trust-pill .pill-icon {
    font-size: 18px !important;
}

.trust-pill .pill-text strong {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.trust-pill .pill-text span {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
}

/* ESTADO ERROR / FALLIDO */
.allimport-failed-card {
    background: #ffffff !important;
    border: 1px solid #fecaca !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.04) !important;
    margin-bottom: 24px !important;
}

.allimport-failed-card .failed-icon {
    margin-bottom: 16px !important;
}

.allimport-failed-card .failed-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #991b1b !important;
    margin: 0 0 10px 0 !important;
}

.allimport-failed-card .failed-desc {
    font-size: 14px !important;
    color: #64748b !important;
    max-width: 500px !important;
    margin: 0 auto 20px auto !important;
    line-height: 1.5 !important;
}

.allimport-failed-card .failed-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.btn-retry-pay {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}

.btn-failed-wa {
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}

/* RESPONSIVE MÓVIL (< 768px) */
@media (max-width: 768px) {
    .allimport-hero-card {
        padding: 30px 18px !important;
        border-radius: 20px !important;
    }

    .allimport-hero-card .hero-title {
        font-size: 21px !important;
    }

    .allimport-hero-card .hero-subtitle {
        font-size: 13px !important;
    }

    .btn-whatsapp-action,
    .btn-store-action {
        width: 100% !important;
    }

    .timeline-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .allimport-info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .allimport-thankyou-trust {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .order-items-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .order-item-row {
        align-items: flex-start !important;
    }

    .order-item-thumb {
        width: 48px !important;
        height: 48px !important;
    }

    .order-item-name {
        font-size: 13px !important;
    }
}

/* ==========================================================================
   BOTÓN Y PANEL LATERAL DE ATENCIÓN Y CONTACTO
   ========================================================================== */
.allimport-header-contact-btn {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(22, 101, 52, 0.08);
    white-space: nowrap;
}

.allimport-header-contact-btn:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.22);
}

.allimport-header-contact-btn svg {
    transition: transform 0.2s ease;
}

.allimport-header-contact-btn:hover svg {
    transform: scale(1.12);
}

.allimport-contact-drawer,
.allimport-contact-drawer *,
.allimport-contact-drawer *::before,
.allimport-contact-drawer *::after {
    box-sizing: border-box !important;
}

.allimport-contact-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-width: 100vw;
    background: #ffffff;
    z-index: 9999999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.allimport-contact-drawer.is-active {
    transform: translateX(0);
}

.contact-header-icon {
    background: #f0fdf4 !important;
}

.contact-channel-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.contact-channel-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-channel-card.wa-card {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.contact-channel-card.wa-card:hover {
    border-color: #86efac;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}

.contact-channel-card.mail-card {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.contact-channel-card.mail-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.contact-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon.wa-icon {
    background: #16a34a;
    color: #ffffff;
}

.contact-card-icon.mail-icon {
    background: #2563eb;
    color: #ffffff;
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-badge-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.contact-number {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.contact-number.email-text {
    font-size: 14.5px;
    word-break: break-all;
}

.contact-sub {
    font-size: 12px;
    color: #475569;
    line-height: 1.3;
}

.contact-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-wa-green {
    background: #16a34a;
    color: #ffffff !important;
}

.btn-wa-green:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-mail-blue {
    background: #2563eb;
    color: #ffffff !important;
}

.btn-mail-blue:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.switch-to-location-btn {
    width: 100%;
    background: #f1f5f9;
    color: #334155;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.switch-to-location-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
}

@media (max-width: 768px) {
    .allimport-contact-drawer {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    .allimport-actions-wrap {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .allimport-header-loc-btn,
    .allimport-header-contact-btn,
    .allimport-cart-btn {
        padding: 7px 8px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
        flex: 1 1 0 !important;
        justify-content: center !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }
    .allimport-header-loc-btn .loc-btn-label,
    .allimport-header-contact-btn .contact-btn-label {
        display: inline !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
    }
    .allimport-cart-text {
        display: inline !important;
        font-size: 11.5px !important;
    }
}
/* ==========================================================================
   FOOTER SOCIAL ICONS - ESTILO MINIMALISTA ELEGANTE
   ========================================================================== */
.allimport-footer-social-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 4px 0;
    text-align: center;
    width: 100%;
}
.allimport-footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.allimport-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b !important;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none !important;
}
.allimport-social-link:hover,
.allimport-social-link:focus {
    transform: translateY(-2px);
}
.allimport-social-svg {
    width: 22px;
    height: 22px;
    display: block;
}
.allimport-social-ig:hover {
    color: #E1306C !important;
}
.allimport-social-tt:hover {
    color: #000000 !important;
}
.dark .allimport-social-tt:hover {
    color: #ffffff !important;
}
.allimport-social-fb:hover {
    color: #1877F2 !important;
}
.allimport-footer-copy {
    margin: 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
}
