/* Contact page adopts the portal components without changing legacy shop layouts. */
body.jd-contacts { background: #f6f8f4; }
.jd-contacts .jd-contact-width { width: min(1180px, calc(100% - 64px)); }
.jd-contacts [hidden] { display: none !important; }
.jd-contacts .jd-contact-hero { padding: 22px 0 36px; background: linear-gradient(115deg, #f4f8ee, #eaf3e1); border-bottom: 1px solid #e0e8d9; }
.jd-contacts .jd-contact-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; height: auto; margin: 0 0 22px; padding: 0; background: none; border: 0; box-shadow: none; color: #61705c; font: 400 13px/1.5 var(--jd-font); text-shadow: none; }
.jd-contacts .jd-contact-breadcrumb a:hover { text-decoration: underline; }
.jd-contacts .jd-contact-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.jd-contacts .jd-contact-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #4d7c30; }
.jd-contacts .jd-contact-intro h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -1px; font-weight: 900; margin: 7px 0 12px; }
.jd-contacts .jd-contact-intro p { max-width: 630px; color: #60715e; }
.jd-contacts .jd-contact-intro > a { flex-shrink: 0; }
.jd-contacts .jd-contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; padding-block: 32px; align-items: start; }
.jd-contacts .jd-contact-sidebar { display: grid; gap: 24px; min-width: 0; }
.jd-contacts .jd-contact-card { padding: 26px; min-width: 0; overflow-wrap: anywhere; }
.jd-contacts .jd-contact-card-title { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.jd-contacts .jd-contact-card-title h2 { font-size: 23px; font-weight: 900; letter-spacing: -.4px; }
.jd-contacts .jd-contact-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #edf5e5; color: #548c2c; }
.jd-contacts .jd-contact-address { font: inherit; color: #5d6e60; line-height: 1.65; margin: 0; }
.jd-contacts .jd-contact-channels { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.jd-contacts .jd-contact-channels a, .jd-contacts .jd-contact-channels span { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.jd-contacts .jd-contact-channels a:hover { color: #448800; text-decoration: underline; }
.jd-contacts .jd-contact-channels .jd-icon { color: #6b8b5e; width: 19px; height: 19px; flex-shrink: 0; }
.jd-contacts #jd-contact-map { height: 240px; width: 100%; border-radius: 12px; background: #eef3e9; z-index: 0; }
.jd-contacts #jd-contact-map img { max-width: none; }
.jd-contacts .jd-contact-location > p { color: #647360; font-size: 14px; }
.jd-contacts .jd-contact-map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #427821; font-size: 14px; font-weight: 800; }
.jd-contacts .jd-contact-map-link:hover { text-decoration: underline; }
.jd-contacts .jd-contact-map-link .jd-icon { width: 18px; height: 18px; }
.jd-contacts .jd-contact-form-intro { color: #61705e; font-size: 15px; margin-bottom: 22px; }
.jd-contacts #contact_form { margin: 0; scroll-margin-top: 24px; }
.jd-contacts .jd-contact-required { color: #697662; font-size: 12px; margin-bottom: 16px; }
.jd-contacts .jd-contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
.jd-contacts .jd-contact-field { min-width: 0; }
.jd-contacts .jd-contact-full { grid-column: 1 / -1; }
.jd-contacts .jd-contact-field label { display: block; font: 800 14px/1.5 var(--jd-font); margin-bottom: 7px; color: #304f37; }
.jd-contacts .jd-contact-field input, .jd-contacts .jd-contact-field textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #d2ddcc; border-radius: 10px; background: #fbfcf9; color: #173f30; box-shadow: inset 0 1px 2px #153d3010; font: 400 16px/1.5 var(--jd-font); }
.jd-contacts .jd-contact-field textarea { resize: vertical; min-height: 150px; }
.jd-contacts .jd-contact-field input:focus, .jd-contacts .jd-contact-field textarea:focus { outline: 3px solid #b7d79d; outline-offset: 1px; border-color: #6e9b50; background: white; }
.jd-contacts .jd-contact-field [aria-invalid="true"] { border-color: #b24e3e; background: #fffaf8; }
.jd-contacts .jd-contact-field-error { display: block; margin-top: 6px; color: #9a3d2d; font-size: 13px; }
.jd-contacts .jd-contact-feedback { float: none; clear: both; width: 100%; margin-top: 20px; padding: 14px 16px; border: 1px solid #c9ddb9; border-radius: 10px; color: #315c1b; background: #eef7e5; font-size: 14px; }
.jd-contacts .jd-contact-feedback.is-error { background: #fff5ef; color: #8d3c2d; border-color: #ebc9bd; }
.jd-contacts .jd-contact-submit { display: flex; clear: both; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.jd-contacts .jd-contact-submit > button { flex-shrink: 0; }
.jd-contacts .jd-contact-submit > span { max-width: 190px; color: #718068; font-size: 12px; }
.jd-contacts .jd-button:disabled { opacity: .65; cursor: wait; }
.jd-contacts .jd-contact-legal { grid-column: 1 / -1; }
.jd-contacts .jd-contact-legal-columns { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 32px; }
.jd-contacts .jd-contact-legal-copy { color: #62715f; font-size: 14px; line-height: 1.7; }
.jd-contacts .jd-contact-legal-copy p + p { margin-top: 16px; }
.jd-contacts .jd-contact-legal-columns .jd-contact-channels { margin-top: 0; }
.jd-contacts .jd-contact-search { padding: 30px 0 38px; border-top: 1px solid #e0e8d9; background: #eef4e7; }
.jd-contacts .jd-contact-search h2 { font-size: 23px; font-weight: 900; }
.jd-contacts .jd-contact-search > div > p { font-size: 14px; color: #65745e; margin: 8px 0 20px; }
.jd-contacts .jd-contact-search .jd-search { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 0 18px; align-items: end; padding: 20px; border: 1px solid #e0e8d9; border-radius: 15px; box-shadow: none; background: #fff; }
.jd-contacts .jd-contact-search label { color: #52644d; font-size: 13px; margin-bottom: 8px; }
.jd-contacts .jd-contact-search label[for="where"] { grid-column: 1; grid-row: 1; }
.jd-contacts .jd-contact-search label[for="what"] { grid-column: 2; grid-row: 1; }
.jd-contacts .jd-contact-search .jd-input-wrap { grid-row: 2; margin: 0; }
.jd-contacts .jd-contact-search .jd-button { grid-column: 3; grid-row: 2; font-size: 16px; }
.jd-contacts .jd-contact-search #jd-search-help { display: none; }
@media (max-width:800px) {
 .jd-contacts .jd-contact-width { width: calc(100% - 32px); }
 .jd-contacts .jd-contact-intro { align-items: flex-start; flex-direction: column; gap: 20px; }
 .jd-contacts .jd-contact-grid { grid-template-columns: minmax(0,1fr); gap: 20px; padding-block: 24px; }
 .jd-contacts .jd-contact-sidebar { grid-row: 2; gap: 20px; }
 .jd-contacts .jd-contact-form-card { grid-row: 1; }
 .jd-contacts .jd-contact-legal-columns { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .jd-contacts .jd-contact-search .jd-search { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .jd-contacts .jd-contact-search .jd-button { grid-row: 3; grid-column: 1 / -1; margin-top: 16px; }
}
@media (max-width:520px) {
 .jd-contacts .jd-contact-card { padding: 20px; }
 .jd-contacts .jd-contact-card-title h2 { font-size: 21px; }
 .jd-contacts .jd-contact-fields { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .jd-contacts .jd-contact-submit { align-items: stretch; flex-direction: column; gap: 12px; }
 .jd-contacts .jd-contact-submit > span { max-width: none; }
 .jd-contacts .jd-contact-search .jd-search { display: block; }
 .jd-contacts .jd-contact-search .jd-input-wrap { margin-bottom: 16px; }
 .jd-contacts .jd-contact-search .jd-button { margin-top: 0; }
}
