
/* Listing layout: these styles only affect the products area. */
.mdp-page {
    background: #fff;
    color: #15171c;
    padding: 45px 0 55px;
    font-family: Arial,Helvetica,sans-serif;
    clear: both
}

.mdp-page * {
    box-sizing: border-box
}

.mdp-page [hidden] {
    display: none!important
}

.mdp-page a {
    text-decoration: none;
    color: inherit
}

.mdp-shell {
    max-width: 1440px;
    margin: auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 250px minmax(0,1fr);
    gap: 35px
}

.mdp-page button,.mdp-page select {
    font-family: inherit
}

.mdp-sidebar {
    min-width: 0
}

.mdp-categories {
    border: 1px solid #e0e3e9;
    border-radius: 6px;
    overflow: hidden;
    background: #fff
}

.mdp-categories h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    padding: 20px 18px 17px;
    border-bottom: 1px solid #e7e9ed
}

.mdp-category-list {
    list-style: none!important;
    margin: 0!important;
    padding: 0!important
}

.mdp-category-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eceef2;
    min-height: 47px
}

.mdp-category-row>a {
    padding: 13px 18px;
    flex: 1;
    font-size: 14px;
    line-height: 1.35
}

.mdp-category-row:hover {
    color: #d71920;
    background: #fff5f5
}

.mdp-category-row.mdp-active {
    background: #e50919;
    color: white
}

.mdp-expand {
    width: 38px;
    align-self: stretch;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px
}

.mdp-expand[aria-expanded=true] {
    transform: rotate(180deg)
}

.mdp-category-arrow {
    padding-right: 20px;
    font-size: 21px
}

.mdp-category-list .mdp-category-list {
    padding: 6px 12px 10px!important
}

.mdp-depth-1 .mdp-category-row {
    border: 0;
    min-height: 38px;
    border-radius: 4px
}

.mdp-depth-1 .mdp-category-row>a {
    font-size: 13px;
    padding: 10px 10px 10px 20px;
    position: relative
}

.mdp-depth-1 .mdp-category-row>a:before {
    content: '';
    width: 7px;
    height: 7px;
    background: #b9bdc6;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 16px
}

.mdp-depth-1 .mdp-active,.mdp-depth-1 .mdp-selected {
    color: #d71920;
    background: #fff1f2;
    font-weight: 700
}

.mdp-depth-1 .mdp-selected>a:before {
    background: #e50919
}


/* Sidebar promotional image and quote button. */
.mdp-promo {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 5px;
    background: #141414;
    margin-top: 22px;
    color: #fff
}

.mdp-promo>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .5
}

.mdp-promo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(#080808ed 0%,#0808087a 48%,transparent 80%)
}

.mdp-promo-copy {
    position: relative;
    z-index: 1;
    padding: 28px 22px
}

.mdp-promo h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 14px
}

.mdp-promo p {
    font-size: 14px;
    line-height: 1.6;
    color: #eee;
    margin-bottom: 22px
}

.mdp-page .mdp-quote {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    background: #e50919;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 17px;
    border-radius: 3px
}

.mdp-quote:hover {
    background: #b90010
}

.mdp-content {
    min-width: 0
}

.mdp-breadcrumb {
    font-size: 12px;
    color: #687080;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px
}

.mdp-breadcrumb a:hover {
    color: #e50919
}

.mdp-breadcrumb>span: last-child {
    color: #d71920
}

.mdp-title-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.mdp-title-row h1 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0 0 8px;
    color: #090909
}

.mdp-subtitle {
    font-size: 16px;
    color: #687080;
    line-height: 1.5;
    margin: 0
}

.mdp-count {
    white-space: nowrap;
    color: #687080;
    font-size: 13px
}

.mdp-toolbar {
    background: #f1f2f5;
    border-radius: 5px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #687080
}

.mdp-tools {
    display: flex;
    align-items: center;
    gap: 12px
}

.mdp-view {
    border: 0;
    padding: 5px;
    background: none;
    color: #929aa8;
    cursor: pointer;
    line-height: 0
}

