.mortar-home .mortar-home-links {
    display: flex;
    justify-content: center;
    gap: 72px;
    padding: 38px 20px;
    background: #fff;
}

/* Mortar-only TGP hero sizing. */
/* .mortar-home-page .layout-header .topbar {
    display: none;
}

@media (min-width: 768px) {
    .mortar-home-page .layout-header > .container {
        height: 42px;
        min-height: 42px;
    }

    .mortar-home-page .layout-header .logo img {
        max-height: 34px;
    }

    .mortar-home-page .layout-header .menu > .nav-list > li > .link {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 42px;
    }
} */

.mortar-hero .cover {
    /* height: clamp(420px, 33.8vw, 640px); */
    height: 320px;
    padding-top: 0;
}

.mortar-hero .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The global responsive utility styles are not loaded on this minisite. */
.mortar-hero .cover .d-none.d-md-block {
    display: block !important;
}

.mortar-hero .cover .d-block.d-md-none {
    display: none !important;
}

.mortar-home .mortar-home-links .link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #202020;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 4px;
    text-transform: uppercase;
}

.mortar-home .mortar-home-links .icon {
    color: #202020;
    font-size: 50px;
    line-height: 1;
}

.mortar-home .mortar-home-solutions {
    padding: 45px 0 38px;
    color: #fff;
    position: relative;
}



.mortar-home .mortar-home-solutions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-blend-mode: multiply;
    /* กำหนดให้ความกว้างเต็ม 100% ส่วนความสูงเป็น auto (รักษาสัดส่วนรูป) */
    background: url("../img/background/Homepage_BG_white.png") top center / 100% auto no-repeat;
    background-color: var(--color-primary);
}

.mortar-home .mortar-home-heading {
    margin: 0 0 26px;
    text-align: center;
}

.mortar-home .mortar-home-solutions > .container {
    position: relative;
    z-index: 1;
}

.mortar-home .mortar-home-heading h2 {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.mortar-home .mortar-home-heading p {
    margin: 4px 0 0;
    text-transform: uppercase;
}

.mortar-home .mortar-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    /* max-width: 920px; */
    margin: 0 auto;
}

.mortar-home .mortar-solution-card {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .25);
    color: #e50019;
    text-align: center;
    text-decoration: none;
}

.mortar-home .mortar-solution-card .cover {
    height: 200px;
    margin: 0;
    overflow: hidden;
}

.mortar-home .mortar-solution-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.mortar-home .mortar-solution-card:hover .cover img {
    transform: scale(1.05);
}

