.pdp-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--pdp-btn-border);
    background: var(--pdp-btn-bg);
    color: var(--pdp-btn-text);
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
    width: 100%;
    max-width: 360px;
}

.pdp-download-btn:hover {
    background: var(--pdp-btn-hover-bg);
    border-color: var(--pdp-btn-hover-border);
    color: var(--pdp-btn-hover-text);
}

.pdp-download-btn:active {
    transform: translateY(1px);
}

.pdp-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999;

    align-items: center;
    justify-content: center;

    padding: 16px;
}

.pdp-modal.is-open {
    display: flex;
    align-content: center;
}

.pdp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.pdp-modal__panel {
    position: relative;
    width: min(92vw, 520px);
    max-height: 90vh;
    overflow: auto;
    margin: auto;

    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);

    z-index: 1;
}

.pdp-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.pdp-modal__title {
    margin: 0 0 6px 0;
    font-size: 18px;
}

.pdp-modal__subtitle {
    margin: 0 0 14px 0;
    opacity: .8;
}

.pdp-modal__form {
    display: grid;
    gap: 12px;
}

.pdp-modal__form .pdp-field {
    display: block;
}

.pdp-modal__form {
    grid-template-columns: 1fr 1fr;
}

.pdp-modal__actions,
.pdp-modal__msg,
.pdp-modal__form input[type="hidden"] {
    grid-column: 1 / -1;
}

.pdp-field {
    width: 100%;
}

.pdp-field span {
    display: inline-grid;
    font-size: 13px;
    margin-bottom: 6px;
    opacity: .85;
}

.pdp-field input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.15);
    outline: none;
}

.pdp-field input:focus {
    border-color: rgba(0,0,0,.35);
}

.pdp-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.pdp-modal__submit,
.pdp-modal__cancel {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.15);
    cursor: pointer;
}

.pdp-modal__submit {
    background: #111;
    color: #fff;
    border-color: #111;
}

.pdp-modal__cancel {
    background: #fff;
}

.pdp-modal__msg {
    margin: 2px 0 0;
    font-size: 13px;
    opacity: .85;
}

.pdp-modal__panel {
    margin:  auto;
    padding: 14px;
}

#pdpModal .pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
    margin: 0 0 12px;
}

#pdpModal .pdp-grid p {
    margin: 0;
}

#pdpModal .pdp-grid input,
#pdpModal .pdp-grid select,
#pdpModal .pdp-grid textarea {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 520px) {
    #pdpModal .pdp-grid {
        grid-template-columns: 1fr;
    }
}

#pdpModal .pdp-modal__panel {
    padding: 20px;
    margin: auto
}

#pdpModal .wpcf7-submit {
    background-color: #FF6B00;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
}

#pdpModal .pdp-cf7-form {
    padding: 12px;
}