/* ============================================================
   Atempero Product Showcase — Dark Elegant Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&family=Lato:wght@300;400;700&display=swap');

.atempero-showcase-wrapper {
    --color-primary:     #b99272;
    --color-primary-lt:  #cba882;
    --color-bg:          #111111;
    --color-card:        #1a1a1a;
    --color-card-hover:  #222222;
    --color-border:      rgba(185,146,114,0.2);
    --color-text:        #f0ebe3;
    --color-text-muted:  #888880;
    --color-white:       #ffffff;
    --font-serif:        'Oswald', sans-serif;
    --font-sans:         'Lato', Arial, sans-serif;
    --radius-card:       4px;
    --shadow-card:       0 4px 32px rgba(0,0,0,.5);
    --shadow-hover:      0 8px 48px rgba(185,146,114,.15), 0 2px 16px rgba(0,0,0,.6);
    --transition:        0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-sans);
    color: var(--color-text);
    box-sizing: border-box;
    background: transparent;
}
.atempero-showcase-wrapper *, .atempero-showcase-wrapper *::before, .atempero-showcase-wrapper *::after { box-sizing: inherit; }

.atempero-showcase-header { text-align: center; margin-bottom: 56px; }
.atempero-showcase-eyebrow { display: inline-block; font-family: var(--font-sans); font-size: 10px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--color-primary); margin-bottom: 16px; }
.atempero-showcase-title { font-family: var(--font-serif) !important; font-size: clamp(32px, 4vw, 52px) !important; font-weight: 400 !important; color: var(--color-white) !important; margin: 0 0 28px !important; line-height: 1.15 !important; letter-spacing: 1px !important; }
.atempero-showcase-divider { display: flex; align-items: center; justify-content: center; gap: 16px; }
.atempero-showcase-divider span { display: block; width: 80px; height: 1px; background: linear-gradient(to right, transparent, var(--color-primary)); }
.atempero-showcase-divider span:last-child { background: linear-gradient(to left, transparent, var(--color-primary)); }
.atempero-showcase-divider svg path { fill: var(--color-primary); }

.atempero-showcase-grid { display: grid; gap: 24px; }
.atempero-cols-1 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.atempero-cols-2 { grid-template-columns: repeat(2, 1fr); }
.atempero-cols-3 { grid-template-columns: repeat(3, 1fr); }
.atempero-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .atempero-cols-4, .atempero-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .atempero-cols-2, .atempero-cols-3, .atempero-cols-4 { grid-template-columns: 1fr; } }

.atempero-product-card { background: var(--color-card); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); border: 1px solid var(--color-border); position: relative; }
.atempero-product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); background: var(--color-card-hover); border-color: rgba(185,146,114,0.5); }
.atempero-product-card.atempero-featured { border-color: rgba(185,146,114,0.35); }

.atempero-card-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0a0a; }
.atempero-card-image-link { display: block; width: 100%; height: 100%; }
.atempero-card-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s; filter: brightness(0.88); }
.atempero-product-card:hover .atempero-card-image { transform: scale(1.07); filter: brightness(1); }
.atempero-card-image-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.65) 100%); pointer-events: none; }

.atempero-card-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.atempero-badge { font-family: var(--font-sans); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; border-radius: 5px; line-height: 1.4; }
.atempero-badge img.emoji { display: none !important; }
.atempero-badge-primary { background: var(--color-primary); color: #111; }
.atempero-badge-secondary { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.atempero-badge-oos { background: rgba(255,255,255,0.08); color: #666; border: 1px solid rgba(255,255,255,0.1); }

.atempero-wishlist-btn { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(255,255,255,0.4); transition: color var(--transition), border-color var(--transition); backdrop-filter: blur(8px); }
.atempero-wishlist-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.atempero-wishlist-btn.active { color: var(--color-primary); }

.atempero-card-body { padding: 24px 24px 14px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.atempero-card-body::after { content: ''; display: block; width: 36px; height: 1px; background: var(--color-primary); opacity: 0.35; margin-top: 4px; }

.atempero-card-rating { display: flex; align-items: center; gap: 6px; }
.atempero-stars { display: flex; gap: 2px; }
.atempero-star { color: rgba(255,255,255,0.12); }
.atempero-star.filled { color: var(--color-primary); }
.atempero-rating-count { font-size: 11px; color: var(--color-text-muted); }

.atempero-card-title { font-family: var(--font-serif) !important; font-size: 22px !important; font-weight: 400 !important; line-height: 1.25 !important; margin: 0 !important; color: var(--color-white) !important; letter-spacing: 0.3px !important; }
.atempero-card-title a { color: inherit !important; text-decoration: none !important; transition: color var(--transition); }
.atempero-card-title a:hover { color: var(--color-primary) !important; }

.atempero-card-includes { font-family: var(--font-serif); font-size: 15px; font-weight: 300; font-style: italic; color: rgba(240,235,227,0.55); margin: 0; display: flex; align-items: flex-start; gap: 6px; line-height: 1.6; }
.atempero-card-includes svg { flex-shrink: 0; margin-top: 3px; color: var(--color-primary); }
.atempero-card-desc { font-size: 13px; color: rgba(240,235,227,0.5); margin: 0; line-height: 1.7; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.atempero-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.atempero-meta-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-primary); background: rgba(185,146,114,0.07); border: 1px solid rgba(185,146,114,0.2); border-radius: 5px; padding: 5px 12px; }

.atempero-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px 22px; border-top: 1px solid rgba(255,255,255,0.05); gap: 12px; }

.atempero-card-price .woocommerce-Price-amount,
.atempero-card-price .price { font-family: var(--font-serif) !important; font-size: 26px !important; font-weight: 300 !important; color: var(--color-primary) !important; line-height: 1.2; letter-spacing: 0.5px; }
.atempero-card-price del { font-size: 13px !important; color: rgba(255,255,255,0.2) !important; font-weight: 300 !important; }
.atempero-card-price ins { text-decoration: none !important; }

.atempero-card-actions { display: flex; align-items: center; gap: 8px; }

.atempero-btn-cart { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--color-primary) !important; border: 1px solid var(--color-primary); border-radius: 5px; padding: 10px 20px; font-family: var(--font-sans); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; text-decoration: none !important; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.atempero-btn-cart:hover:not(.atempero-btn-oos) { background: var(--color-primary); color: #111 !important; }
.atempero-btn-cart.atempero-btn-oos { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.2) !important; cursor: not-allowed; }
.atempero-btn-cart.atempero-loading { opacity: 0.6; pointer-events: none; }
.atempero-btn-cart.atempero-added { background: rgba(185,146,114,0.12); }

.atempero-btn-detail { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.3) !important; transition: border-color var(--transition), color var(--transition); text-decoration: none !important; flex-shrink: 0; }
.atempero-btn-detail:hover { border-color: var(--color-primary); color: var(--color-primary) !important; }

.atempero-showcase-empty { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }
.atempero-showcase-empty p { font-size: 13px; margin: 16px 0 0; letter-spacing: 1px; }

.atempero-toast { position: fixed; bottom: 28px; right: 28px; z-index: 99999; background: #1a1a1a; border: 1px solid rgba(185,146,114,0.3); color: var(--color-text); font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.5px; padding: 14px 20px; border-radius: 5px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,.6); transform: translateY(80px); opacity: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; max-width: 320px; pointer-events: none; }
.atempero-toast.atempero-toast-show { transform: translateY(0); opacity: 1; }
.atempero-toast-success .atempero-toast-icon::before { content: '✓'; color: var(--color-primary); font-weight: bold; }
.atempero-toast-error .atempero-toast-icon::before { content: '✕'; color: #f44336; font-weight: bold; }

/* ── Página de producto individual (WooCommerce) ────────────── */
.woocommerce div.product .product_title {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #b99272 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 30px !important;
    font-weight: 300 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Lato', sans-serif !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button {
    background: transparent !important;
    color: #b99272 !important;
    border: 1px solid #b99272 !important;
    border-radius: 5px !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover {
    background: #b99272 !important;
    color: #111111 !important;
}

/* ============================================================
   Carrito WhatsApp
   ============================================================ */

/* Botón flotante */
#atempero-cart-fab {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 9998;
    width: 52px;
    height: 52px;
    background: #1a1a1a;
    border: 1px solid rgba(185,146,114,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #b99272;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
#atempero-cart-fab:hover {
    background: #b99272;
    color: #111;
    border-color: #b99272;
    transform: scale(1.08);
}

/* Burbuja contador */
#atempero-cart-bubble {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #b99272;
    color: #111;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Overlay */
#atempero-cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    backdrop-filter: blur(4px);
}
#atempero-cart-overlay.open { display: block; }

