@keyframes fadeIn {
    to {
      transform: translateX(0px);
    }
  }
#app {
    overflow: unset;
}
.pos-rel {
    position: relative;
}
.z9 {
    z-index: 9;
}
.page-title {
    display: none !important;
}
.products-home {
    > .row {
        margin-bottom: 25px;
    }
    .featured-product {
        background-color: var(--gray-light);
        padding: 25px;
        border-radius: var(--radius);
        text-align: center;
        h1 {
            font-size: 8.5em;
            font-weight: bold;
            color: black;
            margin-bottom: 0px;
            @media screen and (max-width: 1024px) {
                font-size: 6.5em;
            }
            @media screen and (max-width: 768px) {
                font-size: 4.5em;
            }
        }
        img {
            mix-blend-mode: darken;
            @media screen and (min-width: 768px) {
                transform: translateY(175px);
                margin: -100px auto 20px auto;
                animation: fadeIn linear forwards;
                animation-timeline: view();
                animation-range-start: 0vh;
                animation-range-end: 130vh;
            }
        }
    }
    .tractor {
        margin-top: 2em;
        span.red {
            color: var(--red);
            font-family: inherit;
        }
        > div {
            background-color: var(--gray-light);
            border-radius: var(--radius);
            padding: 25px;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: center;
            @media (max-width: 768px) {
                grid-template-columns: 100%;
            }
            > div {
                > div {
                    display: flex;
                    align-items: center;
                }
                h1 {
                    color: black;
                    margin-bottom: 0;
                    margin-right: 6%;
                }
                p {
                    margin-top: 0;
                    margin-bottom: 10px;
                    font-weight: bold;
                    color: black;
                }
            }
            img {
                max-height: 175px;
                mix-blend-mode: darken;
                margin: 0 auto;
                display: block;
            }
        }
        span.new {
            border-radius: 50%;
            height: 45px;
            width: 45px;
            color: white;
            font-weight: bold;
            font-size: 14px;
            background-color: #F97A1E;
            outline: 4px solid #FFB077;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            @media (max-width: 768px) {
                width: 35px;
                height: 35px;
                font-size: 10.5px;
                outline-width: 4px;
                /* margin-top: 5px; */
            }
        }
    }
    .section-title {
        text-align: center;
        h2 {
            color: black;
            margin-bottom: 0;
        }
    }
    .attachments-group {
        h3 {
            color: black;
            margin-bottom: 5px;
        }
        h3 + p {
            margin-bottom: 10px;
        }
    }
    .image-group {
        display: flex;
        align-items: center;
        justify-content: space-around;
        @media screen and (max-width: 1024px) {
            margin-top: 25px;
            margin-bottom: 5px;
        }
        img {
            mix-blend-mode: darken;
            max-height: 125px;
            width: auto;

            /* flex: 1 1 0; */
            
            min-width: 0;
            @media screen and (max-width: 768px) {
                flex-basis: 100px;
            }
        }
    }
    .attachment-group {
        > div > div {
            background-color: var(--gray-light);
            padding: 25px;
            border-radius: var(--radius);
        }
        .attachment-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 250px));
            gap: 25px;
            margin-bottom: 0;
            @media screen and (max-width: 1024px) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            @media screen and (max-width: 640px) {
                grid-template-columns: 100%;
            }
            > div {
                background-color: var(--gray);
                border-radius: var(--innerRadius);
                padding: 15px;
                min-height: 210px;
                > a {
                    text-decoration: none;                    
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    h4 {
                        font-size: 180%;color: black;
                        font-weight: bold;
                        margin-bottom: 5px;
                    }
                    h6 {
                        font-size: 120%;
                        margin-bottom: 5px;
                        text-transform: uppercase;
                    }
                    .price {
                        align-self: end;
                        background-color: var(--red);
                        color: white;
                        font-weight: bold;
                        padding: 2px 10px;
                        line-height: 1.2;
                    }
                    img {
                        max-height: 100px;
                        align-self: center;
                        mix-blend-mode: darken;
                    }
                    > div:last-of-type {
                        display: flex;
                        justify-content: space-between;
                    }
                }
                &:hover {
                    background-color: white;
                }
            }
        }
    }
    .secondary-product {
        > .secondary-product-item {
            > div {
                background-color: var(--gray-light);
                padding: 25px;
                border-radius: var(--radius);
                display: grid;
                grid-template-columns: 60% 1fr;
                @media screen and (max-width: 768px) {
                    grid-template-columns: repeat(1, minmax(0, 1fr));
                }
                > div {
                    display: flex;
                    flex-direction: column;
                    h2 {
                        color: black;
                        margin-bottom: 5px;
                    }
                    h2 + p {
                        margin-bottom: 10px;
                    }
                    img {
                        mix-blend-mode: darken;
                    }
                }
                .secondary-callouts {
                    display: flex;
                    gap: 25px;
                    align-items: center;
                    justify-content: center;
                    .secondary-callout {
                        width: 100%;
                        background-color: var(--gray);
                        padding: 20px;
                        border-radius: var(--innerRadius);
                        h3 {
                            color: black;
                            margin-bottom: 5px;
                        }
                        h3 + p {
                            margin-bottom: 10px;
                        }
                    }
                }
            }
        }
    }
    .legacy-products { 
        > div {
            > div {
                background-color: var(--gray-light);
                padding: 25px;
                border-radius: var(--radius);
                display: flex;
                align-items: center;
                justify-content: space-between;
                @media screen and (max-width: 768px) {
                    flex-direction: row;
                    flex-wrap: wrap;
                }
                > div:first-of-type {
                    flex-basis: 50%;
                    @media screen and (max-width: 768px) {
                        flex-basis: content;
                    }
                }
            }
            h3 {
                color: black;
                margin-bottom: 5px;
            }
            h3 + p {
                margin-bottom: 10px;
            }
        }
    }
}
