/* Gen Stone Machinery
   Built to visually inherit the main Gen Stone site while keeping machinery
   content separate from stone-specific product/sample UI. */

.machinery-page .cart-floating,
.machinery-page .cart-modal {
    display: none !important;
}

.machinery-page-title {
    margin-bottom: 0;
}

.machinery-intro {
    padding: 72px 0 48px;
}

.machinery-intro-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.machinery-eyebrow,
.machinery-card-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #767676;
}

.machinery-intro h2,
.machinery-crosslink h2 {
    margin: 12px 0 16px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.16;
    font-weight: 600;
    color: #111;
}

.machinery-intro p,
.machinery-crosslink p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #666;
}

.machinery-list-section {
    padding: 16px 0 90px;
}

.machinery-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e9e9e9;
}

.machinery-count {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.machinery-source-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    transition: opacity .2s ease;
}

.machinery-source-link:hover {
    opacity: .65;
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
}

.machinery-card {
    min-width: 0;
}

.machinery-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #f6f6f4;
}

.machinery-card-media img {
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.machinery-card:hover .machinery-card-media img {
    transform: scale(1.035);
}

.machinery-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #aaa;
}

.machinery-card-body {
    padding: 20px 2px 0;
}

.machinery-card-kicker {
    margin-bottom: 8px;
}

.machinery-card-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.32;
    font-weight: 600;
}

.machinery-card-title a {
    color: #111;
}

.machinery-card-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 12px 0 0;
    color: #707070;
    font-size: 14px;
    line-height: 1.65;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.machinery-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-bottom: 3px;
    border-bottom: 1px solid #222;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    transition: gap .2s ease, opacity .2s ease;
}

.machinery-card-link:hover {
    gap: 12px;
    opacity: .7;
}

.machinery-pagination {
    margin-top: 60px;
}

.machinery-crosslink {
    padding: 0 0 100px;
}

.machinery-crosslink-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    padding: 54px 60px;
    border-radius: 20px;
    background: #f5f5f2;
}

.machinery-crosslink-inner > div {
    max-width: 720px;
}

.machinery-crosslink h2 {
    font-size: clamp(28px, 2.6vw, 38px);
}

.machinery-main-cta {
    flex: 0 0 auto;
    min-width: 220px;
}

@media (max-width: 991.98px) {
    .machinery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .machinery-crosslink-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 42px;
    }
}

@media (max-width: 767.98px) {
    .machinery-intro {
        padding: 50px 0 34px;
    }

    .machinery-list-section {
        padding-bottom: 64px;
    }

    .machinery-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .machinery-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .machinery-card-media {
        border-radius: 14px;
    }

    .machinery-card-media img {
        padding: 12px;
    }

    .machinery-card-title {
        font-size: 21px;
    }

    .machinery-crosslink {
        padding-bottom: 72px;
    }

    .machinery-crosslink-inner {
        padding: 34px 24px;
        border-radius: 16px;
    }

    .machinery-main-cta {
        width: 100%;
    }
}


/* =========================================================
   Machinery detail
   ========================================================= */

.machinery-detail-breadcrumb {
    border-bottom: 1px solid #ececea;
    background: #fff;
}

.machinery-breadcrumb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 62px;
}

.machinery-breadcrumb-trail {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: #8a8a8a;
}

.machinery-breadcrumb-trail a {
    flex: 0 0 auto;
    color: #666;
    transition: color .2s ease;
}

.machinery-breadcrumb-trail a:hover {
    color: #111;
}

.machinery-breadcrumb-sep {
    flex: 0 0 auto;
    color: #c2c2c2;
}

.machinery-breadcrumb-current {
    overflow: hidden;
    min-width: 0;
    color: #222;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.machinery-breadcrumb-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
}

.machinery-breadcrumb-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #222;
    transition: background .2s ease, border-color .2s ease;
}

.machinery-breadcrumb-icon:hover {
    border-color: #e7e7e5;
    background: #f6f6f4;
}

.machinery-breadcrumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 4px);
    grid-template-rows: repeat(2, 4px);
    gap: 3px;
}

.machinery-breadcrumb-grid i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: currentColor;
}

.machinery-detail-hero {
    padding: 56px 0 92px;
}

.machinery-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    gap: clamp(42px, 6vw, 88px);
    align-items: start;
}

.machinery-gallery {
    min-width: 0;
}

.machinery-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background: #f6f6f4;
}

.machinery-gallery-main > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.machinery-gallery-main img {
    width: 100%;
    height: 100%;
    padding: 24px;
    object-fit: contain;
}

.machinery-gallery-zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 7px 22px rgba(0,0,0,.08);
}

.machinery-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.machinery-gallery-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f6f6f4;
    cursor: pointer;
    transition: border-color .2s ease, opacity .2s ease;
}

.machinery-gallery-thumb img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
}

.machinery-gallery-thumb:hover {
    opacity: .78;
}

.machinery-gallery-thumb.is-active {
    border-color: #222;
}

.machinery-detail-summary {
    position: sticky;
    top: 110px;
}

.machinery-detail-category {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #777;
}

.machinery-detail-summary h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.025em;
    color: #111;
}

.machinery-detail-excerpt {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.75;
    color: #646464;
}

.machinery-block-label {
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.machinery-quick-info {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e8e8e8;
}

.machinery-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.machinery-quick-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 62px;
    padding: 14px 15px;
    border-radius: 12px;
    background: #f6f6f4;
}

.machinery-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    font-size: 13px;
    color: #222;
}

.machinery-quick-text {
    padding-top: 3px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.machinery-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.machinery-detail-primary {
    min-width: 190px;
}

.machinery-detail-secondary {
    white-space: nowrap;
}

.machinery-detail-note {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #888;
}

.machinery-detail-section {
    padding: 94px 0;
}

.machinery-features-section {
    background: #f7f7f5;
}

.machinery-section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.machinery-section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.15;
    font-weight: 600;
    color: #111;
}

.machinery-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.machinery-feature-card {
    min-height: 250px;
    padding: 30px;
    border: 1px solid #e8e8e5;
    border-radius: 16px;
    background: #fff;
}

.machinery-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: #f2f2ef;
    font-size: 18px;
    color: #222;
}

.machinery-feature-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
    color: #111;
}

.machinery-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #707070;
}

.machinery-applications-section {
    background: #fff;
}

.machinery-applications-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.machinery-application-card {
    overflow: hidden;
    border-radius: 16px;
    background: #f7f7f5;
}

.machinery-application-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #efefec;
}

.machinery-application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.machinery-application-card:hover .machinery-application-image img {
    transform: scale(1.035);
}

.machinery-application-body {
    padding: 24px;
}

.machinery-application-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: #111;
}

.machinery-application-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #707070;
}

.machinery-detail-cta {
    padding: 10px 0 100px;
}

.machinery-detail-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 54px 60px;
    border-radius: 20px;
    background: #f5f5f2;
}

.machinery-detail-cta-inner > div:first-child {
    max-width: 720px;
}

.machinery-detail-cta h2 {
    margin: 11px 0 14px;
    font-size: clamp(29px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 600;
    color: #111;
}

.machinery-detail-cta p {
    margin: 0;
    max-width: 680px;
    font-size: 15px;
    line-height: 1.75;
    color: #666;
}

.machinery-detail-cta-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
}


/* Detail v1.2 visual refinements */
.machinery-detail-summary {
    padding-top: 4px;
}

.machinery-quick-item {
    align-items: center;
}

.machinery-quick-text {
    padding-top: 0;
}

.machinery-detail-actions .tf-btn {
    min-height: 48px;
}

.machinery-detail-secondary {
    padding-left: 22px;
    padding-right: 22px;
    border: 1px solid #d8d8d5;
    border-radius: 2px;
}

.machinery-feature-card {
    padding-top: 28px;
    padding-bottom: 28px;
}

.machinery-feature-icon {
    margin-bottom: 22px;
}

.machinery-application-body p {
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 1199.98px) {
    .machinery-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
        gap: 42px;
    }

    .machinery-applications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .machinery-detail-hero {
        padding-top: 42px;
    }

    .machinery-detail-grid {
        grid-template-columns: 1fr;
    }

    .machinery-detail-summary {
        position: static;
    }

    .machinery-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .machinery-detail-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 42px;
    }
}

@media (max-width: 767.98px) {
    .machinery-breadcrumb-inner {
        min-height: 54px;
        gap: 10px;
    }

    .machinery-breadcrumb-trail {
        gap: 7px;
        font-size: 12px;
    }

    .machinery-breadcrumb-trail a:first-child,
    .machinery-breadcrumb-trail .machinery-breadcrumb-sep:first-of-type {
        display: none;
    }

    .machinery-breadcrumb-icon {
        width: 32px;
        height: 32px;
    }

    .machinery-detail-hero {
        padding: 26px 0 64px;
    }

    .machinery-gallery-main {
        border-radius: 14px;
    }

    .machinery-gallery-main img {
        padding: 10px;
    }

    .machinery-gallery-thumbs {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .machinery-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .machinery-gallery-thumb {
        flex: 0 0 72px;
        width: 72px;
    }

    .machinery-detail-summary h1 {
        font-size: 34px;
    }

    .machinery-detail-excerpt {
        font-size: 15px;
    }

    .machinery-quick-grid {
        grid-template-columns: 1fr;
    }

    .machinery-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .machinery-detail-actions .tf-btn {
        width: 100%;
    }

    .machinery-detail-section {
        padding: 68px 0;
    }

    .machinery-features-grid,
    .machinery-applications-grid {
        grid-template-columns: 1fr;
    }

    .machinery-feature-card {
        min-height: 0;
        padding: 24px;
    }

    .machinery-detail-cta {
        padding-bottom: 72px;
    }

    .machinery-detail-cta-inner {
        padding: 34px 24px;
        border-radius: 16px;
    }

    .machinery-detail-cta-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .machinery-detail-cta-actions .tf-btn {
        width: 100%;
    }
}

/* Detail v1.3 mobile overflow fix
   Breadcrumb hover tooltips are desktop-only UI. On touch layouts they can
   remain positioned outside the viewport and enlarge the page scroll width. */
@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-breadcrumb-nav .tooltip {
        display: none !important;
    }
}