/* Panel */
#atempero-cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95vw;
    height: 100vh;
    background: #141414;
    border-left: 1px solid rgba(185,146,114,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -8px 0 48px rgba(0,0,0,0.6);
}
#atempero-cart-panel.open { right: 0; }

/* Header */
.atempero-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(185,146,114,0.15);
}
.atempero-cart-header-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}
#atempero-cart-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
#atempero-cart-close:hover { color: #b99272; }

/* Items */
#atempero-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
#atempero-cart-items::-webkit-scrollbar { width: 4px; }
#atempero-cart-items::-webkit-scrollbar-track { background: transparent; }
#atempero-cart-items::-webkit-scrollbar-thumb { background: rgba(185,146,114,0.3); border-radius: 5px; }

/* Empty */
.atempero-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.25);
}
.atempero-cart-empty svg { margin: 0 auto 16px; display: block; }
.atempero-cart-empty p {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0;
}

/* Fila de producto */
.atempero-cart-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.atempero-cart-row-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.atempero-cart-row-name {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.5px;
}
.atempero-cart-row-price {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    color: #b99272;
    white-space: nowrap;
    font-size: 13px;
}
.atempero-cart-row-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.atempero-qty-btn {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    line-height: 1;
}
.atempero-qty-btn:hover {
    border-color: #b99272;
    color: #b99272;
}
.atempero-qty-val {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    color: #fff;
    min-width: 20px;
    text-align: center;
}
.atempero-cart-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.2);
    font-size: 20px;
    cursor: pointer;
    padding: 0 0 0 8px;
    transition: color 0.2s;
    line-height: 1;
    margin-left: auto;
}
.atempero-cart-remove:hover { color: #e55; }

/* Total */
.atempero-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 4px;
    margin-top: 4px;
}
.atempero-cart-total span:first-child {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.atempero-cart-total-price {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #b99272;
}

/* Footer */
.atempero-cart-footer {
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(185,146,114,0.15);
}
#atempero-cart-checkout {
    width: 100%;
    background: transparent;
    color: #b99272;
    border: 1px solid #b99272;
    border-radius: 5px;
    padding: 14px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s, color 0.3s;
}
#atempero-cart-checkout:hover {
    background: #b99272;
    color: #111;
}

