/*
 * Homepage + La nostra storia templates (2026-10-18). Ported from the references
 * 2026-10-17-homepage-final-v4.html / -story-page-final-v4.html (final values of
 * their cascade), scoped to .asm-sp so nothing leaks into the Elementor header/footer.
 * Same tokens as the product pages.
 */
.asm-sp{--bg:#F8F8FD;--white:#FFFFFF;--studio:#F6F7FC;--title:#34597A;--title-dk:#27445E;--text:#4E6A86;--link:#49749C;--muted:#5F7386;--line:#DCE2EA;--font:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;--pad:clamp(16px,5vw,40px);--max:1180px}
body.asm-site-page{background:#F8F8FD}
.asm-sp{width:100%;background:var(--bg);color:var(--text);font-family:var(--font);font-weight:300;-webkit-font-smoothing:antialiased}
.asm-sp *,.asm-sp *::before,.asm-sp *::after{box-sizing:border-box}
.asm-sp a{color:var(--link);text-decoration:none}
.asm-sp img{max-width:100%;display:block}
.asm-sp :focus-visible{outline:2px solid var(--title);outline-offset:3px}
.asm-sp p{margin:0}
.asm-sp .wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}

/* promo bar: style.css (it is on every page) */

/* buttons — one system */
.asm-sp .btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 30px;font-family:var(--font);font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;line-height:1.2;text-align:center;border:1.5px solid var(--title);border-radius:0;background:var(--title);color:#fff;transition:background .2s,border-color .2s,color .2s;cursor:pointer}
.asm-sp .btn:hover{background:var(--title-dk);border-color:var(--title-dk);color:#fff}
.asm-sp .btn.out{background:transparent;color:var(--title);border-color:var(--title)}
.asm-sp .btn.out::after{content:"→";margin-left:14px;font-size:16px;letter-spacing:0;transition:transform .2s}
.asm-sp .btn.out:hover{background:var(--title);color:#fff}
.asm-sp .btn.out:hover::after{transform:translateX(3px)}
.asm-sp .btn.out.on-img{color:#fff;border-color:#fff}
.asm-sp .btn.out.on-img:hover{background:#fff;color:var(--title)}
.asm-sp .tlink{font-size:15px;font-weight:500;color:var(--title);border-bottom:1px solid currentColor;padding-bottom:2px}
.asm-sp .alt{display:table;margin-top:22px}

/* headings */
.asm-sp .kicker{font-size:11px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin:0 0 14px;line-height:1.5}
.asm-sp h1,.asm-sp h2{font-family:var(--font)}
.asm-sp h2{margin:0;font-weight:300;font-size:clamp(24px,2.2vw,28px);line-height:1.3;color:var(--title);letter-spacing:.01em}
.asm-sp .sec{padding:clamp(64px,9vw,112px) 0}
.asm-sp .sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:clamp(28px,4vw,44px)}

/* hero */
.asm-sp .hero{position:relative;aspect-ratio:2.6/1;min-height:440px;width:100%;overflow:hidden;background:#9DB4CB}
/* laptop: the window starts ~10% from the top of the full-sky watercolour (peak tips at ~15%), so the peaks stay whole and more trees show */
.asm-sp .hero img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:57% 62%}
.asm-sp .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,28,40,.62) 0%,rgba(14,28,40,.28) 34%,rgba(14,28,40,0) 58%)}
.asm-sp .hero-in{position:absolute;left:0;right:0;bottom:0;z-index:1;text-align:center;color:#fff;padding:0 var(--pad) clamp(40px,7vh,72px)}
.asm-sp .hero h1{margin:0 0 12px;font-weight:500;font-size:clamp(26px,2.3vw,30px);letter-spacing:.01em;line-height:1.15;color:#fff;text-shadow:0 1px 18px rgba(10,20,30,.25)}
.asm-sp .hero .sub{margin:0 0 26px;font-size:16px;line-height:1.6;opacity:.92;color:#fff}

/* collections row: phone only */
.asm-sp .cols-row{display:none}

/* product story blocks */
.asm-sp .split{max-width:var(--max);margin:0 auto;padding:0 var(--pad) clamp(64px,8vw,112px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,88px);align-items:center}
.asm-sp .split.rev .txt{order:2}
/* laptop: photos alternate right / left / right (Fiori, skincare, candle); phone keeps the photo on top */
@media (min-width:821px){.asm-sp .split:not(.rev) figure{order:2}}
.asm-sp .split figure{margin:0;aspect-ratio:1/1;overflow:hidden}
.asm-sp .split figure img{width:100%;height:100%;object-fit:cover}
.asm-sp .split p.lead{font-size:17px;line-height:1.8;margin:20px 0 30px;max-width:44ch}
.asm-sp .first .split{padding-top:clamp(72px,8vw,112px)}
.asm-sp .chips{display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 28px;padding:0;list-style:none}
.asm-sp .chips li{margin:0;border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-size:14px;color:var(--title);font-weight:400;line-height:1.4}
.asm-sp .stories{padding-top:0}
.asm-sp .promise + .stories{padding-top:clamp(72px,8vw,112px)}

/* seasonal selection */
/* no extra top padding: the Fiori block above already ends with the standard section gap (2026-10-24) */
.asm-sp .season{padding-top:0;padding-bottom:clamp(56px,7vw,88px)}
.asm-sp .season .sub-h{margin:12px 0 0;font-size:16px;line-height:1.7;max-width:56ch}
.asm-sp .sgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.asm-sp .pc{display:flex;flex-direction:column;background:var(--white)}
.asm-sp .pc figure{margin:0;aspect-ratio:1/1;background:var(--studio);overflow:hidden}
.asm-sp .pc img{width:100%;height:100%;object-fit:cover}
.asm-sp .pc-b{padding:18px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.asm-sp .pc-n{font-size:17px;font-weight:400;color:var(--title);line-height:1.3}
.asm-sp .pc-d{font-size:14px;color:var(--muted);line-height:1.5}
.asm-sp .pc-p{font-size:16px;color:var(--title);font-weight:500;margin-top:auto;padding-top:12px}
.asm-sp .pc .btn{width:100%;margin-top:12px;min-height:48px;font-size:13px;padding:0 12px}
.asm-sp .pc .btn.loading{opacity:.7;cursor:progress}
.asm-sp .pc .btn::after{display:none}
.asm-sp .pc .btn.out::after{display:inline}
.asm-sp .pc .added_to_cart{display:none!important}
.asm-sp .swipe{display:none}

/* shipping / returns strip */
.asm-sp .promise{background:#fff;border-top:1px solid #E7EAF1;border-bottom:1px solid #E7EAF1}
.asm-sp .prom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:26px 0}
.asm-sp .prom div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.asm-sp .prom svg{width:24px;height:24px;color:var(--title)}
.asm-sp .prom b{font-weight:500;color:var(--title);font-size:13px}
.asm-sp .prom span{font-size:12px;color:var(--muted);line-height:1.5}

/* story */
.asm-sp .story{background:var(--white);padding:clamp(64px,9vw,112px) 0}
.asm-sp .story-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,88px);align-items:center}
.asm-sp .story.no-photo .story-in{grid-template-columns:minmax(0,1fr);max-width:760px;text-align:center}
.asm-sp .story.no-photo .quote{margin-left:auto;margin-right:auto;max-width:34ch;font-size:clamp(20px,2vw,26px);line-height:1.6}
.asm-sp .story figure{margin:0;width:100%}
.asm-sp .story figure img{width:100%;aspect-ratio:1/1;object-fit:cover}
.asm-sp .ph{aspect-ratio:1/1;border:1.5px dashed #B9C6D3;background:var(--studio);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:32px;color:var(--muted);font-size:14px;line-height:1.6}
.asm-sp .ph svg{width:36px;height:36px;color:#9AAABB}
.asm-sp .ph b{color:var(--title);font-weight:500;font-size:15px}
.asm-sp .quote{margin:18px 0 8px;font-size:18px;line-height:1.7;font-style:italic;color:var(--title);max-width:40ch;font-weight:300}
.asm-sp .sign{font-size:14px;color:var(--muted);margin:0 0 30px;letter-spacing:.06em}

/* press: text only */
.asm-sp .press{padding:clamp(56px,7vw,88px) 0;text-align:center;border-top:1px solid var(--line)}
.asm-sp .press-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,72px);max-width:940px;margin:28px auto 0}
/* captions (publication + date) start at the same height under both quotes: the two
   figures share the grid rows (quote row = the taller quote) */
.asm-sp .press-g{grid-template-rows:auto auto;row-gap:0}
.asm-sp .press figure{margin:0;display:grid;grid-row:span 2;grid-template-rows:subgrid}
.asm-sp .press blockquote{margin:0 0 18px;padding:0;border:0;font-size:clamp(17px,1.6vw,19px);line-height:1.7;font-style:italic;font-weight:300;color:var(--title);quotes:none}
.asm-sp .press blockquote::before,.asm-sp .press blockquote::after{content:none}
.asm-sp .press figcaption b{display:block;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--title);margin-bottom:6px}
.asm-sp .press figcaption span{display:block;font-size:13px;color:var(--muted);line-height:1.6}
.asm-sp .press-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:13px;font-weight:500;color:var(--title)}
.asm-sp .press figcaption .press-link span{display:inline;color:inherit;font-size:inherit;line-height:inherit;border-bottom:1px solid currentColor;padding-bottom:1px}
.asm-sp .press-link svg{width:13px;height:13px;fill:currentColor;flex:none}
/* laptop: both "Vedi su Instagram" links on the same line, whatever the caption length */
@media (min-width:821px){.asm-sp .press figcaption{display:flex;flex-direction:column;align-items:center}.asm-sp .press figcaption .press-link{margin-top:auto;padding-top:12px}}

/* contact */
.asm-sp .contact{padding:clamp(48px,6vw,72px) 0;text-align:center}
.asm-sp .contact p:not(.kicker){margin:12px auto 26px;font-size:16px;line-height:1.7;max-width:46ch}

/* newsletter (Elementor Pro form inside) */
.asm-sp .news{background:var(--title);color:#fff;text-align:center}
.asm-sp .news h2{color:#fff}
.asm-sp .news .kicker{color:rgba(255,255,255,.8);margin:0 auto 14px}
.asm-sp .news p:not(.kicker){margin:14px auto 30px;font-size:16px;line-height:1.7;opacity:.9;max-width:46ch}
.asm-sp .news small{display:block;margin-top:14px;font-size:12px;opacity:.75;line-height:1.6}
.asm-sp .news small a{color:#fff;font-size:inherit;border-bottom:1px solid rgba(255,255,255,.6)}
.asm-sp .news-form{max-width:520px;margin:0 auto}
.asm-sp .news-form .elementor-section,.asm-sp .news-form .e-con,.asm-sp .news-form .elementor-container,.asm-sp .news-form .elementor-widget-wrap{padding:0!important;margin:0!important;background:none!important;min-height:0!important;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--margin-top:0px;--margin-bottom:0px}
.asm-sp .news-form .elementor-widget-form{width:100%!important;max-width:100%!important;padding:0!important;--container-widget-width:100%;--container-widget-flex-grow:1}
.asm-sp .news-form .elementor-form-fields-wrapper{display:flex;flex-wrap:nowrap;gap:10px;margin:0!important}
.asm-sp .news-form .elementor-field-group{width:auto!important;max-width:none!important;flex:0 0 auto;padding:0!important;margin:0!important}
.asm-sp .news-form .elementor-field-type-email{flex:1 1 auto;min-width:0}
.asm-sp .news-form .elementor-field-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.asm-sp .news-form .elementor-field-textual{height:52px!important;min-height:52px;border:1px solid rgba(255,255,255,.6)!important;border-radius:0!important;background:transparent!important;color:#fff!important;font-family:var(--font)!important;font-size:15px!important;padding:0 18px!important;box-shadow:none!important}
.asm-sp .news-form .elementor-field-textual::placeholder{color:rgba(255,255,255,.75)!important;opacity:1}
.asm-sp .news-form .elementor-field-textual:focus{outline:2px solid #fff;outline-offset:2px}
.asm-sp .news-form .elementor-button{min-height:52px;padding:0 30px!important;border:1.5px solid #fff!important;border-radius:0!important;background:#fff!important;color:var(--title)!important;font-family:var(--font)!important;font-size:14px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;line-height:1.2}
.asm-sp .news-form .elementor-button:hover{background:transparent!important;color:#fff!important}
.asm-sp .news-form .elementor-message{color:#fff!important;font-size:14px;margin-top:12px;text-align:center}
.asm-sp .news-form .elementor-message::before{color:#fff!important}

/* phone */
@media (max-width:820px){
	.asm-sp{font-weight:400}
	.asm-sp .btn{padding:0 18px;letter-spacing:.1em;font-size:13px}
	.asm-sp h2{font-size:22px}
	.asm-sp .hero{aspect-ratio:1149/1202;height:auto;min-height:0;margin-top:12px}
	.asm-sp .hero img{object-position:50% 0%}
	/* stronger + taller behind the tagline (it sits over the light rock on phone) */
	.asm-sp .hero::after{background:linear-gradient(to top,rgba(14,28,40,.82) 0%,rgba(14,28,40,.68) 30%,rgba(14,28,40,.58) 50%,rgba(14,28,40,0) 64%)}
	.asm-sp .hero h1,.asm-sp .hero .sub{text-shadow:0 1px 12px rgba(10,20,30,.55)}
	.asm-sp .hero-in{padding:0 var(--pad) 64px}
	.asm-sp .hero h1{font-size:22px;margin-bottom:8px}
	.asm-sp .hero .sub{font-size:14px;margin-bottom:18px}
	.asm-sp .hero .btn.out{width:auto;padding:0 24px;min-height:48px}
	.asm-sp .cols-row{display:flex;background:#fff;border-bottom:1px solid #E7EAF1;margin:0;padding:6px var(--pad)}
	.asm-sp .cols-row a{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;min-height:54px;padding:8px 6px;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--title);line-height:1.35;position:relative}
	.asm-sp .cols-row a+a::before{content:"";position:absolute;left:0;top:50%;height:14px;margin-top:-7px;width:1px;background:var(--line)}
	.asm-sp .split,.asm-sp .split.rev{grid-template-columns:1fr;gap:28px;padding-bottom:64px}
	.asm-sp .split figure{order:-1;margin:0 calc(-1*var(--pad))}
	.asm-sp .split.rev .txt{order:0}
	.asm-sp .split .btn.out,.asm-sp .story .btn.out{width:100%}
	.asm-sp .first .split{padding-top:0}
	.asm-sp .sec-head{flex-direction:column;align-items:flex-start;gap:10px}
	.asm-sp .season{padding-top:0;padding-bottom:48px}
	.asm-sp .rail{display:grid;grid-auto-flow:column;grid-auto-columns:72%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);gap:14px;margin:0 calc(-1*var(--pad));padding:0 var(--pad) 6px;scrollbar-width:none}
	.asm-sp .rail::-webkit-scrollbar{display:none}
	.asm-sp .rail>*{scroll-snap-align:start}
	.asm-sp .swipe{display:block;font-size:13px;color:var(--muted);margin-top:14px}
	.asm-sp .prom{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
	.asm-sp .prom b{font-size:12px}
	.asm-sp .prom span{font-size:11px}
	.asm-sp .promise + .stories{padding-top:40px}
	.asm-sp .story-in{grid-template-columns:1fr;gap:28px}
	.asm-sp .press-g{grid-template-columns:1fr;column-gap:0;row-gap:0}
	.asm-sp .press figure + figure{margin-top:40px}
	.asm-sp .contact .btn{width:100%;max-width:340px}
	.asm-sp .news-form .elementor-form-fields-wrapper{flex-direction:column}
	.asm-sp .news-form .elementor-button{width:100%}
}
/* ---------- La nostra storia ---------- */
.asm-sp .st-hero{position:relative;height:clamp(320px,30vw,440px);overflow:hidden;background:#7AABD7}
/* anchored near the top: peak tips (~15% down the watercolour) stay visible up to very wide screens */
.asm-sp .st-hero img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 15%}
.asm-sp .st-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,28,40,.55),rgba(14,28,40,0) 60%)}
.asm-sp .st-hero h1{position:absolute;left:0;right:0;bottom:clamp(32px,6vh,56px);z-index:1;margin:0;padding:0 var(--pad);text-align:center;color:#fff;font-weight:500;font-size:clamp(26px,2.4vw,32px);letter-spacing:.01em;line-height:1.2}
.asm-sp .st-intro{max-width:760px;margin:0 auto;padding:clamp(64px,8vw,104px) var(--pad) clamp(40px,5vw,64px);text-align:center}
.asm-sp .st-intro p{margin:0;font-size:clamp(17px,1.6vw,20px);line-height:1.75;color:var(--text)}
.asm-sp .st-intro em{display:block;margin-top:14px;font-style:italic;font-size:clamp(20px,2vw,24px);line-height:1.5;color:var(--title);font-weight:400}
.asm-sp .st-text{max-width:680px;margin:0 auto;padding:0 var(--pad) clamp(72px,8vw,112px);text-align:center}
.asm-sp .st-text::before{content:"";display:block;width:40px;height:1px;background:var(--line);margin:0 auto clamp(40px,5vw,56px)}
.asm-sp .st-text h2,.asm-sp .st-txt h2{margin-bottom:18px}
.asm-sp .st-text p:not(.kicker){font-size:17px;line-height:1.85;margin:0 0 16px}
.asm-sp .st-row{max-width:var(--max);margin:0 auto;padding:0 var(--pad) clamp(72px,8vw,112px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,88px);align-items:center}
.asm-sp .st-row.rev .st-txt{order:2}
.asm-sp .st-txt p:not(.kicker){font-size:17px;line-height:1.85;margin:0 0 16px;max-width:46ch}
.asm-sp .st-row figure{margin:0;aspect-ratio:1/1;overflow:hidden}
.asm-sp .st-row figure img{width:100%;height:100%;object-fit:cover}
.asm-sp .st-labels{max-width:var(--max);margin:0 auto;padding:0 var(--pad) clamp(72px,8vw,112px);text-align:center}
.asm-sp .st-labels .trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px);margin:36px 0 0}
.asm-sp .st-labels .trio img{width:100%;aspect-ratio:1/1;object-fit:cover}
.asm-sp .st-labels p:not(.kicker){font-size:17px;line-height:1.85;max-width:60ch;margin:18px auto 0}
.asm-sp .st-quote{background:var(--white);padding:clamp(64px,8vw,104px) var(--pad);text-align:center}
.asm-sp .st-quote blockquote{margin:0 auto;padding:0;border:0;max-width:34ch;font-size:clamp(20px,2vw,26px);line-height:1.6;font-style:italic;font-weight:300;color:var(--title);quotes:none}
.asm-sp .st-quote blockquote::before,.asm-sp .st-quote blockquote::after{content:none}
.asm-sp .st-quote cite{display:block;margin-top:22px;font-style:normal;font-size:14px;letter-spacing:.08em;color:var(--muted)}
.asm-sp .flora{max-width:var(--max);margin:0 auto;padding:clamp(64px,8vw,104px) var(--pad) 0}
.asm-sp .flora-head{text-align:center;margin-bottom:clamp(32px,4vw,48px)}
.asm-sp .flora-head p:not(.kicker){margin:12px auto 0;font-size:16px;line-height:1.7;max-width:52ch}
.asm-sp .flora-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line)}
.asm-sp .flora-g div{padding:26px 18px 6px;border-right:1px solid var(--line)}
.asm-sp .flora-g div:last-child{border-right:0}
.asm-sp .flora-g b{display:block;font-weight:500;color:var(--title);font-size:16px;margin-bottom:8px}
.asm-sp .flora-g span{font-size:14px;line-height:1.6;color:var(--muted)}
.asm-sp .st-close{text-align:center;padding:clamp(56px,7vw,88px) var(--pad)}
@media (max-width:820px){
	.asm-sp .st-hero{height:auto;aspect-ratio:4/3;margin-top:12px;background:none}
	/* phone: the tall hi-res watercolour - anchored near the top so the peak tips (~14% down) keep sky above them */
	.asm-sp .st-hero img{object-position:50% 15%}
	.asm-sp .st-hero h1{font-size:24px;bottom:28px}
	.asm-sp .st-text p:not(.kicker),.asm-sp .st-txt p:not(.kicker){font-size:15px;line-height:1.75}
	.asm-sp .st-row,.asm-sp .st-row.rev{grid-template-columns:1fr;gap:28px;padding-bottom:64px}
	.asm-sp .st-row figure{order:-1;margin:0 calc(-1*var(--pad))}
	.asm-sp .st-row.rev .st-txt{order:0}
	.asm-sp .st-labels .trio{gap:8px}
	.asm-sp .st-labels p:not(.kicker){font-size:15px}
	.asm-sp .flora-g{grid-template-columns:1fr}
	.asm-sp .flora-g div{border-right:0;border-bottom:1px solid var(--line);padding:20px 2px}
	.asm-sp .flora-g div:last-child{border-bottom:0}
	.asm-sp .st-close .btn{width:100%;max-width:340px}
}
@media (prefers-reduced-motion:reduce){.asm-sp *{transition:none!important}}
