:root {
  --dd-ink: #111827;
  --dd-muted: #667085;
  --dd-line: #dfe5ec;
  --dd-soft: #f4f7fa;
  --dd-panel: #ffffff;
  --dd-accent: #d91f2a;
  --dd-accent-dark: #a9141c;
  --dd-green: #08775a;
  --dd-navy: #111c31;
  --dd-shadow: 0 18px 55px rgba(16, 24, 40, .09);
}

body { background: #f6f8fb !important; }
.dd-shell { width: min(1480px, calc(100% - 36px)); margin: 0 auto; padding: 22px 0 80px; color: var(--dd-ink); }
.dd-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--dd-muted); font-size: .8rem; }
.dd-breadcrumb a { color: inherit; text-decoration: none; }

.dd-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: 34px; align-items: center; min-height: 330px; padding: 48px 54px; border-radius: 30px; color: #fff; background: linear-gradient(130deg, #101b30 0%, #1d3154 68%, #4e1820 100%); box-shadow: 0 28px 75px rgba(15, 28, 50, .2); }
.dd-hero::before { content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -210px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.dd-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: 120px; bottom: -180px; border-radius: 50%; background: rgba(217,31,42,.18); }
.dd-hero__copy, .dd-near { position: relative; z-index: 1; }
.dd-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.dd-hero h1 { max-width: 800px; margin: 18px 0 14px; font-size: clamp(2.15rem, 4.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }
.dd-hero__copy > p { max-width: 760px; margin: 0; color: #dbe5f3; font-size: 1rem; line-height: 1.7; }
.dd-hero__points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.dd-hero__points span { padding: 8px 11px; border-radius: 999px; color: #e5edf8; background: rgba(255,255,255,.09); font-size: .7rem; font-weight: 750; }
.dd-near { padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.dd-near h2 { margin: 0 0 8px; font-size: 1.08rem; }
.dd-near p { margin: 0 0 15px; color: #d6e1ef; font-size: .78rem; line-height: 1.55; }
.dd-near button { width: 100%; min-height: 50px; padding: 0 16px; border: 0; border-radius: 13px; color: var(--dd-navy); background: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.dd-near button:disabled { opacity: .65; cursor: progress; }
.dd-near__status { min-height: 18px; margin-top: 10px; padding: 7px 9px; border-radius: 9px; color: #e3ebf6; background: rgba(255,255,255,.06); font-size: .71rem; line-height: 1.4; text-align: center; }
.dd-near__status[data-state="loading"] { color: #fff; background: rgba(255,255,255,.12); }
.dd-near__status[data-state="success"] { color: #d7fff0; background: rgba(8,119,90,.32); }
.dd-near__status[data-state="error"] { color: #ffe6e8; background: rgba(217,31,42,.25); }

.dd-filter { position: relative; z-index: 2; margin: -28px 28px 28px; padding: 20px; border: 1px solid var(--dd-line); border-radius: 22px; background: #fff; box-shadow: var(--dd-shadow); }
.dd-filter__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dd-field { min-width: 0; }
.dd-field--wide { grid-column: span 2; }
.dd-field label { display: block; margin: 0 0 6px; color: #475467; font-size: .68rem; font-weight: 850; }
.dd-field input, .dd-field select { width: 100%; height: 47px; padding: 0 12px; border: 1px solid #cfd7e2; border-radius: 11px; color: var(--dd-ink); background: #fff; font: inherit; font-size: .83rem; }
.dd-field select:disabled { color: #98a2b3; background: #f6f7f9; }
.dd-checks { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; grid-column: 1 / -1; }
.dd-check { display: inline-flex; align-items: center; gap: 8px; color: #344054; font-size: .77rem; font-weight: 750; }
.dd-check input { width: 17px; height: 17px; accent-color: var(--dd-accent); }
.dd-filter__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; grid-column: 1 / -1; padding-top: 4px; }
.dd-btn { min-height: 44px; padding: 0 18px; border: 1px solid var(--dd-line); border-radius: 11px; color: var(--dd-ink); background: #fff; font: inherit; font-size: .78rem; font-weight: 850; text-decoration: none; cursor: pointer; }
.dd-btn--primary { border-color: var(--dd-navy); color: #fff; background: var(--dd-navy); }
.dd-filter__clear { color: var(--dd-muted); font-size: .75rem; font-weight: 750; text-decoration: none; }

.dd-notice { margin: 20px 0; padding: 17px 18px; border: 1px solid #f4d29c; border-radius: 14px; color: #7b4d08; background: #fff7e6; font-size: .82rem; }
.dd-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 16px; }
.dd-toolbar h2 { margin: 0; font-size: 1.48rem; }
.dd-toolbar p { margin: 5px 0 0; color: var(--dd-muted); font-size: .78rem; }
.dd-toolbar__right { display: flex; align-items: center; gap: 8px; }
.dd-view-switch { display: flex; padding: 4px; border: 1px solid var(--dd-line); border-radius: 12px; background: #fff; }
.dd-view-switch button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--dd-muted); background: transparent; font: inherit; font-size: .72rem; font-weight: 850; cursor: pointer; }
.dd-view-switch button.is-active { color: #fff; background: var(--dd-navy); }

.dd-active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: -5px 0 15px; }
.dd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; color: #24416a; background: #eaf0f8; font-size: .7rem; font-weight: 800; }
.dd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dd-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--dd-line); border-radius: 22px; background: var(--dd-panel); box-shadow: 0 10px 30px rgba(16,24,40,.055); transition: transform .18s ease, box-shadow .18s ease; }
.dd-card:hover { transform: translateY(-3px); box-shadow: var(--dd-shadow); }
.dd-card__media { position: relative; aspect-ratio: 16 / 8.7; overflow: hidden; background: linear-gradient(145deg, #e7ecf2, #f8fafc); }
.dd-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.dd-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #7a8799; font-size: 2.4rem; font-weight: 950; }
.dd-card__logo { position: absolute; left: 15px; bottom: -25px; display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; border: 4px solid #fff; border-radius: 16px; color: var(--dd-navy); background: #fff; box-shadow: 0 8px 22px rgba(16,24,40,.16); font-size: .8rem; font-weight: 950; }
.dd-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.dd-badge { position: absolute; top: 13px; display: inline-flex; min-height: 29px; align-items: center; padding: 0 9px; border-radius: 999px; color: #fff; background: rgba(17,28,49,.88); font-size: .64rem; font-weight: 900; white-space: nowrap; backdrop-filter: blur(7px); }
.dd-badge--distance { left: 13px; }
.dd-badge--verified { right: 13px; background: rgba(8,119,90,.93); }
.dd-card__body { display: flex; flex: 1; flex-direction: column; padding: 34px 17px 17px; }
.dd-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dd-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.dd-card__updated { white-space: nowrap; color: var(--dd-muted); font-size: .62rem; }
.dd-card__location { margin-top: 5px; color: var(--dd-muted); font-size: .75rem; line-height: 1.45; }
.dd-card__description { margin: 13px 0; color: #475467; font-size: .76rem; line-height: 1.55; }
.dd-card__rating { margin-top: 5px; color: #8a5a00; font-size: .7rem; font-weight: 900; }
.dd-card__models, .dd-card__categories { display: flex; flex-wrap: wrap; gap: 6px; }
.dd-model { padding: 6px 8px; border-radius: 999px; color: #24416a; background: #edf3fb; font-size: .64rem; font-weight: 850; }
.dd-category { padding: 5px 7px; border: 1px solid #e3e8ef; border-radius: 8px; color: #5e6b7c; background: #fafbfc; font-size: .61rem; font-weight: 750; }
.dd-card__delivery { margin-top: 11px; color: var(--dd-green); font-size: .68rem; font-weight: 850; }
.dd-card__onsite { display: inline-flex; align-self: flex-start; align-items: center; min-height: 30px; margin-top: 10px; padding: 5px 10px; border: 1px solid #e3a14b; border-radius: 999px; color: #713500; background: #fff1d6; font-size: .7rem; font-weight: 950; line-height: 1.2; }
.dd-card__disclaimer { margin: 11px 0 0; color: #667085; font-size: .64rem; line-height: 1.45; }
.dd-card__actions { display: grid; grid-template-columns: minmax(82px,1fr) repeat(4,42px); gap: 7px; margin-top: auto; padding-top: 15px; }
.dd-card__actions a, .dd-card__actions button { display: flex; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--dd-line); border-radius: 10px; color: var(--dd-navy); background: #fff; text-decoration: none; font: inherit; font-size: .72rem; font-weight: 900; cursor: pointer; }
.dd-card__actions a:first-child { border-color: var(--dd-navy); color: #fff; background: var(--dd-navy); }
.dd-card__actions .dd-wa { border-color: #0b966b; color: #fff; background: #0b966b; }

.dd-empty { padding: 60px 24px; border: 1px dashed #bcc7d4; border-radius: 22px; background: #fff; text-align: center; }
.dd-empty h3 { margin: 11px 0 7px; }
.dd-empty p { max-width: 560px; margin: 0 auto 18px; color: var(--dd-muted); }
.dd-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.dd-pagination a { display: grid; min-width: 40px; height: 40px; padding: 0 10px; place-items: center; border: 1px solid var(--dd-line); border-radius: 10px; color: var(--dd-ink); background: #fff; text-decoration: none; font-size: .76rem; font-weight: 850; }
.dd-pagination a.is-active { border-color: var(--dd-navy); color: #fff; background: var(--dd-navy); }

.dd-map { display: none; min-height: 620px; overflow: hidden; border: 1px solid var(--dd-line); border-radius: 22px; background: #e9eef4; }
.dd-map.is-active { display: block; }
.dd-map .leaflet-container { min-height: 620px; }
.dd-map-popup { min-width: 210px; }
.dd-map-popup strong { display: block; font-size: .87rem; }
.dd-map-popup span { display: block; margin: 4px 0 9px; color: #667085; font-size: .7rem; }
.dd-map-popup span.dd-map-popup__distance { color: #24416a; font-weight: 800; }
.dd-map-popup a { display: inline-flex; margin-right: 5px; padding: 6px 8px; border-radius: 7px; color: #fff; background: #111c31; text-decoration: none; font-size: .66rem; font-weight: 850; }
.dd-list.is-hidden { display: none; }

.dd-detail { display: grid; gap: 20px; }
.dd-detail-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .75fr); overflow: hidden; border: 1px solid var(--dd-line); border-radius: 26px; background: #fff; box-shadow: var(--dd-shadow); }
.dd-detail-hero__media { min-height: 380px; background: #e9edf2; }
.dd-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.dd-detail-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.dd-detail-hero__copy h1 { margin: 10px 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; }
.dd-detail-hero__copy p { color: var(--dd-muted); line-height: 1.65; }
.dd-detail__onsite-badge { padding: 8px 11px !important; border: 1px solid #e3a14b; color: #713500 !important; background: #fff1d6 !important; font-weight: 950 !important; }
.dd-detail__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 20px; }
.dd-detail__actions a { display: flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 11px; color: #fff; background: var(--dd-navy); text-decoration: none; font-size: .75rem; font-weight: 900; }
.dd-detail__actions a.dd-wa { background: #0b966b; }
.dd-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .42fr); gap: 20px; }
.dd-section { padding: 23px; border: 1px solid var(--dd-line); border-radius: 20px; background: #fff; }
.dd-section h2 { margin: 0 0 15px; font-size: 1.18rem; }
.dd-section p { color: #475467; line-height: 1.72; }
.dd-branch-list { display: grid; gap: 10px; }
.dd-branch { padding: 14px; border: 1px solid var(--dd-line); border-radius: 13px; background: #fafbfc; }
.dd-branch strong { display: block; font-size: .82rem; }
.dd-branch span { display: block; margin-top: 4px; color: var(--dd-muted); font-size: .72rem; }
.dd-branch__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dd-branch__actions a { padding: 7px 9px; border-radius: 8px; color: #fff; background: var(--dd-navy); text-decoration: none; font-size: .65rem; font-weight: 850; }
.dd-stale { padding: 14px 16px; border: 1px solid #f1cf95; border-radius: 13px; color: #7c4c05; background: #fff6e4; font-size: .78rem; }

@media (max-width: 1050px) {
  .dd-hero, .dd-detail-hero, .dd-detail-grid { grid-template-columns: 1fr; }
  .dd-filter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd-detail-hero__media { min-height: 310px; }
}

@media (max-width: 680px) {
  .dd-shell { width: min(100% - 20px, 1480px); padding-top: 10px; }
  .dd-hero { min-height: 0; padding: 30px 21px; border-radius: 20px; }
  .dd-hero h1 { font-size: 2.25rem; }
  .dd-near { padding: 18px; }
  .dd-near button { min-height: 48px; }
  .dd-near__status { text-align: left; }
  .dd-filter { margin: -13px 7px 23px; padding: 14px; }
  .dd-filter__grid, .dd-grid { grid-template-columns: 1fr; }
  .dd-field--wide { grid-column: auto; }
  .dd-filter__actions, .dd-toolbar { align-items: stretch; flex-direction: column; }
  .dd-filter__actions .dd-btn, .dd-toolbar__right, .dd-view-switch { width: 100%; }
  .dd-view-switch button { flex: 1; }
  .dd-map, .dd-map .leaflet-container { min-height: 520px; }
  .dd-detail-hero__media { min-height: 240px; }
  .dd-detail-hero__copy, .dd-section { padding: 18px; }
  .dd-detail__actions { grid-template-columns: 1fr; }
}