/* Detail v1.4 quote + action refinements */
.machinery-detail-actions .tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}

.machinery-detail-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    min-height: 48px;
    line-height: 1.2 !important;
}

.machinery-detail-secondary i {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.machinery-detail-page #ask_question .machinery-quote-context {
    margin: 0 0 20px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f6f6f4;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 767.98px) {
    .machinery-detail-page #ask_question .machinery-quote-context {
        margin-bottom: 16px;
        padding: 9px 12px;
        font-size: 12px;
    }
}

/* Detail v1.6 exact vertical centering for secondary action */
.machinery-detail-actions .machinery-detail-secondary {
    height: 48px !important;
    min-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
    line-height: 1 !important;
}

.machinery-detail-secondary-text {
    display: inline-flex;
    align-items: center;
    height: 100%;
    line-height: 1 !important;
}

.machinery-detail-actions .machinery-detail-secondary i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1 !important;
    margin: 0 !important;
}

/* Machinery category menu v5
   Uses native EyouCMS channel/type tags and native typeurl values. */
.machinery-native-category-wrap {
    position: relative;
    z-index: 20;
    padding: 0 0 30px;
}

.machinery-native-category-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    min-height: 50px;
    border-bottom: 1px solid #e8e8e5;
}

.machinery-native-item {
    position: relative;
}

.machinery-native-trigger {
    display: flex;
    align-items: center;
}

.machinery-native-main-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    color: #6b6b68;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: color .2s ease;
}

.machinery-native-main-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #1f1f1f;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.machinery-native-main-link:hover,
.machinery-native-main-link.is-active,
.machinery-native-item.is-active > .machinery-native-trigger .machinery-native-main-link {
    color: #111;
}

.machinery-native-main-link:hover::after,
.machinery-native-main-link.is-active::after,
.machinery-native-item.is-active > .machinery-native-trigger .machinery-native-main-link::after {
    transform: scaleX(1);
}

.machinery-native-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 50px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    cursor: pointer;
}

.machinery-native-toggle span {
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.machinery-native-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    min-width: 220px;
    padding: 8px;
    border: 1px solid #e5e5e2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.machinery-native-item:hover .machinery-native-dropdown,
.machinery-native-item:focus-within .machinery-native-dropdown,
.machinery-native-item.is-open .machinery-native-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.machinery-native-sub-link {
    display: block;
    padding: 11px 13px;
    border-radius: 7px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

.machinery-native-sub-link:hover,
.machinery-native-sub-link.is-active {
    background: #f4f4f1;
    color: #111;
}

@media (max-width: 767.98px) {
    .machinery-native-category-wrap {
        padding-bottom: 18px;
    }

    .machinery-native-category-menu {
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        margin-right: -15px;
        margin-left: -15px;
        padding: 0 15px;
        scrollbar-width: none;
    }

    .machinery-native-category-menu::-webkit-scrollbar {
        display: none;
    }

    .machinery-native-main-link {
        min-height: 44px;
        font-size: 13px;
    }

    .machinery-native-toggle {
        height: 44px;
    }

    .machinery-native-item:hover .machinery-native-dropdown,
    .machinery-native-item:focus-within .machinery-native-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
    }

    .machinery-native-item.is-open .machinery-native-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .machinery-native-dropdown {
        position: fixed;
        top: auto;
        right: 15px;
        bottom: 74px;
        left: 15px;
        min-width: 0;
        max-height: 45vh;
        overflow-y: auto;
        transform: translateY(8px);
    }

    .machinery-native-item.is-open .machinery-native-dropdown {
        transform: translateY(0);
    }

    .machinery-native-sub-link {
        padding: 13px 14px;
    }
}

/* =========================================================
   Machinery list v6 refinement
   ========================================================= */

/* Pull the product experience closer to the page-title banner without
   disturbing the site's global page-title component. */
.machinery-list-page .machinery-intro {
    padding-top: 58px;
    padding-bottom: 34px;
}

.machinery-list-page .machinery-intro-inner {
    max-width: 730px;
}

.machinery-list-page .machinery-intro h2 {
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: clamp(30px, 2.65vw, 40px);
    line-height: 1.18;
}

.machinery-list-page .machinery-intro p {
    max-width: 690px;
    margin-right: auto;
    margin-left: auto;
}

/* Keep category navigation visually light. */
.machinery-list-page .machinery-native-category-wrap {
    padding-bottom: 22px;
}

.machinery-list-page .machinery-native-category-menu {
    min-height: 48px;
}

.machinery-list-page .machinery-native-main-link,
.machinery-list-page .machinery-native-toggle {
    min-height: 48px;
    height: 48px;
}

/* Result header now has one job: describe the result set. */
.machinery-list-page .machinery-list-section {
    padding-top: 8px;
    padding-bottom: 78px;
}

.machinery-list-page .machinery-list-head {
    justify-content: flex-start;
    padding-bottom: 20px;
    margin-bottom: 26px;
}

.machinery-list-page .machinery-count {
    color: #252525;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .01em;
}

/* Make every card read on the same rhythm even when titles and descriptions
   have different lengths. */
.machinery-list-page .machinery-grid {
    gap: 34px 28px;
}

.machinery-list-page .machinery-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.machinery-list-page .machinery-card-media img {
    padding: 14px;
}

.machinery-list-page .machinery-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-top: 18px;
}

.machinery-list-page .machinery-card-kicker {
    overflow: hidden;
    margin-bottom: 8px;
    color: #747470;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .11em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.machinery-list-page .machinery-card-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 58px;
    font-size: 21px;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.machinery-list-page .machinery-card-summary {
    min-height: 69px;
    margin-top: 10px;
}

.machinery-list-page .machinery-card-link {
    align-self: flex-start;
    margin-top: 18px;
}

/* Pagination should only become part of the composition when a second page
   exists. JS removes it for <= 12 results. */
.machinery-list-page .machinery-pagination {
    margin-top: 52px;
}

/* The closing CTA should finish the page, not compete with the machines. */
.machinery-list-page .machinery-crosslink {
    padding-bottom: 88px;
}

.machinery-list-page .machinery-crosslink-inner {
    gap: 44px;
    padding: 42px 48px;
    border-radius: 18px;
}

.machinery-list-page .machinery-crosslink h2 {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: clamp(27px, 2.35vw, 34px);
}

.machinery-list-page .machinery-crosslink p {
    font-size: 15px;
    line-height: 1.7;
}

.machinery-list-page .machinery-main-cta {
    min-width: 210px;
}

/* A small cue for dropdown state, especially useful on touch devices. */
.machinery-list-page .machinery-native-item.is-open .machinery-native-toggle span {
    transform: translateY(2px) rotate(225deg);
}

@media (max-width: 991.98px) {
    .machinery-list-page .machinery-card-title {
        min-height: 58px;
    }

    .machinery-list-page .machinery-crosslink-inner {
        gap: 28px;
        padding: 38px 36px;
    }
}

@media (max-width: 767.98px) {
    .machinery-list-page .machinery-intro {
        padding-top: 44px;
        padding-bottom: 28px;
    }

    .machinery-list-page .machinery-intro h2 {
        font-size: 30px;
    }

    .machinery-list-page .machinery-native-category-wrap {
        padding-bottom: 16px;
    }

    .machinery-list-page .machinery-list-section {
        padding-top: 4px;
        padding-bottom: 60px;
    }

    .machinery-list-page .machinery-list-head {
        padding-bottom: 16px;
        margin-bottom: 22px;
    }

    .machinery-list-page .machinery-grid {
        gap: 40px;
    }

    .machinery-list-page .machinery-card-title,
    .machinery-list-page .machinery-card-summary {
        min-height: 0;
    }

    .machinery-list-page .machinery-card-title {
        font-size: 21px;
    }

    .machinery-list-page .machinery-card-link {
        margin-top: 16px;
    }

    .machinery-list-page .machinery-crosslink {
        padding-bottom: 70px;
    }

    .machinery-list-page .machinery-crosslink-inner {
        padding: 30px 22px;
        border-radius: 16px;
    }
}

/* =========================================================
   Machinery list v8
   Native Gen Stone page-title background + native breadcrumbs
   ========================================================= */

/* Keep the site's own .tf-page-title background/gradient.
   Only spacing is adapted so the intro and category navigation can live
   inside the same inner-page title area. */
.machinery-list-page .tf-page-title.machinery-hero {
    position: relative;
    z-index: 20;
    overflow: visible;
    margin-bottom: 0;
    padding: 0;
}

.machinery-list-page .machinery-hero .container-full {
    padding-right: 24px;
    padding-left: 24px;
}

.machinery-list-page .machinery-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 48px;
    text-align: center;
}