/* ============================================================
   Modal Finalizar Compra
   ============================================================ */

#atempero-checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 99998;
    backdrop-filter: blur(6px);
}
#atempero-checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
}
#atempero-checkout-modal::-webkit-scrollbar { width: 4px; }
#atempero-checkout-modal::-webkit-scrollbar-thumb { background: rgba(185,146,114,0.3); }

.atempero-modal-inner {
    background: #141414;
    border: 1px solid rgba(185,146,114,0.25);
    border-radius: 5px;
    padding: 40px 36px 36px;
    position: relative;
}

.atempero-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.atempero-modal-close:hover { color: #b99272; }

.atempero-modal-header { text-align: center; margin-bottom: 28px; }
.atempero-modal-eyebrow {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #b99272;
    margin-bottom: 10px;
}
.atempero-modal-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    letter-spacing: 1px !important;
}
.atempero-modal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.atempero-modal-divider span {
    display: block;
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, #b99272);
}
.atempero-modal-divider span:last-child {
    background: linear-gradient(to left, transparent, #b99272);
}

/* Resumen del pedido */
.atempero-modal-summary {
    background: rgba(185,146,114,0.05);
    border: 1px solid rgba(185,146,114,0.15);
    border-radius: 5px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.atempero-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.atempero-summary-row:last-of-type { border-bottom: none; }
.atempero-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(185,146,114,0.2);
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #b99272;
    letter-spacing: 0.5px;
}

/* Formulario */
.atempero-modal-form { margin-bottom: 24px; }
.atempero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (max-width: 480px) { .atempero-form-row { grid-template-columns: 1fr; } }

.atempero-form-group { display: flex; flex-direction: column; gap: 6px; }
.atempero-form-full { margin-bottom: 0; }

.atempero-form-group label {
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.atempero-form-group input,
.atempero-form-group textarea {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 5px !important;
    padding: 12px 14px !important;
    color: #fff !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
    outline: none !important;
}
.atempero-form-group input::placeholder,
.atempero-form-group textarea::placeholder { color: rgba(255,255,255,0.2) !important; }
.atempero-form-group input:focus,
.atempero-form-group textarea:focus { border-color: rgba(185,146,114,0.5) !important; }
.atempero-form-group textarea { resize: vertical; min-height: 80px; }
.atempero-field-error { border-color: #e55 !important; }

/* Botón enviar */
.atempero-modal-actions { text-align: center; }
#atempero-send-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: #b99272;
    border: 1px solid #b99272;
    border-radius: 5px;
    padding: 14px 36px;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    width: 100%;
}
#atempero-send-whatsapp:hover {
    background: #b99272;
    color: #111;
}

/* Ocultar carrito de WooCommerce */
.kf-cart-btn,
.woocommerce-cart-form,
.wc-proceed-to-checkout,
.cart-collaterals {
    display: none !important;
}

/* ============================================================
   Modal — Ajustes visuales para igualar estética del tema
   ============================================================ */

/* Ocultar eyebrow y divisor */
.atempero-modal-eyebrow,
.atempero-modal-divider { display: none !important; }

/* Título más limpio */
.atempero-modal-title {
    font-size: 32px !important;
    margin: 0 0 24px !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
}

/* Header sin tanto margen */
.atempero-modal-header { margin-bottom: 20px !important; }

/* Ocultar labels, usar solo placeholder */
.atempero-form-group label { display: none !important; }

/* Inputs estilo tema */
.atempero-form-group input,
.atempero-form-group textarea {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 5px !important;
    padding: 14px 16px !important;
    color: #fff !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.atempero-form-group input::placeholder,
.atempero-form-group textarea::placeholder {
    color: rgba(255,255,255,0.35) !important;
    font-size: 14px !important;
}

/* Hover: crecer ligeramente */
#atempero-send-whatsapp:hover,
#atempero-cart-checkout:hover {
    transform: scale(1.03) !important;
    background: #b99272 !important;
    opacity: 0.9 !important;
}

/* Asegurar que el texto queda por encima del ::before */
#atempero-send-whatsapp span,
#atempero-send-whatsapp svg,
#atempero-cart-checkout span,
#atempero-cart-checkout svg {
    position: relative !important;
    z-index: 1 !important;
}

