/* Shared, touch-friendly controls. Form logic and consent are unchanged here. */
.pet-age-question legend,.pet-extras legend{font-weight:700;font-size:17px;line-height:1.35}
.pet-age-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:420px}
.pet-age-fields .text-input{width:100%;min-height:52px;font:inherit;font-size:18px;font-weight:700;border-radius:12px;background:#fff}
.question-help{font-size:13px;line-height:1.5;color:#626262;margin:7px 0 12px}
.pet-extras{padding:18px;border:1px solid #d9dfca;border-radius:16px;background:#f8faf0}
.optional-label{display:block;font-size:12px;font-weight:400;color:#626262;margin-top:3px}
.pet-extras .choice{background:#fff}
.pet-extras .choice input{border-radius:4px;accent-color:#a2c617}
body #funnel .pet-extras .choice:after{width:18px;height:18px;border-radius:4px;display:grid;place-items:center;font-size:14px;line-height:1;color:#303232}
body #funnel .pet-extras .choice:has(input:checked):after{content:'✓';box-shadow:none;background:#a2c617;border-color:#a2c617}
.pet-extras .choice:has(input:checked){border-color:#a2c617;background:#f2f7dc}
.pet-extras .question-help{margin-bottom:0}
body[data-page="tier"] #funnel .funnel-body:has(.pet-age-question) .funnel-art{display:none}
body[data-page="tier"] #funnel .funnel-body:has(.pet-age-question){gap:20px}
body #funnel .funnel-actions:has(.back-button){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}
body #funnel .funnel-actions:has(.back-button)>:is(.back-button,.btn-primary){position:relative;display:flex;align-items:center;justify-content:center;grid-row:auto;justify-self:stretch;width:100%;min-width:0;min-height:52px;height:auto;margin:0;padding:12px 36px;border:1.5px solid #d5d8cc;border-radius:999px;font:inherit;font-size:16px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none;box-shadow:0 3px 8px #30323214;white-space:normal;box-sizing:border-box}
body #funnel .funnel-actions>.back-button{background:linear-gradient(180deg,#fff,#f1f2ed);color:#303232}
body #funnel .funnel-actions:has(.back-button)>.btn-primary{border-color:#a2c617;background:linear-gradient(180deg,#d3e783,#b1d237 38%,#a2c617 70%);color:#303232}
body #funnel .funnel-actions:has(.back-button)>.btn-primary:before{top:3px;left:12%;right:12%;height:28%;background:linear-gradient(180deg,#ffffffb3,#ffffff0d);border-radius:999px}
body #funnel .funnel-actions:has(.back-button) .btn-icon-badge{position:absolute;left:9px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:50%;background:#ffffff50}
body #funnel .funnel-actions:has(.back-button) .btn-icon-badge .icon{width:16px;height:16px}
body #funnel .funnel-actions .back-arrow .icon{transform:rotate(180deg)}
body #funnel .funnel-actions:has(.back-button) .btn-arrow{right:8px;width:20px;height:20px}
body #funnel .funnel-actions>button:focus-visible{outline:3px solid #303232;outline-offset:3px}
@media(max-width:1024px){
 body .funnel-hero>.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;max-width:760px;margin-inline:auto}
 body .funnel-hero>.hero-grid>.funnel-shell{order:-1;min-width:0;width:100%;max-width:none}
 body .funnel-hero>.hero-grid>.hero-copy{order:1;padding-top:0;min-width:0}
 body.av-home .hero>.av-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);max-width:760px;gap:32px;margin-inline:auto}
 body.av-home .hero>.av-hero-grid>.quiz-card{order:-1;min-width:0;width:100%;max-width:none}
 body.av-home .hero>.av-hero-grid>.hero-copy{order:1;min-width:0}
}
@media(max-width:600px){
 .pet-age-question legend,.pet-extras legend{font-size:16px}
 .pet-age-fields .text-input{min-height:50px;font-size:18px}
 .pet-extras{padding:12px}
 body #funnel .pet-extras .option-grid{grid-template-columns:minmax(0,1fr)}
 body #funnel .pet-extras .choice{min-height:58px;padding:12px 34px 12px 12px}
 body #funnel .funnel-actions:has(.back-button){gap:8px;margin-top:20px;margin-bottom:12px;padding-inline:0}
 body #funnel .funnel-actions:has(.back-button)>:is(.back-button,.btn-primary){min-height:48px;font-size:14px;padding:11px 28px}
 body #funnel .funnel-actions:has(.back-button) .btn-icon-badge{left:5px;width:20px;height:20px}
 body #funnel .funnel-actions:has(.back-button) .btn-arrow{right:5px;width:16px;height:16px}
}
@media(prefers-reduced-motion:reduce){body #funnel .funnel-actions>button{transition:none}}
@media(max-width:400px){
 body #funnel .funnel-actions:has(.back-button)>:is(.back-button,.btn-primary){padding-inline:12px}
 body #funnel .funnel-actions:has(.back-button) :is(.btn-icon-badge,.btn-arrow){display:none}
}