.machinery-list-page .machinery-hero .machinery-eyebrow {
    margin-bottom: 11px;
}

.machinery-list-page .machinery-hero-title {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(34px, 3.15vw, 46px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.02em;
}

/* Breadcrumb deliberately sits beneath the H1, using the same
   .breadcrumbs markup and styling as the site's other inner pages. */
.machinery-list-page .machinery-hero-breadcrumb {
    margin-top: 14px;
}

/* Do not redefine breadcrumb link colors/separators here.
   The global .breadcrumbs rules remain the source of truth. */

.machinery-list-page .machinery-hero-description {
    max-width: 700px;
    margin: 24px auto 0;
    color: #666;
    font-size: 15px;
    line-height: 1.72;
}

/* Category navigation completes the title area and leads directly
   into the machinery grid. */
.machinery-list-page .machinery-hero .machinery-native-category-menu {
    position: relative;
    z-index: 30;
    min-height: 54px;
    margin-top: 32px;
    border-bottom: 0;
}

.machinery-list-page .machinery-hero .machinery-native-main-link,
.machinery-list-page .machinery-hero .machinery-native-toggle {
    min-height: 54px;
    height: 54px;
}

.machinery-list-page .machinery-hero .machinery-native-main-link::after {
    bottom: 0;
}

.machinery-list-page .machinery-list-section {
    padding-top: 34px;
    padding-bottom: 78px;
}

/* The result count was intentionally removed in v7 and remains hidden. */
.machinery-list-page .machinery-list-head,
.machinery-list-page .machinery-count {
    display: none;
}

@media (max-width: 767.98px) {
    .machinery-list-page .machinery-hero .container-full {
        padding-right: 15px;
        padding-left: 15px;
    }

    .machinery-list-page .machinery-hero-inner {
        padding-top: 34px;
    }

    .machinery-list-page .machinery-hero-title {
        font-size: 31px;
        line-height: 1.17;
    }

    .machinery-list-page .machinery-hero-breadcrumb {
        margin-top: 12px;
    }

    .machinery-list-page .machinery-hero-description {
        max-width: 620px;
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.68;
    }

    .machinery-list-page .machinery-hero .machinery-native-category-menu {
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        margin-top: 26px;
        margin-right: -15px;
        margin-left: -15px;
        padding: 0 15px;
        scrollbar-width: none;
    }

    .machinery-list-page .machinery-hero .machinery-native-category-menu::-webkit-scrollbar {
        display: none;
    }

    .machinery-list-page .machinery-hero .machinery-native-main-link,
    .machinery-list-page .machinery-hero .machinery-native-toggle {
        min-height: 48px;
        height: 48px;
    }

    .machinery-list-page .machinery-list-section {
        padding-top: 26px;
        padding-bottom: 60px;
    }
}

/* =========================================================
   Machinery list v9
   Natural card spacing + word-safe summary clamp
   ========================================================= */

/* Category label is now navigation, but stays visually secondary. */
.machinery-list-page a.machinery-card-kicker {
    display: inline-block;
    align-self: flex-start;
    color: #747470;
    text-decoration: none;
    transition: color .18s ease;
}

.machinery-list-page a.machinery-card-kicker:hover {
    color: #111;
}

/* Do not reserve a phantom second title line. */
.machinery-list-page .machinery-card-title {
    min-height: 0;
    margin: 0;
}

/* Bring description closer to the title and let the browser wrap normally.
   The JS clamp below trims only at whole-word boundaries. */
.machinery-list-page .machinery-card-summary {
    min-height: 0;
    margin-top: 8px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

/* Temporary measurement state used by the word-aware clamp script. */
.machinery-list-page .machinery-card-summary.is-measuring {
    display: block;
    overflow: visible;
    max-height: none;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

/* Keep calls-to-action aligned through flex layout instead of artificial
   title height. Padding preserves a comfortable minimum gap. */
.machinery-list-page .machinery-card-link {
    margin-top: auto;
    padding-top: 16px;
}

/* Preserve the existing underline treatment. */
.machinery-list-page .machinery-card-link {
    padding-bottom: 3px;
}

@media (max-width: 767.98px) {
    .machinery-list-page .machinery-card-summary {
        margin-top: 7px;
    }

    .machinery-list-page .machinery-card-link {
        margin-top: 0;
        padding-top: 15px;
    }
}

/* =========================================================
   Machinery detail v2
   Full product content mirrored from Gen Stone Machinery
   ========================================================= */

.machinery-detail-page .machinery-gallery-main {
    min-height: 0;
}

.machinery-detail-page .machinery-gallery-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 620px;
    object-fit: contain;
    background: #111;
    border-radius: inherit;
}

.machinery-detail-page .machinery-gallery-thumb {
    position: relative;
}

.machinery-detail-page .machinery-gallery-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(17, 17, 17, .82);
    color: #fff;
    font-size: 12px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.machinery-detail-page .machinery-description-section,
.machinery-detail-page .machinery-specifications-section,
.machinery-detail-page .machinery-videos-section,
.machinery-detail-page .machinery-comparison-section,
.machinery-detail-page .machinery-faq-section {
    background: #fff;
}

.machinery-detail-page .machinery-description-section + .machinery-features-section,
.machinery-detail-page .machinery-specifications-section,
.machinery-detail-page .machinery-videos-section,
.machinery-detail-page .machinery-faq-section {
    border-top: 1px solid #efefec;
}

.machinery-rich-card {
    padding: 34px 38px;
    border: 1px solid #e8e8e4;
    border-radius: 14px;
    background: #fff;
}

.machinery-rich-content {
    color: #5f5f5b;
    font-size: 15px;
    line-height: 1.8;
}

.machinery-rich-content > *:first-child {
    margin-top: 0;
}

.machinery-rich-content > *:last-child {
    margin-bottom: 0;
}

.machinery-rich-content h2,
.machinery-rich-content h3,
.machinery-rich-content h4,
.machinery-rich-content h5,
.machinery-rich-content h6 {
    margin: 28px 0 12px;
    color: #161616;
    line-height: 1.3;
}

.machinery-rich-content p,
.machinery-rich-content ul,
.machinery-rich-content ol,
.machinery-rich-content table,
.machinery-rich-content figure,
.machinery-rich-content blockquote {
    margin: 0 0 18px;
}

.machinery-rich-content ul,
.machinery-rich-content ol {
    padding-left: 22px;
}

.machinery-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.machinery-rich-content iframe,
.machinery-rich-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 10px;
    background: #111;
}

.machinery-spec-table-wrap {
    overflow-x: auto;
    border: 1px solid #e7e7e3;
    border-radius: 14px;
    background: #fff;
}

.machinery-spec-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.machinery-spec-table th,
.machinery-spec-table td {
    padding: 17px 22px;
    border-bottom: 1px solid #ecece8;
    vertical-align: top;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.machinery-spec-table tr:last-child th,
.machinery-spec-table tr:last-child td {
    border-bottom: 0;
}

.machinery-spec-table th {
    width: 36%;
    background: #f7f7f4;
    color: #242424;
    font-weight: 600;
}

.machinery-spec-table td {
    color: #666;
}

.machinery-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.machinery-video-card {
    overflow: hidden;
    border: 1px solid #e7e7e3;
    border-radius: 14px;
    background: #fff;
}

.machinery-video-frame {
    aspect-ratio: 16 / 9;
    background: #111;
}

.machinery-video-frame iframe,
.machinery-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.machinery-video-body {
    padding: 20px 22px 22px;
}

.machinery-video-body h3 {
    margin: 0;
    color: #161616;
    font-size: 18px;
    line-height: 1.4;
}

.machinery-video-body p {
    margin: 9px 0 0;
    color: #6b6b67;
    font-size: 14px;
    line-height: 1.7;
}

.machinery-comparison-content table {
    width: 100%;
    border-collapse: collapse;
}

.machinery-comparison-content th,
.machinery-comparison-content td {
    padding: 14px 16px;
    border: 1px solid #e5e5e1;
    text-align: left;
    vertical-align: top;
}

.machinery-faq-list {
    border-top: 1px solid #deded9;
}

.machinery-faq-item {
    border-bottom: 1px solid #deded9;
}

.machinery-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.machinery-faq-item summary::-webkit-details-marker {
    display: none;
}

.machinery-faq-plus {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.machinery-faq-plus::before,
.machinery-faq-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: #333;
    transform: translate(-50%, -50%);
}

.machinery-faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .18s ease;
}

.machinery-faq-item[open] .machinery-faq-plus::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.machinery-faq-answer {
    max-width: 900px;
    padding: 0 0 24px;
}

.machinery-detail-page .machinery-detail-note {
    display: none;
}

@media (max-width: 991.98px) {
    .machinery-video-grid {
        grid-template-columns: 1fr;
    }

    .machinery-detail-page .machinery-gallery-video {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .machinery-rich-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .machinery-rich-content {
        font-size: 14px;
        line-height: 1.75;
    }

    .machinery-spec-table {
        min-width: 540px;
    }

    .machinery-spec-table th,
    .machinery-spec-table td {
        padding: 14px 16px;
    }

    .machinery-video-body {
        padding: 17px 18px 19px;
    }

    .machinery-faq-item summary {
        padding: 19px 0;
        font-size: 15px;
    }

    .machinery-detail-page .machinery-gallery-video {
        min-height: 260px;
        max-height: 420px;
    }
}

/* =========================================================
   Machinery FULL premium detail v2.0
   ========================================================= */

.machinery-detail-page .machinery-detail-hero {
    padding-bottom: 72px;
}

.machinery-detail-page .machinery-detail-summary {
    top: 96px;
}

.machinery-detail-page .machinery-detail-summary h1 {
    max-width: 640px;
    font-size: clamp(34px, 3.5vw, 46px);
    line-height: 1.1;
}

.machinery-detail-page .machinery-quick-info {
    margin-top: 28px;
    padding-top: 22px;
}

.machinery-detail-page .machinery-quick-grid {
    gap: 9px 10px;
}

.machinery-detail-page .machinery-quick-item {
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 10px;
}

.machinery-detail-page .machinery-quick-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    font-size: 11px;
}

.machinery-detail-page .machinery-quick-text {
    font-size: 12px;
    line-height: 1.42;
}

.machinery-detail-page .machinery-detail-actions {
    margin-top: 24px;
}

/* Section navigation */
.machinery-section-nav {
    position: sticky;
    top: 0;
    z-index: 28;
    border-top: 1px solid #ecece8;
    border-bottom: 1px solid #e8e8e4;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.machinery-section-nav-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 58px;
    overflow-x: auto;
    scrollbar-width: none;
}

.machinery-section-nav-inner::-webkit-scrollbar {
    display: none;
}

.machinery-section-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 20px 0 18px;
    color: #777;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .18s ease;
}

