.deez-magnet-grid-wrap,
.deez-magnet-grid-wrap * {
    box-sizing: border-box;
}
.deez-magnet-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
}
.deez-magnet-toolbar input,
.deez-magnet-toolbar select {
    background: #fff;
    border: 1px solid #cfd7e1;
    border-radius: 3px;
    color: #001e4d;
    font: inherit;
    min-height: 44px;
    padding: 8px 12px;
}
.deez-magnet-search {
    flex: 1 1 280px;
}
.deez-magnet-search input {
    width: 100%;
}
.deez-magnet-state-filter select {
    min-width: 150px;
}
.deez-magnet-filter-button,
.deez-magnet-view-button {
    background: #001e4d;
    border: 1px solid #001e4d;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font: 700 12px/1 Montserrat, Arial, sans-serif;
    letter-spacing: 1.3px;
    min-height: 42px;
    padding: 11px 18px;
    text-transform: uppercase;
}
.deez-magnet-filter-button:hover,
.deez-magnet-view-button:hover {
    background: #c10425;
    border-color: #c10425;
    color: #fff;
}
.deez-magnet-toolbar .deez-magnet-filter-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    min-height: 44px;
    min-width: 88px;
    padding: 12px 24px !important;
    white-space: nowrap;
}
.deez-magnet-clear {
    color: #001e4d;
    font-weight: 600;
}
.deez-magnet-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.deez-magnet-card {
    align-items: center;
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    box-shadow: 0 5px 18px rgba(0,30,77,.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.deez-magnet-card:hover {
    box-shadow: 0 10px 26px rgba(0,30,77,.10);
    transform: translateY(-3px);
}
.deez-magnet-image-button {
    align-items: center;
    background: #f4f6f9;
    border: 0;
    border-radius: 4px;
    cursor: zoom-in;
    display: flex;
    height: 185px;
    justify-content: center;
    margin: 0 0 16px;
    overflow: hidden;
    padding: 8px;
    width: 100%;
}
.deez-magnet-image {
    display: block;
    height: 100%;
    max-height: 169px;
    object-fit: contain;
    width: 100%;
}
.deez-magnet-title {
    color: #001e4d;
    font: 700 17px/1.25 Montserrat, Arial, sans-serif;
    letter-spacing: .6px;
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}
.deez-magnet-title::after {
    background: #c10425;
    content: '';
    display: block;
    height: 3px;
    margin: 10px auto 0;
    width: 34px;
}
.deez-magnet-view-button {
    background: transparent;
    color: #001e4d;
    margin-top: auto;
    min-width: 142px;
}
.deez-magnet-view-button:hover {
    color: #fff;
}
.deez-magnet-pagination {
    margin-top: 34px;
}
.deez-magnet-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.deez-magnet-pagination a,
.deez-magnet-pagination span {
    align-items: center;
    border: 1px solid #cfd7e1;
    color: #001e4d;
    display: inline-flex;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 8px 12px;
    text-decoration: none;
}
.deez-magnet-pagination .current,
.deez-magnet-pagination a:hover {
    background: #001e4d;
    border-color: #001e4d;
    color: #fff;
}
.deez-magnet-empty {
    color: #5b6675;
    padding: 30px 0;
    text-align: center;
}
.deez-magnet-lightbox[hidden] {
    display: none !important;
}
.deez-magnet-lightbox {
    inset: 0;
    position: fixed;
    z-index: 999999;
}
.deez-magnet-lightbox-backdrop {
    background: rgba(0,0,0,.88);
    inset: 0;
    position: absolute;
}
.deez-magnet-lightbox-dialog {
    align-items: center;
    display: flex;
    height: min(86vh, 860px);
    inset: 50% auto auto 50%;
    justify-content: center;
    max-width: 94vw;
    position: absolute;
    transform: translate(-50%, -50%);
    width: min(1120px, 92vw);
}
.deez-magnet-lightbox-image {
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.deez-magnet-lightbox-close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    color: #001e4d;
    cursor: pointer;
    display: flex;
    font: 400 30px/1 Arial, sans-serif;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: -12px;
    top: -12px;
    width: 44px;
    z-index: 2;
}
.deez-magnet-lightbox-close:hover {
    background: #c10425;
    color: #fff;
}
html.deez-lightbox-open {
    overflow: hidden;
}
@media (max-width: 1024px) {
    .deez-magnet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .deez-magnet-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .deez-magnet-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }
    .deez-magnet-search {
        flex: 0 0 auto;
        width: 100%;
    }
    .deez-magnet-state-filter {
        flex: 0 0 auto;
        width: 100%;
    }
    .deez-magnet-state-filter select,
    .deez-magnet-filter-button {
        width: 100%;
    }
    .deez-magnet-image-button {
        height: 220px;
    }
    .deez-magnet-image {
        max-height: 204px;
    }
    .deez-magnet-lightbox-dialog {
        height: 84vh;
        width: 94vw;
    }
    .deez-magnet-lightbox-close {
        right: 0;
        top: -52px;
    }
}