.mdp-view[aria-pressed=true] {
    color: #e50919
}

.mdp-view svg {
    width: 20px;
    height: 20px;
    fill: currentColor
}

.mdp-sort {
    display: flex;
    gap: 8px;
    align-items: center;
    border-left: 1px solid #cdd1d8;
    padding-left: 14px;
    margin: 0
}

.mdp-sort label {
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    white-space: nowrap
}

.mdp-sort select {
    border: 1px solid #d8dce2;
    background: #fff;
    border-radius: 3px;
    padding: 8px;
    max-width: 170px;
    color: #222;
    font-size: 12px
}

.mdp-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px 14px
}


/* Product cards and photo areas use a white background. */
.mdp-card {
    border: 1px solid #e0e3e9;
    border-radius: 5px;
    overflow: hidden;
    background: white;
    min-width: 0;
    transition: box-shadow .25s,border-color .25s,transform .25s
}

.mdp-card:hover {
    border-color: #d71920;
    box-shadow: 0 9px 23px #15171c12;
    transform: translateY(-3px)
}

.mdp-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.45;
    background: #fff;
    overflow: hidden
}

.mdp-image img {
    background: #fff;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s
}

.mdp-card:hover .mdp-image img {
    transform: scale(1.045)
}

.mdp-missing {
    padding: 35px;
    color: #687080;
    font-size: 14px
}

.mdp-card-copy {
    padding: 12px 14px
}

.mdp-kicker {
    font-size: 10px;
    color: #7c8390;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0 0 4px;
    display: block
}

.mdp-card h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 3px;
    color: #14161b
}

.mdp-card h2 a:hover {
    color: #d71920
}

.mdp-code {
    font-size: 11px;
    color: #687080;
    margin: 0 0 10px;
    min-height: 15px
}

.mdp-page .mdp-inquiry {
    border: 1px solid #e50919;
    color: #e50919;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    font-size: 12px;
    min-height: 38px;
    padding: 9px;
    transition: background .2s,color .2s
}

.mdp-card:nth-child(3n+1) .mdp-inquiry,.mdp-page .mdp-inquiry:hover {
    background: #e50919;
    color: #fff
}

.mdp-inquiry svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linejoin: round
}

.mdp-grid.mdp-list {
    grid-template-columns: 1fr
}

.mdp-list /* Product cards and photo areas use a white background. */
.mdp-card {
    display: grid;
    grid-template-columns: 230px 1fr
}

.mdp-list .mdp-card-copy {
    padding: 22px
}

.mdp-list .mdp-inquiry {
    max-width: 240px
}

.mdp-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    list-style: none!important;
    padding: 0!important;
    margin: 28px 0 0!important
}

.mdp-pagination a,.mdp-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #dddfe5;
    border-radius: 4px;
    color: #303744;
    font-size: 13px
}

.mdp-pagination [aria-current=page],.mdp-pagination a:hover {
    background: #e50919;
    color: white;
    border-color: #e50919
}

.mdp-empty {
    padding: 60px 25px;
    text-align: center;
    background: #f6f7f9;
    border: 1px solid #e2e4e9;
    border-radius: 5px
}

.mdp-empty h2 {
    font-size: 23px;
    margin: 0 0 12px
}

.mdp-empty p {
    color: #687080
}

.mdp-empty a {
    display: inline-block;
    color: #d71920;
    margin-top: 12px;
    font-weight: 700
}

.mdp-mobile-filter {
    display: none
}

.mdp-page a:focus-visible,.mdp-page button:focus-visible,.mdp-page select:focus-visible {
    outline: 2px solid #d71920;
    outline-offset: 3px
}


/* Responsive layouts for large screens, tablets and phones. */
@media(min-width: 1600px) {
    .mdp-shell {
        max-width: 1500px;
        grid-template-columns: 270px minmax(0,1fr)
    }

}

