.products .list {
    --gap: 12px;
    --count: 4;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.products .list dl {
    color: #000;
    width: calc((100% - calc((var(--count) - 1) * var(--gap))) / var(--count));
    display: flex;
    flex-direction: column;
}

.products .list dl.w-full {
    width: 100%;
}

.products .list dl.w-full-50 {
    width: calc((100% - var(--gap)) / 2);
}

.products .list dl:not(.w-full) dt,
.products .list dl:not(.w-full) dt.active {
    background-position: calc(100% - 10px) 50%;
}

.products .list dl dt {
    display: flex;
    align-items: center;
    justify-content: center;
}

.products .list dl dt p {
    text-align: center;
}

.foundry .products .list dl dt p {
    width: 100%;
    text-align: left;
}

/* .products .list dl:not(.w-full) dt p {
    padding-bottom: 20px;
  } */
.products .list dl dd {
    flex: 1;
}

.foundry .products .list dl dd {
    display: none;
}

.products .list dl dd p {
    font-size: 12px;
}

.products .list dl dd li>ul p {
    font-size: 12px;
    margin-left: 14px;
}

.products .list dl table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
    margin: 12px 0;
}

.products .list dl table td,
.products .list dl table th {
    border: 1px solid #eee;
    padding: 8px 12px;
}

.products .list dl table td {
    font-size: 12px;
}

.products .list dl table th {
    font-weight: bold;
}

.products .list dl table thead tr>th,
.products .list dl table tr>td:nth-of-type(2) {
    text-align: center;
}

.products2 .products2-content {
    flex-direction: column;
}

.products2 .products2-content .butclick {
    width: max-content;
}

.products2 .products2-content #search-form {
    border: 1px solid #0f2a4a;
    border-radius: 4px;
}

.products2 .products2-content .input-field {
    display: flex;
    align-items: center;
    height: 100%;
}

.products2 .products2-content .input-field input {
    flex: 1 0 0;
    height: 100%;
    outline: none;
    border: none;
    background-color: transparent;
    padding: 0 12px;
}

.products2 .products2-content .input-field button {
    height: 100%;
    padding: 0 12px;
    background-color: #0f2a4a;
}

.products2 .products2-content .input-field .search-icon {
    height: 20px;
}

.products2 .products2-content .selects {
    gap: 0;
    order: 2;
    border-bottom: 2px solid #eaeaea;
}

.products2 .products2-content .selects .select-xl {
    flex-direction: column;
}

.products2 .products2-content .selects .select-xl .select-title {
    width: 100%;
    height: auto;
    line-height: 1;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background-color: #0f2a4a;
    padding: 16px 15px;
}

.products2 .products2-content .selects .select-xl dl {
    width: 100%;
    position: relative;
}

.products2 .products2-content .selects .select-xl dl::after {
    content: '';
    width: 2px;
    height: 100%;
    position: absolute;
    left: -1px;
    top: 0;
    background-color: #eaeaea;
}

.products2 .products2-content .selects .select-xl:first-child dl::after {
    left: 0;
}

.products2 .products2-content .selects .select-xl:last-child dl::before {
    content: '';
    width: 2px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #eaeaea;
}

.select-xl dl dt {
    display: none;
}

.select-xl dl dd {
    height: 215px;
    position: unset;
    display: block;
    box-shadow: none;
}

.select-icon-wrap {
    display: flex;
    align-items: center;
}

.select-icon-wrap img {
    height: 20px;
}

.products2 .products2-content .fun {
    display: flex;
    gap: 15px;
}

.select-xl dl dd::-webkit-scrollbar {
    width: 8px;
}

.select-xl dl dd::-webkit-scrollbar-track {
    background-color: #ddd;
}

.select-xl dl dd::-webkit-scrollbar-thumb {
    background-color: #666;
}

@media screen and (max-width: 1200px) {
    .products .list {
        --count: 2;
    }
}

@media screen and (max-width: 992px) {
    .products2 .products2-content {
        overflow-x: auto;
    }

    .products2 .products2-content .selects {
        flex-direction: row;
    }

    .products2 .products2-content .selects .select-xl {
        min-width: 160px;
    }
}

@media screen and (max-width: 768px) {
    .products .list {
        --count: 2;
    }
}

@media screen and (max-width: 600px) {
    .products .list {
        --count: 1;
    }

    .products .list dl.w-full-50 {
        width: 100%;
    }
}

@media screen and (max-width: 560px) {
    .products2 .products2-content .input-field input {
        width: 140px;
    }
}