/* Eliminar borde exterior naranja (outline del navegador) */
#atempero-checkout-modal input,
#atempero-checkout-modal textarea,
#atempero-checkout-modal input:focus,
#atempero-checkout-modal textarea:focus,
#atempero-checkout-modal input:active,
#atempero-checkout-modal textarea:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}


/* Eliminar outline naranja en inputs */
#atempero-checkout-modal input,
#atempero-checkout-modal textarea,
#atempero-checkout-modal input:focus,
#atempero-checkout-modal textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}


/* Texto e icono por encima del ::before */
#atempero-send-whatsapp > *,
#atempero-cart-checkout > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Botones plugin — ancho completo, sin override de estilos del tema */
#atempero-send-whatsapp,
#atempero-cart-checkout {
    width: 100% !important;
}

/* Sin outline naranja en inputs */
#atempero-checkout-modal input:focus,
#atempero-checkout-modal textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Botón — fondo marrón sólido, hover blanco */
#atempero-send-whatsapp,
#atempero-cart-checkout {
    background: #b99272 !important;
    color: #fff !important;
    overflow: hidden !important;
    position: relative !important;
}
#atempero-send-whatsapp::before,
#atempero-cart-checkout::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: #fff !important;
    transform: translateY(-100%) !important;
    transition: transform 0.4s cubic-bezier(0.3, 0, 0.3, 1) !important;
    z-index: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
