/* MIRALA Editorial Conversion Hero v5 — 24 Oct 2026.
   Scoped marketing hero, original logo/GA4/catalog data/checkout stay untouched. */
.hero.editorial-hero{position:relative;isolation:isolate;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden;background:#f8f2e9;color:#352438;border-bottom:1px solid #e8ded6}
.hero.editorial-hero::before,.hero.editorial-hero::after{content:none!important}
html{scroll-padding-top:102px}
#catalog-products{scroll-margin-top:12px}
#catalog-filters{scroll-margin-top:12px}
.editorial-hero .editorial-hero__inner{width:min(100% - 36px,1190px);margin-inline:auto;padding:35px 0 33px;display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.editorial-hero__main,.editorial-hero__details{min-width:0}
.editorial-hero .editorial-hero__eyebrow{display:flex;align-items:center;gap:9px;font:800 10px/1.4 'Manrope','DM Sans',sans-serif;letter-spacing:.13em;color:#176f69;animation:editorial-enter .42s both}
.editorial-hero__eyebrow-line{display:block;flex:none;width:22px;height:3px;border-radius:2px;background:#25dec6}
.hero.editorial-hero h1.editorial-hero__title{font:800 clamp(36px,9.5vw,56px)/1.07 'Manrope','DM Sans',sans-serif;color:#352438;letter-spacing:-.07em;margin:15px 0 0;padding:0;max-width:100%}
.editorial-hero__title-line{display:block;max-width:100%;width:max-content;animation:editorial-enter .48s both}
.editorial-hero__title-line:nth-child(2){animation-delay:.08s}
.editorial-hero__title-line:nth-child(3){animation-delay:.16s}
.editorial-hero__last-line{padding-bottom:.12em}
.editorial-hero__highlight{position:relative;isolation:isolate;z-index:0;white-space:nowrap}
.editorial-hero__highlight::before{content:'';position:absolute;z-index:-1;left:-.035em;right:-.05em;bottom:.045em;height:.67em;border-radius:2px;background:#25dec6;transform-origin:left center;transform:skew(-1.5deg) scaleX(.001);animation:editorial-marker .72s cubic-bezier(.2,.78,.2,1) .48s forwards}
.editorial-hero__details{margin-top:15px;animation:editorial-enter .5s both .22s}
.hero.editorial-hero p.editorial-hero__desc{font:500 14px/1.65 'DM Sans',sans-serif;letter-spacing:0;color:#5e5360;margin:0;max-width:520px}
.editorial-hero__free-highlight,.editorial-hero__premium-highlight{position:relative;isolation:isolate;z-index:0;display:inline-block;padding:0 .13em;font-weight:900;color:#352438;white-space:nowrap}
.editorial-hero__free-highlight::before,.editorial-hero__premium-highlight::before{content:'';position:absolute;z-index:-1;inset:.16em -.025em .06em;border-radius:2px;background:#ffe1a0;transform-origin:left center;transform:skew(-1.7deg) scaleX(.001);animation:editorial-marker .55s ease-out 1s forwards}
.editorial-hero__premium-highlight::before{background:#a9eee1;animation-delay:.8s}
.editorial-hero__cta{margin-top:19px;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:9px 13px 9px 17px;border:2px solid #352438;border-radius:12px;background:#352438;color:#fff!important;text-decoration:none!important;font:800 14px/1.25 'Manrope','DM Sans',sans-serif;transition:background .2s,border-color .2s,transform .2s}
.editorial-hero__cta:hover{background:#244941;border-color:#244941;transform:translateY(-1px)}
.editorial-hero__cta:focus-visible{outline:3px solid #b36533;outline-offset:3px}
.editorial-hero__cta-arrow{width:28px;height:28px;border-radius:50%;background:#25dec6;color:#352438;display:grid;place-items:center;font-size:18px;line-height:1;transition:transform .2s}
.editorial-hero__cta:hover .editorial-hero__cta-arrow{transform:translateY(2px)}
.hero.editorial-hero p.editorial-hero__trust{font:650 11px/1.5 'DM Sans',sans-serif;color:#706775;margin:10px 0 0}
.editorial-hero__trust span{color:#08786f;font-weight:900;margin-right:4px}
@keyframes editorial-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes editorial-marker{to{transform:skew(-1.5deg) scaleX(1)}}
/* The default catalog section has generous desktop padding. Tighten the mobile path to discovery. */
@media(max-width:720px){
 html{scroll-padding-top:84px}
 .editorial-hero .editorial-hero__inner{width:calc(100% - 34px)}
 .feature-strip .feature-inner{min-height:0;padding:10px 0;gap:5px 12px;justify-content:center;font-size:10px}
 .feature-mark{width:16px;height:16px;margin-right:4px}
 .catalog-section{padding-top:31px}
 .catalog-section .section-heading{margin-bottom:16px}
 .catalog-section .section-heading h2{font-size:clamp(30px,7.5vw,39px);margin:7px 0 5px}
 .catalog-section .section-heading p{font-size:12px;line-height:1.5}
 .catalog-section .section-marker{font-size:10px}
}
@media(min-width:700px) and (max-width:979px){
 .editorial-hero .editorial-hero__inner{width:min(100% - 64px,850px);padding:53px 0 52px;gap:16px}
 .hero.editorial-hero h1.editorial-hero__title{font-size:clamp(56px,7.2vw,70px)}
 .editorial-hero__details{max-width:590px;margin-top:15px}
 .hero.editorial-hero p.editorial-hero__desc{font-size:16px}
 .editorial-hero__cta{max-width:410px;min-height:56px}
}
@media(min-width:980px){
 .hero.editorial-hero{background:linear-gradient(110deg,#faf5ed 0%,#f8f2e9 60%,#efe5dd 100%)}
 .editorial-hero .editorial-hero__inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:clamp(45px,5vw,80px);align-items:center;padding:67px 0 66px}
 .hero.editorial-hero h1.editorial-hero__title{font-size:clamp(59px,5.55vw,79px);margin-top:23px;line-height:1.045}
 .editorial-hero__details{margin:0;padding:5px 0 5px 26px;border-left:3px solid #25dec6}
 .hero.editorial-hero p.editorial-hero__desc{font-size:17px;line-height:1.78;max-width:465px}
 .editorial-hero__cta{max-width:365px;margin-top:27px;min-height:58px;font-size:15px}
 .hero.editorial-hero p.editorial-hero__trust{margin-top:15px;font-size:12px}
 .catalog-section{padding-top:67px}
 .catalog-section .section-heading{margin-bottom:26px}
}
@media(max-width:360px){
 .hero.editorial-hero h1.editorial-hero__title{font-size:34px}
 .editorial-hero .editorial-hero__inner{width:calc(100% - 30px);padding-top:29px;padding-bottom:27px}
 .hero.editorial-hero p.editorial-hero__desc{font-size:13px}
 .editorial-hero__cta{min-height:50px}
 .hero.editorial-hero p.editorial-hero__trust{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 .editorial-hero__eyebrow,.editorial-hero__title-line,.editorial-hero__details{animation:none!important;opacity:1!important;transform:none!important}
 .editorial-hero__highlight::before,.editorial-hero__premium-highlight::before,.editorial-hero__free-highlight::before{animation:none!important;transform:scaleX(1) skew(-1.5deg)!important}
 .editorial-hero__cta,.editorial-hero__cta-arrow{transition:none!important}
}

/* MIRALA catalog v6 — Warm Hero → Cool Catalog (owner screenshot review, 24 Oct 2026).
   Keep the cream hero intact; change only the discovery surface below the benefits strip. */
.catalog-section{
 background:#edf3f2;
 border-top:1px solid #dce8e5;
 padding-top:46px;
}
.catalog-section .section-heading{margin-bottom:23px}
.catalog-section .section-heading h2{margin-top:9px;margin-bottom:7px}
.catalog-section .filter-shell{
 background:#fff;
 border-color:#d8e5e2;
 box-shadow:0 12px 28px rgba(35,77,68,.055);
}
.catalog-section .catalog-count{
 border-color:#d8e5e2;
 box-shadow:0 8px 20px rgba(35,77,68,.045);
}
@media(max-width:720px){
 .catalog-section{padding-top:24px}
 .catalog-section .section-heading{margin-bottom:14px}
 .catalog-section .section-heading h2{font-size:clamp(28px,7.4vw,35px);margin:6px 0 5px}
 .catalog-section .section-heading p{line-height:1.5}
}
@media(min-width:980px){
 .catalog-section{padding-top:43px}
 .catalog-section .section-heading{margin-bottom:24px}
}

/* MIRALA Conversion Cleanup v7 — reduce discovery friction, not a redesign.
   The existing v5 hero, v6 sage palette, data, checkout and GA4 stay intact. */
.card-detail{color:#63596a;font:650 12px/1.45 'DM Sans',sans-serif;margin:-9px 0 14px}
.product-card .card-action{background:#352438;border-color:#352438;color:#fff;min-height:44px;padding:11px 14px}
.product-card .card-action:hover,.product-card .card-action:focus-visible{background:#245249;border-color:#245249;color:#fff}
@media(max-width:720px){
 .topline{display:none}
 .catalog-section .section-marker{display:none}
 .catalog-section .section-heading{margin-bottom:12px}
 .catalog-section .section-heading h2{font-size:clamp(27px,7vw,34px);margin:0 0 5px}
 .catalog-section .section-heading p{font-size:12px;line-height:1.45}
 .catalog-section .filter-shell{padding:14px}
 .catalog-section .search-row{gap:10px}
 .catalog-section .search-box{min-height:48px}
 .catalog-section .type-wrap{gap:3px}
 .catalog-section .type-wrap select{height:46px}
 .catalog-section .grade-line{margin-top:13px}
 .catalog-section .grade-line>span{margin-bottom:7px}
 .catalog-section .grade-chip{min-height:39px;padding:8px 13px}
 .catalog-section .products-head{margin-top:20px;margin-bottom:11px}
 .card-detail{font-size:11.5px;margin:-8px 0 12px}
}

/* UX Micro Patch v7.1 — mobile-only grade-rail guidance (no filter behavior changes). */
.grade-label-row{display:flex;align-items:center;flex:0 0 auto;min-width:57px}
.grade-label{font-size:10px;font-weight:900;letter-spacing:.14em;color:#786a76}
.grade-scroll-hint{display:none}
@media(max-width:720px){
 .catalog-section .grade-label-row{width:100%;justify-content:space-between;gap:8px;margin-bottom:7px}
 .catalog-section .grade-scroll-hint{display:inline-flex;align-items:center;gap:5px;color:#08786f;font-size:10px;font-weight:800;letter-spacing:0;white-space:nowrap;line-height:1.35}
 .catalog-section .grade-scroll-arrow{font-size:14px;line-height:1}
}
