/* ------------------------------------------------
   Cookie Banner
------------------------------------------------ */

#ig-cookie-box {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 380px;
    max-width: 90%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 22px 22px 18px 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

#ig-cookie-box.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ig-cookie-text {
    font-size: 14px;
    color: #363636;
    line-height: 1.6;
}

.ig-cookie-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ig-btn {
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: var(--tb_mb_f, 1em);
    cursor: pointer;
    font-weight: 500;
}

.ig-btn-learn {
    background: #f1f2f6;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.ig-btn-learn:hover {
    background: #f6cfd4;
    transition: .3s linear;
    transition-property: color, background-color, padding, border, box-shadow;
}

.ig-btn-accept {
    background: #de3441;
    color: #fff;
    border-radius: 8px;
}

.ig-btn-accept:hover {
    background: #363636;
    transition: .3s linear;
    transition-property: color, background-color, padding, border, box-shadow;
}

.ig-cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ig-cookie-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0; /* remove default spacing */
    line-height: 1;
}

.ig-cookie-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: #de3441;
    stroke-width: 2;
    display: block;
}


/* ------------------------------------------------
   Cookie Banner (Mobile)
------------------------------------------------ */

@media (max-width: 600px) {

    #ig-cookie-box {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: auto;
    }

}