/* =========================================================
   PRODUCT SLIDER
========================================================= */

.mpm-products-slider {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}


/* =========================================================
   SLIDER VIEWPORT
========================================================= */

.mpm-products-track-wrapper {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   PRODUCT TRACK
========================================================= */

.mpm-frontend-products {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.mpm-frontend-product-card {

    flex: 0 0 calc((100% - 48px) / 3);

    width: calc((100% - 48px) / 3);

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.mpm-frontend-product-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.08);

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.mpm-frontend-product-image {

    width: 100%;

    height: 210px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background: #f8fafc;

    border-bottom: 1px solid #eeeeee;

}


.mpm-frontend-product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}


/* =========================================================
   NO IMAGE
========================================================= */

.mpm-no-image {

    color: #999;

    font-size: 14px;

}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.mpm-frontend-product-content {

    padding: 18px;

    display: flex;

    flex-direction: column;

    flex: 1;

}


/* =========================================================
   BRAND
========================================================= */

.mpm-frontend-brand {

    font-size: 16px;

    font-weight: 900;

    color: #ff0000;

    margin-bottom: 7px;

}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.mpm-frontend-product-title {

    margin: 0 0 10px;

    font-size: 18px;

    line-height: 1.35;

    font-weight: 600;

    color: #172033;

}


/* =========================================================
   MODEL
========================================================= */

.mpm-frontend-model {

    font-size: 14px;

    line-height: 1.5;

    color: #555;

    margin-bottom: 12px;

}


.mpm-frontend-model strong {

    font-weight: 600;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.mpm-frontend-product-description {

    font-size: 14px;

    line-height: 1.6;

    color: #666;

    margin: 0 0 20px;

}


/* =========================================================
   VIEW PRODUCT BUTTON
========================================================= */

.mpm-frontend-product-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: auto;

    min-height: 44px;

    padding: 10px 18px;

    box-sizing: border-box;

    border: 1px solid #1f4ed8;

    border-radius: 5px;

    background: #1f4ed8;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.2s ease;

}


.mpm-frontend-product-button:hover {

    background: #163da8;

    border-color: #163da8;

    color: #ffffff !important;

}


.mpm-frontend-product-button span {

    font-size: 18px;

    line-height: 1;

}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.mpm-slider-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 44px;

    height: 44px;

    padding: 0;

    border: 1px solid #d9d9d9;

    border-radius: 50%;

    background: #ffffff;

    color: #172033;

    font-size: 28px;

    line-height: 40px;

    text-align: center;

    cursor: pointer;

    box-shadow:
        0 3px 12px rgba(0,0,0,0.10);

    transition: all 0.2s ease;

}


.mpm-slider-arrow:hover {

    background: #1f4ed8;

    border-color: #1f4ed8;

    color: #ffffff;

}


.mpm-slider-arrow:disabled {

    opacity: 0.35;

    cursor: default;

}


.mpm-slider-prev {

    left: -22px;

}


