/* FMKE homepage "Picks of the moment" — [fmke_home_picks]
   A PRODUCT spotlight (not a category banner): one live product at a time,
   big circular photo + price sticker, a clickable "today's picks" list, and
   a striped curtain wipe between products. Orange theme tokens throughout. */

.fmke-hp-wrap{width:90vw;max-width:1800px;margin-left:calc(50% - 45vw);margin-right:calc(50% - 45vw);
 padding:0;box-sizing:border-box}

.fmke-hp{--hp-int:6000ms;--tx:0;--ty:0;
 --o:var(--fmke-primary,#FF6A00);--od:var(--fmke-primary-dark,#CC5500);--ol:var(--fmke-primary-light,#FFF1E0);--dk:var(--fmke-dark,#1F3D2C);
 position:relative;isolation:isolate;overflow:hidden;margin:32px 0;border-radius:22px;color:#fff;
 display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:center;gap:26px;
 padding:34px 28px 34px 44px;min-height:410px;box-sizing:border-box;
 background:linear-gradient(125deg,var(--o) 0%,#FF8A2B 52%,var(--od) 135%);
 box-shadow:0 18px 40px rgba(255,106,0,.30);outline-offset:3px}
.fmke-hp *{box-sizing:border-box}

/* ---- background: drifting diagonal stripes + dot field + soft rings ---- */
.fmke-hp__bg{position:absolute;inset:0;z-index:0;pointer-events:none;
 background:
  radial-gradient(circle at 12% 112%,rgba(255,255,255,.20) 0 120px,transparent 121px),
  radial-gradient(circle at 98% -8%,rgba(255,255,255,.14) 0 150px,transparent 151px),
  radial-gradient(rgba(255,255,255,.28) 1.5px,transparent 1.6px) 0 0/22px 22px,
  repeating-linear-gradient(115deg,rgba(255,255,255,.07) 0 16px,transparent 16px 34px);
 background-size:auto,auto,22px 22px,auto;animation:fmkeHpDrift 40s linear infinite}
@keyframes fmkeHpDrift{to{background-position:0 0,0 0,66px 44px,340px 0}}

/* ---- stage: slides stacked, only the active one is shown ---- */
.fmke-hp__stage{position:relative;z-index:2;min-height:340px;display:grid;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.fmke-hp__stage img{-webkit-user-drag:none;user-drag:none}
.fmke-hp__slide{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:20px;
 visibility:hidden;opacity:0}
.fmke-hp__slide.is-active{visibility:visible;opacity:1}

/* copy */
.fmke-hp__copy{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.fmke-hp__chip{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 10px;border-radius:999px;
 background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.4);backdrop-filter:blur(6px);
 font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.fmke-hp__chip i{width:8px;height:8px;border-radius:50%;background:#fff;animation:fmkeHpPulse 1.6s ease-out infinite}
@keyframes fmkeHpPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.8)}100%{box-shadow:0 0 0 9px rgba(255,255,255,0)}}

.fmke-hp .fmke-hp__title{margin:0!important;color:#fff!important;font-size:clamp(26px,3.1vw,44px)!important;font-weight:800!important;
 line-height:1.08!important;letter-spacing:-.4px;text-shadow:0 3px 14px rgba(120,40,0,.35);
 display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fmke-hp__tag{margin:0;max-width:38ch;font-size:15px;line-height:1.5;color:rgba(255,255,255,.95)}

.fmke-hp__price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.fmke-hp__price strong{font-size:clamp(28px,3vw,40px);font-weight:900;line-height:1;color:#fff}
.fmke-hp__price .woocommerce-Price-amount,.fmke-hp__price .amount{color:inherit}
.fmke-hp__price small{font-size:13px;font-weight:700;opacity:.9;text-transform:uppercase;letter-spacing:.05em}
.fmke-hp__price del{font-size:16px;opacity:.75}

.fmke-hp__actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin-top:2px}
.fmke-hp .fmke-hp__cta{display:inline-flex;align-items:center;gap:12px;padding:7px 7px 7px 22px;border-radius:999px;
 background:#fff;color:var(--od)!important;font-weight:800;font-size:15px;text-decoration:none!important;
 box-shadow:0 10px 22px rgba(120,40,0,.30);transition:transform .2s ease,box-shadow .2s ease}
.fmke-hp__cta b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--o);color:#fff;
 font-size:16px;transition:transform .25s ease}
.fmke-hp .fmke-hp__cta:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 14px 28px rgba(120,40,0,.38)}
.fmke-hp__cta:hover b{transform:translateX(4px) rotate(-12deg)}
.fmke-hp .fmke-hp__more{position:relative;color:#fff!important;font-weight:700;font-size:14px;text-decoration:none!important;padding-bottom:2px}
.fmke-hp__more::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#fff;transform:scaleX(.35);
 transform-origin:left;transition:transform .3s ease}
