.machine-card-category,
.machine-title,
.contact-title,
.machine-category,
.machine-details-options tr td:first-child,
.nav-tabs .nav-link,
.machine-details-contact-forms h2,
.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.machine-container {
    display: flex;
    gap: 3rem;
}

.machine-list {
    width: 66.666%;
}

.category-cards,
.machine-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-card {
    width: calc(20% - 1rem);
}

.category-card-image {
    height: 300px;
}

.machine-form {
    width: 33.333%;
    border: 1px solid #cbcec8;
    padding: 1rem;
}

.new-machine-form {
    width: 100%;
}

.new-machine-container {
    flex-direction: column;
}

.new-machine-container .machine-list {
    width: 100%;
}

.machine-form input,
.machine-form select {
    width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
}

.form-range {
    display: flex;
    gap: 1rem;
}


.machine-form button,
.machine-form .clear-filters-btn {
    background-color: #212529;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .75rem .75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 100%;
    cursor: pointer;
}

.machine-form .clear-filters-btn {
    background-color: #68685d;
    color: #fff;
}

.machine-form button {
    margin-top: 1rem;
}


.machine-details-contact-forms {
    /* Used to sit inside the sidebar's own narrower column; now a
       full-width section below the Features/Specifications tabs, so it
       gets its own width cap and centering rather than stretching edge to
       edge. */
    max-width: 800px;
    margin: 3rem auto -10px;
    scroll-margin-top: 2rem;
        position: relative;
            padding-block: 3rem;
}

.machine-details-contact-forms:before {
    content: "";
    position: absolute;
    left: 50%;
    width: 100vw;
    height: 100%;
    background-color: #f1f1f1;
    transform: translateX(-50%);
    z-index: -1;
     top: 0;
}

.machine-details-contact-forms input {
    width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
}

.machine-details-contact-forms form,
.machine-details-contact-forms .btn {
    margin-top: 1rem;
}

.machine-form button:hover {
    background-color: #68685d;
}

.machine-details-contact-forms h2 {
    text-align: center;
}

.machine-sidebar-overview {
    margin: .5rem 0 1rem;
    line-height: 1.6;
}

.machine-sidebar-features {
    margin-bottom: 1.5rem;
}
.machine-sidebar-features strong{
    font-weight: 700;
}

.machine-sidebar-features ul {
    margin: .5rem 0 0;
    padding-left: 1.25rem;
}

.machine-sidebar-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.machine-get-a-quote-link {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    padding: 10px 15px !important;
    background-color: var(--e-global-color-accent, #324f27) !important;
    color: #ffffff !important;
    text-transform: uppercase;
}

.machine-get-a-quote-link:hover,
.machine-get-a-quote-link:focus-visible {
    text-decoration: none;
    color: var(--e-global-color-10f5b23, #cbcec8) !important;
}

.machine-get-a-quote-link-icon {
    flex: none;
}

.machine-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: calc(33.333% - 1rem);
    overflow: hidden;
    min-height: 400px;
    position: relative;
}

.machine-card-info {
    padding: .5rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, .65);
    width: 100%;
    border-left: #fcb615 10px solid;
    transition: .2s;
}

.machine-card:hover .machine-card-info {
    background-color: rgba(0, 0, 0, .85);
    padding-bottom: 3rem;
}

.machine-card-info * {
    color: #fff;
}

.machine-card-category {
    font-size: .8rem;
    margin: auto 0;
    font-weight: 100;
}

.machine-card-title {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 900;
    flex-grow: 1;
}

.machine-card-subtitle {
    display: flex;
}

.machine-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: auto;
}

.yme-search-results {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.yme-search-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.yme-search-card:hover {
    box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.15);
}

.yme-search-card-image {
    flex: none;
    display: block;
    width: 180px;
    height: 130px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.yme-search-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.yme-search-card-category {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #68685d;
    margin-bottom: .25rem;
}

.yme-search-card-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 0 .5rem;
}

.yme-search-card-title a {
    color: #212529;
    text-decoration: none;
}

.yme-search-card-excerpt {
    font-size: .95rem;
    color: #444;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.yme-search-card-cta {
    display: inline-block;
    background-color: #212529;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: 1px;
    padding: .75rem 1.25rem;
    border-radius: .25rem;
    text-decoration: none;
    transition: background-color .15s ease-in-out;
}

.yme-search-card-cta:hover {
    background-color: #68685d;
}

