/* --- Variables y Estilos Globales --- */
:root {
    --background-color: #f5f5f7;
    --card-background: #ffffff;
    --text-color: #1d1d1f;
    --secondary-text-color: #6e6e73;
    --accent-color: #ff9500; /* Naranja Vibrante */
    --border-color: #d2d2d7;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 80px;
}
body { 
    font-family: var(--font-family); 
    background-color: var(--background-color); 
    color: var(--text-color); 
    margin: 0; 
    line-height: 1.6; 
    overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

/* --- Barra de Anuncios (CORREGIDO Y AJUSTADO) --- */
.announcement-bar {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}
.announcement-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 45s linear infinite;
}
.announcement-text span {
    margin: 0 25px;
    font-size: 0.8rem;
    font-weight: 600;
}
@keyframes scroll-text {
    from { transform: translateX(0%); }
    to { transform: translateX(-100%); }
}

/* --- Header y Logo --- */
.main-header { background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; height: var(--header-height); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; padding-top: 0; padding-bottom: 0; }
.logo-link { display: block; height: 35px; }
.site-logo { height: 100%; width: auto; }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 30px; }
.main-nav a { text-decoration: none; color: var(--text-color); font-weight: 600; font-size: 0.95rem; position: relative; padding-bottom: 5px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }
.header-actions .action-btn { background: none; border: none; cursor: pointer; padding: 5px; }

/* --- Menú Móvil --- */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    z-index: 999;
    display: none;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: left 0.3s ease-in-out;
}
.mobile-menu.active { left: 0; }
.mobile-menu a { text-decoration: none; color: var(--text-color); font-size: 1.5rem; font-weight: 600; }

/* --- Hero Section --- */
.hero-section-new { position: relative; height: calc(60vh - var(--header-height)); min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: white; }
.hero-carousel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-carousel img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .slick-dots { bottom: 25px; }
.hero-carousel .slick-dots li button:before { font-size: 12px; color: white; opacity: 0.75; }
.hero-carousel .slick-dots li.slick-active button:before { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; }
.cta-button { background-color: var(--accent-color); color: white; padding: 15px 30px; border-radius: 980px; text-decoration: none; font-weight: 600; transition: filter 0.3s ease; }
.cta-button:hover { filter: brightness(1.1); }

