/* =========================================
   Buywise Cookie Banner
========================================= */

.bw-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.12);

    padding: 20px 24px;

    z-index: 9999;

    transform: translateY(100%);
    transition: transform .35s ease;
}

.bw-cookie-banner.is-visible {
    transform: translateY(0);
}


/* Container */

.bw-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}


/* Text */

.bw-cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}


/* Buttons container */

.bw-cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Reset Magento button styles inside cookie banner */

.bw-cookie-banner button {
    appearance: none;
    background: none;
    border: none;
    box-shadow: none;
    text-shadow: none;
    outline: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 44px;
    padding: 0 20px;

    border-radius: 6px;
    cursor: pointer;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;
    margin:0;
}


/* Accept button */

.bw-cookie-banner .bw-btn-primary {
    background: #ffd814;
    border: 1px solid #ffd814;
    color: #111;
}

.bw-cookie-banner .bw-btn-primary:hover {
    background: #f7ca00;
}


/* Essential button */

.bw-cookie-banner .bw-btn-secondary {
    background: #f2f2f2;
    border: 1px solid #f2f2f2;
    color: #111;
}

.bw-cookie-banner .bw-btn-secondary:hover {
    background: #e6e6e6;
}


/* Decline */

.bw-cookie-banner .bw-btn-outline {
    background: transparent;
    border: 1px solid #ccc;
    color: #111;
}

.bw-cookie-banner .bw-btn-outline:hover {
    background: #f6f6f6;
}
@media (max-width: 768px) {

    .bw-cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .bw-cookie-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .bw-cookie-banner {
    transform: translateY(100%);
    transition: transform .35s ease;
}

.bw-cookie-banner.is-visible {
    transform: translateY(0);
}

    .bw-cookie-actions button {
        width: 100%;
    }

}