/* MYONE 1.0.357 — homepage commerce, editorial and video proof enhancements.
   Scoped to the canonical MYONE homepage. Uses the established MYONE palette. */
.my1-home .my1-section__eyebrow{display:inline-flex;align-items:center;margin-bottom:7px;color:#138f83;font-size:10px;font-weight:850;letter-spacing:.11em;direction:ltr}
.my1-home .my1-section__all{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--my1-navy);font-size:12px;font-weight:850;white-space:nowrap}
.my1-home .my1-section__all:hover,.my1-home .my1-section__all:focus-visible{color:#0b8f83}
.my1-home :is(.my1-product-showcase,.my1-knowledge,.my1-video-stories) :is(a,button):focus-visible{outline:3px solid var(--my1-teal);outline-offset:3px}
.my1-home .my1-section__actions{display:flex;align-items:center;gap:15px}
.my1-home .my1-rail__controls{display:flex;gap:7px}
.my1-home .my1-rail__controls button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid #dce9e7;background:#fff;color:var(--my1-navy);cursor:pointer;font-size:19px;font-weight:700;font-family:inherit;transition:background .18s,border-color .18s}
.my1-home .my1-rail__controls button:hover{background:var(--my1-mint);border-color:var(--my1-teal)}

/* Product grid — desktop remains a grid; mobile becomes a genuinely swipeable rail. */
.my1-home .my1-product-showcase{padding:25px 25px 30px;background:linear-gradient(155deg,#fff,#fffdf9);overflow:hidden}
.my1-home .my1-product-showcase .my1-section__head{gap:16px;margin-bottom:20px}
.my1-home .my1-product-showcase .my1-section__head h2{font-size:clamp(21px,2.4vw,28px);line-height:1.45;font-weight:900}
.my1-home .my1-product-showcase .my1-section__head p{font-size:12px;line-height:1.7}
.my1-home .my1-product-showcase .my1-rail__controls{display:none}
.my1-home .my1-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;min-width:0}
.my1-home .my1-products>.my1-product,.my1-home .my1-product:nth-child(n){display:flex;flex-direction:column;min-width:0;height:100%;padding:9px;border:1px solid #e4ecee;border-radius:20px;background:#fff;box-shadow:0 5px 17px rgba(23,50,77,.035);transition:box-shadow .2s,transform .2s,border-color .2s}
.my1-home .my1-products>.my1-product:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(23,50,77,.09);border-color:#c9e8e3}
.my1-home .my1-product__image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;min-height:0;padding:14px;border-radius:15px;background:linear-gradient(140deg,#f8fbfa,#fffaf1);overflow:hidden}
.my1-home .my1-product__image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s}
.my1-home .my1-product__image:hover img{transform:scale(1.045)}
.my1-home .my1-product__badge{position:absolute;top:9px;right:9px;z-index:1;padding:5px 9px;border-radius:10px;background:var(--my1-coral);color:#fff;font-size:10px;font-style:normal;font-weight:850}
.my1-home .my1-product__badge--out{background:#647785}
.my1-home .my1-product__body{display:flex;flex:1;flex-direction:column;padding:14px 7px 6px;min-width:0}
.my1-home .my1-product__category{color:#0b8f83;font-size:10px;font-weight:850;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my1-home .my1-product h3{font-size:13px;line-height:1.8;font-weight:850;margin:0 0 7px;white-space:normal;overflow:hidden;text-overflow:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:46px}
.my1-home .my1-product__description{margin:0;min-height:34px;color:#7b8995;font-size:10.5px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.my1-home .my1-product__rating{margin-top:10px;font-size:11px}
.my1-home .my1-product__foot{margin-top:auto;padding-top:15px;gap:8px;display:flex;align-items:center;justify-content:space-between}
.my1-home .my1-product__price{min-width:0;font-size:12px;font-weight:900;line-height:1.7;color:var(--my1-navy);overflow-wrap:anywhere}
.my1-home .my1-product__price del{color:#a2adb5;font-size:10px;font-weight:600}
.my1-home .my1-product__price ins{text-decoration:none;color:#0c998c}
.my1-home .my1-cart{flex:0 0 41px;width:41px;height:41px;border-radius:13px;background:#16b6a6;color:#fff!important;box-shadow:0 8px 16px rgba(25,183,165,.17);font-size:21px;text-decoration:none}
.my1-home .my1-cart:hover{background:#109b8f}
.my1-home .my1-cart svg{width:19px;height:19px}

/* WordPress posts are the one authoritative source; no duplicate article store. */
.my1-home .my1-knowledge{margin-top:18px;padding:28px;display:block;background:#fff;border:1px solid #edf0ef;border-radius:24px}
.my1-home .my1-knowledge__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
.my1-home .my1-knowledge h2{margin:0;font-size:clamp(21px,2.4vw,28px);font-weight:900;color:var(--my1-navy);line-height:1.45}
.my1-home .my1-knowledge__heading p{font-size:12px;line-height:1.8;color:var(--my1-gray);margin:6px 0 0}
.my1-home .my1-knowledge__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0}
.my1-home .my1-knowledge__cards .my1-article-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;min-width:0;border-radius:19px;overflow:hidden;border:1px solid #e6edee;background:#fff;box-shadow:0 7px 20px rgba(23,50,77,.035)}
.my1-home .my1-article-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#e3f5f0}
.my1-home .my1-article-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s}
.my1-home .my1-article-card__media:hover img{transform:scale(1.04)}
.my1-home .my1-article-card__fallback{display:grid;place-items:center;height:100%;background:linear-gradient(145deg,#d9f8ef,#fff6e5);color:#109c8c}
.my1-home .my1-article-card__fallback svg{height:45px;width:45px}
.my1-home .my1-article-card__body{display:flex;flex:1;flex-direction:column;min-height:192px;padding:18px}
.my1-home .my1-article-card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#82919b;font-size:10px}
.my1-home .my1-article-card__meta span{color:#168b81;font-weight:850}
.my1-home .my1-article-card h3{margin:10px 0 7px;font-size:15px;line-height:1.85;color:var(--my1-navy);font-weight:900}
.my1-home .my1-article-card__body>p{font-size:11px;color:#7b8995;line-height:1.9;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.my1-home .my1-article-card__link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;color:#098c7d!important;font-size:11px;font-weight:850}

/* Video testimonials: genuine user media only; never autoplay. */
.my1-home .my1-video-stories{margin-top:18px;padding:28px;background:linear-gradient(135deg,#f2fffa,#fffaf4 82%);border:1px solid #e4f1eb;border-radius:24px;box-shadow:var(--my1-shadow)}
.my1-home .my1-video-stories__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}
.my1-home .my1-video-stories h2{font-size:clamp(21px,2.4vw,28px);line-height:1.5;color:var(--my1-navy);margin:0;font-weight:900}
.my1-home .my1-video-stories__heading p{margin:5px 0 0;color:var(--my1-gray);font-size:12px}
.my1-home .my1-video-stories__rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.my1-home .my1-video-story{display:flex;flex-direction:column;overflow:hidden;min-width:0;border:1px solid #e3eeea;background:#fff;border-radius:19px;box-shadow:0 8px 24px rgba(23,50,77,.045)}
.my1-home .my1-video-story__player{position:relative;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(145deg,#154841,#17324d)}
.my1-home .my1-video-story__player video{display:block;width:100%;height:100%;object-fit:cover;background:transparent}
.my1-home .my1-video-story__body{padding:16px;min-width:0}
.my1-home .my1-video-story__body h3{font-size:13px;font-weight:900;line-height:1.8;margin:0 0 6px}
.my1-home .my1-video-story__body p{font-size:11px;line-height:1.9;color:var(--my1-gray);margin:0 0 12px}
.my1-home .my1-video-story__credit{display:flex;flex-direction:column;gap:3px;padding-top:10px;border-top:1px solid #edf0ee}
.my1-home .my1-video-story__credit strong{font-size:11px;color:#097f75}
.my1-home .my1-video-story__credit span{font-size:10px;color:var(--my1-gray)}

@media(max-width:1100px){
  .my1-home .my1-products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .my1-home .my1-knowledge__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .my1-home .my1-video-stories__rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:8px}
  .my1-home .my1-video-story{flex:0 0 min(42vw,280px);scroll-snap-align:start}
  .my1-home .my1-video-stories .my1-rail__controls{display:flex}
}
@media(max-width:767px){
  .my1-home .my1-product-showcase,.my1-home .my1-knowledge,.my1-home .my1-video-stories{padding:19px 13px;border-radius:20px}
  .my1-home .my1-product-showcase .my1-section__head{align-items:flex-start;gap:10px}
  .my1-home .my1-product-showcase .my1-section__head h2,.my1-home .my1-knowledge h2,.my1-home .my1-video-stories h2{font-size:20px}
  .my1-home .my1-section__actions{flex-direction:column-reverse;align-items:flex-end;gap:7px}
  .my1-home .my1-product-showcase .my1-rail__controls{display:flex}
  .my1-home .my1-rail__controls button{height:33px;width:33px}
  .my1-home .my1-products{display:flex;grid-template-columns:none;gap:11px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:3px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 3px 12px}
  .my1-home .my1-products::-webkit-scrollbar{display:none}
  .my1-home .my1-products>.my1-product,.my1-home .my1-product:nth-child(n){display:flex!important;flex:0 0 min(72vw,276px);width:min(72vw,276px);height:auto;scroll-snap-align:start;transform:none}
  .my1-home .my1-product__image{aspect-ratio:1.15}
  .my1-home .my1-product h3{font-size:13px}
  .my1-home .my1-product__price{font-size:12px}
  .my1-home .my1-knowledge__heading,.my1-home .my1-video-stories__heading{align-items:flex-start}
  .my1-home .my1-knowledge__heading p,.my1-home .my1-video-stories__heading p{font-size:11px}
  .my1-home .my1-knowledge__cards{display:grid;grid-template-columns:1fr;gap:13px}
  .my1-home .my1-article-card__media{aspect-ratio:16/9}
  .my1-home .my1-article-card__body{min-height:0}
  .my1-home .my1-video-stories__rail{gap:11px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .my1-home .my1-video-stories__rail::-webkit-scrollbar{display:none}
  .my1-home .my1-video-story{flex:0 0 min(76vw,295px)}
  .my1-home .my1-video-story__player{aspect-ratio:4/5}
}
@media(prefers-reduced-motion:reduce){
  .my1-home .my1-products,.my1-home .my1-video-stories__rail{scroll-behavior:auto}
  .my1-home .my1-product,.my1-home .my1-product__image img,.my1-home .my1-article-card__media img{transition:none}
}
