body.jd-results { background: #f6f8f4; }
.jd-results .jd-results-main, .jd-results .jd-results-search > .jd-container { width: min(1180px, calc(100% - 64px)); }
/* Restaurant search uses the homepage components and its own responsive content layout. */
.jd-results .jd-results-search { background: #f0f5eb; padding: 18px 0 24px; border-bottom: 1px solid #dce7d8; }
.jd-results .jd-results-search .jd-container > span, .jd-results .jd-back-home { font-size: 13px; color: #526b57; }
.jd-results .jd-results-search h1 { font-size: clamp(26px,2.4vw,34px); font-weight: 900; letter-spacing: -.8px; line-height: 1.2; margin: 8px 0 18px; }
.jd-results .jd-results-search .jd-search { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) auto; column-gap: 18px; align-items: end; padding: 17px 20px; border: 1px solid #e0e8da; border-radius: 15px; box-shadow: 0 3px 14px #24401b06; background: #fff; color: #193e2d; }
.jd-results .jd-results-search .jd-search label { color: #52644d; font-size: 12px; font-weight: 800; margin: 0 0 7px; }
.jd-results .jd-results-search .jd-search label[for="where"] { grid-column: 1; grid-row: 1; }
.jd-results .jd-results-search .jd-search label[for="what"] { grid-column: 2; grid-row: 1; }
.jd-results .jd-results-search .jd-search .jd-input-wrap { margin: 0; grid-row: 2; }
.jd-results .jd-results-search .jd-search .jd-button { grid-column: 3; grid-row: 2; min-width: 170px; min-height: 46px; font-size: 16px; }
.jd-results .jd-results-search .jd-search > p { display: none; }
.jd-results .jd-results-main { padding-top: 22px; padding-bottom: 36px; min-height: 350px; }
.jd-results .jd-results-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.jd-results .jd-results-toolbar h2 { font-size: 21px; font-weight: 800; }
.jd-results .jd-results-toolbar p { color: #627166; font-size: 14px; margin-top: 5px; }
.jd-results .jd-results-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.jd-results .jd-sort { font-family: var(--jd-font); font-size: 12px; color: #57695d; display: grid; gap: 4px; font-weight: 700; }
.jd-results .jd-sort select { min-height: 46px; min-width: 160px; padding: 9px 34px 9px 12px; border: 1px solid #b9cbb4; border-radius: 11px; background: white; color: #183f30; font: 700 15px var(--jd-font); }
.jd-results .jd-results-columns { display: grid; grid-template-columns: minmax(0,1fr); gap: 26px; align-items: start; }
.jd-results .jd-results-columns:has(.jd-results-deals) { grid-template-columns: minmax(0,1fr) 250px; }
.jd-results .jd-results-list { display: grid; gap: 12px; min-width: 0; }
.jd-results .jd-result-card { display: grid; grid-template-columns: 76px minmax(0,1fr) 148px; gap: 18px; align-items: center; padding: 19px 20px; border-radius: 14px; box-shadow: 0 2px 7px #1c3c2b06; }
.jd-results .jd-result-logo { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid #edf1ea; border-radius: 15px; background: #fcfdf9; overflow: hidden; }
.jd-results .jd-result-logo img { width: 70px; height: 70px; object-fit: contain; }
.jd-results .jd-result-logo-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: #6e985c; background: #f0f6e8; }
.jd-results .jd-result-logo-fallback .jd-icon { width: 35px; height: 35px; stroke-width: 1.7; }
.jd-results [hidden] { display: none !important; }
.jd-results .jd-result-info h2 { font-size: 19px; font-weight: 800; letter-spacing: -.35px; overflow-wrap: anywhere; line-height: 1.25; }
.jd-results .jd-result-info h2 a:hover { color: #438600; }
.jd-results .jd-result-address { display: flex; align-items: start; gap: 5px; color: #637369; font-size: 13px; line-height: 1.45; margin-top: 6px; overflow-wrap: anywhere; }
.jd-results .jd-result-address .jd-icon { width: 16px; height: 16px; margin-top: 2px; }
.jd-results .jd-result-status { display: inline-block; max-width: 100%; margin-top: 0; padding: 4px 9px; border-radius: 20px; background: #f0f1ef; color: #59665b; font-size: 12px; font-weight: 800; }
.jd-results .jd-status-open { background: #e7f5df; color: #376d18; }
.jd-results .jd-status-soon { background: #fff3d6; color: #79570b; }
.jd-results .jd-status-limited, .jd-results .jd-status-closed { background: #f7eeeb; color: #80584d; }
.jd-results .jd-result-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0; }
.jd-results .jd-result-features:empty { display: none; }
.jd-results .jd-result-features > span { border-radius: 6px; padding: 3px 7px; font-size: 11px; color: #607455; background: #f0f5ea; }
.jd-results .jd-result-payments { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 9px 0 0; gap: 0; }
.jd-results .jd-result-payments li { padding: 0; font-size: 11px; color: #7a8679; border: 0; }
.jd-results .jd-result-end { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.jd-results .jd-result-rating { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 0; border-radius: 8px; background: #fff8e5; color: #294833; font: 400 14px var(--jd-font); cursor: pointer; }
.jd-results .jd-result-rating .jd-icon { fill: #ffc900; stroke: #dfab08; width: 19px; height: 19px; }
.jd-results .jd-result-rating strong { font-size: 15px; }
.jd-results .jd-no-rating { color: #869187; font-size: 12px; }
.jd-results .jd-ad-label { display: inline-block; font-size: 10px; line-height: 1.4; color: #83907e; background: #f2f5ed; border-radius: 4px; padding: 2px 5px; }
.jd-results .jd-results-deals { float: none; width: auto; padding: 20px; box-shadow: none; }
.jd-results .jd-results-deals h2 { font-size: 19px; }
.jd-results .jd-results-deals > p { font-size: 13px; color: #6b7a6d; margin-top: 5px; }
.jd-results .jd-results-deals > a { display: grid; gap: 5px; padding: 17px 0; border-bottom: 1px solid #e8eee3; }
.jd-results .jd-results-deals > a:last-child { padding-bottom: 0; border-bottom: 0; }
.jd-results .jd-results-deals > a > span:last-child { font-size: 12px; color: #6b7a6d; }
.jd-results .jd-discount { color: #397900; font-weight: 800; }
.jd-results .jd-results-map { border: 1px solid #dce8d4; background: white; border-radius: 18px; padding: 18px; margin-bottom: 24px; }
.jd-results .jd-map-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.jd-results .jd-map-heading h2 { font-size: 21px; }
.jd-results #map_canvas { height: 360px; width: 100%; border-radius: 12px; z-index: 0; }
.jd-results .jd-map-note { font-size: 12px; color: #6c7b6c; margin-top: 12px; }
.jd-results .jd-pagination { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; height: auto; padding: 12px 0; border: 0; background: none; box-shadow: none; text-shadow: none; font: 700 14px var(--jd-font); }
.jd-results .jd-pagination a, .jd-results .jd-pagination > span { display: inline-flex; justify-content: center; align-items: center; min-width: 42px; height: 42px; padding: 8px; border: 1px solid #dce7d7; border-radius: 10px; color: #416a2a; }
.jd-results .jd-pagination a[aria-current] { background: #edf6e4; border-color: #94bd74; }
.jd-results .jd-no-results { padding: 34px; text-align: center; }
.jd-results .jd-empty-icon { color: #6c9c47; display: block; margin-bottom: 14px; }
.jd-results .jd-empty-icon .jd-icon { width: 44px; height: 44px; }
.jd-results .jd-no-results p { max-width: 650px; margin: 14px auto 20px; color: #657467; }
.jd-results .jd-request-forms { margin-top: 22px; padding: 22px; }
.jd-results .jd-request-forms summary { cursor: pointer; font-weight: 800; padding-block: 5px; }
.jd-results .jd-request-forms .box_content, .jd-results .jd-request-forms .form1, .jd-results .jd-request-forms .form2 { width: 100%; max-width: 650px; float: none; }
.jd-results .jd-request-forms .dn { display: none; }
.jd-results .jd-request-forms .form1 p, .jd-results .jd-request-forms .form2 p { margin-block: 15px; }
.jd-results .jd-request-forms input:not([type="radio"]):not([type="button"]), .jd-results .jd-request-forms textarea { width: 100%; max-width: 100%; min-height: 44px; border: 1px solid #cbdac1; border-radius: 9px; padding: 10px; font: 400 15px var(--jd-font); background: white; }
.jd-results .jd-request-forms .title1 { line-height: 1.4; margin-block: 18px; }
.jd-results .jd-request-forms .title2 { padding: 8px; border-radius: 6px; }
.jd-results .jd-request-forms label { font-family: var(--jd-font); }
.jd-results .jd-cuisine-intro { padding: 28px; margin-bottom: 22px; }
.jd-results .jd-cuisine-intro p { margin-top: 12px; color: #627365; }
.jd-results .jd-cuisine-cities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.jd-results .jd-cuisine-cities section { padding: 22px; }
.jd-results .jd-cuisine-cities ul { list-style: none; padding: 0; margin: 12px 0 0; }
.jd-results .jd-cuisine-cities li a { display: block; padding-block: 7px; font-size: 15px; }
.jd-results .jd-cuisine-cities li a:hover { color: #438600; }
.jd-results .jd-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width:1100px) {
 .jd-results .jd-results-columns:has(.jd-results-deals) { grid-template-columns: minmax(0,1fr); }
 .jd-results .jd-results-deals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 20px; }
 .jd-results .jd-results-deals h2, .jd-results .jd-results-deals > p { grid-column: 1 / -1; }
}
@media (max-width:800px) {
 .jd-results .jd-results-search .jd-search { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 20px; }
 .jd-results .jd-results-search .jd-search .jd-button { grid-column: 1 / -1; grid-row: 3; margin-top: 16px; }
 .jd-results .jd-cuisine-cities { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:520px) {
 .jd-results .jd-results-search .jd-search { display: block; }
 .jd-results .jd-results-search .jd-search label { margin-bottom: 8px; }
 .jd-results .jd-results-search .jd-search .jd-input-wrap { margin-bottom: 16px; }
 .jd-results .jd-results-search .jd-search .jd-button { margin-top: 0; min-width: 0; }
 .jd-results .jd-results-actions { width: 100%; justify-content: space-between; gap: 10px; }
 .jd-results .jd-results-actions .jd-button { font-size: 13px; padding-inline: 11px; }
 .jd-results .jd-sort select { min-width: 0; width: 140px; }
 .jd-results .jd-result-card { padding: 16px; gap: 12px; grid-template-columns: 56px minmax(0,1fr); }
 .jd-results .jd-result-logo { width: 56px; height: 56px; }
 .jd-results .jd-result-logo img { width: 52px; height: 52px; }
 .jd-results .jd-result-info h2 { font-size: 18px; }
 .jd-results .jd-result-address { font-size: 12px; }
 .jd-results .jd-result-end { flex-wrap: wrap; }
 .jd-results .jd-result-end > .jd-button { min-width: 140px; font-size: 13px; }
 .jd-results .jd-results-deals, .jd-results .jd-cuisine-cities { grid-template-columns: minmax(0,1fr); }
 .jd-results .jd-no-results, .jd-results .jd-request-forms { padding: 22px; }
 .jd-results #map_canvas { height: 300px; }
}

.jd-results .jd-results-search .jd-search .jd-input-wrap input { min-height: 46px; border-color: #e5ecdf; background: #f8faf5; }
.jd-results .jd-result-headline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.jd-results .jd-result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }
.jd-results .jd-result-features { display: contents; }
.jd-results .jd-result-status { font-size: 11px; line-height: 1.4; }
.jd-results .jd-result-status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.jd-results .jd-result-payments li + li::before { content: '·'; display: inline-block; padding-inline: 7px; color: #b3bdae; }
.jd-results .jd-result-payments:not(:has(li)) { display: none; }
.jd-results .jd-result-end > .jd-button { min-height: 40px; padding: 9px 13px; border: 1px solid #d9e7cc; border-radius: 10px; background: #edf5e4; color: #346721; box-shadow: none; font-size: 13px; }
.jd-results .jd-result-end > .jd-button:hover { background: #e1efcf; filter: none; }
.jd-results .jd-result-card:hover, .jd-results .jd-result-card:focus-within { border-color: #cadbbd; }
.jd-results .jd-results-actions > .jd-button { min-height: 44px; font-size: 13px; box-shadow: none; }
.jd-results .jd-sort select { min-height: 44px; font-size: 13px; }
@media (max-width: 800px) {
 .jd-results .jd-results-main, .jd-results .jd-results-search > .jd-container { width: calc(100% - 32px); }
 .jd-results .jd-results-search .jd-search { padding: 17px; }
}
@media (max-width: 640px) {
 .jd-results .jd-result-card { grid-template-columns: 60px minmax(0,1fr); gap: 13px; padding: 17px; }
 .jd-results .jd-result-logo { width: 60px; height: 60px; }
 .jd-results .jd-result-logo img { width: 56px; height: 56px; }
 .jd-results .jd-result-end { grid-column: 1 / -1; display: flex; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid #edf1e9; padding-top: 12px; gap: 12px; }
 .jd-results .jd-result-info h2 { font-size: 18px; }
 .jd-results .jd-result-end > .jd-button { min-width: 0; }
 .jd-results .jd-results-toolbar h2 { font-size: 20px; }
 .jd-results .jd-result-payments { row-gap: 3px; }
}
/* Restore the four legacy offer signals, with their actual active/inactive states. */
.jd-results .jd-result-card { grid-template-columns: 70px minmax(0,380px) minmax(244px,1fr) 130px; gap: 15px; }
.jd-results .jd-restaurant-badges { display: flex; align-items: start; justify-content: flex-start; gap: 4px; list-style: none; padding: 0; margin: 0; }
.jd-results .jd-restaurant-badges li { flex: 0 0 58px; }
.jd-results .jd-offer-badge { display: flex; align-items: center; flex-direction: column; gap: 6px; color: #929e8e; }
.jd-results .jd-badge-face { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #dde4d8; background: linear-gradient(145deg,#fbfcfa,#e9eee5); }
.jd-results .jd-badge-face .jd-icon { width: 23px; height: 23px; stroke-width: 1.8; }
.jd-results .jd-badge-face small { font-size: 8px; line-height: 1; font-weight: 900; white-space: nowrap; letter-spacing: -.1px; }
.jd-results .jd-badge-caption { font-size: 9px; line-height: 1.3; font-weight: 800; white-space: nowrap; }
.jd-results .jd-badge-face strong { font-size: 13px; font-weight: 900; }
.jd-results .jd-offer-badge.is-active { color: #376238; }
.jd-results .jd-badge-time.is-active .jd-badge-face { color: #197e8d; border-color: #b5e1e7; background: linear-gradient(145deg,#f1fdff,#d4f1f5); }
.jd-results .jd-badge-new .jd-badge-face { border-radius: 14px; }
.jd-results .jd-badge-new.is-active .jd-badge-face { color: #a67b0c; border-color: #f1d789; background: linear-gradient(145deg,#fffcef,#fff0bb); }
.jd-results .jd-badge-bonus.is-active .jd-badge-face { color: #5d8a1c; border-color: #cce4a2; background: linear-gradient(145deg,#f6fce8,#e3f2c9); }
.jd-results .jd-badge-discount .jd-badge-face { border-radius: 15px; }
.jd-results .jd-badge-discount.is-active .jd-badge-face { color: #357321; border-color: #b9d99b; background: linear-gradient(145deg,#f1fae9,#dcefc9); }
@media (min-width: 641px) and (max-width: 900px) {
 .jd-results .jd-result-card { grid-template-columns: 65px minmax(0,1fr) 125px; }
 .jd-results .jd-restaurant-badges { grid-column: 2; grid-row: 2; justify-content: flex-start; margin-top: -3px; }
 .jd-results .jd-result-end { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 640px) {
 .jd-results .jd-result-card { grid-template-columns: 56px minmax(0,1fr); gap: 12px; }
 .jd-results .jd-restaurant-badges { grid-column: 1 / -1; justify-content: flex-start; padding-top: 1px; gap: 8px; }
 .jd-results .jd-result-end { grid-column: 1 / -1; }
}

.jd-results .jd-result-sponsored { background: linear-gradient(105deg,#fffdf3,#fff 72%); border-color: #e5e6d4; }
