/* EuReciclo — Pedido de Recolha. Folha consolidada, exclusiva deste formulário. */
body #page-container .eureciclo-recolha,body .eureciclo-recolha{
 --epr-ink:#00003d;--epr-accent:#ff4e37;box-sizing:border-box;
 display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:22px 22px;
 width:100%;max-width:1060px;margin:0 auto;color:var(--epr-ink);
 font-family:'Century Gothic',CenturyGothic,Arial,sans-serif;font-size:16px;line-height:1.65;
}
body .eureciclo-recolha *,body .eureciclo-recolha *::before,body .eureciclo-recolha *::after{box-sizing:border-box}
body .eureciclo-recolha>*{grid-column:1/-1;min-width:0}
body #page-container .eureciclo-recolha p,body .eureciclo-recolha p{margin:0!important;padding:0!important;color:inherit;font:400 16px/1.65 'Century Gothic',CenturyGothic,Arial,sans-serif}
body .eureciclo-recolha>p:first-child{font-size:18px!important}
body .eureciclo-recolha label{display:block;margin:0;color:var(--epr-ink);font-family:inherit;font-size:14px;font-weight:600;line-height:1.55}
body .eureciclo-recolha .wpcf7-form-control-wrap{display:block;width:100%;margin-top:8px}
/* Colunas proporcionais ao conteúdo. O HTML e os nomes CF7 mantêm-se. */
body .eureciclo-recolha>p:has([name="nome-entidade"]){grid-column:span 9}
body .eureciclo-recolha>p:has([name="nif-entidade"]){grid-column:span 3}
body .eureciclo-recolha>p:has([name="nome-contacto"]){grid-column:span 5}
body .eureciclo-recolha>p:has([name="telefone"]){grid-column:span 3}
body .eureciclo-recolha>p:has([name="email-contacto"]){grid-column:span 4}
body .eureciclo-recolha>p:has([name="codigo-postal"]){grid-column:span 2}
body .eureciclo-recolha>p:has([name="localidade"]){grid-column:span 6}
body .eureciclo-recolha>p:has([name="distrito"]){grid-column:span 4}
body #page-container .eureciclo-recolha input.wpcf7-text,body #page-container .eureciclo-recolha textarea,body #page-container .eureciclo-recolha select,
body .eureciclo-recolha input.wpcf7-text,body .eureciclo-recolha textarea,body .eureciclo-recolha select{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:13px 14px!important;min-height:50px!important;height:auto!important;
 border:1px solid #00003d35!important;border-radius:3px!important;background:#faf8f5!important;
 color:#00003d!important;font:400 16px/1.5 'Century Gothic',CenturyGothic,Arial,sans-serif!important;
 box-shadow:none!important;transition:border-color .15s,background-color .15s;
}
body .eureciclo-recolha textarea{resize:vertical;min-height:120px!important}
body #page-container .eureciclo-recolha textarea[name="morada-recolha"],body .eureciclo-recolha textarea[name="morada-recolha"]{min-height:78px!important;height:78px!important}
body .eureciclo-recolha input[name="codigo-postal"]{font-variant-numeric:tabular-nums;letter-spacing:.5px}
body .eureciclo-recolha input::placeholder,body .eureciclo-recolha textarea::placeholder{color:#686875;opacity:1}
body .eureciclo-recolha input:focus-visible,body .eureciclo-recolha textarea:focus-visible,body .eureciclo-recolha select:focus-visible{outline:2px solid #00003d!important;outline-offset:2px;background:#fff!important}
body .eureciclo-recolha fieldset{
 min-width:0;width:100%;margin:10px 0!important;padding:22px!important;
 border:1px solid #00003d20!important;border-radius:4px!important;background:#fff;
}
body .eureciclo-recolha legend{width:auto;max-width:100%;padding:0 10px!important;color:var(--epr-ink);font:600 17px/1.5 'Century Gothic',CenturyGothic,Arial,sans-serif}
body .eureciclo-recolha .wpcf7-radio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
body .eureciclo-recolha fieldset:has([name="tipo-entidade"]) .wpcf7-radio{grid-template-columns:repeat(4,minmax(0,1fr))}
body .eureciclo-recolha fieldset:has([name="grandes-dimensoes"]) .wpcf7-radio{grid-template-columns:repeat(3,minmax(0,1fr))}
body .eureciclo-recolha .wpcf7-list-item{display:block!important;margin:0!important;min-width:0}
body .eureciclo-recolha .wpcf7-list-item label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:15px;font-weight:400;line-height:1.55}
body .eureciclo-recolha input[type=radio]{flex:0 0 18px;width:18px!important;height:18px!important;min-height:0!important;margin:3px 0 0!important;padding:0!important;accent-color:#ff4e37;cursor:pointer}
/* Fotografias em três espaços equivalentes. */
body .eureciclo-recolha fieldset:has(input[type=file]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px}
body .eureciclo-recolha fieldset:has(input[type=file])>p{grid-column:1/-1}
body .eureciclo-recolha fieldset:has(input[type=file])>p:has(input[type=file]){grid-column:auto}
body .eureciclo-recolha fieldset:has(input[type=file])>p:first-of-type{font-size:14px!important;color:#626272}
body .eureciclo-recolha input[type=file]{display:block;width:100%;max-width:100%;min-width:0;padding:12px 10px;border:1px dashed #00003d50;border-radius:3px;background:#faf8f5;color:#00003d;font:400 13px/1.5 'Century Gothic',CenturyGothic,Arial,sans-serif}
body .eureciclo-recolha input[type=file]::file-selector-button{display:block;margin:0 0 9px;padding:8px 10px;border:1px solid #00003d35;border-radius:2px;background:#fff;color:#00003d;font:inherit;cursor:pointer}
body #page-container .eureciclo-recolha input.wpcf7-submit,body .eureciclo-recolha input.wpcf7-submit{display:inline-block;max-width:100%;width:auto!important;min-height:52px;margin:6px 0 0!important;padding:15px 30px!important;border:1px solid #ff4e37!important;border-radius:0!important;background:#ff4e37!important;color:#00003d!important;font:700 16px/1.4 'Century Gothic',CenturyGothic,Arial,sans-serif!important;cursor:pointer;white-space:normal}
body .eureciclo-recolha input.wpcf7-submit:hover{background:#00003d!important;border-color:#00003d!important;color:#fff!important}
body .eureciclo-recolha input.wpcf7-submit:disabled{opacity:.6;cursor:wait}
body .eureciclo-recolha .wpcf7-not-valid-tip{margin-top:6px;font-size:13px;line-height:1.45;color:#a31616}
body .eureciclo-recolha .wpcf7-not-valid{border-color:#a31616!important}
@media(max-width:900px){
 body .eureciclo-recolha{gap:20px 18px}
 body .eureciclo-recolha>p:has([name="nome-contacto"]){grid-column:span 8}
 body .eureciclo-recolha>p:has([name="telefone"]){grid-column:span 4}
 body .eureciclo-recolha>p:has([name="email-contacto"]){grid-column:1/-1}
 body .eureciclo-recolha>p:has([name="codigo-postal"]){grid-column:span 3}
 body .eureciclo-recolha>p:has([name="localidade"]){grid-column:span 5}
 body .eureciclo-recolha fieldset:has([name="tipo-entidade"]) .wpcf7-radio{grid-template-columns:1fr}
}
@media(max-width:700px){
 body .eureciclo-recolha{max-width:100%;gap:20px}
 body .eureciclo-recolha>p:has(input),body .eureciclo-recolha>p:has(select){grid-column:1/-1!important}
 body .eureciclo-recolha>p:has([name="codigo-postal"]){max-width:180px}
 body .eureciclo-recolha fieldset{padding:18px 14px!important;margin:6px 0!important}
 body .eureciclo-recolha .wpcf7-radio{grid-template-columns:1fr}
 body .eureciclo-recolha fieldset:has(input[type=file]){grid-template-columns:1fr}
 body #page-container .eureciclo-recolha input.wpcf7-submit,body .eureciclo-recolha input.wpcf7-submit{width:100%!important}
}
@media(prefers-reduced-motion:reduce){body .eureciclo-recolha *{transition:none!important}}

/* Confirmação e erros — apenas no formulário de recolha. */
body #page-container .wpcf7-form:has(.eureciclo-recolha) .wpcf7-response-output,
body .wpcf7-form:has(.eureciclo-recolha) .wpcf7-response-output{
 position:relative;box-sizing:border-box;width:100%;margin:24px 0 0!important;padding:20px 24px!important;
 border:1px solid #e5dfd9!important;border-left:5px solid #ff4e37!important;border-radius:4px!important;
 background:#faf8f5!important;color:#00003d!important;box-shadow:none;
 font:400 15px/1.65 'Century Gothic',CenturyGothic,Arial,sans-serif!important;
}
body .wpcf7-form.sent:has(.eureciclo-recolha) .wpcf7-response-output::before{
 content:'Pedido recebido';display:block;margin-bottom:5px;color:#00003d;font-size:20px;font-weight:700;line-height:1.4;
}
body #page-container .wpcf7-form.invalid:has(.eureciclo-recolha) .wpcf7-response-output,
body #page-container .wpcf7-form.failed:has(.eureciclo-recolha) .wpcf7-response-output,
body #page-container .wpcf7-form.aborted:has(.eureciclo-recolha) .wpcf7-response-output,
body .wpcf7-form.invalid:has(.eureciclo-recolha) .wpcf7-response-output,
body .wpcf7-form.failed:has(.eureciclo-recolha) .wpcf7-response-output,
body .wpcf7-form.aborted:has(.eureciclo-recolha) .wpcf7-response-output{
 background:#fff6f4!important;border-left-color:#a31616!important;
}
@media(max-width:700px){body #page-container .wpcf7-form:has(.eureciclo-recolha) .wpcf7-response-output{padding:17px 18px!important}}