.yme-search-result-plain {
    width: 100%;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .yme-search-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .yme-search-card-image {
        width: 100%;
        height: 160px;
    }
}

.sub-category-card-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sub-category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0.5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: calc(20% - 1rem);
    overflow: hidden;
}

.sub-category-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.sub-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.sub-category-card h3 {
    flex-grow: 1;
}

/* Details Page */

.machine-details {
    display: flex;
    gap: 3rem;
    /* Without this, flex's own default (stretch) forces the sidebar to
       match the image column's own height — which is 400px on a product
       with a single photo and no thumbnail strip, but ~540px on one with
       a gallery, since the strip is a second row inside the image column.
       The sidebar's own Overview/Key Features/link content does not grow
       with photo count, so stretching it to match turned that difference
       straight into extra dead space above the links — worse on a product
       *with* a gallery, not without, reported directly comparing the two
       side by side. Each column now sizes to its own content instead. */
    align-items: flex-start;
}

.machine-details-image {
    /* 400px, not this plugin's own historical 600px: this site's own
       Customizer Additional CSS was giving the old, now-removed
       `.machine-details-image.slick-current` selector `height: 400px;
       border: 1px solid #f5f5f5;` — since `.slick-current` no longer
       exists, that rule can never match again, so it is set directly here
       instead, to avoid a visual jump from whatever the visitor was already
       seeing. */
    width: 100%;
    height: 400px;
    display: block;
    border: 1px solid #f5f5f5;
    object-position: center;
    object-fit: contain;
}

/* `img.` prefix, not just the class: this site's own WordPress Customizer
   Additional CSS carries `.machine-details-image-nav img { width: 100%; }`
   (element + class, the same specificity trap `.machine-accordion-toggle-all`
   ran into against `.machine-form button`). A fixed pixel width, `!important`
   throughout: an `aspect-ratio`-derived width measured out at nothing
   usable here (this site's own conflicting rules for this exact class name
   run deep enough that guessing which one wins is not reliable — see the
   `.machine-accordion-toggle-all` notes above for the same pattern), so
   this is pinned outright rather than left to cascade resolution. */
img.machine-details-image-nav-image {
    /* 198x120: not a guess — the exact pixel size Slick itself computed for
       this same nav strip on the reference URL (its own slidesToShow: 3
       against this site's own Customizer-forced 120px height), confirmed
       directly against a live DOM dump of that page. Matched here rather
       than re-derived, since this plugin no longer runs Slick to compute it
       itself. */
    height: 120px !important;
    width: 198px !important;
    display: block !important;
    object-position: center !important;
    object-fit: contain !important;
    cursor: pointer;
    pointer-events: none; /* the click target is the button around it */
}

/* A real <button>, not a div — reset the browser's own button chrome before
   the border/padding below, same idea as .machine-accordion-toggle-all
   further down. */
.machine-details-image-nav {
    display: block !important;
    flex: none !important;
    width: 202px !important;
    line-height: 0;
    margin: 0 !important;
    padding: 2px !important;
    background: none !important;
    border: 1px solid #f5f5f5 !important;
    cursor: pointer;
    outline: 0 !important;
}

.machine-details-image-nav.is-active {
    border-color: #fdb715 !important;
}

.machine-details-info {
    flex-grow: 1;
}

.machine-category a {
    color: #000;
}

.machine-title,
.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: .25rem 0;
}

.yme-details-images-nav-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.yme-details-images-nav {
    display: flex;
    /* flex: 1 1 0% + min-width: 0 — without min-width:0 a flex item's default
       min-width:auto stops it shrinking below its content's own intrinsic
       width, so this would just overflow the row instead of scrolling
       internally, leaving only the first thumbnail or two visible. */
    flex: 1 1 0%;
    min-width: 0;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none; /* the prev/next buttons are the intended control */
}

.yme-details-images-nav::-webkit-scrollbar {
    display: none;
}

/* Same reasoning as .machine-details-image-nav above: a site-level rule
   this plugin does not control keeps forcing a dark background onto any
   plain <button> here, so this one is pinned with !important too. */
.yme-thumbnav {
    flex: none !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: #fcb615 !important;
    cursor: pointer;
    position: relative;
}

.yme-thumbnav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: .6rem;
    height: .6rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.yme-thumbnav--prev::before {
    transform: translate(-30%, -50%) rotate(135deg);
}

.yme-thumbnav--next::before {
    transform: translate(-70%, -50%) rotate(-45deg);
}

