/* carrusel-home — Frutas Torres — v1.0.1 */
@font-face{font-family:"Mato Sans";font-weight:400;font-style:normal;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:400;font-style:italic;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-regular-italic.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:700;font-style:normal;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-bold.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:900;font-style:normal;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-black.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:900;font-style:italic;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-black-italic.woff2) format("woff2")}

/* v1.0.1 — FIX: un overflow:hidden en un contenedor padre (p. ej. el CSS global del Kit:
   [data-elementor-type="wp-page"]{overflow:hidden}) rompe el position:sticky y el carrusel
   no se queda fijo, dejando mucho espacio vacío. overflow-x:clip evita el scroll lateral
   sin romper el sticky. Solo se aplica a la página que contiene este widget. */
html body [data-elementor-type]:has(.chm),
html body .elementor:has(.chm),
html body .e-con:has(.chm),
html body .e-con-inner:has(.chm),
html body .elementor-section:has(.chm),
html body .elementor-container:has(.chm),
html body .elementor-column:has(.chm),
html body .elementor-widget-wrap:has(.chm),
html body .elementor-widget-carrusel_home,
html body .elementor-widget-carrusel_home > .elementor-widget-container{overflow:visible!important;overflow-x:clip!important;overflow-y:visible!important}

html body .chm-wrapper{overflow-x:clip}
html body .chm-wrapper.chm-full{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
html body:has(.chm-full){overflow-x:clip}
html body .chm{--orange:#F36E24;--orange-2:#FF8A3D;--orange-deep:#D9561A;--green:#005941;--green-ink:#0B2E22;--cream:#FFF4E2;--cream-2:#FFE9C8;--ink:#1B1B19;--ease:cubic-bezier(.2,.8,.2,1);--chm-max:1240px;
font-family:"Mato Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-align:left;text-decoration:none;line-height:1.55;color:var(--ink);-webkit-font-smoothing:antialiased;box-sizing:border-box}
html body .chm *,html body .chm *::before,html body .chm *::after{box-sizing:border-box}
html body .chm img{display:block;max-width:100%;height:auto;border:0;border-radius:0;box-shadow:none}
html body .chm a:not([class]),html body .chm a:not([class]):hover,html body .chm a:not([class]):focus{color:inherit}
html body .chm :focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}
html body .chm__wrap{width:min(var(--chm-max),100% - 2*clamp(16px,4vw,48px));margin-inline:auto}
html body .chm__eyebrow{display:inline-flex;align-items:center;gap:.6em;font-weight:900;font-style:italic;letter-spacing:.08em;text-transform:uppercase;color:var(--orange);font-size:clamp(.85rem,1.2vw,1rem);margin:1em 0;padding:0;line-height:1.55}
html body .chm__eyebrow::before{content:"";display:block;width:28px;height:3px;border-radius:3px;background:currentColor}
html body .chm--nobar .chm__eyebrow::before{display:none}
html body .chm-btn{--bg:var(--green);--fg:#fff;position:relative;display:inline-flex;align-items:center;gap:.75em;padding:1.05em 1.6em;border-radius:999px;background:var(--bg);color:var(--fg);font-family:inherit;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.04em;line-height:1.55;text-decoration:none;font-size:.95rem;overflow:hidden;isolation:isolate;border:0;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
html body .chm-btn::after{content:"";position:absolute;inset:0;background:var(--chm-btn-fill,var(--orange));transform:translateY(101%);transition:transform .45s var(--ease);z-index:-1;border-radius:inherit}
html body .chm-btn:hover,html body .chm-btn:focus{color:var(--fg-h,var(--fg));text-decoration:none}
html body .chm-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px -12px rgba(0,89,65,.55)}
html body .chm-btn:hover::after{transform:none}
html body .chm-btn svg{width:18px;height:18px;transition:transform .35s var(--ease)}
html body .chm-btn:hover svg{transform:translateX(4px) rotate(-45deg)}
html body .chm-btn--ghost{--bg:transparent;--fg:var(--green);box-shadow:inset 0 0 0 2px var(--chm-ghost-b,var(--green))}
html body .chm-btn--ghost:hover{--fg:#fff;color:#fff}
html body .chm-btn:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){
html body .chm-btn{transition:transform .35s var(--ease),box-shadow .35s var(--ease),translate .45s var(--ease)}
}
@property --c{syntax:"<color>";inherits:true;initial-value:#ff6f00}
@property --tc{syntax:"<color>";inherits:true;initial-value:#E35F00}
@property --sbg{syntax:"<color>";inherits:true;initial-value:#FFF4E2}
html body .chm{--c:#ff6f00;--tc:#E35F00;--sbg:color-mix(in srgb,var(--c) 12%,var(--cream));height:var(--chm-h,330vh);position:relative;background:linear-gradient(var(--cream),transparent 70vh) no-repeat,var(--sbg);transition:--c .9s var(--ease),--tc .9s var(--ease),--sbg .9s var(--ease)}
html body .chm--nofade{background:var(--sbg)}
html body .chm__pin{position:-webkit-sticky;position:sticky;top:0;height:100vh;height:100svh;display:grid;align-items:center;padding:clamp(90px,12vh,120px) 0 clamp(30px,6vh,60px);overflow:hidden}
html body .chm__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,80px);align-items:center}
html body .chm__eyebrow{color:var(--tc)}
html body .chm__list{list-style:none;margin:18px 0 0;padding:0 0 0 22px;position:relative;counter-reset:w}
html body .chm__list::before,html body .chm__list::after{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:3px;background:color-mix(in srgb,var(--ink) 12%,transparent)}
html body .chm__list::after{background:var(--tc);transform-origin:center top;transform:scaleY(var(--pg,0))}
html body .chm.final .chm__list::before{background:rgba(255,255,255,.3)}
html body .chm__list li{counter-increment:w;margin:0;padding:0;list-style:none;opacity:0;transform:translateX(-20px);transition:opacity .6s var(--ease),transform .7s var(--ease)}
html body .chm__list li::before,html body .chm__list li::marker{content:none}
html body .chm__list li:nth-child(2){transition-delay:.08s}
html body .chm__list li:nth-child(3){transition-delay:.16s}
html body .chm__list li:nth-child(4){transition-delay:.24s}
html body .chm__list li:nth-child(5){transition-delay:.32s}
html body .chm__list li:nth-child(6){transition-delay:.4s}
html body .chm.seen .chm__list li{opacity:1;transform:none}
html body .chm__list button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:baseline;gap:16px;padding:.08em 0;font-family:inherit;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:-.02em;line-height:1;font-size:clamp(2.4rem,5.6vw,5.2rem);color:transparent;-webkit-text-stroke:1.5px color-mix(in srgb,var(--ink) 28%,transparent);transition:color .5s var(--ease),-webkit-text-stroke-color .5s,transform .6s var(--ease);transform-origin:left center;background:none;border:0;box-shadow:none}
html body .chm__list button:hover,html body .chm__list button:focus{background:none;color:transparent;border:0;box-shadow:none;text-decoration:none}
html body .chm__list button::before{content:"0" counter(w);font-size:.9rem;letter-spacing:.1em;-webkit-text-stroke:0;color:color-mix(in srgb,var(--ink) 35%,transparent);transform:translateY(-1.6em)}
html body .chm--nonum .chm__list button::before{display:none}
html body .chm__list button:focus-visible{outline:3px solid var(--tc);outline-offset:4px}
html body .chm__list li.on button{color:var(--tc);-webkit-text-stroke-color:transparent;transform:translateX(10px)}
html body .chm__list li.on button::before{color:var(--tc)}
html body .chm.final .chm__list button{-webkit-text-stroke-color:rgba(255,255,255,.55)}
html body .chm.final .chm__list li.on button{color:var(--chm-final-txt,#fff)}
html body .chm.final .chm__list button::before{color:rgba(255,255,255,.7)}
html body .chm__cta{margin-top:clamp(22px,4vh,36px)}
html body .chm .chm-btn{--bg:var(--tc)}
html body .chm.final .chm-btn{--bg:var(--chm-final-btn,#fff);--fg:var(--chm-final-btn-fg,var(--orange))}
html body .chm.final .chm-btn:hover{color:#fff}
html body .chm__stage{position:relative;width:min(var(--chm-stage,500px),36vw,60svh);aspect-ratio:1/1;margin-inline:auto}
html body .chm__disc{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 50% 34%,color-mix(in srgb,var(--c) 62%,#fff),var(--c) 72%);box-shadow:0 60px 100px -50px color-mix(in srgb,var(--c) 70%,#000),0 0 0 12px color-mix(in srgb,var(--c) 16%,transparent),inset 0 -40px 80px rgba(0,0,0,.14)}
html body .chm__disc::before{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-radial-gradient(circle,rgba(255,255,255,.1) 0,rgba(255,255,255,.1) 1.5px,transparent 1.5px,transparent 40px)}
html body .chm.final .chm__disc{box-shadow:rgba(0,0,0,.35) 0 60px 100px -50px,rgba(255,255,255,.22) 0 0 0 12px,rgba(0,0,0,.14) 0 -40px 80px inset}
html body .chm__img{position:absolute;inset:4%;width:92%!important;height:92%!important;max-width:none!important;object-fit:contain;opacity:0;transform:translateY(18%) rotate(-40deg) scale(.7);transition:opacity .6s var(--ease),transform 1s var(--ease);filter:drop-shadow(rgba(0,0,0,.28) 0 30px 30px)}
html body .chm__img.on{opacity:1;transform:none}
html body .chm__img.out{opacity:0;transform:translateY(-14%) rotate(40deg) scale(.7)}
html body .chm__num{position:absolute;right:-2%;top:2%;width:clamp(64px,7vw,92px);aspect-ratio:1/1;border-radius:50%;background:var(--chm-num-bg,#fff);display:grid;place-items:center;font-weight:900;font-style:italic;font-size:clamp(1.1rem,1.6vw,1.5rem);line-height:1.55;color:var(--tc);box-shadow:rgba(0,0,0,.35) 0 14px 30px -14px}
html body .chm.final .chm__num{color:var(--orange)}
@media (max-width:860px){
html body .chm__grid{grid-template-columns:1fr;text-align:center;gap:min(26px,3svh)}
html body .chm__eyebrow{justify-content:center;margin:0}
html body .chm__list{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;padding:0;margin-top:min(12px,1.5svh)}
html body .chm__list::before,html body .chm__list::after{display:none}
html body .chm__list button{font-size:clamp(1.15rem,min(6.4vw,4.6svh),2rem)}
html body .chm__list button::before{display:none}
html body .chm__list li.on button{transform:none}
html body .chm__stage{width:min(64vw,330px,34svh);order:-1}
html body .chm__pin{padding:78px 0 max(16px,2svh);align-items:center}
html body .chm__cta{margin-top:min(20px,2.4svh)}
html body .chm .chm-btn{padding:.85em 1.3em;font-size:.85rem}
html body .chm__num{width:clamp(48px,12vw,64px);font-size:1rem}
html body .chm{height:var(--chm-hm,250vh)}
}
html body .chm.chm--static{height:auto}
html body .chm.chm--static .chm__pin{position:relative;height:auto;min-height:100svh}
html body .chm.chm--static .chm__list li{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
html body .chm__img{transition:none}
html body .chm__list li{opacity:1;transform:none}
html body .chm,html body .chm *{transition:none!important}
}
/* Elementor: el contenedor donde sueltes el widget no añade márgenes ni huecos */
html body .elementor-widget-carrusel_home{margin:0!important;--kit-widget-spacing:0px}
html body .e-con:has(> .elementor-widget-carrusel_home),html body .e-con-inner:has(> .elementor-widget-carrusel_home),html body .e-con:has(> .e-con-inner > .elementor-widget-carrusel_home){padding:0!important;gap:0!important;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--gap:0px;--row-gap:0px;--column-gap:0px}
html body .elementor-widget-wrap:has(> .elementor-widget-carrusel_home){padding:0!important}
