:root{--theme-ink:#1c1917;--theme-muted:#78716c;--theme-line:#d6d3d1;--theme-bg:#fafaf9;--theme-surface:#f5f5f4;--theme-accent:#c2410c}html,body{max-width:100%;overflow-x:clip}.admin-bar .sub-header{top:32px}.sub-header{position:sticky;z-index:100;top:0;width:100%;height:88px;color:#fafaf9;background:rgba(15,13,12,.94);border-bottom:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px)}.sub-header-inner{display:flex;align-items:center;width:min(94%,1500px);height:100%;margin:auto}.sub-logo{display:flex;align-items:center;gap:9px;flex:none}.sub-logo-mark{display:block;width:55px;height:48px;overflow:hidden}.sub-logo-mark img{display:block;width:auto;height:48px}.sub-logo-title{display:block;width:auto;height:48px}.sub-logo-company{margin-left:5px;font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:15px;letter-spacing:.08em;transform:translateY(4px);white-space:nowrap}.sub-nav{display:flex;align-items:stretch;align-self:stretch;margin-left:auto}.sub-nav ul,.global-nav ul{display:flex;height:100%;margin:0;padding:0;list-style:none}.sub-nav li,.global-nav li{display:flex}.sub-nav a{position:relative;display:grid;place-items:center;padding:0 22px;color:#d6d3d1;font-size:13px}.sub-nav a:after{position:absolute;right:22px;bottom:18px;left:22px;height:1px;content:"";background:var(--theme-accent);transform:scaleX(0);transition:.25s}.sub-nav a:hover:after,.sub-nav .current-menu-item a:after{transform:scaleX(1)}.sub-menu-button{display:none;width:48px;height:48px;margin-left:auto;padding:13px 10px;color:#fff;background:transparent;border:0}.sub-menu-button span{display:block;width:100%;margin:5px 0;border-top:1px solid}.page-title{display:grid;min-height:167px;padding:32px 6%;color:#fff;text-align:center;background-image:linear-gradient(rgba(15,13,12,.55),rgba(15,13,12,.55)),url('../images/subpage-title-bg.png');background-position:center;background-size:cover;place-content:center}.page-title small{color:#f59e0b;font-size:11px;letter-spacing:.24em}.page-title h1{margin:14px 0 0;font-size:clamp(24px,2.5vw,34px);font-weight:400;text-shadow:0 2px 8px #000}.breadcrumb-wrap{background:#fff;border-bottom:1px solid var(--theme-line)}.breadcrumb{display:flex;justify-content:flex-end;gap:9px;width:min(88%,1200px);margin:auto;padding:14px 0;color:var(--theme-muted);font-size:11px}.page-main{width:min(88%,1200px);margin:auto;padding:82px 0 115px}.page-content,.entry-content{color:#292524;font-size:15px;line-height:2.15}.page-content>.after-main{width:100%;padding-top:0;padding-bottom:0}.page-content h2,.entry-content h2{margin:64px 0 27px;padding:14px 0 14px 20px;font-size:26px;font-weight:400;border-left:4px solid var(--theme-accent);border-bottom:1px solid var(--theme-line)}.page-content h3,.entry-content h3{margin:45px 0 20px;padding-bottom:10px;font-size:20px;font-weight:400;border-bottom:1px solid var(--theme-line)}.page-content img,.entry-content img{max-width:100%;height:auto}.page-content table,.entry-content table{width:100%;border-collapse:collapse}.page-content th,.page-content td,.entry-content th,.entry-content td{padding:17px 19px;text-align:left;border:1px solid var(--theme-line)}.archive-layout,.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:clamp(45px,6vw,80px);width:min(88%,1200px);margin:auto;padding:72px 0 110px}.archive-main,.single-main{min-width:0}.archive-card>a{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;padding:28px 0;border-bottom:1px solid var(--theme-line)}.archive-image{overflow:hidden;aspect-ratio:16/10;background:#e7e5e4}.archive-image img{width:100%;height:100%;object-fit:cover}.post-meta{display:flex;align-items:center;gap:13px;margin-bottom:10px;color:var(--theme-muted);font-size:11px}.post-category{padding:4px 10px;color:var(--theme-accent);border:1px solid var(--theme-accent)}.archive-copy h2{margin:0;font-size:19px;font-weight:400;line-height:1.65}.archive-copy p{color:#57534e;font-size:12px;line-height:1.85}.sidebar-box{margin-bottom:34px;padding:26px 23px;background:var(--theme-surface);border-top:3px solid var(--theme-accent)}.sidebar-box h2,.sidebar-box .widget-title{margin:0 0 20px;font-size:21px;font-weight:400}.sidebar-box ul{margin:0;padding:0;list-style:none}.sidebar-box li+li{border-top:1px solid var(--theme-line)}.sidebar-box li a{display:block;padding:13px 0;font-size:14px}.machine-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(38px,5vw,72px);width:min(88%,1200px);margin:auto;padding:72px 0 110px}.machine-filter{position:sticky;top:112px;align-self:start;padding:30px 26px;background:var(--theme-surface);border-top:3px solid var(--theme-accent)}.machine-filter label{display:block;margin-top:18px;font-size:12px}.machine-filter select,.machine-filter input{width:100%;height:46px;margin-top:7px;padding:0 12px;border:1px solid var(--theme-line);background:#fff}.machine-filter button{width:100%;height:48px;margin-top:20px;color:#fff;background:var(--theme-accent);border:0}.machine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.machine-card{background:#fff;border:1px solid var(--theme-line)}.machine-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.machine-card-body{padding:24px}.machine-card-body small{color:var(--theme-accent)}.machine-card-body h2{margin:8px 0;font-size:21px;font-weight:400}.machine-card-body p{color:#57534e;font-size:12px;line-height:1.8}.article-header{margin-bottom:38px}.article-header h1{margin:0;font-size:clamp(27px,3.2vw,42px);font-weight:400;line-height:1.55}.article-hero{display:block;width:100%;aspect-ratio:16/9;margin-bottom:50px;object-fit:cover}.article-footer,.post-navigation{margin-top:50px;padding-top:22px;border-top:1px solid var(--theme-line)}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.related-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}.related-grid h3{font-size:13px;font-weight:400}.pagination .nav-links{display:flex;justify-content:center;gap:8px;margin-top:45px}.pagination .page-numbers{display:grid;width:42px;height:42px;border:1px solid var(--theme-line);place-items:center}.pagination .current{color:#fff;background:var(--theme-accent)}.search-form{display:flex}.search-form label{flex:1}.search-field{width:100%;height:44px;padding:0 10px;border:1px solid var(--theme-line)}.search-submit{height:44px;color:#fff;background:var(--theme-accent);border:0}.wpcf7 input:not([type=submit]),.wpcf7 textarea,.wpcf7 select{width:100%;padding:12px;border:1px solid var(--theme-line);background:#fff}.wpcf7-submit{padding:14px 40px;color:#fff;background:var(--theme-accent);border:0}.theme-reveal{opacity:.1;translate:0 34px;transition:opacity .7s,translate .8s}.theme-reveal.is-visible{opacity:1;translate:0 0}@media(prefers-reduced-motion:reduce){.theme-reveal{opacity:1;translate:none;transition:none}}
@media(max-width:800px){.admin-bar .sub-header{top:46px}.sub-header{height:70px}.sub-header-inner{width:calc(100% - 32px)}.sub-logo{gap:6px}.sub-logo-mark{width:42px;height:37px}.sub-logo-mark img{height:37px}.sub-logo-title{height:32px}.sub-logo-company{display:none}.sub-menu-button{display:block}.sub-nav{position:fixed;top:70px;right:0;left:0;display:flex;height:calc(100vh - 70px);margin:0;padding:24px;background:rgba(15,13,12,.98);flex-direction:column;opacity:0;visibility:hidden;transform:translateY(-10px);transition:.25s}.sub-nav ul{display:block;width:100%;height:auto}.sub-nav li{display:block}.sub-nav a{display:flex;height:58px;padding:0 8px;border-bottom:1px solid rgba(255,255,255,.12)}.sub-header.is-open .sub-nav{opacity:1;visibility:visible;transform:none}.archive-layout,.single-layout,.machine-layout{grid-template-columns:1fr}.machine-filter{position:static}.sidebar-area{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sidebar-box{margin:0}}
@media(max-width:600px){.page-title{min-height:145px}.breadcrumb,.page-main,.archive-layout,.single-layout,.machine-layout{width:calc(100% - 32px)}.page-main,.archive-layout,.single-layout,.machine-layout{padding:52px 0 80px}.archive-card>a{grid-template-columns:1fr;gap:18px}.machine-grid{grid-template-columns:1fr}.related-grid{grid-template-columns:1fr}.sidebar-area{grid-template-columns:1fr}.page-content,.entry-content{font-size:14px}.page-content h2,.entry-content h2{font-size:22px}.page-content table th,.page-content table td,.entry-content table th,.entry-content table td{display:block;width:100%}.footer-nav{display:none!important}.footer-brand-block{display:grid;justify-items:center;text-align:center}.footer-brand{display:block;width:fit-content;margin:auto}}

.article-hero img{display:block;width:100%;height:100%;object-fit:cover}.page-feature-image img{display:block;width:100%;height:auto}.footer-nav{display:block}.footer-nav>ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;width:100%;margin:0;padding:0;list-style:none}.footer-nav>ul>li{display:block}.footer-nav .sub-menu{margin:8px 0 0;padding:0;list-style:none}.footer-nav .sub-menu a{font-size:13px}.comments-area{margin-top:55px;padding-top:30px;border-top:1px solid var(--theme-line)}.comment-list{padding-left:24px}.comment-form input:not([type=submit]),.comment-form textarea{width:100%;padding:10px;border:1px solid var(--theme-line)}.comment-form .submit{padding:12px 28px;color:#fff;background:var(--theme-accent);border:0}
.article-footer{display:grid;gap:22px}.article-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--theme-muted);font-size:12px;line-height:1.8}.article-tags a{display:inline-flex;align-items:center;min-height:32px;padding:4px 12px;color:#57534e;background:var(--theme-surface);border:1px solid transparent}.article-tags a:hover{color:#fff;background:var(--theme-accent);border-color:var(--theme-accent)}.share-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--theme-muted);font-size:12px;line-height:1.8}.share-links>span{margin-right:4px}.share-links a{display:inline-grid;min-width:82px;height:36px;padding:0 13px;color:#57534e;background:#fff;border:1px solid var(--theme-line);place-items:center;font-family:Arial,sans-serif;font-size:11px;letter-spacing:.05em}.share-links a:hover{color:#fff;background:var(--theme-accent);border-color:var(--theme-accent)}@media(max-width:600px){.article-footer{gap:18px}.article-tags,.share-links{display:grid;grid-template-columns:1fr;align-items:start}.article-tags a,.share-links a{width:100%;justify-content:center}.share-links>span{margin-right:0}}
.archive-intro.page-main{width:min(88%,1200px);padding:70px 0 46px;text-align:center}.archive-intro .eyebrow{margin:0 0 10px;color:var(--theme-accent);font-size:11px;letter-spacing:.2em}.archive-intro h2{margin:0 0 16px;font-size:clamp(27px,3vw,42px);font-weight:400;line-height:1.55}.archive-intro p,.archive-intro div{margin:0;color:#57534e;font-size:14px;line-height:2}.archive-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px;padding-bottom:18px;border-bottom:1px solid var(--theme-line)}.archive-heading h2{margin:0;font-size:24px;font-weight:400}.archive-heading span{color:var(--theme-muted);font-family:Arial,sans-serif;font-size:11px;letter-spacing:.14em}@media(max-width:600px){.archive-intro.page-main{width:calc(100% - 32px);padding:46px 0 36px}.archive-intro p,.archive-intro div{font-size:13px}.archive-heading{display:block}.archive-heading span{display:block;margin-top:8px}}
.footer-nav>li{list-style:none}.machine-features{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0;padding:0;list-style:none}.machine-features li{padding:3px 8px;background:var(--theme-surface);font-size:10px}
@media(max-width:800px){.footer-nav>ul{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sales-type-label{display:inline-flex;align-items:center;width:fit-content;margin:7px 0 12px;padding:5px 11px;color:#fff;background:var(--theme-accent);font-size:11px;letter-spacing:.08em}.sales-type-label-large{margin:16px 0 18px;padding:7px 14px;font-size:12px}.machine-price{margin:12px 0 14px;padding:12px 14px;background:var(--theme-surface);color:#292524;font-size:13px}.machine-price .welcart-price,.product-price-box .welcart-price{display:block;color:var(--theme-accent);font-family:Arial,sans-serif;font-size:20px;font-weight:700;letter-spacing:.03em}.machine-price .welcart-stock,.product-price-box .welcart-stock{display:block;margin-top:4px;color:var(--theme-muted);font-size:12px}.product-detail-layout{width:min(88%,1200px);margin:auto;padding:72px 0 110px}.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:clamp(38px,6vw,78px);align-items:start}.product-gallery{overflow:hidden;background:var(--theme-surface);border:1px solid var(--theme-line)}.product-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.product-no-image{display:grid;aspect-ratio:4/3;color:var(--theme-muted);place-items:center}.product-summary{padding:34px 0}.product-eyebrow{margin:0 0 16px;color:var(--theme-accent);font-size:12px;letter-spacing:.24em}.product-summary h1{margin:0;font-size:clamp(30px,3.4vw,46px);font-weight:400;line-height:1.45}.product-taxonomy{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 2px}.product-taxonomy span{padding:5px 11px;background:var(--theme-surface);color:#57534e;font-size:12px}.product-price-box{margin:20px 0;padding:22px;background:#fff;border:1px solid var(--theme-line)}.product-buy-box{margin-top:22px;padding:24px;background:var(--theme-surface);border-top:3px solid var(--theme-accent)}.welcart-cart-form{display:grid;gap:18px}.welcart-sku-row{display:grid;gap:12px}.welcart-sku-row input[type=submit],.product-inquiry-button{display:inline-grid;min-height:52px;padding:0 28px;color:#fff;background:var(--theme-accent);border:0;place-items:center;text-align:center;font-size:14px;letter-spacing:.08em}.product-inquiry-button{width:100%}.welcart-quantity input{width:90px;height:42px;padding:0 10px;border:1px solid var(--theme-line);background:#fff}.welcart-notice{margin:0;color:#57534e;line-height:1.9}.product-description{margin-top:64px;padding-top:54px;border-top:1px solid var(--theme-line)}.product-feature-tags{display:flex;flex-wrap:wrap;gap:8px;margin:34px 0 0;padding:0;list-style:none}.product-feature-tags li{padding:7px 12px;background:var(--theme-surface);color:#57534e;font-size:12px}.usces_cart table,.customer_form table,.send table{width:100%;border-collapse:collapse}.usces_cart th,.usces_cart td,.customer_form th,.customer_form td,.send th,.send td{padding:14px;border:1px solid var(--theme-line)}.usces_cart input,.customer_form input,.customer_form select,.customer_form textarea{max-width:100%;padding:10px;border:1px solid var(--theme-line)}.usces_cart input[type=submit],.customer_form input[type=submit],.send input[type=submit]{padding:12px 28px;color:#fff;background:var(--theme-accent);border:0}@media(max-width:800px){.product-detail-layout{width:calc(100% - 32px);padding:52px 0 80px}.product-detail-grid{grid-template-columns:1fr}.product-summary{padding:0}.product-buy-box{padding:20px}}

/* Subpage menu font size */
.sub-header .sub-nav a {
  font-size: 15px;
}
@media (max-width: 800px) {
  .sub-header .sub-nav a {
    font-size: 16px;
  }
}

/* Category mobile horizontal cards */
@media (max-width: 600px) {
  .category:not(.category-item) .archive-card > a {
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px 0;
  }
  .category:not(.category-item) .archive-image {
    aspect-ratio: 1 / 1;
  }
  .category:not(.category-item) .post-meta {
    flex-wrap: wrap;
    gap: 5px 7px;
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.4;
  }
  .category:not(.category-item) .post-category {
    padding: 2px 6px;
    font-size: 10px;
  }
  .category:not(.category-item) .archive-copy h2 {
    font-size: 14px;
    line-height: 1.45;
  }
  .category:not(.category-item) .archive-copy p {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 11px;
    line-height: 1.55;
  }
}

/* Lesson detail one column */
.lesson-single-layout {
  display: block;
  width: min(88%, 1120px);
}
.lesson-single-layout .single-main {
  width: 100%;
}
@media (max-width: 600px) {
  .lesson-single-layout {
    width: calc(100% - 16px);
  }
}


/* Category mobile dropdown menu scroll */
@media (max-width: 800px) {
  .sub-header .sub-nav,
  .sub-header.is-open .sub-nav,
  .sub-header.open .sub-nav {
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* Machine category mobile two columns */
@media (max-width: 600px) {
  body.category-item .machine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  body.category-item .machine-card-body {
    padding: 14px 12px;
  }

  body.category-item .machine-card-body h2 {
    font-size: 15px;
    line-height: 1.45;
  }

  body.category-item .machine-card-body p {
    font-size: 11px;
    line-height: 1.6;
  }

  body.category-item .sales-type-label {
    font-size: 10px;
    letter-spacing: .04em;
  }
}

/* Single page header logo crop */
body.single .sub-header .sub-logo-mark {
  width: 64px;
  height: 54px;
  overflow: hidden;
  flex: 0 0 64px;
}

body.single .sub-header .sub-logo-mark img {
  display: block;
  width: auto !important;
  max-width: none !important;
  height: 54px !important;
  object-fit: none;
  object-position: left center;
}

body.single .sub-header .sub-logo-title {
  height: 48px;
  width: auto;
}

@media (max-width: 800px) {
  body.single .sub-header .sub-logo-mark {
    width: 48px;
    height: 40px;
    flex-basis: 48px;
  }

  body.single .sub-header .sub-logo-mark img {
    height: 40px !important;
  }

  body.single .sub-header .sub-logo-title {
    height: 32px;
  }
}

/* Unified header logo */
.sub-logo .header-logo-full {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(48vw, 360px);
  object-fit: contain;
}

@media (max-width: 800px) {
  .sub-logo .header-logo-full {
    height: 42px;
    max-width: 245px;
  }
}

@media (max-width: 420px) {
  .sub-logo .header-logo-full {
    height: 36px;
    max-width: 210px;
  }
}

/* Single related post thumbnail vertical ratio */
body.single .related-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 16;
  object-fit: cover;
}

/* Single related post thumbnail horizontal ratio */
body.single .related-posts .related-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Single related post thumbnail frame */
body.single .related-posts .related-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--theme-surface);
}

body.single .related-posts .related-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

/* Single hero title mobile line height */
@media (max-width: 600px) {
  body.single .page-title h1 {
    line-height: 1.25;
  }
}

/* Single page initial display fix */
body.single .entry-content > .theme-reveal,
body.single .entry-content > .theme-reveal.is-visible {
  opacity: 1 !important;
  translate: none !important;
  transition: none !important;
}

/* Single related posts mobile horizontal cards */
@media (max-width: 700px) {
  body.single .related-posts .related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.single .related-posts .related-grid a {
    display: grid;
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--theme-line, #d6d3d1);
  }

  body.single .related-posts .related-thumb {
    grid-row: 1 / span 2;
    aspect-ratio: 1 / 1;
  }

  body.single .related-posts time {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  body.single .related-posts h3 {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.55;
  }
}

/* Machine category product image ratio */
body.category-item .machine-card img,
body.tax-machine_maker .machine-card img,
body.tax-machine_type .machine-card img,
body.search .machine-card img {
  aspect-ratio: 8 / 5;
  height: auto;
  object-fit: cover;
}

/* Machine category desktop three columns */
@media (min-width: 801px) {
  body.category-item .machine-grid,
  body.tax-machine_maker .machine-grid,
  body.tax-machine_type .machine-grid,
  body.search .machine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Machine category compact card spacing */
body.category-item .machine-card-body,
body.tax-machine_maker .machine-card-body,
body.tax-machine_type .machine-card-body,
body.search .machine-card-body {
  padding: 18px 18px 20px;
  line-height: 1.45;
}

body.category-item .machine-card-body small,
body.tax-machine_maker .machine-card-body small,
body.tax-machine_type .machine-card-body small,
body.search .machine-card-body small {
  display: block;
  line-height: 1.35;
}

body.category-item .machine-card-body h2,
body.tax-machine_maker .machine-card-body h2,
body.tax-machine_type .machine-card-body h2,
body.search .machine-card-body h2 {
  margin: 5px 0 6px;
  line-height: 1.35;
}

body.category-item .machine-card-body p,
body.tax-machine_maker .machine-card-body p,
body.tax-machine_type .machine-card-body p,
body.search .machine-card-body p {
  margin: 5px 0;
  line-height: 1.45;
}

body.category-item .machine-card-body .sales-type-label,
body.tax-machine_maker .machine-card-body .sales-type-label,
body.tax-machine_type .machine-card-body .sales-type-label,
body.search .machine-card-body .sales-type-label {
  margin: 4px 0 6px;
}

body.category-item .machine-price,
body.tax-machine_maker .machine-price,
body.tax-machine_type .machine-price,
body.search .machine-price {
  margin: 7px 0 8px;
  padding: 9px 11px;
}

body.category-item .machine-features,
body.tax-machine_maker .machine-features,
body.tax-machine_type .machine-features,
body.search .machine-features {
  margin: 8px 0 0;
}

@media (max-width: 600px) {
  body.category-item .machine-card-body,
  body.tax-machine_maker .machine-card-body,
  body.tax-machine_type .machine-card-body,
  body.search .machine-card-body {
    padding: 12px 10px 14px;
  }

  body.category-item .machine-card-body h2,
  body.tax-machine_maker .machine-card-body h2,
  body.tax-machine_type .machine-card-body h2,
  body.search .machine-card-body h2 {
    margin: 4px 0 5px;
    line-height: 1.3;
  }
}

/* Machine category card order and sales alignment */
body.category-item .machine-card > a > .machine-maker-label,
body.tax-machine_maker .machine-card > a > .machine-maker-label,
body.tax-machine_type .machine-card > a > .machine-maker-label,
body.search .machine-card > a > .machine-maker-label {
  display: block;
  padding: 14px 18px 10px;
  color: var(--theme-accent);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .08em;
}

body.category-item .machine-card-body .sales-type-label,
body.tax-machine_maker .machine-card-body .sales-type-label,
body.tax-machine_type .machine-card-body .sales-type-label,
body.search .machine-card-body .sales-type-label {
  display: flex;
  width: fit-content;
  margin: 4px 0 6px auto;
}

@media (max-width: 600px) {
  body.category-item .machine-card > a > .machine-maker-label,
  body.tax-machine_maker .machine-card > a > .machine-maker-label,
  body.tax-machine_type .machine-card > a > .machine-maker-label,
  body.search .machine-card > a > .machine-maker-label {
    padding: 10px 10px 7px;
    font-size: 10px;
  }
}

/* Machine category type tags */
body.category-item .machine-type-tags,
body.tax-machine_maker .machine-type-tags,
body.tax-machine_type .machine-type-tags,
body.search .machine-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px 14px 8px;
}

body.category-item .machine-type-tags span,
body.tax-machine_maker .machine-type-tags span,
body.tax-machine_type .machine-type-tags span,
body.search .machine-type-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  color: #fff;
  background: #57534e;
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: .04em;
}

body.category-item .machine-card > a > .machine-maker-label,
body.tax-machine_maker .machine-card > a > .machine-maker-label,
body.tax-machine_type .machine-card > a > .machine-maker-label,
body.search .machine-card > a > .machine-maker-label {
  padding-top: 4px;
}

@media (max-width: 600px) {
  body.category-item .machine-type-tags,
  body.tax-machine_maker .machine-type-tags,
  body.tax-machine_type .machine-type-tags,
  body.search .machine-type-tags {
    gap: 4px;
    padding: 9px 9px 6px;
  }

  body.category-item .machine-type-tags span,
  body.tax-machine_maker .machine-type-tags span,
  body.tax-machine_type .machine-type-tags span,
  body.search .machine-type-tags span {
    min-height: 21px;
    padding: 2px 7px;
    font-size: 9px;
  }
}

/* Machine category wider product area */
@media (min-width: 801px) {
  body.category-item .machine-layout,
  body.tax-machine_maker .machine-layout,
  body.tax-machine_type .machine-layout,
  body.search .machine-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    width: min(94%, 1440px);
  }

  body.category-item .machine-grid,
  body.tax-machine_maker .machine-grid,
  body.tax-machine_type .machine-grid,
  body.search .machine-grid {
    gap: 20px;
  }

  body.category-item .machine-filter,
  body.tax-machine_maker .machine-filter,
  body.tax-machine_type .machine-filter,
  body.search .machine-filter {
    padding: 26px 22px;
  }
}

/* Machine category search summary */
body.category-item .machine-search-summary,
body.tax-machine_maker .machine-search-summary,
body.tax-machine_type .machine-search-summary,
body.search .machine-search-summary {
  margin: 0 0 18px;
  padding: 10px 14px;
  color: #57534e;
  background: var(--theme-surface);
  border-left: 3px solid var(--theme-accent);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  body.category-item .machine-search-summary,
  body.tax-machine_maker .machine-search-summary,
  body.tax-machine_type .machine-search-summary,
  body.search .machine-search-summary {
    margin-bottom: 12px;
    padding: 9px 11px;
    font-size: 12px;
  }
}

/* Machine category maker-title gap */
body.category-item .machine-card > a > .machine-maker-label,
body.tax-machine_maker .machine-card > a > .machine-maker-label,
body.tax-machine_type .machine-card > a > .machine-maker-label,
body.search .machine-card > a > .machine-maker-label {
  padding-bottom: 2px;
  line-height: 1.2;
}

body.category-item .machine-card-body,
body.tax-machine_maker .machine-card-body,
body.tax-machine_type .machine-card-body,
body.search .machine-card-body {
  padding-top: 4px;
}

body.category-item .machine-card-body h2,
body.tax-machine_maker .machine-card-body h2,
body.tax-machine_type .machine-card-body h2,
body.search .machine-card-body h2 {
  margin-top: 0;
}

@media (max-width: 600px) {
  body.category-item .machine-card > a > .machine-maker-label,
  body.tax-machine_maker .machine-card > a > .machine-maker-label,
  body.tax-machine_type .machine-card > a > .machine-maker-label,
  body.search .machine-card > a > .machine-maker-label {
    padding-bottom: 1px;
  }

  body.category-item .machine-card-body,
  body.tax-machine_maker .machine-card-body,
  body.tax-machine_type .machine-card-body,
  body.search .machine-card-body {
    padding-top: 3px;
  }
}

/* Machine category mobile one column */
@media (max-width: 600px) {
  body.category-item .machine-grid,
  body.tax-machine_maker .machine-grid,
  body.tax-machine_type .machine-grid,
  body.search .machine-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
}

/* Product price tax label */
.welcart-price .tax-included-label {
  margin-left: 4px;
  font-size: .58em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: middle;
}

/* Keep tax label beside product price */
.machine-price .welcart-price,
.product-price-box .welcart-price {
  white-space: nowrap;
}

.welcart-price .tax-included-label {
  display: inline !important;
  white-space: nowrap;
  vertical-align: baseline;
}

/* Product detail maker and title spacing */
.product-summary .product-eyebrow {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.35;
}

.product-summary h1 {
  line-height: 1.32;
}

@media (max-width: 600px) {
  .product-summary .product-eyebrow {
    margin-bottom: 5px;
    font-size: 15px;
  }
}

/* Hide sales type label on machine archive cards */
body.category-item .machine-card-body .sales-type-label,
body.tax-machine_maker .machine-card-body .sales-type-label,
body.tax-machine_type .machine-card-body .sales-type-label,
body.search .machine-card-body .sales-type-label {
  display: none !important;
}

/* Machine category desktop four columns - remove this block to return to three columns */
@media (min-width: 901px) {
  body.category-item .machine-grid,
  body.tax-machine_maker .machine-grid,
  body.tax-machine_type .machine-grid,
  body.search .machine-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px;
  }
}

/* Machine category desktop product title size */
@media (min-width: 901px) {
  body.category-item .machine-card-body h2,
  body.tax-machine_maker .machine-card-body h2,
  body.tax-machine_type .machine-card-body h2,
  body.search .machine-card-body h2 {
    font-size: 19px !important;
  }
}

/* Machine category desktop sticky filter band */
@media (min-width: 901px) {
  body.category-item .machine-layout,
  body.tax-machine_maker .machine-layout,
  body.tax-machine_type .machine-layout,
  body.search .machine-layout {
    display: block;
    width: min(94%, 1440px);
    padding-top: 24px;
  }

  body.category-item .machine-filter,
  body.tax-machine_maker .machine-filter,
  body.tax-machine_type .machine-filter,
  body.search .machine-filter {
    position: sticky;
    z-index: 90;
    top: 88px;
    display: grid;
    grid-template-columns: auto repeat(4, minmax(145px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin: 0 0 34px;
    padding: 16px 18px;
    background: rgba(245, 245, 244, .96);
    border-top: 3px solid var(--theme-accent);
    border-bottom: 1px solid var(--theme-line);
    box-shadow: 0 8px 20px rgba(28, 25, 23, .08);
    backdrop-filter: blur(8px);
  }

  body.admin-bar.category-item .machine-filter,
  body.admin-bar.tax-machine_maker .machine-filter,
  body.admin-bar.tax-machine_type .machine-filter,
  body.admin-bar.search .machine-filter {
    top: 120px;
  }

  body.category-item .machine-filter h2,
  body.tax-machine_maker .machine-filter h2,
  body.tax-machine_type .machine-filter h2,
  body.search .machine-filter h2 {
    margin: 0;
    align-self: center;
    white-space: nowrap;
    font-size: 20px;
    line-height: 1.4;
  }

  body.category-item .machine-filter label,
  body.tax-machine_maker .machine-filter label,
  body.tax-machine_type .machine-filter label,
  body.search .machine-filter label {
    margin-top: 0;
    font-size: 11px;
    line-height: 1.4;
  }

  body.category-item .machine-filter select,
  body.category-item .machine-filter input,
  body.tax-machine_maker .machine-filter select,
  body.tax-machine_maker .machine-filter input,
  body.tax-machine_type .machine-filter select,
  body.tax-machine_type .machine-filter input,
  body.search .machine-filter select,
  body.search .machine-filter input {
    height: 42px;
    margin-top: 5px;
  }

  body.category-item .machine-filter button,
  body.tax-machine_maker .machine-filter button,
  body.tax-machine_type .machine-filter button,
  body.search .machine-filter button {
    width: auto;
    min-width: 132px;
    height: 42px;
    margin-top: 0;
    padding: 0 18px;
    white-space: nowrap;
  }
}

/* Machine category mobile filter dropdown */
.machine-filter-toggle {
  display: none;
}

@media (max-width: 900px) {
  body.category-item .machine-filter,
  body.tax-machine_maker .machine-filter,
  body.tax-machine_type .machine-filter,
  body.search .machine-filter {
    padding: 18px 16px;
  }

  body.category-item .machine-filter h2,
  body.tax-machine_maker .machine-filter h2,
  body.tax-machine_type .machine-filter h2,
  body.search .machine-filter h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
  }

  .machine-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 0 14px;
    color: #fff;
    background: var(--theme-accent);
    border: 0;
    font-size: 14px;
    letter-spacing: .06em;
  }

  .machine-filter-toggle::after {
    content: "+";
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
  }

  .machine-filter.is-open .machine-filter-toggle::after {
    content: "−";
  }

  .machine-filter-fields {
    display: none;
    padding-top: 4px;
  }

  .machine-filter.is-open .machine-filter-fields {
    display: block;
  }
}

@media (min-width: 901px) {
  .machine-filter-fields {
    display: contents;
  }
}

/* Machine category mobile filter heading hidden */
@media (max-width: 900px) {
  body.category-item .machine-filter h2,
  body.tax-machine_maker .machine-filter h2,
  body.tax-machine_type .machine-filter h2,
  body.search .machine-filter h2 {
    display: none;
  }

  .machine-filter-toggle {
    margin-top: 0;
  }
}

/* Machine category desktop filter hides on scroll down */
@media (min-width: 901px) {
  body.category-item .machine-filter,
  body.tax-machine_maker .machine-filter,
  body.tax-machine_type .machine-filter,
  body.search .machine-filter {
    transition: transform .28s ease, opacity .2s ease, box-shadow .2s ease;
  }

  body.category-item .machine-filter.is-scroll-hidden,
  body.tax-machine_maker .machine-filter.is-scroll-hidden,
  body.tax-machine_type .machine-filter.is-scroll-hidden,
  body.search .machine-filter.is-scroll-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 18px));
    box-shadow: none;
  }
}

