/* Ci.Wear Promotion Stimulus: preview-only, visually isolated from Fashion storefront. */
#cwStimulusBanner[hidden],#cwStimulusRunning[hidden],#cwStimulusTicker[hidden]{display:none!important}
#cwStimulusBanner{padding:24px clamp(20px,4vw,60px) 8px;max-width:1580px;margin:auto}
#cwStimulusBanner .cw-promo-banner-box{min-height:192px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;
 border:1px solid #e8d9cd;border-radius:15px;background:linear-gradient(105deg,#faf7f2 0%,#efe6de 66%,#dfc5b0 100%)}
#cwStimulusBanner .cw-promo-banner-copy{position:relative;z-index:2;max-width:690px;padding:30px clamp(25px,5vw,70px)}
#cwStimulusBanner .cw-promo-eyebrow{font-size:10px;font-weight:700;letter-spacing:.24em;color:#91644f}
#cwStimulusBanner h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(24px,2.8vw,38px);line-height:1.22;font-weight:500;letter-spacing:-.025em;color:#3d2920;margin:11px 0 9px}
#cwStimulusBanner p{font-size:13px;color:#806b5f;line-height:1.65;max-width:590px;margin:0 0 17px}
#cwStimulusBanner .cw-promo-cta{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:10px 21px;border-radius:6px;background:#9d6044;color:#fff;font-size:12px;font-weight:600;letter-spacing:.035em;text-decoration:none}
#cwStimulusBanner .cw-promo-cta:after{content:' ↗';margin-left:8px}
#cwStimulusBanner .cw-promo-cta:hover{background:#6e452f}
#cwStimulusBanner .cw-promo-cta:focus-visible{outline:3px solid #a76646;outline-offset:3px}
#cwStimulusBanner .cw-promo-coming{display:inline-block;color:#9b7868;font-size:12px}
#cwStimulusBanner .cw-promo-abstract{position:absolute;right:0;top:0;bottom:0;width:40%;overflow:hidden;pointer-events:none}
#cwStimulusBanner .cw-promo-circle-one,#cwStimulusBanner .cw-promo-circle-two,#cwStimulusBanner .cw-promo-circle-three{position:absolute;display:block;border-radius:50%}
#cwStimulusBanner .cw-promo-circle-one{width:250px;height:250px;right:13%;top:-50px;background:#fff8ee7a;border:1px solid #fff8ed}
#cwStimulusBanner .cw-promo-circle-two{width:168px;height:168px;right:-23px;bottom:-78px;background:#c6927860;border:1px solid #f8e8da}
#cwStimulusBanner .cw-promo-circle-three{width:84px;height:84px;right:37%;bottom:9px;background:#eee0d2a8;border:1px solid #fff7ef}
/* Product images remain 150% of category thumbnail width (144px desktop max,
   97.5px mobile) but now use a portrait rounded rectangle to prevent circle clipping.
   Original category img: min(7vw,96px) desktop; 65px mobile. */
#cwStimulusRunning{padding-top:12px;padding-bottom:28px}
/* Static brand grid (never animated). Only Owner-enabled logos with verified links are shown. */
#cwStimulusRunning .cw-stimulus-brands[hidden]{display:none!important}
#cwStimulusRunning .cw-stimulus-brands{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:2px 10px;margin:0 auto 22px}
#cwStimulusRunning .cw-stimulus-brand-link{width:126px;height:62px;box-sizing:border-box;display:grid;place-items:center;background:#fff;border:1px solid #eee5de;border-radius:10px;padding:10px 13px;transition:border-color .2s,box-shadow .2s;text-decoration:none}
#cwStimulusRunning .cw-stimulus-brand-link:hover{border-color:#caa78d;box-shadow:0 4px 15px #4f2d1612}
#cwStimulusRunning .cw-stimulus-brand-link:focus-visible{outline:2px solid #b57d60;outline-offset:3px}
#cwStimulusRunning .cw-stimulus-brand-link img{width:100%;height:100%;min-width:0;min-height:0;display:block;object-fit:contain;object-position:center}

