.mzasystem-body {
    background: var(--brand-bg, #f8f8f8);
    color: #222;
    font-family: "Public Sans", sans-serif;
}

.mzasystem-body .page-main {
    min-height: calc(100vh - 420px);
}

.mzasystem-licence-muted {
    filter: grayscale(1) contrast(0.64) brightness(0.25);
    background: #2b2b2b;
}

.mzasystem-body .theme-color {
    color: var(--brand-primary, #527637) !important;
}

.mzasystem-top-note {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    color: #fff;
}

.mzasystem-top-note h6 {
    margin: 0;
    color: #fff;
}

.mzasystem-top-note a,
.mzasystem-top-note a:hover,
.mzasystem-top-note a:focus,
.mzasystem-top-note .text-white {
    color: #fff !important;
}

.mzasystem-logo {
    max-height: 98px;
}

.mzasystem-footer-logo {
    max-width: 210px;
}

.mzasystem-search .btn,
.mzasystem-search-mobile .btn {
    background: var(--brand-primary, #527637);
    color: #fff;
}

.header-wishlist,
.header-wishlist i,
.mzasystem-mini-cart .btn,
.mzasystem-mini-cart .btn i,
.mzasystem-floating-whatsapp,
.mzasystem-floating-whatsapp i {
    color: #fff !important;
}

.rightside-box .right-side-menu .right-side.d-xl-none > .mzasystem-mobile-search-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    color: #fff !important;
}

.rightside-box .right-side-menu .right-side.d-xl-none > .mzasystem-mobile-search-toggle i {
    color: #fff !important;
}

.mzasystem-mobile-search {
    padding: 0 0 14px;
    background: #000;
}

.mzasystem-mobile-search .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.mzasystem-mobile-search .form-control {
    min-height: 44px;
    border: 0;
}

.mzasystem-mobile-search .btn {
    min-width: 48px;
    background: var(--brand-primary, #527637);
    color: #fff !important;
}

.mzasystem-mobile-search .btn i {
    color: #fff !important;
}

.mzasystem-products-grid,
.mzasystem-banner-grid {
    row-gap: 18px;
}

footer::before,
footer::after {
    content: none !important;
    background-image: none !important;
}

.mzasystem-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mzasystem-product-card .product-image {
    background: #fff;
    overflow: hidden;
    position: relative;
}

.mzasystem-product-card .product-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
    padding: 0;
    transform: scale(1.2);
}

.mzasystem-product-card .product-detail {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mzasystem-product-card .product-detail .name {
    min-height: 44px;
}

.mzasystem-product-card .product-detail .price {
    min-height: 29px;
}

.mzasystem-product-card .price-qty {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mzasystem-product-card .buy-button {
    border: 0;
}

.mzasystem-product-card .label-flex {
    min-height: 32px;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.mzasystem-product-card .label-flex .badge {
    background: var(--brand-primary, #527637);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.mzasystem-product-card .label-flex .badge.bg-warning {
    color: #2b2b2b;
}

.mzasystem-product-card .label-flex .badge.bg-secondary {
    background: #f3f3f3 !important;
    color: var(--brand-primary, #527637);
    border: 1px solid #d8e0d2;
}

.mzasystem-section-head {
    margin-bottom: 24px;
}

.mzasystem-section-head h2,
.mzasystem-section-head h3,
.mzasystem-page-title h2,
.mzasystem-page-title h3 {
    color: #222;
    margin-bottom: 4px;
}

.mzasystem-section-head p,
.mzasystem-page-title p,
.mzasystem-muted {
    color: #6c757d;
}

.mzasystem-banner-card img,
.mzasystem-hero-slide img {
    width: 100%;
    border-radius: 12px;
}

.mzasystem-banner-card {
    border-radius: 12px;
    overflow: hidden;
}

.mzasystem-banner-card > a {
    position: relative;
    display: block;
}

.mzasystem-banner-card > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 18%, rgba(0, 0, 0, 0.62) 100%);
}

.mzasystem-banner-card img {
    display: block;
    width: 100%;
    height: 187px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.mzasystem-banner-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mzasystem-home-slider {
    width: 80%;
    max-width: 1280px;
    margin: 0 auto 12px;
}

.mzasystem-home-slider .carousel-inner {
    border-radius: 16px;
    overflow: hidden;
}

.mzasystem-home-slider .mzasystem-hero-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.mzasystem-filter-card,
.mzasystem-detail-card,
.mzasystem-cart-card,
.mzasystem-info-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(34, 34, 34, 0.08);
    padding: 24px;
}

.mzasystem-filter-card .form-label,
.mzasystem-cart-card .form-label {
    font-weight: 600;
}

.mzasystem-filter-card .btn,
.mzasystem-cart-card .btn,
.mzasystem-detail-card .btn,
.mzasystem-outline-btn,
.mzasystem-solid-btn {
    border-radius: 10px;
}

.mzasystem-solid-btn,
.mzasystem-outline-btn:hover {
    background: var(--brand-primary, #527637);
    border-color: var(--brand-primary, #527637);
    color: #fff;
}

.mzasystem-outline-btn {
    border: 1px solid var(--brand-primary, #527637);
    color: var(--brand-primary, #527637);
    background: #fff;
}

.mzasystem-category-link {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
}

footer::before,
footer::after {
    background-image: none !important;
}

.footer-section-2 .light-text,
.footer-section-2 .footer-address .inform-box,
.footer-section-2 .footer-address .inform-box p,
.footer-section-2 .footer-link-color,
.footer-section-2 .mzasystem-category-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

.footer-section-2 .light-text:hover,
.footer-section-2 .footer-link-color:hover,
.footer-section-2 .mzasystem-category-link:hover {
    color: #ffffff !important;
}

.footer-section-2 .footer-title h4 {
    color: #ffffff !important;
}

.mzasystem-detail-gallery-main {
    width: 100%;
    border-radius: 16px;
    background: #fff;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    padding: 24px;
    border: 1px solid #ececec;
}

.mzasystem-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.mzasystem-detail-thumb {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
}

.mzasystem-detail-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.mzasystem-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff5ea;
    color: var(--brand-primary, #527637);
    font-weight: 700;
    margin-bottom: 20px;
}

.mzasystem-stock-pill.is-empty {
    background: #fdeeee;
    color: #b94a48;
}

.mzasystem-cart-item + .mzasystem-cart-item {
    margin-top: 16px;
}

.mzasystem-cart-item {
    border-bottom: 1px solid #efefef;
    padding-bottom: 16px;
}

.mzasystem-cart-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mzasystem-cart-thumb {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 10px;
}

.mzasystem-floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    z-index: 1050;
    font-size: 28px;
}

.mzasystem-mega-menu {
    min-width: min(1100px, 95vw);
    padding: 24px;
}

.mzasystem-mega-menu .dropdown-item {
    padding-left: 0;
    padding-right: 0;
}

.mzasystem-mini-cart {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
}

.mzasystem-mini-cart .btn {
    background: var(--brand-primary, #527637);
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: 0 12px 24px rgba(82, 118, 55, 0.25);
}

.mzasystem-mini-cart .btn span,
.mzasystem-nav-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: 8px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-primary, #527637);
    font-size: 12px;
    font-weight: 800;
}

.mzasystem-nav-cart-link {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
}

.mzasystem-breadcrumb {
    margin-bottom: 18px;
}

.mzasystem-breadcrumb a {
    color: var(--brand-primary, #527637);
}

.mzasystem-detail-price {
    font-size: 34px;
    font-weight: 800;
    color: var(--brand-primary, #527637);
}

.mzasystem-qty-box {
    max-width: 170px;
}

.mzasystem-card-cart-form {
    margin-top: auto;
}

.mzasystem-card-cart-actions{
    display:flex;
    align-items:stretch;
    gap:8px;
    width:100%;
    overflow:visible;
}

.mzasystem-card-qty-box{
    width:135px;
    min-width:135px;
    flex:0 0 135px;
}

.mzasystem-card-add-btn{
    flex:0 0 48px;
    min-width:48px;
    width:48px;
}

.mzasystem-card-qty-box{
    display:flex;
    flex-wrap:nowrap;
    align-items:stretch;
    width: 125px;
    min-width: 125px;
    flex: 0 0 125px;
    margin-bottom:0;
}

.mzasystem-qty-box .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.mzasystem-card-qty-box .mzasystem-outline-btn,
.mzasystem-qty-box .mzasystem-outline-btn {
    width: 42px;
    min-width: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mzasystem-card-qty-box input,
.mzasystem-qty-box input {
    min-width: 0;
    flex: 1 1 auto;
    text-align: center;
}
.mzasystem-card-qty-box input{
    min-width: 55px;
    text-align:center;
    font-weight:700;
    padding-left:4px;
    padding-right:4px;
}
.mzasystem-card-add-btn{
    width:48px;
    min-width:48px;
    height:42px;
    padding:0 !important;
    background: var(--brand-primary, #527637);
    border:1px solid var(--brand-primary, #527637);
    color:#fff;
    border-radius:10px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:.25s;
    overflow:visible;
}

.mzasystem-card-add-btn::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    font-size: 17px;
    line-height: 1;
    display: block;
}

.mzasystem-card-add-btn:hover{
    filter:brightness(.92);
    color:#fff;
}

.mzasystem-card-add-mobile {
    display: none;
}

.mzasystem-product-card .product-detail > a,
.mzasystem-product-card .text-content {
    display: block;
}

@media (max-width: 767.98px) {
    .mzasystem-card-cart-actions {
        gap: 6px;
    }

    .mzasystem-card-add-btn {
        flex: 0 0 42px;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        gap: 0;
        font-size: 17px;
        line-height: 1;
    }

    .mzasystem-card-add-btn::before {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        line-height: 18px;
    }

    .mzasystem-card-add-text {
        display: none !important;
    }

    .mzasystem-card-add-mobile {
        display: inline !important;
    }

    .mzasystem-card-qty-box {
        width: auto;
        min-width: 96px;
        flex: 1 1 auto;
    }

    .mzasystem-card-qty-box .mzasystem-outline-btn {
        width: 30px;
        min-width: 30px;
    }

    .mzasystem-card-qty-box input {
        min-width: 36px;
        padding-left: 2px;
        padding-right: 2px;
    }
}

.mzasystem-hero-caption {
    background: rgba(0, 0, 0, 0.24);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.mzasystem-empty-state {
    background: #fff;
    border-radius: 14px;
    padding: 44px 24px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(34, 34, 34, 0.08);
}

.mzasystem-contact-list li {
    margin-bottom: 14px;
}

.mzasystem-contact-list li:last-child {
    margin-bottom: 0;
}

.mzasystem-map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}

.mzasystem-map-embed {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.mzasystem-map-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    border: 0 !important;
    border-radius: 12px;
    display: block;
}

.mzasystem-footer-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1199px) {
    .mzasystem-mini-cart {
        top: auto;
        right: 14px;
        bottom: 88px;
        transform: none;
        z-index: 1030;
    }

    .mzasystem-mini-cart .btn {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .mzasystem-top-note {
        gap: 10px;
    }

    .mzasystem-logo {
        max-height: 82px;
    }

    .mzasystem-filter-card,
    .mzasystem-detail-card,
    .mzasystem-cart-card,
    .mzasystem-info-card {
        padding: 18px;
    }

    .mzasystem-home-slider .mzasystem-hero-slide img {
        height: 360px;
    }

    .mzasystem-banner-card img {
        height: 162px;
    }

    .mzasystem-banner-label {
        font-size: 18px;
        left: 16px;
        right: 16px;
        bottom: 14px;
    }

    .mzasystem-map-frame,
    .mzasystem-map-embed iframe {
        height: 360px !important;
        min-height: 360px !important;
    }
}

@media (max-width: 575px) {
    .mzasystem-floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .mzasystem-footer-copy {
        align-items: flex-start;
    }

    .mzasystem-home-slider .mzasystem-hero-slide img {
        height: 260px;
    }

    .mzasystem-map-frame,
    .mzasystem-map-embed iframe {
        height: 300px !important;
        min-height: 300px !important;
    }
}

@media (max-width: 767.98px) {
    .mzasystem-banner-grid {
        row-gap: 10px;
    }

    .mzasystem-banner-card,
    .mzasystem-banner-card img {
        border-radius: 8px;
    }

    .mzasystem-banner-card img {
        height: 110px;
    }

    .mzasystem-banner-label {
        font-size: 13px;
        left: 12px;
        right: 12px;
        bottom: 10px;
    }
}

@media (max-width: 575px) {
    .mzasystem-banner-card img {
        height: 100px;
    }

    .mzasystem-banner-label {
        font-size: 12px;
        left: 10px;
        right: 10px;
        bottom: 8px;
    }
}

@media (max-width: 767.98px) {
    .mzasystem-home-categories .mzasystem-banner-card img {
        height: 178px;
    }

    .mzasystem-home-categories .mzasystem-banner-label {
        font-size: 10px;
        left: 8px;
        right: 8px;
        bottom: 6px;
    }
}

@media (max-width: 575px) {
    .mzasystem-home-categories .mzasystem-banner-card img {
        height: 161px;
    }

    .mzasystem-home-categories .mzasystem-banner-label {
        font-size: 9px;
        left: 7px;
        right: 7px;
        bottom: 5px;
    }
}

.mzasystem-category-auto-wrap {
    position: relative;
}

.mzasystem-category-auto {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 0 26px;
}

.mzasystem-category-auto::-webkit-scrollbar {
    display: none;
}

.mzasystem-category-auto.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.mzasystem-category-auto-track {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 4px 2px;
}

.mzasystem-category-hint {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px 2px;
}

.mzasystem-category-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #e3e3e3;
    background: rgba(255, 255, 255, 0.95);
    color: #2f2f2f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mzasystem-category-control-btn-prev {
    left: 2px;
}

.mzasystem-category-control-btn-next {
    right: 2px;
}

.mzasystem-category-slide {
    flex: 0 0 calc((100% - 36px) / 3.6);
    min-width: 220px;
}

@media (max-width: 1199px) {
    .mzasystem-category-slide {
        flex-basis: calc((100% - 20px) / 2.4);
        min-width: 180px;
    }
}

@media (max-width: 767.98px) {
    .mzasystem-category-auto {
        padding: 0 8px;
        scroll-snap-type: x mandatory;
    }

    .mzasystem-category-auto-track {
        gap: 10px;
        padding: 4px 0;
    }

    .mzasystem-category-slide {
        flex: 0 0 calc(100% - 16px);
        min-width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        margin: 0 auto;
        box-sizing: border-box;
        scroll-snap-align: center;
    }

    .mzasystem-home-categories .mzasystem-banner-card,
    .mzasystem-home-categories .mzasystem-banner-card > a,
    .mzasystem-home-categories .mzasystem-banner-card img {
        width: 100%;
        max-width: 100%;
    }

    .mzasystem-home-categories .mzasystem-banner-card img {
        display: block;
        object-fit: cover;
    }

    .mzasystem-category-hint {
        font-size: 12px;
    }

    .mzasystem-category-control-btn {
        width: 28px;
        height: 28px;
    }

    .mzasystem-category-control-btn-prev {
        left: 2px;
    }

    .mzasystem-category-control-btn-next {
        right: 2px;
    }

}
