/* ============================================================
   EL COCHABAMBINO - CSS Extras
   ============================================================ */

/* ============= CARRUSEL ============= */
.ecb-carrusel {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.ecb-carrusel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecb-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecb-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,15,30,0.8), rgba(0,168,89,0.5));
}

.ecb-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 600px;
    padding: 40px;
}

.ecb-slide-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 16px;
    line-height: 1.1;
}

.ecb-slide-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 0 28px;
}

.ecb-slide-btn {
    display: inline-block;
    background: #fff;
    color: #0A0F1E;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.ecb-slide-btn:hover { transform: scale(1.05); }

.ecb-carrusel-prev,
.ecb-carrusel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    color: #0A0F1E;
}

.ecb-carrusel-prev { left: 20px; }
.ecb-carrusel-next { right: 20px; }
.ecb-carrusel-prev:hover,
.ecb-carrusel-next:hover {
    background: #00A859;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.ecb-carrusel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.ecb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.ecb-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* ============= TESTIMONIOS ============= */
.ecb-testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.ecb-testimonio-card {
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border-left: 4px solid #00A859;
}

.ecb-testimonio-card:hover { transform: translateY(-4px); }

.ecb-testimonio-rating {
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.ecb-testimonio-texto {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 0 0 20px;
}

.ecb-testimonio-autor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ecb-testimonio-avatar {
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00A859, #007A40);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecb-testimonio-autor strong { display: block; font-size: 15px; color: #0A0F1E; }
.ecb-testimonio-autor small { color: #666; font-size: 13px; }

/* ============= BLOG ============= */
.ecb-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.ecb-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.ecb-blog-card:hover { transform: translateY(-6px); }

.ecb-blog-img {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.ecb-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ecb-blog-card:hover .ecb-blog-img img { transform: scale(1.08); }

.ecb-blog-info { padding: 20px; }
.ecb-blog-date { font-size: 12px; color: #00A859; font-weight: 600; }
.ecb-blog-info h3 { font-size: 18px; margin: 10px 0; line-height: 1.3; }
.ecb-blog-info h3 a { color: #0A0F1E; text-decoration: none; }
.ecb-blog-info h3 a:hover { color: #00A859; }
.ecb-blog-info p { color: #666; font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.ecb-blog-link { color: #00A859; text-decoration: none; font-weight: 700; font-size: 14px; }

/* ============= COMPARADOR ============= */
.ecb-comparador-wrap {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.ecb-comparador-info {
    color: #666;
    margin: 0 0 20px;
}

.ecb-comparador-search {
    width: 100%;
    max-width: 500px;
    padding: 14px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border 0.3s;
}

.ecb-comparador-search:focus { border-color: #00A859; }

.ecb-comparador-results {
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.ecb-comp-result {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.ecb-comp-result:hover { background: #e8f5e9; }
.ecb-comp-result img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }

.ecb-comparador-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.ecb-comparador-tabla th,
.ecb-comparador-tabla td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.ecb-comparador-limpiar {
    margin-top: 20px;
    background: #f0f0f0;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

/* ============= WISHLIST ============= */
.ecb-wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.ecb-wishlist-icon { font-size: 80px; display: block; margin-bottom: 20px; }
.ecb-wishlist-empty h3 { font-size: 1.5rem; margin: 0 0 10px; color: #0A0F1E; }
.ecb-wishlist-empty p { color: #666; margin: 0 0 24px; }

.ecb-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ============= WHATSAPP FLOTANTE ============= */
.ecb-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    text-decoration: none;
    transition: transform 0.3s;
    animation: ecb-whatsapp-pulse 2s infinite;
}

@keyframes ecb-whatsapp-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7); }
}

.ecb-whatsapp-float:hover { transform: scale(1.1); }

.ecb-whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #0A0F1E;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.ecb-whatsapp-float:hover .ecb-whatsapp-tooltip { opacity: 1; }

/* ============= PUNTOS ============= */
.ecb-puntos-dashboard {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.ecb-puntos-card {
    background: linear-gradient(135deg, #0A0F1E, #1a1f3a);
    color: #fff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    min-width: 320px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.ecb-puntos-icon { font-size: 60px; display: block; margin-bottom: 16px; }
.ecb-puntos-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FFB800;
    display: block;
    line-height: 1;
}
.ecb-puntos-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin: 8px 0 20px;
    display: block;
}

.ecb-puntos-nivel { margin-bottom: 16px; font-size: 15px; }
.ecb-puntos-nivel strong { color: #FFB800; }

.ecb-puntos-progress {
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ecb-puntos-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFB800, #FF6B35);
    border-radius: 4px;
    transition: width 0.5s;
}

.ecb-puntos-card small { opacity: 0.7; font-size: 12px; }

.ecb-puntos-box {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.ecb-puntos-box .ecb-puntos-icon { font-size: 60px; margin-bottom: 16px; }

/* ============= NEWSLETTER ============= */
.ecb-newsletter {
    background: linear-gradient(135deg, #00A859, #007A40);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    margin: 60px 0;
}

.ecb-newsletter-icon { font-size: 60px; display: block; margin-bottom: 20px; }
.ecb-newsletter h2 { font-size: 2rem; margin: 0 0 12px; font-weight: 900; }
.ecb-newsletter p { font-size: 1.1rem; opacity: 0.9; margin: 0 0 30px; }

.ecb-newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 16px;
    gap: 12px;
}

.ecb-newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
}

.ecb-newsletter-form button {
    background: #0A0F1E;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.ecb-newsletter-form button:hover { transform: scale(1.05); }
.ecb-newsletter small { opacity: 0.7; font-size: 12px; }

/* ============= TRUST BADGES ============= */
.ecb-trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin: 30px 0;
}

.ecb-trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ecb-trust-icon { font-size: 32px; }
.ecb-trust-badge strong { display: block; font-size: 15px; color: #0A0F1E; }
.ecb-trust-badge small { color: #666; font-size: 13px; }

/* ============= FAQ ============= */
.ecb-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ecb-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ecb-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #0A0F1E;
    transition: background 0.2s;
}

.ecb-faq-question:hover { background: #f8f9fa; }

.ecb-faq-arrow {
    font-size: 24px;
    color: #00A859;
    transition: transform 0.3s;
}

.ecb-faq-item.open .ecb-faq-arrow { transform: rotate(45deg); }

.ecb-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.ecb-faq-item.open .ecb-faq-answer { max-height: 500px; }

.ecb-faq-answer p {
    padding: 0 24px 20px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .ecb-carrusel { height: 300px; }
    .ecb-slide-content h2 { font-size: 2rem; }
    .ecb-newsletter-form { flex-direction: column; }
    .ecb-newsletter { padding: 40px 20px; }
}