.mpm-slider-next {

    right: -22px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .mpm-frontend-product-card {

        flex: 0 0 calc((100% - 200px) / 2);

        width: calc((100% - 40px) / 2);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .mpm-frontend-products {

        gap: 15px;

    }


    .mpm-frontend-product-card {

        flex: 0 0 100%;

        width: 100%;

    }


    .mpm-frontend-product-image {

        height: 220px;

    }


    .mpm-frontend-product-title {

        font-size: 18px;

    }


    .mpm-slider-prev {

        left: 8px;

    }


    .mpm-slider-next {

        right: 8px;

    }

}

/* =========================================================
   MPM PRODUCT DETAIL PAGE
========================================================= */

.mpm-product-single {
    background: #ffffff;
    padding: 40px 0 100px;
}

.mpm-product-container {
    width: min(1240px, 92%);
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.mpm-product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 35px;
    font-size: 13px;
    color: #7a8792;
}

.mpm-product-breadcrumb a {
    color: #1475c9;
    text-decoration: none;
}

.mpm-product-breadcrumb strong {
    color: #17283a;
    font-weight: 600;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.mpm-product-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.mpm-product-sidebar {
    position: sticky;
    top: 100px;

    background: #f7f9fc;
    border: 1px solid #e2e8ee;
}

.mpm-sidebar-title {
    padding: 18px 20px;

    background: #102033;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.mpm-sidebar-content {
    padding: 10px 0;
}

.mpm-sidebar-category-title,
.mpm-sidebar-segment-title {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    padding: 10px 16px;

    color: #25384b;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.mpm-sidebar-category-title:hover,
.mpm-sidebar-segment-title:hover {
    color: #1475c9;
}

.mpm-sidebar-category-title.is-active {
    color: #1475c9;
}

.mpm-sidebar-arrow {
    flex: 0 0 12px;
    width: 12px;
}

.mpm-sidebar-segments {
    display: none;
    padding-bottom: 5px;
}

.mpm-sidebar-segments.is-open {
    display: block;
}

.mpm-sidebar-segment-title {
    padding-left: 28px;
    font-size: 13px;
}

.mpm-sidebar-products {
    display: none;
    padding: 0 10px 8px 48px;
}

.mpm-sidebar-products.is-open {
    display: block;
}

.mpm-sidebar-product {
    display: block;

    padding: 7px 10px;

    border-left: 2px solid transparent;

    color: #687582;
    font-size: 13px;
    line-height: 1.4;

    text-decoration: none !important;

    transition: all 0.2s ease;
}

.mpm-sidebar-product:hover {
    color: #1475c9;
    border-left-color: #1475c9;
}

.mpm-sidebar-product.is-current {
    color: #1475c9;
    font-weight: 700;
    border-left-color: #1475c9;
    background: #eaf4fb;
}


/* Mobile sidebar toggle */

.mpm-mobile-sidebar-toggle {
    display: none;
}


/* =========================================================
   PRODUCT HERO
========================================================= */

.mpm-product-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
    gap: 55px;
    align-items: center;

    padding-bottom: 60px;

    border-bottom: 1px solid #e5e9ed;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.mpm-product-main-image {
    height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f1f6fa
        );

    border: 1px solid #e1e7ec;
}

.mpm-product-main-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.mpm-product-no-image {
    color: #999;
    font-size: 14px;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.mpm-product-brand {
    display: block;

    margin-bottom: 10px;

    color: #1475c9;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mpm-product-information h1 {
    margin: 0 0 10px;

    color: #102033;

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    font-weight: 700;
}

.mpm-product-type {
    margin-bottom: 18px;

    color: #687582;

    font-size: 15px;
}

.mpm-product-model {
    margin-bottom: 22px;

    color: #4f5f6d;

    font-size: 14px;
}

.mpm-product-short-description {
    max-width: 600px;

    margin-bottom: 28px;

    color: #687582;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.mpm-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mpm-product-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    box-sizing: border-box;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;
}

.mpm-product-quote {
    background: #1475c9;
    color: #ffffff !important;
}

.mpm-product-quote:hover {
    background: #0f5f9f;
}

.mpm-product-whatsapp {
    border: 1px solid #1475c9;
    background: #ffffff;
    color: #1475c9 !important;
}

.mpm-product-whatsapp:hover {
    background: #1475c9;
    color: #ffffff !important;
}


/* =========================================================
   PRODUCT SECTIONS
========================================================= */

.mpm-product-section {
    padding: 60px 0;

    border-bottom: 1px solid #e5e9ed;
}

.mpm-product-section-heading {
    margin-bottom: 25px;
}

.mpm-product-section-heading > span {
    display: block;

    margin-bottom: 8px;

    color: #1475c9;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.mpm-product-section-heading h2 {
    margin: 0;

    color: #102033;

    font-size: 30px;
    line-height: 1.25;
}

.mpm-product-description {
    color: #596977;

    font-size: 15px;
    line-height: 1.8;
}

.mpm-product-description p {
    margin: 0 0 18px;
}

.mpm-product-description ul,
.mpm-product-description ol {
    margin-bottom: 20px;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.mpm-product-specifications {
    border: 1px solid #dfe6eb;
}

.mpm-spec-row {
    display: grid;
    grid-template-columns: 35% 65%;

    border-bottom: 1px solid #dfe6eb;
}

.mpm-spec-row:last-child {
    border-bottom: 0;
}

.mpm-spec-label,
.mpm-spec-value {
    padding: 15px 18px;

    font-size: 14px;
    line-height: 1.5;
}

.mpm-spec-label {
    background: #f5f8fa;
    color: #33485b;
    font-weight: 700;
}

.mpm-spec-value {
    color: #687582;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.mpm-product-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 50px;
    padding: 25px 30px;

    background: #f4f8fb;

    border: 1px solid #dce7ef;
}

.mpm-product-download > div > span {
    display: block;

    margin-bottom: 5px;

    color: #1475c9;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.mpm-product-download h3 {
    margin: 0 0 5px;

    color: #17283a;

    font-size: 18px;
}

.mpm-product-download p {
    margin: 0;

    color: #687582;

    font-size: 13px;
}

.mpm-product-download > a {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 20px;

    background: #1475c9;
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


/* =========================================================
   EXTERNAL LINK
========================================================= */

.mpm-product-external-link {
    margin-top: 25px;
}

.mpm-product-external-link a {
    color: #1475c9;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================================
   PRODUCT ENQUIRY
========================================================= */

.mpm-product-enquiry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 60px;
    padding: 35px;

    background:
        linear-gradient(
            135deg,
            #102033,
            #1475c9
        );

    color: #ffffff;
}

.mpm-product-enquiry span {
    display: block;

    margin-bottom: 7px;

    color: #8ed0ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.mpm-product-enquiry h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 25px;
}

.mpm-product-enquiry p {
    margin: 0;

    color: rgba(255,255,255,0.78);

    font-size: 14px;
}

.mpm-product-enquiry-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 13px 22px;

    background: #ffffff;
    color: #1475c9 !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;
}


/* =========================================================
   NOT FOUND
========================================================= */

.mpm-product-not-found {
    max-width: 800px;

    margin: 80px auto;

    padding: 50px;

    text-align: center;

    background: #f7f9fc;

    border: 1px solid #e2e8ee;
}

.mpm-product-not-found h2 {
    margin-top: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .mpm-product-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 30px;
    }

    .mpm-product-hero {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .mpm-product-main-image {
        height: 380px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .mpm-product-single {
        padding: 25px 0 60px;
    }

    .mpm-product-layout {
        display: block;
    }

    .mpm-product-sidebar {
        position: relative;
        top: auto;

        margin-bottom: 30px;
    }

    .mpm-sidebar-title {
        display: none;
    }

    .mpm-mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 15px 18px;

        background: #102033;
        color: #ffffff;

        font-size: 13px;
        font-weight: 700;
    }

    .mpm-sidebar-content {
        display: none;
    }

    .mpm-product-sidebar.is-open .mpm-sidebar-content {
        display: block;
    }

    .mpm-product-hero {
        display: block;

        padding-bottom: 40px;
    }

    .mpm-product-main-image {
        height: 300px;

        margin-bottom: 30px;
    }

    .mpm-product-information h1 {
        font-size: 34px;
    }

    .mpm-product-short-description {
        font-size: 15px;
    }

    .mpm-product-section {
        padding: 45px 0;
    }

    .mpm-spec-row {
        grid-template-columns: 1fr;
    }

    .mpm-spec-label {
        padding-bottom: 7px;
    }

    .mpm-spec-value {
        padding-top: 7px;
    }

    .mpm-product-download {
        display: block;

        padding: 22px;
    }

    .mpm-product-download > a {
        margin-top: 20px;
    }

    .mpm-product-enquiry {
        display: block;

        padding: 25px;
    }

    .mpm-product-enquiry-button {
        margin-top: 20px;
    }

}