/* Lesson detail two column with narrower sidebar */
@media (min-width: 801px) {
  .lesson-single-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(34px, 4vw, 56px);
    width: min(88%, 1200px);
  }

  .lesson-single-layout .lesson-sidebar-area,
  .lesson-single-layout .sidebar-area {
    width: 220px;
  }

  .lesson-single-layout .sidebar-box {
    padding: 22px 18px;
  }
}

@media (max-width: 800px) {
  .lesson-single-layout {
    display: block !important;
  }
}

/* Lesson archive one column and four-card grid */
.post-type-archive-lesson_item .lesson-archive-layout {
  display: block;
  width: min(94%, 1440px);
}

.post-type-archive-lesson_item .lesson-archive-main {
  width: 100%;
}

.post-type-archive-lesson_item .post-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.post-type-archive-lesson_item .archive-card > a {
  display: block;
  height: 100%;
  padding: 0;
  background: #fff;
  border: 1px solid var(--theme-line);
}

.post-type-archive-lesson_item .archive-image {
  aspect-ratio: 5 / 3;
}

.post-type-archive-lesson_item .archive-copy {
  padding: 18px 16px 20px;
}

.post-type-archive-lesson_item .archive-copy h2 {
  font-size: 17px;
  line-height: 1.55;
}

.post-type-archive-lesson_item .archive-copy p {
  margin-bottom: 0;
  font-size: 12px;
}