#atempero-send-whatsapp:hover::before,
#atempero-cart-checkout:hover::before {
    transform: translateY(0) !important;
}
#atempero-send-whatsapp:hover,
#atempero-cart-checkout:hover {
    color: #111 !important;
    background: #b99272 !important;
}
#atempero-send-whatsapp span,
#atempero-send-whatsapp i,
#atempero-cart-checkout span,
#atempero-cart-checkout i {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================================
   Bocadillo WhatsApp (solo PC)
   ============================================================ */
#atempero-wa-popover {
    position: fixed;
    bottom: auto;
    left: auto;
    opacity: 0;
    background: #1a1a1a;
    border: 1px solid rgba(185,146,114,0.3);
    border-radius: 5px;
    padding: 20px;
    width: 460px;
    z-index: 100001;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    transform: translateX(-8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
#atempero-wa-popover.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}
.atempero-wa-arrow {
    position: absolute;
    top: 50%;
    left: -7px;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #1a1a1a;
    border-left: 1px solid rgba(185,146,114,0.3);
    border-bottom: 1px solid rgba(185,146,114,0.3);
}
.atempero-wa-title {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0 0 12px;
    text-align: center;
}
.atempero-wa-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    padding: 18px 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 8px;
    text-align: left;
}
.atempero-wa-option:last-of-type { margin-bottom: 0; }
.atempero-wa-option:hover {
    background: rgba(185,146,114,0.12);
    border-color: rgba(185,146,114,0.4);
}
.atempero-wa-option svg { flex-shrink: 0; color: #b99272; }
.atempero-wa-option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.atempero-wa-option-text strong {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    color: #fff;
}
.atempero-wa-option-text span {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    white-space: nowrap;
    color: rgba(255,255,255,0.4);
}
.atempero-wa-option .fa-chevron-right {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.atempero-wa-qr-hint {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin: 12px 0 8px;
}
#atempero-qr-code {
    display: flex;
    justify-content: center;
    padding-bottom: 4px;
    background: #fff;
    border-radius: 4px;
    padding: 10px;
}
#atempero-qr-code img {
    border-radius: 4px;
    background: #fff;
    padding: 6px;
}

/* El contenedor de acciones necesita position relative para el bocadillo */
.atempero-modal-actions {
    position: relative !important;
}


/* Forzar color de texto en botones de tarjeta */
.atempero-btn-cart,
.atempero-btn-cart span,
.atempero-btn-cart svg {
    color: #b99272 !important;
}
.atempero-btn-cart:hover:not(.atempero-btn-oos),
.atempero-btn-cart:hover:not(.atempero-btn-oos) span,
.atempero-btn-cart:hover:not(.atempero-btn-oos) svg {
    color: #111 !important;
}

/* Eliminar ::before del tema en botones del bocadillo */
.atempero-wa-option::before {
    display: none !important;
    content: none !important;
}
