/* ---------- Wrapper ---------- */
.mlp-models-table-wrap {
    width: 100%;
}
.mlp-loading {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--lighter-blue);
}
/* ---------- Filter bar ---------- */
.mlp-filter-bar {
    width: 100%;
}
.mlp-filter-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    position: relative;
}
.mlp-filter-row::after {
    content: '';
    background-color: var(--lightest-blue);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -40px;
}
.mlp-filter {
    background: var(--dark-blue);
    position: relative;
    display: flex;
    align-items: center;
}
.mlp-filter-toggle {
    width: 100%;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .3px;
    height: 100%;
    padding: 0;
    padding-left: 15px;
    /* padding-block: 10px; */
}
.mlp-filter-toggle:hover {
    background: var(--dark-blue);
}
.mlp-filter-icon {
    width: auto;
    height: auto;
    display: inline-block;
}
.mlp-filter-title {
    flex: 1;
    padding-left: 6px;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding-block: 12px;
    padding-left: 0;
}
.mlp-filter-caret {
    opacity: .8;
    padding-inline: 8px;
    height: 100%;
    background-color: var(--lightest-blue);
    display: flex;
    align-items: center;
    transition: background-color .3s;
}
.mlp-filter-caret:hover {
    background-color: var(--grey);
}
/* Dropdown menu */
.mlp-filter-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    padding: 8px;
    display: none;
    max-height: 260px;
    overflow: auto;
}
.mlp-filter-menu.open {
    display: block;
}
.mlp-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
}
.mlp-filter-option:hover {
    background: #f4f8fa;
}
.mlp-filter-option input {
    accent-color: var(--dark-blue);
}
/* ---------- Top row: chips + search ---------- */
.mlp-top-row {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: center;
    gap: 16px;
    padding: 14px 0 8px;
    border-bottom: 1px solid var(--white);
    margin-bottom: 16px;
    padding-top: 60px;
}
.mlp-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mlp-chip {
    background: unset;
    color: var(--darker-blue);
    border: 0;
    padding: 6px 10px;
    font-size: 1rem;
    /* line-height: 1; */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 800;
    transition: color .3s;
}
.mlp-chip .mlp-chip-x {
    font-weight: 700;
}
.mlp-chip-clear {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}
.mlp-search {
    display: grid;
    grid-template-columns: 1fr 44px;
}
.mlp-search-input {
    width: 100%;
    padding: 10px 12px;
    padding: 10px !important;
    border: 1px solid var(--lightest-blue) !important;
}
.mlp-search-input::placeholder {
    color: var(--lightest-blue) !important;
}
.mlp-btn {
    border: 0;
    cursor: pointer;
}
.mlp-btn-search {
    background: var(--dark-blue);
    color: #fff;
    font-weight: 700;
    transition: background .3s;
}
.mlp-btn-search:hover {
    background: var(--lightest-blue);
}
/* ---------- Grid & cards ---------- */
.mlp-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 30px;
}
@media (max-width: 1200px) {
    .mlp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .mlp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .mlp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .mlp-grid {
        grid-template-columns: 1fr;
    }
}
.mlp-card {
    background: #ffffff;
    border: 1px solid var(--white);
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
.mlp-card-title {
    background: var(--dark-blue);
    color: #fff;
    padding: 10px 14px;
    width: 100%;
}
.mlp-card-title .mlp-product-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}
.mlp-card-title a {
    color: #fff;
    text-decoration: none;
}
.mlp-card-image {
    padding: 10px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border: 1px solid var(--grey);
    border-bottom: 0;
    width: 100%;
}
.mlp-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.mlp-card-attrs {
    padding: 6px 14px 14px;
    padding-bottom: 0;
    width: 100%;
    border: 1px;
    border-top: 0;
    border-color: var(--grey);
    border-style: solid;
    border-bottom: 0;
}
.mlp-card-actions.link-text {
    border-left: 1px;
    border-right: 1px;
    border-style: solid;
    border-color: var(--grey);
    padding-inline: 19px;
    width: 100%;
    padding-bottom: 14px;
}
#page-container #et-boc .mlp-card-actions.link-text a {
    text-decoration: underline;
    color: var(--orange) !important;
    font-size: 1.1rem;
    font-weight: 600;
}
#page-container #et-boc .mlp-card-actions.link-text a:hover {
    color: var(--blue) !important;
}
.mlp-card-actions.btn {
    width: 100%;
    border: 1px;
    border-top: 0;
    border-color: var(--grey);
    border-style: solid;
    text-align: center;
    padding: 14px;
    padding-top: 0;
}
#page-container .mlp-models-table-wrap .mlp-inner .mlp-card div.mlp-card-actions.btn a {
    background-color: var(--dark-blue);
    padding: 10px 10px;
    width: 100%;
    color: var(--white) !important;
    transition: background-color .3s;
    display: block;
}
#page-container .mlp-models-table-wrap .mlp-inner .mlp-card div.mlp-card-actions.btn a:hover {
    background-color: var(--blue);
    color: var(--white) !important;
}
.mlp-attr-list {
    display: block !important;
    padding-left: 5px !important;
}
.mlp-attr-list li {
    list-style: none;
}
.mlp-attr-list .mlp-attr-value {
    color: var(--orange);
    font-weight: 700;
}
.mlp-attr-list .mlp-attr:not(:last-of-type) {
    border-bottom: 1px solid var(--grey);
}
.mlp-attr-list .mlp-attr {
    padding: 3px 0;
    margin-top: 0;
    font-size: 1.1rem !important;
}
.mlp-attr-label {
    color: var(--darker-blue);
    font-weight: 700;
}
/* ---------- Pagination ---------- */
.mlp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
.mlp-page-link {
    padding: 8px 12px;
    border: 1px solid var(--dark-blue);
    background: #fff;
    color: var(--dark-blue);
    cursor: pointer;
    font-weight: 700;
}
.mlp-page-link:hover {
    background: #f1fbfd;
}
.mlp-page-link.is-disabled,
.mlp-page-link:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.mlp-page-status {
    color: var(--lighter-blue);
}
/* ---------- Empty state ---------- */
.mlp-no-results {
    text-align: center;
    padding: 20px 0;
    color: var(--lighter-blue);
}
.mlp-btn-reset {
    background: #eef6f9;
    color: var(--dark-blue);
    border: 1px solid #cfe4ea;
    padding: 8px 12px;
    margin-top: 8px;
}
@media screen and (max-width: 1450px) and (min-width: 1250px) {
    .mlp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 1249px) and (min-width: 1001px) {
    .mlp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 1000px) and (min-width: 601px) {
    .mlp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 750px) {
    .mlp-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.mlp-btn-search i::before,
.mlp-chip-x i::before,
.mlp-filter-caret i::before {
    font-size: 20px;
}
.mlp-chip:hover {
    color: var(--main-blue);
}
.mlp-chip-clear:hover {
    color: var(--dark-blue);
}
.mlp-filter-caret i::before {
    color: var(--dark-blue);
    font-weight: 700;
}
.mlp-filter-icon i::before {
    font-size: 40px;
}
@media screen and (max-width: 1700px) {
    .mlp-filter-row {
        display: flex !important;
        flex-wrap: wrap;
    }
    .mlp-filter-title {
        padding-block: 25px !important;
    }
}
.row-img-modal .slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.row-img-modal .slick-slide {
    display: none;
    float: left;
    height: auto;
    min-height: 1px;
}
.row-img-modal .rim-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.row-img-modal .slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    bottom: -25px;
}
.row-img-modal .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
}
.row-img-modal .slick-dots li.slick-active button {
    background: #333;
}
.slick-dots>li {
    margin-bottom: 0px;
    margin-top: 0 !important;
}
/* ---------- Variant: ROTOCON Custom Multi-Channel ---------- */
.mlp-models-table-wrap--quote .mlp-card {
    position: relative;
    overflow: hidden;
}
.mlp-models-table-wrap--quote .mlp-card-hover-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: rgba(28, 51, 75, 0.588);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2;
}
.mlp-models-table-wrap--quote .mlp-card:hover .mlp-card-hover-actions,
.mlp-models-table-wrap--quote .mlp-card:focus-within .mlp-card-hover-actions {
    opacity: 1;
    pointer-events: auto;
}
@media (hover: none) {
    .mlp-models-table-wrap--quote .mlp-card-hover-actions {
        opacity: 1;
        pointer-events: auto;
    }
}
#page-container .mlp-variant-rotocon_custom_multi .mlp-card {
    border-bottom: 1px solid var(--grey);
    align-content: flex-start !important;
    height: max-content;
}
#page-container #et-boc .mlp-variant-rotocon_custom_multi .mlp-card .mlp-btn-quote {
    padding-inline: 21px !important;
    width: 100% !important;
}