@media(max-width: 1199px) {
    .mdp-shell {
        grid-template-columns: 220px minmax(0,1fr);
        gap: 24px;
        padding: 0 20px
    }

    .mdp-title-row h1 {
        font-size: 32px
    }

    .mdp-card-copy {
        padding: 11px
    }

    .mdp-card h2 {
        font-size: 14px
    }

    .mdp-toolbar {
        flex-wrap: wrap
    }

    .mdp-tools {
        margin-left: auto
    }

    .mdp-image {
        aspect-ratio: 1.15
    }

}

@media(max-width: 991px) {
    .mdp-shell {
        grid-template-columns: 200px minmax(0,1fr);
        gap: 20px
    }

    .mdp-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .mdp-title-row {
        align-items: flex-start
    }

    .mdp-count {
        font-size: 11px
    }

    .mdp-title-row h1 {
        font-size: 28px
    }

    .mdp-subtitle {
        font-size: 13px
    }

    .mdp-promo h3 {
        font-size: 28px
    }

    .mdp-promo-copy {
        padding: 25px 16px
    }

    .mdp-sort {
        padding-left: 8px
    }

    .mdp-list /* Product cards and photo areas use a white background. */
.mdp-card {
        grid-template-columns: 170px 1fr
    }

}

@media(max-width: 767px) {
    .mdp-page {
        padding: 25px 0 35px
    }

    .mdp-shell {
        display: block;
        padding: 0 15px
    }

    .mdp-mobile-filter {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 15px;
        background: #161616;
        color: white;
        border: 0;
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: 18px
    }

    .mdp-sidebar {
        display: none;
        margin-bottom: 24px
    }

    .mdp-sidebar.mdp-sidebar-open {
        display: block
    }

    .mdp-promo {
        display: none
    }

    .mdp-title-row h1 {
        font-size: 28px
    }

    .mdp-title-row {
        margin-bottom: 18px
    }

    .mdp-toolbar {
        gap: 10px;
        padding: 10px;
        font-size: 11px
    }

    .mdp-tools {
        width: 100%;
        justify-content: flex-end
    }

    .mdp-sort {
        margin-left: auto
    }

    .mdp-grid {
        gap: 12px 10px
    }

    .mdp-image {
        aspect-ratio: 1
    }

    .mdp-card h2 {
        font-size: 13px
    }

    .mdp-card-copy {
        padding: 10px
    }

    .mdp-page .mdp-inquiry {
        font-size: 11px;
        gap: 5px;
        padding: 8px 4px
    }

    .mdp-kicker {
        font-size: 9px
    }

    .mdp-list /* Product cards and photo areas use a white background. */
.mdp-card {
        grid-template-columns: 120px 1fr
    }

    .mdp-list .mdp-card-copy {
        padding: 12px
    }

    .mdp-list .mdp-image {
        height: 100%;
        aspect-ratio: auto
    }

    .mdp-breadcrumb {
        font-size: 11px
    }

    .mdp-count {
        display: none
    }

}

@media(prefers-reduced-motion: reduce) {
    .mdp-card,.mdp-image img {
        transition: none
    }

    .mdp-card:hover {
        transform: none
    }

}

