/* Carsdetail – úvodní stránka: 4 bannery + dlaždice kategorií (.cdxh) */
.cdxh{--r:#a4161a;--ink:#18181b;font-size:16px;line-height:1.5;color:var(--ink)}
.cdxh *{box-sizing:border-box}
.cdxh a{text-decoration:none!important;color:inherit}
.cdxh-hero{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:16px;height:clamp(440px,38vw,580px);margin:8px 0 28px}
.cdxh-b{position:relative;display:block;overflow:hidden;border-radius:16px;background:#27272a;color:#fff!important;isolation:isolate}
.cdxh-b img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transition:transform .5s ease;z-index:-2;margin:0!important}
.cdxh-b::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(200deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.78) 100%)}
.cdxh-b:hover img{transform:scale(1.04)}
.cdxh-big{grid-row:1/3;grid-column:1}
.cdxh-s1{grid-row:1;grid-column:2}
.cdxh-s2{grid-row:2;grid-column:2}
.cdxh-tall{grid-row:1/3;grid-column:3}
.cdxh-txt{position:absolute;left:0;right:0;bottom:0;padding:22px}
.cdxh-big .cdxh-txt{padding:36px;max-width:560px}
.cdxh-pill{display:inline-block;background:var(--r);color:#fff;font-size:12px;font-weight:700;line-height:1;padding:7px 10px;border-radius:99px;margin-bottom:12px}
.cdxh-t{text-wrap:balance;display:block;font-size:22px;line-height:1.15;font-weight:800;color:#fff;margin:0 0 6px}
.cdxh-big .cdxh-t{font-size:clamp(28px,2.6vw,40px)}
.cdxh-tall .cdxh-t{font-size:26px}
.cdxh-p{display:block;font-size:15px;line-height:1.45;color:rgba(255,255,255,.88);margin:0}
.cdxh-big .cdxh-p{font-size:17px}
.cdxh-btn{display:inline-flex;align-items:center;gap:8px;margin-top:16px;background:var(--r);color:#fff;font-weight:700;font-size:15px;padding:12px 18px;border-radius:10px;transition:background .2s}
.cdxh-b:hover .cdxh-btn{background:#c1121f}
.cdxh-go{display:inline-block;margin-top:8px;font-weight:700;font-size:14px;color:#fff}
.cdxh-go::after,.cdxh-btn::after{content:"\2192"}
.cdxh-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:40px 0 16px}
.cdxh-head h2{margin:0!important;font-size:clamp(24px,2.2vw,32px)!important;line-height:1.15!important;font-weight:800!important;color:var(--ink)!important;text-transform:none!important}
.cdxh-all{font-weight:700;font-size:15px;color:var(--r)!important}
.cdxh-all::after{content:" \2192"}
.cdxh-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 32px}
.cdxh-c{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:16px;background:#27272a;color:#fff!important;isolation:isolate}
.cdxh-c img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transition:transform .5s ease;z-index:-2;margin:0!important}
.cdxh-c::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.75) 100%)}
.cdxh-c:hover img{transform:scale(1.05)}
.cdxh-c img.cdxh-zoom{top:-14%;left:-14%;width:128%!important;height:128%!important}
.cdxh-c .cdxh-ct{position:absolute;left:18px;right:18px;bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:20px;font-weight:800;line-height:1.15;color:#fff}
.cdxh-c .cdxh-ct::after{content:"\2192";flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--r);font-size:17px;transition:transform .2s}
.cdxh-c:hover .cdxh-ct::after{transform:translateX(3px)}
@media(max-width:991px){
.cdxh-hero{grid-template-columns:1fr 1fr;grid-template-rows:none;height:auto}
.cdxh-big{grid-row:auto;grid-column:1/3;aspect-ratio:4/3}
.cdxh-s1,.cdxh-s2{grid-row:auto;grid-column:auto;aspect-ratio:1/1}
.cdxh-tall{grid-row:auto;grid-column:1/3;aspect-ratio:16/9}
.cdxh-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
.cdxh-hero{gap:10px}
.cdxh-cats{gap:10px}
.cdxh-big{aspect-ratio:4/5}.cdxh-tall{aspect-ratio:4/3}.cdxh-b::after{background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.85) 100%)}.cdxh-big .cdxh-t{font-size:26px}.cdxh-big .cdxh-p,.cdxh-tall .cdxh-p{font-size:15px}.cdxh-btn{margin-top:12px;padding:11px 16px}.cdxh-big .cdxh-txt{padding:20px}
.cdxh-txt{padding:14px}
.cdxh-t{font-size:17px}
.cdxh-tall .cdxh-t{font-size:22px}
.cdxh-s1 .cdxh-p,.cdxh-s2 .cdxh-p{display:none}
.cdxh-c .cdxh-ct{left:12px;right:12px;bottom:12px;font-size:16px}
.cdxh-c .cdxh-ct::after{width:28px;height:28px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.cdxh-b img,.cdxh-c img{transition:none}.cdxh-b:hover img,.cdxh-c:hover img{transform:none}}

