/* ==========================================================================
   Cartucciastore v2 – layout largo, header flottante, hero animata, blocchi arrotondati.
   Caricato dopo app.css e ne sovrascrive le parti.
   ========================================================================== */

:root {
	--wrap: 1920px;
	--gutter: 12px;
	--r-xl: 28px;
	--head-h: 72px;
	--soft: #f3f4f6;
	--pink: #fff1f3;
}
@media (min-width: 768px) { :root { --gutter: 20px; --head-h: 88px; } }
@media (min-width: 1280px) { :root { --gutter: 28px; } }

.wrap { max-width: var(--wrap); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { margin-block: 28px; }
@media (min-width: 960px) { .section { margin-block: 44px; } }
.section:not(.wrap) { padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; }

/* ---------- Bottoni extra ---------- */
.btn { text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; font-weight: 600; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: .92rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f1f1f1; }
.btn--outline { background: transparent; border-color: currentColor; }
.btn--outline:hover { background: rgba(0, 0, 0, .05); }
.chip--outline { background: transparent; border-color: var(--ink); color: var(--ink); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; }
.chip--glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, .25); }
.chip--glass:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.tagpill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: #3a3d45; color: #fff; font-weight: 700; font-size: .8rem; }
.tagpill--red { background: var(--cs-red); }

/* ---------- Topbar ---------- */
.topstrip { display: none; }
.topbar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
	margin: 10px var(--gutter) 10px; padding: 0 18px; height: 44px;
	background: var(--soft); border-radius: 16px; font-size: .8rem; font-weight: 600;
	max-width: calc(var(--wrap) - 2 * var(--gutter));
}
@media (min-width: 1976px) { .topbar { margin-inline: auto; } }
.topbar__links { display: flex; gap: 22px; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; font-weight: 700; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--cs-red); }
.topbar__links--right { justify-content: flex-end; }
.topbar__msg { position: relative; height: 20px; min-width: 360px; text-align: center; overflow: hidden; }
.topbar__msg span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; transform: translateY(100%); transition: transform .5s var(--ease), opacity .5s; white-space: nowrap; }
.topbar__msg span.is-active { opacity: 1; transform: none; }
.topbar__msg span.is-out { opacity: 0; transform: translateY(-100%); }
.topbar__msg svg { color: var(--cs-red); }
@media (max-width: 900px) {
	.topbar { grid-template-columns: 1fr; height: 36px; margin-bottom: 8px; }
	.topbar__links { display: none; }
	.topbar__msg { min-width: 0; }
}

/* ---------- Header flottante ---------- */
.appbar, .catnav { display: none !important; }
.head {
	position: sticky; top: 10px; z-index: 60;
	margin: 0 var(--gutter); max-width: calc(var(--wrap) - 2 * var(--gutter));
	border-radius: 22px; background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
	transition: background-color .35s var(--ease), box-shadow .35s, color .35s;
	view-transition-name: head;
}
@media (min-width: 1976px) { .head { margin-inline: auto; } }
.head.is-scrolled { box-shadow: 0 18px 40px -18px rgba(17, 18, 22, .28); }
.head__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--head-h); padding: 0 14px; }
@media (min-width: 960px) { .head__bar { padding: 0 32px; } }
.head__nav { display: none; align-items: center; gap: 28px; }
@media (min-width: 1100px) { .head__nav { display: flex; } .head__burger { display: none !important; } }
.head__link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .86rem; text-transform: uppercase; letter-spacing: .07em; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.head__link:hover, .head__link[aria-expanded="true"] { border-color: currentColor; }
.head__pill { display: inline-flex; align-items: center; height: 40px; padding: 0 24px; border-radius: 99px; background: var(--cs-red); color: #fff; font-weight: 700; font-size: .86rem; text-transform: uppercase; letter-spacing: .07em; transition: transform .2s var(--ease), background .2s; }
.head__pill:hover { transform: translateY(-1px); background: var(--cs-red-600); }
.head__burger { justify-self: start; }
.head__logo { justify-self: center; }
.head__actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.cs-logo { display: inline-flex; color: var(--ink); }
.cs-wordmark { height: 21px; width: auto; display: block; }
@media (min-width: 768px) { .cs-wordmark { height: 28px; } }

/* Home: l'header si appoggia sopra la hero e ne prende il tono. */
.home .head { margin-bottom: calc(-1 * var(--head-h)); }
.home .head.is-over:not(.is-mega) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .head.is-over.tone-dark:not(.is-mega) { color: #fff; }
.home .head.is-over.tone-dark:not(.is-mega) .cs-logo { color: #fff; }
.home .head.is-over.tone-dark:not(.is-mega) .head__pill { background: #fff; color: var(--cs-red); }
.home .head.is-over.tone-dark:not(.is-mega) .iconbtn { color: #fff; }
.home .head.is-over.tone-dark:not(.is-mega) .iconbtn:hover { background: rgba(255, 255, 255, .15); }
.home .head.is-over .head__bar { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.home .head.is-over.tone-light .head__bar { border-bottom-color: rgba(0, 0, 0, .1); }

/* Mega menu */
.mega { border-top: 1px solid var(--line); padding: 28px 32px 30px; animation: mega-in .3s var(--ease); background: var(--soft); border-radius: 0 0 22px 22px; color: var(--ink); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.15fr; gap: 40px; }
.mega h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -.02em; }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 1.05rem; transition: color .15s, padding .2s var(--ease); }
.mega__list a:hover { color: var(--cs-red); padding-left: 4px; }
.mega__list small { color: var(--muted); font-size: .82rem; }
.mega__list--plain a { font-size: .98rem; }
.mega__col .btn { margin-top: 18px; }
.mega__aside { position: relative; border-left: 1px solid var(--line-2); padding-left: 36px; display: flex; flex-direction: column; }
.mega__aside p { color: var(--ink-2); margin-bottom: 14px; }
.mega__close { position: absolute; top: -8px; right: 0; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mega__search { display: flex; gap: 8px; }
.mega__search input { flex: 1; min-width: 0; height: 52px; border-radius: 99px; border: 1.5px solid var(--line-2); padding: 0 20px; background: #fff; outline: none; font-size: 1rem; }
.mega__search input:focus { border-color: var(--ink); }
.mega__search .btn { min-height: 52px; }
.mega__img { width: 210px; margin: 18px auto 6px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .18)); }
.mega__help { font-size: .9rem; color: var(--muted); margin: auto 0 0 !important; }
.mega__help a { color: var(--ink); text-decoration: underline; }
.mega__promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.mpromo { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 16px; background: #e9eaed; transition: background .2s; }
.mpromo:hover { background: #e1e3e7; }
.mpromo__k { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-red); }
.mpromo small { color: var(--muted); }
.mpromo__arrow { position: absolute; top: 16px; right: 16px; }
@media (max-width: 1099px) { .mega { display: none !important; } }

/* Menu mobile */
.sheet--menu .sheet__panel { inset: 0; transform: translateX(-100%); overflow-y: auto; }
.sheet--menu.is-open .sheet__panel { transform: none; }
.mmenu__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 12px 12px; border-bottom: 1px solid var(--line); padding-top: max(12px, env(safe-area-inset-top)); }
.mmenu__head .cs-logo { justify-self: center; }
.mmenu__body { padding: 16px 18px 120px; display: flex; flex-direction: column; gap: 6px; }
.mmenu__body > .searchbar { margin-bottom: 14px; }
.mmenu__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.mmenu__row strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.mmenu__row small { color: var(--muted); font-size: .9rem; }
.mmenu__row i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); }
.mmenu__body .chips { margin: 12px 0 18px; }
.mmenu__promo { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 22px; background: var(--cs-red); color: #fff; position: relative; overflow: hidden; }
.mmenu__promo small { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .85; font-size: .74rem; }
.mmenu__promo strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.mmenu__promo .btn { align-self: flex-start; margin-top: 10px; }

/* ---------- HERO ---------- */
.hero { display: none; }
.hero2 {
	--dur: 7s;
	position: relative; margin: 0 var(--gutter); max-width: calc(var(--wrap) - 2 * var(--gutter));
	height: clamp(600px, 88vh, 940px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
	background: var(--ink); color: #fff;
}
@media (min-width: 1976px) { .hero2 { margin-inline: auto; } }
@media (max-width: 767px) { .hero2 { height: 640px; border-radius: 22px; } }
.hero2__track { position: absolute; inset: 0; }
.hslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; overflow: hidden; }
.hslide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.hslide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; }
.hslide.is-active .hslide__bg { transform: scale(1); }

.hslide--red { background: var(--cs-red); }
.hslide--red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(120, 0, 10, .55) 0%, rgba(120, 0, 10, .15) 55%, transparent); z-index: 0; }
.hslide--ink { background: #0d0d10; }
.hslide--light { background: #eef0f2; color: var(--ink); }
.hslide--light .hslide__bg { opacity: .85; }
.hslide--cmy { background: radial-gradient(1200px 700px at 80% 40%, #fff 0%, #fdeff4 60%, #f6f1ff 100%); color: var(--ink); }

.hslide__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head-h) + 30px) 22px 90px; max-width: 900px; }
@media (min-width: 960px) { .hslide__content { padding: calc(var(--head-h) + 40px) 64px 100px; } }
.hslide__content--bottom { justify-content: flex-end; max-width: none; }
.hslide__eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-weight: 600; font-size: .86rem; margin-bottom: 18px; }
.hslide__title { font-size: clamp(2.8rem, 1.2rem + 6.4vw, 8.2rem); line-height: .95; letter-spacing: -.045em; font-weight: 800; margin: 0 0 20px; max-width: 11ch; }
.hslide__mega { font-size: clamp(5rem, 2rem + 15vw, 18rem); line-height: .85; letter-spacing: -.06em; font-weight: 800; margin: 0 0 18px -.04em; }
.hslide__lead { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); max-width: 46ch; margin-bottom: 24px; opacity: .92; }
.hslide .searchbar--hero { max-width: 620px; background: #fff; border-color: transparent; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.hslide__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hslide__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Testo che entra parola per parola. */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hslide.is-active [data-split] .w > span { transform: none; }
.hslide__content > :not(h1):not(h2) { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) .55s, transform .8s var(--ease) .55s; }
.hslide.is-active .hslide__content > :not(h1):not(h2) { opacity: 1; transform: none; }

