.dpp-overlay { position:fixed; inset:0; z-index:11000; background:rgba(3,19,10,.76); backdrop-filter:blur(7px); display:flex; align-items:center; justify-content:center; padding:24px; overscroll-behavior:contain }
.dpp-dialog { position:relative; width:100%; max-width:480px; max-height:calc(100dvh - 48px); background:#fff; border-radius:8px; color:#17281c; box-shadow:0 24px 100px #0006; font-family:'DM Sans',sans-serif; outline:none; animation:dpp-in .2s ease-out }
.dpp-content { max-height:calc(100dvh - 48px); overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; border-radius:8px }
.dpp-dialog * { box-sizing:border-box; letter-spacing:0 }
.dpp-close { --progress:100%; position:absolute; top:12px; right:12px; z-index:3; display:grid; place-items:center; width:44px; height:44px; padding:3px; border:0; border-radius:50%; background:conic-gradient(#5fcd7a var(--progress),#dce9e0 0); color:#173c24; cursor:pointer; font:700 14px 'DM Sans',sans-serif; box-shadow:0 2px 10px #0002 }
.dpp-close:before { content:''; position:absolute; inset:3px; border-radius:50%; background:#fff }
.dpp-close span { position:relative; grid-area:1/1 }
.dpp-x { display:none; font-size:27px; font-weight:400 }
@media(hover:hover) { .dpp-close:hover .dpp-count { visibility:hidden } .dpp-close:hover .dpp-x { display:block } }
.dpp-close:focus-visible .dpp-count { visibility:hidden }
.dpp-close:focus-visible .dpp-x { display:block }
.dpp-dialog button:focus-visible,.dpp-dialog a:focus-visible { outline:3px solid #61b77b; outline-offset:3px }
.dpp-brand { display:flex; align-items:center; gap:15px; padding:18px 70px 16px 24px; border-bottom:1px solid #e9eee9; min-height:74px }
.dpp-brand img { width:102px; height:44px; object-fit:contain }
.dpp-brand > span { font-size:9px; font-weight:600; color:#7a877e; max-width:90px; line-height:1.6; border-left:1px solid #dce8df; padding-left:15px }
.dpp-eyebrow { display:block; font-size:10px; font-weight:700; color:#26853f; margin-bottom:7px }
.dpp-offer-heading { padding:20px 24px 16px }
.dpp-dialog h2 { font-family:inherit; font-size:25px; line-height:1.2; margin:0 0 7px; font-weight:700; color:#17281c }
.dpp-offer-heading > p { font-size:13px; color:#6d7b72; margin:0; line-height:1.5 }
.dpp-slide[hidden] { display:none !important }
.dpp-car-photo { background:#f2f5f2; aspect-ratio:3/2; overflow:hidden; touch-action:pan-y }
.dpp-car-photo img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none }
.dpp-car-body { padding:20px 24px 16px }
.dpp-car-line { display:flex; justify-content:space-between; align-items:baseline; gap:15px; min-height:30px }
.dpp-car-line h3 { font:700 21px/1.25 'DM Sans',sans-serif; margin:0; color:#17281c; overflow-wrap:anywhere }
.dpp-car-line strong { font-size:23px; white-space:nowrap; color:#1e6833 }
.dpp-car-specs { color:#6d7b72; font-size:12px; margin:8px 0 18px; min-height:18px }
.dpp-car-specs span { padding:0 5px; color:#9aaa9e }
.dpp-rate { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:14px 0; padding:12px 14px; background:#f0f7f2; border:1px solid #d7e9dc; border-radius:5px }
.dpp-rate > div > span { display:block; font-size:11px; font-weight:600; color:#327344 }
.dpp-rate > div > small { display:block; font-size:10px; color:#7c8d80; margin-top:4px }
.dpp-rate > strong { font-size:23px; line-height:1.2; color:#227439; white-space:nowrap }
.dpp-rate > strong > small { font-size:11px; font-weight:500 }
.dpp-rate-note { font-size:10px; line-height:1.5; color:#7d8b81; margin:10px 0 0 }
.dpp-primary,.dpp-secondary { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; min-height:48px; padding:12px 16px; border-radius:5px; font:600 14px/1.5 'DM Sans',sans-serif; text-decoration:none; cursor:pointer }
.dpp-primary { background:#23843c; color:#fff; border:1px solid #23843c }
.dpp-primary:hover { background:#196c2e }
.dpp-secondary { background:#fff; color:#24773a; border:1px solid #b4d4bb; margin-top:10px }
.dpp-secondary:hover { background:#f1f7f2 }
.dpp-secondary > span { font-size:12px }
.dpp-slide-nav { display:flex; align-items:center; justify-content:center; gap:14px; padding:0 24px 20px }
.dpp-slide-nav > button { width:36px; height:36px; border:1px solid #d7e3da; background:#fff; color:#245b32; border-radius:50%; font-size:27px; cursor:pointer }
.dpp-dots { display:flex; gap:7px }
.dpp-dots button { width:24px; height:24px; border:0; background:transparent; cursor:pointer; padding:8px }
.dpp-dots button:before { content:''; display:block; width:8px; height:8px; border-radius:50%; background:#d5e2d8 }
.dpp-dots button[aria-pressed=true]:before { background:#23843c }
.dpp-position { font-size:11px; color:#78857b; min-width:28px }
.dpp-contact-photo { height:150px; overflow:hidden }
.dpp-contact-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 38% }
.dpp-contact-body { padding:24px }
.dpp-contact-message { font-size:14px; line-height:1.7; color:#6d7b72; margin:14px 0 22px }
.dpp-current-car { font-size:12px; font-weight:600; color:#287a3d; margin:10px 0 0 }
.dpp-whatsapp { display:block; text-align:center; color:#287a3d; font-size:12px; margin:18px 0 0; text-decoration:none }
.dpp-home { max-width:820px; padding-top:56px; background:transparent; overflow:visible; box-shadow:none }
.dpp-home .dpp-close { top:0; right:0 }
.dpp-home .dpp-content { overflow:visible }
.dpp-banner-link { display:block; text-align:center; max-height:calc(100dvh - 120px) }
.dpp-banner { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100dvh - 120px); object-fit:contain; border-radius:8px; margin:auto; box-shadow:0 24px 100px #0006 }
@keyframes dpp-in { from { opacity:0; transform:translateY(10px) } to { opacity:1; transform:translateY(0) } }
@media(max-width:540px) {
  .dpp-overlay { padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom)) }
  .dpp-dialog { max-height:calc(100dvh - 32px) }
  .dpp-content { max-height:calc(100dvh - 32px) }
  .dpp-brand { padding-left:20px; min-height:68px }
  .dpp-offer-heading { padding:16px 20px 14px }
  .dpp-dialog h2 { font-size:23px }
  .dpp-car-body { padding:16px 20px 12px }
  .dpp-car-line h3 { font-size:19px }
  .dpp-car-line strong { font-size:21px }
  .dpp-contact-photo { height:120px }
  .dpp-contact-body { padding:20px }
}
@media(max-height:700px) { .dpp-car-photo { aspect-ratio:2/1 } .dpp-contact-photo { height:90px } .dpp-brand { padding-top:10px; padding-bottom:10px; min-height:60px } }
@media(prefers-reduced-motion:reduce) { .dpp-dialog { animation:none } }
/* Keep the offer, actions and carousel controls in one viewport. */
.dpp-offers .dpp-content { display:flex; flex-direction:column; height:min(820px,calc(100dvh - 48px)); overflow:hidden; }
.dpp-offers .dpp-brand,.dpp-offers .dpp-offer-heading,.dpp-offers .dpp-car-body,.dpp-offers .dpp-slide-nav { flex-shrink:0; }
.dpp-offers .dpp-slides { flex:1; min-height:0; }
.dpp-offers .dpp-slide { display:flex; flex-direction:column; height:100%; }
.dpp-offers .dpp-car-photo { flex:1; min-height:0; aspect-ratio:auto; }
.dpp-offers .dpp-car-photo img { object-fit:cover; object-position:center bottom; }
@media(max-width:540px) {
  .dpp-offers .dpp-content { height:min(820px,calc(100dvh - 32px)); }
}
@media(max-height:700px) {
  .dpp-offers .dpp-brand { min-height:52px; padding-top:8px; padding-bottom:8px; }
  .dpp-offers .dpp-offer-heading { padding-top:10px; padding-bottom:10px; }
  .dpp-offers .dpp-offer-heading h2 { font-size:21px; }
  .dpp-offers .dpp-offer-heading > p { font-size:11px; line-height:1.35; }
  .dpp-offers .dpp-eyebrow { margin-bottom:4px; }
  .dpp-offers .dpp-car-body { padding:12px 16px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .dpp-offers .dpp-car-line,.dpp-offers .dpp-rate,.dpp-offers .dpp-rate-note { grid-column:1/-1; }
  .dpp-offers .dpp-car-line { gap:8px; }
  .dpp-offers .dpp-car-line h3 { font-size:17px; }
  .dpp-offers .dpp-car-line strong { font-size:20px; }
  .dpp-offers .dpp-rate { margin:0; padding:8px 12px; }
  .dpp-offers .dpp-rate > strong { font-size:21px; }
  .dpp-offers .dpp-primary,.dpp-offers .dpp-secondary { margin:0; padding:10px; font-size:12px; gap:6px; }
  .dpp-offers .dpp-rate-note { margin:0; font-size:9px; }
  .dpp-offers .dpp-slide-nav { padding-bottom:12px; gap:10px; }
}
