:root{--wthp-orange:#ff7900;--wthp-ink:#101827;--wthp-line:#e5e7eb}
.wthp-home{position:relative;z-index:1;width:100%;max-width:100%;margin:0 auto 16px;padding:8px 0 30px;color:var(--wthp-ink);font-family:inherit;background:var(--wthp-section-bg,#f5f6f8)}
.wthp-home *{box-sizing:border-box}
.wthp-full-width{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:clamp(10px,1.2vw,18px);padding-right:clamp(10px,1.2vw,18px)}
.wthp-welcome{font-size:var(--wthp-welcome-size,12px);color:var(--wthp-welcome-color,#6b7280);padding:2px 4px 7px;font-weight:500}
.wthp-mega{display:grid;grid-template-columns:var(--wthp-category-width,24%) minmax(0,1fr) minmax(0,1fr);gap:var(--wthp-mega-gap,10px);height:var(--wthp-mega-height,430px);min-height:0;position:relative;align-items:stretch;isolation:isolate}
.wthp-category-panel,.wthp-tile-block{min-width:0;background:#fff;border:1px solid var(--cat-border,#e5e7eb);border-radius:10px;box-shadow:none}
.wthp-category-panel{position:relative;z-index:20;height:100%;min-height:0;overflow:visible}
.wthp-category-header{width:100%;height:50px;padding:0 15px;display:flex;align-items:center;gap:10px;background:var(--cat-head,#ff7900);border-radius:9px 9px 0 0;color:var(--cat-head-text,#fff);border:0;cursor:pointer;font-family:inherit;text-align:left}
.wthp-menu-icon{font-size:18px;line-height:1}.wthp-category-header strong{font-size:16px;flex:1}.wthp-category-chevron{font-size:20px}
.wthp-category-list{height:calc(100% - 50px);overflow-y:auto;overflow-x:hidden;padding:3px 0;border-radius:0 0 10px 10px;background:#fff;scrollbar-width:thin;scrollbar-color:#cfcfcf transparent}
.wthp-category-list::-webkit-scrollbar{width:7px}.wthp-category-list::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:8px}.wthp-category-list::-webkit-scrollbar-track{background:transparent}
.wthp-category-item{position:relative;min-height:calc((100% - 6px)/var(--wthp-category-visible,12))}
.wthp-category-link{min-height:36px;height:100%;padding:5px 12px;display:flex;align-items:center;gap:9px;color:var(--cat-text,#202124);text-decoration:none;font-size:14px;font-weight:500;border-left:3px solid transparent;border-radius:0;cursor:pointer}
a.wthp-category-link:hover,.wthp-category-item.is-hovered>.wthp-category-link,.wthp-category-item:focus-within>.wthp-category-link{background:#fff7f0;color:var(--cat-accent,#ff7900);border-left-color:var(--cat-accent,#ff7900)}
.wthp-cat-icon{width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;color:var(--cat-accent,#ff7900)}.wthp-cat-icon img{width:22px;height:22px;object-fit:cover;border-radius:50%}.wthp-cat-icon-fallback{font-size:19px}.wthp-cat-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wthp-cat-arrow{font-size:20px;line-height:1;color:var(--cat-accent,#ff7900)}
.wthp-submenu{display:none}
.wthp-submenu-portal{display:block!important;position:fixed!important;background:#fff;pointer-events:auto;border:1px solid var(--cat-border,#e5e7eb);border-radius:0 10px 10px 10px;box-shadow:0 12px 32px rgba(15,23,42,.16);padding:8px;overflow:auto;max-height:calc(100vh - 16px);z-index:2147483000}
.wthp-submenu-title{font-weight:800;font-size:14px;color:var(--cat-accent,#ff7900);padding:8px 10px;border-bottom:1px solid #f0f0f0;margin-bottom:3px}.wthp-submenu a{display:block;padding:9px 10px;color:#202124;text-decoration:none;font-size:13px;border-radius:6px}.wthp-submenu a:hover,.wthp-submenu a:focus{background:#fff4ea;color:var(--cat-accent,#ff7900)}

/* Each content block is an independent square-image carousel. */
.wthp-tile-block{position:relative;z-index:1;background:var(--block-bg,#fff);border-color:var(--block-border,#e5e7eb);padding:10px;display:flex;flex-direction:column;overflow:hidden;min-width:0}
.wthp-tile-block header{min-height:42px;display:flex;align-items:flex-start;padding:2px 4px 8px;flex:0 0 auto;position:relative;z-index:3}.wthp-tile-block h2{font-size:18px;line-height:1.1;margin:0;color:var(--block-title,#202124)}
.wthp-carousel-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 28px 12px;overflow:hidden}.wthp-carousel-viewport{position:relative;width:min(var(--wthp-image-size,300px),100%);max-width:100%;height:min(var(--wthp-image-size,300px),100%);aspect-ratio:1/1;overflow:hidden;border-radius:9px;background:#fff;flex:0 0 auto;box-shadow:0 1px 5px rgba(15,23,42,.05)}.wthp-carousel-track{display:flex;width:100%;height:100%;transition:transform .45s ease;will-change:transform}.wthp-carousel-slide{position:relative;display:block;flex:0 0 100%;width:100%;height:100%;aspect-ratio:1/1;overflow:hidden;background:#f3f4f6;text-decoration:none}.wthp-tile-image{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:var(--wthp-image-fit,contain);object-position:center center;background:#fff}.wthp-carousel-slide:hover .wthp-tile-image{transform:none}.wthp-tile-overlay{display:none}.wthp-tile-content{display:none}
.wthp-carousel-prev,.wthp-carousel-next{appearance:none;-webkit-appearance:none;position:absolute;top:50%;transform:translateY(-50%);width:32px;height:40px;min-width:32px;min-height:40px;padding:0!important;margin:0!important;border:1px solid #e5e7eb!important;border-radius:7px!important;background:#fff!important;background-image:none!important;color:#101827!important;box-shadow:0 3px 12px rgba(0,0,0,.14);cursor:pointer;z-index:4;font-size:25px;line-height:1}.wthp-carousel-prev{left:4px}.wthp-carousel-next{right:4px}.wthp-carousel-prev:hover,.wthp-carousel-next:hover{background:#fff!important;color:var(--wthp-orange)!important;border-color:#ff7900!important}.wthp-carousel-prev:focus,.wthp-carousel-next:focus{outline:2px solid #ff7900!important;outline-offset:1px}.wthp-carousel-dots button{appearance:none;-webkit-appearance:none!important;min-width:7px!important;min-height:7px!important}.wthp-carousel-dots{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);display:flex;gap:5px;z-index:5}.wthp-carousel-dots button{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#c7cbd1;cursor:pointer}.wthp-carousel-dots button.is-active{background:var(--wthp-orange);transform:scale(1.2)}.wthp-carousel-empty{flex:1;min-height:0;background:#f7f7f7;border-radius:8px}
@media(min-width:851px){
/* Desktop: the carousel viewport fills the available block space. Any image ratio is supported without overflow or distortion. */
.wthp-tile-block{min-width:0;min-height:0}
.wthp-carousel-stage{width:100%;min-width:0;min-height:0;padding:0 34px 18px;box-sizing:border-box}
.wthp-carousel-viewport{width:100%;max-width:100%;height:100%;max-height:100%;aspect-ratio:auto;min-width:0;min-height:0;flex:1 1 auto;border-radius:9px;box-sizing:border-box}
.wthp-carousel-track,.wthp-carousel-slide{width:100%;height:100%;min-width:0;min-height:0}
.wthp-tile-image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center}
}
@media(max-width:1200px){.wthp-mega{grid-template-columns:var(--wthp-category-width,24%) minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:850px){
.wthp-mega{height:auto;grid-template-columns:1fr;gap:10px}
.wthp-category-panel{height:auto;overflow:visible}
.wthp-category-header{height:48px}
.wthp-category-list{display:none;height:auto;max-height:390px;overflow-y:auto;overflow-x:hidden}
.wthp-category-panel.is-mobile-open .wthp-category-list{display:block}
.wthp-cat-icon{display:none}
.wthp-category-link{padding-left:14px;min-height:42px}
.wthp-category-item{min-height:42px}
.wthp-category-item.has-children>.wthp-category-link{padding-right:42px}
.wthp-cat-arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:flex;align-items:center;justify-content:center;z-index:5;background:transparent;border:0;border-radius:6px;font-size:22px;cursor:pointer}
.wthp-category-item.is-open>.wthp-category-link .wthp-cat-arrow{transform:translateY(-50%) rotate(90deg);background:#fff1e6}
.wthp-category-item.is-open>.wthp-submenu{display:block;position:relative;left:auto;right:auto;top:auto;width:auto;max-height:none;overflow:visible;background:#fff;border:0;border-top:1px solid #f0f0f0;border-radius:0;box-shadow:none;padding:4px 8px 8px 18px;z-index:10}
.wthp-category-item.is-open>.wthp-submenu a{padding:10px 10px;border-radius:6px}
.wthp-category-item.is-open>.wthp-submenu .wthp-submenu-title{padding:7px 10px}
.wthp-tile-block{min-height:340px}
.wthp-carousel-viewport{width:min(var(--wthp-image-size,300px),100%)}
}
@media(max-width:520px){.wthp-home{padding-top:6px}.wthp-full-width{padding-left:8px;padding-right:8px}.wthp-category-panel{height:350px}.wthp-category-list{height:300px}.wthp-category-header{height:46px}.wthp-tile-block{min-height:300px;padding:8px}.wthp-carousel-stage{padding-left:24px;padding-right:24px}.wthp-carousel-viewport{width:min(var(--wthp-image-size,260px),100%)}.wthp-carousel-prev,.wthp-carousel-next{width:28px;height:36px}.wthp-tile-block h2{font-size:15px}}

.wthp-submenu-portal *{box-sizing:border-box}.wthp-submenu-portal a{background:transparent!important}.wthp-category-link,.wthp-category-link:hover{box-shadow:none!important}

@media(max-width:850px){
.wthp-category-header:focus{outline:2px solid #ff7900;outline-offset:-2px}
.wthp-category-header[aria-expanded="true"] .wthp-category-chevron{transform:rotate(180deg)}
.wthp-category-chevron{transition:transform .2s ease}
}

/* V4.5.6 — All Categories header is always WILTECH orange on PC and mobile. */
.wthp-category-header{background:#ff7900 !important;color:#fff !important;border-color:#ff7900 !important}
.wthp-category-header:hover,.wthp-category-header:focus,.wthp-category-header:active{background:#ff7900 !important;color:#fff !important}

/* V4.5.4 — mobile All Categories collapsed state */
@media(max-width:850px){
  .wthp-category-panel{
    background:transparent;
    height:auto !important;
    min-height:0 !important;
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }
  .wthp-category-header{
    background:#ff7900 !important;
    color:#fff !important;
    border-radius:8px;
    margin:0 !important;
  }
  .wthp-category-list{
    margin:0 !important;
  }
  .wthp-category-panel:not(.is-mobile-open) .wthp-category-list{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
  }
  .wthp-category-panel:not(.is-mobile-open){
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }
  .wthp-category-panel:not(.is-mobile-open) + *{
    margin-top:0 !important;
  }
}


/* V4.5.8 — Full image blocks: block title/subtitle removed from front end.
 * The image area uses all available block space on desktop and mobile.
 * All image ratios are supported; contain keeps the complete image visible.
 */
.wthp-tile-block{padding:0!important;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.wthp-tile-block>header{display:none!important}
.wthp-carousel-stage{flex:1 1 auto;width:100%;height:100%;min-width:0;min-height:0;padding:0!important;margin:0!important;display:flex;align-items:stretch;justify-content:stretch;overflow:hidden}
.wthp-carousel-viewport{position:relative;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0;min-height:0;flex:1 1 auto;aspect-ratio:auto!important;border-radius:9px;background:#fff;box-shadow:none;overflow:hidden}
.wthp-carousel-track,.wthp-carousel-slide{width:100%;height:100%;min-width:0;min-height:0}
.wthp-tile-image{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center}
.wthp-carousel-prev{left:6px}.wthp-carousel-next{right:6px}
.wthp-carousel-dots{bottom:7px}
@media(max-width:850px){
  .wthp-tile-block{min-height:300px!important;padding:0!important}
  .wthp-carousel-stage{padding:0!important}
  .wthp-carousel-viewport{width:100%!important;height:100%!important}
}
@media(max-width:520px){
  .wthp-tile-block{min-height:280px!important;padding:0!important}
  .wthp-carousel-prev{left:4px}.wthp-carousel-next{right:4px}
}
