/* Shared rectangular action radius, matching the header category button. */
:root{--action-radius:10px}
body:not(.wp-admin) :is(.button,.category-toggle,.header-search__submit,.mobile-menu-toggle,.product-card__details,.technill-card-link,.product-catalog-button,.product-contact-card,.product-brand-toggle,.purchase-option,.product-gallery__thumbnails button,.footer-social a,form button[type="submit"],input[type="submit"],input[type="button"],input[type="reset"]){border-radius:var(--action-radius)!important}

/* One shared treatment for expandable descriptions. */
body:not(.wp-admin) :is(.directory-intro__more,.catalog-description-toggle,#product-brand .product-brand-toggle){display:flex;align-items:center;justify-content:flex-start;gap:8px;width:fit-content;min-height:40px;height:auto;margin:10px 0 0;padding:8px 0;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--color-primary,#e95d2d)!important;font-family:inherit;font-size:12px;font-weight:900;line-height:24px;text-decoration:none!important;cursor:pointer;transform:none}
body:not(.wp-admin) :is(.directory-intro__more,.catalog-description-toggle,#product-brand .product-brand-toggle)::before{display:none}
body:not(.wp-admin) :is(.directory-intro__more,.catalog-description-toggle,#product-brand .product-brand-toggle) svg{display:block;flex:0 0 12px;width:12px;height:8px;transition:transform .3s ease}
body:not(.wp-admin) :is(.directory-intro__more,.catalog-description-toggle,#product-brand .product-brand-toggle)[aria-expanded=true] svg{transform:rotate(180deg)}
body:not(.wp-admin) :is(.directory-intro__more,.catalog-description-toggle,#product-brand .product-brand-toggle):focus-visible{outline:2px solid #e95d2d;outline-offset:4px}

#main-content section[hidden]{display:none!important}

.mega-menu__tabs{max-height:65vh;overflow-y:auto}.mega-menu__tab small{margin-inline-start:auto;color:#999;font-size:11px}.mega-menu__body{max-height:65vh;overflow:auto}

#mega-products .category-directory__visual{display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}#mega-products .category-directory__visual img{display:block!important;position:static!important;width:auto!important;height:auto!important;max-width:85%!important;max-height:110px!important;object-fit:contain!important;transform:none!important;flex:0 1 auto}#mega-products .category-directory__visual img[src*='.svg']{width:72px!important;height:72px!important;object-fit:contain!important}@media(max-width:1100px){#mega-products .category-directory__visual img{max-height:78px!important}}


/* Migrated comparison specifications */
.product-legacy-specifications{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;line-height:2;margin-block-start:24px;padding-block-end:8px;-webkit-overflow-scrolling:touch}.product-legacy-specifications table{min-width:560px}.product-legacy-specifications h2,.product-legacy-specifications h3{font-size:18px;color:#E95D2D;line-height:1.8}
