.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10008;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: "Neue Montreal Regular", "Neue Montreal", Helvetica, sans-serif;
}

/* Затемненный экран */
.cookie-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Баннер с контентом - стиль как footer */
.cookie-consent-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: var(--base-color, #be3455);
    padding: 35px 20px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    font-family: "Neue Montreal Regular", "Neue Montreal", Helvetica, sans-serif;
}

.cookie-consent-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

.cookie-consent-text strong {
    font-family: "Neue Montreal Bold", "Neue Montreal", Helvetica, sans-serif;
    font-weight: bold;
    color: #ffffff;
}

.cookie-consent-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: all 0.3s ease;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cookie-consent-text a:hover {
    color: #ffffff;
    text-decoration-thickness: 2px;
}

.cookie-policy-link,
.do-not-sell-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline;
    cursor: pointer;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cookie-policy-link:hover,
.do-not-sell-link:hover {
    color: #ffffff !important;
    text-decoration-thickness: 2px;
}

.cookie-consent-actions {
    flex-shrink: 0;
}

.cookie-accept-btn {
    background-color: #ffffff;
    color: var(--base-color, #be3455);
    border: 2px solid #ffffff;
    padding: 15px 45px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Neue Montreal Medium", "Neue Montreal", Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 0;
    white-space: nowrap;
    min-width: 180px;
    line-height: 1.5;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

.cookie-accept-btn:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    animation: none;
}

.cookie-accept-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
    animation: none;
}

.cookie-accept-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    animation: none;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 25px 20px;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .cookie-consent-text {
        min-width: 100%;
        font-size: 14px;
        text-align: left;
    }

    .cookie-accept-btn {
        width: 100%;
        padding: 14px 35px;
        font-size: 15px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 20px 15px;
    }

    .cookie-consent-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .cookie-accept-btn {
        padding: 13px 30px;
        font-size: 14px;
        letter-spacing: 0.3px;
    }
}

/* Do Not Sell Modal Styles */
.do-not-sell-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10009;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Neue Montreal Regular", "Neue Montreal", Helvetica, sans-serif;
}

.do-not-sell-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.do-not-sell-modal-content {
    position: relative;
    background-color: #ffffff;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
    animation: modalFadeIn 0.3s ease-out;
    border-radius: 8px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.do-not-sell-modal-header {
    background-color: var(--base-color, #be3455);
    color: #ffffff;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.do-not-sell-modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-family: "Neue Montreal Bold", "Neue Montreal", Helvetica, sans-serif;
    font-weight: bold;
    color: #ffffff;
}

.do-not-sell-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.do-not-sell-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.do-not-sell-modal-body {
    padding: 30px;
    color: #232323;
    font-size: 15px;
    line-height: 1.7;
}

.do-not-sell-modal-body p {
    margin: 0 0 20px 0;
    color: #232323;
}

.do-not-sell-modal-body p:last-of-type {
    margin-bottom: 0;
}

.do-not-sell-modal-body strong {
    font-family: "Neue Montreal Bold", "Neue Montreal", Helvetica, sans-serif;
    font-weight: bold;
    color: var(--base-color, #be3455);
    display: block;
    margin-bottom: 10px;
}

.do-not-sell-modal-body ul {
    margin: 15px 0 20px 25px;
    padding: 0;
    list-style-type: disc;
}

.do-not-sell-modal-body ul li {
    margin-bottom: 10px;
    color: #232323;
    line-height: 1.6;
}

.do-not-sell-note {
    background-color: rgba(190, 52, 85, 0.1);
    border-left: 4px solid var(--base-color, #be3455);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.do-not-sell-note p {
    margin: 0;
    color: #232323;
    font-style: italic;
}

.do-not-sell-modal-footer {
    padding: 25px 30px;
    background-color: #f8f8f8;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #e0e0e0;
}

.do-not-sell-opt-out-btn {
    background-color: var(--base-color, #be3455);
    color: #ffffff;
    border: 2px solid var(--base-color, #be3455);
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Neue Montreal Medium", "Neue Montreal", Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 0;
    white-space: nowrap;
}

.do-not-sell-opt-out-btn:hover {
    background-color: transparent;
    color: var(--base-color, #be3455);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 52, 85, 0.3);
}

.do-not-sell-opt-out-btn:active {
    transform: translateY(0);
}

.do-not-sell-cancel-btn {
    background-color: transparent;
    color: #232323;
    border: 2px solid #232323;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Neue Montreal Medium", "Neue Montreal", Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 0;
    white-space: nowrap;
}

.do-not-sell-cancel-btn:hover {
    background-color: #232323;
    color: #ffffff;
    transform: translateY(-2px);
}

.do-not-sell-cancel-btn:active {
    transform: translateY(0);
}

/* Mobile styles for modal */
@media (max-width: 768px) {
    .do-not-sell-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .do-not-sell-modal-header {
        padding: 20px 20px;
    }

    .do-not-sell-modal-header h2 {
        font-size: 18px;
    }

    .do-not-sell-modal-body {
        padding: 20px;
        font-size: 14px;
    }

    .do-not-sell-modal-footer {
        padding: 20px;
        flex-direction: column;
    }

    .do-not-sell-opt-out-btn,
    .do-not-sell-cancel-btn {
        width: 100%;
        padding: 14px 25px;
    }
}

@media (max-width: 480px) {
    .do-not-sell-modal-header h2 {
        font-size: 16px;
    }

    .do-not-sell-modal-body {
        font-size: 13px;
        padding: 15px;
    }

    .do-not-sell-modal-footer {
        padding: 15px;
    }
}

/* SweetAlert2 стили для cookie consent */
.cookie-swal-popup {
    font-family: "Neue Montreal Regular", "Neue Montreal", Helvetica, sans-serif;
    border-radius: 8px;
}

.cookie-swal-title {
    font-family: "Neue Montreal Bold", "Neue Montreal", Helvetica, sans-serif;
    color: #232323;
    font-size: 22px;
}

.cookie-swal-button {
    font-family: "Neue Montreal Medium", "Neue Montreal", Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    padding: 12px 30px;
}
