.google-cookie-consent[hidden],
.google-cookie-settings[hidden] {
    display: none !important;
}

.google-cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 99998;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.google-cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.google-cookie-consent__message {
    flex: 1;
}

.google-cookie-consent__message strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.google-cookie-consent__message p {
    margin: 0 0 8px;
    line-height: 1.5;
}

.google-cookie-consent__buttons,
.google-cookie-settings__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-button {
    padding: 10px 16px;
    border: 1px solid #222222;
    border-radius: 4px;
    font: inherit;
    cursor: pointer;
}

.cookie-button-primary {
    color: #ffffff;
    background: #222222;
}

.cookie-button-secondary {
    color: #222222;
    background: #ffffff;
}

.google-cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.google-cookie-settings__box {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 8px;
}

.google-cookie-settings__box h2 {
    margin-top: 0;
}

.cookie-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #dddddd;
}

.cookie-preference p {
    margin: 5px 0 0;
}

.cookie-preference input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.google-cookie-settings__buttons {
    justify-content: flex-end;
    margin-top: 25px;
}

.cookie-preferences-link {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 99990;
    padding: 7px 12px;
    color: #222222;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
    font: inherit;
    cursor: pointer;
}

.cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .google-cookie-consent__content {
        display: block;
    }

    .google-cookie-consent__buttons {
        margin-top: 15px;
    }

    .cookie-button {
        width: 100%;
    }

    .cookie-preference {
        align-items: flex-start;
    }
}