/* =====================================================================
   TIS – Termoidrosolar. Stile ricavato dal tema ThemeREX "Plumbing & Building"
   (skin default: DM Sans, blu #3083FF, blu notte #01041D, azzurro #EBF4FF)
   ===================================================================== */
:root {
  --blue: #3083FF;
  --blue-hover: #0F6BF5;
  --navy: #01041D;
  --navy-2: #00020A;
  --azure: #EBF4FF;
  --azure-2: #F5F9FF;
  --red: #BC2041;
  --red-hover: #AA0C2D;
  --yellow: #FFCC54;
  --orange: #F96304;
  --text: #797C7F;
  --text-dark: #4A4D52;
  --border: #DBDBDB;
  --white: #fff;
  --ok: #1E9E5A;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(1, 4, 29, .07);
  --shadow-hover: 0 16px 40px rgba(1, 4, 29, .12);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1290px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.ico { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------- Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #ffc030; color: var(--navy); }
.btn--outline { background: transparent; border-color: var(--border); color: var(--navy); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #12163a; color: #fff; }
.btn--pill { border-radius: 999px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ------------------------------------------------------- Form base */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; color: var(--navy); outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,131,255,.15); }
label { color: var(--navy); font-weight: 500; font-size: 14px; }
/* testo e link della label scorrono come un unico paragrafo (prima, con flex, ogni link diventava una colonna) */
.check { display: block; position: relative; padding-left: 24px; font-weight: 400; color: var(--text-dark); cursor: pointer; margin: 6px 0; }
.check > input { position: absolute; left: 0; top: 3px; margin: 0; accent-color: var(--blue); }
.check--light { color: #c9cbd6; font-size: 13px; }
.check--light a { color: #fff; text-decoration: underline; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; }
.field small { display: block; margin-top: 4px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-msg { margin: 10px 0 0; font-size: 14px; min-height: 1em; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: var(--red); }
.req { color: var(--red); }

/* ------------------------------------------------------- Notice */
.notice { padding: 14px 18px; border-radius: var(--radius); margin: 16px 0; background: var(--azure); color: var(--navy); display: flex; gap: 12px; align-items: flex-start; }
.notice--success { background: #e6f6ed; color: #0f5132; }
.notice--error { background: #fdecef; color: #8a1230; }
.notice--pro { background: #fdf0f3; border-left: 4px solid var(--red); }
.notice__actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.store-notice { background: var(--orange); color: #fff; text-align: center; padding: 8px 16px; font-weight: 500; font-size: 14px; }

/* ------------------------------------------------------- Topbar & header */
.topbar { background: var(--azure); font-size: 13px; color: var(--text-dark); }
.topbar__in { display: flex; gap: 26px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar__in > * { display: inline-flex; gap: 6px; align-items: center; color: inherit; }
.topbar__pro { margin-left: auto; color: var(--red) !important; }
.topbar__pro strong { font-weight: 700; }
.topbar__pro--on { color: var(--ok) !important; font-weight: 500; }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(1,4,29,.06); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.header__logo img { width: 150px; height: auto; }
.header__burger, .nav__close { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 4px; }
.search { display: flex; align-items: center; background: var(--azure-2); border: 1px solid #e3ecf8; border-radius: 999px; padding: 4px 4px 4px 18px; flex: 1; max-width: 340px; }
.search input { border: 0; background: transparent; padding: 8px 0; box-shadow: none !important; font-size: 14px; }
.search .btn { padding: 9px 20px; font-size: 14px; }
.search--big { max-width: 560px; margin: 24px auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--navy); font-weight: 500; font-size: 16px; position: relative; }
.nav__list > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav__list > li > a:hover::after, .nav__list > li > a.is-active::after { transform: scaleX(1); }
.nav__mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-hover); border-top: 1px solid #eef2f8; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.nav__mega:hover .mega, .nav__mega.is-hover .mega, .nav__mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 30px; max-height: 70vh; overflow: auto; }
.mega__title { display: block; color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.mega__title:hover { color: var(--blue); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { color: var(--text); font-size: 14px; line-height: 1.9; }
.mega li a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__cart { position: relative; color: var(--navy); display: inline-flex; }
.header__cart .badge { position: absolute; top: -6px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.header__account { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 500; white-space: nowrap; }

/* ------------------------------------------------------- Breadcrumb */
.breadcrumb { padding: 26px 0 6px; font-size: 14px; color: var(--text); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--text-dark); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-current] { color: var(--text); }

/* ------------------------------------------------------- Sezioni */
.section { padding: 80px 0; }
.section--alt { background: var(--azure); }
.section--dark { background: var(--navy); color: #c9cbd6; }
.section--dark h2 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.section__head h2 { margin: 0; }
.section__title-c { text-align: center; margin-bottom: 34px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(48,131,255,.1); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.12); }

/* ------------------------------------------------------- Home: hero */
.hero { background: linear-gradient(180deg, var(--azure) 0%, #fff 100%); padding: 64px 0 70px; }
.hero__head { max-width: 820px; margin-bottom: 40px; }
.hero__head h1 { margin-bottom: 16px; }
.hero__head .hl { color: var(--blue); }
.hero__head p { font-size: 18px; }
.hero__ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 36px 36px 34px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); color: var(--text); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.way:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--text); }
.way::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--azure); z-index: 0; }
.way > * { position: relative; z-index: 1; }
.way__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--azure); color: var(--blue); }
.way__kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-top: 8px; }
.way__title { color: var(--navy); font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.way__text { margin-bottom: 14px; }
.way .btn { align-self: flex-start; margin-top: auto; }
.way--pro { background: var(--navy); color: #c9cbd6; }
.way--pro:hover { color: #c9cbd6; }
.way--pro::after { background: rgba(188,32,65,.18); }
.way--pro .way__icon { background: rgba(188,32,65,.18); color: #ff7d99; }
.way--pro .way__kicker { color: #ff7d99; }
.way--pro .way__title { color: #fff; }

/* barra garanzie */
.trust { border-top: 1px solid #eef2f8; border-bottom: 1px solid #eef2f8; background: #fff; }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 26px 18px; color: var(--blue); }
.trust__item + .trust__item { border-left: 1px solid #eef2f8; }
.trust__item strong { display: block; color: var(--navy); font-size: 16px; line-height: 1.3; }
.trust__item span { color: var(--text); font-size: 14px; }

/* categorie home */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat__img { aspect-ratio: 1; background: var(--azure); overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__name { color: var(--navy); font-weight: 700; font-size: 17px; line-height: 1.3; padding: 18px 20px 4px; }
.cat__count { font-size: 14px; padding: 0 20px 18px; }

/* area pro 3 passi */
.pro { background: var(--navy) radial-gradient(ellipse at 90% 0%, rgba(48,131,255,.25), transparent 55%); }
.pro__head { max-width: 720px; margin-bottom: 40px; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.step strong { color: #fff; font-size: 19px; line-height: 1.3; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-bottom: 8px; }

/* marchi */
.brands__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.brand { width: 150px; height: 84px; background: #fff; border-radius: var(--radius); display: grid; place-items: center; padding: 14px; box-shadow: 0 2px 10px rgba(1,4,29,.04); transition: box-shadow .2s; }
.brand:hover { box-shadow: var(--shadow); }
.brand img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: all .2s; }
.brand:hover img { filter: none; opacity: 1; }
.brand span { color: var(--navy); font-weight: 700; text-align: center; font-size: 14px; }

/* preventivo cards */
.quote-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qcard { border-radius: var(--radius-lg); padding: 44px; }
.qcard h2 { font-size: clamp(24px, 2.6vw, 34px); }
.qcard--blue { background: linear-gradient(135deg, #3083FF 0%, #1559d6 100%); color: #e6efff; }
.qcard--blue h2 { color: #fff; }
.qcard--light { background: var(--azure); }

/* guide */
.guide { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .25s; }
.guide:hover { transform: translateY(-4px); color: var(--text); }
.guide__img { aspect-ratio: 16/10; background: var(--azure); overflow: hidden; }
.guide__img img { width: 100%; height: 100%; object-fit: cover; }
.guide__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.guide__body strong { color: var(--navy); font-size: 19px; line-height: 1.3; }
.guide__date { font-size: 13px; color: var(--blue); font-weight: 500; }
.guide__ex { font-size: 15px; }

/* newsletter */
.newsletter { padding: 64px 0; }
.newsletter__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter__in h2 { margin-bottom: 8px; }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter__form input[type=email] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.newsletter__form .check, .newsletter__form .form-msg { grid-column: 1 / -1; }
.newsletter .form-msg.is-ok { color: #6be3a2; }

/* ------------------------------------------------------- Griglie e card */
.grid { display: grid; gap: 24px; }
.grid > *, .cats > * { min-width: 0; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 12px rgba(1,4,29,.05); transition: box-shadow .25s, transform .25s; }
.pcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.pcard__img { position: relative; aspect-ratio: 1; background: #fff; display: block; padding: 14px; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pcard__badge { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: #fff; }
.pcard__badge--sale { background: var(--orange); }
.pcard__badge--pro { background: var(--red); top: auto; bottom: 12px; }
.pcard__body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid #f1f4f9; padding-top: 16px; }
.pcard__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-weight: 700; }
.pcard__title { font-size: 16px; line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.pcard__title a { color: var(--navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a:hover { color: var(--blue); }
.pcard__price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pcard__actions { margin-top: 10px; }
.pcard__actions .btn { width: 100%; }
.price { color: var(--blue); font-weight: 700; font-size: 20px; }
.price--lg { font-size: 30px; }
.price--na { color: var(--navy); font-size: 15px; font-weight: 500; }
.price__from { font-size: 13px; }
.price__vat { font-size: 13px; color: var(--text); }
.price__alt { display: block; font-size: 14px; margin-top: 2px; }
del { color: #a8abb0; font-size: .85em; }

/* ------------------------------------------------------- Catalogo */
.catalog { background: var(--azure); padding-bottom: 80px; min-height: 60vh; }
.catalog__head { padding: 14px 0 20px; }
.catalog__intro { max-width: 900px; }
.subcats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.subcat { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 6px 16px 6px 6px; color: var(--navy); font-weight: 500; font-size: 14px; box-shadow: 0 2px 8px rgba(1,4,29,.04); }
.subcat:not(:has(img)) { padding-left: 16px; }
.subcat img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.subcat small { color: var(--text); }
.subcat:hover { color: var(--blue); }
.catalog__body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 30px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 110px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; color: var(--navy); margin-bottom: 8px; }
.filters__head strong { display: inline-flex; gap: 8px; align-items: center; }
.filters__close { display: none; background: none; border: 0; cursor: pointer; color: var(--navy); }
.filters__group { border: 0; border-top: 1px solid #eef2f8; padding: 16px 0 10px; margin: 0; max-height: 300px; overflow: auto; }
.filters__group legend { font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.filters__group legend + * { clear: both; }
.filters__price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters__price input { padding: 9px 10px; }
.filters__reset { display: block; text-align: center; margin-top: 12px; font-size: 14px; }
.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.toolbar__count { color: var(--text-dark); }
.toolbar__sort { margin-left: auto; }
.toolbar__sort select { padding: 9px 36px 9px 14px; width: auto; }
.toolbar__filters { display: none; }
.empty { background: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.catalog__bottom { margin-top: 40px; background: #fff; border-radius: var(--radius-lg); padding: 30px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; border-radius: var(--radius); display: grid; place-items: center; background: #fff; color: var(--navy); font-weight: 500; padding: 0 10px; }
.pagination a:hover { color: var(--blue); }
.pagination .is-current { background: var(--blue); color: #fff; }

/* ------------------------------------------------------- Prodotto */
.product { background: var(--azure); padding-bottom: 60px; }
.product__top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 18px; padding-bottom: 50px; align-items: start; }
.gallery__main { background: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.gallery__main a { display: block; aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery__zoom { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--azure); display: grid; place-items: center; color: var(--navy); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb { width: 80px; height: 80px; border-radius: var(--radius); background: #fff; border: 2px solid transparent; padding: 4px; cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--blue); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.summary__brand { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.summary__title { font-size: clamp(26px, 2.6vw, 36px); margin: 6px 0 14px; }
.summary__price { margin-bottom: 18px; }
.summary__short { font-size: 15px; border-bottom: 1px solid #d9e6f7; padding-bottom: 8px; margin-bottom: 20px; }
.buy__attr { margin-bottom: 16px; }
.buy__attr label { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; font-weight: 700; margin-bottom: 6px; }
.buy__attr select { max-width: 360px; background-color: #fff; }
.buy__reset { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; font-size: 14px; margin-bottom: 10px; }
.buy__info { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--text-dark); min-height: 22px; margin-bottom: 14px; }
.stock { font-weight: 700; }
.stock--instock { color: var(--ok); }
.stock--onbackorder { color: var(--orange); }
.stock--outofstock { color: var(--red); }
.pack { background: #fff; padding: 2px 10px; border-radius: 99px; color: var(--navy); }
.buy__row { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.qty button { background: none; border: 0; width: 42px; height: 50px; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.qty input { width: 64px; border: 0; text-align: center; padding: 0; height: 50px; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy__btn { flex: 1; min-width: 200px; max-width: 320px; }
.summary__help { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0; padding: 16px 0; border-top: 1px solid #d9e6f7; border-bottom: 1px solid #d9e6f7; }
.summary__help a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--navy); }
.summary__help a:hover { color: var(--blue); }
.summary__meta { list-style: none; margin: 0; padding: 0; font-size: 14px; display: grid; gap: 6px; }
.summary__meta span { color: var(--navy); font-weight: 500; }
.tabs { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.tabs__nav { display: flex; gap: 0; border-bottom: 1px solid #eef2f8; overflow-x: auto; }
.tabs__nav button { background: none; border: 0; padding: 18px 26px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs__nav button.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.tabs__panel { padding: 30px 32px; }
.attrs { border-collapse: collapse; width: 100%; max-width: 720px; }
.attrs th, .attrs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #eef2f8; vertical-align: top; }
.attrs th { color: var(--navy); width: 38%; font-weight: 500; }
.product .section { padding: 60px 20px 0; }

/* contenuti testuali */
.prose { color: var(--text-dark); }
.prose h2 { font-size: 26px; margin-top: 1.2em; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid #e3e8f0; padding: 8px 10px; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose a { text-decoration: underline; }

/* pagine */
.page-head { background: var(--azure); padding: 10px 0 40px; }
.page-body { padding: 50px 0 80px; }
.page-body .prose { max-width: 860px; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.error-page { text-align: center; max-width: 680px; }
.error-page__code { display: block; font-size: 110px; font-weight: 700; color: var(--azure); line-height: 1; -webkit-text-stroke: 2px var(--blue); }

/* ------------------------------------------------------- Footer */
.footer { background: var(--navy-2); color: #9c9fae; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.footer__brand img { background: #fff; border-radius: var(--radius); padding: 8px 12px; margin-bottom: 18px; width: 170px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer__list .ico { color: var(--blue); margin-top: 3px; }
.footer a { color: #c9cbd6; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 60; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow-hover); z-index: 100; opacity: 0; transition: all .25s; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--yellow); font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------------- Carrello / checkout / account */
.shop-page { background: var(--azure); padding: 10px 0 80px; min-height: 60vh; }
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.cart-table { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto 36px; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid #eef2f8; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; }
.cart-line__name { color: var(--navy); font-weight: 700; line-height: 1.3; }
.cart-line__meta { font-size: 13px; }
.cart-line__total { color: var(--navy); font-weight: 700; min-width: 90px; text-align: right; }
.cart-line .qty button { height: 40px; width: 34px; }
.cart-line .qty input { height: 40px; width: 50px; }
.icon-btn { background: none; border: 0; cursor: pointer; color: var(--text); padding: 6px; }
.icon-btn:hover { color: var(--red); }
.totals { background: #fff; border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 110px; }
.totals h3 { margin-bottom: 16px; }
.totals__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f4f9; }
.totals__row--total { border: 0; font-size: 20px; color: var(--navy); font-weight: 700; padding-top: 14px; }
.totals .btn { margin-top: 14px; }
.coupon { display: flex; gap: 8px; margin-top: 16px; }
.coupon input { padding: 10px 12px; }
.ship-opts { display: grid; gap: 8px; margin: 10px 0; }
.ship-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; background: #fff; }
.ship-opt:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(48,131,255,.15); }
.ship-opt input { margin-top: 5px; accent-color: var(--blue); }
.ship-opt strong { color: var(--navy); }
.ship-opt small { display: block; }
.ship-opt__price { margin-left: auto; color: var(--navy); font-weight: 700; white-space: nowrap; }
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 30px; align-items: start; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.checkout legend { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--azure); border-radius: 99px; padding: 4px; margin-bottom: 16px; }
.seg label { padding: 8px 18px; border-radius: 99px; cursor: pointer; font-weight: 500; }
.seg input { display: none; }
.seg label:has(input:checked) { background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(1,4,29,.08); }
.account { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.account__nav { background: #fff; border-radius: var(--radius-lg); padding: 12px; }
.account__nav a, .account__nav button { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: var(--radius); color: var(--navy); font-weight: 500; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
.account__nav a.is-active, .account__nav a:hover { background: var(--azure); color: var(--blue); }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #eef2f8; }
.table th { color: var(--navy); font-weight: 700; background: #f8fbff; }
.status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; background: var(--azure); color: var(--navy); }
.status--completed, .status--paid, .status--active { background: #e6f6ed; color: #0f5132; }
.status--processing { background: #e7f0ff; color: #1d4fa6; }
.status--on-hold, .status--pending, .status--quote-shipping { background: #fff4dc; color: #7a5200; }
.status--cancelled, .status--failed, .status--rejected { background: #fdecef; color: #8a1230; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* ------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .header__in { gap: 18px; }
  .search { max-width: 260px; }
  .nav__list > li > a { padding: 10px 10px; }
  .grid--4, .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .header__burger { display: inline-flex; }
  .header__in { min-height: 74px; }
  .header__logo img { width: 120px; }
  .nav { position: fixed; inset: 0 30% 0 0; background: #fff; z-index: 90; padding: 70px 24px 24px; transform: translateX(-100%); transition: transform .3s; overflow: auto; box-shadow: var(--shadow-hover); margin: 0; }
  .nav.is-open { transform: none; }
  .nav__close { display: block; position: absolute; top: 18px; right: 18px; }
  .nav__list { flex-direction: column; }
  .nav__list > li > a { font-size: 18px; padding: 12px 0; }
  .nav__list > li > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .nav__mega.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; padding: 0 0 10px 10px; max-height: none; gap: 10px; }
  .mega ul { display: none; }
  .header__account span { display: none; }
  .search { order: 5; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
  .header__in { flex-wrap: wrap; }
  .header__actions { margin-left: auto; }
  .topbar__addr { display: none; }
  .product__top, .cart, .checkout, .account { grid-template-columns: 1fr; }
  .catalog__body { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(340px, 90vw); z-index: 95; border-radius: 0; transform: translateX(100%); transition: transform .3s; overflow: auto; top: 0; }
  .filters.is-open { transform: none; box-shadow: var(--shadow-hover); }
  .filters__close, .toolbar__filters { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps, .trust__in { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .newsletter__in, .quote-cards, .hero__ways, .auth { grid-template-columns: 1fr; }
  .totals { position: static; }
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .grid--4, .grid--3, .cats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pcard__body { padding: 12px 14px 14px; }
  .pcard__title { font-size: 14px; }
  .price { font-size: 17px; }
  .way, .qcard { padding: 26px 22px; }
  .way__title { font-size: 22px; }
  .steps, .trust__in, .footer__grid, .form-grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid #eef2f8; }
  .topbar__in { gap: 14px; font-size: 12px; justify-content: center; }
  .topbar__in > span:first-child { display: none; }
  .topbar__pro { margin-left: 0; }
  .cat__name { font-size: 15px; padding: 12px 14px 2px; }
  .cat__count { padding: 0 14px 12px; font-size: 13px; }
  .tabs__panel { padding: 22px 18px; }
  .cart-line { grid-template-columns: 64px 1fr auto; padding: 14px; }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line .qty { grid-column: 2; }
  .cart-line__total { grid-column: 3; grid-row: 1; }
  .newsletter__form { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .nav { inset: 0 12% 0 0; }
}

/* Griglie prodotti dentro pagine e guide ([prodotti ...]) */
.prose .prose-products { margin: 24px 0 32px; }
.prose .prose-products ul { padding-left: 0; }
.prose .prose-products h3, .prose .prose-products h2 { margin-top: 0; font-size: inherit; }

/* Ingrandimento immagini prodotto */
.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(1, 4, 29, .92); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__fig img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 10px; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--blue, #3083FF); }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; }
.lightbox--single .lightbox__nav { display: none; }
.lightbox__count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #dfe6f5; font-size: 14px; }
@media (max-width: 700px) { .lightbox { padding: 60px 8px; } .lightbox__nav { top: auto; bottom: 10px; transform: none; } }

/* Filtri per caratteristiche */
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border, #DBDBDB); border-radius: 99px; font-size: 14px; cursor: pointer; background: #fff; transition: background .15s, border-color .15s; }
.fx-chip input { position: absolute; opacity: 0; pointer-events: none; }
.fx-chip small { color: var(--text, #797C7F); }
.fx-chip:hover { border-color: var(--blue, #3083FF); }
.fx-chip.is-on { background: var(--blue, #3083FF); border-color: var(--blue, #3083FF); color: #fff; }
.fx-chip.is-on small { color: #dbe8ff; }
.fx-chip:focus-within { outline: 2px solid var(--blue, #3083FF); outline-offset: 2px; }
.fx .is-off { opacity: .4; cursor: default; }
.fx .fx-extra { display: none; }
.fx.is-expanded .fx-extra { display: flex; }
.fx-more { background: none; border: 0; padding: 4px 0; color: var(--blue, #3083FF); font: inherit; font-size: 14px; cursor: pointer; }
.fx-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.fx-tag { background: var(--azure, #EBF4FF); color: var(--navy, #01041D); border-radius: 99px; padding: 5px 10px 5px 12px; font-size: 14px; text-decoration: none; }
.fx-tag b { margin-left: 4px; color: var(--blue, #3083FF); }
.fx-tag:hover { background: #dbeaff; }
.fx-reset { font-size: 14px; color: var(--red, #BC2041); margin-left: 4px; }
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; }
  .filters { width: 100vw !important; }
  .filters .filters__group { max-height: none; }
  .filters form > .btn--primary { position: sticky; bottom: 0; box-shadow: 0 -8px 16px #fff; }
}
.filters__group.fx > *:not(legend) { clear: both; }

/* pagina marchi */
.brands__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--navy); }
.brand-card .brand { width: 100%; height: 96px; }
.brand-card:hover .brand { box-shadow: var(--shadow); }
.brand-card:hover .brand img { filter: none; opacity: 1; }
.brand-card small { color: #6b6f80; }

/* ---------------------------------------------------------------- menu categorie a più livelli */
.mtree ul { list-style: none; margin: 0; padding: 0; }
.mtree__row { display: flex; align-items: center; }
.mtree a, .mtree li a { line-height: 1.35; }
.mtree__item { flex: 1; display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 15px; line-height: 1.3; min-width: 0; }
.mtree__ico { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; }
.mtree__ico img { max-width: 30px; max-height: 30px; object-fit: contain; }
.mtree__ico .cat-ico { color: #5b6275; }
.mtree li.is-active > .mtree__row .cat-ico, .mtree__item:hover .cat-ico { color: var(--blue); }
.mtree__tog { background: none; border: 0; color: #8a90a2; display: grid; place-items: center; padding: 6px 12px; cursor: pointer; }
.mtree__all { display: block; font-weight: 700; color: var(--navy); font-size: 14px; }
.mtree__all small { color: #8a90a2; font-weight: 500; }
.mtree__all:hover { color: var(--blue); }
.mtree__empty { color: #6b6f80; font-size: 14px; margin: 6px 0 0; }
@media (min-width: 1025px) {
  .mega.mtree { right: auto; left: max(0px, calc((100% - var(--wrap)) / 2 + 20px)); width: auto; border-radius: 0 0 var(--radius) var(--radius); }
  .mtree__l1 { width: 320px; padding: 8px 0; position: relative; }
  .mtree__l1 > li > .mtree__row { border-bottom: 1px solid #f0f2f7; }
  .mtree__l1 > li:last-child > .mtree__row { border-bottom: 0; }
  .mtree__l1 > li > .mtree__row .mtree__item { padding: 6px 0 6px 16px; min-height: 42px; }
  .mtree li.is-active > .mtree__row { background: #f3f7fd; }
  .mtree li.is-active > .mtree__row .mtree__item { color: var(--blue); }
  .mtree__tog { pointer-events: none; }
  .mtree__panel { display: none; position: absolute; left: 100%; top: 0; width: 330px; min-height: 100%; background: #fff; border-left: 1px solid #eef2f8; padding: 14px 0 10px; box-shadow: 12px 12px 24px rgba(1,4,29,.06); }
  .mtree__l1 > li.is-active > .mtree__panel, .mtree__l2 > li.is-active > .mtree__panel--3 { display: block; }
  .mtree__all { padding: 0 20px 10px; margin-bottom: 4px; border-bottom: 1px solid #f0f2f7; }
  .mtree__l2 .mtree__item, .mtree__l3 .mtree__item { padding: 9px 0 9px 20px; font-size: 14.5px; }
  .mtree__empty { padding: 4px 20px; }
  /* righe divisorie tra le sottocategorie (richiesta di Ruben) */
  .mtree__l2 > li + li, .mtree__l3 > li + li { border-top: 1px solid #eef1f6; }
}
@media (max-width: 1024px) {
  .mtree ul { display: block; }
  .mtree__l1 > li { border-bottom: 1px solid #f0f2f7; }
  .mtree__item { padding: 10px 0; }
  .mtree__panel { display: none; padding: 0 0 8px 42px; }
  .mtree__panel--3 { padding-left: 16px; }
  .mtree li.is-open > .mtree__panel { display: block; }
  .mtree li.is-open > .mtree__row > .mtree__tog svg { transform: rotate(90deg); }
  .mtree__tog svg { transition: transform .2s; }
  .mtree__all { padding: 6px 0; font-size: 14px; }
  .mtree__l2 .mtree__item, .mtree__l3 .mtree__item { font-size: 14.5px; padding: 8px 0; }
  .mtree__l2 > li + li, .mtree__l3 > li + li { border-top: 1px solid #f0f2f7; }
}

/* card categoria con foto del prodotto di copertina (home) */
.cat--cover .cat__img { position: relative; aspect-ratio: 4/3; background: radial-gradient(circle at 50% 60%, #fff 0, #eef4fc 70%); display: grid; place-items: center; }
.cat--cover .cat__img img { width: auto; height: auto; max-width: 72%; max-height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.cat--cover:hover .cat__img img { transform: scale(1.06); }
.cat__ico { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--blue); box-shadow: 0 2px 10px rgba(1,4,29,.08); z-index: 1; }
.cat__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 14px 18px 18px; }
.cat--cover .cat__name { padding: 0; font-size: 16.5px; line-height: 1.25; }
.cat--cover .cat__count { padding: 0; font-size: 13px; color: #6b6f80; white-space: nowrap; }
@media (max-width: 640px) {
  .cat__ico { width: 34px; height: 34px; left: 10px; top: 10px; }
  .cat__ico svg { width: 20px; height: 20px; }
  .cat__body { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px 12px; }
  .cat--cover .cat__name { font-size: 14.5px; }
}

/* sottocategorie: variante a riquadri ("Scegli la tipologia") */
.subtiles { margin: 0 0 30px; }
.subtiles__title, .catalog__alltitle { font-size: 22px; margin: 0 0 16px; }
.catalog__alltitle span { font-weight: 500; font-size: 15px; color: #6b6f80; }
.subtiles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.subtile { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.subtile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.subtile__img { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #fff 0, #eef4fc 70%); }
.subtile__img img { max-width: 70%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.subtile__body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.subtile__name { color: var(--navy); font-weight: 700; font-size: 16px; line-height: 1.25; }
.subtile__name:hover { color: var(--blue); }
.subtile__count { font-size: 13px; color: #6b6f80; }
.subtile__links { font-size: 13px; margin-top: 4px; line-height: 1.5; color: #8a90a2; }
.subtile__links a { color: var(--blue); }
/* sottocategorie: variante ad albero laterale + striscia */
.subchips { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding: 2px 2px 10px; margin: 0 0 20px; scrollbar-width: thin; }
.subchips__lbl { font-weight: 700; color: var(--navy); white-space: nowrap; margin-right: 4px; }
.subchip { white-space: nowrap; background: #fff; border: 1px solid #dde4f0; border-radius: 99px; padding: 7px 14px; color: var(--navy); font-size: 14px; font-weight: 500; }
.subchip small { color: #8a90a2; margin-left: 2px; }
.subchip:hover { border-color: var(--blue); color: var(--blue); }
.ctree { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eef1f6; }
.ctree__head { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.ctree__up { display: block; font-size: 13.5px; color: var(--blue); margin-bottom: 8px; }
.ctree ul { list-style: none; margin: 0; padding: 0; }
.ctree li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--text); font-size: 14.5px; line-height: 1.3; }
.ctree li a small { color: #8a90a2; }
.ctree li a:hover { color: var(--blue); }
.ctree li.is-on > a { color: var(--navy); font-weight: 700; }
.ctree li ul { padding-left: 12px; border-left: 2px solid #e3ebf8; margin: 2px 0 6px 2px; }
@media (min-width: 1025px) { .subchips { display: none; } }
@media (max-width: 1024px) {
  .subtiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .subtiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .subtile__body { padding: 10px 12px 12px; }
  .subtile__name { font-size: 14.5px; }
  .subtile__links { display: none; }
  .subtiles__title, .catalog__alltitle { font-size: 19px; }
}

/* barra prodotti su telefono: niente sforamento a destra */
@media (max-width: 600px) {
  .toolbar { gap: 10px; }
  .toolbar__count { white-space: nowrap; font-size: 14px; }
  .toolbar__sort { min-width: 0; flex: 1 1 auto; display: flex; justify-content: flex-end; }
  .toolbar__sort select { max-width: 100%; min-width: 0; width: 100%; padding: 9px 30px 9px 10px; font-size: 14px; text-overflow: ellipsis; }
  .subchips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

:root { --hs-accent: #F96304; --hs-accent-text: #c24e00; --hs-line: #fcc8a0; }
.btn--accent { background: var(--hs-accent); color: #fff; }
.btn--accent:hover { background: #e05700; color: #fff; }
/* ---------- slider home (ripreso dal sito WordPress) */
.hs { position: relative; background: linear-gradient(120deg, #eef6fa 0%, #fff7ea 100%); overflow: hidden; }
.hs__track { display: grid; }
.hs__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hs__slide.is-active { opacity: 1; visibility: visible; }
.hs__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 64px; min-height: 500px; }
.hs__tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hs-accent-text); border: 1.5px solid var(--hs-line); background: #fff; padding: 5px 12px; border-radius: 99px; margin-bottom: 16px; }
.hs__title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; margin: 0 0 12px; color: var(--navy); }
.hs__title span { display: block; color: var(--hs-accent); text-transform: uppercase; }
.hs__sub { font-size: 19px; color: var(--navy); font-weight: 500; margin-bottom: 14px; }
.hs__desc { font-size: 16px; max-width: 560px; margin-bottom: 22px; }
.hs__feats { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hs__feats li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e3ebf0; border-radius: 10px; padding: 9px 14px 9px 12px; box-shadow: 0 2px 8px rgba(1,46,61,.05); }
.hs__feats .ico { color: var(--hs-accent); }
.hs__feats strong { display: block; color: var(--navy); font-size: 14.5px; line-height: 1.2; }
.hs__feats small { display: block; font-size: 12px; line-height: 1.3; }
.hs__media { position: relative; aspect-ratio: 1 / 1; max-height: 440px; border-radius: 20px; background: #fff; border: 2px solid var(--hs-line); display: grid; place-items: center; padding: 26px; justify-self: end; width: 100%; max-width: 440px; }
.hs__media img { position: absolute; inset: 26px; width: calc(100% - 52px); height: calc(100% - 52px); object-fit: contain; }
.hs__slide--cover .hs__media { padding: 0; overflow: hidden; }
.hs__slide--cover .hs__media img { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.hs__badge { position: absolute; left: -26px; top: 22px; z-index: 1; background: #1fa36b; color: #fff; border-radius: 12px; padding: 10px 16px 12px; text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 8px 20px rgba(31,163,107,.3); line-height: 1.1; }
.hs__badge strong { display: block; font-size: 32px; letter-spacing: -.02em; text-transform: none; }
.hs__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(1,46,61,.55); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; transition: background .2s; }
.hs__nav:hover { background: var(--navy); }
.hs__nav--prev { left: 18px; }
.hs__nav--next { right: 18px; }
.hs__dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hs__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(1,46,61,.25); cursor: pointer; transition: width .25s, background .25s; }
.hs__dots button.is-active { width: 28px; background: var(--blue); }
@media (max-width: 1024px) {
  .hs__in { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-top: 30px; padding-bottom: 56px; }
  .hs__media { order: -1; max-width: 340px; justify-self: center; aspect-ratio: 4 / 3; padding: 16px; }
  .hs__media img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
  .hs__badge { left: -10px; top: 12px; padding: 7px 12px 8px; font-size: 11px; }
  .hs__badge strong { font-size: 22px; }
  .hs__nav { display: none; }
  .hs__desc { display: none; }
  .hs__sub { font-size: 16px; }
}
@media (max-width: 640px) {
  .hs__feats li { padding: 7px 10px; }
  .hs__feats li:nth-child(3) { display: none; }
  .hs .btn--lg { width: 100%; }
}

/* ---------- privati / professionisti sotto lo slider */
.hero--compact { background: #fff; padding: 36px 0 44px; }
.hero--compact .way { padding: 28px 30px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.hero--compact .way__icon { width: 52px; height: 52px; }
.hero--compact .way__kicker { margin: 0; flex: 1; }
.hero--compact .way__title { flex-basis: 100%; font-size: 22px; }
.hero--compact .way__text { flex-basis: 100%; margin: 0 0 6px; font-size: 15px; }

/* marchi: griglia 5x3, a colori, leggermente opachi al passaggio del mouse */
.brands--grid .brands__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.brands--grid .brand { width: auto; height: 112px; padding: 18px 22px; }
.brands--grid .brand img { max-height: 66px; max-width: 100%; filter: none; opacity: 1; }
.brands--grid .brand:hover img { opacity: .6; }
.brands--grid .brand span { font-size: 17px; letter-spacing: .02em; }
@media (max-width: 1024px) { .brands--grid .brands__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .brands--grid .brands__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .brands--grid .brand { height: 84px; padding: 12px; } }

/* box preventivo: pulsanti alla stessa altezza */
.qcard { display: flex; flex-direction: column; align-items: flex-start; }
.qcard .btn { margin-top: auto; }
.qcard p { margin-bottom: 24px; }

.section__sub { margin: 4px 0 0; font-size: 17px; color: var(--text); }
.hs__slide--cover .hs__badge { left: 16px; top: 16px; }
/* slider come fascia promozioni a metà home (la parte alta resta la scelta privato / professionista) */
.hs--band .hs__in { min-height: 380px; padding-top: 40px; padding-bottom: 54px; gap: 40px; }
.hs--band .hs__title { font-size: clamp(28px, 3.2vw, 42px); }
.hs--band .hs__sub { font-size: 17px; }
.hs--band .hs__desc { font-size: 15px; margin-bottom: 18px; }
.hs--band .hs__feats { margin-bottom: 22px; }
.hs--band .hs__media { max-width: 360px; }
@media (max-width: 1024px) { .hs--band .hs__media { max-width: 300px; } }
/* guide in home su telefono: una sotto l'altra, immagine a sinistra */
@media (max-width: 680px) {
  .grid.guides { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .guides .guide { flex-direction: row; }
  .guides .guide__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 140px; }
  .guides .guide__body { padding: 14px 16px; gap: 6px; }
  .guides .guide__body strong { font-size: 16px; }
  .guides .guide__ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
}
.footer__social { display: flex; gap: 10px; margin-top: 6px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.footer__social a:hover { background: var(--blue); color: #fff; }
/* contatti: mappa (si carica al clic) */
.map-box { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; height: 380px; position: relative; background-color: #e6eef6; background-image: linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 46px 46px; box-shadow: var(--shadow); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; color: var(--text-dark); }
.map-box__ph strong { color: var(--navy); font-size: 20px; }
.map-box__pin { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 6px; }
.map-box__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 10px 0 4px; }
.map-box__ph small { font-size: 12.5px; color: var(--text); }
@media (max-width: 640px) { .map-box { height: 320px; } }
/* ordine con trasporto preventivato: accettazione del cliente */
.quote-box { border: 2px solid var(--blue); border-radius: var(--radius-lg); padding: 20px 22px; margin: 18px 0; background: var(--azure-2); }
.quote-box p { margin: 0 0 12px; }
.quote-box__tot { font-size: 22px; color: var(--navy); }
.quote-box__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
/* carrello in alto: icona carrello più grande con la scritta, si illumina dopo un'aggiunta */
.header__cart { align-items: center; gap: 8px; font-weight: 500; padding: 6px 10px; border-radius: 10px; transition: background .2s, box-shadow .2s; }
.header__cart:hover { background: var(--azure); color: var(--navy); }
.header__cart-ico { position: relative; display: inline-flex; }
.header__cart .badge { top: -7px; right: -10px; min-width: 21px; height: 21px; font-size: 12px; }
.header__cart.is-bump { background: var(--azure); box-shadow: 0 0 0 3px rgba(48,131,255,.35); animation: cart-bump .5s ease 2; }
@keyframes cart-bump { 50% { transform: scale(1.12); } }

/* campo di ricerca ben visibile */
.search { border: 2px solid #9fc2f5; background: #fff; box-shadow: 0 2px 10px rgba(48,131,255,.12); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(48,131,255,.15); }
.search input::placeholder { color: #6b7280; }
/* menu categorie: collegamento a tutte le categorie */
.mtree__allcats { display: flex; align-items: center; gap: 6px; padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--blue); border-bottom: 1px solid #eef2f8; }
@media (min-width: 1025px) { .mtree__allcats { width: 320px; } }
@media (max-width: 1024px) { .mtree__allcats { padding: 10px 0; } }
@media (min-width: 1181px) { .search { max-width: 380px; } }
@media (min-width: 1025px) {
  .header__in { gap: 22px; }
  .search { flex: 1 1 300px; min-width: 260px; }
  .nav__list > li > a { padding-left: 11px; padding-right: 11px; }
  .nav__list > li > a::after { left: 11px; right: 11px; }
}
@media (max-width: 1360px) { .header__cart-lbl { display: none; } }
.nav__list > li > a, .header__account span, .header__cart-lbl { white-space: nowrap; }
@media (max-width: 1360px) { .header__cart-lbl { display: inline; } }
@media (max-width: 1240px) { .header__cart-lbl { display: none; } }
@media (min-width: 1025px) and (max-width: 1180px) { .search { min-width: 200px; flex-basis: 200px; } .header__in { gap: 14px; } .nav__list > li > a { padding-left: 8px; padding-right: 8px; } }
.header__cart-lbl { margin-left: 6px; }

/* zoom foto prodotto al passaggio del mouse */
.gallery__lens { position: absolute; inset: 0; background: #fff no-repeat; background-size: 220%; opacity: 0; pointer-events: none; transition: opacity .15s; }
.gallery__main a.is-zoom { cursor: zoom-in; }
.gallery__main a.is-zoom .gallery__lens { opacity: 1; }

/* "Torna su": sopra il pulsante WhatsApp, compare dopo un po' di scorrimento */
.to-top { position: fixed; right: 29px; bottom: 92px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #dfe5ef; background: #fff; color: var(--navy); display: grid; place-items: center; align-content: center; gap: 0; box-shadow: 0 6px 18px rgba(1,4,29,.12); z-index: 60; cursor: pointer; padding: 0; line-height: 1; }
.to-top span { font-size: 9px; font-weight: 700; text-transform: uppercase; margin-top: -3px; }
.to-top:hover { color: var(--blue); border-color: var(--blue); }
.to-top[hidden] { display: none; }

/* prodotti con IVA agevolata */
.iva-ag { margin: -6px 0 16px; padding: 8px 12px; border-radius: var(--radius); background: #eaf7ee; color: #1d6b38; font-size: 14px; line-height: 1.45; }
.iva-ag strong { color: #14532b; }

/* distinta di cantiere (salvataggio dal carrello e pagina della distinta) */
.sl-save { margin-top: 10px; }
.sl-save > summary { list-style: none; cursor: pointer; }
.sl-save > summary::-webkit-details-marker { display: none; }
.sl-save__form { margin-top: 12px; display: grid; gap: 10px; }
.sl-save__form .field { margin: 0; }
.sl-save__form small { color: var(--text); font-size: 12.5px; line-height: 1.4; }
.sl__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.sl__name { display: grid; gap: 4px; flex: 1 1 320px; max-width: 560px; }
.sl__name span { font-size: 13px; color: var(--text); }
.sl__name input { font-size: 24px; font-weight: 700; color: var(--navy); padding: 10px 14px; }
.sl__meta { margin: 0; font-size: 13px; color: var(--text); }
.sl__lines { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.sl-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #eef1f6; }
.sl-line:last-child { border-bottom: 0; }
.sl-line.is-off { background: #fff8f6; }
.sl-line__img img { width: 64px; height: 64px; object-fit: contain; }
.sl-line__name { display: block; color: var(--navy); font-weight: 600; line-height: 1.3; }
.sl-line__meta { display: block; font-size: 13px; color: var(--text); margin-top: 3px; }
.sl-line__act { display: flex; align-items: center; gap: 6px; }
.sl__total { text-align: right; margin: 12px 4px 0; }
.sl__bar { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.sl__note { text-align: right; font-size: 13px; color: var(--text); margin: 8px 0 26px; }
.sl__add h2 { font-size: 20px; margin-bottom: 12px; }
.sl__search { display: flex; gap: 8px; margin-bottom: 14px; }
.sl__search input { flex: 1; min-width: 0; }
.sl-res { border-top: 1px solid #eef1f6; padding: 12px 0; }
.sl-res__head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sl-res__head img { width: 48px; height: 48px; object-fit: contain; }
.sl-res__head a { color: var(--navy); }
.sl-res__row { display: flex; align-items: center; gap: 8px; padding: 6px 0 6px 58px; }
.sl-res__lbl { flex: 1; font-size: 14px; color: var(--text-dark); }
.sl-res__row input[type=number] { width: 70px; padding: 8px; }
.sl__resend { text-align: center; margin-top: 18px; }
.link-btn { background: none; border: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 640px) {
  .sl-line { grid-template-columns: 48px 1fr; padding: 12px; }
  .sl-line__img img { width: 48px; height: 48px; }
  .sl-line__act { grid-column: 1 / -1; justify-content: space-between; }
  .sl__bar { position: sticky; bottom: 0; background: var(--azure, #eef4ff); padding: 10px 0; margin: 10px -4px 0; z-index: 5; }
  .sl__bar .btn { flex: 1; }
  .sl__note { text-align: left; }
  .sl-res__row { padding-left: 0; flex-wrap: wrap; }
  .sl-res__lbl { flex-basis: 100%; }
}

/* checkout: elenco comuni sotto il campo */
.geo-city { position: relative; }
.geo-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #dfe5ef; border-radius: var(--radius); box-shadow: 0 12px 28px rgba(1,4,29,.12); max-height: 300px; overflow: auto; }
.geo-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; cursor: pointer; font-size: 15px; color: var(--text-dark); }
.geo-list li small { color: var(--text); }
.geo-list li:hover, .geo-list li.is-active { background: #f3f7fd; color: var(--blue); }

/* dichiarazione IVA agevolata */
.iva-d__intro { font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.iva-d__form fieldset.card { border: 0; margin: 0 0 18px; }
.iva-d__form legend { font-size: 18px; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.iva-d__form legend + * { clear: both; }
.iva-d__hint { font-size: 13px; color: var(--text); margin: 0 0 10px; }
.iva-d__text { margin-top: 10px; font-size: 14px; color: var(--text-dark); }
.iva-d__text summary { cursor: pointer; color: var(--blue); }
.iva-d__text p { margin: 8px 0 0; }
.iva-d__files { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iva-file { border: 1px dashed #c9d3e4; border-radius: var(--radius); padding: 12px; display: grid; gap: 8px; align-content: start; }
.iva-file.is-done { border-style: solid; border-color: #9fd4b0; background: #f4fbf6; }
.iva-file.is-err { border-color: var(--red); }
.iva-file__lbl { font-weight: 600; color: var(--navy); font-size: 14px; }
.iva-file__ok { color: #1d6b38; font-size: 13px; display: flex; gap: 4px; align-items: center; word-break: break-all; }
.iva-file__btn { position: relative; overflow: hidden; justify-self: start; cursor: pointer; }
.iva-file__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.iva-file__new { font-size: 12.5px; color: var(--blue); }
.sig__pad { position: relative; border: 1px solid #c9d3e4; border-radius: var(--radius); background: #fff; }
.sig__pad canvas { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; }
.sig__ph { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #a3abbd; pointer-events: none; }
.sig__pad::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 40px; border-bottom: 1px solid #e3e8f1; pointer-events: none; }
.sig__clear { position: absolute; right: 10px; bottom: 6px; font-size: 13px; }
.sig__saved { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sig__saved img { max-height: 90px; border: 1px solid #e3e8f1; border-radius: var(--radius); background: #fff; padding: 4px; }
.iva-d__bar { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-bottom: 30px; }
.iva-pending { border-left: 4px solid #e6a100; background: #fff8e6; }
@media (max-width: 640px) {
  .iva-d__files { grid-template-columns: 1fr; }
  .iva-d__bar { position: sticky; bottom: 0; background: var(--azure, #eef4ff); padding: 10px 0; z-index: 5; }
  .iva-d__bar .btn { flex: 1; }
}
input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(188,32,65,.12); }

/* occhio per vedere la password (sito e gestione) */
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { width: 100%; padding-right: 46px !important; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 0; color: #6b7387; cursor: pointer; border-radius: 6px; padding: 0; }
.pw-eye:hover { color: var(--blue); background: #f1f5fb; }

/* checkout: riquadro IVA agevolata */
.iva-box { margin: 14px 0 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--azure); color: var(--navy); font-size: 14.5px; line-height: 1.5; border-left: 4px solid var(--blue); }
.iva-box p { margin: 0 0 8px; }
.iva-box__title { font-weight: 700; font-size: 15.5px; }
.iva-box__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.iva-box__list li { display: flex; gap: 8px; align-items: flex-start; }
.iva-box__list svg { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.iva-box p.iva-box__warn { margin: 0; font-weight: 700; color: #8a1230; }
.co-sum__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.co-sum__head a { font-size: 13.5px; font-weight: 600; }
.co-sum__vol { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; background: #fff3d6; color: #8a5a00; border-radius: 4px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
.footer__follow { margin: 16px 0 8px; font-weight: 700; color: #fff; font-size: 14px; letter-spacing: .3px; }

/* ricerca immediata */
.search { position: relative; }
.search.is-loading::after { content: ''; position: absolute; right: 108px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid #c9dbf3; border-top-color: var(--blue); border-radius: 50%; animation: sugspin .7s linear infinite; }
@keyframes sugspin { to { transform: rotate(360deg); } }
.sug { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; background: #fff; border: 1px solid #dfe7f2; border-radius: 14px; box-shadow: 0 14px 40px rgba(15,35,70,.16); max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; width: max(100%, 520px); max-width: calc(100vw - 32px); text-align: left; }
.sug__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 8px; border-bottom: 1px solid #eef2f7; margin-bottom: 4px; }
.sug__cat { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--azure-2, #eef5ff); color: inherit; text-decoration: none; }
.sug__cat small { color: #6b7280; }
.sug__item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.sug__item img { width: 48px; height: 48px; object-fit: contain; flex: none; background: #fff; border-radius: 6px; }
.sug__item:hover, .sug__item.is-sel, .sug__cat.is-sel, .sug__cat:hover, .sug__all.is-sel, .sug__all:hover { background: #f1f6fd; }
.sug__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sug__name { font-size: 14px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sug__meta { font-size: 12px; color: #6b7280; margin-top: 2px; }
.sug__price { font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--blue, #3083ff); }
.sug mark { background: #fff3b0; color: inherit; padding: 0; border-radius: 2px; }
.sug__all { display: block; text-align: center; padding: 10px; font-weight: 600; font-size: 14px; border-top: 1px solid #eef2f7; margin-top: 4px; border-radius: 0 0 10px 10px; text-decoration: none; }
.sug__none { padding: 14px; color: #6b7280; font-size: 14px; }
@media (max-width: 600px) { .sug { width: 100%; } .sug__price { font-size: 13px; } .search.is-loading::after { right: 96px; } }

.sheets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.sheets:empty { display: none; }
/* preventivo per il cliente */
.qo { display: flex; flex-direction: column; gap: 20px; }
.qo-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.qo-table th { text-align: left; font-size: 13px; color: var(--text, #6b6e75); font-weight: 600; padding: 8px 10px; border-bottom: 2px solid #e8ecf2; }
.qo-table td { padding: 10px; border-bottom: 1px solid #eef1f5; vertical-align: top; }
.qo-table .num { text-align: right; white-space: nowrap; }
.qo-ship td { color: var(--text, #6b6e75); }
.qo-bottom { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 16px; }
.qo-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.qo-totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.qo-total { font-size: 20px; font-weight: 800; color: var(--navy); border-top: 1px solid #e3e6ec; padding-top: 8px; }
.qo-answer { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.qo-inv, .qo-pay { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 14px; }
.qo-accept h3 { margin: 18px 0 4px; font-size: 16px; }
.qo-accept .btn--block { width: 100%; margin-top: 14px; }
@media (max-width: 860px) { .qo-bottom, .qo-answer { grid-template-columns: 1fr; } }
.status--ready { background: #dff5f1; color: #0b5d50; }