/* Inquiry basket: generous spacing, white product images and clear actions. */
.mdi-title { font-size: 39px; font-weight: 800; line-height: 1.15; color: #090909; margin: 18px 0 12px; }
.mdi-accent { display: block; width: 48px; height: 4px; background: #e50919; border-radius: 3px; }
.mdi-subtitle { color: #717887; font-size: 15px; line-height: 1.7; margin: 16px 0 24px; }
.mdi-steps { display: flex; gap: 22px; list-style: none; margin: 0 0 28px; padding: 0; }
.mdi-steps li { display: flex; flex: 1; gap: 10px; align-items: center; color: #8b929e; font-size: 13px; white-space: nowrap; }
.mdi-steps li:not(:last-child):after { content: ''; flex: 1; height: 1px; background: #d9dde4; margin-left: 8px; }
.mdi-steps li>span { display: flex; align-items: center; justify-content: center; border-radius: 50%; width: 34px; height: 34px; background: #b7bcc5; color: white; flex-shrink: 0; }
.mdi-steps .active { color: #e50919; }
.mdi-steps .active>span { background: #e50919; }
.mdi-columns { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.mdi-panel, .mdi-summary, .mdi-support { border: 1px solid #dfe3ea; border-radius: 5px; background: #fff; }
.mdi-panel { min-width: 0; overflow: hidden; }
.mdi-panel-heading { font-size: 22px; font-weight: 800; margin: 0; padding: 22px 20px 18px; display: flex; gap: 14px; align-items: center; }
.mdi-badge { background: #eceef2; color: #222; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 5px; }
.mdi-table-head, .mdi-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px 84px; align-items: center; gap: 12px; }
.mdi-table-head { background: #f5f6f8; color: #646c79; padding: 11px 14px; margin: 0 18px; font-size: 12px; border-radius: 4px; }
.mdi-row { margin: 0 18px; padding: 20px 0; border-bottom: 1px solid #e5e8ed; }
.mdi-product { display: flex; gap: 16px; min-width: 0; align-items: center; }
.mdi-product-photo { width: 110px; flex-shrink: 0; background: #fff; }
.mdi-product-photo img { display: block; width: 100%; height: 145px; object-fit: contain; background: #fff; }
.mdi-product h2 { font-size: 14px; font-weight: 700; line-height: 1.5; margin: 0 0 7px; }
.mdi-product p { font-size: 11px; color: #78808d; margin: 6px 0; }
.mdi-category { text-transform: uppercase; font-size: 10px; color: #6d7480; }
.mdi-stepper { display: flex; width: 116px; border: 1px solid #d0d6df; border-radius: 4px; overflow: hidden; height: 37px; }
.mdi-stepper button { width: 33px; border: 0; background: #fff; color: #444; font-size: 18px; cursor: pointer; }
.mdi-stepper input { width: 48px; min-width: 0; text-align: center; border: 0; border-left: 1px solid #d0d6df; border-right: 1px solid #d0d6df; color: #111; font-size: 12px; background: white; appearance: textfield; -moz-appearance: textfield; }
.mdi-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.mdi-remove { border: 1px solid #d0d6df; border-radius: 4px; padding: 9px 7px; color: #525b69; background: #fff; cursor: pointer; font-size: 11px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.mdi-page svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mdi-remove svg { width: 15px; height: 15px; }
.mdi-remove:hover { color: #e50919; border-color: #e50919; }
.mdi-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; padding: 20px 18px; }
.mdi-page .mdi-button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; padding: 13px 17px; border: 1px solid #181818; border-radius: 4px; color: #171717; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; }
.mdi-page .mdi-dark { background: #131313; color: #fff; }
.mdi-page .mdi-red { background: #e50919; color: #fff; border-color: #e50919; }
.mdi-page .mdi-red:hover { background: #bd0010; }
.mdi-button:disabled { opacity: .6; cursor: wait; }
.mdi-summary { position: relative; padding: 25px 20px; }
.mdi-summary:before { content: ''; position: absolute; top: -1px; left: 0; width: 70px; height: 4px; border-radius: 3px; background: #e50919; }
.mdi-summary h2 { font-size: 21px; font-weight: 800; margin: 0 0 24px; }
.mdi-stat { display: flex; gap: 12px; justify-content: space-between; color: #68707e; margin: 17px 0; font-size: 13px; }
.mdi-stat strong { color: #171717; }
.mdi-summary-note { border-top: 1px solid #e1e5eb; margin-top: 23px; padding-top: 20px; font-size: 12px; line-height: 1.7; color: #79818e; }
.mdi-summary .mdi-button { width: 100%; margin-top: 18px; }
.mdi-payment-note { text-align: center; color: #858c98; font-size: 11px; margin: 10px 0 0; }
.mdi-support { display: flex; gap: 15px; padding: 22px 18px; margin-top: 18px; }
.mdi-support>svg { width: 36px; height: 36px; }
.mdi-support strong { font-size: 15px; }
.mdi-support p { font-size: 12px; color: #7a818c; line-height: 1.6; margin: 8px 0; }
.mdi-support a { color: #e50919; font-size: 12px; }
.mdi-assurance { max-width: 1440px; margin: 30px auto 0; padding: 22px 30px; border: 1px solid #e0e4eb; border-radius: 5px; display: flex; justify-content: space-around; gap: 20px; }
.mdi-assurance>div { display: flex; gap: 15px; align-items: center; }
.mdi-assurance svg { width: 33px; height: 33px; }
.mdi-assurance strong { display: block; font-size: 13px; margin-bottom: 5px; }
.mdi-assurance small { color: #7b8390; font-size: 11px; }
.mdi-alert { background: #fff1f2; color: #a61925; padding: 15px; border: 1px solid #ffd5d9; border-radius: 4px; margin-bottom: 20px; font-size: 13px; }
.mdi-empty { text-align: center; padding: 55px 25px; border: 1px solid #e2e5eb; border-radius: 5px; }
.mdi-empty h2 { font-size: 25px; font-weight: 700; }
.mdi-empty p { color: #77808e; margin: 15px 0 25px; }
/* Matching customer form with the original POST field names and CAPTCHA. */
.mdi-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 0 22px 22px; }
.mdi-field { min-width: 0; }
.mdi-field label { display: block; font-weight: 600; color: #394150; font-size: 12px; margin-bottom: 8px; }
.mdi-field input, .mdi-field select, .mdi-field textarea { width: 100%; border: 1px solid #d6dce5; border-radius: 4px; color: #222; background: #fff; padding: 11px 12px; font-size: 13px; }
.mdi-field textarea { min-height: 110px; resize: vertical; }
.mdi-field input:focus, .mdi-field select:focus, .mdi-field textarea:focus { border-color: #e50919; outline: 1px solid #e50919; }
.mdi-wide { grid-column: 1 / -1; }
.mdi-required { color: #e50919; }
.mdi-captcha { display: flex; gap: 15px; align-items: center; }
.mdi-captcha img { max-width: 140px; }
.mdi-captcha input { max-width: 200px; text-transform: uppercase; }
.mdi-review-item { display: flex; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e7e9ee; }
.mdi-review-item img { width: 45px; height: 55px; object-fit: contain; }
.mdi-review-item strong { font-size: 12px; display: block; }
.mdi-review-item small { color: #7c8390; font-size: 10px; }
.mdi-review-item>span { margin-left: auto; font-size: 12px; white-space: nowrap; }
@media (max-width: 1250px) {
    .mdi-columns { grid-template-columns: minmax(0,1fr); }
    .mdi-summary-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
    .mdi-support { margin-top: 0; }
}
@media (max-width: 767px) {
    .mdi-title { font-size: 29px; }
    .mdi-subtitle { font-size: 13px; }
    .mdi-steps { gap: 8px; }
    .mdi-steps li { font-size: 10px; gap: 5px; }
    .mdi-steps li>span { width: 25px; height: 25px; }
    .mdi-steps li:not(:last-child):after { margin-left: 0; }
    .mdi-summary-column { display: block; }
    .mdi-support { margin-top: 18px; }
    .mdi-table-head { display: none; }
    .mdi-row { grid-template-columns: minmax(0,1fr) 85px; gap: 12px; }
    .mdi-product { grid-column: 1 / -1; gap: 18px; }
    .mdi-product-photo { width: 80px; }
    .mdi-product-photo img { height: 100px; }
    .mdi-remove { justify-self: end; }
    .mdi-panel-heading { font-size: 20px; }
    .mdi-assurance { margin: 22px 15px 0; padding: 20px; flex-direction: column; }
    .mdi-fields { grid-template-columns: 1fr; gap: 18px; padding: 0 18px 18px; }
    .mdi-actions .mdi-button { flex: 1; font-size: 11px; padding: 12px; }
}
