/* Test-drive cards use the shared vehicle dataset with always-visible booking actions. */
.test-drive-page{--td-title:MBCorpoATitleCond,DaimlerCAC-Regular,serif;background:#fff;color:#000;font-family:MBCorpoSText,Arial,sans-serif;letter-spacing:.2px;padding-bottom:32px}
.td-intro{width:86%;max-width:1680px;margin:0 auto;padding:48px 0;text-align:center}.td-intro h1{margin:0;font:400 64px/72px var(--td-title);letter-spacing:normal}.td-intro p{max-width:45%;margin:8px auto 0;font-size:16px;line-height:23px}
.td-layout{width:86%;max-width:1680px;margin:0 auto;display:grid;grid-template-columns:calc((100% - 120px)/4) minmax(0,1fr);gap:40px}.td-results{min-width:0}.td-sort-slot{display:flex;justify-content:flex-end;padding-top:32px}.td-sort{position:relative;width:250px;height:53px;border:1px solid #bbb;border-radius:12px}.td-sort label{position:absolute;top:5px;left:12px;font-size:12px;color:#555;pointer-events:none}.td-sort select{appearance:none;width:100%;height:100%;padding:20px 38px 6px 12px;border:0;border-radius:12px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 3h14L8 14Z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 18px center;background-size:14px 14px;font:16px MBCorpoSText,Arial,sans-serif;color:#000}
.td-group h2{margin:32px 0;font:400 34px/40px var(--td-title);letter-spacing:normal}.td-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.td-card{height:450px;min-width:0;padding:24px;background:#f8f8f8;border-radius:24px;display:flex;flex-direction:column;overflow:hidden}.td-card-info{height:100%;display:flex;flex-direction:column;align-items:center;min-height:0}.td-card h3{margin:0;text-align:center;font:400 26px/32px var(--td-title);letter-spacing:normal}.td-card-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:12px;min-height:24px}.td-card-tags span{padding:4px 12px;border-radius:3px;background:#bbb;font-size:12px;line-height:16px}.td-card-image{position:relative;width:100%;height:220px;flex-shrink:0;margin-top:4px}.td-card-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.td-card-price{width:100%;margin:auto 0 0;padding:12px 8px;text-align:center;background:#f1f1f1;font-size:16px;line-height:22px}.td-card-price span{display:block;font-size:12px;line-height:20px}.td-card-price strong{font-weight:700}.td-card-actions{padding-top:16px}.td-cta{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #0078d6;border-radius:999px;background:#0078d6;color:#fff;text-decoration:none;text-align:center;font:700 16px/22px MBCorpoSText,Arial,sans-serif}.td-cta:hover{background:#005a9e;border-color:#005a9e}.td-empty{padding:48px 0;font-size:18px;line-height:28px}.td-page [hidden],.test-drive-page [hidden]{display:none!important}
.td-filters{position:sticky;top:0;align-self:start;padding:32px 0;color:#555}.td-desktop-count{margin:0 0 32px;color:#000;font-size:24px;font-weight:700;line-height:32px}.td-filter-title{margin:0;font-size:18px;font-weight:700;line-height:24px}.td-facet{border-top:1px solid #ddd}.td-facet:last-of-type{border-bottom:1px solid #ddd}.td-facet summary{display:flex;align-items:center;padding:24px;font-size:18px;line-height:24px;font-weight:700;cursor:pointer;list-style:none}.td-facet summary::-webkit-details-marker{display:none}.td-facet summary:after{content:'';width:9px;height:9px;transform:rotate(45deg);border-right:2px solid;border-bottom:2px solid;margin-left:auto;margin-right:12px}.td-facet[open] summary:after{transform:rotate(225deg)}.td-options{display:flex;flex-direction:column;gap:12px;padding:0 24px 24px}.td-options label{display:flex;align-items:center;gap:10px;min-height:24px;color:#000;font:400 16px/24px var(--td-title);cursor:pointer}.td-options input{appearance:none;width:24px;height:24px;margin:0;flex-shrink:0;border:1px solid #777;border-radius:4px;background:#fff}.td-options input:checked{border-color:#0078d6;background:#0078d6}.td-options input:checked:after{content:'✓';display:block;text-align:center;color:#fff;font:18px/22px Arial}.td-price-box{padding:0 24px 24px}.td-price-box p{margin:0 0 12px;font-size:12px}.td-price-box label{display:block;margin-bottom:12px;font-size:12px}.td-price-box input{display:block;width:100%;padding:8px;border:1px solid #aaa;background:#fff;color:#000;font:16px MBCorpoSText,Arial,sans-serif}.td-reset{margin:20px 24px;padding:0;border:0;background:none;color:#333;text-decoration:underline;font:16px MBCorpoSText,Arial,sans-serif;cursor:pointer}.td-mobile-bar,.td-filter-close,.td-filter-bottom{display:none}.td-filter-open{display:flex;align-items:center;gap:12px;border:0;padding:0;background:none;box-shadow:0 1px #bbb;color:#000;font:700 16px/24px MBCorpoSText,Arial,sans-serif}.td-filter-open svg{width:16px;height:16px}
.test-drive-page button:focus-visible,.test-drive-page a:focus-visible,.test-drive-page summary:focus-visible{outline:2px solid #0078d6;outline-offset:4px}
@media(min-width:1024px) and (max-width:1439px){.td-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px) and (max-width:1439px){.td-layout{grid-template-columns:calc((100% - 72px)/4) minmax(0,1fr);gap:24px}}
@media(min-width:1024px) and (max-width:1279px){.td-layout{grid-template-columns:calc((100% - 32px)/3) minmax(0,1fr);gap:16px}.td-card{height:420px;padding:20px}.td-card-image{height:190px}.td-cta{font-size:15px}}
@media(max-width:1023px){.td-intro{padding:32px 0 0;text-align:center}.td-intro h1{font-size:40px;line-height:48px}.td-intro p{max-width:85%;margin-top:0;font-size:14px;line-height:20px}.td-layout{display:block}.td-mobile-bar{position:sticky;top:0;z-index:20;display:block;background:#fff}.td-mobile-bar>div{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:24px 0}.td-sort-slot{display:none}.td-group{padding-bottom:24px}.td-group h2{margin:0 0 24px;font-size:26px;line-height:40px}.td-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.td-card{height:420px;padding:16px;border-radius:20px}.td-card h3{font-size:24px;line-height:30px}.td-card-image{height:200px}.td-filters{display:none}.td-filters.is-open{position:fixed;inset:0;z-index:10000;display:block;overflow-y:auto;overscroll-behavior:contain;background:#fff;padding:104px 5% 110px}.td-filters>.td-sort{display:block;width:100%;margin-bottom:24px}.td-desktop-count,.td-filter-title{display:none}.td-filter-close{position:absolute;top:24px;right:5%;display:block;width:48px;height:48px;border:0;border-radius:50%;background:#f4f4f4;color:#333;font:32px/1 Arial}.td-facet summary{padding:16px;font-size:18px;line-height:40px}.td-options{padding:8px 16px 16px;gap:14px}.td-price-box{padding:0 16px 16px}.td-filter-bottom{position:fixed;bottom:0;left:0;display:block;width:100%;padding:16px 5% 32px;border-top:1px solid #ddd;background:#fff}.td-apply{width:100%;padding:12px 24px;border:0;border-radius:999px;background:#0078d6;color:#fff;font:700 16px MBCorpoSText,Arial,sans-serif}}
@media(max-width:1023px){.td-filters.is-open{height:100vh;height:100dvh;max-height:100dvh;box-sizing:border-box}}
@media(max-width:1023px){.td-filters.is-open .td-options{padding-bottom:8px}}
@media(max-width:767px){.td-intro{width:90%}.td-intro h1{font-size:32px;line-height:40px}.td-grid{grid-template-columns:1fr;gap:16px}.td-card{height:420px;padding:18px 18px 33px}.td-card-image{height:215px}.td-layout,.td-mobile-bar>div{width:90%}.td-mobile-bar>div{min-height:68px;padding-top:22px;padding-bottom:22px}}
@media(prefers-reduced-motion:reduce){.td-card,.td-cta{transition:none}}
.td-mobile-filter-title{display:none}
@media(max-width:1023px){.td-filters.is-open .td-mobile-filter-title{position:fixed;top:24px;left:5%;z-index:10001;display:block;margin:0;font-size:16px;font-weight:700;line-height:24px;color:#111}.td-filter-close{border:1px solid #777;background:#fff;color:#111}}
.td-facet-icon{width:16px;height:16px;flex:0 0 16px;margin-right:16px;color:#333}
.td-card-brand{margin:0 0 4px;text-align:center;font:400 14px/20px var(--td-title)}
.td-card-brand img{display:block;width:auto;height:10px;max-width:72px;margin:5px auto;filter:brightness(0)}
.td-card-info{height:auto;flex:1 1 auto}
.td-card-image{height:180px}
.td-card-image img{left:5%;width:90%}
@media(max-width:1023px){.td-card-image{height:160px}}
@media(max-width:1023px){.td-mobile-bar>div{margin-left:auto;margin-right:auto}}
@media(max-width:767px){.td-card-image{height:160px}}
/* Match the reference card treatment and interaction. */
.td-card-price{background:transparent;padding:12px 8px 0}
.td-card-actions{width:100%;display:flex;justify-content:center}
.td-cta{width:152px;min-height:44px;padding:10px 8px}
@media(min-width:1024px){.td-card-actions{opacity:0;transition:opacity .18s ease}.td-card:hover .td-card-actions,.td-card:focus-within .td-card-actions{opacity:1}}
@media(min-width:1024px) and (max-width:1439px){.td-intro{padding-bottom:42px}body.mb-test-drive-page .mb-header,body.mb-test-drive-page .mbvns-header{--mb-gutter:7vw;min-height:84px;padding:0 var(--mb-gutter);gap:0;justify-content:flex-start;flex-wrap:wrap}body.mb-test-drive-page .mb-header-actions{display:none}body.mb-test-drive-page .mb-header-compact{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:84px}body.mb-test-drive-page .mb-nav,body.mb-test-drive-page .mbvns-nav{display:none}body.mb-test-drive-page .mb-header .mb-logo,body.mb-test-drive-page .mbvns-header .mb-logo{position:absolute;top:26px;left:50%;transform:translateX(-50%)}body.mb-test-drive-page .mb-header .mb-logo img,body.mb-test-drive-page .mbvns-header .mb-logo img{width:32px;height:32px}body.mb-test-drive-page .mb-burger{display:flex;flex-direction:column;justify-content:center;align-items:center;width:48px;height:36px;margin:0;padding:0;border:0;background:none;cursor:pointer}body.mb-test-drive-page .mb-burger span{width:24px;height:2px;margin:3px 0;background:#e8e8e8}body.mb-test-drive-page .mb-compact-actions{display:flex;align-items:center;gap:16px}body.mb-test-drive-page .mb-compact-lang{display:grid;place-items:center;width:48px;height:32px;padding:0;border:0;background:none;color:#e8e8e8}body.mb-test-drive-page .mb-compact-lang svg{display:block;width:24px;height:24px}body.mb-test-drive-page .mb-compact-account{display:flex;align-items:center;height:40px;padding:0 12px;border:0;border-radius:12px;background:none;color:#e8e8e8;font-family:inherit}body.mb-test-drive-page .mb-compact-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#696969;color:#e8e8e8}body.mb-test-drive-page .mb-compact-label{display:inline;margin-left:8px;font-size:16px;line-height:23px;white-space:nowrap}}
@media(min-width:1440px){body.mb-test-drive-page .mb-header-compact{display:none}body.mb-test-drive-page .mb-nav,body.mb-test-drive-page .mbvns-nav{display:block}body.mb-test-drive-page .mb-header-actions{display:flex;gap:16px}body.mb-test-drive-page .mb-icon-btn:first-child svg,body.mb-test-drive-page .mb-lang-code{display:none}body.mb-test-drive-page .mb-icon-btn:first-child{width:auto;white-space:nowrap}body.mb-test-drive-page .mb-login{margin-left:0}}
@media(min-width:1440px){body.mb-test-drive-page .mb-logo-main{display:none}body.mb-test-drive-page .mb-td-anniversary{display:flex;align-items:center;gap:2px;color:#fff;white-space:nowrap}body.mb-test-drive-page .mb-td-anniversary strong{font:300 40px/40px MBCorpoATitleCond,Arial,sans-serif;letter-spacing:-1.5px}body.mb-test-drive-page .mb-td-anniversary span{width:43px;font:600 7px/8px MBCorpoSText,Arial,sans-serif;letter-spacing:.02em}}
/* The reference uses the anniversary radial mark on compact desktop, then the
   full wordmark once the primary navigation fits. Keep the shared header. */
@media(min-width:1200px) and (max-width:1439px){
 body.mb-test-drive-page .mb-logo{width:32px;height:32px;display:block}
 body.mb-test-drive-page .mb-logo-main,body.mb-test-drive-page .mb-td-anniversary{display:none!important}
 body.mb-test-drive-page .mb-logo:before{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,#ddd 0deg 1deg,transparent 1deg 10.5deg);box-shadow:inset 0 0 0 1px #bbb;-webkit-mask:radial-gradient(circle,transparent 0 13%,#000 19% 82%,transparent 88%);mask:radial-gradient(circle,transparent 0 13%,#000 19% 82%,transparent 88%)}
 body.mb-test-drive-page .mb-logo:after{content:"";position:absolute;left:50%;top:50%;width:3px;height:3px;transform:translate(-50%,-50%);border:1px solid #ddd;border-radius:50%;background:#111}
}
@media(min-width:1440px){body.mb-test-drive-page .mb-td-anniversary strong{font-size:44px;line-height:44px}body.mb-test-drive-page .mb-td-anniversary span{width:48px;font-size:7.5px;line-height:8px}}
@media(min-width:1536px){body.mb-test-drive-page .mb-td-anniversary{display:none!important}body.mb-test-drive-page .mb-logo-main{display:block!important}}
.test-drive-page~.mb-chat{position:fixed;right:14px;bottom:20px;z-index:10001}
.test-drive-page~.mb-chat .mb-chat-btn{position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:2px solid #eee;border-radius:50%;background:#000;box-shadow:0 2px 6px #0005;cursor:pointer}
.test-drive-page~.mb-chat .mb-chat-btn img{display:block;width:28px;height:28px}
.test-drive-page~.mb-chat .mb-chat-btn:after{content:"";position:absolute;right:2px;bottom:2px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#ddd}
.test-drive-page~.mb-chat .mb-chat-panel{position:absolute;right:0;bottom:60px;width:260px;padding:16px;border:1px solid #ddd;border-radius:16px;background:#fff;box-shadow:0 8px 32px #0003}
.test-drive-page~.mb-chat .mb-chat-panel[hidden]{display:none}
.test-drive-page~.mb-chat .mb-chat-panel p{margin:0 0 12px}
.test-drive-page~.mb-chat .mb-chat-panel a{display:block;padding:8px 0;border-top:1px solid #ddd;color:#111;text-decoration:none;font-size:14px}
@media(min-width:768px) and (max-width:1023px){.td-mobile-bar>div{width:86%;max-width:1680px;margin-left:auto;margin-right:auto}.td-grid{width:calc(100% - 16px)}.td-card-image img{left:8%;width:84%}}
.td-options-brand label span img{display:inline-block;width:auto;height:10px;max-width:96px;vertical-align:middle}
body.mb-test-drive-page .mb-td-anniversary{display:none}
@media(min-width:1440px){body.mb-test-drive-page .mb-td-anniversary{display:flex}}