/* Prodotti che fluttuano (con parallasse dal mouse: --mx/--my impostate in JS). */
.hslide__float { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fl { position: absolute; height: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .35)); transform: translate3d(calc(var(--mx, 0) * var(--depth, 20px)), calc(var(--my, 0) * var(--depth, 20px)), 0); transition: transform .6s var(--ease), opacity 1s var(--ease); }
.fl::after { content: none; }
.hslide:not(.is-active) .fl { opacity: 0; }
.fl { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -18px; } }
.fl--a { width: clamp(180px, 22vw, 380px); right: 22%; top: 18%; --depth: 30px; rotate: -12deg; animation-duration: 8s; }
.fl--b { width: clamp(160px, 19vw, 330px); right: 4%; top: 36%; --depth: 50px; rotate: 10deg; animation-delay: -2s; }
.fl--c { width: clamp(200px, 22vw, 400px); right: 14%; bottom: -4%; --depth: 18px; rotate: -6deg; animation-delay: -4s; opacity: .95; }
.fl--d { width: clamp(180px, 20vw, 360px); left: 26%; top: 22%; --depth: 40px; rotate: -14deg; }
.fl--e { width: clamp(110px, 11vw, 200px); right: 22%; top: 30%; --depth: 60px; rotate: 12deg; animation-delay: -3s; }
.fl--f { width: clamp(320px, 40vw, 780px); right: 0; top: 12%; --depth: 25px; rotate: -8deg; filter: drop-shadow(0 60px 60px rgba(0, 0, 0, .3)); }
.fl--g { width: clamp(340px, 46vw, 860px); right: -4%; top: 2%; --depth: 20px; animation-duration: 10s; filter: none; }
.fl--h { width: clamp(120px, 12vw, 230px); right: 28%; top: 30%; --depth: 55px; rotate: -10deg; }
@media (max-width: 767px) {
	.fl--a { width: 150px; right: -20px; top: auto; bottom: 26px; }
	.fl--b { width: 120px; right: 90px; top: auto; bottom: -10px; }
	.fl--c { display: none; }
	.fl--d { width: 170px; left: 8%; top: 28%; }
	.fl--e { width: 100px; right: 10%; top: 34%; }
	.fl--f { width: 360px; right: -60px; top: 18%; }
	.fl--g { width: 380px; right: -90px; top: 6%; }
	.fl--h { width: 110px; right: 18px; top: 22%; }
	.hslide--red .hslide__lead { display: none; }
	.hslide__content { justify-content: flex-start; padding-top: calc(var(--head-h) + 28px); }
	.hslide__content--bottom { justify-content: flex-end; }
}

/* Slide "ink": scritte giganti in scorrimento. */
.marquee { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .02em; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 1rem + 9vw, 11rem); line-height: 1; letter-spacing: -.045em; padding-top: calc(var(--head-h) * .5); }
.marquee__row { display: flex; width: max-content; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 46s; }
.marquee__row--solid { color: #fff; }
.marquee__row--outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); }
.marquee__row--red { color: var(--cs-red); animation-duration: 32s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hslide__pills { position: absolute; z-index: 3; left: 22px; bottom: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 960px) { .hslide__pills { left: 40px; bottom: 40px; } }
.hpill { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 24px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.hpill:hover { transform: translateY(-2px); }
.hpill strong { font-family: var(--font-display); font-size: 1.2rem; }
.hpill em { font-style: normal; color: var(--cs-red); font-weight: 700; }
.hpill span { color: var(--muted); font-size: .88rem; }
.hpill i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; }
@media (max-width: 767px) { .hpill span { display: none; } .hpill { height: 52px; } }

/* Puntini / barre di avanzamento */
.hero2__dots { position: absolute; z-index: 5; right: 24px; bottom: 30px; display: flex; gap: 8px; }
@media (min-width: 960px) { .hero2__dots { right: 44px; bottom: 44px; } }
.hero2__dots button { width: 46px; height: 20px; display: grid; align-items: center; }
.hero2__dots i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero2__dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero2__dots button.is-active i::after { animation: progress var(--dur) linear forwards; }
.hero2.is-paused .hero2__dots button.is-active i::after { animation-play-state: paused; }
.hero2.tone-light .hero2__dots i { background: rgba(0, 0, 0, .15); }
.hero2.tone-light .hero2__dots i::after { background: var(--ink); }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 767px) { .hero2__dots { left: 0; right: 0; justify-content: center; bottom: 12px; } .hero2__dots button { width: 34px; } .hslide__pills { bottom: 40px; } }