h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
/* --- El resto del CSS --- */
.combo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.combo-card { background-color: var(--card-background); border-radius: 18px; padding: 30px; border: 1px solid var(--border-color); text-align: center; display: flex; flex-direction: column; }
.combo-card h3 { margin-top: 0; }
.combo-card ul { list-style: none; padding: 0; color: var(--secondary-text-color); margin: 15px 0; text-align: left; flex-grow: 1; }
.price-anchor { margin: 20px 0; }
.price-anchor del { color: var(--secondary-text-color); font-size: 1.1rem; margin-right: 10px; }
.price-anchor .price { margin: 0; font-size: 1.5rem; font-weight: 600; display: inline; }
.savings-badge { background-color: #a7ff00; color: #1d1d1f; padding: 3px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; margin-left: 5px; }
.add-to-cart-button { display: inline-block; width: 100%; box-sizing: border-box; background-color: var(--accent-color); color: white; padding: 12px 20px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: filter 0.3s ease; }
.add-to-cart-button:hover { filter: brightness(1.1); }
.trust-seals-section { background-color: var(--card-background); }
.trust-seals { display: flex; justify-content: center; gap: 30px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.seal { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-color); font-size: 1rem; font-weight: 600; }
.seal-icon { width: 70px; height: 70px; border-radius: 50%; background-color: var(--background-color); display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease; }
.seal-icon img { width: 32px; height: 32px; object-fit: contain; }
.seal:hover .seal-icon { transform: scale(1.1); }
.builder-layout { display: flex; flex-direction: column; gap: 30px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.product-card, .product-card-variant { background-color: var(--card-background); border: 1px solid var(--border-color); border-radius: 18px; padding: 15px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; justify-content: space-between; }
.product-card:hover, .product-card-variant:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.product-card.selected { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-color); }
.product-card img, .product-card-variant img { max-width: 80px; height: 80px; object-fit: contain; margin-bottom: 10px; align-self: center; cursor: pointer; }
.product-name, .product-price { display: block; font-size: 0.9rem; }
.product-price { color: var(--secondary-text-color); font-weight: 600; }
.select-options-btn { background-color: #ffeeda; color: #cc7a00; padding: 10px 15px; border-radius: 980px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; margin-top: 10px; width: 100%; }
.summary-card { background-color: var(--card-background); border-radius: 18px; padding: 30px; border: 1px solid var(--border-color); position: sticky; top: 20px; text-align: center; }
.summary-card h3 { margin-top: 0; text-align: left; }
.summary-item-list { list-style: none; padding: 0; min-height: 50px; text-align: left; }
.summary-item-list li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--background-color); font-size: 0.9rem; }
.summary-item-list .item-image { width: 40px; height: 40px; object-fit: contain; margin-right: 12px; border-radius: 6px; background-color: var(--background-color); }
.summary-item-list .item-name { flex-grow: 1; }
.remove-item { color: #ff3b30; background-color: transparent; border: none; font-weight: bold; font-size: 1.2rem; cursor: pointer; padding: 0 5px; line-height: 1; transition: transform 0.2s ease; margin-left: 10px; }
.remove-item:hover { transform: scale(1.2); }
.total-section { display: flex; justify-content: space-between; align-items: center; font-size: 1.5rem; font-weight: 700; margin-top: 20px; text-align: left; }
.add-to-cart-button-main { display: inline-block; width: auto; padding: 12px 40px; background-color: var(--accent-color); color: white; border-radius: 12px; text-decoration: none; font-weight: 600; margin-top: 20px; transition: opacity 0.3s ease, filter 0.3s ease; border: none; font-family: var(--font-family); font-size: 0.95rem; }
.add-to-cart-button-main:hover { filter: brightness(1.1); }
#add-variant-to-cart-btn:disabled { background-color: #d2d2d7; cursor: not-allowed; }
.discount-message { color: #2e7d32; background-color: #e8f5e9; padding: 10px; border-radius: 8px; font-weight: 600; text-align: center; margin-top: 15px; }
.quantity-control { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 10px; }
.quantity-btn { background-color: var(--background-color); border: 1px solid var(--border-color); width: 30px; height: 30px; border-radius: 50%; font-size: 1.5rem; font-weight: bold; color: var(--text-color); cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background-color 0.2s, color 0.2s; }
.quantity-btn:hover { background-color: var(--accent-color); color: white; border-color: var(--accent-color); }
.quantity-display { font-size: 1.1rem; font-weight: 600; min-width: 20px; text-align: center; }
.add-to-combo-btn { background-color: #ffeeda; color: #cc7a00; padding: 10px 15px; border-radius: 980px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; margin-top: 10px; width: 100%; }
.product-card.selected .add-to-combo-btn { display: none; }
.product-card:not(.selected) .quantity-control { display: none; }
.free-shipping-progress { margin-bottom: 20px; text-align: center; }
.free-shipping-progress p { margin-top: 0; margin-bottom: 10px; font-size: 0.9rem; font-weight: 600; }
.progress-bar-background { width: 100%; height: 12px; background-color: var(--background-color); border-radius: 10px; overflow: hidden; }
.progress-bar-foreground { height: 100%; width: 0%; background-color: var(--accent-color); border-radius: 10px; transition: width 0.5s ease; }
#shipping-message.free { color: #2e7d32; font-weight: 700; }
.cross-sell-container { background-color: #ffeeda; border-radius: 12px; padding: 15px; margin: 15px 0; text-align: left; }
.cross-sell-title { font-size: 0.8rem; font-weight: 600; color: #cc7a00; margin: 0 0 10px 0; }
.cross-sell-product { display: flex; align-items: center; padding: 5px; border-radius: 8px; }
.cross-sell-product:hover .cross-sell-add-btn { transform: scale(1.1); }
.cross-sell-info { flex-grow: 1; cursor: pointer;}
.cross-sell-product img { width: 45px; height: 45px; object-fit: contain; margin-right: 10px; }
.cross-sell-info .name { font-weight: 600; }
.cross-sell-info .price { color: var(--secondary-text-color); font-size: 0.8rem; }
.cross-sell-add-btn { background-color: var(--accent-color); color: white; width: 30px; height: 30px; border-radius: 50%; border: none; font-size: 1.5rem; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; margin-left: 10px; transition: transform 0.2s ease; flex-shrink: 0; }
.installments-price { text-align: center; color: var(--secondary-text-color); margin-top: -10px; margin-bottom: 20px; font-size: 0.9rem; }
#testimonials { background-color: var(--card-background); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.testimonial-card { border: 1px solid var(--border-color); border-radius: 18px; padding: 25px; text-align: center; }
.testimonial-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }
.quote { font-style: italic; color: var(--secondary-text-color); margin-bottom: 15px; }
.rating { color: #fbc02d; font-size: 1.2rem; margin-bottom: 5px; }
.author { font-weight: 600; }
.faq-accordion { max-width: 700px; margin: 0 auto; }
.faq-accordion details { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.faq-accordion details[open] { padding-bottom: 25px; }
.faq-accordion summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 25px; }
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after { content: '+'; position: absolute; right: 5px; font-size: 1.5rem; transition: transform 0.2s ease; }
.faq-accordion details[open] summary::after { transform: rotate(45deg); }
.faq-accordion details p { margin-top: 15px; color: var(--secondary-text-color); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: none; justify-content: center; align-items: center; z-index: 200; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.modal-content { background-color: var(--card-background); padding: 30px; border-radius: 18px; width: 90%; max-width: 500px; position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.close-modal-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--secondary-text-color); cursor: pointer; }
.exit-intent-content { text-align: center; }
.exit-intent-content h3 { font-size: 1.8rem; }
.coupon-code { background-color: #e8f5e9; border: 2px dashed #2e7d32; padding: 15px; font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; margin: 20px auto; max-width: 250px; }
.option-group { margin-bottom: 20px; }
.option-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.option-group select { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--border-color); background-color: var(--background-color); font-size: 1rem; font-family: var(--font-family); }
.error-message { color: #f44336; text-align: center; margin-top: 15px; font-size: 0.9rem; }
.sales-popup { position: fixed; bottom: 20px; left: -320px; max-width: 300px; background-color: var(--card-background); border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: flex; align-items: center; padding: 15px; z-index: 150; transition: transform 0.5s ease-in-out; border: 1px solid var(--border-color); }
.sales-popup.show { transform: translateX(340px); }
.sales-popup img { width: 50px; height: 50px; object-fit: contain; margin-right: 15px; }
.popup-content { font-size: 0.9rem; }
.popup-content p { margin: 0; line-height: 1.4; }
#popup-text-line1 { font-weight: 600; }
.popup-time { font-size: 0.8rem; color: var(--secondary-text-color); margin-top: 4px; display: block; }
.quick-view-content { max-width: 600px; }
.quick-view-body { display: flex; gap: 25px; }
.quick-view-image { flex: 1; text-align: center; }
.quick-view-image img { width: 100%; max-width: 200px; border-radius: 12px; }
.quick-view-details { flex: 1.5; }
.quick-view-details h3 { margin-top: 0; font-size: 1.8rem; }
.quick-view-details .price { font-size: 1.5rem; font-weight: 600; margin-bottom: 15px; }
.quick-view-details .description { color: var(--secondary-text-color); line-height: 1.7; margin-bottom: 20px; }
footer { background-color: #1d1d1f; color: #a1a1a6; padding-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 40px; }
.footer-column { flex: 1; min-width: 200px; }
.footer-column h4 { color: #f5f5f7; margin-top: 0; margin-bottom: 20px; font-size: 1.1rem; }
.payment-logos { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.payment-logos img { height: 24px; width: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #a1a1a6; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #424245; }
.footer-bottom .container { padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; font-size: 0.9rem; text-align: center; }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 6px rgba(0,0,0,0.25); z-index: 100; display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease, background-color 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #128C7E; }

@media (max-width: 768px) { 
    .main-nav, .header-actions { display: none; }
    .mobile-menu-toggle { display: block; }
    .mobile-menu { display: flex; }
    .hero-content { padding-top: 80px; }
    .logo-link { height: 35px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; } 
    .quick-view-body { flex-direction: column; } 
}
@media (min-width: 768px) { .builder-layout { flex-direction: row; align-items: flex-start; } .product-grid { flex: 2; } .summary-card { flex: 1; } }

/* --- Ocultar Menú Móvil Permanentemente --- */
.mobile-menu-toggle,
.mobile-menu {
    display: none !important;
}