/* MacoStyle storefront — cohesive boutique look. Do not restyle #colors / #JsLstGoodSize. */
:root {
    --mx-ink: #2f3228;
    --mx-olive: #505441;
    --mx-leaf: #6d715d;
    --mx-cream: #f7f4ee;
    --mx-sand: #e8e0d2;
    --mx-line: #ece8df;
    --mx-rose: #c45b5b;
}

html, body {
    overflow-x: clip;
    overflow-y: auto;
    height: auto;
    max-height: none;
}

body {
    background: var(--mx-cream) !important;
}

main#main-content {
    overflow: visible;
    height: auto;
    display: block;
}

/* AOS must never hide page sections */
[data-aos],
[data-aos][data-aos],
html [data-aos^=fade],
html [data-aos^=zoom],
html [data-aos^=slide] {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

@media (max-width: 991px) {
    .header.shop .middle-inner .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo img { max-height: 44px !important; }

    .account-pill {
        padding: 6px 10px !important;
        font-size: 12px !important;
        max-width: 42vw;
    }

    .account-pill .JscustName {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 28vw;
        display: inline-block;
        vertical-align: middle;
    }

    .right-bar { gap: 8px !important; }
    .right-bar .sinlge-bar { padding: 0 4px; }

    .amant-ribbon { font-size: 12px; padding: 10px 12px; }
    .amant-ribbon-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .amant-ribbon a, .amant-ribbon button { width: 100%; }

    .maco-trust-row { gap: 8px; padding-bottom: 16px; }
    .maco-trust-row span { font-size: 12px; padding: 6px 10px; }

    .maco-steps span { font-size: 11px; padding: 6px 10px; }

    .hero-slider-full,
    .product-slider .single-product,
    .mid-banner-3d .single-banner,
    .single-product:hover {
        transform: none !important;
    }

    .product-slider,
    .hero-wrapper,
    .product-area {
        overflow: hidden;
    }

    .header.shop .shopping-item,
    .sinlge-bar.shopping .shopping-item {
        position: fixed !important;
        top: 70px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        overflow: hidden !important;
        padding: 14px !important;
        transform: none !important;
        z-index: 10050 !important;
    }

    .header .shopping-list li,
    .shopping-list li {
        display: flex !important;
        align-items: center !important;
        float: none !important;
        overflow: hidden !important;
        gap: 8px !important;
    }

    .header .shopping-list .cart-img,
    .cart-img {
        float: none !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .header .shopping-list .cart-img img,
    .cart-img img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        transform: none !important;
    }

    .blog-single .image,
    .blog-single-main .image,
    .product-gallery,
    .flexslider-thumbnails,
    .hero-slider-full,
    .hero-wrapper,
    .product-img-wrapper {
        overflow: hidden !important;
        max-width: 100%;
    }

    .blog-single .image img,
    .blog-single-main .image img,
    .single-banner img,
    .article-body img {
        max-width: 100% !important;
        height: auto !important;
    }

    .product-gallery img {
        max-width: 100% !important;
    }

    .blog-single .image img,
    .blog-single-main .image img {
        max-height: 220px !important;
        object-fit: cover !important;
    }

    .table-responsive,
    #tblOrders {
        overflow-x: auto;
        max-width: 100%;
    }

    .nice-select .list {
        max-width: 100%;
        left: 0;
        right: 0;
    }

    .admin-shell { padding-top: 96px; padding-bottom: 40px; }
    .admin-nav a { font-size: 12px; padding: 7px 10px; }
}

.header.shop {
    box-shadow: 0 8px 28px rgba(80, 84, 65, 0.08) !important;
    border-bottom: 1px solid rgba(80, 84, 65, 0.06) !important;
}

.account-pill {
    box-shadow: 0 8px 18px rgba(80, 84, 65, 0.28);
}

@media (max-width: 576px) {
    .account-pill {
        padding: 7px 11px;
        font-size: 12px;
        gap: 6px;
    }
}

