/* ================================================================
   Shopify Cart Widget — Componente completo
   1. Formulario selector de cantidad y precio
   2. Botón "Agregar al carrito", feedback y checkout link
   3. Botón flotante (toggle) y drawer lateral
   4. Steppers de cantidad dentro del drawer
   ================================================================ */

#lav-widget {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ----------------------------------------------------------------
   1. FORMULARIO SELECTOR DE CANTIDAD Y PRECIO
   ---------------------------------------------------------------- */

/* ── Card base (tema claro) — scoped al widget Shopify ── */
#lav-widget .hf-precio-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    font-family: 'Poppins', sans-serif;
    border: none !important;
    color: #1a1a1a;
    outline: none !important;
}
#lav-widget .hf-precio-card h2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f2422;
    text-align: left;
    margin-bottom: 1.5rem;
    margin-top: 0;
}
#lav-widget .lav-subtitulo-paquete {
    display: none;
    font-size: 0.72rem;
    color: #777;
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.4;
}

/* ── Precio de referencia ─────────────────────── */
.lav-precio-ref {
    display: none;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.lav-desde       { font-size: 0.78rem; color: #888; text-transform: uppercase; letter-spacing: 0.07em; }
.lav-precio-grande { font-size: 2rem; font-weight: 700; color: #42ADA5; line-height: 1; }
.lav-por-pieza   { font-size: 0.82rem; color: #888; }

/* ── Package buttons ──────────────────────────── */
.lav-pkg-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 2rem;
}
.lav-pkg-btn {
    flex: 0 0 auto;
    min-width: 100px;
}
@media (max-width: 768px) {
    .lav-pkg-grid {
        gap: 0.5rem;
    }
    .lav-pkg-btn {
        min-width: 85px;
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
}
.lav-pkg-btn {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #0f2422;
    position: relative;
    text-align: center;
}
.lav-pkg-btn:hover              { border-color: #42ADA5; }
.lav-pkg-btn.active             { border-color: #42ADA5; background: #f0faf9; }
.lav-pkg-qty                    { font-size: 0.85rem; font-weight: 600; color: #0f2422; }
.lav-pkg-precio                 { font-size: 1.1rem; font-weight: 700; color: #42ADA5; margin: 0.2rem 0; }
.lav-pkg-unit                   { font-size: 0.7rem; color: #6b7280; font-weight: 400; }
.lav-pkg-btn .lav-pkg-check     { position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: #42ADA5; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; opacity: 0; transition: opacity 0.25s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.lav-pkg-btn.active .lav-pkg-check { opacity: 1; }

/* ── Sin stock ── */
.lav-pkg-btn.lav-pkg-btn--sin-stock          { opacity: 0.55; cursor: not-allowed; }
.lav-pkg-btn.lav-pkg-btn--sin-stock:hover    { background: #fff5f5; border-color: #e0e0e0; color: #333; }
.lav-pkg-sin-stock {
    font-size: 0.60rem;
    font-weight: 700;
    color: #c0392b;
    background: rgba(192,57,43,0.10);
    border-radius: 4px;
    padding: 1px 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.6;
}
.lav-pkg-btn.active .lav-pkg-sin-stock { color: #fff; background: rgba(255,255,255,0.25); }

/* ── Stepper ──────────────────────────────────── */
.lav-qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.lav-qty-row label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f2422;
    white-space: nowrap;
    min-width: 60px;
}
.lav-qty-row .lav-shopify-add-btn {
    flex: 1;
    width: auto;
    margin: 0;
    padding: 0.75rem 1rem;
}

.lav-shopify-wa-btn {
    flex: 1;
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    color: #42ADA5;
    border: 1.5px solid #42ADA5;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.lav-qty-row .lav-shopify-wa-btn {
    flex: 1;
    width: auto;
    margin: 0;
    padding: 0.75rem 1rem;
}

.lav-shopify-wa-btn:hover {
    background: #f0faf9;
    border-color: #3a9a8f;
    color: #3a9a8f;
}

.lav-shopify-wa-btn i {
    font-size: 1.2rem;
}
.lav-stepper {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    flex: 0 0 auto;
}
.lav-step-btn {
    background: #f9fafb;
    border: none;
    color: #42ADA5;
    font-size: 1.2rem;
    font-weight: 700;
    width: 30px;
    height: 36px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lav-step-btn:hover { background: #f3f4f6; }
#lavQtyInput {
    background: transparent;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    color: #0f2422;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    width: 50px;
    height: 36px;
    padding: 0;
    -moz-appearance: textfield;
}
#lavQtyInput:focus {
    outline: none;
    background: #f9fafb;
}
#lavQtyInput::-webkit-outer-spin-button,
#lavQtyInput::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Resumen de precio ────────────────────────── */
.lav-resumen {
    display: none;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.lav-resumen-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #444;
}
.lav-resumen-row strong { font-size: 1.05rem; color: #1a1a1a; }
.lav-resumen-envio      { font-size: 0.72rem; color: #999; margin-top: 4px; }

/* ── Tabla mini de mayoreo — scoped al widget Shopify ── */
#lav-widget .lav-tabla-mini                { display: none; width: 100%; margin-bottom: 12px !important; font-size: 0.72rem !important; background: #ffffff; border-radius: 8px; overflow: hidden; border-collapse: collapse; }
#lav-widget .lav-tabla-mini thead          { background: #f5f5f5; }
#lav-widget .lav-tabla-mini thead td       { padding: 6px 8px !important; font-size: 0.68rem !important; letter-spacing: 0.04em; text-transform: uppercase; color: #888 !important; border-bottom: 1px solid #eee !important; }
#lav-widget .lav-tabla-mini thead td p     { font-size: 0.68rem !important; color: #888 !important; margin: 0 !important; }
#lav-widget .lav-tabla-mini td             { padding: 5px 8px !important; color: #333 !important; }
#lav-widget .lav-tabla-mini tbody tr       { border-bottom: 1px solid #f0f0f0 !important; }
#lav-widget .lav-tabla-mini td span,
#lav-widget .lav-tabla-mini .valor span    { font-size: 0.72rem !important; color: #333 !important; }
#lav-widget .lav-tabla-mini .valor p       { color: #333 !important; margin: 0 !important; }
#lav-widget .lav-tabla-mini .ahorro span   { color: #2e7d32 !important; font-weight: 600 !important; }

/* ----------------------------------------------------------------
   2. BOTÓN AGREGAR AL CARRITO, FEEDBACK Y CHECKOUT LINK
   ---------------------------------------------------------------- */

.lav-shopify-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1rem 1.5rem;
    color: #ffffff;
    background-color: #42ADA5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.lav-shopify-add-btn:hover:not(:disabled) { background: #3a9a8f; }
.lav-shopify-add-btn:disabled             { opacity: .65; cursor: not-allowed; }
.lav-shopify-add-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
/* ── Botón secundario (Comprar Ahora) ────────── */
.new-pkg-wa-btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1rem 1.5rem;
    color: #42ADA5;
    background-color: transparent;
    border: 1.5px solid #42ADA5;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease;
    text-decoration: none;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.new-pkg-wa-btn--outline:hover {
    background-color: #f0faf9;
    color: #3a9a8f;
    border-color: #3a9a8f;
    text-decoration: none;
}

.nota-precios {
    font-size: 0.70rem;
    color: #999;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Footer del widget */
.new-pkg-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.new-pkg-stock {
    font-size: 0.85rem;
    font-weight: 600;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.new-pkg-shipping {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
    margin-left: auto;
}

.lav-cart-feedback {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: 8px;
}
.lav-cart-feedback--ok    { color: #155724; background: #d4edda; }
.lav-cart-feedback--error { color: #721c24; background: #f8d7da; }
.lav-checkout-link {
    display: block;
    margin-top: 10px;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #42ADA5;
    text-align: center;
    text-decoration: underline;
}

/* ---- Cart Toggle (floating button) ---- */
.lav-cart-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #42ADA5;
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 8000;
    color: #fff;
    transition: background .2s;
    box-shadow: -2px 0 12px rgba(0,0,0,.18);
}
.lav-cart-toggle:hover { background: #34928b; }

@media (max-width: 767px) {
    .lav-cart-toggle {
        top: 80px;
        transform: none;
        width: 42px;
        height: 42px;
        border-radius: 6px 0 0 6px;
    }
}
.lav-toggle-count {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: Poppins, sans-serif;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    pointer-events: none;
}

/* ---- Drawer container ---- */
.lav-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
}
.lav-cart-drawer.lav-drawer--open { pointer-events: all; }

.lav-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .3s ease;
    cursor: pointer;
}
.lav-cart-drawer.lav-drawer--open .lav-drawer-overlay { opacity: 1; }

.lav-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 28px rgba(0,0,0,.18);
}
.lav-cart-drawer.lav-drawer--open .lav-drawer-panel { transform: translateX(0); }

/* Header */
.lav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.lav-drawer-title {
    font-family: Poppins, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.lav-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color .2s;
    line-height: 1;
}
.lav-drawer-close:hover { color: #111; }

/* Items list */
.lav-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 14px 20px;
}
.lav-drawer-empty {
    text-align: center;
    color: #888;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    margin-top: 48px;
}
.lav-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f2;
}
.lav-drawer-item:last-child { border-bottom: none; }
.lav-drawer-item-img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}
.lav-drawer-item-info { flex: 1; min-width: 0; }
.lav-drawer-item-title {
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lav-drawer-item-meta {
    font-family: Poppins, sans-serif;
    font-size: 12px;
    color: #777;
    margin: 0;
}
.lav-drawer-item-price {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Footer */
.lav-drawer-foot {
    padding: 16px 20px 28px;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.lav-drawer-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 5px;
}
.lav-drawer-notice {
    font-family: Poppins, sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0 0 16px;
}
.lav-drawer-btn-checkout {
    display: block;
    width: 100%;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 20px;
    color: #fff !important;
    background: #42ADA5;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background .2s;
}
.lav-drawer-btn-checkout:hover { background: #34928b; }

/* ---- Quantity stepper inside drawer ---- */
.lav-drawer-qty-ctrl {
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.lav-qty-btn {
    background: #f5f5f5;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 17px;
    font-weight: 700;
    font-family: Poppins, sans-serif;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s;
    flex-shrink: 0;
}
.lav-qty-btn:hover:not(:disabled) { background: #e0e0e0; }
.lav-qty-btn:disabled              { opacity: .4; cursor: not-allowed; }
.lav-qty-val {
    min-width: 34px;
    width: 44px;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    padding: 0 4px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
    box-shadow: none;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}
.lav-qty-val::-webkit-inner-spin-button,
.lav-qty-val::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lav-qty-val:focus { background: #f9f9f9; }

/* ----------------------------------------------------------------
   5. CONFIGURADOR DE OPCIONES (cart-widget-select)
   ---------------------------------------------------------------- */

/* ── Grupo de opciones ──────────────────────────────────────── */
.lav-option-group {
    margin-bottom: 14px;
}
.lav-option-group-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 7px;
}
.lav-option-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.lav-option-btn {
    padding: 7px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #f7f7f7;
    font-size: 0.83rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}
.lav-option-btn:hover {
    border-color: #42ADA5;
    background: #f0fafa;
    color: #2a8a84;
}
.lav-option-btn.active {
    background: #42ADA5;
    border-color: #42ADA5;
    color: #fff;
    box-shadow: none;
}

/* ── Variante seleccionada ──────────────────────────────────── */
.lav-selected-variant {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
    margin-bottom: 14px;
    font-size: 0.82rem;
}
.lav-selected-label-text {
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}
.lav-selected-variant strong {
    color: #2a8a84;
    font-weight: 600;
    line-height: 1.3;
}

/* ================================================================
   QUICK VIEW MODAL — Vista rápida de producto
   ================================================================ */

.qv-modal {
    position: fixed;
    inset: 0;
    z-index: 9100;
    pointer-events: none;
}
.qv-modal.qv-modal--open { pointer-events: all; }

.qv-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .3s ease;
    cursor: pointer;
}
.qv-modal.qv-modal--open .qv-modal-overlay { opacity: 1; }

.qv-modal-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
}
.qv-modal.qv-modal--open .qv-modal-panel {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@media (min-width: 768px) {
    .qv-modal-panel {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        max-width: 850px;
    }
}

.qv-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color .2s;
    z-index: 10;
    line-height: 1;
}
.qv-modal-close:hover { color: #111; }

.qv-modal-image {
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.qv-modal-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .qv-modal-image {
        min-height: 280px;
        order: -1;
    }
}

.qv-modal-info {
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.qv-modal-info h3 {
    font-family: Poppins, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.qv-modal-info p {
    font-family: Poppins, sans-serif;
    font-size: 0.93rem;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.5;
}

.qv-modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qv-modal-features li {
    font-family: Poppins, sans-serif;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}

.qv-modal-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #42ADA5;
    font-weight: 700;
    font-size: 0.95rem;
}

.qv-modal-variants {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.qv-variant-label {
    font-family: Poppins, sans-serif;
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.qv-variant-select {
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    font-family: Poppins, sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 36px;
}

.qv-variant-select:hover {
    border-color: #42ADA5;
    background-color: rgba(66, 173, 165, 0.03);
}

.qv-variant-select:focus {
    outline: none;
    border-color: #42ADA5;
    background-color: #f9f9f9;
}

.qv-variant-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.qv-variant-select option {
    color: #1a1a1a;
    background: #ffffff;
    padding: 8px 12px;
}

.qv-modal-info .lav-qty-row {
    margin-bottom: 14px;
}

.qv-modal-info .lav-shopify-add-btn {
    margin-top: 8px;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .qv-modal-info {
        padding: 20px 18px;
    }
    .qv-modal-info h3 {
        font-size: 1.15rem;
    }
    .qv-modal-info p {
        font-size: 0.88rem;
    }
}

/* ── Footer del carrito con estado de stock y envío ── */
.lav-pkg-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.lav-pkg-stock {
    font-size: 0.85rem;
    font-weight: 600;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.lav-pkg-shipping {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
    margin-left: auto;
}

.lav-checkout-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1rem 1.5rem;
    color: #42ADA5;
    background-color: transparent;
    border: 1.5px solid #42ADA5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-sizing: border-box;
}

.lav-checkout-link:hover {
    background: #f0faf9;
    border-color: #3a9a8f;
    color: #3a9a8f;
}

@media (max-width: 640px) {
    .lav-qty-row {
        gap: 0.5rem;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .lav-stepper {
        flex: 1;
        min-width: 140px;
    }

    .lav-qty-row .lav-shopify-add-btn {
        flex: 1;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        height: auto;
        min-height: 36px;
        margin-top: 0.5rem;
        order: 2;
        flex-basis: 100%;
    }

    .lav-pkg-stock {
        justify-content: flex-start;
    }

    .lav-pkg-shipping {
        margin-left: 0;
    }

    .lav-checkout-link {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }
}