.yme-thumbnav:disabled {
    background: #e6e6e6 !important;
    cursor: default;
}

.yme-thumbnav:disabled::before {
    border-color: #b3b3b3;
}

.table-listings table {
    border-collapse: collapse;
    width: 100%;
}

.table-listings th {
    background: #fcb615;
    color: #fff;
    font-weight: 900;
    padding: .5rem;
    text-align: left;
}

.table-listings td {
    padding: .5rem;
}

.machine-details-image-container {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.machine-details-options {
    margin-top: 1rem;
}

.machine-details-price {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 1rem 0;
}

.machine-details-options table {
    width: 100%;
    border-radius: .5rem;
}

.machine-details-options td {
    padding: .5rem;
}

.machine-details-options td {
    border-bottom: 1px solid #68685d;
}

.machine-details-options tr:last-child td {
    border-bottom: none;
}

.contact-title {
    text-align: center;
    margin-bottom: 2rem;
}

.machine-details-options tr td:first-child {
    min-width: 250px;
    background-color: #cbcec8;
}

.machine-details-options tr td:last-child {
    text-align: right;
    font-weight: 700;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form {
    border: 3px solid #cbcec8;
    margin-top: 3rem;
    padding: 1.5rem 3rem;
    border-radius: .25rem;
}

.form-control {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    color: #495057;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    height: calc(1.5em + .75rem + 2px);
    line-height: 1.5;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
}

.nav-tabs {
    border-bottom: 0;
}

.nav-item:focus {
    outline: 0 !important;
}

.nav-tabs .nav-link {
    border: 0;
    color: #212529;

}

.nav-tabs .nav-link.active {
    border: 0;
    border-bottom: 4px solid #212529;
}

.btn {
    background-color: #212529;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .75rem .75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 50%;
    margin: 0 auto;
    cursor: pointer;
}

.btn:hover {
    background-color: #68685d;
}

.machine-features h6 {
    margin: 1rem 0;
}


@media screen and (max-width: 768px) {
    .machine-details {
        flex-direction: column;
    }

    .machine-details-image-container {
        width: 100%;
    }

    .machine-card {
        width: 100%;
    }

    .machine-container {
        flex-direction: column;
    }

    .machine-form,
    .machine-list {
        width: 100%;
    }

}
/* --- Specifications: collapsed groups, as on deere.com ------------------- */

/* Text link with a chevron, not a filled button — matches deere.com's own
   "Expand all" / "Collapse all" control exactly, including its position
   (right-aligned, above the groups). The chevron is CSS, keyed off the
   button's own `aria-pressed` (set by accordion-toggle-all.js on every
   click), so it flips with no extra markup or script.

   Selector is `button[data-accordion-toggle-all]`, not just the class: the
   quote-panel's own `.machine-form button` rule (element + class, specificity
   0,0,1,1) otherwise beats a bare `.machine-accordion-toggle-all` (0,0,1,0)
   regardless of source order, and this button does sit inside that form on
   the single-product page.

   The `!important`s are not decorative: this site's own WordPress Customizer
   "Additional CSS" already overrides several of this plugin's own rules for
   `.yme-single-equipment-inner` (image heights, container widths, and more —
   see Appearance → Customize → Additional CSS, block dated 21-09-2026), which
   is a real, active, external source of conflicting styles this plugin's own
   stylesheet does not control. Without them the button keeps inheriting a
   dark filled background from elsewhere in that same block. */
button[data-accordion-toggle-all] {
    display: flex !important;
    align-items: center !important;
    gap: .35rem !important;
    margin: 0 0 .75rem auto !important;
    width: auto !important;
    max-width: none !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid #96805c !important;
    border-radius: 0 !important;
    padding: 0 0 .2rem !important;
    color: #96805c !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
}

button[data-accordion-toggle-all]::after {
    content: "";
    width: .45em;
    height: .45em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

button[data-accordion-toggle-all][aria-pressed="true"]::after {
    transform: rotate(-135deg);
}

button[data-accordion-toggle-all]:hover,
button[data-accordion-toggle-all]:focus-visible {
    color: #7a6746;
}

@media (prefers-reduced-motion: reduce) {
    button[data-accordion-toggle-all]::after {
        transition: none;
    }
}

.machine-features--accordion .machine-spec-group {
    border-bottom: 1px solid rgba(128, 128, 128, .35);
}

.machine-features--accordion summary,
.machine-benefits--accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .6rem;
}

/* The default triangle is replaced with a chevron that turns, so the marker
   reads the same in every browser. */
.machine-features--accordion summary::-webkit-details-marker,
.machine-benefits--accordion summary::-webkit-details-marker {
    display: none;
}

.machine-features--accordion summary::before,
.machine-benefits--accordion summary::before {
    content: "";
    width: .5em;
    height: .5em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .2s ease;
    flex: none;
}

.machine-features--accordion details[open] > summary::before,
.machine-benefits--accordion details[open] > summary::before {
    transform: rotate(45deg);
}

.machine-features--accordion summary:focus-visible,
.machine-benefits--accordion summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.machine-features--accordion .machine-spec-group table {
    margin: 0 0 1rem;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .machine-features--accordion summary::before,
    .machine-benefits--accordion summary::before {
        transition: none;
    }
}


/* --- Features: the feed's benefit blocks, picture then copy -------------- */

.machine-benefits--accordion .machine-benefit {
    border-bottom: 1px solid rgba(128, 128, 128, .35);
}

/* Image and copy sit side by side on a desktop and stack on a phone, which is
   how .machine-details already behaves further up this file. */
.machine-benefit-body {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 0 0 1.5rem;
}

.machine-benefit-image {
    width: 40%;
    flex: none;
}

.machine-benefit-image img {
    display: block;
    width: 100%;
    height: auto;
}

.machine-benefit-content {
    flex: 1;
    min-width: 0;
}

/* The copy's own first and last margins would double the padding around it. */
.machine-benefit-content > *:first-child {
    margin-top: 0;
}

.machine-benefit-content > *:last-child {
    margin-bottom: 0;
}

.machine-benefit-disclaimer {
    margin-top: 1rem;
    opacity: .7;
}

@media screen and (max-width: 768px) {
    .machine-benefit-body {
        flex-direction: column;
        gap: 1rem;
    }

    .machine-benefit-image {
        width: 100%;
    }
}






.machine-details-contact-forms .nav-tabs{max-width: 210px; margin-inline: auto;    gap: 4px; padding: 4px; background: #fff; border: 1px solid #DADADA; border-radius: 999px;}
.machine-details-contact-forms .nav-item{ width:calc(50% - 2px);}

.machine-details-contact-forms .nav-item .nav-link {
    width:100%;
    border-radius: 25px;
    border: 3px solid #ffffff !important;
text-align:center;

}

.machine-details-contact-forms .nav-item .nav-link.active {
    background-color: #fdb715 !important;
    color: #212529;
}

.machine-details-contact-forms .marketingForm .wrap-section:not(:first-child, :last-child, :has(h3)){background-color:#ffffff;}
.machine-details-contact-forms .textFormFieldBlock, .machine-details-contact-forms .dateTimeFormFieldBlock, .machine-details-contact-forms .twoOptionFormFieldBlock, .machine-details-contact-forms .optionSetFormFieldBlock, .machine-details-contact-forms .multiOptionSetFormFieldBlock, .machine-details-contact-forms .lookupFormFieldBlock {
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.yme-single-equipment-inner .machine-details-specs .nav-tabs .nav-item{margin-bottom: 0px;}
.yme-single-equipment-inner .machine-details-specs .nav-tabs .nav-link{ border: 0;}
.yme-single-equipment-inner .machine-details-specs .nav-tabs .nav-link:not(.active){border-bottom:0 !important;}
.yme-single-equipment-inner .machine-details-specs .nav-tabs .nav-link.active{background-color: #f5f5f5; color:#495057;}
.yme-single-equipment-inner .machine-details-specs .nav-tabs{display: flex; border: 1px solid #737373;}
.yme-single-equipment-inner .machine-details-specs .tab-content{border: 1px solid #737373; border-top: 0;padding: 80px !important; margin: 0;}
.yme-single-equipment-inner .machine-benefit[open] summary, .yme-single-equipment-inner .machine-spec-group[open] summary{color:#191915 !important;}
.yme-single-equipment-inner .machine-spec-group table { border: 0 !important; }
.machine-details-options tr td:first-child{background-color: transparent !important;font-weight: 700 !important;}
.machine-details-specs .machine-basic-info{display: none;}


@media (width > 768px){
.yme-single-equipment-inner .machine-benefit-image{order: 2;}
}

@media (width < 1025px){
.yme-single-equipment-inner .machine-details-specs .tab-content{padding: 40px 20px !important;}

}