.productresources-index-index .page-main .columns {
    display: none;
}

.fa,
.fab,
.fad,
.fal,
.far,
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.d-none {
    display: none;
}

.specs-row h3,
.dimensions h3,
.downloads h3 {
    font-size: 1.8rem;
    font-weight: 500;
}
button#serial-number-search-btn {
    background: #c8102e;
    color: white;
    border-radius: 30px;
    font-weight: 500;
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 1.4rem;
    margin: 0px !important;
    font-weight: 300;
    line-height: 1.6rem;
    transition: all .3s;
    text-decoration: none !important;
}

.text-md-left {
    text-align: left;
}
.downloadsform #legacy_drivers .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.downloadsform #legacy_drivers h2 {
    margin-top: 4rem;
}
.downloadsform #legacy_drivers a {
    color: white;
    line-height: 40px;
}
.downloadsform #legacy_drivers a:hover {
    color: #900;
}

.productresources-index-index .downloadsform .block-search {
    float: none;
    width: 100%;
}
.productresources-index-index .downloadsform .block-search form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.productresources-index-index .downloadsform .block-search .search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.productresources-index-index .downloadsform .block-search .search:before {
    content: "Try our search:";
    display: block;
    float: left;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #fff;
    font-weight: bold;
    margin-right: 5px;
}
.productresources-index-index .downloadsform .block-search .search .control {
    border: 0;
    padding: 0;
    margin: 0;
    display: block;
}
.productresources-index-index .downloadsform .block-search .search label {
    display: none;
}
.productresources-index-index .downloadsform .block-search .search input {
    position: static;
    margin: 0;
}
.productresources-index-index .downloadsform .block-search .action.search {
    position: static;
    min-width: 160px;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
    border-width: 1px;
    background-color: #900;
    border-color: #900;
    color: #fff;
}
.productresources-index-index
    .downloadsform
    .block-search
    .action.search:hover {
    background-color: #7b0202;
    border-color: #7b0202;
}
.productresources-index-index
    .downloadsform
    .block-search
    .action.search:before {
    display: none;
}
.productresources-index-index .downloadsform .block-search .action.search span {
    position: static;
    width: auto;
    height: auto;
}

/* new stuff.  Some of the css above is still used */
.downloadsform {
    margin-bottom: 30px;
}

.attr-set-featured {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.attr-set {
    box-sizing: border-box;
    max-width: 150px;
    padding: 15px;
    margin: 0px 10px;

    cursor: pointer;
}
.row-step .attr-sets .row {
    align-items: center;
}
.attr-set span {
    display: block;
}

.attr-set .img-span {
    overflow: hidden;
}

.attr-set img {
    max-width: 100%;
}

.attr-set .label-span {
    text-align: center;
    padding: 5px 0px;
}

.attr-set-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.attr-set-list > a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 2.5rem;
    color: black;
    text-decoration: underline;
}

.attr-set-products > a {
    min-width: 150px;
}

.attr-sets-generations-data > * {
    box-sizing: border-box;
    width: 100%;
}

.attr-sets-product-data .text-md-left,
.attr-sets-product-data .text-center {
    text-align: left;
    min-width: 300px;
}

.attr-sets-product-data h2 {
    font-size: 2rem;
}

.attr-sets-product-data .py-2 {
    margin-bottom: 5px;
}

@media (min-width: 1200px) {
    .attr-sets-product-data .text-md-left,
    .attr-sets-product-data .text-center {
        min-width: 375px;
    }
}

.attr-set-content {
    display: none;
}