.amant-ribbon {
    background: linear-gradient(135deg, #505441, #2f3228);
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    display: none;
}

.amant-ribbon-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.amant-ribbon a,
.amant-ribbon button {
    border: 0;
    background: #fff;
    color: #505441 !important;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.amant-ribbon .is-wait {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.35);
}

.maco-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    padding: 4px 0 28px;
}

.maco-trust-row span {
    background: #fff;
    border: 1px solid var(--mx-line);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--mx-olive);
    box-shadow: 0 6px 16px rgba(80, 84, 65, 0.05);
}

.section-title h2 {
    font-weight: 900;
    letter-spacing: -0.4px;
}

.footer {
    background: #2f3228 !important;
}

.footer h4 {
    color: #fff !important;
}

.maco-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}

.maco-steps span {
    background: #fff;
    border: 1px solid var(--mx-line);
    color: #888;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 800;
}

.maco-steps span.is-on {
    background: var(--mx-olive);
    border-color: var(--mx-olive);
    color: #fff;
}

.btn, .pay-btn, .buy-cta, .add-to-cart .btn {
    letter-spacing: 0;
}

input.form-control:focus,
.custom-input:focus,
textarea:focus {
    border-color: var(--mx-olive) !important;
    box-shadow: 0 0 0 4px rgba(80, 84, 65, 0.12) !important;
}

.store-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--mx-line);
    border-radius: 16px;
}

.store-bar ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #666;
}

.store-bar li + li::before {
    content: "/";
    margin-left: 10px;
    color: #cbbfae;
}

.store-bar a { color: var(--mx-olive); text-decoration: none; }
.store-bar a:hover { text-decoration: underline; }

.store-home-btn {
    background: var(--mx-olive);
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.store-home-btn.is-ghost {
    background: var(--mx-card, #fff) !important;
    color: var(--mx-olive) !important;
    border: 1px solid var(--mx-line);
}
.article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-title { color: #2f3228; }
.blog-page { padding: 110px 0 70px; }
.skip-link {
    position: absolute;
    right: -999px;
    top: 8px;
    background: #505441;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    z-index: 100000;
}
.skip-link:focus { right: 12px; }
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--mx-line);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 24px rgba(80,84,65,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card .body { padding: 16px 18px 20px; }
.blog-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--mx-ink); margin: 8px 0 10px; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card .more { font-weight: 800; color: var(--mx-olive); text-decoration: none; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(80,84,65,.1); }
.blog-article .blog-title { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; color: #2f3228; line-height: 1.5; }
.article-body { font-size: 1.02rem; line-height: 2; color: #444; }
.article-body h2 { font-size: 1.15rem; font-weight: 800; margin: 22px 0 10px; color: #2f3228; }
.article-body ul, .article-body ol { padding-right: 18px; margin-bottom: 16px; }
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--mx-line);
    border-radius: 18px;
    padding: 18px 16px;
    text-decoration: none !important;
    color: #2f3228;
    min-height: 110px;
    box-shadow: 0 10px 24px rgba(80,84,65,.06);
}
.contact-card strong { font-size: 1.05rem; }
.contact-card span { color: #6b675e; font-size: .92rem; }
.contact-card:hover { border-color: var(--mx-olive); }
.faq-area .accordion-item { border: 1px solid var(--mx-line); border-radius: 14px; overflow: hidden; margin-bottom: 10px; background: #fff; }
.faq-area .accordion-button { font-weight: 800; color: #2f3228; }
.faq-area .accordion-button:not(.collapsed) { background: #f7f4ee; color: #2f3228; box-shadow: none; }

@media (max-width: 768px) {
    .store-bar { margin-top: 8px; }
    .store-home-btn { width: 100%; text-align: center; }
    .blog-page { padding-top: 96px; }
    .article-actions { flex-direction: column; }
    .hello h3, .checkout-hero h2 { overflow-wrap: anywhere; }
    .dash-card, .checkout-card, .stat { overflow: hidden; }
    .input-group { flex-wrap: nowrap; }
    .product-des .price .discount { word-break: break-word; }
}
