/* Cookie consent banner styles for MP-Mall. */

#acceptСookie {
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding-right: 0.5rem;
    gap: 0.75rem;
}

#acceptСookie.show {
    display: flex !important;
}

#acceptСookie.d-none {
    display: none !important;
}

#acceptСookie .cookie-main-view,
#acceptСookie .cookie-settings-view {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

#acceptСookie .cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

#acceptСookie .cookie-settings-title {
    color: var(--bs-red, #dc3545);
    font-size: 0.85rem;
    font-weight: 500;
}

#acceptСookie .cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(34, 34, 34, 0.8);
    cursor: pointer;
}

#acceptСookie .cookie-category span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.35;
}

#acceptСookie .cookie-category small {
    display: block;
    color: rgba(34, 34, 34, 0.55);
    font-size: 0.65rem;
    font-weight: 400;
}

#acceptСookie .alert__info-icon svg {
    fill: var(--bs-red, #dc3545);
}

#acceptСookie a {
    color: var(--bs-red, #dc3545);
    text-decoration: underline !important;
}

#acceptСookie .cookie-button {
    border-radius: 0.25rem !important;
    background: var(--bs-red, #dc3545);
    color: #fff;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

#acceptСookie .cookie-button.decline,
#acceptСookie .cookie-button.settings,
#acceptСookie .cookie-button.back-settings {
    background: #fff;
    color: var(--bs-red, #dc3545);
    border: 1px solid var(--bs-red, #dc3545);
}

#acceptСookie .cookie-button:hover {
    background: var(--bs-red-soft, #e4606d);
    color: #fff;
}

.alert-fixed {
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #fff;
    position: fixed;
    z-index: 9;
    bottom: 85px;
    margin: 0 0.75rem;
    max-width: 500px;
    width: calc(100% - 1.5rem);
    padding: 0.5rem;
    gap: 0.5rem;
    padding-right: 2rem;
    border-radius: 0.25rem;
}

.alert__info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.alert__info-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
}

.alert__info-icon svg {
    width: 100%;
    height: 100%;
    fill: #dc3545;
}

.alert__info-text>div:first-child {
    color: var(--bs-red, #dc3545);
    font-size: 0.75rem;
    font-weight: 500;
}

.alert__info-text>div:last-child {
    color: rgba(34, 34, 34, 0.65);
    font-size: 0.7rem;
    font-weight: 400;
}

.copyright__cookie-settings {
    color: #fff;
    font-size: 0.8rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.copyright__cookie-settings:hover {
    color: rgba(255, 255, 255, 0.75);
}

@media screen and (min-width: 576px) {
    #acceptСookie {
        flex-direction: column;
        padding-right: 1rem;
        max-width: 540px;
    }

    .alert-fixed {
        bottom: 75px;
        padding: 1rem;
        padding-right: 3rem;
        gap: 1rem;
    }

    .alert__info {
        gap: 1rem;
    }

    .alert__info-text>div:first-child {
        font-size: 1rem;
    }

    .alert__info-text>div:last-child {
        font-size: 0.9rem;
    }
}