.jm-home{
    width:100%;
    max-width:100%;
    margin:0;
    overflow-x:clip;
    background:#F4F2ED;
    color:#0A2819;
    font-family:Inter,sans-serif;
  }
  .jm-home__wrap{max-width:1440px;margin:0 auto;padding:0 80px}
  .jm-home__img{background:rgba(95,107,79,.08);border:1px dashed rgba(95,107,79,.28);display:block;box-sizing:border-box}
  .jm-home__media{display:block;max-width:100%;height:auto}
  .jm-home__media--cover{width:100%;height:100%;object-fit:cover}
  .jm-home__media--contain{object-fit:contain}
  .jm-home h1,.jm-home h2,.jm-home h3,.jm-home__title,.jm-home__section-title{font-family:Jomolhari,serif;font-weight:400;margin:0}
  .jm-home__eyebrow{font-family:Jomolhari,serif;font-size:30px;line-height:1.2;color:#0A2819}
  .jm-home__title{font-size:50px;line-height:67px;color:#0A2819}
  .jm-home__subtitle{font-size:24px;line-height:30px;font-weight:400;color:#0A2819}
  .jm-home__lead{font-size:20px;line-height:28px;font-weight:400;color:#5F6B4F;margin-top:35px}
  .jm-home__section-title{font-size:50px;line-height:67px;text-align:center;color:#0A2819}
  .jm-home__section-sub{font-family:Jomolhari,serif;font-size:36px;line-height:1.15;text-align:center;color:#0A2819}
  .jm-home__body{font-size:20px;line-height:28px;color:#5F6B4F}
  .jm-home__body--muted{color:#74817B}
  .jm-home__card-title{font-size:20px;line-height:30px;font-weight:500;color:#0A2819;text-align:center}
  .jm-home__card-text{font-size:20px;line-height:28px;font-weight:400;color:#74817B;text-align:center}
  .jm-home__btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;min-width:200px;width:auto;height:48px;padding:0 57px;border-radius:12px;font-family:Inter,sans-serif;font-size:20px;font-weight:600;line-height:1;white-space:nowrap;text-decoration:none;flex-shrink:0;transition:background .2s,color .2s,border-color .2s,opacity .2s}
  .jm-home__btn--primary:hover{opacity:.88}
  .jm-home__btn--primary{background:#5F6B4F;color:#fff;border:1px solid #5F6B4F}
  .jm-home__btn--outline{background:transparent;color:#0A2819;border:1px solid #0A2819}
  .jm-home__btn--outline:hover{background:#0A2819;color:#fff;border-color:#0A2819}
  .jm-home__btn--outline:hover .jm-home__btn-icon{filter:brightness(0) invert(1)}
  .jm-home__btn-icon{width:24px;height:24px;object-fit:contain;display:block;flex-shrink:0}
  .jm-home__btn-arrow{display:block;flex-shrink:0;width:20px;height:8px;color:currentColor}
  .jm-home__actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:60px}

  /* Section 1: Hero + Trust */
  .jm-home__section-first{background:#F4F2ED url(https://www.jmartin.my/wp-content/uploads/2026/06/bg.webp) center top/contain}
  .jm-home__hero{padding:clamp(48px,6.9vw,100px) 0}
  .jm-home__hero-grid{display:flex;gap:clamp(40px,4.9vw,70px);align-items:center}
  .jm-home__hero-img{flex:0 0 auto;width:clamp(300px,27.3vw,520px);max-width:100%;height:auto;display:block;border-radius:20px;object-fit:cover;aspect-ratio:393/488}
  .jm-home__hero-copy{flex:1 1 auto;max-width:750px;min-width:0}
  .jm-home__hero-text .jm-home__eyebrow{margin-bottom:12px}
  .jm-home__hero-text .jm-home__title{margin-bottom:16px}
  .jm-home__hero-text .jm-home__subtitle{margin-bottom:24px;padding-bottom:40px;border-bottom:1px solid rgba(10,40,25,.55)}

  .jm-home__trust{background:#DDD0BD;padding:40px 0}
  .jm-home__trust-grid{display:grid;grid-template-columns:repeat(3,1fr);align-items:center}
  .jm-home__trust-item{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:24px;padding:0 90px}
  .jm-home__trust-item:not(:last-child)::after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:3px;height:60px;background:rgba(10,40,25,.2)}
  .jm-home__trust-item:first-child{padding-left:0}
  .jm-home__trust-item:last-child{padding-right:0}
  .jm-home__trust-icon{width:80px;height:80px;object-fit:contain;display:block;flex-shrink:0}
  .jm-home__trust-label{margin:0;font-size:24px;line-height:30px;font-weight:500;color:#0A2819;text-align:left}

  /* Section 2: Product spotlight */
  .jm-home__spotlight{padding:20vh 0 12vh;background-color:#F4F2ED;background-image:url(https://www.jmartin.my/wp-content/uploads/2026/06/bg-2-1-scaled.webp);background-position:center top;background-size:clamp(1536px,100vw,2048px) auto;background-repeat:no-repeat}
  .jm-home__spotlight-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:start;min-height:520px}
  .jm-home__spotlight-copy{max-width:620px}
  .jm-home__spotlight .jm-home__title{margin-bottom:36px;padding-bottom:28px;border-bottom:1px solid rgba(10,40,25,.7)}
  .jm-home__spotlight .jm-home__lead{max-width:570px}
  .jm-home__suitable{margin-top:0;background:#F8F7F5;border-radius:8px;padding:58px 70px 56px;text-align:center}
  .jm-home__suitable-label{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:52px;font-size:28px;line-height:1;font-weight:400;margin:0 0 48px;color:#0A2819}
  .jm-home__suitable-label::before,.jm-home__suitable-label::after{content:"";height:1px;background:rgba(10,40,25,.7)}
  .jm-home__suitable-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:clamp(20px,2vw,60px);row-gap:40px;justify-items:center}
  .jm-home__suitable-item{width:100%;max-width:201px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:24px}
  .jm-home__suitable-icon{width:72px;height:72px;object-fit:contain;display:block}
  .jm-home__suitable-item p{font-size:24px;line-height:30px;font-weight:500;margin:0;text-align:center}
  .jm-home__spotlight-actions{display:none}

  /* Section 3: Our Story */
  .jm-home__story{position:relative;padding:100px 0;background:#5F6B4F url(https://www.jmartin.my/wp-content/uploads/2026/06/bg-3.webp) center/cover no-repeat;color:#F4F2ED;text-align:center}
  .jm-home__story-inner{position:relative;z-index:1}
  .jm-home__story-logo{width:88px;height:auto;display:block;margin:0 auto 32px}
  .jm-home__story .jm-home__section-title{color:#F4F2ED;margin-bottom:24px}
  .jm-home__story .jm-home__section-title::after{content:"";display:block;width:400px;max-width:40vw;height:1px;background:rgba(244,242,237,.75);margin:28px auto 0}
  .jm-home__story .jm-home__section-sub{color:#F4F2ED;margin-bottom:72px}
  .jm-home__story-box{max-width:1280px;margin:0 auto;background:#F4F2ED;border-radius:20px;padding:70px 140px;color:#0A2819;font-size:20px;line-height:28px;text-align:center}
  .jm-home__story-box p{margin:0}

  /* Features 4-col */
  .jm-home__features{padding:100px 0 80px}
  .jm-home__features .jm-home__section-title{max-width:860px;margin:0 auto 28px}
  .jm-home__features .jm-home__section-title::after{content:"";display:block;width:100%;height:1px;background:rgba(10,40,25,.7);margin:28px auto 0}
  .jm-home__features .jm-home__section-sub{margin-bottom:80px}
  .jm-home__features-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:auto auto 1fr;row-gap:24px;column-gap:0;align-items:stretch}
  .jm-home__feature{display:grid;grid-template-rows:subgrid;grid-row:span 3;justify-items:center;align-content:start;gap:0;padding:0 32px;border-right:1px solid rgba(10,40,25,.35)}
  .jm-home__feature:last-child{border-right:none}
  .jm-home__feature-img{width:100%;max-width:260px;height:230px;object-fit:contain;display:block}
  .jm-home__feature h3{width:100%;min-height:0;align-self:stretch;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font-family:Inter,sans-serif;font-size:20px;line-height:30px;font-weight:500;text-align:center;margin:0;padding-bottom:24px;border-bottom:1px solid rgba(10,40,25,.45)}

  /* Philosophy */
  .jm-home__philosophy{padding:100px 0;background:linear-gradient(180deg,rgba(221,208,189,.2) 0%,rgba(173,141,96,.2) 100%)}
  .jm-home__philosophy .jm-home__section-title{margin:0 auto 28px}
  .jm-home__philosophy .jm-home__section-title::after{content:"";display:block;width:420px;max-width:40vw;height:1px;background:rgba(10,40,25,.7);margin:28px auto 0}
  .jm-home__philosophy .jm-home__section-sub{margin-bottom:24px}
  .jm-home__philosophy .jm-home__body{text-align:center;max-width:930px;margin:0 auto 56px}
  .jm-home__philosophy-grid{display:grid;grid-template-columns:minmax(430px,.95fr) minmax(980px,1.05fr);gap:170px;align-items:center;max-width:1180px;margin:0 auto}
  .jm-home__philosophy-list{display:flex;flex-direction:column;gap:20px;width:540px;position:relative;z-index:2}
  .jm-home__philosophy-item{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center}
  .jm-home__philosophy-num{width:88px;height:auto;display:block;position:relative;z-index:2}
  .jm-home__philosophy-item p{min-height:54px;display:flex;align-items:center;margin:0 0 0 -18px;padding:0 36px 0 40px;background:rgba(248,247,245,.88);border-radius:8px;font-size:16px;line-height:22px;font-weight:300;color:#0A2819}
  .jm-home__philosophy-img{width:100%;max-width:760px;margin-left:-20vw;display:block;position:relative;z-index:1}
  .jm-home__philosophy-quote{margin-top:56px;text-align:center;font-size:20px;line-height:28px;font-style:italic}

  /* Sanctuary */
  .jm-home__sanctuary{padding:100px 0;background:#F4F2ED}
  .jm-home__sanctuary .jm-home__section-title{max-width:1000px;margin:0 auto 20px;text-align:center}
  .jm-home__sanctuary .jm-home__section-title::after{content:"";display:block;width:100%;max-width:70vw;height:1px;background:rgba(10,40,25,.55);margin:28px auto 0}
  .jm-home__sanctuary .jm-home__body{text-align:center;max-width:775px;margin:0 auto 68px}
  .jm-home__sanctuary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
  .jm-home__sanctuary-card{background:#F3ECE2;border:1px solid #D7C9B7;border-radius:8px;min-height:278px;padding:42px 36px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}
  .jm-home__sanctuary-icon{width:80px;height:80px;object-fit:contain;display:block}
  .jm-home__sanctuary-text{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
  .jm-home__sanctuary-card h3{font-family:Inter,sans-serif;font-size:20px;line-height:24px;font-weight:600;margin:0;text-align:center}
  .jm-home__sanctuary-card .jm-home__card-text{font-size:16px;line-height:24px;margin:0}

  /* Commitment */
  .jm-home__commitment{--commitment-panel-h:clamp(300px,35.1vh,379px);--commitment-panel-w:calc(var(--commitment-panel-h) * 401 / 379);--commitment-right-h:calc((var(--commitment-panel-h) * 2) + 24px);--commitment-right-w:calc(var(--commitment-right-h) * 167 / 155);padding:100px 0;background:#DDD0BD}
  .jm-home__commitment .jm-home__section-title{margin-bottom:48px}
  .jm-home__commitment-grid{display:grid;grid-template-columns:var(--commitment-panel-w) minmax(0,var(--commitment-right-w));gap:24px;align-items:stretch;justify-content:center}
  .jm-home__commitment-left{display:grid;grid-template-rows:var(--commitment-panel-h) var(--commitment-panel-h);gap:24px}
  .jm-home__commitment-panel{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px}
  .jm-home__commitment-grid > .jm-home__commitment-panel{height:var(--commitment-right-h)}

  /* Products */
  .jm-home__products{padding:100px 0;background:#F4F2ED}
  .jm-home__products .jm-home__section-title{font-size:54px;margin-bottom:60px}
  .jm-home__products .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin:0;padding:0}
  .jm-home__products .woocommerce ul.products::before,.jm-home__products .woocommerce ul.products::after{display:none}
  .jm-home__products .woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;text-align:left}
  .jm-home__products .woocommerce ul.products li.product a{text-decoration:none}
  .jm-product-image-frame{display:block;overflow:hidden;border-radius:12px;background:#E5E0D3;aspect-ratio:328/340;padding:clamp(16px,4.5vw,60px);box-sizing:border-box}
  .jm-product-image-frame img,.jm-home__products .woocommerce ul.products li.product a img,.jm-home__products .woocommerce ul.products li.product .jm-product-image-frame img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;margin:0!important;padding:0;border-radius:0;background:transparent;transition:transform .45s cubic-bezier(.25,.46,.45,.94)}
  .jm-home__products .woocommerce ul.products li.product .jm-product-image-frame{margin:0 0 20px}
  .jm-home__product-card .jm-product-image-frame{margin:0 0 12px}
  .jm-product-image-frame:hover img,.jm-home__products li.product:hover .jm-product-image-frame img,.jm-shop__product:hover .jm-product-image-frame img{transform:scale(1.08)}
  .jm-home__products .woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Inter,sans-serif;font-size:16px;line-height:22px;font-weight:600;color:#545454;text-align:left;margin:0 0 8px;padding:0}
  .jm-home__products .woocommerce ul.products li.product .price{display:block;font-size:16px;line-height:22px;font-weight:500;color:#929E6A;text-align:left;margin:0}
  .jm-home__products .woocommerce ul.products li.product .button,.jm-home__products .woocommerce ul.products li.product .star-rating{display:none}
  .jm-home__products:has(.woocommerce ul.products) .jm-home__products-preview{display:none}

  /* Local preview product grid (hidden when WooCommerce renders) */
  .jm-home__products-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;width:100%;margin:0;padding:0;list-style:none}
  .jm-home__product-card{margin:0;text-align:left;min-width:0}
  .jm-home__product-card a{text-decoration:none;color:inherit}
  .jm-home__product-name{font-family:Inter,sans-serif;font-size:16px;line-height:22px;font-weight:600;color:#545454;margin:0 0 6px}
  .jm-home__product-price{font-size:16px;line-height:22px;font-weight:500;color:#929E6A;margin:0}

  /* Testimonials */
  .jm-home__testimonials{position:relative;padding:72px 0 72px;background:#5F6B4F url(https://www.jmartin.my/wp-content/uploads/2026/06/bg-4.webp) center/cover no-repeat;color:#fff;text-align:center}
  .jm-home__testimonials-bg{position:absolute;inset:0;opacity:.25}
  .jm-home__testimonials-inner{position:relative;z-index:1}
  .jm-home__testimonials .jm-home__section-title{color:#fff;margin-bottom:84px}
  .jm-home__testimonials-grid{--testimonial-card-h:clamp(215px,26.8vh,293px);box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:clamp(72px,7.8vw,100px);width:100%;padding-left:74px}
  .jm-home__testimonial{position:relative;width:100%;min-height:var(--testimonial-card-h);margin:0;text-align:left}
  .jm-home__testimonial > div{box-sizing:border-box;width:100%;min-height:var(--testimonial-card-h);border-radius:12px;background:rgba(245,245,245,.5);padding:64px 34px 64px 112px}
  .jm-home__testimonial-photo{position:absolute;left:-74px;top:55px;width:148px;height:185px;border-radius:8px;object-fit:cover;display:block;z-index:2}
  .jm-home__testimonial p{font-size:16px;line-height:24px;color:#0A2819;margin:0 0 24px}
  .jm-home__testimonial-footer{display:block}
  .jm-home__testimonial-stars{display:flex;align-items:center;gap:4px;flex-shrink:0;margin-bottom:28px}
  .jm-home__testimonial-stars img{width:24.4px;height:24px;object-fit:contain;display:block}
  .jm-home__testimonial cite{display:block;text-align:right;font-size:16px;line-height:22px;font-style:italic;font-weight:300;color:#545454}
  .jm-home__testimonial p{min-height:72px}

  @media (prefers-reduced-motion:reduce){
    .jm-product-image-frame img{transition:none}
    .jm-product-image-frame:hover img,.jm-home__products li.product:hover .jm-product-image-frame img,.jm-shop__product:hover .jm-product-image-frame img{transform:none}
  }

  /* Tablet */
  @media (max-width:1199px){
    .jm-home__wrap{padding:0 clamp(24px,4vw,40px)}
    .jm-home__title{font-size:clamp(36px,4.2vw,50px);line-height:1.25}
    .jm-home__section-title{font-size:clamp(36px,4.2vw,50px);line-height:1.25}
    .jm-home__section-sub{font-size:clamp(24px,3vw,36px)}
    .jm-home__eyebrow{font-size:clamp(22px,2.5vw,30px)}
    .jm-home__subtitle{font-size:clamp(18px,2vw,24px);line-height:1.35}
    .jm-home__lead,.jm-home__body{font-size:clamp(16px,1.7vw,20px);line-height:1.45}
    .jm-home__btn{min-width:160px;height:44px;padding:0 36px;font-size:clamp(16px,1.6vw,20px)}
    .jm-home__hero{padding:clamp(48px,6vw,80px) 0}
    .jm-home__hero-grid{flex-direction:column;gap:clamp(32px,4vw,48px)}
    .jm-home__hero-img{width:min(100%,clamp(320px,55vw,480px));margin:0 auto}
    .jm-home__hero-copy{max-width:none;text-align:center}
    .jm-home__hero-copy .jm-home__subtitle,.jm-home__hero-text .jm-home__subtitle{border-bottom:none;padding-bottom:0;margin-bottom:16px}
    .jm-home__actions{justify-content:center;margin-top:clamp(32px,4vw,48px)}
    .jm-home__trust-item{padding:0 clamp(24px,4vw,48px)}
    .jm-home__trust-icon{width:clamp(56px,7vw,80px);height:clamp(56px,7vw,80px)}
    .jm-home__trust-label{font-size:clamp(16px,1.8vw,24px);line-height:1.3}
    .jm-home__spotlight{padding:clamp(72px,10vw,100px) 0 clamp(56px,8vw,80px);background-size:cover}
    .jm-home__spotlight-grid{grid-template-columns:1fr;min-height:0;gap:32px}
    .jm-home__spotlight-copy{max-width:none}
    .jm-home__spotlight .jm-home__title{width:fit-content;max-width:100%}
    .jm-home__spotlight .jm-home__lead{max-width:400px}
    .jm-home__suitable{margin-top:clamp(48px,16vw,150px);padding:clamp(36px,5vw,48px) clamp(24px,4vw,40px)}
    .jm-home__suitable-grid{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:clamp(8px,1.2vw,20px);row-gap:24px}
    .jm-home__suitable-item{gap:clamp(12px,1.5vw,18px)}
    .jm-home__suitable-icon{width:clamp(48px,5.5vw,64px);height:clamp(48px,5.5vw,64px)}
    .jm-home__suitable-item p{font-size:clamp(11px,1.2vw,16px);line-height:1.3}
    .jm-home__story{padding:clamp(64px,8vw,100px) 0}
    .jm-home__story-box{padding:clamp(40px,5vw,70px) clamp(32px,5vw,80px)}
    .jm-home__features{padding:clamp(64px,8vw,100px) 0 clamp(48px,6vw,80px)}
    .jm-home__features .jm-home__section-sub{margin-bottom:clamp(48px,6vw,80px)}
    .jm-home__features-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:none;gap:24px}
    .jm-home__feature{display:flex;flex-direction:column;align-items:center;gap:24px;grid-row:auto}
    .jm-home__feature h3{min-height:90px;align-self:auto}
    .jm-home__sanctuary .jm-home__section-title{white-space:nowrap;font-size:clamp(22px,3vw,36px);line-height:1.25;max-width:none}
    .jm-home__sanctuary .jm-home__section-title::after{width:min(100%,70vw)}
    .jm-home__sanctuary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,20px)}
    .jm-home__sanctuary-card{padding:clamp(24px,3vw,36px) clamp(12px,1.8vw,24px);min-height:0;gap:clamp(12px,1.5vw,16px)}
    .jm-home__sanctuary-icon{width:clamp(56px,7vw,72px);height:clamp(56px,7vw,72px)}
    .jm-home__sanctuary-card h3{font-size:clamp(13px,1.5vw,16px);line-height:1.3}
    .jm-home__sanctuary-card .jm-home__card-text{font-size:clamp(11px,1.2vw,14px);line-height:1.35}
    .jm-home__feature{padding:clamp(24px,3vw,32px);border-right:none;border-bottom:1px solid rgba(10,40,25,.25)}
    .jm-home__feature:nth-child(odd){border-right:1px solid rgba(10,40,25,.25)}
    .jm-home__feature:nth-last-child(-n+2){border-bottom:none}
    .jm-home__philosophy{padding:clamp(64px,8vw,100px) 0}
    .jm-home__philosophy-grid{display:flex;flex-direction:column;gap:clamp(40px,5vw,56px);max-width:720px;margin:0 auto}
    .jm-home__philosophy-img{order:-1;margin:0 auto;max-width:min(100%,640px)}
    .jm-home__philosophy-list{width:100%}
    .jm-home__commitment{padding:clamp(64px,8vw,100px) 0;--commitment-panel-h:clamp(220px,32vw,320px)}
    .jm-home__commitment-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:20px;align-items:stretch}
    .jm-home__commitment-left{display:contents}
    .jm-home__commitment-left .jm-home__commitment-panel:nth-child(1){grid-column:1;grid-row:1;min-height:clamp(208px,28vw,320px);object-fit:cover}
    .jm-home__commitment-left .jm-home__commitment-panel:nth-child(2){grid-column:2;grid-row:1;min-height:clamp(208px,28vw,320px);object-fit:cover}
    .jm-home__commitment-grid > .jm-home__commitment-panel{grid-column:1/-1;grid-row:2;width:100%;height:auto;max-height:clamp(280px,40vw,420px);aspect-ratio:316/205;object-fit:cover;object-position:top center}
    .jm-home__products{padding:clamp(64px,8vw,100px) 0}
    .jm-home__products .jm-home__section-title{font-size:clamp(36px,4.2vw,54px);margin-bottom:clamp(40px,5vw,60px)}
    .jm-home__products .woocommerce ul.products,.jm-home__products-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,40px)}
    .jm-home__products .woocommerce ul.products li.product:nth-child(n+3),.jm-home__products-preview li:nth-child(n+3){display:none}
    .jm-home__testimonials{padding:clamp(56px,7vw,72px) 0}
    .jm-home__testimonials .jm-home__section-title{margin-bottom:clamp(48px,6vw,84px)}
    .jm-home__testimonials-grid{gap:clamp(40px,5vw,72px);padding-left:clamp(40px,5vw,74px)}
    .jm-home__testimonial-photo{width:clamp(100px,12vw,148px);height:auto;aspect-ratio:148/185;left:calc(-1 * clamp(40px,5vw,74px))}
    .jm-home__testimonial > div{padding:clamp(40px,5vw,64px) clamp(24px,3vw,34px) clamp(40px,5vw,64px) clamp(72px,9vw,112px)}
  }

  /* Mobile */
  @media (max-width:768px){
    .jm-home__wrap{padding:0 20px}
    .jm-home__title,.jm-home__section-title{font-family:Jomolhari,serif;font-size:30px;line-height:36px}
    .jm-home__section-sub{font-family:Jomolhari,serif;font-size:16px;line-height:36px}
    .jm-home__eyebrow{font-family:Jomolhari,serif;font-size:16px;line-height:36px}
    .jm-home__subtitle{font-size:12px;line-height:36px}
    .jm-home__lead{font-size:12px;line-height:16px;margin-top:16px;color:#57534E}
    .jm-home__body{font-size:12px;line-height:16px}
    .jm-home__card-text{font-size:10px;line-height:16px}
    .jm-home__btn{min-width:0;width:auto;height:36px;padding:0 20px;font-size:12px;border-radius:8px;gap:8px}
    .jm-home__btn-icon{width:16px;height:16px}
    .jm-home__section-first{background-color:#F4F2ED;background-image:url(https://www.jmartin.my/wp-content/uploads/2026/06/mobile-bg.webp);background-position:center top;background-size:100% auto;background-repeat:no-repeat}
    .jm-home__hero{padding:34px 0 50px}
    .jm-home__hero .jm-home__wrap{padding:0 20px;max-width:none}
    .jm-home__hero-grid{display:flex;flex-direction:column;align-items:center;gap:30px}
    .jm-home__hero-copy{display:contents}
    .jm-home__hero-text{order:1;width:100%;max-width:320px;text-align:center}
    .jm-home__hero-text .jm-home__eyebrow{margin-bottom:4px}
    .jm-home__hero-text .jm-home__title{max-width:238px;margin:0 auto 8px;text-align:center}
    .jm-home__hero-text .jm-home__subtitle{margin-top:-2px;margin-bottom:0px;padding-bottom:0;border-bottom:none;font-size:10px;line-height:36px}
    .jm-home__hero-text .jm-home__lead{max-width:288px;margin:0 auto;font-size:10px;line-height:16px;color:#57534E}
    .jm-home__hero-img{order:2;width:min(100%,297px);max-width:76vw;border-radius:12px;aspect-ratio:297/257;object-fit:cover;height:auto}
    .jm-home__actions{order:3;flex-wrap:nowrap;justify-content:center;gap:11px;width:100%;max-width:353px;margin-top:4px;padding:0}
    .jm-home__actions .jm-home__btn{flex:1 1 0;min-width:0;max-width:144px;height:36px;padding:0 10px;font-size:12px}
    .jm-home__trust{padding:0}
    .jm-home__trust .jm-home__wrap{padding:0;max-width:none}
    .jm-home__trust-grid{grid-template-columns:repeat(3,1fr);gap:0}
    .jm-home__trust-item{position:relative;flex-direction:column;gap:14px;padding:20px 14px;border-bottom:none}
    .jm-home__trust-item:first-child{padding-left:14px;padding-right:14px}
    .jm-home__trust-item:last-child{padding-right:14px;padding-left:14px}
    .jm-home__trust-item:not(:last-child)::after{display:block;width:1px;height:48px;background:rgba(10,40,25,.35)}
    .jm-home__trust-icon{width:40px;height:40px}
    .jm-home__trust-label{font-size:10px;line-height:14px;font-weight:500;text-align:center}
    .jm-home__spotlight{min-height:min(158vw,621px);padding:50px 0 48px;background-color:#F4F2ED;background-image:url(https://www.jmartin.my/wp-content/uploads/2026/06/mobile-bg-2.webp);background-position:center top;background-size:100% auto;background-repeat:no-repeat}
    .jm-home__spotlight .jm-home__wrap{padding-top:0}
    .jm-home__spotlight-grid{display:block;min-height:0}
    .jm-home__spotlight-grid > [aria-hidden="true"]{display:none}
    .jm-home__spotlight-copy{text-align:left;max-width:none}
    .jm-home__spotlight .jm-home__title{margin:0;padding:0;border-bottom:none;font-size:30px;line-height:36px;max-width:280px}
    .jm-home__spotlight .jm-home__title::after{content:"";display:block;width:192px;max-width:48vw;height:1px;background:rgba(10,40,25,.7);margin:16px 0 20px}
    .jm-home__spotlight .jm-home__lead{margin-top:0;font-size:10px;line-height:16px;width:130px;max-width:130px;color:#57534E}
    .jm-home__suitable{margin-top:min(35vw,194px);padding:20px;background:#fff;background-position:center;border-radius:8px;box-shadow:0 0 7.3px rgba(92,86,82,.2)}
    .jm-home__spotlight-actions{display:flex;justify-content:center;margin-top:20px}
    .jm-home__spotlight-actions .jm-home__btn{width:176px;height:36px;padding:0 20px;font-size:12px;border-radius:8px;gap:8px}
    .jm-home__spotlight-actions .jm-home__btn-arrow{width:16px;height:6px}
    .jm-home__suitable-label{grid-template-columns:1fr auto 1fr;gap:16px;font-size:12px;line-height:16px;margin-bottom:20px}
    .jm-home__suitable-label::before,.jm-home__suitable-label::after{display:block}
    .jm-home__suitable-grid{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:6px;row-gap:12px}
    .jm-home__suitable-item{gap:8px;max-width:none}
    .jm-home__suitable-icon{width:40px;height:40px}
    .jm-home__suitable-item p{font-size:8px;line-height:10px;font-weight:400}
    .jm-home__story{padding:9vw 0 40px;background-color:#5F6B4F;background-image:url(https://www.jmartin.my/wp-content/uploads/2026/06/mobile-bg-3.webp);background-position:center;background-size:100% auto;background-repeat:no-repeat}
    .jm-home__story .jm-home__story-inner{padding:0;max-width:none}
    .jm-home__story-logo{width:50px;margin-bottom:20px}
    .jm-home__story .jm-home__section-title{font-size:30px;line-height:36px;color:#F4F2ED;margin-bottom:16px}
    .jm-home__story .jm-home__section-title::after{width:min(224px,70vw);margin-top:16px;background:rgba(244,242,237,.75)}
    .jm-home__story .jm-home__section-sub{font-size:16px;line-height:36px;color:#F4F2ED;margin-bottom:0}
    .jm-home__story-box{margin:28px 20px 0;max-width:100%;width:auto;background:#F4F2ED;border-radius:16px;padding:28px 20px;color:#0A2819;font-size:10px;line-height:16px;text-align:center}
    .jm-home__story-box p{margin:0 0 16px}
    .jm-home__story-box p:last-child{margin-bottom:0}
    .jm-home__story-box strong{font-weight:600}
    .jm-home__features{padding:48px 0}
    .jm-home__features .jm-home__section-title{font-size:30px;line-height:36px;max-width:none}
    .jm-home__features .jm-home__section-title::after{margin-top:16px}
    .jm-home__features .jm-home__section-sub{font-size:16px;line-height:36px;margin-bottom:32px}
    .jm-home__features-grid{position:relative;grid-template-columns:repeat(2,1fr);grid-template-rows:auto auto auto;gap:20px 16px;align-items:stretch}
    .jm-home__features-grid::before,
    .jm-home__features-grid::after{content:"";position:absolute;left:50%;width:0.2px;background:rgba(10,40,25,.35);transform:translateX(-50%);pointer-events:none}
    .jm-home__features-grid::before{top:0;height:calc(50% - 10px)}
    .jm-home__features-grid::after{top:auto;bottom:0;height:calc(50% - 10px)}
    .jm-home__features-grid .jm-home__feature,
    .jm-home__features-grid .jm-home__feature:nth-child(odd){border-right:none;border-bottom:none}
    .jm-home__feature{display:grid;grid-template-rows:subgrid;grid-row:span 3;justify-items:center;gap:10px;padding:0}
    .jm-home__feature-img{width:96px;height:96px;max-width:96px;max-height:96px;object-fit:contain}
    .jm-home__feature h3{width:calc(100% - 12px);min-height:0;align-self:stretch;justify-self:stretch;display:flex;align-items:flex-start;justify-content:center;padding-bottom:10px;font-size:10px;line-height:16px;font-weight:600;border-bottom:0.2px solid rgba(10,40,25,.45);box-sizing:border-box}
    .jm-home__feature:nth-child(odd) h3{margin-right:auto}
    .jm-home__feature:nth-child(even) h3{margin-left:auto}
    .jm-home__feature .jm-home__card-text{width:90%;margin-top:0;margin-bottom:0;justify-self:center;align-self:start;font-size:10px;line-height:16px}
    .jm-home__philosophy{padding:48px 0}
    .jm-home__philosophy .jm-home__section-title{font-size:30px;line-height:36px;margin:0 auto 20px}
    .jm-home__philosophy .jm-home__section-title::after{display:none}
    .jm-home__philosophy .jm-home__section-sub{font-size:16px;line-height:36px;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
    .jm-home__philosophy .jm-home__section-sub::before{content:"";display:block;width:100%;height:1px;background:rgba(10,40,25,.7);margin:0 auto 20px}
    .jm-home__philosophy .jm-home__body{width:90%;max-width:90%;margin-left:auto;margin-right:auto;margin-bottom:28px;font-size:12px;line-height:16px}
    .jm-home__philosophy-grid{gap:28px}
    .jm-home__philosophy-img{width:311px;max-width:min(100%,311px);height:172px;aspect-ratio:132/73;object-fit:cover;margin:0 auto}
    .jm-home__philosophy-list{gap:10px;width:fit-content;max-width:100%;margin:0 auto}
    .jm-home__philosophy-item{grid-template-columns:44px minmax(0,1fr);width:fit-content;margin:0 auto}
    .jm-home__philosophy-num{width:44px}
    .jm-home__philosophy-item p{width:267px;max-width:267px;box-sizing:border-box;min-height:20px;margin-left:-8px;padding:2px 12px 6px 20px;font-size:10px;line-height:16px;font-weight:300;border-radius:8px}
    .jm-home__philosophy-quote{width:274px;max-width:min(100%,274px);margin:28px auto 0;font-size:12px;line-height:16px;font-style:normal}
    .jm-home__sanctuary{padding:50px 0}
    .jm-home__sanctuary .jm-home__section-title{white-space:normal;font-size:30px;line-height:36px;max-width:288px}
    .jm-home__sanctuary .jm-home__section-title::after{width:min(320px,80vw);margin-top:16px}
    .jm-home__sanctuary .jm-home__body{font-size:12px;line-height:16px;margin-bottom:28px;max-width:288px}
    .jm-home__sanctuary-grid{grid-template-columns:1fr;gap:16px}
    .jm-home__sanctuary-card{flex-direction:row;align-items:center;justify-content:flex-start;min-height:0;padding:16px 20px 16px 16px;gap:16px;border-radius:8px;text-align:left}
    .jm-home__sanctuary-icon{width:80px;height:80px;flex-shrink:0}
    .jm-home__sanctuary-text{flex:1;min-width:0;align-items:flex-start;gap:4px}
    .jm-home__sanctuary-card h3{font-size:12px;line-height:16px;font-weight:600;margin:0;text-align:left}
    .jm-home__sanctuary-card .jm-home__card-text{font-size:10px;line-height:16px;text-align:left}
    .jm-home__commitment{padding:48px 0;background:linear-gradient(180deg,rgba(221,208,189,.45) 0%,rgba(168,162,158,.55) 100%)}
    .jm-home__commitment .jm-home__section-title{font-size:30px;line-height:36px;margin-bottom:28px;padding:0 4px}
    .jm-home__commitment-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px;align-items:stretch}
    .jm-home__commitment-left{display:contents}
    .jm-home__commitment-left .jm-home__commitment-panel:nth-child(1){grid-column:1;grid-row:1;min-height:208px;object-fit:cover;border-radius:8px}
    .jm-home__commitment-left .jm-home__commitment-panel:nth-child(2){grid-column:2;grid-row:1;min-height:208px;object-fit:cover;border-radius:8px}
    .jm-home__commitment-grid > .jm-home__commitment-panel{grid-column:1/-1;grid-row:2;width:100%;height:229px;aspect-ratio:316/205;max-height:none;min-height:0;object-fit:cover;object-position:top center;border-radius:12px;justify-self:center}
    .jm-home__commitment-panel{border-radius:12px}
    .jm-home__products{padding:48px 0}
    .jm-home__products .jm-home__section-title{font-size:30px;line-height:36px;margin-bottom:32px}
    .jm-home__products .woocommerce ul.products,.jm-home__products-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .jm-home__products .woocommerce ul.products li.product .jm-product-image-frame,.jm-home__products-preview .jm-home__product-card .jm-product-image-frame{padding:16px}
    .jm-home__products .woocommerce ul.products li.product .woocommerce-loop-product__title,.jm-home__products-preview .jm-home__product-name{font-size:10px;line-height:14px;font-weight:600;margin-bottom:4px}
    .jm-home__products .woocommerce ul.products li.product .price,.jm-home__products-preview .jm-home__product-price{font-size:12px;line-height:16px;font-weight:500}
    .jm-home__products .woocommerce ul.products li.product:nth-child(n+3),.jm-home__products-preview li:nth-child(n+3){display:none}
    .jm-home__testimonials{padding:48px 0}
    .jm-home__testimonials .jm-home__section-title{font-family:Jomolhari,serif;font-size:30px;line-height:36px;margin-bottom:32px}
    .jm-home__testimonials-grid{--testimonial-block-w:320px;--testimonial-photo-overhang:32px;--testimonial-card-w:288px;--testimonial-side-gap:max(0px,calc((100vw - var(--testimonial-block-w))/2));grid-template-columns:1fr;gap:24px;width:var(--testimonial-card-w);max-width:var(--testimonial-card-w);margin-left:calc(var(--testimonial-side-gap) + var(--testimonial-photo-overhang) - 20px);margin-right:calc(var(--testimonial-side-gap) - 20px);padding-left:0}
    .jm-home__testimonial{min-height:0;text-align:left}
    .jm-home__testimonial > div{display:flex;flex-direction:column;min-height:144px;padding:12px 16px 10px 83px;border-radius:8px}
    .jm-home__testimonial-photo{left:-32px;top:12px;width:93px;height:117px;transform:none;border-radius:8px}
    .jm-home__testimonial p{font-size:10px;line-height:16px;min-height:0;margin:0 0 8px;color:#0A2819}
    .jm-home__testimonial-footer{margin-top:10px}
    .jm-home__testimonial-stars{margin-bottom:16px;gap:2px}
    .jm-home__testimonial-stars img{width:14px;height:14px}
    .jm-home__testimonial cite{font-size:10px;line-height:14px;font-weight:300;text-align:right}
  }

  /* iPad Mini */
  @media (min-width:700px) and (max-width:768px){
    .jm-home__spotlight{padding:50px 0 0;background-image:url(https://www.jmartin.my/wp-content/uploads/2026/06/mobile-bg-2.webp);background-position:center 43%}
    .jm-home__suitable{margin-top:min(35vw,215px)}
    .jm-home__story-box p{margin:0 0 4px}
    .jm-home__sanctuary .jm-home__section-title{max-width:100%}
    .jm-home__hero-text{order:1;width:100%;max-width:490px;text-align:center}
    .jm-home__hero-text .jm-home__lead{max-width:490px}
  }
  .elementor-element:has(.jm-home) {
    --padding-left: 0 !important;
    --padding-right: 0 !important;
    --container-max-width: none !important;
  }