.fmke-hp__more:hover::after{transform:scaleX(1)}
.fmke-hp a:focus-visible,.fmke-hp button:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* ---- art: morphing blob, rotating dashed ring, circular photo, sticker ---- */
.fmke-hp__art{position:relative;display:grid;place-items:center;aspect-ratio:1;width:min(100%,340px);justify-self:center;
 transform:translate(calc(var(--tx) * 12px),calc(var(--ty) * 8px))}
.fmke-hp__blob{position:absolute;inset:-4%;background:rgba(255,255,255,.22);border-radius:42% 58% 55% 45%/50% 45% 55% 50%;
 animation:fmkeHpMorph 9s ease-in-out infinite alternate}
@keyframes fmkeHpMorph{to{border-radius:58% 42% 40% 60%/42% 58% 42% 58%;transform:rotate(14deg) scale(1.04)}}
.fmke-hp__ring{position:absolute;inset:-9%;border-radius:50%;border:2px dashed rgba(255,255,255,.65);animation:fmkeHpSpin 36s linear infinite}
@keyframes fmkeHpSpin{to{transform:rotate(360deg)}}
.fmke-hp__photo{position:relative;width:86%;aspect-ratio:1;border-radius:50%;overflow:hidden;border:7px solid #fff;
 background:var(--ol);box-shadow:0 22px 44px rgba(120,40,0,.45)}
.fmke-hp__photo img{width:100%;height:100%;object-fit:cover;display:block}
.fmke-hp__sticker{position:absolute;top:2%;right:-2%;z-index:2;width:92px;height:92px;border-radius:50%;
 display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;text-align:center;
 background:var(--dk);color:#fff;border:3px dashed var(--ol);box-shadow:0 10px 20px rgba(0,0,0,.3);transform:rotate(-10deg)}
.fmke-hp__sticker b{font-size:22px;font-weight:900;color:#FFD9B3}
.fmke-hp__sticker em{font-style:normal;font-size:11px;font-weight:800;letter-spacing:.12em}

/* entrance choreography (runs whenever a slide becomes active) */
.fmke-hp__chip,.fmke-hp__title,.fmke-hp__tag,.fmke-hp__price,.fmke-hp__actions{opacity:0;transform:translateY(20px)}
.fmke-hp__slide.is-active .fmke-hp__chip,.fmke-hp__slide.is-active .fmke-hp__title,.fmke-hp__slide.is-active .fmke-hp__tag,
.fmke-hp__slide.is-active .fmke-hp__price,.fmke-hp__slide.is-active .fmke-hp__actions{
 animation:fmkeHpUp .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 90ms + 120ms)}
@keyframes fmkeHpUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.fmke-hp__photo{opacity:0}
.fmke-hp__slide.is-active .fmke-hp__photo{animation:fmkeHpPhoto .9s cubic-bezier(.2,.9,.3,1.12) both .1s}
@keyframes fmkeHpPhoto{from{opacity:1;clip-path:circle(0% at 50% 50%);transform:scale(.7) rotate(-14deg)}to{opacity:1;clip-path:circle(75% at 50% 50%);transform:none}}
.fmke-hp__sticker{opacity:0}
.fmke-hp__slide.is-active .fmke-hp__sticker{animation:fmkeHpStick .7s cubic-bezier(.2,1.6,.4,1) both .65s,fmkeHpWiggle 4s ease-in-out 1.5s infinite}
@keyframes fmkeHpStick{from{opacity:0;transform:scale(0) rotate(-60deg)}to{opacity:1;transform:rotate(-10deg)}}
@keyframes fmkeHpWiggle{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(-4deg) scale(1.05)}}

/* ---- picks list ---- */
.fmke-hp__list{position:relative;z-index:3;display:flex;flex-direction:column;gap:8px;min-width:0}
.fmke-hp__listhead{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.9;padding:0 4px 2px}
.fmke-hp__item{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;
 width:100%;padding:8px 12px 10px 8px;border:0;border-radius:14px;cursor:pointer;text-align:left;font:inherit;color:#fff;
 background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);overflow:hidden;
 transition:background .25s ease,transform .2s ease,color .25s ease}