/* ---------- Striscia fiducia ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; max-width: var(--wrap); margin: 0 auto; padding: 26px calc(var(--gutter) + 16px); }
@media (min-width: 960px) { .trust { grid-template-columns: repeat(4, 1fr); padding-block: 34px; } .trust__item { justify-content: center; } }
.trust__item { display: flex; align-items: flex-start; gap: 12px; }
.trust__item svg { flex: none; margin-top: 3px; }
.trust__item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.trust__item span { color: var(--muted); font-size: .86rem; }
.trust--footer { padding-top: 40px; }
.usps { display: none; }

/* ---------- Card categorie (rail) ---------- */
.catrail { position: relative; }
.catrail__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.catrail__track::-webkit-scrollbar { display: none; }
@media (min-width: 1280px) { .catrail__track { grid-auto-columns: calc((100% - 6 * 14px) / 6.4); } }
.ccard { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; padding: 18px 18px 20px; border-radius: 22px; background: var(--soft); min-height: 360px; transition: background .25s, transform .3s var(--ease); }
.ccard:hover { background: #eceef1; }
.ccard__arrow { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.ccard:hover .ccard__arrow { transform: rotate(45deg); }
.ccard__img { flex: 1; display: grid; place-items: center; padding: 18px 10px; }
.ccard__img img { max-height: 210px; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.ccard:hover .ccard__img img { transform: scale(1.06) rotate(-2deg); }
.ccard strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.ccard small { color: var(--muted); font-size: .9rem; }
.catrail__next { position: absolute; right: 10px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: var(--sh); }
@media (max-width: 767px) { .catrail__next { display: none; } }

/* ---------- Tre card grandi ---------- */
.bigcards { display: grid; gap: 16px; }
@media (min-width: 900px) { .bigcards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.bigcard { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 30px; border-radius: var(--r-xl); background: var(--soft); overflow: hidden; transition: transform .35s var(--ease); }
.bigcard:hover { transform: translateY(-4px); }
.bigcard__head { display: flex; justify-content: space-between; align-items: flex-start; }
.bigcard__head h2 { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4.4rem); letter-spacing: -.045em; line-height: 1; margin: 0; }
.bigcard__art { position: relative; flex: 1; display: grid; place-items: center; }
.bigcard__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 5rem + 8vw, 15rem); letter-spacing: -.06em; line-height: 1; background: linear-gradient(135deg, #8d9098, #e7e8eb 60%, #b9bcc3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigcard__num--grad { background: linear-gradient(135deg, #111216, #6c717b 55%, #d0d3d8); -webkit-background-clip: text; background-clip: text; }
.bigcard__num--red { background: linear-gradient(135deg, #9d0a1d, var(--cs-red) 40%, #ff9aa6); -webkit-background-clip: text; background-clip: text; font-size: clamp(6rem, 3.5rem + 6vw, 11rem); }
.bigcard__art img { position: absolute; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .25)); transition: transform .6s var(--ease); }
.bigcard__p1 { width: 44%; left: 18%; top: 20%; rotate: -10deg; }
.bigcard__p2 { width: 40%; right: 12%; top: 32%; rotate: 8deg; }
.bigcard__p3 { width: 78%; top: 34%; rotate: -8deg; }
.bigcard__p4 { width: 70%; top: 14%; filter: none; mix-blend-mode: multiply; opacity: .9; }
.bigcard:hover .bigcard__art img { transform: translateY(-10px) scale(1.04); }
.bigcard__foot strong { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; margin-bottom: 4px; }
.bigcard__foot span { color: var(--ink-2); }
.bigcard--red { background: var(--pink); }
.bigcard--red h2, .bigcard--red .bigcard__foot strong { color: var(--cs-red); }

/* ---------- Blocco a schede "Le più richieste" ---------- */
.tabsblock { background: var(--pink); border-radius: var(--r-xl); padding: 26px 18px 18px; margin-inline: max(var(--gutter), (100% - var(--wrap)) / 2 + var(--gutter)) !important; }
@media (min-width: 960px) { .tabsblock { padding: 36px 40px 30px; } }
.tabsblock__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.tabsblock__head h2 { color: var(--cs-red); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); letter-spacing: -.045em; margin: 0; }
.tabsblock__all { margin-left: auto; }
.seg { display: inline-flex; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid #ffd3da; }
.seg button { height: 42px; padding: 0 22px; border-radius: 99px; font-weight: 600; color: var(--cs-red); transition: background .2s, color .2s; }
.seg button.is-active { background: var(--cs-red); color: #fff; }
.tabsblock__sep { position: relative; margin: 24px -18px 22px; border-top: 2px dashed #ffc4cd; }
@media (min-width: 960px) { .tabsblock__sep { margin-inline: -40px; } }
.tabsblock__sep::before, .tabsblock__sep::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.tabsblock__sep::before { left: -12px; } .tabsblock__sep::after { right: -12px; }
.tabsblock .rail { margin-inline: -18px; }
@media (min-width: 960px) { .tabsblock .rail { margin-inline: -40px; } .tabsblock .pgrid--rail { padding-inline: 40px; } }

/* ---------- Card prodotto v2 ---------- */
.pcard { border-radius: 22px; border: 1px solid #eceef1; background: #fff; padding: 8px; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(17, 18, 22, .25); border-color: #e3e5e9; }
.pcard__media { border-radius: 16px; overflow: hidden; background: var(--soft); }
.pcard__code { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 4px 10px; border-radius: 99px; background: #fff; font-size: .74rem; font-weight: 700; box-shadow: var(--sh-sm); }
.pcard__body { padding: 12px 8px 4px; gap: 4px; }
.pcard__brand { font-size: .72rem; letter-spacing: .08em; }
.pcard__brand span { color: var(--muted); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.pcard__title { font-size: 1rem; font-weight: 600; }
.pcard__meta { min-height: 14px; }
.pcard__buy { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 8px 8px 8px 14px; border-radius: 16px; background: var(--soft); }
.pcard__price { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.15rem; }
.pcard__price small { font-family: var(--font); font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.pcard__add { width: 42px; height: 42px; border-radius: 50%; }
.pcard__foot { display: none; }

/* ---------- Pagine interne: intestazione grande ---------- */
.pagehero { background: none; padding-top: 18px; }
.pagehero h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 5rem); letter-spacing: -.045em; }
.pgrid { gap: 14px; }
@media (min-width: 1600px) { .pgrid:not(.pgrid--rail) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.shead__title--xl { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); letter-spacing: -.045em; }

/* ---------- Footer scuro ---------- */
.footer { display: none; }
.foot { margin: 20px var(--gutter) calc(var(--tabbar-h) + 20px); max-width: calc(var(--wrap) - 2 * var(--gutter)); border-radius: var(--r-xl); background: #111216; color: #c8cbd2; padding: 34px 22px 26px; }
@media (min-width: 960px) { .foot { margin-bottom: 20px; padding: 56px 56px 34px; } }
@media (min-width: 1976px) { .foot { margin-inline: auto; } }
.foot a:hover { color: #fff; }
.foot__news { display: grid; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid #2a2c33; }
@media (min-width: 960px) { .foot__news { grid-template-columns: 1fr 1fr; align-items: start; } }
.foot__news h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); letter-spacing: -.035em; margin-bottom: 10px; }
.foot__field { display: flex; gap: 10px; }
.foot__field input { flex: 1; min-width: 0; height: 56px; padding: 0 22px; border-radius: 99px; border: 1px solid #3a3d45; background: transparent; color: #fff; outline: none; font-size: 1rem; }
.foot__field input:focus { border-color: #fff; }
.foot__check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9rem; }
.foot__check a { text-decoration: underline; color: #fff; }
.foot__check input { width: 20px; height: 20px; accent-color: var(--cs-red); }
.foot__ok { display: flex; gap: 6px; align-items: center; color: #6ee7a0; margin-top: 12px; }
.foot__grid { display: grid; gap: 30px; padding: 40px 0; border-bottom: 1px solid #2a2c33; }
@media (min-width: 960px) { .foot__grid { grid-template-columns: 1fr 1.8fr 1.1fr 1fr; gap: 40px; } }
.foot h4 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.foot__faq details { border-bottom: 1px solid #2a2c33; }
.foot__faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: #e8e9ec; }
.foot__faq summary::-webkit-details-marker { display: none; }
.foot__faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.foot__faq details[open] summary::after { transform: rotate(45deg); }
.foot__faq p { margin: 0 0 14px; color: #a3a7b0; font-size: .92rem; }
.foot__bottom { display: grid; gap: 20px; align-items: center; padding-top: 30px; }
@media (min-width: 960px) { .foot__bottom { grid-template-columns: auto 1fr auto; } }
.foot__logo .cs-logo { color: #fff; }
.foot__logo .cs-wordmark { height: 48px; }
@media (min-width: 960px) { .foot__logo .cs-wordmark { height: 62px; } }
.foot__legal { font-size: .82rem; color: #8d919b; }
.foot .paylogos span { background: #fff; color: var(--ink); border: 0; border-radius: 8px; padding: 7px 10px; font-weight: 800; }

/* ---------- Scheda prodotto: box prezzo ---------- */
.buybox { background: var(--soft); border: 0; box-shadow: none; border-radius: 22px; }
.buybox .qty { background: #fff; }
.buybox__form .btn--primary { background: var(--ink); box-shadow: none; }
.buybox__form .btn--primary:hover { background: #000; }
.pdp__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); letter-spacing: -.045em; line-height: 1; }
.gallery { background: var(--soft); }

/* ---------- Mobile: header compatto ---------- */
@media (max-width: 1099px) {
	.head__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
	.head__logo { justify-self: center; }
}

@media (max-width: 767px) {
	.trust__item strong { font-size: .98rem; }
	.trust__item span { font-size: .8rem; line-height: 1.35; }
	.hslide__chips .chip:nth-child(n+5) { display: none; }
	.hslide__title { font-size: 3.4rem; }
}

/* ---------- Catalogo ---------- */
.cathead { padding-top: 22px; }
.cathead__row { display: grid; gap: 14px 40px; align-items: end; margin: 14px 0 22px; }
@media (min-width: 960px) { .cathead__row { grid-template-columns: 1fr minmax(0, 640px); } }
.cathead h1 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 5rem); letter-spacing: -.05em; line-height: .95; margin: 0; }
.cathead__row p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.typecards { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.typecards::-webkit-scrollbar { display: none; }
@media (min-width: 1280px) { .typecards { grid-auto-columns: minmax(0, 1fr); } }
.typecard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px 16px; border-radius: 18px; background: var(--soft); border: 2px solid transparent; text-align: center; transition: border-color .2s, background .2s; }
.typecard:hover { background: #eceef1; }
.typecard.is-active { border-color: var(--ink); background: #fff; }
.typecard span { height: 110px; display: grid; place-items: center; }
.typecard img { max-height: 110px; width: auto; mix-blend-mode: multiply; }
.typecard strong { font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.15; }
.promobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 6px; padding: 20px 28px; border-radius: 22px; background: var(--cs-red); color: #fff; }
.promobar strong { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; }
.promobar div span { opacity: .88; font-size: .92rem; }
.gpromo { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--soft); overflow: hidden; min-height: 100%; }
.gpromo strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; letter-spacing: -.03em; }
.gpromo span { color: var(--ink-2); font-size: .92rem; max-width: 24ch; }
.gpromo img { position: absolute; right: -10px; bottom: 8px; width: 58%; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .2)); rotate: -10deg; transition: rotate .4s var(--ease); }
.gpromo:hover img { rotate: -4deg; }
.gpromo .btn { margin-top: auto; align-self: flex-start; font-style: normal; position: relative; z-index: 1; }
.toolbar { margin-top: 16px; }

/* ---------- Scheda prodotto v2 ---------- */
.pdp { gap: 28px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.featchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.featchips span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--soft); font-weight: 600; font-size: .88rem; }
.pdp__eyebrow { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.pdp__eyebrow a { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.pdp__title { margin: 6px 0 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pdp__pill { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--ink); font-size: 1rem; letter-spacing: 0; }
.pdp__sub { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 16px; }
.buybox__ship { margin: 14px 0 0; font-size: .92rem; color: var(--ink-2); }
.setblock { background: var(--soft); border-radius: var(--r-xl); padding: 24px 18px; }
@media (min-width: 960px) { .setblock { padding: 30px 32px; } }
.setblock__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.setblock__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: -.035em; margin: 0; }
.setblock__head p { margin: 4px 0 0; color: var(--muted); }
.setblock__all span { margin-left: 8px; padding: 6px 12px; border-radius: 99px; background: #3a3d45; text-transform: none; letter-spacing: 0; }
.setblock__all.is-loading { opacity: .6; pointer-events: none; }
.setblock__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.setcard { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 14px; border-radius: 18px; background: #fff; border: 2px solid transparent; transition: border-color .2s; }
.setcard:hover { border-color: var(--line-2); }
.setcard.is-current { border-color: #ffc4cd; background: #fff7f8; }
.setcard__n { position: absolute; top: 10px; left: 10px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; }
.setcard__img { display: grid; place-items: center; height: 140px; border-radius: 12px; background: var(--soft); margin-bottom: 8px; overflow: hidden; }
.setcard__img img { max-height: 120px; width: auto; mix-blend-mode: multiply; padding: 6px; }
.setcard small { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); font-size: .7rem; }
.setcard em { font-style: normal; font-weight: 700; font-family: var(--font-display); }

.hslide--light::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(75deg, rgba(240, 242, 245, .92) 0%, rgba(240, 242, 245, .7) 40%, transparent 70%); }
@media (min-width: 1100px) {
	.pdp__details { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
	.pdp__details .acc:last-child { grid-column: 1 / -1; }
}

/* ---------- Multi-brand: colori di superficie e testo sopra il colore del brand ---------- */
:root { --fill: var(--cs-red); --on-fill: #fff; --on-primary: #fff; --hero-shade: rgba(120, 0, 10, .55); }
.btn--primary, .seg button.is-active, .pcard__add:hover { color: var(--on-primary); }
.head__pill, .tabbar__fab, .badge--red, .cs-cart-count, .tagpill--red { background: var(--fill); color: var(--on-fill); }
.head__pill:hover { background: var(--fill); filter: brightness(.95); }
.hslide--red { background: var(--fill); }
.hslide--red::after { background: linear-gradient(90deg, var(--hero-shade) 0%, transparent 65%); }
.hslide[data-tone="light"] { color: var(--ink); }
.hslide[data-tone="light"] .chip--glass { color: var(--ink); background: rgba(255, 255, 255, .55); border-color: rgba(0, 0, 0, .08); }
.hslide[data-tone="light"] .hslide__eyebrow { background: rgba(255, 255, 255, .6); }
.marquee__row--red { color: var(--fill); }
.bigcard--red h2, .bigcard--red .bigcard__foot strong { color: var(--cs-red); }
.bigcard__num--red { background: linear-gradient(135deg, var(--cs-red-600), var(--fill) 45%, var(--cs-red-100)); -webkit-background-clip: text; background-clip: text; }
.tabsblock__sep { border-top-color: var(--cs-red-100); }
.seg { border-color: var(--cs-red-100); }

/* dsink: decorazioni CMYK */
.brand-dsink .shead__title::after, .brand-dsink .tabsblock__head h2::after, .brand-dsink .cathead h1::after {
	content: ""; display: inline-block; width: .9em; height: .2em; margin-left: .25em; border-radius: 99px; vertical-align: .15em;
	background: linear-gradient(90deg, #00A3E0 0 25%, #E6007E 0 50%, #FFD500 0 75%, #111216 0);
}
.brand-dsink .topbar { background: linear-gradient(90deg, #00A3E0 0 25%, #E6007E 0 50%, #FFD500 0 75%, #111216 0) bottom / 100% 3px no-repeat, var(--soft); }
.brand-dsink .foot { background: radial-gradient(600px 300px at 100% 0, rgba(21, 70, 224, .35), transparent 70%), #0b1020; }
.brand-dsink .hero2__dots button:nth-child(1) i::after { background: #00A3E0; }
.brand-dsink .hero2__dots button:nth-child(2) i::after { background: #E6007E; }
.brand-dsink .hero2__dots button:nth-child(3) i::after { background: #FFD500; }

/* quicartucce: giallo come superficie, nero come colore d'azione */
.brand-quicartucce .tabsblock__head h2 { color: var(--ink); }
.brand-quicartucce .eyebrow, .brand-quicartucce .shead__link { color: var(--ink); }
.brand-quicartucce .bigcard__num--red { background: linear-gradient(135deg, #111216, #5b4a00 50%, #fff3a8); -webkit-background-clip: text; background-clip: text; }
.brand-quicartucce .tabsblock__sep::before, .brand-quicartucce .tabsblock__sep::after { background: #fff; }

/* Splash "spedizione" ricolorato per brand */
.brand-dsink .bigcard__p4{filter:hue-rotate(225deg) saturate(1.1)}
.brand-quicartucce .bigcard__p4{filter:grayscale(1) brightness(.4) contrast(1.3)}
.brand-quicartucce .head.is-over .head__pill{background:#111216;color:#fff}

/* ---------- Mai fondi pieni colorati sotto ai testi: tinta chiara + bordo del brand ---------- */
.promobar, .mmenu__promo { background: var(--cs-red-50); color: var(--ink); border: 2px solid var(--cs-red); }
.promobar div span, .mmenu__promo small { color: var(--ink-2); opacity: 1; }
.promobar .btn--white, .mmenu__promo .btn { background: var(--ink); color: #fff; }
.brand-quicartucce .bigcard--red { background: var(--cs-red-50); box-shadow: inset 0 0 0 2px var(--fill); }
.brand-quicartucce .promobar, .brand-quicartucce .mmenu__promo { border-color: var(--fill); }

/* ---------- Logo: simbolo di marchio registrato ---------- */
.cs-logo { align-items: flex-start; }
.cs-logo__r { font-family: var(--font); font-weight: 600; font-size: 9px; line-height: 1; margin: -3px 0 0 2px; top: 0; }
@media (min-width: 768px) { .cs-logo__r { font-size: 11px; } }
.foot__logo .cs-logo__r { font-size: 15px; margin-top: -2px; }

/* ---------- Footer: titolare e crediti ---------- */
.foot__legal { display: flex; flex-direction: column; gap: 6px; }
.foot__credits { display: inline-flex; align-items: center; gap: 5px; color: #b9bcc4; }
.foot__heart { color: #ff3b5c; animation: heartbeat 1.3s ease-in-out infinite; transform-origin: center; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.28); } 28% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .foot__heart { animation: none; } }

/* ---------- Scheda prodotto: estratto descrizione ---------- */
.pdp__intro { color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 62ch; margin: 14px 0 18px; }
.pdp__intro a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Cassetto carrello v2: più ampio, flottante, con riepilogo fisso ---------- */
.sheet--drawer .sheet__panel { inset: auto 0 0 0; height: min(92vh, 100%); max-height: none; border-radius: 28px 28px 0 0; }
@media (min-width: 768px) {
	.sheet--drawer .sheet__panel { inset: 12px 12px 12px auto; width: min(560px, calc(100vw - 24px)); height: auto; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(17, 18, 22, .45); transform: translateX(calc(100% + 24px)); }
}
.sheet--drawer .sheet__head { padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.sheet--drawer .sheet__head h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.cs-drawer__body { padding: 0; min-height: 0; }
.cs-drawer__body > .empty { margin: auto; padding: 40px 24px; }
.cs-drawer__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 24px 20px; overscroll-behavior: contain; }
.cs-drawer__foot { padding: 14px 24px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }
.drawer-added { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 12px; border-radius: 16px; border: 1.5px solid #1f9d55; background: #f0fbf4; color: #11643a; font-weight: 700; font-size: .92rem; animation: mega-in .35s var(--ease); }
.drawer-added svg { flex: none; }
.shipmeter { background: #fff; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 14px 16px; }
.minicart__item { gap: 14px; padding: 14px 0; border-radius: 16px; transition: background .4s; }
.minicart__item.is-new { background: var(--soft); padding-inline: 10px; margin-inline: -10px; }
.minicart__img { width: 76px; height: 76px; border-radius: 14px; background: var(--soft); }
.minicart__line { font-family: var(--font-display); font-size: 1.02rem; white-space: nowrap; }
.minicart__total { padding: 0 0 12px; margin: 0; }
.minicart__total small { color: var(--muted); font-size: .76rem; font-weight: 500; margin-left: 4px; }
.minicart__total strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.02em; }
.minicart__actions .btn { min-height: 54px; }
.minicart__trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: .78rem; color: var(--muted); }
.upsell { margin-top: 14px; padding: 16px; border-radius: 20px; background: var(--soft); }
.upsell__title { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.upsell__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.upsell__item { display: grid; grid-template-columns: 54px 1fr auto auto; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: #fff; }
.upsell__img { width: 54px; height: 54px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.upsell__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.upsell__name { font-size: .84rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.upsell__price { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.upsell__add { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .2s var(--ease); }
.upsell__add:hover { transform: scale(1.08); }
.upsell__add.loading { opacity: .5; pointer-events: none; }

/* ---------- Tabbar mobile in stile app: flottante, vetro, angoli arrotondati ---------- */
@media (max-width: 959px) {
	body { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px); }
	.tabbar {
		inset: auto 12px calc(10px + var(--safe-b)) 12px; height: var(--tabbar-h); padding: 0 6px;
		border-radius: 26px; border: 1px solid rgba(255, 255, 255, .7);
		background: rgba(255, 255, 255, .78);
		backdrop-filter: saturate(190%) blur(24px); -webkit-backdrop-filter: saturate(190%) blur(24px);
		box-shadow: 0 18px 44px -14px rgba(17, 18, 22, .38), 0 2px 6px rgba(17, 18, 22, .06), inset 0 1px 0 rgba(255, 255, 255, .9);
	}
	.tabbar__item { padding-top: 0; gap: 4px; color: #6b6f78; transition: color .2s; }
	.tabbar__item svg { transition: transform .25s var(--ease); }
	.tabbar__item.is-active { color: var(--ink); }
	.tabbar__item.is-active svg { transform: translateY(-1px); }
	.tabbar__item.is-active::after { content: ""; position: absolute; bottom: -7px; width: 5px; height: 5px; border-radius: 50%; background: var(--cs-red); }
	.brand-quicartucce .tabbar__item.is-active::after { background: var(--fill); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
	.tabbar__fab {
		position: relative; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%;
		background: radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--fill) 75%, #fff) 0%, var(--fill) 45%, color-mix(in srgb, var(--fill) 80%, #000) 100%);
		box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 14px 26px -8px color-mix(in srgb, var(--fill) 70%, transparent);
	}
	.tabbar__fab::after { content: ""; position: absolute; inset: 4px 10px auto; height: 40%; border-radius: 50% 50% 40% 40%; background: linear-gradient(180deg, rgba(255, 255, 255, .45), transparent); pointer-events: none; }
	.tabbar__search:active .tabbar__fab { transform: scale(.9); }
	.toasts { bottom: calc(var(--tabbar-h) + var(--safe-b) + 26px); }
	.buybar { bottom: calc(var(--tabbar-h) + var(--safe-b) + 22px); }
	.foot { margin-bottom: 20px; }
}

/* ==========================================================================
   Home: tre layout (uno per brand). Classe sul body: hl-slider / hl-bento / hl-search.
   ========================================================================== */

/* Slide 1 "soft": fondo chiaro con il colore del brand solo come velatura. */
.hslide--soft { background: radial-gradient(900px 620px at 78% 45%, var(--cs-red-50), transparent 70%), linear-gradient(180deg, #fff 0%, #f6f7f9 100%); color: var(--ink); }
.hslide--soft .hslide__bg { opacity: .26; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
.hslide--soft .hslide__eyebrow { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 0 0 1px var(--line); }
.hslide--soft .searchbar--hero { box-shadow: 0 24px 50px -24px rgba(17, 18, 22, .35); border-color: var(--line); }
.hslide--soft .fl { filter: drop-shadow(0 34px 34px rgba(17, 18, 22, .22)); }

/* Le hero non a slide stanno sotto l'header (niente sovrapposizione). */
.hl-bento .head, .hl-search .head { margin-bottom: 0; }

/* Ingresso animato (titolo a parole + resto in dissolvenza). */
[data-cs-intro].is-in [data-split] .w > span { transform: none; }
.bento__main > :not(.bento__bg):not(h1), .bento__tile, .qhero__content > :not(h1), .qhero__brands { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: .5s; }
.is-in .bento__main > :not(.bento__bg):not(h1), .is-in .bento__tile, .is-in .qhero__content > :not(h1), .is-in .qhero__brands { opacity: 1; transform: none; }
.is-in .bento__tile:nth-of-type(2) { transition-delay: .65s; }
.is-in .bento__tile:nth-of-type(3) { transition-delay: .8s; }
.is-in .bento__tile:nth-of-type(4) { transition-delay: .95s; }
@media (prefers-reduced-motion: reduce) { [data-cs-intro] * { transition: none !important; } }

/* ---------- dsink: hero bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px var(--gutter) 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
@media (min-width: 1976px) { .bento { margin-inline: auto; } }
.bento__main { grid-column: 1 / -1; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: 34px 22px 26px; border-radius: 26px; background: var(--cs-red-50); }
.bento__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .2; -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 100%); mask-image: linear-gradient(115deg, transparent 40%, #000 100%); }
.bento__cmyk { display: flex; gap: 6px; margin-bottom: 20px; }
.bento__cmyk i { width: 14px; height: 14px; border-radius: 50%; background: #00A3E0; }
.bento__cmyk i:nth-child(2) { background: #E6007E; }
.bento__cmyk i:nth-child(3) { background: #FFD500; }
.bento__cmyk i:nth-child(4) { background: #111216; }
.bento__eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: #fff; font-weight: 600; font-size: .86rem; margin-bottom: 16px; }
.bento__eyebrow svg { color: var(--cs-red); }
.bento__title { font-size: clamp(2.6rem, 1.1rem + 4.6vw, 6.6rem); line-height: .94; letter-spacing: -.045em; font-weight: 800; margin: 0 0 18px; max-width: 11ch; }
.bento__lead { font-size: clamp(1rem, .9rem + .35vw, 1.2rem); color: var(--ink-2); max-width: 46ch; margin-bottom: 22px; }
.bento .searchbar--hero { max-width: 640px; border-color: transparent; box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--cs-red) 50%, transparent); }
.bento__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bento__chips .chip { background: #fff; }
.bento__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--cs-red) 18%, transparent); }
.bento__stats dt { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bento__stats dd { margin: 4px 0 0; color: var(--ink-2); font-size: .86rem; }
.bento__tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; min-height: 220px; padding: 22px; border-radius: 26px; background: var(--soft); transition: transform .3s var(--ease), box-shadow .3s; }
.bento__tile:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(17, 18, 22, .35); }
.bento__tile strong { font-family: var(--font-display); font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.bento__k { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.bento__k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #00A3E0; }
.bento__k--m::before { background: #E6007E; }
.bento__k--y::before { background: #FFD500; }
.bento__go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .3s var(--ease); }
.bento__tile:hover .bento__go { transform: rotate(45deg); }
.bento__tile--ink { grid-column: 1 / -1; background: radial-gradient(520px 300px at 85% 110%, color-mix(in srgb, var(--cs-red) 60%, transparent), transparent 70%), #0b1020; color: #fff; }
.bento__tile--ink .bento__k { color: rgba(255, 255, 255, .75); }
.bento__img { position: absolute; z-index: -1; height: auto; pointer-events: none; }
.bento__img--toner { width: min(68%, 520px); right: -4%; bottom: -12%; rotate: -8deg; --depth: 18px; }
.bento__img--multi { width: min(60%, 260px); right: 2%; bottom: -10%; rotate: 10deg; --depth: 26px; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .22)); }
.bento__img--bottle { width: min(34%, 150px); right: 12%; bottom: -14%; rotate: -6deg; --depth: 30px; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .22)); }
@media (min-width: 768px) {
	.bento__main { padding: 48px 48px 36px; border-radius: 28px; }
	.bento__tile { padding: 26px 28px; border-radius: 28px; min-height: 260px; }
	.bento__go { top: 22px; right: 22px; }
}
@media (min-width: 1100px) {
	.bento { grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 1.15fr 1fr; gap: 14px; height: clamp(640px, calc(100vh - var(--head-h) - 70px), 880px); }
	.bento__main { grid-column: 1; grid-row: 1 / 3; padding: 56px 64px 44px; }
	.bento__tile { min-height: 0; }
	.bento__tile--ink { grid-column: 2 / 4; grid-row: 1; }
}

/* ---------- quicartucce: hero centrata sulla ricerca ---------- */
.qhero { position: relative; overflow: hidden; isolation: isolate; margin: 12px var(--gutter) 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 600px; padding: 54px 18px 28px; border-radius: 26px; text-align: center; background: linear-gradient(180deg, var(--cs-red-50) 0%, #fff 100%); }
@media (min-width: 1976px) { .qhero { margin-inline: auto; } }
@media (min-width: 768px) { .qhero { min-height: clamp(620px, calc(100vh - var(--head-h) - 70px), 900px); padding: 70px 40px 34px; border-radius: 28px; } }
.qhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 60% 65% at 50% 45%, transparent 45%, #000 100%); mask-image: radial-gradient(ellipse 60% 65% at 50% 45%, transparent 45%, #000 100%); }
.qhero__float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.qfl--a { width: clamp(110px, 12vw, 240px); left: 5%; top: 14%; rotate: -14deg; --depth: 40px; }
.qfl--b { width: clamp(100px, 11vw, 220px); right: 6%; top: 12%; rotate: 12deg; --depth: 50px; animation-delay: -2s; }
.qfl--c { width: clamp(180px, 19vw, 380px); left: 1%; bottom: 8%; rotate: 8deg; --depth: 22px; animation-delay: -4s; }
.qfl--d { width: clamp(70px, 7vw, 140px); right: 9%; bottom: 12%; rotate: -8deg; --depth: 60px; animation-delay: -3s; }
.qfl--a, .qfl--b, .qfl--c, .qfl--d { filter: drop-shadow(0 30px 30px rgba(17, 18, 22, .22)); }
@media (max-width: 899px) { .qhero__float { display: none; } }
.qhero__content { display: flex; flex-direction: column; align-items: center; max-width: 1000px; width: 100%; }
.qhero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: .86rem; margin-bottom: 18px; }
.qhero__title { font-size: clamp(3rem, 1rem + 7.4vw, 9.4rem); line-height: .92; letter-spacing: -.05em; font-weight: 800; margin: 0 0 20px; }
.qhero__title mark { color: inherit; background: linear-gradient(var(--fill), var(--fill)) no-repeat 0 88% / 0% 40%; padding: 0 .04em; transition: background-size .7s var(--ease) 1.1s; }
.is-in .qhero__title mark { background-size: 100% 40%; }
.qhero__lead { font-size: clamp(1.02rem, .9rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 52ch; margin: 0 0 26px; }
.qhero .qhero__search { width: min(760px, 100%); height: 68px; padding: 0 26px; font-size: 1.1rem; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--fill), 6px 6px 0 2px var(--ink); }
.qhero .qhero__search:hover, .qhero .qhero__search:focus-within { border-color: var(--ink); }
.qhero .qhero__search svg { color: var(--ink); }
.qhero__hints { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.qhero__hints span { color: var(--muted); font-size: .88rem; font-weight: 600; margin-right: 4px; }
.qhero__hints .chip { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.qhero__brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 46px; }
.qhero__brands a { font-family: var(--font-display); font-size: clamp(1rem, .9rem + .4vw, 1.35rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink); opacity: .45; transition: opacity .2s; }
.qhero__brands a:hover { opacity: 1; }
.is-in .qhero__brands { transition-delay: .8s; }

/* quicartucce: i 3 passi subito dopo la hero, numeri gialli. */
.brand-quicartucce .steps__list li { background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); }
.brand-quicartucce .steps__list li > span, .brand-quicartucce .steps__list li:nth-child(2) > span { background: var(--fill); color: var(--ink); }
/* dsink: numeri dei passi in ciano/magenta/giallo. */
.brand-dsink .steps__list li > span { background: #00A3E0; }
.brand-dsink .steps__list li:nth-child(2) > span { background: #E6007E; }
.brand-dsink .steps__list li:nth-child(3) > span { background: #FFD500; color: var(--ink); }

/* Ritocchi layout */
.cs-logo { position: relative; }
.cs-logo__r { position: absolute; left: 100%; top: -1px; margin: 0 0 0 1px; }
.foot__logo .cs-logo__r { top: 0; margin-left: 3px; }
.bento__main > * { flex-shrink: 0; }
.bento__title { font-size: clamp(2.5rem, 1.1rem + 3.9vw, 5.6rem); }
.bento__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 44px; }
@media (max-width: 767px) { .bento__stats { grid-template-columns: repeat(3, 1fr); gap: 10px; } .bento__stats dt { font-size: 1.5rem; } }
.bento__img--toner { width: min(54%, 440px); right: -3%; bottom: -16%; }
@media (min-width: 1100px) { .bento { height: clamp(680px, calc(100vh - var(--head-h) - 70px), 900px); } }
.qhero__bg { opacity: .32; }
.qhero__brands a { opacity: .7; }
@media (max-width: 767px) { .hslide--soft .hslide__bg { opacity: .16; } }
.brand-quicartucce .foot .btn--primary { background: var(--fill); color: var(--ink); box-shadow: none; }
/* Da mobile la ricerca è nel tasto centrale della tabbar: l'header resta bilanciato (menu | logo | carrello). */
@media (max-width: 959px) { .head__search { display: none !important; } }
.foot__news > *, .foot__grid > * { min-width: 0; }
@media (max-width: 479px) { .foot__field .btn { padding: 0 18px; } .foot__field input { padding: 0 16px; } }
.tabsblock { overflow-x: clip; }

/* ---------- Footer: loghi pagamento, cuore, logo mobile ---------- */
.foot .paylogos { display: flex; flex-wrap: wrap; gap: 8px; }
.foot .paylogo { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 40px; min-width: 64px; padding: 0 12px; border-radius: 10px; background: #fff; }
.foot .paylogo svg { display: block; width: auto; }
.paylogo__txt { font: 800 15px/1 var(--font); font-style: italic; letter-spacing: -.02em; }
.foot__heart { flex: none; overflow: visible; margin: 0 1px; }
.foot__logo { padding-right: 18px; max-width: 100%; }
@media (max-width: 767px) { .foot__logo .cs-wordmark { height: 34px; } .foot__logo .cs-logo__r { font-size: 11px; } }

/* ---------- Cassetto carrello da mobile: flottante, staccato dai bordi ---------- */
@media (max-width: 767px) {
	.sheet--drawer .sheet__panel { inset: auto 8px calc(8px + var(--safe-b)) 8px; height: min(88vh, calc(100% - 16px)); border-radius: 28px; padding-bottom: 0; transform: translateY(calc(100% + 24px)); }
	.cs-drawer__foot { border-radius: 0 0 28px 28px; padding-bottom: 16px; }
}
/* Markup vecchio rimasto in cache nel browser: mantiene comunque i margini. */
.cs-drawer__body > .shipmeter, .cs-drawer__body > .minicart, .cs-drawer__body > .minicart__total, .cs-drawer__body > .minicart__actions { margin-inline: 20px; }
.foot .paylogo span { padding: 0; background: none; border-radius: 0; }


/* ==========================================================================
   Icone senza riquadro, animate (disegno all'ingresso, movimento al passaggio).
   ========================================================================== */
.seriestile__icon, .printerhero__icon, .printer-pill__icon, .printer-pill--add .printer-pill__icon, .sres__icon, .empty__icon, .usp__icon, .cattile__icon, .upsell__icon, .mmenu__row i {
	width: auto; height: auto; border-radius: 0; background: none !important; box-shadow: none; color: var(--cs-red);
}
.brand-quicartucce :is(.seriestile__icon, .printerhero__icon, .printer-pill__icon, .sres__icon, .usp__icon, .cattile__icon) { color: var(--ink); }
.empty__icon { color: var(--ink-2); margin-bottom: 8px; }
.printerhero__icon svg { width: 64px; height: 64px; }
.mmenu__row i { color: var(--ink); }
.upsell__icon { color: var(--amber); }

/* Disegno del tratto: parte quando l'icona entra nello schermo (classe aggiunta via JS). */
.cs-icon.ai-draw > * { animation: icon-draw 1s cubic-bezier(.6, 0, .2, 1) both; stroke-dasharray: 100; }
.cs-icon.ai-draw > *:nth-child(2) { animation-delay: .12s; }
.cs-icon.ai-draw > *:nth-child(3) { animation-delay: .24s; }
.cs-icon.ai-draw > *:nth-child(4) { animation-delay: .36s; }
@keyframes icon-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
/* Al passaggio del mouse l'icona si ridisegna. */
:is(.seriestile, .printer-pill, .sres, .usp, .cattile, .mmenu__row, .trust__item, .modeltile):hover .cs-icon > * { stroke-dasharray: 100; animation: icon-redraw .8s cubic-bezier(.6, 0, .2, 1) both; }
:is(.seriestile, .printer-pill, .sres, .usp, .cattile, .mmenu__row, .trust__item, .modeltile):hover .cs-icon > *:nth-child(2) { animation-delay: .1s; }
:is(.seriestile, .printer-pill, .sres, .usp, .cattile, .mmenu__row, .trust__item, .modeltile):hover .cs-icon > *:nth-child(3) { animation-delay: .2s; }
@keyframes icon-redraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
/* Stampante: il foglio esce. Sempre nella scheda stampante, al passaggio altrove. */
.ip-paper { transform-box: fill-box; transform-origin: top; }
.printerhero__icon .ip-paper { animation: paper-out 2.4s cubic-bezier(.5, 0, .2, 1) infinite; }
:is(.seriestile, .printer-pill, .sres):hover .ip-paper { animation: paper-out 1.2s cubic-bezier(.5, 0, .2, 1) both !important; stroke-dasharray: none !important; }
@keyframes paper-out { 0% { transform: translateY(-55%); opacity: 0; } 25% { opacity: 1; } 60%, 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cs-icon > *, .ip-paper, .truck * { animation: none !important; } }

/* ---------- Camioncino animato ---------- */
.truck { display: block; overflow: visible; }
.truck__body { animation: truck-bump .45s ease-in-out infinite alternate; }
.truck__wheel { transform-box: fill-box; transform-origin: center; animation: truck-spin .5s linear infinite; }
.truck__lines path { stroke-dasharray: 8 14; animation: truck-lines .6s linear infinite; color: var(--muted); }
.truck__lines path:nth-child(2) { animation-delay: -.2s; }
.truck__lines path:nth-child(3) { animation-delay: -.4s; }
@keyframes truck-bump { to { transform: translateY(-.8px); } }
@keyframes truck-spin { to { transform: rotate(360deg); } }
@keyframes truck-lines { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 22; } }

/* Barra spedizione con il camioncino che viaggia fino al punto raggiunto. */
.shipmeter p { margin-bottom: 14px; }
.shipmeter__track { position: relative; display: block; padding-top: 4px; }
.shipmeter__truck { position: absolute; bottom: 2px; transform: translateX(-88%); transition: left .8s var(--ease); }
.shipmeter.is-done .shipmeter__truck { transform: translateX(-100%); }
.shipmeter__bar { margin-top: 18px; }
.shipmeter.is-done .shipmeter__bar i { background: linear-gradient(90deg, #1f9d55, #3ccf7a); }

/* Box "Spedizione gratuita" nelle categorie: informativo, non un avviso. */
.promobar, .brand-quicartucce .promobar { background: var(--soft); border: 0; color: var(--ink); justify-content: flex-start; }
.promobar > div { flex: 1; min-width: 200px; }
.promobar__truck { flex: none; display: grid; place-items: center; }
.promobar__truck .truck { width: 56px; height: 34px; }
/* Tasto ricerca della tabbar leggermente più piccolo. */
@media (max-width: 959px) { .tabbar__fab { width: 52px; height: 52px; margin-top: -24px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 12px 22px -8px color-mix(in srgb, var(--fill) 70%, transparent); } .tabbar__fab svg { width: 20px; height: 20px; } }
.shipmeter__truck .truck { width: 48px; height: 28px; }

/* ---------- Loghi: un po' più grandi (soprattutto dsink e quicartucce) ---------- */
.cs-logo--cartucciastore .cs-wordmark { height: 23px; }
.cs-logo--dsink .cs-wordmark { height: 30px; }
.cs-logo--quicartucce .cs-wordmark { height: 27px; }
@media (min-width: 768px) {
	.cs-logo--cartucciastore .cs-wordmark { height: 31px; }
	.cs-logo--dsink .cs-wordmark { height: 42px; }
	.cs-logo--quicartucce .cs-wordmark { height: 38px; }
}
.foot__logo .cs-logo--dsink .cs-wordmark { height: 72px; }
.foot__logo .cs-logo--quicartucce .cs-wordmark { height: 64px; }
@media (max-width: 767px) { .foot__logo .cs-logo--dsink .cs-wordmark { height: 46px; } .foot__logo .cs-logo--quicartucce .cs-wordmark { height: 40px; } }

/* ---------- Loghi animati in loop (piccoli movimenti, ogni pochi secondi) ---------- */
/* cartucciastore: il puntino rosso della "i" salta come una goccia e si schiaccia atterrando. */
.cs-logo--cartucciastore circle { transform-box: fill-box; transform-origin: 50% 100%; animation: logo-drop 4.2s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes logo-drop {
	0%, 62%, 100% { transform: none; }
	70% { transform: translateY(-55%) scale(.92, 1.08); }
	78% { transform: translateY(0) scale(1.25, .72); }
	84% { transform: translateY(-14%) scale(.96, 1.04); }
	90% { transform: none; }
}
/* dsink: i quattro punti CMYK pulsano uno dopo l'altro (C → M → Y → K). */
.cs-logo--dsink circle { transform-box: fill-box; transform-origin: center; animation: logo-cmyk 3.6s ease-in-out infinite; }
.cs-logo--dsink circle:nth-of-type(2) { animation-delay: .18s; }
.cs-logo--dsink circle:nth-of-type(4) { animation-delay: .36s; }
.cs-logo--dsink circle:nth-of-type(3) { animation-delay: .54s; }
@keyframes logo-cmyk { 0%, 55%, 100% { transform: none; } 65% { transform: scale(1.45); } 75% { transform: scale(.9); } 82% { transform: none; } }
/* quicartucce: il fumetto "qui" fa un piccolo saluto, ruotando sulla punta. */
.cs-logo--quicartucce svg > :is(path:nth-of-type(1), path:nth-of-type(2), circle) { transform-box: view-box; transform-origin: 10px 118px; animation: logo-wave 4s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes logo-wave { 0%, 60%, 100% { transform: none; } 68% { transform: rotate(-7deg) scale(1.04); } 76% { transform: rotate(5deg); } 84% { transform: rotate(-2deg); } 90% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-logo svg > * { animation: none !important; } }

/* ==========================================================================
   Assistenza: pulsante flottante + pannello (FAQ e assistente)
   ========================================================================== */
.assist-fab {
	position: fixed; z-index: 70; right: 24px; bottom: 24px;
	display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 8px; border-radius: 99px;
	background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem;
	box-shadow: 0 18px 40px -14px rgba(17, 18, 22, .55); transition: transform .25s var(--ease), box-shadow .25s;
}
.assist-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(17, 18, 22, .6); }
.assist-fab__ico { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.assist-fab__ico::after { content: ""; position: absolute; top: 1px; right: 1px; width: 10px; height: 10px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 2px var(--ink); animation: assist-pulse 2.4s ease-in-out infinite; }
@keyframes assist-pulse { 50% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(46, 204, 113, .25); } }
.assist-fab.is-open .assist-fab__ico svg { transform: rotate(-12deg); }
@media (max-width: 959px) {
	.assist-fab { right: 14px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px); height: 50px; padding: 0 6px; }
	.assist-fab__txt { display: none; }
	.assist-fab__ico { width: 38px; height: 38px; }
	.woocommerce-cart .assist-fab, .woocommerce-checkout .assist-fab, .single-product .assist-fab { bottom: calc(var(--tabbar-h) + var(--safe-b) + 96px); }
}

.assist {
	position: fixed; z-index: 95; right: 24px; bottom: 92px; width: min(410px, calc(100vw - 32px)); height: min(640px, calc(100vh - 130px));
	display: flex; flex-direction: column; border-radius: 26px; background: #fff; overflow: hidden;
	box-shadow: 0 40px 90px -30px rgba(17, 18, 22, .55), 0 0 0 1px rgba(17, 18, 22, .06);
	animation: assist-in .3s var(--ease);
}
.assist[hidden] { display: none; }
@keyframes assist-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (max-width: 959px) {
	.assist { left: 8px; right: 8px; width: auto; bottom: calc(8px + var(--safe-b)); height: min(86vh, calc(100% - 16px)); z-index: 110; }
	.assist-open .tabbar, .assist-open .assist-fab { visibility: hidden; }
}
.assist__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.assist__head > div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.assist__head strong { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -.02em; }
.assist__head small { color: #1f9d55; font-weight: 600; font-size: .78rem; }
.assist__avatar { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.assist__tabs { display: flex; gap: 4px; padding: 10px 14px 0; }
.assist__tabs button { flex: 1; height: 38px; border-radius: 12px; font-weight: 700; font-size: .84rem; color: var(--muted); }
.assist__tabs button.is-active { background: var(--soft); color: var(--ink); }
.assist__panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.assist__panel[hidden] { display: none; }
.assist__msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.amsg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .9rem; line-height: 1.5; animation: assist-in .25s var(--ease); }
.amsg p { margin: 0 0 8px; }
.amsg--bot { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.amsg--me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.amsg a { text-decoration: underline; }
.amsg__more { display: inline-block; margin-top: 8px; font-weight: 700; }
.amsg__dots { display: inline-flex; gap: 4px; }
.amsg__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: assist-dot 1s infinite; }
.amsg__dots i:nth-child(2) { animation-delay: .15s; }
.amsg__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes assist-dot { 50% { transform: translateY(-4px); opacity: .5; } }
.acards { display: grid; gap: 6px; margin-bottom: 8px; }
.acard { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 12px; background: #fff; text-decoration: none !important; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.acard small { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.aprods { display: grid; gap: 6px; }
.aprod { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: #fff; text-decoration: none !important; }
.aprod img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--soft); mix-blend-mode: multiply; }
.aprod span { display: flex; flex-direction: column; font-size: .82rem; line-height: 1.3; }
.aprod em { font-style: normal; font-weight: 800; }
.assist__quick { display: flex; gap: 6px; overflow-x: auto; padding: 6px 16px 8px; scrollbar-width: none; }
.assist__quick::-webkit-scrollbar { display: none; }
.assist__quick button { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; font-size: .8rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.assist__quick button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.assist__form { display: flex; gap: 8px; padding: 8px 14px 6px; }
.assist__form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-2); outline: none; font-size: .95rem; }
.assist__form input:focus { border-color: var(--ink); }
.assist__form button { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.assist__note { margin: 0; padding: 0 18px 12px; font-size: .72rem; color: var(--muted); }
.assist__faq { overflow-y: auto; padding: 8px 18px 18px; }
.assist__faq details { border-bottom: 1px solid var(--line); }
.assist__faq summary { padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.assist__faq summary::-webkit-details-marker { display: none; }
.assist__faq p { margin: 0 0 14px; color: var(--ink-2); font-size: .92rem; }
.assist__mail { margin-top: 16px; width: 100%; }

/* ==========================================================================
   DSInk: hero a destra più ricca + identità di quadricromia (CMYK)
   ========================================================================== */
.bento__tile { gap: 0; }
.bento__sub { margin: 10px 0 0; max-width: 30ch; font-size: .92rem; line-height: 1.45; color: var(--ink-2); position: relative; z-index: 1; }
.bento__tile--ink .bento__sub { color: rgba(255, 255, 255, .72); }
.bento__link { color: inherit; text-decoration: none; }
.bento__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bento__tile--ink { transition: box-shadow .3s; }
.bento__tile--ink:hover { transform: none; }
.bento__codes { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; max-width: 58%; }
.bento__codes span { width: 100%; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.bento__codes a { padding: 6px 11px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .2s; }
.bento__codes a:hover { background: rgba(255, 255, 255, .2); }
.bento__go { z-index: 2; }
.bento__reg { position: absolute; z-index: 0; right: 84px; top: 22px; width: 34px; color: rgba(255, 255, 255, .85); animation: reg-spin 14s linear infinite; }
.bento__reg .regmark { width: 100%; height: auto; display: block; }
@keyframes reg-spin { to { rotate: 360deg; } }
.bento__img--multi2 { width: min(40%, 180px); right: 30%; bottom: -14%; rotate: -14deg; --depth: 16px; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .22)); }
.bento__img--splash { width: min(78%, 360px); right: -12%; bottom: -26%; rotate: 8deg; --depth: 10px; filter: none; opacity: .9; }
@media (max-width: 767px) { .bento__codes { max-width: none; } .bento__reg { display: none; } }

/* Retino (halftone): puntini del colore di stampa che sfumano verso un angolo. */
.halftone { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 11px 11px; -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 0%, transparent 62%); mask-image: radial-gradient(120% 100% at 100% 0%, #000 0%, transparent 62%); opacity: .55; }
.halftone--c { background-image: radial-gradient(circle, #00A3E0 1.7px, transparent 2px); opacity: .45; }
.halftone--m { background-image: radial-gradient(circle, #E6007E 1.6px, transparent 1.9px); }
.halftone--y { background-image: radial-gradient(circle, #e0b800 1.7px, transparent 2px); }

/* Segni di taglio agli angoli, come su un foglio di stampa. */
.cropmarks { position: absolute; inset: 12px; z-index: 0; pointer-events: none; }
.cropmarks i { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(17, 18, 22, .28); }
.bento__tile--ink .cropmarks i { border-color: rgba(255, 255, 255, .3); }
.cropmarks i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cropmarks i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; display: none; }
.cropmarks i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cropmarks i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }

/* --- Identità DSInk sul resto del sito --- */
/* Titoli con un leggerissimo "fuori registro" ciano/magenta. */
.brand-dsink :is(.bento__title, .shead__title--xl, .tabsblock__head h2, .cathead h1, .pdp__title) { text-shadow: -.025em 0 0 rgba(0, 163, 224, .35), .025em 0 0 rgba(230, 0, 126, .3); }
/* Barra di avanzamento della pagina in quadricromia. */
.brand-dsink .cmyk-progress { position: fixed; z-index: 120; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #00A3E0 0 25%, #E6007E 0 50%, #FFD500 0 75%, #111216 0); pointer-events: none; }
/* Barra colori di controllo (come ai margini dei fogli di stampa) sopra il footer. */
.brand-dsink .foot { position: relative; overflow: hidden; }
.brand-dsink .foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: linear-gradient(90deg, #00A3E0 0 6%, #7fd1f0 0 12%, #E6007E 0 18%, #f27fbe 0 24%, #FFD500 0 30%, #ffea80 0 36%, #111216 0 42%, #888 0 48%, #00A3E0 0 54%, #E6007E 0 60%, #FFD500 0 66%, #111216 0 72%, #7fd1f0 0 78%, #f27fbe 0 84%, #ffea80 0 90%, #444 0 96%, #00A3E0 0); opacity: .9; }
.brand-dsink .foot::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 380px; height: 380px; background-image: radial-gradient(circle, rgba(0, 163, 224, .35) 1.8px, transparent 2.1px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(circle at 70% 70%, #000, transparent 65%); mask-image: radial-gradient(circle at 70% 70%, #000, transparent 65%); pointer-events: none; }
/* Retini nelle sezioni. */
.brand-dsink .tabsblock { position: relative; isolation: isolate; }
.brand-dsink .tabsblock::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: radial-gradient(circle, rgba(0, 163, 224, .35) 1.6px, transparent 1.9px); background-size: 12px 12px; -webkit-mask-image: radial-gradient(60% 90% at 100% 0, #000, transparent 70%); mask-image: radial-gradient(60% 90% at 100% 0, #000, transparent 70%); pointer-events: none; }
.brand-dsink .steps__list li { position: relative; overflow: hidden; }
.brand-dsink .steps__list li::after { content: ""; position: absolute; right: -10px; top: -10px; width: 120px; height: 120px; background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.7px); background-size: 10px 10px; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); opacity: .35; pointer-events: none; }
.brand-dsink .steps__list li:nth-child(1)::after { color: #00A3E0; }
.brand-dsink .steps__list li:nth-child(2)::after { color: #E6007E; }
.brand-dsink .steps__list li:nth-child(3)::after { color: #e0b800; }
/* Schede prodotto: filo CMYK in basso al passaggio. */
.brand-dsink .pcard { position: relative; }
.brand-dsink .pcard::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #00A3E0 0 25%, #E6007E 0 50%, #FFD500 0 75%, #111216 0); transform: scaleX(0); transition: transform .35s var(--ease); }
.brand-dsink .pcard:hover::after { transform: scaleX(1); }
/* Selezione del testo in ciano. */
.brand-dsink ::selection { background: #00A3E0; color: #fff; }
/* Crocino di registro accanto al logo nel footer. */
.brand-dsink .brandgrid .btile::after { opacity: .18; }

/* ==========================================================================
   QuiCartucce: hero che ruota tra cartuccia / toner / inchiostro
   ========================================================================== */
.qhero { --qdur: 4.8s; }
.qhero__float { opacity: 0; transition: opacity .8s var(--ease); }
.qhero__float.is-on { opacity: 1; }
.qhero__float .fl { transition: transform .6s var(--ease), translate 1s var(--ease); }
.qhero__float:not(.is-on) .fl { translate: 0 30px; }
.qfl--toner.qfl--a { width: clamp(180px, 20vw, 380px); top: 10%; left: 1%; rotate: -10deg; }
.qfl--toner.qfl--b { width: clamp(150px, 15vw, 300px); right: 2%; top: 14%; rotate: 14deg; }
.qfl--toner.qfl--c { width: clamp(160px, 16vw, 320px); left: 3%; bottom: 6%; rotate: 6deg; }
.qfl--toner.qfl--d { width: clamp(150px, 14vw, 290px); right: 3%; bottom: 8%; rotate: -12deg; }
.qfl--splash-cmy.qfl--b { width: clamp(220px, 24vw, 460px); right: -4%; top: 2%; rotate: 0deg; filter: none; }
.qfl--splash-cmy.qfl--c { width: clamp(220px, 24vw, 460px); left: -6%; bottom: -4%; rotate: 180deg; filter: none; }
.qfl--bottle.qfl--a { width: clamp(80px, 8vw, 160px); left: 9%; top: 16%; }
.qfl--bottle.qfl--d { width: clamp(80px, 8vw, 150px); right: 12%; bottom: 10%; }

.qhero__title { display: flex; flex-direction: column; align-items: center; }
.qrot { display: grid; justify-items: center; overflow: hidden; padding: 0 .05em .1em; margin-bottom: -.1em; }
.qrot > span { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .75s cubic-bezier(.16, 1, .3, 1), opacity .45s; }
.qrot > span.is-on { transform: none; opacity: 1; }
.qrot > span.is-out { transform: translateY(-105%); opacity: 0; }
.qhero__l2 { display: block; }

.qhero__hints { min-height: 40px; }
.qhero__set { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; }
.qhero__set.is-on { display: inline-flex; animation: assist-in .45s var(--ease); }

.qhero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.qhero__dots button { width: 46px; height: 18px; display: grid; align-items: center; }
.qhero__dots i { display: block; height: 3px; border-radius: 3px; background: rgba(17, 18, 22, .15); overflow: hidden; position: relative; }
.qhero__dots i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.qhero__dots button.is-on i::after { animation: progress var(--qdur) linear forwards; }
.qhero.is-paused .qhero__dots button.is-on i::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .qhero__dots { display: none; } }
/* Ritocchi */
.bento__img--splash { width: min(70%, 320px); right: -16%; bottom: -34%; }
.qfl--cart-color.qfl--c { width: clamp(100px, 10vw, 190px); left: 6%; bottom: 10%; rotate: 10deg; }
.qfl--cart-black.qfl--d { width: clamp(90px, 9vw, 170px); right: 8%; bottom: 12%; rotate: -10deg; }
@media (min-width: 960px) { .foot__bottom { padding-right: 190px; } }