.machinery-section-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #111;
    transform: scaleX(0);
    transition: transform .18s ease;
}

.machinery-section-nav a:hover,
.machinery-section-nav a.is-active {
    color: #111;
}

.machinery-section-nav a.is-active::after {
    transform: scaleX(1);
}

.machinery-scroll-section {
    scroll-margin-top: 76px;
}

/* Complete Product Summary, moved out of Hero */
.machinery-overview-section {
    padding: 88px 0 96px;
    background: #fff;
}

.machinery-overview-layout {
    display: grid;
    grid-template-columns: minmax(220px, .34fr) minmax(0, .66fr);
    gap: clamp(54px, 8vw, 120px);
    align-items: start;
}

.machinery-overview-heading {
    position: sticky;
    top: 92px;
}

.machinery-overview-heading h2 {
    max-width: 300px;
    margin: 10px 0 0;
    color: #111;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.02em;
}

.machinery-overview-content {
    max-width: 900px;
}

.machinery-overview-summary {
    color: #3f3f3c;
    font-size: 18px;
    line-height: 1.82;
}

.machinery-overview-summary p {
    margin: 0 0 18px;
}

.machinery-overview-summary > *:first-child {
    margin-top: 0;
}

.machinery-overview-summary > *:last-child {
    margin-bottom: 0;
}

.machinery-overview-description {
    margin-top: 34px;
    padding-top: 32px;
    border-top: 1px solid #e7e7e3;
}

/* Page rhythm */
.machinery-detail-page .machinery-detail-section {
    padding-top: 88px;
    padding-bottom: 96px;
}

.machinery-detail-page .machinery-section-heading {
    margin-bottom: 36px;
}

.machinery-detail-page .machinery-section-heading h2 {
    font-size: clamp(30px, 2.8vw, 40px);
}

.machinery-detail-page .machinery-features-section,
.machinery-detail-page .machinery-videos-section {
    background: #f7f7f5;
}

.machinery-detail-page .machinery-specifications-section,
.machinery-detail-page .machinery-applications-section,
.machinery-detail-page .machinery-comparison-section,
.machinery-detail-page .machinery-faq-section {
    background: #fff;
}

/* Features */
.machinery-detail-page .machinery-feature-card {
    min-height: 0;
    padding: 25px 26px 27px;
    border-color: #e5e5e1;
    border-radius: 14px;
}

.machinery-detail-page .machinery-feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    font-size: 15px;
}

.machinery-detail-page .machinery-feature-card h3 {
    margin-bottom: 9px;
    font-size: 17px;
}

.machinery-detail-page .machinery-feature-card p {
    line-height: 1.65;
}

/* Technical Specifications */
.machinery-detail-page .machinery-spec-table-wrap {
    max-width: 1120px;
    border-color: #deded9;
    border-radius: 12px;
}

.machinery-detail-page .machinery-spec-table th,
.machinery-detail-page .machinery-spec-table td {
    padding: 16px 21px;
    border-bottom-color: #e9e9e5;
    font-size: 14px;
    line-height: 1.55;
}

.machinery-detail-page .machinery-spec-table th {
    width: 31%;
    background: #f6f6f3;
    color: #202020;
}

.machinery-detail-page .machinery-spec-table td {
    color: #575754;
}

/* Applications */
.machinery-detail-page .machinery-applications-grid {
    gap: 26px;
}

