/* Desktop dimensions follow the current 1920px Pencil canvas. */
.dz-categories { min-height:870px; overflow:hidden; }
.dz-categories::before { content:''; position:absolute; inset:0 0 0 42.5%; background:#08339105; clip-path:polygon(36.2% 0,100% 0,100% 100%,0 100%); }
.dz-categories::after { content:attr(data-background-label); position:absolute; right:12.5%; top:207px; color:#08339108; font:800 italic 144px/1.2 Barlow,sans-serif; pointer-events:none; }
.dz-categories .dz-heading p { font-size:20px; line-height:30px; }
.dz-categories-layout { position:relative; z-index:1; display:grid; grid-template-columns:288px minmax(0,1fr); gap:16px; margin-top:42px; }
.dz-category-tabs { display:grid; gap:16px; }
.dz-category-tabs button { position:relative; display:flex; align-items:center; gap:24px; text-align:left; padding:24px; border:0; border-radius:8px; background:var(--dz-surface); min-height:132px; font:600 24px/1.4 Barlow,sans-serif; }
.dz-category-tabs .xhl-icon,.dz-category-tabs svg { flex:none; width:48px; height:48px; font-size:48px; color:var(--dz-blue); }
.dz-category-tabs button > span:last-child { margin-left:auto; font-size:24px; font-weight:400; color:var(--dz-blue); }
.dz-category-tabs button[aria-selected=true] { background:var(--dz-blue); color:white; }
.dz-category-tabs button[aria-selected=true]::before { content:''; position:absolute; left:0; top:16px; bottom:16px; width:8px; border-radius:4px; background:var(--dz-orange); }
.dz-category-tabs button[aria-selected=true] > span:last-child,.dz-category-tabs button[aria-selected=true] svg { color:white; }
.dz-category-panels { min-width:0; }
.dz-categories-panel { display:grid; grid-template-columns:minmax(0,696fr) minmax(0,424fr); gap:16px; }
.dz-categories-panel > img { width:100%; height:430px; object-fit:cover; border-radius:8px; }
.dz-categories-panel[hidden] { display:none; }
.dz-categories-copy { background:white; border-radius:8px; padding:48px 32px; display:flex; flex-direction:column; align-items:start; }
.dz-categories-copy h3 { font-size:36px; line-height:41px; }
.dz-categories-copy strong { margin-top:20px; font-size:18px; line-height:25px; font-weight:600; }
.dz-categories-copy p { margin-top:20px; color:var(--dz-muted); line-height:24px; }
.dz-categories-copy .dz-button { margin-top:22px; min-height:56px; padding:14px 30px; position:relative; }
.dz-categories-copy .dz-button::before { content:''; position:absolute; top:-32px; left:0; width:360px; height:1px; background:#d8dee7; }
.dz-categories-copy p + .dz-button { margin-top:51px; }
@media(max-width:1100px) { .dz-categories { min-height:0; } .dz-categories-layout { grid-template-columns:200px minmax(0,1fr); } .dz-categories-panel { grid-template-columns:1fr; } .dz-category-tabs button { min-height:100px; padding:16px; } .dz-categories-panel > img { height:auto; aspect-ratio:696/430; } .dz-categories-copy { padding:24px 0; } }
@media(max-width:767px) { .dz-categories-layout { grid-template-columns:1fr; margin-top:28px; } .dz-category-tabs { display:flex; gap:8px; overflow:auto; } .dz-category-tabs button { min-height:52px; font-size:18px; padding:12px; white-space:nowrap; } .dz-category-tabs .xhl-icon,.dz-category-tabs button > span:last-child { display:none; } .dz-categories-panel > img { height:auto; aspect-ratio:1.6; } .dz-categories-copy h3 { font-size:30px; } }

.dz-category-icon { display:block; width:48px; flex:none; }
.dz-category-tabs button:first-child .dz-category-icon { width:64px; display:grid; place-items:center; margin-right:-8px; }
.dz-category-tabs button[aria-selected=true] .dz-category-icon { color:white; }
.dz-category-tabs button > span:last-child { position:absolute; right:20px; }
@media(max-width:1639px) { .dz-categories-copy .dz-button::before { width:100%; } }
@media(min-width:1101px) and (max-width:1600px) {
 .dz-category-tabs { height:430px; grid-template-rows:repeat(3,minmax(0,1fr)); }
 .dz-categories-copy { height:430px; padding:20px; }
 .dz-categories-copy strong,.dz-categories-copy p { margin-top:12px; flex-shrink:0; }
 .dz-categories-copy .dz-button { flex-shrink:0; }
 .dz-categories-copy p + .dz-button { margin-top:auto; }
 .dz-categories-copy .dz-button::before { top:-20px; }
}
@media(max-width:767px) {
 .dz-category-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; gap:8px; }
 .dz-category-tabs button { min-width:0; min-height:88px; flex-direction:column; justify-content:center; gap:8px; padding:12px 8px; white-space:normal; overflow-wrap:anywhere; text-align:center; font-size:15px; line-height:20px; }
 .dz-category-tabs button .dz-category-icon,.dz-category-tabs button:first-child .dz-category-icon { display:grid; place-items:center; width:28px; height:28px; margin-right:0; }
 .dz-category-tabs .dz-category-icon svg { width:28px; height:28px; }
 .dz-category-tabs button[aria-selected=true]::before { width:4px; top:12px; bottom:12px; }
}

@media(min-width:768px) and (max-width:1024px) {
 .dz-categories-layout { grid-template-columns:minmax(0,1fr); }
 .dz-category-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; overflow:visible; }
 .dz-category-tabs button { min-width:0; min-height:80px; padding:16px 36px 16px 16px; gap:12px; font-size:18px; line-height:24px; }
 .dz-category-tabs .dz-category-icon,.dz-category-tabs button:first-child .dz-category-icon { width:32px; margin-right:0; }
 .dz-category-tabs .dz-category-icon svg { width:32px; height:32px; }
 .dz-category-tabs button > span:last-child { right:12px; }
}