.fmke-hp__item:hover{background:rgba(255,255,255,.28);transform:translateX(-3px)}
.fmke-hp__thumb{width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--ol);border:2px solid rgba(255,255,255,.9)}
.fmke-hp__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.fmke-hp__itext{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.fmke-hp__icat{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.fmke-hp__iname{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fmke-hp__iprice{font-size:12px;font-weight:800;white-space:nowrap}
.fmke-hp__iprice .woocommerce-Price-amount,.fmke-hp__iprice .amount{color:inherit}
.fmke-hp__iprice del{display:none}
.fmke-hp__item::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--o);transform:scaleX(0);transform-origin:left}
.fmke-hp__item.is-active{background:#fff;color:var(--dk);border-color:#fff;transform:translateX(-8px);box-shadow:0 10px 22px rgba(120,40,0,.28)}
.fmke-hp__item.is-active .fmke-hp__icat{color:var(--od);opacity:1}
.fmke-hp__item.is-active .fmke-hp__iprice{color:var(--od)}
.fmke-hp__item.is-active::after{animation:fmkeHpFill var(--hp-int) linear both}
.fmke-hp.is-paused .fmke-hp__item.is-active::after{animation-play-state:paused}
@keyframes fmkeHpFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* pause button */
.fmke-hp__pause{position:absolute;top:14px;right:14px;z-index:7;width:32px;height:32px;border-radius:50%;
 border:1px solid rgba(255,255,255,.55);background:rgba(120,40,0,.28);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px)}
.fmke-hp__pause .i-play{display:none}
.fmke-hp.is-user-paused .fmke-hp__pause .i-play{display:block}
.fmke-hp.is-user-paused .fmke-hp__pause .i-pause{display:none}

/* ---- signature transition: striped curtain wipe ---- */
.fmke-hp__bars{position:absolute;inset:0;z-index:6;display:flex;pointer-events:none}
.fmke-hp__bars i{flex:1;transform:scaleY(0);transform-origin:top;will-change:transform}
.fmke-hp__bars i:nth-child(odd){background:var(--dk)}
.fmke-hp__bars i:nth-child(even){background:var(--od)}
.fmke-hp.is-covering .fmke-hp__bars i{animation:fmkeHpCover .32s cubic-bezier(.7,0,.3,1) forwards;animation-delay:calc(var(--n) * 38ms)}
.fmke-hp.is-uncovering .fmke-hp__bars i{transform:scaleY(1);transform-origin:bottom;animation:fmkeHpUncover .32s cubic-bezier(.7,0,.3,1) forwards;animation-delay:calc(var(--n) * 38ms)}
@keyframes fmkeHpCover{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes fmkeHpUncover{from{transform:scaleY(1)}to{transform:scaleY(0)}}

/* ---- responsive ---- */
@media (max-width:1100px){
 .fmke-hp{grid-template-columns:minmax(0,1fr) 250px;padding:30px 22px 30px 32px;gap:18px}
}
@media (max-width:860px){
 .fmke-hp{grid-template-columns:minmax(0,1fr);padding:24px 18px 18px;gap:18px;min-height:0;border-radius:18px;margin:22px 0}
 .fmke-hp__stage{min-height:300px}
 .fmke-hp__slide{grid-template-columns:minmax(0,1fr) 128px;gap:12px;align-items:start}
 .fmke-hp__art{order:2;width:128px;margin-top:40px}
 .fmke-hp__copy{order:1;gap:10px}
 .fmke-hp__photo{border-width:4px}
 .fmke-hp__sticker{width:56px;height:56px;border-width:2px;top:-6%;right:-10%}
 .fmke-hp__sticker b{font-size:13px}.fmke-hp__sticker em{font-size:8px}
 .fmke-hp .fmke-hp__title{font-size:23px!important}
 .fmke-hp__tag{font-size:13.5px}
 .fmke-hp__list{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .fmke-hp__list::-webkit-scrollbar{display:none}
 .fmke-hp__listhead{display:none}
 .fmke-hp__item{flex:0 0 190px;scroll-snap-align:start;grid-template-columns:38px minmax(0,1fr)}
 .fmke-hp__thumb{width:38px;height:38px}
 .fmke-hp__iprice{display:none}
 .fmke-hp__item:hover,.fmke-hp__item.is-active{transform:none}
 .fmke-hp__pause{top:10px;right:10px}
 .fmke-hp__chip{font-size:10.5px;letter-spacing:.04em;padding:5px 11px 5px 9px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .fmke-hp__copy{padding-top:2px}
}

@media (prefers-reduced-motion:reduce){
 .fmke-hp *,.fmke-hp *::before,.fmke-hp *::after{animation:none!important;transition:none!important}
 .fmke-hp__chip,.fmke-hp__title,.fmke-hp__tag,.fmke-hp__price,.fmke-hp__actions,.fmke-hp__photo,.fmke-hp__sticker{opacity:1;transform:none}
 .fmke-hp__sticker{transform:rotate(-10deg)}
 .fmke-hp__item.is-active::after{transform:scaleX(1)}
}
