.pd-privacy[hidden],
.pd-privacy [hidden] {
    display: none !important;
}

.pd-privacy {
    position: relative;
    z-index: 999999;
    font: inherit;
}

.pd-privacy__banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(18, 59, 42, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(18, 59, 42, 0.18);
    color: #17211b;
}

.pd-privacy__content {
    max-width: 760px;
}

.pd-privacy__content h2,
.pd-privacy__panel-card h2 {
    margin: 0 0 8px;
    color: #123b2a;
    font-size: 1.18rem;
    line-height: 1.3;
}

.pd-privacy__content p,
.pd-privacy__panel-card p {
    margin: 0;
    line-height: 1.55;
}

.pd-privacy__policy {
    margin-top: 8px !important;
}

.pd-privacy__actions,
.pd-privacy__panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-privacy .button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #1f5a3f;
    border-radius: 10px;
    background: #ffffff;
    color: #1f5a3f;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.pd-privacy .button-primary {
    background: #1f5a3f;
    color: #ffffff;
}

.pd-privacy__panel {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 24, 17, 0.62);
}

.pd-privacy__panel-card {
    width: min(620px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 26px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.pd-privacy__choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #dbe4de;
    border-radius: 14px;
}

.pd-privacy__choice span {
    display: grid;
    gap: 4px;
}

.pd-privacy__choice small {
    color: #5f6c64;
}

.pd-privacy__choice input {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.pd-privacy__choice--locked {
    background: #f6f8f6;
}

.pd-privacy__panel-actions {
    justify-content: flex-end;
    margin-top: 22px;
}

.pd-privacy__reopen {
    position: fixed;
    right: 18px;
    bottom: 18px;
    padding: 9px 12px;
    border: 1px solid #1f5a3f;
    border-radius: 999px;
    background: #ffffff;
    color: #1f5a3f;
    box-shadow: 0 8px 24px rgba(18, 59, 42, 0.14);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .pd-privacy__banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: block;
        padding: 18px;
    }

    .pd-privacy__actions {
        margin-top: 16px;
    }

    .pd-privacy__actions .button {
        flex: 1 1 100%;
    }

    .pd-privacy__panel {
        padding: 12px;
    }

    .pd-privacy__panel-card {
        max-height: calc(100vh - 24px);
        padding: 20px;
    }
}
