/* Scoped homepage-only styles: do not replace the theme style.css. */
.mj-home-refresh{--blush:#F3C9D5;--pink-petal:#ED9FA7;--aged-wood:#8F665B;--espresso:#4b2927;--deep-wood:#68443c;--cream:#fff9f8;--soft-white:#fffdfc;--ink:#3f2926;--muted:#735a54;--line:rgba(143,102,91,.25);color:var(--ink)}
.mj-home-refresh *{box-sizing:border-box}
.mj-home-refresh .eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;color:var(--aged-wood);margin:0 0 22px}
.mj-home-refresh .btn{display:inline-flex;justify-content:center;align-items:center;min-height:54px;padding:0 28px;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:700;text-decoration:none}
.mj-home-refresh .btn-light{background:var(--blush);color:var(--espresso)}
.mj-home-refresh .text-link{font-weight:700;border-bottom:1px solid currentColor;padding-bottom:5px}
.mj-home-refresh .eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;color:var(--aged-wood);margin:0 0 22px}
.mj-home-refresh .section-heading h2, .mj-home-refresh .shade-copy h2, .mj-home-refresh .story-copy h2, .mj-home-refresh .faq h2{font-family:"Playfair Display";font-size:clamp(48px,6vw,86px);line-height:.98;margin:0;letter-spacing:-.04em}
.mj-home-refresh .btn{display:inline-flex;justify-content:center;align-items:center;min-height:54px;padding:0 28px;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:700;transition:transform .2s ease,box-shadow .2s ease}
.mj-home-refresh .btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(75,41,39,.14)}
.mj-home-refresh .btn-dark{background:var(--aged-wood);color:#fff}
.mj-home-refresh .btn-light{background:var(--blush);color:var(--espresso)}
.mj-home-refresh .text-link{font-weight:700;border-bottom:1px solid currentColor;padding-bottom:5px}
.mj-home-refresh .benefits-strip{display:grid;grid-template-columns:repeat(4,1fr);background:var(--soft-white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mj-home-refresh .benefits-strip div{padding:30px;text-align:center;border-right:1px solid var(--line)}
.mj-home-refresh .benefits-strip div:last-child{border-right:0}
.mj-home-refresh .benefits-strip strong{display:block;font-family:"Playfair Display";font-size:28px;color:var(--aged-wood)}
.mj-home-refresh .benefits-strip span{font-size:12px;color:var(--muted)}
.mj-home-refresh .shop-section{padding:120px 5vw;background:var(--cream)}
.mj-home-refresh .section-heading{display:grid;grid-template-columns:1.3fr .7fr;gap:80px;align-items:end;margin-bottom:60px}
.mj-home-refresh .section-heading h2, .mj-home-refresh .shade-copy h2, .mj-home-refresh .story-copy h2, .mj-home-refresh .faq h2{font-size:clamp(42px,5vw,72px)}
.mj-home-refresh .section-heading>p{line-height:1.8;color:var(--muted);max-width:480px}
.mj-home-refresh .product-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:22px}
.mj-home-refresh .product-card{background:var(--soft-white);box-shadow:0 12px 35px rgba(143,102,91,.08)}
.mj-home-refresh .product-art{height:500px;position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.mj-home-refresh .featured-card .product-art{height:610px}
.mj-home-refresh .peach-art{background:linear-gradient(145deg,var(--blush),var(--pink-petal))}
.mj-home-refresh .cocoa-art{background:linear-gradient(145deg,#d8b5ae,var(--aged-wood))}
.mj-home-refresh .blush-art{background:linear-gradient(145deg,#fdeef2,var(--blush))}
.mj-home-refresh .badge{position:absolute;top:18px;left:18px;background:var(--soft-white);padding:9px 12px;font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--aged-wood)}
.mj-home-refresh .legs{height:92%;width:54%;display:flex;gap:16px;align-items:flex-start}
.mj-home-refresh .legs span{width:50%;height:100%;border-radius:50% 50% 24px 24px;box-shadow:inset 10px 0 30px rgba(255,255,255,.15)}
.mj-home-refresh .legs-medium span{background:#8e563e}
.mj-home-refresh .legs-deep span{background:#4b2a20}
.mj-home-refresh .legs-light span{background:#ad7459}
.mj-home-refresh .product-info{display:flex;justify-content:space-between;gap:20px;padding:22px}
.mj-home-refresh .product-info h3{margin:0 0 6px;font-family:"Playfair Display";font-size:20px}
.mj-home-refresh .product-info p{margin:0;color:var(--muted);font-size:13px}
.mj-home-refresh .product-info>strong{color:var(--aged-wood)}
.mj-home-refresh .shade-section{background:var(--aged-wood);color:#fff;padding:120px 6vw;display:grid;grid-template-columns:42% 58%;gap:70px;align-items:center}
.mj-home-refresh .shade-section .eyebrow{color:var(--blush)}
.mj-home-refresh .shade-copy p:not(.eyebrow){line-height:1.8;color:#f8e8eb;font-size:17px}
.mj-home-refresh .shade-copy .btn{margin-top:20px}
.mj-home-refresh .shade-swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.mj-home-refresh .swatch-card{background:rgba(255,255,255,.1);padding:14px;border:1px solid rgba(255,255,255,.22)}
.mj-home-refresh .swatch-card span{display:block;height:260px;background:var(--swatch);margin-bottom:16px}
.mj-home-refresh .swatch-card strong, .mj-home-refresh .swatch-card small{display:block}
.mj-home-refresh .swatch-card small{color:#f4dde2;margin-top:4px}
.mj-home-refresh .how-section{padding:120px 5vw;background:var(--soft-white)}
.mj-home-refresh .compact-heading{margin-bottom:48px}
.mj-home-refresh .how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mj-home-refresh .how-grid article{padding:34px;background:linear-gradient(145deg,#fbe9ee,var(--blush));border:1px solid rgba(237,159,167,.45)}
.mj-home-refresh .how-grid article>span{font-family:"Playfair Display";font-size:34px;color:var(--aged-wood)}
.mj-home-refresh .how-grid h3{font-family:"Playfair Display";font-size:24px;margin:24px 0 12px}
.mj-home-refresh .how-grid p{color:var(--muted);line-height:1.7;margin:0}
.mj-home-refresh .story-section{display:grid;grid-template-columns:1fr 1fr;min-height:700px}
.mj-home-refresh .story-portrait{background:linear-gradient(145deg,var(--pink-petal),var(--blush));position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.mj-home-refresh .portrait-face{position:absolute;width:170px;height:210px;background:#5f3527;border-radius:45% 45% 48% 48%;top:110px;z-index:2}
.mj-home-refresh .portrait-hair{position:absolute;width:260px;height:260px;background:#1c1210;border-radius:48%;top:52px;box-shadow:-70px 60px 0 -20px #1c1210,70px 60px 0 -20px #1c1210}
.mj-home-refresh .portrait-body{width:70%;height:430px;background:var(--cream);border-radius:50% 50% 0 0;position:relative;z-index:1}
.mj-home-refresh .story-portrait span{position:absolute;bottom:30px;left:30px;background:var(--soft-white);padding:14px 18px;z-index:4;font-family:"Playfair Display";font-style:italic;color:var(--aged-wood)}
.mj-home-refresh .story-copy{padding:90px 8vw;display:flex;flex-direction:column;justify-content:center;background:var(--soft-white)}
.mj-home-refresh .story-copy p:not(.eyebrow){font-size:17px;line-height:1.8;color:var(--muted)}
.mj-home-refresh .story-copy .text-link{align-self:flex-start;margin-top:12px}
.mj-home-refresh .reviews{padding:110px 5vw;text-align:center;background:var(--blush)}
.mj-home-refresh .review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px}
.mj-home-refresh .review-grid blockquote{margin:0;background:var(--soft-white);padding:40px;text-align:left;border-top:5px solid var(--pink-petal)}
.mj-home-refresh .review-grid blockquote div{letter-spacing:4px;font-size:12px;color:var(--aged-wood)}
.mj-home-refresh .review-grid blockquote p{font-family:"Playfair Display";font-size:22px;line-height:1.5}
.mj-home-refresh .review-grid cite{font-style:normal;font-size:13px;color:var(--muted)}
.mj-home-refresh .faq{padding:110px 6vw;display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;background:var(--cream)}
.mj-home-refresh .accordion button{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:0;border-bottom:1px solid var(--line);padding:24px 0;font:600 17px "DM Sans";text-align:left;color:var(--ink)}
.mj-home-refresh .accordion b{font-size:24px;font-weight:400;color:var(--aged-wood)}
.mj-home-refresh .answer{display:none;padding:18px 0 28px;color:var(--muted);line-height:1.7;border-bottom:1px solid var(--line)}
.mj-home-refresh .answer.open{display:block}
.mj-home-refresh .accordion button:focus-visible, .mj-home-refresh .btn:focus-visible, .mj-home-refresh .text-link:focus-visible{outline:3px solid var(--pink-petal);outline-offset:4px}
@media (max-width:980px){.mj-home-refresh .benefits-strip{grid-template-columns:1fr 1fr}
.mj-home-refresh .product-grid{grid-template-columns:1fr 1fr}
.mj-home-refresh .featured-card{grid-column:1/-1}
.mj-home-refresh .section-heading,.mj-home-refresh .shade-section,.mj-home-refresh .story-section,.mj-home-refresh .faq{grid-template-columns:1fr}
.mj-home-refresh .shade-swatches{overflow-x:auto}
.mj-home-refresh .swatch-card{min-width:140px}
.mj-home-refresh .review-grid{grid-template-columns:1fr}
.mj-home-refresh .how-grid{grid-template-columns:1fr}}
@media (max-width:620px){.mj-home-refresh .benefits-strip{grid-template-columns:1fr 1fr}
.mj-home-refresh .benefits-strip div{padding:22px 10px}
.mj-home-refresh .shop-section,.mj-home-refresh .shade-section,.mj-home-refresh .reviews,.mj-home-refresh .faq,.mj-home-refresh .how-section{padding:80px 6vw}
.mj-home-refresh .section-heading{gap:20px}
.mj-home-refresh .product-grid{grid-template-columns:1fr}
.mj-home-refresh .featured-card{grid-column:auto}
.mj-home-refresh .product-art,.mj-home-refresh .featured-card .product-art{height:460px}
.mj-home-refresh .shade-swatches{grid-template-columns:repeat(5,140px)}
.mj-home-refresh .swatch-card span{height:190px}
.mj-home-refresh .story-copy{padding:70px 6vw}
.mj-home-refresh .story-portrait{min-height:520px}
.mj-home-refresh .review-grid blockquote{padding:28px}}
@media (prefers-reduced-motion:reduce){.mj-home-refresh .btn{transition:none}}
/* WooCommerce's live products replace the illustrative cards. */
.mj-home-refresh .mj-featured-products .woocommerce{width:100%}
.mj-home-refresh .mj-featured-products ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;list-style:none;margin:0!important;padding:0!important}
.mj-home-refresh .mj-featured-products ul.products::before,.mj-home-refresh .mj-featured-products ul.products::after{display:none!important}
.mj-home-refresh .mj-featured-products ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0;background:var(--soft-white);padding:0 0 20px!important;text-align:center;box-shadow:0 12px 35px rgba(143,102,91,.08)}
.mj-home-refresh .mj-featured-products li.product img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.mj-home-refresh .mj-featured-products li.product .woocommerce-loop-product__title{font-family:'Playfair Display',Georgia,serif;font-size:20px;padding:12px 15px 0}
.mj-home-refresh .mj-featured-products li.product .price{color:var(--aged-wood);font-weight:700}
@media(max-width:700px){.mj-home-refresh .mj-featured-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){.mj-home-refresh .mj-featured-products ul.products{grid-template-columns:1fr!important}}










/* FIX: Homepage announcement bar on mobile */
@media (max-width: 700px) {

    body.home .mj-announcement {
        display: block !important;
        padding: 12px 20px !important;
        font-size: 9px !important;
        line-height: 1.9 !important;
        letter-spacing: 1px !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal;
    }

    body.home .mj-announcement span {
        display: inline-block;
        padding: 0 8px !important;
    }
}






/* ======================================
   MOCHA JANE MOBILE HOMEPAGE FIXES
   ====================================== */

@media (max-width: 700px) {

    /* 1. Show all four benefit features */
    body.home .mj-home-benefits,
    body.home .mj-stats,
    body.home .mj-feature-strip {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.home .mj-home-benefits > *,
    body.home .mj-stats > *,
    body.home .mj-feature-strip > * {
        display: block !important;
        min-width: 0 !important;
        text-align: center;
    }

    /* 2. Fit all five shade cards */
    body.home .mj-shade-grid,
    body.home .mj-shade-cards,
    body.home .mj-home-categories {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body.home .mj-shade-grid > *,
    body.home .mj-shade-cards > *,
    body.home .mj-home-categories > * {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 3. Make homepage announcement text readable */
    body.home .mj-announcement {
        font-size: 9px !important;
        line-height: 1.8 !important;
        letter-spacing: 1px !important;
        padding: 12px 14px !important;
        white-space: normal !important;
        text-align: center;
    }

    body.home .mj-announcement span {
        padding: 0 5px !important;
    }
}






/* FIX: Homepage shade cards on mobile */
@media (max-width: 700px) {

    .mj-home-refresh .shade-section {
        display: block !important;
        padding: 55px 20px !important;
    }

    .mj-home-refresh .shade-swatches {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        margin-top: 30px;
    }

    .mj-home-refresh .swatch-card {
        min-width: 0 !important;
        width: 100% !important;
        padding: 8px !important;
    }

    .mj-home-refresh .swatch-card span {
        height: 115px !important;
        width: 100%;
        margin-bottom: 10px;
    }

    .mj-home-refresh .swatch-card strong {
        font-size: 13px;
    }

    .mj-home-refresh .swatch-card small {
        font-size: 10px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
}