#cwStimulusRunning .cw-stimulus-window{overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent);mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent)}
#cwStimulusRunning .cw-stimulus-rail{display:flex;width:max-content;animation:cw-stimulus-scroll var(--cw-duration,45s) linear infinite;will-change:transform}
#cwStimulusRunning .cw-stimulus-group{display:flex;gap:14px;padding-right:14px;flex:none;align-items:center}
#cwStimulusRunning .cw-stimulus-card{width:min(10.5vw,144px);aspect-ratio:4/5;flex:none;border:0;border-radius:12px;background:transparent}
#cwStimulusRunning .cw-stimulus-card-link{display:block;width:100%;height:100%;text-decoration:none;color:#362820;border-radius:12px}
#cwStimulusRunning .cw-stimulus-card-link:focus-visible{outline:2px solid #b57d60;outline-offset:3px}
#cwStimulusRunning .cw-stimulus-photo{box-sizing:border-box;width:100%;height:100%;padding:7px;background:#fff;border:1px solid #ecddd1;border-radius:12px;display:grid;place-items:center;overflow:hidden;transition:transform .2s}
#cwStimulusRunning .cw-stimulus-card-link:hover .cw-stimulus-photo{transform:translateY(-2px);border-color:#ba947c}
#cwStimulusRunning .cw-stimulus-photo img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;display:block}
#cwStimulusRunning .cw-stimulus-placeholder{font-size:10px;color:#a57e6a;font-weight:650;letter-spacing:0;text-align:center;line-height:1;padding:2px}
#cwStimulusRunning .cw-stimulus-rail:not(.cw-stimulus-no-pause):hover,
#cwStimulusRunning .cw-stimulus-rail:not(.cw-stimulus-no-pause):focus-within{animation-play-state:paused}
@keyframes cw-stimulus-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){
 #cwStimulusBanner{padding:15px 20px 8px}
 #cwStimulusBanner .cw-promo-banner-box{min-height:174px}
 #cwStimulusBanner .cw-promo-banner-copy{padding:24px 22px;max-width:95%}
 #cwStimulusBanner h2{font-size:clamp(21px,5.5vw,30px)}
 #cwStimulusBanner p{max-width:90%;font-size:12px}
 #cwStimulusBanner .cw-promo-abstract{opacity:.3;width:55%}
 #cwStimulusRunning .cw-stimulus-card{width:97.5px}
 #cwStimulusRunning .cw-stimulus-photo{padding:5px}
 #cwStimulusRunning .cw-stimulus-brands{gap:8px;margin-bottom:16px;padding:0}
 #cwStimulusRunning .cw-stimulus-brand-link{width:calc((100% - 24px)/4);min-width:70px;max-width:104px;height:53px;padding:7px 9px;border-radius:8px}
}
@media(prefers-reduced-motion:reduce){
 #cwStimulusRunning .cw-stimulus-rail{animation:none;will-change:auto}
 #cwStimulusRunning .cw-stimulus-window{overflow-x:auto;mask-image:none;-webkit-mask-image:none}
}

/* Lightweight optional owner-controlled text runner; OFF by default. */
#cwStimulusTicker{max-width:1580px;margin:0 auto;padding:0 clamp(20px,4vw,60px) 15px;overflow:hidden}
#cwStimulusTicker .cw-stimulus-ticker-rail{display:flex;width:max-content;animation:cw-ticker-scroll var(--cw-ticker-duration,45s) linear infinite}
#cwStimulusTicker .cw-stimulus-ticker-group{flex:none;display:flex;gap:28px;padding-right:28px;align-items:center}
#cwStimulusTicker .cw-stimulus-ticker-group span{font-size:11px;letter-spacing:.025em;color:#8b6957;white-space:nowrap}
#cwStimulusTicker .cw-stimulus-ticker-group span::before{content:'✦';margin-right:16px;color:#c39d86}
#cwStimulusTicker .cw-stimulus-ticker-rail:hover,#cwStimulusTicker .cw-stimulus-ticker-rail:focus-within{animation-play-state:paused}
@keyframes cw-ticker-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
 #cwStimulusTicker{overflow-x:auto}
 #cwStimulusTicker .cw-stimulus-ticker-rail{animation:none}
}


/* Compact stationary brand logos. Product rail is exclusively horizontal. */
/* Ci.Wear v2: compact logos and static 12-item promotion selected in Supabase. */
#cwStimulusRunning .cw-stimulus-brands{gap:12px;margin-bottom:19px;padding:0 12px}
#cwStimulusRunning .cw-stimulus-brand-link{width:88px;height:46px;padding:7px 11px;border-radius:7px;border:1px solid #f0e9e3;box-shadow:none}
#cwStimulusRunning .cw-stimulus-brand-link img{max-height:30px}
@media(max-width:760px){#cwStimulusRunning .cw-stimulus-brands{gap:7px}#cwStimulusRunning .cw-stimulus-brand-link{width:calc((100% - 21px)/4);max-width:90px;min-width:60px;height:42px;padding:7px}#cwStimulusRunning .cw-stimulus-brand-link img{max-height:27px}}
/* Auto-running affiliate products: override the earlier static-grid styles; brand logos stay fixed. */
#cwStimulusRunning .cw-stimulus-window{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent)}
#cwStimulusRunning .cw-stimulus-rail{display:flex;width:max-content;animation:cw-stimulus-scroll var(--cw-duration,35s) linear infinite!important;transform:translateX(0);will-change:transform}
#cwStimulusRunning .cw-stimulus-group{flex:none;flex-wrap:nowrap;justify-content:flex-start;gap:15px;padding-right:15px}
#cwStimulusRunning .cw-stimulus-rail:not(.cw-stimulus-no-pause):hover,#cwStimulusRunning .cw-stimulus-rail:not(.cw-stimulus-no-pause):focus-within{animation-play-state:paused!important}
@media(max-width:760px){#cwStimulusRunning .cw-stimulus-group{gap:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){#cwStimulusRunning .cw-stimulus-window{overflow-x:auto;mask-image:none;-webkit-mask-image:none}#cwStimulusRunning .cw-stimulus-rail{animation:none!important;transform:none!important;will-change:auto}}