.post-type-archive-lesson_item .post-meta {
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 1100px) {
  .post-type-archive-lesson_item .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .post-type-archive-lesson_item .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .post-type-archive-lesson_item .lesson-archive-layout {
    width: calc(100% - 16px);
  }

  .post-type-archive-lesson_item .post-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Lesson archive intro spacing */
.post-type-archive-lesson_item .archive-intro.page-main {
  padding-top: 40px;
  padding-bottom: 26px;
}

.post-type-archive-lesson_item .archive-layout {
  padding-top: 28px;
}

@media (max-width: 600px) {
  .post-type-archive-lesson_item .archive-intro.page-main {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .post-type-archive-lesson_item .archive-layout {
    padding-top: 22px;
  }
}

/* Lesson archive intro copy only */
.post-type-archive-lesson_item .archive-intro .eyebrow,
.post-type-archive-lesson_item .archive-intro h2 {
  display: none;
}

.post-type-archive-lesson_item .archive-intro p {
  font-size: 18px;
  line-height: 1.9;
}

@media (max-width: 600px) {
  .post-type-archive-lesson_item .archive-intro p {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* Machine category desktop filter slower hide animation */
@media (min-width: 901px) {
  body.category-item .machine-filter,
  body.tax-machine_maker .machine-filter,
  body.tax-machine_type .machine-filter,
  body.search .machine-filter {
    transition: transform .55s ease, opacity .42s ease, box-shadow .3s ease !important;
  }
}

/* Sidebar category count inline */
.widget_categories .cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--theme-line);
}

.widget_categories .cat-item + .cat-item {
  border-top: 0;
}

.widget_categories .cat-item a {
  display: inline;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  font-size: inherit;
}

.widget_categories .cat-item .children {
  flex-basis: 100%;
}

/* Single post mobile paragraph size */
@media (max-width: 600px) {
  body.single-post .entry-content p {
    font-size: 18px;
  }
}