.row.row-step {
    display: none;
}
.row.row-step.active {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
div.row.row-step:not(.attr-sets) {
    flex-direction: column;
}
.cs-downloads-top {
    width: 100%;
    flex-grow: 1;
}
.landing-content {
    width: 100%;
    flex-grow: 1;
}

.snsearch-c {
    flex-grow: 1;
}
.snsearch-btn-c {
    width: 100%;
    display: inline-block;
}

.row-search-tools {
    padding-top: 10px;
    padding-left: 10px;
}

.find-serial {
    padding-bottom: 10px;
}

.snsearch-error {
    flex-grow: 1;
    text-align: right;
    color: #f00;
    font-style: italic;
}

.row.start-over {
    display: none;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
}
.start-over.active {
    display: block;
}

.serial-popup {
    display: none;
}

.dlf-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.dlf-image {
    padding: 10px;
}
.dlf-image img {
    max-width: 300px;
}
.dlf-content {
}

.dlf-type-label {
    font-size: 1.75rem;
    margin-bottom: 10px;
}
.dlf-sku {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.dlf-cs-links {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.dlf-cs-links {
    margin-bottom: 10px;
}
.dlf-cs-link {
    margin-right: 20px;
}
.dlf-cs-link > a {
    display: inline-block;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 15px;
    padding: 0.5rem 1.5rem;
}

.dlf-prod_link a::after {
    content: ">";
    padding-left: 8px;
}
.dlf-top > div {
    width: 100%;
    height: auto;
}
.dlf-top {
    display: flex;
    flex-wrap: wrap;
}
.dlf-image {
    display: flex;
    justify-content: center;
}
.attr-set-products {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
}
.downloadsform a {
    color: #333;
}
.attr-set-products > .attr-set-product {
    box-sizing: border-box;
    padding: 20px;
    display: block;
    font-weight: 300;
    color: black !important;
    text-decoration: underline;
    font-size: 18px;
}

@media (min-width: 768px) {
    .attr-set-products > .attr-set-product {
      width: 25%;
    }
  
    /* Color the first 4 items of every 8 */
    .attr-set-product:nth-child(8n+1 of .attr-set-product:not([style*="display: none"])),
    .attr-set-product:nth-child(8n+2 of .attr-set-product:not([style*="display: none"])),
    .attr-set-product:nth-child(8n+3 of .attr-set-product:not([style*="display: none"])),
    .attr-set-product:nth-child(8n+4 of .attr-set-product:not([style*="display: none"])) {
        background-color: #f5f5f5;
    }
  }
  
  /* =========================================
     3. MOBILE (Max-width: 767px)
     2 Columns | Stripe items 1-2
     ========================================= */
  @media (max-width: 767px) {
    .attr-set-products > .attr-set-product {
      width: 50%;
      /* Reset background to white/transparent to clear desktop colors */
      background-color: transparent !important; 
    }
  
    /* Color only the first 2 items of every 4.
       Using !important ensures this wins over any desktop rules.
    */
    .attr-set-product:nth-child(4n+1 of .attr-set-product:not([style*="display: none"])),
    .attr-set-product:nth-child(4n+2 of .attr-set-product:not([style*="display: none"])) {
        background-color: #f5f5f5 !important;
    }
  }
@media (min-width: 767px) {
    .snsearch-btn-c {
        width: auto;
        display: inline-block;
        margin: 0px 20px;
    }
    .dlf-top > div {
        width: 50%;
        height: auto;
        padding: 0 3%;
    }
}

.title-blurb {
    margin-top: 20px;
}

.contact-note {
    text-align: center;
    padding: 20px 0px;
}
.downloadsform a.contact-us-link {
    margin-top: 15px;
    display: inline-block;
    background: #ca2a31;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    padding: 16px;
}
.downloadsform a.contact-us-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Copilot generated based on js, css and phtml */

.downloadsform .attr-set-filter-list {
    display: flex;
    flex-wrap: nowrap;
    /* spacing */
    column-gap: 24px; /* horizontal spacing */
    row-gap: 20px; /* vertical spacing between wrapped lines */
    /* alignment */
    justify-content: center; /* center items horizontally */
    align-items: flex-start; /* align items within a line */
    align-content: flex-start; /* pack lines to the top; prevent big gaps */
    /* layout bounds */
    max-width: 980px;
    margin: 0 auto 24px;
    padding: 0 10px;
}

/* Each block (Series, Filter By, Selected Options) */
.downloadsform .attr-set-filter {
    flex: 1 1 280px; /* wrap-friendly width */
    max-width: 320px;
}

/* Make the select fill its block’s width */
.downloadsform .attr-set-filter select {
    width: 100%;
    height: 42px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fff;
    color: #212529;
    box-sizing: border-box;
}

/* Optional: a subtle card feel if your blocks include lists under the selects */
.downloadsform .attr-set-filter {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
}

/* Select styling (unchanged from before) */
.downloadsform .attr-set-filter select {
    width: 100%;
    height: 42px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fff;
    color: #212529;
    box-sizing: border-box;
}
/* 1. Container Setup */
.attr-set-products {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
}

/* 2. Item Styling */
.attr-set-products > .attr-set-product {
    box-sizing: border-box;
    width: 25%; /* 4 columns */
    padding: 20px;
    display: block;
    font-weight: 300;
    color: black !important;
    text-decoration: underline;
    font-size: 18px;
}

.attr-set-product:nth-child(
        8n + 1 of .attr-set-product:not([style*="display: none"])
    ),
.attr-set-product:nth-child(
        8n + 2 of .attr-set-product:not([style*="display: none"])
    ),
.attr-set-product:nth-child(
        8n + 3 of .attr-set-product:not([style*="display: none"])
    ),
.attr-set-product:nth-child(
        8n + 4 of .attr-set-product:not([style*="display: none"])
    ) {
    background-color: #f5f5f5;
}

.rc-block-1{
    padding: 1px !important;
    }
    .cs-downloads-top > h1{display: none;}
    button#serial-number-search-btn {
        background: #c8102e;
        color: white;
        border-radius: 30px;
        font-weight: 500;
        border-radius: 40px;
        padding: 10px 20px;
        font-size: 1.4rem;
        margin: 0px !important;
        font-weight: 300;
        line-height: 1.6rem;
        transition: all .3s;
        text-decoration: none !important;
    }
    .product-registration-form{
        background: #F7FAFC;
        padding: 2%;
    }
    .product-registration-form h2{
    margin-bottom: 10px;
    margin-top: 10px;}
    .product-registration-form .fieldset>.field{
       display: flex;
        flex-direction: column;
    }
    .product-registration-form .fieldset>.field:not(.choice)>.label{
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }
    .product-registration-form .create-an-account .field.choice  label{
        display: inline-block;
        font-size: 14px;
        font-weight: 300;
        margin-top: 0px;
    }
    .product-registration-form .create-an-account{
    padding: 0px;
    }
    .product-registration-form .create-an-account input[type="checkbox"]{
    top: -1px;}
    .product-registration-form .fieldset>.field:not(.choice)>.control{
        width: 100%;
    }
    .product-registration-form select, .product-registration-form input{
        background: #E2E8F0;
    }
    .product-registration-form .legend {
       margin-left: 9px;
        font-weight: 700;
        font-size: 14px;
    }
    .product-registration-form  .actions-toolbar{
        margin-left: 0px !important;
    }
    .product-registration-form  .actions-toolbar button{
        background: #F7fafc;
        border-radius: 50px;
        border: 2px solid black;
        padding: 5px 10px
    }
    .product-registration-form .webforms-fields-sms, .product-registration-form .webforms-fields-privacy_policy{padding-left: 0px;}
    .product-registration-form  .actions-toolbar button span{
        font-size: 16px;
        font-weight: 400;
    }
    .product-registration-form .product {
        border-top: 2px solid black;
        padding-top: 30px;
    }
    .registration-tips{
        display: flex;
    }
    .registration-tips .box{
        background: #F7F7F7;
    border-radius: 15px;
        margin: 10px;
        padding: 15px;
    }
    .registration-tips .title,
    .registration-tips .title:hover{
        font-weight: 700;
        text-decoration: none;
        color: #000;
    }
    .secondary-width{
        max-width: 1100px;
        margin: 0 auto;
        padding: 15px 15px;
        
    }
    .form-footer .field.choice{
    display: flex;
    align-items: flex-start;
    }
    @media screen and (max-width: 900px){
    
    .registration-tips{
    flex-direction: column;
    }
    }
/* Responsive tweaks */
/* Tablet / mobile adjustments */
@media (max-width: 991px) {
    .downloadsform .attr-set-filter {
        flex: 1 1 45%;
        max-width: none;
    }
    .downloadsform .attr-set-filter-list {
        flex-wrap: wrap;
    }
}
@media (max-width: 600px) {
    .downloadsform .attr-set-filter {
        flex: 1 1 100%;
    }
}
