/* Packaging Depot - shared Contact Form 7 style. Same file in every PD plugin. */
@font-face { font-family: "PDC Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "PDC Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "PDC Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "PDC Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "PDC Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/poppins-800.woff2) format("woff2"); }
.pd-cf7 { position: relative; color: #3d3e46; font-family: "PDC Poppins", "Poppins", system-ui, sans-serif !important; font-size: 16px; line-height: 1.6; text-align: left; }
.pd-cf7 *, .pd-cf7 *::before, .pd-cf7 *::after { box-sizing: border-box; font-family: inherit !important; }
.pd-cf7 input, .pd-cf7 textarea, .pd-cf7 select { font-family: "PDC Poppins", "Poppins", system-ui, sans-serif !important; }
@keyframes pdcf-spin { to { transform: rotate(360deg); } }
@keyframes pdcf-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pdcf-draw { to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------------------
 * Shared Contact Form 7 look (same as the Contact page)
 * ------------------------------------------------------------------------- */
.pd-cf7 .wpcf7 { margin: 0; }
.pd-cf7 .wpcf7-form > p { margin: 0; }
.pd-cf7 .wpcf7-form br { display: none; }
.pd-cf7 .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.pd-cf7 .wpcf7-form-control-wrap { display: block; position: relative; }

/* Request type as tabs */
.pd-cf7 .pdc-cf-mode { margin-bottom: 28px; }
.pd-cf7 .pdc-cf-mode .wpcf7-radio { display: inline-flex; gap: 4px; padding: 5px; max-width: 100%; border-radius: 60px; background: #f5f6f9; border: 1px solid #e6e8ee; }
.pd-cf7 .pdc-cf-mode .wpcf7-list-item { margin: 0; }
.pd-cf7 .pdc-cf-mode label { display: block; margin: 0; cursor: pointer; }
.pd-cf7 .pdc-cf-mode input { position: absolute; opacity: 0; pointer-events: none; }
.pd-cf7 .pdc-cf-mode .wpcf7-list-item-label { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 60px; color: #3d3e46; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .35s, color .35s, box-shadow .35s; }
.pd-cf7 .pdc-cf-mode .wpcf7-list-item-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #c62625; transition: background .35s, border-color .35s; }
.pd-cf7 .pdc-cf-mode input:checked + .wpcf7-list-item-label { background: #10131c; color: #fff; box-shadow: 0 10px 20px -10px rgba(16, 19, 28, .7); }
.pd-cf7 .pdc-cf-mode input:checked + .wpcf7-list-item-label::before { background: #ff7473; border-color: #ff7473; }
.pd-cf7 .pdc-cf-mode input:focus-visible + .wpcf7-list-item-label { outline: 2px solid #c62625; outline-offset: 2px; }

/* Fields */
.pd-cf7 .pdc-cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.pd-cf7 .pdc-cf-field { display: grid; gap: 7px; margin: 0; align-content: start; }
.pd-cf7 .pdc-cf-full { grid-column: 1 / -1; }
.pd-cf7 .pdc-cf-field > span { color: #10131c; font-size: 13px; font-weight: 600; }
.pd-cf7 input[type="text"], .pd-cf7 input[type="email"], .pd-cf7 input[type="tel"], .pd-cf7 input[type="number"], .pd-cf7 input[type="url"], .pd-cf7 select, .pd-cf7 textarea {
	width: 100%; max-width: 100%; margin: 0; padding: 14px 16px; border: 1px solid #e6e8ee !important; border-radius: 14px !important; background: #f5f6f9 !important; color: #10131c; font: 400 15px "PDC Poppins", "Poppins", sans-serif; box-shadow: none; outline: 0; transition: border-color .25s, background .25s, box-shadow .25s;
}
.pd-cf7 textarea { display: block; height: auto; min-height: 130px; resize: vertical; }
.pd-cf7 input:not([type="submit"]):focus, .pd-cf7 select:focus, .pd-cf7 textarea:focus { border-color: #c62625 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(198, 38, 37, .1); }
.pd-cf7 .wpcf7-not-valid { border-color: #c62625 !important; background: #fff6f6 !important; }
.pd-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #c62625; font-size: 12px; font-weight: 400; }

/* Quote-only pills */
.pd-cf7 .pdc-cf-quote { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; grid-column: 1 / -1; overflow: hidden; max-height: 140px; opacity: 1; transition: max-height .5s cubic-bezier(.2, .8, .2, 1), opacity .35s, margin .5s; }
.pd-cf7.is-question .pdc-cf-quote { max-height: 0; opacity: 0; margin-bottom: -18px; }
.pd-cf7 .pdc-cf-quote .wpcf7-radio { display: flex; padding: 4px; border-radius: 14px; background: #f5f6f9; border: 1px solid #e6e8ee; }
.pd-cf7 .pdc-cf-quote .wpcf7-list-item { flex: 1; margin: 0; }
.pd-cf7 .pdc-cf-quote label { display: block; margin: 0; cursor: pointer; }
.pd-cf7 .pdc-cf-quote input { position: absolute; opacity: 0; pointer-events: none; }
.pd-cf7 .pdc-cf-quote .wpcf7-list-item-label { display: block; padding: 10px 6px; border-radius: 10px; color: #6b6e7a; font-size: 13px; font-weight: 500; text-align: center; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.pd-cf7 .pdc-cf-quote input:checked + .wpcf7-list-item-label { background: #10131c; color: #fff; box-shadow: 0 8px 16px -8px rgba(16, 19, 28, .6); }
.pd-cf7 .pdc-cf-quote input:focus-visible + .wpcf7-list-item-label { outline: 2px solid #c62625; outline-offset: 2px; }

/* Submit: same red pill with the white circle */
.pd-cf7 .pdc-cf-submit { position: relative; isolation: isolate; border-radius: 60px; box-shadow: 0 14px 30px -14px rgba(198, 38, 37, .7); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.pd-cf7 .pdc-cf-submit:hover { transform: translateY(-2px); }
.pd-cf7 .wpcf7-submit { display: block; width: 100%; height: 62px; margin: 0; padding: 0 70px 0 28px; border: 0 !important; border-radius: 60px !important; background: #c62625 linear-gradient(#10131c, #10131c) no-repeat 0 0 / 0 100% !important; color: #fff !important; font: 600 15px/1 "PDC Poppins", "Poppins", sans-serif; text-align: left; letter-spacing: 0; text-transform: none; cursor: pointer; box-shadow: none !important; transition: background-size .5s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.pd-cf7 .wpcf7-submit:hover, .pd-cf7 .wpcf7-submit:focus-visible { background-size: 100% 100% !important; }
.pd-cf7 .wpcf7-submit:focus-visible { outline: 2px solid #10131c; outline-offset: 3px; }
.pd-cf7 .wpcf7-submit:disabled { opacity: .7; cursor: wait; }
.pd-cf7 .pdc-cf-submit::after { content: ""; position: absolute; right: 10px; top: 10px; width: 42px; height: 42px; border-radius: 50%; pointer-events: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62625' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4 20-7z'/%3E%3C/svg%3E") no-repeat center / 18px; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pd-cf7 .pdc-cf-submit:hover::after { transform: rotate(-45deg); }
.pd-cf7 .wpcf7-spinner { display: none !important; }
.pd-cf7 form.submitting .pdc-cf-submit::after { animation: pdcf-spin 1s linear infinite; }

/* Response box */
.pd-cf7 form.init .wpcf7-response-output, .pd-cf7 form.resetting .wpcf7-response-output, .pd-cf7 form.submitting .wpcf7-response-output, .pd-cf7 .wpcf7-response-output:empty { display: none; }
.pd-cf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 14px 18px !important; border: 1px solid #e6e8ee !important; border-radius: 14px; background: #f5f6f9; color: #10131c; font-size: 14px; text-align: center; }
.pd-cf7 form.invalid .wpcf7-response-output, .pd-cf7 form.unaccepted .wpcf7-response-output, .pd-cf7 form.payment-required .wpcf7-response-output, .pd-cf7 form.failed .wpcf7-response-output, .pd-cf7 form.aborted .wpcf7-response-output, .pd-cf7 form.spam .wpcf7-response-output { border-color: #f3c2c1 !important; background: #fff6f6; color: #c62625; }
.pd-cf7 form.sent .wpcf7-response-output { border-color: #bfe5cc !important; background: #f1faf4; color: #177a3c; }
.pd-cf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

@media (max-width: 767px) {
	.pd-cf7 .pdc-cf-mode .wpcf7-radio { display: flex; }
	.pd-cf7 .pdc-cf-mode .wpcf7-list-item { flex: 1; }
	.pd-cf7 .pdc-cf-mode .wpcf7-list-item-label { justify-content: center; padding: 0 10px; font-size: 13px; }
	.pd-cf7 .pdc-cf-mode .wpcf7-list-item-label::before { display: none; }
	.pd-cf7 .pdc-cf-grid { grid-template-columns: 1fr; }
	.pd-cf7 .pdc-cf-quote { grid-template-columns: 1fr; max-height: 320px; }
}


/* Thank-you panel shown after CF7 sends */
.pd-cf7 .pd-cf7-done { position: absolute; inset: -6px; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border-radius: 20px; background: #fff; text-align: center; animation: pdcf-pop .6s cubic-bezier(.2, .8, .2, 1); }
.pd-cf7 .pd-cf7-done[hidden] { display: none; }
.pd-cf7 .pd-cf7-done-ico { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; border-radius: 50%; background: #c62625; color: #fff; box-shadow: 0 0 0 12px #fdeceb; }
.pd-cf7 .pd-cf7-done-ico svg { width: 38px; height: 38px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: pdcf-draw .6s .25s forwards; }
.pd-cf7 .pd-cf7-done h3 { margin: 0 !important; color: #10131c !important; font-size: 24px !important; font-weight: 700 !important; line-height: 1.3 !important; }
.pd-cf7 .pd-cf7-done p { margin: 8px 0 18px !important; color: #6b6e7a !important; }
.pd-cf7 .pd-cf7-again { padding: 0; border: 0; background: none; color: #c62625; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.pd-cf7 .pd-cf7-again:hover, .pd-cf7 .pd-cf7-again:focus { background: none; color: #10131c; }