.machinery-detail-page .machinery-application-card {
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.machinery-detail-page .machinery-application-image {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: #f2f2ef;
}

.machinery-detail-page .machinery-application-body {
    padding: 18px 2px 0;
}

.machinery-detail-page .machinery-application-body h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.machinery-detail-page .machinery-application-body p {
    color: #696966;
    font-size: 14px;
    line-height: 1.65;
}

/* Video */
.machinery-detail-page .machinery-video-grid.is-single {
    display: block;
    max-width: 940px;
}

.machinery-detail-page .machinery-video-grid.is-single .machinery-video-card {
    border-radius: 16px;
}

.machinery-detail-page .machinery-video-grid.is-single .machinery-video-body {
    padding: 22px 24px 24px;
}

.machinery-detail-page .machinery-video-card {
    border-color: #e2e2de;
    box-shadow: 0 10px 28px rgba(25,25,20,.035);
}

/* Comparison */
.machinery-detail-page .machinery-comparison-content {
    overflow-x: auto;
    padding: 0;
    border-color: #deded9;
}

.machinery-detail-page .machinery-comparison-content table {
    min-width: 820px;
    margin: 0;
}

.machinery-detail-page .machinery-comparison-content th,
.machinery-detail-page .machinery-comparison-content td {
    padding: 15px 17px;
    border-color: #e3e3de;
    color: #555552;
    font-size: 13px;
    line-height: 1.55;
}

.machinery-detail-page .machinery-comparison-content th {
    color: #242424;
    font-weight: 600;
}

.machinery-detail-page .machinery-comparison-content th:nth-child(2),
.machinery-detail-page .machinery-comparison-content td:nth-child(2) {
    background: #f7f4ec;
}

/* FAQ */
.machinery-detail-page .machinery-faq-list {
    max-width: 1100px;
}

.machinery-detail-page .machinery-faq-item summary {
    padding: 23px 0;
}

.machinery-detail-page .machinery-faq-answer {
    max-width: 860px;
    color: #62625f;
    line-height: 1.75;
}

.machinery-detail-page .machinery-detail-cta {
    padding-top: 22px;
}

@media (max-width: 991.98px) {
    .machinery-section-nav-inner {
        gap: 24px;
    }

    .machinery-overview-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .machinery-overview-heading {
        position: static;
    }

    .machinery-overview-heading h2 {
        max-width: none;
    }

    .machinery-overview-content {
        max-width: 820px;
    }

    .machinery-overview-summary {
        font-size: 17px;
    }

    .machinery-detail-page .machinery-video-grid.is-single {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-detail-hero {
        padding-bottom: 52px;
    }

    .machinery-detail-page .machinery-detail-summary h1 {
        font-size: 30px;
    }

    .machinery-section-nav .container {
        padding-right: 0;
    }

    .machinery-section-nav-inner {
        gap: 22px;
        min-height: 52px;
        padding-right: 20px;
    }

    .machinery-section-nav a {
        padding-top: 17px;
        padding-bottom: 16px;
        font-size: 12px;
    }

    .machinery-scroll-section {
        scroll-margin-top: 62px;
    }

    .machinery-overview-section,
    .machinery-detail-page .machinery-detail-section {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .machinery-overview-summary {
        font-size: 16px;
        line-height: 1.75;
    }

    .machinery-overview-description {
        margin-top: 26px;
        padding-top: 24px;
    }

    .machinery-detail-page .machinery-spec-table th {
        width: 35%;
    }

    .machinery-detail-page .machinery-applications-grid {
        gap: 34px;
    }

    .machinery-detail-page .machinery-application-body {
        padding-top: 15px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        padding: 13px 14px;
        font-size: 12px;
    }
}

/* =========================================================
   Machinery FULL premium detail v2.1
   Second-pass proportion + readability refinement
   ========================================================= */

/* Hero now has room to breathe because the full summary moved below.
   Let Quick Information feel like a proper product snapshot rather than
   compressed metadata. */
.machinery-detail-page .machinery-quick-info {
    margin-top: 30px;
    padding-top: 24px;
}

.machinery-detail-page .machinery-block-label {
    margin-bottom: 12px;
}

.machinery-detail-page .machinery-quick-grid {
    gap: 12px 14px;
}

.machinery-detail-page .machinery-quick-item {
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 11px;
}

.machinery-detail-page .machinery-quick-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.machinery-detail-page .machinery-quick-text {
    font-size: 13px;
    line-height: 1.45;
}

.machinery-detail-page .machinery-detail-actions {
    gap: 12px;
    margin-top: 27px;
}

.machinery-detail-page .machinery-detail-note {
    margin-top: 14px;
}

/* Product Overview: preserve the complete text, but improve long-form reading. */
.machinery-overview-layout {
    grid-template-columns: minmax(230px, .31fr) minmax(0, .69fr);
    gap: clamp(64px, 8.5vw, 128px);
}

.machinery-overview-content {
    width: 100%;
    max-width: 820px;
}

.machinery-overview-summary {
    max-width: 72ch;
    font-size: 17px;
    line-height: 1.82;
}

.machinery-overview-description {
    max-width: 72ch;
}

/* Technical Specifications: use the available editorial width instead of
   leaving a visually empty right side. */
.machinery-detail-page .machinery-spec-table-wrap {
    width: 100%;
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}

.machinery-detail-page .machinery-spec-table th {
    width: 29%;
}

.machinery-detail-page .machinery-spec-table th,
.machinery-detail-page .machinery-spec-table td {
    padding: 17px 22px;
}

.machinery-detail-page .machinery-spec-table td {
    font-size: 14px;
}

/* Single video: treat it as the featured media of the section.
   Multiple videos keep the original responsive grid. */
.machinery-detail-page .machinery-video-grid.is-single {
    width: 100%;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

.machinery-detail-page .machinery-video-grid.is-single .machinery-video-card {
    width: 100%;
}

.machinery-detail-page .machinery-video-grid.is-single video,
.machinery-detail-page .machinery-video-grid.is-single iframe {
    width: 100%;
}

.machinery-detail-page .machinery-video-grid.is-single .machinery-video-body {
    padding: 20px 22px 23px;
}

/* Comparison: make it an information-rich selling tool, not a tiny appendix. */
.machinery-detail-page .machinery-comparison-content {
    width: 100%;
    max-width: none;
    border-radius: 12px;
}

.machinery-detail-page .machinery-comparison-content table {
    width: 100%;
    min-width: 980px;
}

.machinery-detail-page .machinery-comparison-content th,
.machinery-detail-page .machinery-comparison-content td {
    padding: 17px 18px;
    font-size: 14px;
    line-height: 1.58;
}

.machinery-detail-page .machinery-comparison-content thead th {
    padding-top: 18px;
    padding-bottom: 18px;
    background: #f5f5f2;
}

.machinery-detail-page .machinery-comparison-content th:nth-child(2),
.machinery-detail-page .machinery-comparison-content td:nth-child(2) {
    background: #f7f4ec;
}

.machinery-detail-page .machinery-comparison-content thead th:nth-child(2) {
    background: #f1eadc;
}

/* Give the long-form sections a slightly more deliberate breathing rhythm. */
.machinery-detail-page .machinery-specifications-section .machinery-section-heading,
.machinery-detail-page .machinery-comparison-section .machinery-section-heading {
    margin-bottom: 40px;
}

@media (max-width: 1199.98px) {
    .machinery-overview-content,
    .machinery-overview-summary,
    .machinery-overview-description {
        max-width: 100%;
    }

    .machinery-detail-page .machinery-spec-table-wrap,
    .machinery-detail-page .machinery-video-grid.is-single {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .machinery-detail-page .machinery-quick-grid {
        gap: 10px 12px;
    }

    .machinery-overview-summary {
        font-size: 16.5px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-quick-info {
        margin-top: 24px;
        padding-top: 20px;
    }

    .machinery-detail-page .machinery-quick-grid {
        gap: 9px;
    }

    .machinery-detail-page .machinery-quick-item {
        min-height: 52px;
        padding: 11px 12px;
    }

    .machinery-detail-page .machinery-quick-icon {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    .machinery-detail-page .machinery-quick-text {
        font-size: 12.5px;
    }

    .machinery-overview-summary {
        max-width: none;
        font-size: 16px;
    }

    .machinery-detail-page .machinery-spec-table th,
    .machinery-detail-page .machinery-spec-table td {
        padding: 14px 13px;
    }

    .machinery-detail-page .machinery-comparison-content table {
        min-width: 860px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        padding: 14px 15px;
        font-size: 12px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.0
   Unified layout system + centred narrow sections + FAQ accordion
   ========================================================= */

.machinery-detail-page {
    --machinery-layout-wide: 1280px;
    --machinery-layout-medium: 1080px;
    --machinery-layout-reading: 980px;
}

/* One visual spine for the long-form page.
   Full-width modules use the full container; narrower modules are centered. */
.machinery-detail-page .machinery-overview-layout,
.machinery-detail-page .machinery-features-section .machinery-section-heading,
.machinery-detail-page .machinery-features-grid,
.machinery-detail-page .machinery-specifications-section .machinery-section-heading,
.machinery-detail-page .machinery-spec-table-wrap,
.machinery-detail-page .machinery-applications-section .machinery-section-heading,
.machinery-detail-page .machinery-applications-grid,
.machinery-detail-page .machinery-comparison-section .machinery-section-heading,
.machinery-detail-page .machinery-comparison-content,
.machinery-detail-page .machinery-detail-cta-inner {
    width: 100%;
    max-width: var(--machinery-layout-wide);
    margin-right: auto;
    margin-left: auto;
}

.machinery-detail-page .machinery-videos-section .machinery-section-heading,
.machinery-detail-page .machinery-video-grid.is-single {
    width: 100%;
    max-width: var(--machinery-layout-medium);
    margin-right: auto;
    margin-left: auto;
}

.machinery-detail-page .machinery-faq-section .machinery-section-heading,
.machinery-detail-page .machinery-faq-list {
    width: 100%;
    max-width: var(--machinery-layout-reading);
    margin-right: auto;
    margin-left: auto;
}

/* The section navigation follows the same centred spine. */
.machinery-section-nav-inner {
    width: 100%;
    max-width: var(--machinery-layout-wide);
    margin-right: auto;
    margin-left: auto;
}

/* Hero: Quick Information remains comfortable but visually lighter.
   The summary now lives below, so the metadata can breathe without becoming
   six heavy grey UI cards. */
.machinery-detail-page .machinery-quick-info {
    margin-top: 30px;
    padding-top: 24px;
}

.machinery-detail-page .machinery-quick-grid {
    gap: 11px 12px;
}

.machinery-detail-page .machinery-quick-item {
    min-height: 58px;
    padding: 13px 15px;
    border: 1px solid #ecece7;
    border-radius: 10px;
    background: #fafaf8;
}

.machinery-detail-page .machinery-quick-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #ecece8;
    background: #fff;
    font-size: 12px;
}

.machinery-detail-page .machinery-quick-text {
    padding-top: 4px;
    color: #30302e;
    font-size: 13px;
    line-height: 1.45;
}

/* Overview: the full module is centred, while the long text keeps a comfortable
   reading measure inside the right column. */
.machinery-overview-layout {
    grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
    gap: clamp(58px, 7vw, 108px);
}

.machinery-overview-content {
    max-width: 820px;
}

.machinery-overview-summary,
.machinery-overview-description {
    max-width: 70ch;
}

/* Rhythm: not every section needs the same amount of air. */
.machinery-detail-page .machinery-overview-section {
    padding-top: 82px;
    padding-bottom: 88px;
}

.machinery-detail-page .machinery-features-section {
    padding-top: 78px;
    padding-bottom: 82px;
}

.machinery-detail-page .machinery-specifications-section {
    padding-top: 82px;
    padding-bottom: 86px;
}

.machinery-detail-page .machinery-applications-section {
    padding-top: 78px;
    padding-bottom: 82px;
}

.machinery-detail-page .machinery-videos-section {
    padding-top: 86px;
    padding-bottom: 90px;
}

.machinery-detail-page .machinery-comparison-section {
    padding-top: 82px;
    padding-bottom: 86px;
}

.machinery-detail-page .machinery-faq-section {
    padding-top: 76px;
    padding-bottom: 80px;
}

/* Specifications and comparison are primary information modules.
   They now use the full long-form content width. */
.machinery-detail-page .machinery-spec-table-wrap {
    max-width: var(--machinery-layout-wide);
}

.machinery-detail-page .machinery-spec-table th {
    width: 29%;
}

.machinery-detail-page .machinery-comparison-content {
    max-width: var(--machinery-layout-wide);
}

/* Single video becomes a deliberately centred presentation.
   Multi-video grids keep their normal full-section layout. */
.machinery-detail-page .machinery-video-grid.is-single {
    display: block;
    max-width: var(--machinery-layout-medium);
}

.machinery-detail-page .machinery-video-grid.is-single .machinery-video-card {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/* FAQ: real accordion presentation */
.machinery-detail-page .machinery-faq-list {
    border-top: 1px solid #deded9;
}

.machinery-detail-page .machinery-faq-item {
    border-bottom: 1px solid #deded9;
}

.machinery-detail-page .machinery-faq-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 23px 0;
    border: 0;
    background: transparent;
    color: #171717;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.machinery-detail-page .machinery-faq-trigger:hover {
    color: #000;
}

.machinery-detail-page .machinery-faq-trigger:focus-visible {
    outline: 2px solid #111;
    outline-offset: 5px;
}

.machinery-detail-page .machinery-faq-plus {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.machinery-detail-page .machinery-faq-plus::before,
.machinery-detail-page .machinery-faq-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: #555;
    transform: translate(-50%, -50%);
    transition: transform .22s ease, opacity .22s ease;
}

.machinery-detail-page .machinery-faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.machinery-detail-page .machinery-faq-item.is-open .machinery-faq-plus::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.machinery-detail-page .machinery-faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .28s ease, opacity .22s ease;
}

.machinery-detail-page .machinery-faq-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.machinery-detail-page .machinery-faq-item.is-open .machinery-faq-panel {
    grid-template-rows: 1fr;
    opacity: 1;
}

.machinery-detail-page .machinery-faq-answer {
    max-width: 820px;
    padding: 0 0 25px;
    color: #60605d;
    line-height: 1.78;
}

/* Remove old native-details styling from visual participation. */
.machinery-detail-page details.machinery-faq-item,
.machinery-detail-page .machinery-faq-item summary {
    all: unset;
}

/* CTA is a non-full-width visual block, so keep it centred too. */
.machinery-detail-page .machinery-detail-cta-inner {
    max-width: var(--machinery-layout-wide);
}

/* Heading alignment follows each module's own width rather than the outer
   container, which removes the left-drifting feeling on Video and FAQ. */
.machinery-detail-page .machinery-videos-section .machinery-section-heading,
.machinery-detail-page .machinery-faq-section .machinery-section-heading {
    text-align: left;
}

/* Slightly clearer section navigation without turning it into buttons. */
.machinery-section-nav a {
    color: #7b7b78;
}

.machinery-section-nav a.is-active {
    color: #111;
}

.machinery-section-nav a::after {
    height: 2px;
}

@media (max-width: 1199.98px) {
    .machinery-detail-page {
        --machinery-layout-wide: 100%;
        --machinery-layout-medium: 100%;
        --machinery-layout-reading: 100%;
    }

    .machinery-overview-content {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .machinery-overview-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .machinery-overview-summary,
    .machinery-overview-description {
        max-width: 100%;
    }

    .machinery-detail-page .machinery-faq-answer {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-overview-section,
    .machinery-detail-page .machinery-features-section,
    .machinery-detail-page .machinery-specifications-section,
    .machinery-detail-page .machinery-applications-section,
    .machinery-detail-page .machinery-videos-section,
    .machinery-detail-page .machinery-comparison-section,
    .machinery-detail-page .machinery-faq-section {
        padding-top: 60px;
        padding-bottom: 64px;
    }

    .machinery-detail-page .machinery-quick-item {
        min-height: 54px;
        padding: 11px 12px;
    }

    .machinery-detail-page .machinery-quick-icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .machinery-detail-page .machinery-faq-trigger {
        gap: 18px;
        padding: 20px 0;
        font-size: 15px;
    }

    .machinery-detail-page .machinery-faq-answer {
        padding-bottom: 22px;
        font-size: 14px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.1
   CTA hierarchy + 2x2 Quick Info + navigation accuracy
   ========================================================= */

/* Primary / secondary CTA hierarchy */
.machinery-detail-page .machinery-detail-actions {
    align-items: stretch;
    gap: 12px;
}

.machinery-detail-page .machinery-detail-primary {
    min-width: 176px;
    min-height: 48px;
    padding-right: 24px;
    padding-left: 24px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    box-shadow: 0 6px 16px rgba(17,17,17,.08);
}

.machinery-detail-page .machinery-detail-primary:hover {
    border-color: #2a2a2a;
    background: #2a2a2a;
    color: #fff;
}

.machinery-detail-page .machinery-detail-secondary {
    min-width: 188px;
    min-height: 48px;
    padding-right: 19px;
    padding-left: 19px;
    border: 1px solid #d9d9d4 !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
}

.machinery-detail-page .machinery-detail-secondary:hover {
    border-color: #bdbdb7 !important;
    background: #f7f7f4 !important;
    color: #111 !important;
}

.machinery-detail-page .machinery-detail-secondary .icon {
    opacity: .65;
}

/* Keep the same hierarchy in the bottom CTA. */
.machinery-detail-page .machinery-detail-cta-actions .btn-fill {
    min-height: 46px;
    border-color: #111;
    background: #111;
    color: #fff;
}

.machinery-detail-page .machinery-detail-cta-actions .btn-line {
    min-height: 46px;
    border: 1px solid #d9d9d4 !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
}

/* Quick Information: four priority values, true 2 x 2 grid. */
.machinery-detail-page .machinery-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.machinery-detail-page .machinery-quick-item {
    min-height: 68px;
    padding: 16px 17px;
    border-color: #e9e9e4;
    border-radius: 11px;
    background: #fafaf8;
}

.machinery-detail-page .machinery-quick-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}

.machinery-detail-page .machinery-quick-text {
    padding-top: 5px;
    font-size: 13.5px;
    line-height: 1.45;
}

/* FAQ section title deserves a little more presence on the long page. */
.machinery-detail-page .machinery-faq-section .machinery-section-heading h2 {
    font-size: clamp(35px, 3vw, 43px);
    line-height: 1.12;
    letter-spacing: -.02em;
}

/* Slightly increase question prominence without making the accordion heavy. */
.machinery-detail-page .machinery-faq-trigger {
    font-size: 16.5px;
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-detail-actions {
        gap: 10px;
    }

    .machinery-detail-page .machinery-detail-primary,
    .machinery-detail-page .machinery-detail-secondary {
        min-width: 0;
    }

    .machinery-detail-page .machinery-quick-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .machinery-detail-page .machinery-quick-item {
        min-height: 58px;
        padding: 13px 14px;
    }

    .machinery-detail-page .machinery-faq-section .machinery-section-heading h2 {
        font-size: 31px;
    }

    .machinery-detail-page .machinery-faq-trigger {
        font-size: 15.5px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.2
   Unified Quick Information panel + stronger section navigation
   ========================================================= */

/* Quick Information is one product-information panel.
   All synced items remain visible and flow row-by-row across two columns:
   6 items = 3 x 2, 8 items = 4 x 2, etc. */
.machinery-detail-page .machinery-quick-info {
    margin-top: 26px;
    padding: 20px 22px 21px;
    border-top: 0;
    border-radius: 12px;
    background: #f7f7f5;
}

.machinery-detail-page .machinery-block-label {
    margin-bottom: 16px;
    color: #30302e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.machinery-detail-page .machinery-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 16px;
}

.machinery-detail-page .machinery-quick-item {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.machinery-detail-page .machinery-quick-icon {
    display: none;
}

.machinery-detail-page .machinery-quick-text {
    padding: 0;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Keep CTA clearly separated from the information panel. */
.machinery-detail-page .machinery-detail-actions {
    margin-top: 24px;
}

/* Section navigation now reads as a real product-page contents bar rather
   than tiny auxiliary metadata. */
.machinery-section-nav-inner {
    gap: 34px;
    min-height: 62px;
}

.machinery-section-nav a {
    padding-top: 21px;
    padding-bottom: 19px;
    color: #747471;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .005em;
}

.machinery-section-nav a:hover,
.machinery-section-nav a.is-active {
    color: #111;
}

.machinery-section-nav a.is-active {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .machinery-detail-page .machinery-quick-info {
        padding: 18px 20px 19px;
    }

    .machinery-detail-page .machinery-quick-grid {
        column-gap: 26px;
        row-gap: 14px;
    }

    .machinery-detail-page .machinery-quick-text {
        font-size: 13.5px;
    }

    .machinery-section-nav-inner {
        gap: 28px;
    }

    .machinery-section-nav a {
        font-size: 13.5px;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-quick-info {
        margin-top: 22px;
        padding: 17px 18px 18px;
    }

    .machinery-detail-page .machinery-block-label {
        margin-bottom: 14px;
    }

    /* Mobile keeps every item visible but changes to one column for readability. */
    .machinery-detail-page .machinery-quick-grid {
        grid-template-columns: 1fr;
        row-gap: 11px;
    }

    .machinery-detail-page .machinery-quick-text {
        font-size: 13.5px;
    }

    .machinery-section-nav-inner {
        gap: 26px;
        min-height: 56px;
    }

    .machinery-section-nav a {
        padding-top: 19px;
        padding-bottom: 17px;
        font-size: 13px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.3
   Quick Information breathing room + final CTA hierarchy
   ========================================================= */

/* Quick Information:
   same structure and all values, but with a calmer editorial rhythm. */
.machinery-detail-page .machinery-quick-info {
    margin-top: 28px;
    padding: 27px 30px 29px;
    border-radius: 14px;
    background: #f7f7f5;
}

.machinery-detail-page .machinery-block-label {
    margin-bottom: 21px;
    font-size: 12px;
    letter-spacing: .035em;
}

.machinery-detail-page .machinery-quick-grid {
    column-gap: 50px;
    row-gap: 20px;
}

.machinery-detail-page .machinery-quick-item {
    min-width: 0;
}

.machinery-detail-page .machinery-quick-text {
    font-size: 14px;
    line-height: 1.58;
    letter-spacing: .002em;
}

/* Give the actions a little separation from the larger information panel. */
.machinery-detail-page .machinery-detail-actions {
    margin-top: 25px;
}

/* Bottom CTA:
   one unmistakable action, one quiet destination link. */
.machinery-detail-page .machinery-detail-cta-actions-final {
    display: flex;
    flex: 0 0 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-width: 220px;
}

.machinery-detail-page .machinery-detail-cta-primary {
    width: 100%;
    min-height: 48px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

.machinery-detail-page .machinery-detail-cta-primary:hover {
    border-color: #292929;
    background: #292929;
    color: #fff;
}

.machinery-detail-page .machinery-detail-cta-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 7px;
    padding: 2px 0 4px;
    border-bottom: 1px solid transparent;
    color: #555;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color .18s ease,
        border-color .18s ease;
}

.machinery-detail-page .machinery-detail-cta-link .icon {
    font-size: 10px;
    opacity: .72;
}

.machinery-detail-page .machinery-detail-cta-link:hover {
    border-bottom-color: #777;
    color: #111;
}

/* Neutralise the older bottom-CTA .btn-line rules because the second action
   is intentionally no longer a button. */
.machinery-detail-page .machinery-detail-cta-actions-final .btn-line {
    display: none;
}

@media (max-width: 991.98px) {
    .machinery-detail-page .machinery-quick-info {
        padding: 24px 25px 26px;
    }

    .machinery-detail-page .machinery-quick-grid {
        column-gap: 38px;
        row-gap: 18px;
    }

    .machinery-detail-page .machinery-detail-cta-actions-final {
        flex-basis: auto;
        width: 220px;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-quick-info {
        margin-top: 24px;
        padding: 21px 20px 22px;
    }

    .machinery-detail-page .machinery-block-label {
        margin-bottom: 17px;
    }

    .machinery-detail-page .machinery-quick-grid {
        row-gap: 13px;
    }

    .machinery-detail-page .machinery-detail-cta-actions-final {
        width: 100%;
        min-width: 0;
        max-width: 260px;
    }

    .machinery-detail-page .machinery-detail-cta-link {
        font-size: 12.5px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.4
   Final typography + information-density refinement
   ========================================================= */

/* ---------------------------------------------------------
   1. Global typography confidence
   --------------------------------------------------------- */

/* Product Overview body: large enough to read like editorial copy,
   not small CMS helper text. */
.machinery-overview-summary {
    font-size: 15px;
    line-height: 1.78;
}

.machinery-overview-description {
    font-size: 14.5px;
    line-height: 1.76;
}

/* General rich content inside full-detail sections. */
.machinery-detail-page .machinery-rich-content {
    font-size: 14px;
    line-height: 1.72;
}

/* ---------------------------------------------------------
   2. Section navigation: stronger product-page contents bar
   --------------------------------------------------------- */

.machinery-section-nav-inner {
    gap: 38px;
    min-height: 64px;
}

.machinery-section-nav a {
    padding-top: 22px;
    padding-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

.machinery-section-nav a.is-active {
    font-weight: 600;
}

/* ---------------------------------------------------------
   3. Key Features: content first, card frame second
   --------------------------------------------------------- */

.machinery-detail-page .machinery-feature-card {
    padding: 29px 30px 30px;
    border-color: #ebebe7;
    background: rgba(255,255,255,.82);
}

.machinery-detail-page .machinery-feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 19px;
}

.machinery-detail-page .machinery-feature-card h3 {
    margin-bottom: 10px;
    color: #181818;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.38;
}

.machinery-detail-page .machinery-feature-card p {
    color: #62625e;
    font-size: 13.5px;
    line-height: 1.68;
}

/* ---------------------------------------------------------
   4. Technical Specifications: quieter table chrome,
   more readable product data
   --------------------------------------------------------- */

.machinery-detail-page .machinery-spec-table-wrap {
    border-color: #e4e4df;
}

.machinery-detail-page .machinery-spec-table th,
.machinery-detail-page .machinery-spec-table td {
    padding-top: 18px;
    padding-bottom: 18px;
    border-bottom-color: #ecece8;
    font-size: 14px;
    line-height: 1.58;
}

.machinery-detail-page .machinery-spec-table th {
    width: 29%;
    background: #f8f8f6;
    color: #292927;
    font-weight: 600;
}

.machinery-detail-page .machinery-spec-table td {
    color: #51514e;
    font-weight: 400;
}

/* ---------------------------------------------------------
   5. Applications: stronger captions without turning them
   into generic blog cards
   --------------------------------------------------------- */

.machinery-detail-page .machinery-application-body {
    padding-top: 20px;
}

.machinery-detail-page .machinery-application-body h3 {
    margin-bottom: 9px;
    color: #1c1c1b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.machinery-detail-page .machinery-application-body p {
    color: #666662;
    font-size: 13.5px;
    line-height: 1.66;
}

/* ---------------------------------------------------------
   6. Video caption: intentional product-media caption
   --------------------------------------------------------- */

.machinery-detail-page .machinery-video-body h3,
.machinery-detail-page .machinery-video-body p {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   7. Performance Comparison: promote it from appendix to
   useful decision-support content
   --------------------------------------------------------- */

.machinery-detail-page .machinery-comparison-content {
    border-color: #e1e1dc;
}

.machinery-detail-page .machinery-comparison-content table {
    min-width: 1080px;
}

.machinery-detail-page .machinery-comparison-content th,
.machinery-detail-page .machinery-comparison-content td {
    padding: 18px 19px;
    font-size: 13.5px;
    line-height: 1.62;
    vertical-align: top;
}

.machinery-detail-page .machinery-comparison-content thead th {
    padding-top: 19px;
    padding-bottom: 19px;
    color: #20201f;
    font-size: 14px;
    font-weight: 600;
    background: #f5f5f2;
}

.machinery-detail-page .machinery-comparison-content tbody th {
    color: #30302e;
    font-weight: 600;
}

.machinery-detail-page .machinery-comparison-content th:nth-child(2),
.machinery-detail-page .machinery-comparison-content td:nth-child(2) {
    background: #f8f4ea;
}

.machinery-detail-page .machinery-comparison-content thead th:nth-child(2) {
    background: #f0e8d8;
}

/* ---------------------------------------------------------
   8. FAQ: slightly more editorial presence
   --------------------------------------------------------- */

.machinery-detail-page .machinery-faq-section .machinery-section-heading h2 {
    font-size: clamp(37px, 3.15vw, 45px);
}

.machinery-detail-page .machinery-faq-trigger {
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.machinery-detail-page .machinery-faq-answer {
    padding-bottom: 27px;
    color: #5e5e5a;
    font-size: 14px;
    line-height: 1.78;
}

/* ---------------------------------------------------------
   9. Final CTA: keep secondary link quiet but intentionally
   visible, not disclaimer-sized
   --------------------------------------------------------- */

.machinery-detail-page .machinery-detail-cta-link {
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #4c4c49;
}

.machinery-detail-page .machinery-detail-cta-link .icon {
    font-size: 10.5px;
    opacity: .78;
}

/* ---------------------------------------------------------
   Responsive tuning
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
    .machinery-section-nav-inner {
        gap: 31px;
    }

    .machinery-section-nav a {
        font-size: 14px;
    }

    .machinery-detail-page .machinery-feature-card {
        padding: 26px 25px 27px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        padding: 16px 17px;
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .machinery-overview-summary {
        font-size: 15px;
    }

    .machinery-overview-description,
    .machinery-detail-page .machinery-rich-content {
        font-size: 14px;
    }

    .machinery-section-nav-inner {
        gap: 27px;
        min-height: 58px;
    }

    .machinery-section-nav a {
        padding-top: 20px;
        padding-bottom: 18px;
        font-size: 13.5px;
    }

    .machinery-detail-page .machinery-feature-card {
        padding: 24px 22px 25px;
    }

    .machinery-detail-page .machinery-feature-card h3 {
        font-size: 15px;
    }

    .machinery-detail-page .machinery-feature-card p,
    .machinery-detail-page .machinery-application-body p {
        font-size: 13.5px;
    }

    .machinery-detail-page .machinery-spec-table th,
    .machinery-detail-page .machinery-spec-table td {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 13px;
    }

    .machinery-detail-page .machinery-comparison-content table {
        min-width: 940px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        padding: 15px;
        font-size: 12.5px;
    }

    .machinery-detail-page .machinery-faq-section .machinery-section-heading h2 {
        font-size: 32px;
    }

    .machinery-detail-page .machinery-faq-trigger {
        font-size: 15.5px;
    }

    .machinery-detail-page .machinery-faq-answer {
        font-size: 14px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.5
   Hero balance + final long-form polish
   ========================================================= */

/* ---------------------------------------------------------
   1. HERO COMPOSITION
   Bring the gallery and product information toward one visual axis.
   The left frame is slightly less tall, while the right column gets
   a little more room and a calmer vertical rhythm.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-detail-hero {
    padding-top: 58px;
    padding-bottom: 70px;
}

.machinery-detail-page .machinery-detail-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
    gap: clamp(50px, 5vw, 76px);
    align-items: start;
}

.machinery-detail-page .machinery-gallery {
    width: 100%;
    max-width: 660px;
    justify-self: end;
}

.machinery-detail-page .machinery-gallery-main {
    aspect-ratio: 1.38 / 1;
    border-radius: 18px;
}

.machinery-detail-page .machinery-gallery-main img {
    padding: 26px;
}

.machinery-detail-page .machinery-gallery-thumbs {
    gap: 11px;
    margin-top: 13px;
}

.machinery-detail-page .machinery-detail-summary {
    width: 100%;
    max-width: 610px;
    justify-self: start;
    padding-top: 9px;
}

.machinery-detail-page .machinery-detail-category {
    margin-bottom: 13px;
}

.machinery-detail-page .machinery-detail-summary h1 {
    max-width: 600px;
    font-size: clamp(37px, 3.4vw, 48px);
    line-height: 1.08;
}

/* Quick Information becomes the visual bridge between the title and CTA:
   spacious enough to balance the gallery, but still one quiet information panel. */
.machinery-detail-page .machinery-quick-info {
    margin-top: 30px;
    padding: 30px 32px 32px;
    border-radius: 14px;
    background: #f7f7f5;
}

.machinery-detail-page .machinery-block-label {
    margin-bottom: 22px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .035em;
}

.machinery-detail-page .machinery-quick-grid {
    column-gap: 56px;
    row-gap: 22px;
}

.machinery-detail-page .machinery-quick-text {
    color: #252523;
    font-size: 14.5px;
    line-height: 1.58;
}

.machinery-detail-page .machinery-detail-actions {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 28px;
}

.machinery-detail-page .machinery-detail-primary,
.machinery-detail-page .machinery-detail-secondary {
    min-height: 50px;
}

.machinery-detail-page .machinery-detail-primary {
    min-width: 182px;
}

.machinery-detail-page .machinery-detail-secondary {
    min-width: 214px;
}

/* ---------------------------------------------------------
   2. PRODUCT OVERVIEW
   Full summary stays complete, but now reads more like editorial
   product copy instead of small website helper text.
   --------------------------------------------------------- */

.machinery-overview-content {
    max-width: 850px;
}

.machinery-overview-summary {
    max-width: 68ch;
    font-size: 16px;
    line-height: 1.8;
}

.machinery-overview-description {
    max-width: 68ch;
    font-size: 15px;
    line-height: 1.78;
}

/* ---------------------------------------------------------
   3. PERFORMANCE COMPARISON
   Give this sales-support module enough physical presence to be read.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-comparison-content table {
    min-width: 1120px;
}

.machinery-detail-page .machinery-comparison-content th,
.machinery-detail-page .machinery-comparison-content td {
    padding: 19px 20px;
    font-size: 14px;
    line-height: 1.64;
}

.machinery-detail-page .machinery-comparison-content thead th {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 14.5px;
}

/* ---------------------------------------------------------
   4. FAQ
   Keep the stronger heading, but give each question a more deliberate
   accordion rhythm.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-faq-trigger {
    padding-top: 27px;
    padding-bottom: 27px;
    font-size: 16px;
}

.machinery-detail-page .machinery-faq-answer {
    padding-bottom: 30px;
}

/* ---------------------------------------------------------
   5. FINAL CTA SECONDARY LINK
   Still subordinate, but visibly intentional.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-detail-cta-link {
    font-size: 13.25px;
}

/* ---------------------------------------------------------
   Responsive hero tuning
   --------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .machinery-detail-page .machinery-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .94fr);
        gap: 44px;
    }

    .machinery-detail-page .machinery-gallery,
    .machinery-detail-page .machinery-detail-summary {
        max-width: 100%;
    }

    .machinery-detail-page .machinery-quick-grid {
        column-gap: 38px;
    }
}

@media (max-width: 991.98px) {
    .machinery-detail-page .machinery-detail-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .machinery-detail-page .machinery-gallery {
        max-width: 760px;
        justify-self: center;
    }

    .machinery-detail-page .machinery-detail-summary {
        max-width: 760px;
        justify-self: center;
        padding-top: 0;
    }

    .machinery-detail-page .machinery-detail-actions {
        flex-wrap: wrap;
    }

    .machinery-overview-summary {
        font-size: 15.5px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-detail-hero {
        padding-top: 28px;
        padding-bottom: 58px;
    }

    .machinery-detail-page .machinery-gallery-main {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .machinery-detail-page .machinery-gallery-main img {
        padding: 12px;
    }

    .machinery-detail-page .machinery-detail-summary h1 {
        font-size: 34px;
    }

    .machinery-detail-page .machinery-quick-info {
        margin-top: 24px;
        padding: 22px 20px 23px;
    }

    .machinery-detail-page .machinery-block-label {
        margin-bottom: 18px;
    }

    .machinery-detail-page .machinery-quick-grid {
        row-gap: 14px;
    }

    .machinery-detail-page .machinery-quick-text {
        font-size: 14px;
    }

    .machinery-detail-page .machinery-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .machinery-detail-page .machinery-detail-primary,
    .machinery-detail-page .machinery-detail-secondary {
        width: 100%;
        min-width: 0;
    }

    .machinery-overview-summary {
        font-size: 15px;
    }

    .machinery-detail-page .machinery-comparison-content table {
        min-width: 980px;
    }

    .machinery-detail-page .machinery-comparison-content th,
    .machinery-detail-page .machinery-comparison-content td {
        padding: 15px;
        font-size: 12.5px;
    }

    .machinery-detail-page .machinery-faq-trigger {
        padding-top: 22px;
        padding-bottom: 22px;
        font-size: 15.5px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.6
   Clean white Hero: remove heavy grey panels
   ========================================================= */

/* ---------------------------------------------------------
   Gallery: let the machine be the visual object.
   White surface, hairline frame, no grey slab.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-gallery-main {
    aspect-ratio: 1.42 / 1;
    border: 1px solid #ecece8;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.machinery-detail-page .machinery-gallery-main img {
    padding: 18px;
}

.machinery-detail-page .machinery-gallery-zoom {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e1;
    background: rgba(255,255,255,.96);
    box-shadow: none;
}

.machinery-detail-page .machinery-gallery-thumbs {
    gap: 10px;
    margin-top: 12px;
}

.machinery-detail-page .machinery-gallery-thumb {
    border: 1px solid #e9e9e5;
    border-radius: 8px;
    background: #fff;
    opacity: 1;
}

.machinery-detail-page .machinery-gallery-thumb:hover {
    border-color: #bdbdb7;
    opacity: 1;
}

.machinery-detail-page .machinery-gallery-thumb.is-active {
    border-color: #1e1e1e;
}

.machinery-detail-page .machinery-gallery-thumb img {
    padding: 5px;
}

/* ---------------------------------------------------------
   Quick Information:
   remove the grey card completely.
   Use typography, whitespace and subtle rules instead.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-quick-info {
    margin-top: 28px;
    padding: 22px 0 25px;
    border-top: 1px solid #e7e7e3;
    border-bottom: 1px solid #e7e7e3;
    border-radius: 0;
    background: transparent;
}

.machinery-detail-page .machinery-block-label {
    margin-bottom: 20px;
    color: #5a5a57;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .075em;
}

.machinery-detail-page .machinery-quick-grid {
    column-gap: 54px;
    row-gap: 19px;
}

.machinery-detail-page .machinery-quick-item {
    background: transparent;
}

.machinery-detail-page .machinery-quick-text {
    color: #292927;
    font-size: 14px;
    line-height: 1.55;
}

/* Slightly calmer title-to-data spacing now that there is no large panel. */
.machinery-detail-page .machinery-detail-category {
    margin-bottom: 12px;
}

.machinery-detail-page .machinery-detail-summary h1 {
    margin-bottom: 0;
}

.machinery-detail-page .machinery-detail-actions {
    margin-top: 25px;
}

/* ---------------------------------------------------------
   Hero balance:
   without grey masses, use a simpler near-even split and a clear
   central gap. Both columns remain drawn toward the page axis.
   --------------------------------------------------------- */

.machinery-detail-page .machinery-detail-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: clamp(54px, 5vw, 78px);
}

.machinery-detail-page .machinery-gallery {
    max-width: 650px;
}

.machinery-detail-page .machinery-detail-summary {
    max-width: 620px;
    padding-top: 12px;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .machinery-detail-page .machinery-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .96fr);
        gap: 44px;
    }

    .machinery-detail-page .machinery-quick-grid {
        column-gap: 38px;
    }
}

@media (max-width: 991.98px) {
    .machinery-detail-page .machinery-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .machinery-detail-page .machinery-gallery,
    .machinery-detail-page .machinery-detail-summary {
        max-width: 760px;
        justify-self: center;
    }

    .machinery-detail-page .machinery-detail-summary {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-gallery-main {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .machinery-detail-page .machinery-gallery-main img {
        padding: 8px;
    }

    .machinery-detail-page .machinery-gallery-thumb {
        border-radius: 7px;
    }

    .machinery-detail-page .machinery-quick-info {
        margin-top: 23px;
        padding: 19px 0 21px;
    }

    .machinery-detail-page .machinery-block-label {
        margin-bottom: 16px;
    }

    .machinery-detail-page .machinery-quick-grid {
        row-gap: 12px;
    }

    .machinery-detail-page .machinery-quick-text {
        font-size: 13.5px;
    }
}

/* =========================================================
   Machinery FULL premium detail v3.7
   Final CTA spacing
   ========================================================= */

/* The secondary Machinery-site link is intentionally separate from
   the primary enquiry action, not part of the button group. */
.machinery-detail-page .machinery-detail-cta-actions-final {
    gap: 20px;
}

@media (max-width: 767.98px) {
    .machinery-detail-page .machinery-detail-cta-actions-final {
        gap: 18px;
    }
}
