/*================================================
  ECONOTEC EC — Cookie Banner
  Estilo alineado al tema: Charcoal + Electric Red
================================================*/

.eco-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #18181C;
    color: #F0F0F2;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    padding: 18px 22px;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 1120px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.eco-cookie.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.eco-cookie[hidden] {
    display: none !important;
}

.eco-cookie__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.eco-cookie__text {
    flex: 1 1 320px;
    min-width: 0;
}

.eco-cookie__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #F0F0F2;
    letter-spacing: -0.01em;
}

.eco-cookie__desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.6);
}

.eco-cookie__link {
    color: var(--red, #E63946);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.eco-cookie__link:hover {
    opacity: 0.85;
}

.eco-cookie__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.eco-cookie__btn {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.eco-cookie__btn--reject {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.15);
}
.eco-cookie__btn--reject:hover {
    border-color: rgba(255,255,255,0.35);
    color: #F0F0F2;
}

.eco-cookie__btn--accept {
    background: var(--red, #E63946);
    color: #fff;
    border-color: var(--red, #E63946);
}
.eco-cookie__btn--accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(230,57,70,0.3);
}

/* === MOBILE === */
@media (max-width: 640px) {
    .eco-cookie {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
        border-radius: 12px;
    }
    .eco-cookie__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .eco-cookie__actions {
        width: 100%;
    }
    .eco-cookie__btn {
        flex: 1;
        padding: 11px 16px;
        font-size: 0.8rem;
    }
}