/* Carsdetail – úvodní stránka: FAQ (.cdxh-faq) */
.cdxh-faqw{margin:48px 0}
.cdxh-faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:40px;align-items:start}
.cdxh-faq-side h2{margin:0 0 10px!important;font-size:clamp(24px,2.2vw,32px)!important;line-height:1.15!important;font-weight:800!important;color:var(--ink)!important;text-transform:none!important}
.cdxh-faq-side>p{margin:0 0 20px;color:#52525b;font-size:16px}
.cdxh-faq-help{background:#18181b;color:#e4e4e7;border-radius:16px;padding:22px;font-size:15px;line-height:1.55}
.cdxh-faq-help strong{display:block;color:#fff;font-size:17px;margin-bottom:6px}
.cdxh-faq-help a{color:#fff!important;text-decoration:underline!important;white-space:nowrap}
.cdxh-faq-list details{background:#fff;border:1px solid #e4e4e7;border-radius:14px;margin:0 0 10px;transition:border-color .2s}
.cdxh-faq-list details[open]{border-color:#a4161a}
.cdxh-faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;font-size:17px;font-weight:700;line-height:1.35;color:#18181b}
.cdxh-faq-list summary::-webkit-details-marker{display:none}
.cdxh-faq-list summary::after{content:"+";flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f4f4f5;color:#a4161a;font-size:20px;font-weight:700;transition:transform .2s}
.cdxh-faq-list details[open] summary::after{content:"\2212";background:#a4161a;color:#fff}
.cdxh-faq-list details p{margin:0;padding:0 20px 18px;font-size:16px;line-height:1.6;color:#3f3f46}
.cdxh-faq-list details p a{color:#a4161a!important;text-decoration:underline!important}
@media(min-width:992px){.cdxh-faq-side{position:sticky;top:110px}}
@media(max-width:991px){.cdxh-faq{grid-template-columns:minmax(0,1fr);gap:20px}}
@media(max-width:600px){.cdxh-faq-list summary{font-size:16px;padding:16px}.cdxh-faq-list details p{padding:0 16px 16px;font-size:15px}}

/* Úvodní stránka – nasazení: skrytí původních bloků, úspora v Kč */
.welcome .cdxh{display:none!important}
body.in-index .banners-row{display:none!important}
body.in-index .top-category-block .homepage-group-title,body.in-index .top-category-block .menu-level-2{display:none!important}
body.in-index .homepage-products-heading-6,body.in-index .homepage-products-6{display:none!important}
.cdxh-faq-c .cdxh-faqw{margin:40px 0 48px}
.homepage-products-2 .cdxh-save{display:inline-block;margin-top:4px;background:#fee2e2;color:#a4161a;font-weight:700;font-size:12px;line-height:1.3;padding:3px 8px;border-radius:99px}