.mortar-home .mortar-solution-card .name {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 42px;
    padding: 13px 8px;
    /* font-size: 13px; */
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.mortar-home .mortar-home-action {
    margin-top: 25px;
    text-align: center;
}

.mortar-home .mortar-home-action .btn {
    min-width: 130px;
    border: 0;
    border-radius: 0;
    background: #5d5d5d;
    color: #fff;
}

.mortar-home .mortar-home-action .btn:hover,
.mortar-home .mortar-home-action .btn:focus {
    background: #3f3f3f;
    color: #fff;
}

.mortar-home .mortar-home-standards {
    padding: 50px 0;
    background: linear-gradient(145deg, #fff, #f3f3f3 60%, #fff);
}

.mortar-home .mortar-home-standards .mortar-home-heading {
    color: #191919;
}

.mortar-home .mortar-home-standards .mortar-home-heading p {
    max-width: 510px;
    margin: 8px auto 0;
    line-height: 1.45;
    text-transform: none;
}

.mortar-home .mortar-standard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.mortar-home .mortar-standard {
    display: flex;
    aspect-ratio: 1 / 1;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #dedede;
    background: #fff;
    box-shadow: 0 4px 9px rgba(0, 0, 0, .2);
    color: #4c4c4c;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mortar-home .mortar-standard:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 13px rgba(0, 0, 0, .22);
}

.mortar-home .mortar-standard img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

/* Wall-solution group detail content managed from the Product Group editor. */
.mortar-group-detail {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 20px 64px;
    color: #111;
}

.mortar-group-detail__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 30px;
    align-items: center;
}

.mortar-group-detail__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.mortar-group-detail__content h1 {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
}

.mortar-group-detail__content h1::after,
.mortar-group-related h2::after {
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 13px;
    background: #ed1c24;
    content: "";
}

.mortar-group-detail__content p {
    margin: 0 0 9px;
    font-size: 22px;
    /* line-height: 1.48; */
}

.mortar-group-detail__content strong { color: #ed1c24; }

.mortar-group-related {
    margin-top: 56px;
    text-align: center;
}

.mortar-group-related h2 {
    display: inline-block;
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

.mortar-product-group .mortar-related-products {
    display: block;
    /* 7 cards: (7 × 150px) + (6 × 18px gaps). */
    max-width: 1158px;
    margin: -34px auto 60px;
}

.mortar-product-group .mortar-related-products__track {
    display: flex;
    gap: 18px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.mortar-product-group .mortar-related-products__track.is-centered {
    justify-content: center;
}

.mortar-product-group .mortar-related-products__controls {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.mortar-product-group .mortar-related-products.has-overflow .mortar-related-products__controls {
    display: flex;
}

.mortar-product-group .mortar-related-products__track::-webkit-scrollbar { display: none; }

.mortar-product-group .mortar-related-products__item {
    flex: 0 0 150px;
    display: block;
    width: 150px;
    scroll-snap-align: start;
    border-radius: 5px;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.mortar-product-group .mortar-related-products__item:hover {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
    transform: translateY(-6px);
}

.mortar-product-group .mortar-related-products__item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform .22s ease;
}

.mortar-product-group .mortar-related-products__item:hover img { transform: scale(1.06); }

.mortar-product-group .mortar-related-products__arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 0;
    background: #ed1c24;
    color: #fff;
    font-size: 32px;
    line-height: 32px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .mortar-group-detail { padding: 36px 16px 44px; }
    .mortar-group-detail__intro { grid-template-columns: 1fr; gap: 24px; }
    .mortar-group-detail__content p { font-size: 15px; }
}

.mortar-home .mortar-home-project {
    padding: 30px 0px;
    background: #666;
    color: #fff;
}

.mortar-home .mortar-project-image {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background: linear-gradient(125deg, rgba(229, 0, 25, .55), transparent 55%), linear-gradient(40deg, #69717a, #d8d1c4 48%, #747f83);
}

.mortar-home .mortar-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .mortar-home .mortar-project-image::after { content: "PROJECT REFERENCE"; position: absolute; top: 48%; left: -28px; padding: 8px 60px; transform: rotate(-25deg); background: #f5ec24; color: #222; font-size: 12px; font-weight: 700; } */
.mortar-home .mortar-project-content {
    padding: 48px 35px;
}

.mortar-home .mortar-project-content h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.mortar-home .mortar-project-content p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.55;
}

/* Mortar services landing page */
.mortar-services-page { background: #fff; }
.mortar-services-title { padding: 32px 0 20px; text-align: center; }
.mortar-services-title h1, .mortar-services-heading h2 { margin: 0; font-size: 30px; font-weight: 700; text-transform: uppercase; }
.mortar-services-title h1::after{ display: block; width: 42px; height: 3px; margin: 8px auto 0; background: #e50019; content: ''; }
.mortar-services-solutions { padding: 34px 0 26px; background: #e50019 url('../img/background/Homepage\ BG_red.png') center / cover no-repeat; color: #fff; }
.mortar-services-heading { margin: 0 0 22px; text-align: center; }
.mortar-services-heading p { margin: 5px 0 0; text-transform: uppercase; }
/* .mortar-services-heading h2::after { background: currentColor; } */
.mortar-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1170px; margin: 0 auto; }
.mortar-services-card { display: block; overflow: hidden; background: #fff; color: #e50019; text-align: center; text-decoration: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.mortar-services-card .cover { height: 200px; margin: 0; overflow: hidden; }
.mortar-services-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mortar-services-card:hover .cover img { transform: scale(1.05); }
.mortar-services-card span { display: block; min-height: 42px; padding: 13px 8px; font-weight: 700; line-height: 16px; text-transform: uppercase; }
.mortar-services-catalog { padding: 35px 0; background: #fff url('../img/background/Homepage_BG_white.png') center / cover no-repeat; }
.mortar-e-catalog { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 198px; }
.mortar-e-catalog > img { display: block; width: 250px; max-width: 45%; object-fit: fill; box-shadow: 3px 4px 8px rgba(0, 0, 0, .35); }
.mortar-e-catalog__download { align-self: flex-end; display: inline-flex; align-items: center; gap: 12px; min-height: 37px; padding: 9px 12px 9px 15px; background: #5d5d5d; color: #fff !important;  line-height: 1.2; text-decoration: none !important; }
.mortar-e-catalog__download:hover, .mortar-e-catalog__download:focus { background: #444; color: #fff !important; }
.mortar-e-catalog__download .feather { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .55); font-size: 16px; }
.mortar-services-renovation { padding: 32px 0 34px; background: #5d5d5d; color: #fff; }
.mortar-services-renovation .mortar-services-heading h2::after { background: #e50019; }
.mortar-services-heading-line { display: block; width: 42px; height: 3px; margin: 8px auto 0; background: #e50019; }
.mortar-services-renovation .mortar-services-heading h2::after { display: none; }
.mortar-services-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 254px)); justify-content: center; gap: 20px; }
.mortar-services-service-grid .mortar-services-card .cover { height: 140px; }
.mortar-services-service-grid .mortar-services-card span { min-height: 32px; padding: 8px; }
.mortar-services-renovation .mortar-services-card span { background: #e52b31; color: #fff; }
.mortar-services-green-products { padding: 42px 0 38px; background: #244d27 url('../../assets/img/upload/mortar/whoweare_3.png') center / cover no-repeat; color: #fff; text-align: center; }
.mortar-green-products-content { max-width: 720px; margin: 0 auto; }
.mortar-green-products-content h2 { margin: 0; font-weight: 700; text-transform: uppercase; }
.mortar-green-products-content h2::after { display: block; width: 96px; height: 3px; margin: 10px auto 16px; background: #e50019; content: ''; }
.mortar-green-products-content p { margin: 0 auto 22px; line-height: 1.45; }
.mortar-green-products-content .btn { min-width: 125px; border: 0; border-radius: 0; background: #666; color: #fff;  text-transform: uppercase; }
.mortar-green-products-content .btn:hover, .mortar-green-products-content .btn:focus { background: #4e4e4e; color: #fff; }

/* Mortar project references */
.mortar-project-list { padding: 50px 0 70px; background: #fff url('../img/background/Homepage_BG_white.png') center / cover no-repeat; }
.mortar-project-heading { margin: 0 0 35px; text-align: center; }
.mortar-project-heading h2 { margin: 0; font-size: 30px; font-weight: 700; text-transform: uppercase; }
.mortar-project-heading h2::after { display: block; width: 42px; height: 3px; margin: 12px auto 0; background: #e50019; content: ''; }
.mortar-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 0; max-width: 960px; margin: 0 auto; }
.mortar-project-card { display: block; color: #444; text-align: center; text-decoration: none; }
.mortar-project-card .cover { height: 200px; margin: 0; overflow: hidden; }
.mortar-project-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mortar-project-card:hover .cover img { transform: scale(1.05); }
.mortar-project-card span { display: block; padding: 10px 8px 0; font-weight: 500; }
.mortar-project-detail-page .default-header { margin-bottom: 0; }
.mortar-project-detail { padding: 48px 0 70px; background: #fff; }
.mortar-project-detail .mortar-project-heading { margin-bottom: 26px; text-align: center; }
.mortar-project-detail .mortar-project-heading h2 { margin: 0; color: #151515; text-transform: uppercase; }
.mortar-project-detail .mortar-project-heading h2::after { display: block; width: 42px; height: 3px; margin: 12px auto 0; background: #e50019; content: ''; }
.mortar-project-detail__showcase { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr);  margin: 0 auto; background: #606060; }
.mortar-project-detail__image { height: 340px; margin: 0; overflow: hidden; }
.mortar-project-detail__image img { width: 100%; height: 100%; object-fit: cover; }
.mortar-project-detail__information { display: flex; flex-direction: column; justify-content: center; padding: 34px 28px; color: #fff; }
.mortar-project-detail__information h2 { margin: 0 0 16px; padding-left: 12px; border-left: 4px solid #e50019; color: #e50019; font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.mortar-project-detail__summary { color: #fff; font-size: 16px; font-style: italic; line-height: 1.4; white-space: pre-line; }
.mortar-project-detail__content { max-width: 820px; margin: 32px auto 0; color: #333; }
.mortar-project-detail__related { margin-top: 42px; }
.mortar-project-detail__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.mortar-project-detail__product { display: block; color: #333; text-align: center; text-decoration: none; }
.mortar-project-detail__product .cover { height: 150px; margin: 0; overflow: hidden; }
.mortar-project-detail__product img { width: 100%; height: 100%; object-fit: cover; }
.mortar-project-detail__product span { display: block; padding: 10px; font-weight: 700; }
@media (max-width: 767px) { .mortar-project-detail { padding: 35px 0 45px; } .mortar-project-detail__showcase { grid-template-columns: 1fr; margin: 0 22px; } .mortar-project-detail__image { height: 220px; } .mortar-project-detail__information { min-height: 160px; padding: 25px 22px; } .mortar-project-detail__content { margin: 25px 22px 0; } .mortar-project-detail__products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mortar-project-detail__product .cover { height: 115px; } }
@media (max-width: 767px) { .mortar-project-list { padding: 35px 0 45px; } .mortar-project-heading { margin-bottom: 25px; } .mortar-project-grid { gap: 16px 6px; } .mortar-project-card .cover { height: 85px; } .mortar-project-card span { padding: 7px 3px 0; font-size: 10px; line-height: 1.25; } }
@media (max-width: 767px) { .mortar-services-title { padding: 22px 0 14px; } .mortar-services-title h1, .mortar-services-heading h2 { font-size: 17px; } .mortar-services-solutions { padding: 26px 0 22px; } .mortar-services-grid { gap: 8px; } .mortar-services-card .cover { height: 100px; } .mortar-services-card span { min-height: 34px; padding: 9px 4px; font-size: 10px; line-height: 13px; } .mortar-services-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 0 auto; } }

@media (max-width: 767px) {
    .mortar-hero .cover {
        height: 72px;
    }

    .mortar-hero .cover .d-none.d-md-block {
        display: none !important;
    }

    .mortar-hero .cover .d-block.d-md-none {
        display: block !important;
    }

    .mortar-home .mortar-home-links {
        gap: 36px;
        padding: 28px 15px;
    }

    .mortar-home .mortar-home-links .link {
        font-size: 16px;
    }

    .mortar-home .mortar-home-links .icon {
        font-size: 30px;
    }

    .mortar-home .mortar-solution-grid {
        gap: 8px;
    }

    .mortar-home .mortar-solution-card .cover {
        height: 105px;
    }

    .mortar-home .mortar-solution-card .name {
        min-height: 38px;
        padding: 10px 4px;
        font-size: 10px;
        line-height: 1.2;
    }

    .mortar-home .mortar-standard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mortar-home .mortar-standard {
        min-height: 0;
        font-size: 13px;
    }

    .mortar-home .mortar-project-content {
        padding: 34px 24px;
    }
}

.mortar-home .mortar-home-standards{
    position: relative;
}

.mortar-home .mortar-home-standards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-blend-mode: multiply;
  background: url("../img/background/Homepage_BG_white.png") top center / 100% auto no-repeat;
    background-color: rgba(0, 0, 0, 0);
}

.mortar-home .mortar-home-standards > .container {
    position: relative;
    z-index: 1;
}

/* Thailand Mortar content-page banners */
body.site-mortar .default-header {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: #1d2b34;
}

body.site-mortar .default-header .wrapper,
body.site-mortar .default-header.tiny .wrapper {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: transparent;
    text-align: center;
}

body.site-mortar .default-header .wrapper > .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

body.site-mortar .default-header .cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

body.site-mortar .default-header .cover::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: rgba(7, 24, 35, 0.38);
}

body.site-mortar .default-header .cover::after {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: clamp(54px, 8vw, 120px);
    content: "";
    background: #e50019;
    clip-path: polygon(0 0, 48% 0, 100% 100%, 0 100%);
}

body.site-mortar .default-header .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.site-mortar .default-header .title {
    margin: 0 0 4px;
    padding: 0;
    color: #fff;
    font-size: clamp(18px, 2vw, 40px);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

body.site-mortar .default-header .breadcrumb-block {
    margin: 0;
    padding: 0;
}

body.site-mortar .default-header .breadcrumb {
    justify-content: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

body.site-mortar .default-header .breadcrumb li,
body.site-mortar .default-header .breadcrumb li.active,
body.site-mortar .default-header .breadcrumb .link,
body.site-mortar .standards-page .default-header .breadcrumb .link {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

body.site-mortar .default-header .breadcrumb li + li {
    margin-left: 6px;
    padding-left: 6px;
}

body.site-mortar .default-header .breadcrumb li + li::before {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 575px) {
    body.site-mortar .default-header {
        height: 105px;
    }

    body.site-mortar .default-header .title {
        font-size: 18px;
    }
}

/* Use the Mortar product-line name consistently on every Mortar page banner. */
body.site-mortar .default-header .title {
    font-size: 0 !important;
}

body.site-mortar .default-header .title::after {
    content: "MORTAR / DRY-MIXED";
    color: #fff;
    font-size: clamp(18px, 2vw, 40px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Thailand Mortar Standards detail page */
body.site-mortar .standards-detail-page .standards-detail {
    padding: 46px 0 0;
}

body.site-mortar .standards-detail-page .default-header {
    height: 240px;
    background: #26333b url("../img/upload/header-banner-ref.png") center / cover no-repeat;
}

body.site-mortar .standards-detail-page .standards-detail .row {
    align-items: center;
}

body.site-mortar .standards-detail-page .logo-box {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    padding: 18px 35px 38px;
}

body.site-mortar .standards-detail-page .logo-box img {
    max-width: 100%;
    max-height: 220px;
    width: 70%;
    object-fit: contain;
}

body.site-mortar .standards-detail-page .content-box {
    max-width: 510px;
    padding: 12px 0 42px;
}

body.site-mortar .standards-detail-page .content-box .title {
    margin: 0 0 12px;
    color: #111;
    font-size: 22px;
    line-height: 1.25;
}

body.site-mortar .standards-detail-page .content-box .line {
    width: 40px;
    height: 2px;
    margin-bottom: 14px;
    background: #e50019;
}

body.site-mortar .standards-detail-page .content-box .editor-content,
body.site-mortar .standards-detail-page .content-box .desc {
    color: #202020;
    /* font-size: 14px; */
    line-height: 1.35;
}

body.site-mortar .standards-detail-page .mortar-standard-content > :last-child {
    margin-bottom: 0;
}

body.site-mortar .standards-detail-page .mortar-standard-content p {
    margin: 0 0 10px;
}

body.site-mortar .standards-detail-page .mortar-standard-content h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

body.site-mortar .standards-detail-page .mortar-standard-content h2::after {
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 13px;
    content: "";
    background: #e50019;
}

body.site-mortar .standards-detail-page .mortar-standard-content .mortar-standard-link-list {
    display: none;
}

body.site-mortar .standards-detail-page .mortar-standard-content > h3 {
    display: none;
}

body.site-mortar .standards-detail-page .mortar-backoffice-related {
    padding: 0 0 36px;
    background: #626262;
    color: #fff;
    margin-top: 50px;
}

body.site-mortar .standards-detail-page .mortar-backoffice-related h3 {
    display: inline-block;
    margin: 0 0 23px;
    padding: 9px 18px;
    transform: translateY(-50%);
    background: #e50019;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

body.site-mortar .standards-detail-page .mortar-backoffice-related .mortar-standard-link-list {
    width: 100%;
    margin: -5px 0 0;
    padding: 0;
    list-style: none;
}

body.site-mortar .standards-detail-page .mortar-backoffice-related .mortar-standard-link-list li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 22px;
}

body.site-mortar .standards-detail-page .mortar-backoffice-related .mortar-standard-link-list li::before {
    position: absolute;
    top: 5px;
    left: 0;
    font-family: "Font Awesome 6 Free";
    font-size: 15px;
    font-weight: 900;
    content: "\f14a";
    color: #fff;
}

body.site-mortar .standards-detail-page .mortar-backoffice-related .mortar-standard-link-list a {
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
    text-decoration: underline;
    text-transform: uppercase;
}

body.site-mortar .standards-detail-page .mortar-related-inner {
    width: min(100% - 30px, 410px);
    margin: 0 auto;
    position: relative;
    left: 80px;
}

/* Backoffice content pattern: Where We Are / Mortar plant */
body.site-mortar .cms-basic .editor-content .mortar-where-we-are {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    color: #fff;
    font-family: inherit;
}

body.site-mortar .cms-basic .editor-content .mortar-where-we-are * {
    box-sizing: border-box;
}
body.site-mortar .cms-basic .editor-content .mortar-who-heading,
body.site-mortar .cms-basic .editor-content .mortar-where-heading {
    padding: 28px 20px 25px;
    background: #fff;
    color: #111;
    text-align: center;
}

body.site-mortar .cms-basic .editor-content .mortar-who-heading h2,
body.site-mortar .cms-basic .editor-content .mortar-where-heading h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}
body.site-mortar .cms-basic .editor-content .mortar-who-heading h2::after,
body.site-mortar .cms-basic .editor-content .mortar-where-heading h2::after {
    display: block;
    width: 38px;
    height: 2px;
    margin: 11px auto 0;
    content: "";
    background: #e50019;
}
body.site-mortar .cms-basic .editor-content .mortar-who-plant,
body.site-mortar .cms-basic .editor-content .mortar-where-plant {
    padding: 34px 20px 46px;
    background: linear-gradient(to bottom, #e50019 0, #e50019 65px, #626262 65px, #626262 100%);
}

body.site-mortar .cms-basic .editor-content .mortar-who-gallery,
body.site-mortar .cms-basic .editor-content .mortar-where-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}
body.site-mortar .cms-basic .editor-content .mortar-who-gallery img,
body.site-mortar .cms-basic .editor-content .mortar-where-gallery img {
    display: block;
    width: 100%;
    height: 320px;
    margin: 0;
    object-fit: cover;
}

/* Let the Who We Are images overlap the white heading area so the grey field begins lower. */
body.site-mortar .cms-basic .editor-content .mortar-who-gallery {
    position: relative;
    z-index: 1;
    margin-top: -36px;
}
body.site-mortar .cms-basic .editor-content .mortar-who-info,
body.site-mortar .cms-basic .editor-content .mortar-where-info {
    max-width: 650px;
    margin: 48px auto 0;
    text-align: center;
}
body.site-mortar .cms-basic .editor-content .mortar-who-info h3,
body.site-mortar .cms-basic .editor-content .mortar-where-info h3 {
    display: inline-block;
    margin: 0 0 34px;
    padding: 12px 35px;
    background: #e50019;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}
body.site-mortar .cms-basic .editor-content .mortar-who-info p ,
body.site-mortar .cms-basic .editor-content .mortar-where-info p {
    margin: 0;
    color: #fff;
    /* font-size: 14px; */
    /* line-height: 1.45; */
}


body.site-mortar .cms-basic .editor-content .mortar-who-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 30px 74px;
}

body.site-mortar .cms-basic .editor-content .mortar-who-copy {
    padding-left: 26px;
    border-left: 4px solid #e50019;
}

body.site-mortar .cms-basic .editor-content .mortar-who-copy p {
    margin: 0 0 24px;
    color: #fff;
    /* font-size: 13px; */
    /* line-height: 1.4; */
}

body.site-mortar .cms-basic .editor-content .mortar-who-copy p:last-child {
    margin-bottom: 0;
}

body.site-mortar .cms-basic .editor-content .mortar-who-quote {
    position: relative;
    max-width: 90%;
    margin: 65px auto 0;
    padding: 0 58px;
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

body.site-mortar .cms-basic .editor-content .mortar-who-quote::before,
body.site-mortar .cms-basic .editor-content .mortar-who-quote::after {
    position: absolute;
    color: #e50019;
    font-family: Georgia, serif;
    font-size: 64px;
    font-weight: 700;
    line-height: .6;
}

body.site-mortar .cms-basic .editor-content .mortar-who-quote::before {
    top: 0;
    left: 0;
    content: "“";
}

body.site-mortar .cms-basic .editor-content .mortar-who-quote::after {
    right: 0;
    bottom: -12px;
    content: "”";
}

body.site-mortar .cms-basic .editor-content .mortar-who-future {
    min-height: 180px;
    padding: 100px max(30px, calc((100vw - 800px) / 2));
    background: linear-gradient(rgba(8, 30, 11, .35), rgba(8, 30, 11, .35)), var(--mortar-who-future-bg, #294322) center / cover no-repeat;
    color: #fff;
}

body.site-mortar .cms-basic .editor-content .mortar-who-future p {
    max-width: 640px;
    margin: 0 auto;
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

body.site-mortar .cms-basic .editor-content .mortar-who-we-are {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    overflow: hidden;
    background: #626262;
    color: #fff;
}
body.site-mortar .cms-basic .editor-content .mortar-milestone {
    width: 100%;
    background: #fff;
}
body.site-mortar .cms-basic .editor-content .mortar-milestone > p {
    width: 1100px;
    margin: auto;
    padding: 50px 0;
}
body.site-mortar .cms-basic .editor-content .mortar-bottom{
     width: 100%;
    background: #fff;
    margin-top: -1px;
}

body.site-mortar .cms-basic .editor-content .mortar-bottom > p{
    width: 100%;
}

body.site-mortar .cms-basic .editor-content .mortar-bottom > p img{
    width: 100%;
}

@media (max-width: 767px) {
    body.site-mortar .cms-basic .editor-content .mortar-who-gallery { margin-top: -20px; }
    body.site-mortar .cms-basic .editor-content .mortar-who-gallery img { height: 135px; }
    body.site-mortar .cms-basic .editor-content .mortar-who-body { padding: 40px 22px 55px; }
    body.site-mortar .cms-basic .editor-content .mortar-who-copy { padding-left: 18px; }
    body.site-mortar .cms-basic .editor-content .mortar-who-quote { margin-top: 48px; padding: 0 40px; font-size: 17px; }
    body.site-mortar .cms-basic .editor-content .mortar-who-future { padding-top: 45px; padding-bottom: 45px; }
    body.site-mortar .cms-basic .editor-content .mortar-who-future p { font-size: 20px; }
}

@media (max-width: 767px) {
    body.site-mortar .cms-basic .editor-content .mortar-where-plant {
        padding: 25px 15px 35px;
    }

    body.site-mortar .cms-basic .editor-content .mortar-where-gallery img {
        height: 145px;
    }

    body.site-mortar .cms-basic .editor-content .mortar-where-info {
        margin-top: 32px;
    }

    body.site-mortar .cms-basic .editor-content .mortar-where-info h3 {
        margin-bottom: 24px;
        padding: 11px 22px;
        font-size: 16px;
    }
}

body.site-mortar .standards-detail-page .mortar-standard-content .mortar-standard-link-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

body.site-mortar .standards-detail-page .mortar-standard-content .mortar-standard-link-list li {
    margin: 7px 0;
}

body.site-mortar .standards-detail-page .mortar-standard-content .mortar-standard-link-list a {
    color: #202020;
    text-decoration: underline;
}

body.site-mortar .standards-detail-page .standards-related {
    padding: 0 0 36px;
    background: #626262;
}

body.site-mortar .standards-detail-page .standards-related .head span {
    padding: 9px 18px;
    background: #e50019;
    font-size: 12px;
}

body.site-mortar .standards-detail-page .standards-related .list {
    max-width: 410px;
}

body.site-mortar .standards-detail-page .standards-related .list li {
    margin-bottom: 8px;
    padding-left: 22px;
}

body.site-mortar .standards-detail-page .standards-related .list li::before {
    top: 1px;
    font-size: 11px;
}

body.site-mortar .standards-detail-page .standards-related .list a,
body.site-mortar .standards-detail-page .standards-related .list span {
    font-size: 13px;
    line-height: 1.25;
}

@media (max-width: 991px) {
    body.site-mortar .standards-detail-page .logo-box {
        min-height: 0;
        padding-bottom: 0;
    }

    body.site-mortar .standards-detail-page .content-box {
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.site-mortar .standards-detail-page .mortar-related-inner {
        left: 0;
    }
}

@media (max-width: 575px) {
    body.site-mortar .default-header .title::after {
        font-size: 18px;
    }
}

/* Mortar solution content entered through the CMS editor. */
body.site-mortar .cms-basic .editor-content .mortar-content { max-width: 1080px; margin: 0 auto; padding: 54px 0 70px; color: #151515; }
body.site-mortar .cms-basic .editor-content .mortar-content__intro { max-width: 850px; margin: 0 auto 42px; text-align: center; }
body.site-mortar .cms-basic .editor-content .mortar-content__title { margin: 0 0 22px; font-size: 28px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
body.site-mortar .cms-basic .editor-content .mortar-content__title::after { content: ''; display: block; width: 42px; height: 2px; margin: 15px auto 0; background: #ed1b2f; }
body.site-mortar .cms-basic .editor-content .mortar-content__intro p { margin: 0;  line-height: 1.55; }
body.site-mortar .cms-basic .editor-content .mortar-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
/* เมื่อรูปสุดท้ายเหลือตัวเดียว ให้คงความกว้างหนึ่งคอลัมน์และจัดกึ่งกลาง */
body.site-mortar .cms-basic .editor-content .mortar-content-grid > *:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 1.5px);
  justify-self: center;
}


body.site-mortar .cms-basic .editor-content .mortar-content-card { position: relative; display: block; min-height: 255px; overflow: hidden; color: #fff; text-decoration: none; background: #222; }
body.site-mortar .cms-basic .editor-content .mortar-content-card img { width: 100%; height: 100%; min-height: 255px; object-fit: cover; transition: transform .25s ease; }
body.site-mortar .cms-basic .editor-content .mortar-content-card:hover img { transform: scale(1.04); }
body.site-mortar .cms-basic .editor-content .mortar-content-card span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.16); font-size: 30px; font-weight: 700; line-height: 1.15; text-align: center; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
/* Bulk Solution and Applicator Community: 2 × 2 gallery with the fifth image centred below. */
body.site-mortar .cms-basic .editor-content .mortar-content-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin: 0 auto; }
body.site-mortar .cms-basic .editor-content .mortar-content-gallery img { display: block; width: 100%; height: 300px; object-fit: cover; }
body.site-mortar .cms-basic .editor-content .mortar-content-gallery img:first-child { grid-column: auto; }
body.site-mortar .cms-basic .editor-content .mortar-content-gallery img:nth-child(5) { grid-column: 1 / span 2; width: calc(50% - 1.5px); justify-self: center; }
body.site-mortar .cms-basic .editor-content .mortar-content-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: center; }
body.site-mortar .cms-basic .editor-content .mortar-content-feature > img { width: 100%; min-height: 390px; object-fit: cover; }
body.site-mortar .cms-basic .editor-content .mortar-content-copy h2 { margin: 0 0 25px; font-size: 28px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
body.site-mortar .cms-basic .editor-content .mortar-content-copy h2::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 15px; background: #ed1b2f; }
body.site-mortar .cms-basic .editor-content .mortar-content-copy p { margin: 0 0 8px; font-size: 15px; line-height: 1.48; }
body.site-mortar .cms-basic .editor-content .mortar-content-copy strong { color: #ed1b2f; }
@media (max-width: 767px) {
    body.site-mortar .cms-basic .editor-content .mortar-content { padding: 38px 0 45px; }
    body.site-mortar .cms-basic .editor-content .mortar-content__title, body.site-mortar .cms-basic .editor-content .mortar-content-copy h2 { font-size: 22px; }
    body.site-mortar .cms-basic .editor-content .mortar-content__intro { margin-bottom: 28px; }
    body.site-mortar .cms-basic .editor-content .mortar-content__intro p, body.site-mortar .cms-basic .editor-content .mortar-content-copy p { font-size: 14px; }
    body.site-mortar .cms-basic .editor-content .mortar-content-card, body.site-mortar .cms-basic .editor-content .mortar-content-card img { min-height: 145px; }
    body.site-mortar .cms-basic .editor-content .mortar-content-card span { font-size: 14px; }
    body.site-mortar .cms-basic .editor-content .mortar-content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.site-mortar .cms-basic .editor-content .mortar-content-gallery img { height: 145px; }
    body.site-mortar .cms-basic .editor-content .mortar-content-feature { grid-template-columns: 1fr; gap: 24px; }
    body.site-mortar .cms-basic .editor-content .mortar-content-feature > img { min-height: 0; }
}


 body.site-mortar .standards-page { background: #fff; }
    body.site-mortar .standards-page .default-header { position: relative; height: 240px; overflow: hidden; background: #26333b; }
    body.site-mortar .standards-page .default-header .wrapper { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30px 15px; text-align: center; }
    body.site-mortar .standards-page .default-header .wrapper > .container { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; }
    body.site-mortar .standards-page .default-header .cover { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; margin: 0; }
    body.site-mortar .standards-page .default-header .cover::before { position: absolute; z-index: 1; inset: 0; content: ""; background: rgba(7, 24, 35, .42); }
    body.site-mortar .standards-page .default-header .cover::after { position: absolute; z-index: 2; inset: 0 auto 0 0; width: clamp(85px, 10vw, 155px); content: ""; background: #e50019; clip-path: polygon(0 0, 46% 0, 100% 100%, 0 100%); }
    body.site-mortar .standards-page .default-header .cover img { width: 100%; height: 100%; object-fit: cover; }
    body.site-mortar .standards-page .default-header .title { margin: 0 0 8px; padding: 0; color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
    /* body.site-mortar .standards-page .default-header .breadcrumb { justify-content: center; margin: 0; padding: 0; background: transparent; }
    body.site-mortar .standards-page .default-header .breadcrumb li,
    body.site-mortar .standards-page .default-header .breadcrumb .link { color: #fff; font-size: 10px; text-transform: uppercase; }
    body.site-mortar .standards-page .default-header .breadcrumb li + li { margin-left: 8px; padding-left: 8px; } */
    body.site-mortar .standards-page .standards-intro { padding: 30px 15px 12px; text-align: center; }
    body.site-mortar .standards-page .standards-intro .title { margin: 0 0 10px; color: #111; font-size: 30px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
    body.site-mortar .standards-page .standards-intro .line { width: 38px; height: 2px; margin: 0 auto 16px; background: #e50019; }
    body.site-mortar .standards-page .standards-intro .desc { max-width: 670px; margin: 0 auto; color: #202020; font-size: 18px; line-height: 1.35; }
    body.site-mortar .standards-page .standards-grid-wrap { padding: 32px 15px 40px; background: #f7f7f7 url("../../front/template/default/assets_minisite/img/background/Homepage_BG_white.png") center / cover no-repeat; }
    body.site-mortar .standards-page .standards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; max-width: 800px; margin: 0 auto; }
    body.site-mortar .standards-page .standards-card { display: flex; min-height: 106px; align-items: center; justify-content: center; padding: 12px; background: #fff; border: 1px solid #aaa; box-shadow: 0 3px 7px rgba(0, 0, 0, .24); aspect-ratio: 1 / 1;}
    body.site-mortar .standards-page .standards-card:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, .25); }
    body.site-mortar .standards-page .standards-card img { display: block; max-width: 100%;  object-fit: contain; }
    @media (max-width: 575px) {
        body.site-mortar .standards-page .default-header { height: 180px; }
        body.site-mortar .standards-page .standards-intro .desc { font-size: 13px; }
        body.site-mortar .standards-page .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 330px; gap: 12px; }
        body.site-mortar .standards-page .standards-card { min-height: 100px; }
    }


    .layout-header .menu .dropdown-menu {
        height: auto;
    }


    .mortar-product-group .mortar-related-products__item {
        background: #fff;
        border-radius: 5px;
    }

/* Keep differently proportioned Mortar product packs fully visible in the
   product-group strip above the detail page. */
body.site-mortar .prodMenu-slider .cover {
    background: #fff;
}
body.site-mortar .prodMenu-slider .cover img {
    object-fit: contain;
    object-position: center;
}
body.site-mortar .prodDetail-info .cover {
    width:400px;
    background: #fff;
}
body.site-mortar .prodDetail-info .cover img {
    object-fit: contain;
    object-position: center;
}
body.site-mortar .prodDetail-info .mortar-product-group-name {
    margin: 0 0 8px;
    color: #222;
    font-size: 25px;
    /* font-weight: 700; */
}
body.site-mortar .prodDetail-info .mortar-product-subtitle {
    color: #e50019 !important;
}
body.site-mortar .prodDetail-info .mortar-product-description,
body.site-mortar .prodDetail-info .mortar-product-description * {
    color: #e50019 !important;
}

body.site-mortar .prodDetail-info .mortar-product-subtitle {
    white-space: pre-line;
    line-height: 1.55;
}

body.site-mortar .prodDetail-info .mortar-product-description {
    white-space: pre-line;
    line-height: 1.55;
}

body.site-mortar .mortar-product-template {
    margin-top: 32px;
    color: #26394f;
}

body.site-mortar .mortar-product-template h3 {
    margin: 0 0 12px;
    color: #26394f;
    font-size: 18px;
    font-weight: 700;
}

body.site-mortar .mortar-product-template p {
    margin: 0 0 28px;
    line-height: 1.65;
}

body.site-mortar .mortar-product-template table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
}

body.site-mortar .mortar-product-template th,
body.site-mortar .mortar-product-template td {
    padding: 14px 18px;
    background: #f7f7f7;
    text-align: center;
}

body.site-mortar .mortar-product-template th {
    color: #e50019;
    font-weight: 700;
}

body.site-mortar .mortar-product-template td:first-child {
    width: 66%;
    color: #e50019;
    font-weight: 700;
    text-align: left;
}
body.site-mortar .prodDetail-info .header,
body.site-mortar .prodDetail-info .body {
    max-width: none;
}
body.site-mortar .prodDetail-info .mortar-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}
body.site-mortar .prodDetail-info .mortar-product-actions > .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 100px;
    font-size: 25px;
    line-height: 1.15;
}
body.site-mortar .prodDetail-info .mortar-product-actions > .btn .row {
    flex-wrap: nowrap;
    width: 100%;
}
body.site-mortar .prodDetail-info .mortar-product-actions > .btn .text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 25px;
    line-height: 1.15;
    text-overflow: ellipsis;
}
body.site-mortar .prodDetail-info .mortar-calculate-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
}

body.site-mortar .mortar-calculate-body {
    padding: 50px 0 70px;
}

body.site-mortar .mortar-calculate { 
    /* width: min(100%, 674px); */
    margin: 0 auto;
}

body.site-mortar .mortar-calculate__heading {
    margin-bottom: 44px;
    text-align: center;
}

body.site-mortar .mortar-calculate__heading h2 {
    margin: 0;
    color: #202020;
    /* font-size: 22px; */
    font-weight: 800;
}

body.site-mortar .mortar-calculate__heading h2::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  background: #e50019;
    content: '';
}

body.site-mortar .mortar-calculate__heading p { margin: 0; font-size: 20px;margin-top: 15px; color: #666; }
body.site-mortar .mortar-calculate__solutions { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 34px; }
body.site-mortar .mortar-calculate__solution { display: inline-flex; align-items: center; gap: 7px; margin: 0; cursor: pointer; font-weight: 400; }
body.site-mortar .mortar-calculate__solution input[type="radio"] { display: inline-block; width: 18px; height: 18px; min-width: 18px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: #e50019; -webkit-appearance: radio !important; appearance: auto !important; }
body.site-mortar .mortar-calculate__field { max-width: 442px; margin-bottom: 27px; }
body.site-mortar .mortar-calculate__field label { display: block; margin-bottom: 9px; font-weight: 700; }
body.site-mortar .mortar-calculate select,
body.site-mortar .mortar-calculate input:not([type="radio"]) { width: 100%; height: 37px; padding: 0 16px; border: 1px solid #cfcfcf; border-radius: 0; background: #f7f7f7; color: #202020; }
body.site-mortar .mortar-calculate select { -webkit-appearance: auto; appearance: auto; }
body.site-mortar .mortar-calculate__area-row { display: block; }
body.site-mortar .mortar-calculate__field--area { width: 263px; }
body.site-mortar .mortar-calculate__area-input { display: flex; align-items: center; gap: 16px; }
body.site-mortar .mortar-calculate__area-input input { width: 126px; }
body.site-mortar .mortar-calculate__area-input span { font-weight: 600; white-space: nowrap; }
body.site-mortar .mortar-calculate__submit { min-width: 126px; height: 36px; margin-top: -9px; border: 0; background: #e50019; color: #fff;  font-weight: 800; cursor: pointer; }
body.site-mortar .mortar-calculate__submit:hover { background: #c30015; }
body.site-mortar .mortar-calculate__result { margin-top: 12px; padding: 14px 12px; border: 1px solid #cecece; background: #f7f7f7; }
body.site-mortar .mortar-calculate__result h3 { margin: 0 0 16px; color: #e50019;  font-weight: 800; }
body.site-mortar .mortar-calculate__result-row { display: flex; align-items: center; gap: 10px; font-weight: 400; }
body.site-mortar .mortar-calculate__result output { min-width: 126px; height: 37px; padding: 8px 14px; border: 1px solid #cfcfcf; background: #fff; text-align: center; }
body.site-mortar .mortar-calculate__result p { margin: 15px 0 0; color: #666;  }
body.site-mortar .mortar-calculate__note { margin: 17px 0 0; color: #e50019;  line-height: 1.6; }
body.site-mortar .mortar-calculate__empty { text-align: center; }

@media (max-width: 767px) {
    body.site-mortar .mortar-calculate-body { padding: 45px 0 55px; }
    body.site-mortar .mortar-calculate__heading h2 { font-size: 25px; }
    body.site-mortar .mortar-calculate__solutions { display: grid; grid-template-columns: 1fr; gap: 14px; }
    body.site-mortar .mortar-calculate__area-row { display: block; }
    body.site-mortar .mortar-calculate__field--area { width: 100%; }
    body.site-mortar .mortar-calculate__submit { width: 100%; }
    body.site-mortar .mortar-calculate__result-row { flex-wrap: wrap; }
}

/* Do not leave a short product group aligned to the left or show inactive
   slider controls. */
body.site-mortar .prodMenu-area.is-centered .prodMenu-slider {
    overflow: visible;
}
body.site-mortar .prodMenu-area.is-centered .swiper-wrapper {
    justify-content: center;
    gap: 20px;
}
body.site-mortar .prodMenu-area.is-centered .swiper-slide {
    flex: 0 0 150px;
    width: 150px;
}
body.site-mortar .prodMenu-area.is-centered .swiper-button-next,
body.site-mortar .prodMenu-area.is-centered .swiper-button-prev {
    display: none;
}

/* Green Products content page */
body.site-mortar .mortar-green-products { margin: 0 -15px; color: #171717; }
body.site-mortar .mortar-green-products__banner { display: block; width: 100%; height: auto; }
body.site-mortar .mortar-green-products__content { max-width: 940px; margin: 0 auto; padding: 58px 20px 70px; }
body.site-mortar .mortar-green-products__heading { max-width: 710px; margin: 0 auto 35px; text-align: center; }
body.site-mortar .mortar-green-products__heading h2 { margin: 0; font-size: 25px; font-weight: 800; }
body.site-mortar .mortar-green-products__heading h2::after { content: ''; display: block; width: 42px; height: 2px; margin: 17px auto 22px; background: #ed1c24; }
body.site-mortar .mortar-green-products__heading p { margin: 0; line-height: 1.55; }
body.site-mortar .mortar-green-products__table { border: 1px solid #aaa; }
body.site-mortar .mortar-green-products__row { display: grid; grid-template-columns: 1fr 1.3fr 1.65fr; }
body.site-mortar .mortar-green-products__row > div { min-height: 150px; padding: 20px 24px; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; display: flex; flex-direction: column; justify-content: center; }
body.site-mortar .mortar-green-products__row > div:last-child { border-right: 0; }
body.site-mortar .mortar-green-products__row:last-child > div { border-bottom: 0; }
body.site-mortar .mortar-green-products__row--head > div { min-height: 54px; padding: 12px; border-color: #fff; background: #007a3e; color: #fff; align-items: center; font-size: 14px; font-weight: 800; text-align: center; }
body.site-mortar .mortar-green-products__certificate { align-items: center; }
body.site-mortar .mortar-green-products__certificate img { max-width: 120px; max-height: 86px; object-fit: contain; }
body.site-mortar .mortar-green-products__row strong { display: block; margin-bottom: 8px; color: #007a3e; font-size: 15px; }
body.site-mortar .mortar-green-products__row p { margin: 0; font-size: 14px; line-height: 1.5; }
body.site-mortar .mortar-green-products__row ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.8; }
body.site-mortar .mortar-green-products__note { margin: 14px 0 0; color: #666; font-size: 12px; text-align: center; }
@media (max-width: 575px) {
    body.site-mortar .prodMenu-area.is-centered .swiper-wrapper {
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
    }
    body.site-mortar .prodMenu-area.is-centered .swiper-slide {
        flex-basis: 120px;
        width: 120px;
    }
    body.site-mortar .mortar-green-products__content { padding: 38px 15px 48px; }
    body.site-mortar .mortar-green-products__heading h2 { font-size: 21px; }
    body.site-mortar .mortar-green-products__row { grid-template-columns: 1fr; }
    body.site-mortar .mortar-green-products__row > div { min-height: auto; border-right: 0; padding: 18px; }
    body.site-mortar .mortar-green-products__row--head { display: none; }
    body.site-mortar .mortar-green-products__certificate img { max-height: 76px; }
}
}
