/* =========================================================
   0) FONT IMPORTS + FONT FACE
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+SemiExpanded:ital,wght@0,200..900;1,200..900&family=Zalando+Sans:ital,wght@0,200..900;1,200..900&display=swap');

/* ✅ Brandolini (serif) */
@font-face {
  font-family: "Brandolini";
  src:
    url("/assets/fonts/BrandoliniDisplay-Stencil.woff2") format("woff2"),
    url("/assets/fonts/BrandoliniDisplay-Stencil.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* =========================================================
   1) RESET / BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

div { box-sizing: border-box; }

img {
  width: 100%;
  float: left;
}

figure{
  margin-top: 1rem;
  margin-bottom: 1rem;
  float: left;
  width: 100%;
}

li { list-style: none; }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: 0.2s ease-in-out;
}
a:hover {
  opacity: 0.6;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

strong, b { font-weight: 700; }
small {
  font-size: inherit;
}

/* =========================================================
   2) THEME VARIABLES
========================================================= */
/* 🌞 Tema chiaro (default) */
:root {
  --color-black: #000;
  --color-white: #fff;

  --color-grey: #F5F5F5;

  --color-dark: #000;
  --color-light: #fff;

  /*  --color-dark: #151515;
      --color-light: #F5F8FA;*/

  --color-form: #808080;
  --color-red: #FF5900;

  --color-text: var(--color-black);
  --color-background: var(--color-light);
  --color-background-alt: var(--color-white);

  --font-family-sans: "Zalando Sans SemiExpanded", Helvetica, Arial, sans-serif;
  --font-family-serif: "Brandolini", Georgia, "Times New Roman", Times, serif;
  --font-family-mono: Courier, monospace;

  --card-bg: rgba(255,255,255,0.06);
  --radius: 14px;

  --preview-threshold: 56; /* px: sopra questa soglia -> 1 colonna */

  --image-block-border-color: var(--color-black);
}

/* 🌚 Tema scuro */
:root[data-theme="dark"] {
  --color-background: var(--color-dark);
  --color-text: var(--color-white);
  --color-background-alt: var(--color-black);

  --image-block-border-color: transparent;
}

/* =========================================================
   3) DOCUMENT / BODY
========================================================= */
html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.4;
  font-weight: 400;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: background 0.25s ease, color 0.25s ease;
}

body {
  margin: 0 auto;
  background: transparent;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
}

/* Selection */
*::selection{
  color: var(--color-grey);
  background: var(--color-red);
}
*::-moz-selection{
  color: var(--color-grey);
  background: var(--color-red);
}

/* =========================================================
   4) GRID / PURE
========================================================= */
.pure-g {
  font-family:  var(--font-family-sans);
  /* padding: 1rem; */
}
.pure-g [class*="pure-u"] {
  font-family:  var(--font-family-sans);
  /*z-index: 48;*/
}

section .pure-g {
  padding: 0;
  overflow: hidden;
}

/* =========================================================
   5) UTILITY CLASSES
========================================================= */
.brandolini { font-family: var(--font-family-serif); }

.overflowhidden { overflow-y: hidden; }
.overflowauto { overflow-y: auto; }

.align-center { text-align: center; }
.align-right { text-align: left; }

.clear{
  width: 100%;
  float: left;
  display: block;
}
.upper{ text-transform: uppercase; }
.serif{ font-family: var(--font-family-sans) !important; }
.spacing{ letter-spacing: 0.05rem; }

.center-flex{
  display: flex;
  justify-content: center; 
}

.center-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.no-events{ pointer-events: none; }
.hidden{ display: none; }
.display-none{ display: none; }
.display-mobile{ display: block; }
.display-desktop{ display: none; }

.honeypot {
  position: absolute;
  left: -9999px;
}

/* =========================================================
   6) LINK COLOR HELPERS
========================================================= */
.text-white a{ color: var(--color-text); }
.text-dark a{ color: var(--color-text); }

/* =========================================================
   7) BUTTONS / CTA
========================================================= */
.button-md{
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  text-align: center;
  float: left;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.8rem;
  width: fit-content;
}
.button-md:hover { opacity: 1; }

.button1{
  border: 2px solid var(--color-text);
  color: var(--color-text);
  background-color: var(--color-background-alt);
  border-radius: 3rem;
  width: fit-content;
  display: flex;
}
.button1:hover {
  border: 2px solid var(--color-red);
  background-color: var(--color-red);
  color: var(--color-text);
}
.button1 svg{
  fill: var(--color-text);
  width: 20px;
  position: relative;
  top: 2px;
  margin-left: 0.6rem;
  transition: 0.2s ease-in-out;
}
.button1:hover svg{ fill: var(--color-text); }

.button2{
  border: 2px solid var(--color-text);
  color: var(--color-background);
  background-color: var(--color-text);
  border-radius: 3rem;
  width: fit-content;
  display: flex;
}
.button2:hover {
  border: 2px solid var(--color-red);
  background-color: var(--color-red);
  color: var(--color-text);
}
.button2 svg{
  fill: var(--color-background);
  width: 20px;
  position: relative;
  top: 2px;
  margin-left: 0.6rem;
  transition: 0.2s ease-in-out;
}
.button2:hover svg{ fill: var(--color-text); }

.button-more{ margin-left: 6rem; }

.button3{
  border: 2px solid white;
  padding: 0.3rem 1.2rem;
  border-radius: 2rem;
  margin: 0 0 0.8rem 0;
}
.button3:hover{
  border: 2px solid var(--color-red);
  background-color: var(--color-red);
  color: var(--color-text);
  opacity: 1;
}

/* =========================================================
   8) HEADER
========================================================= */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: calc(100% - 2.6rem);
  z-index: 92;
  transition: 0.5s cubic-bezier(.86,0,.07,1);
  padding: 1rem 1rem;
  margin: 0;
}
.dark .header{
  background: rgba(255, 255, 255, 1);
  transition: 0.5s cubic-bezier(.86,0,.07,1);
}

.scrolling .header{
  background: var(--color-background-alt);
  transition: 0.5s cubic-bezier(.86,0,.07,1);
  padding: 3rem 3.8rem 2rem 3.8rem;
}
.dark.scrolling .header{
  background: rgba(255, 255, 255, 0.3);
  transition: 0.5s cubic-bezier(.86,0,.07,1);
  padding: 1.2rem 1rem;
}

/* Logo */
.header .logo { padding: 0 2rem; }

.header .logo svg{
  width: 140px;
  transition: 0.3s cubic-bezier(.86,0,.07,1);
  float: left;
}
.scrolling .header .logo svg{ width: 115px; }

.header .logo svg #only-fonts{
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.86,0,.07,1);
  transition-delay: 0s;
}
.header .logo svg .s0{
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(.86,0,.07,1);
  transition-delay: 0.4s; 
}
.scrolling .header .logo svg #only-fonts{
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(.86,0,.07,1);
  transition-delay: 0.4s;
}
.scrolling .header .logo svg .s0{
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.86,0,.07,1);
  transition-delay: 0s;
}

.header.h-home .logo svg{ fill: var(--color-text); }

/* Header menu list */
.header ul{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.header ul li{
  float: left;
  padding: 1rem;
}
.header ul li a{ color: var(--color-text); }
.dark .header ul li a{ color: var(--color-text); }

/* =========================================================
   9) THEME TOGGLE
========================================================= */
#theme-toggle {
  background: transparent;
  border: none;
  padding: 1rem 1rem 0 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  outline: none;
  position: fixed;
  left: calc(100% - 14rem - 62px);
  z-index: 101;
  margin: 2.5rem 0 0 0;
}
#theme-toggle .icon-theme {
  display: none;
  width: 62px;
  height: auto;
}
#theme-toggle[data-theme="light"] .icon-theme-dark { display: block; }
#theme-toggle[data-theme="dark"] .icon-theme-light { display: block; }

/* =========================================================
   10) MENU / HAMBURGER / OFFCANVAS
========================================================= */
.menu1 {
  position: fixed;
  right: 0;
  /* width: 122px; */
  width: 0; /*Per evitare sovrapposizioni*/
  z-index: 93;
  overflow-x: hidden;
  min-height: 100vh;
  height: 100%;
}
.menu1 a { padding: 1.5rem; }
.menu1 a[aria-current] { text-decoration: underline; }

.scrolling .menu1{ background-color: rgba(255,255,255,0.4); }
.scrolling .menu1:hover{
  background-color: rgba(255,255,255,1);
  transition: 0.2s ease-in-out;
}

/* Box menu content */
.box-menu {
  margin: 0 auto 0 auto;
  margin-top: 4rem !important;
  margin-bottom: 1rem !important;
  display: none;
  height: calc(100% - 5rem);
  overflow: auto !important;
}
.box-menu .pure-g{ width: 100%; }
.box-menu ul{ margin: 0.5rem 0; padding: 0; }
.box-menu ul li{ margin-bottom: 2rem; }

.box-menu a{
  color: var(--color-text);
  margin: 0;
  padding: 0;
  display: block;
}
/* Menu video */
.box-menu .menu-video figure{
  margin-bottom: 0;
  max-width: 480px;
}
.box-menu .menu-video video{ border-radius: 0.8rem; }

.box-menu .menu-video-button{
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
}
.box-menu .menu-video-button a{
  color: var(--color-text);
  padding: 0.1rem 0.6rem;
}
.box-menu .block-type-video{
  position: relative;
  float: left;
}

.dark .box-menu ul li a{ color: var(--color-text); }

.box-menu p{
  color: var(--color-text);
  line-height: 1.4;
  font-size: 1rem;
  letter-spacing: -0.01rem;
}
.box-menu h5{
  margin-bottom: 0.1rem;
  margin-top: 1rem;
}
.box-menu .social .st0{ fill: var(--color-text) !important; }
.box-menu .center-vertical{ display: flex; justify-content: center; }

/* Square box menu items */
.square-box{
  /* aspect-ratio: 1 / 1; */
  border-radius: 0.8rem;
  padding: 2rem;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-text);
}
.square-box h4{
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
}
.square-box img{
  width: auto;
  float: right;
  min-width: 100px;
}

a.square-box:hover{
  background-color: var(--color-background-alt) !important;
  color: var(--color-text) !important;
  opacity: 1;
}
a.square-box img{
  filter: invert(0);
  transition: filter 0.3s;
}
a.square-box:hover img{ filter: invert(1); }

/* Hamburger container */
.container-hamburger {
  position: fixed;
  left: calc(100% - 6rem - 58px);
  width: auto;
  /* width: 58px; */
  z-index: 94;
}
.container-hamburger a { padding: 1.5rem; }
.container-hamburger a[aria-current] { text-decoration: underline; }

/* Open/close states */
.opened .box-menu {
  display: flex;
  align-items: center;
}

.opened{
  width: 100%;
  background-size: cover;
  transition: 0.6s cubic-bezier(.86,0,.07,1);
}
.closed { transition: 0.6s cubic-bezier(.86,0,.07,1); }
.hide{
  opacity: 0;
  transition: 0.6s cubic-bezier(.86,0,.07,1);
}
.show{
  opacity: 1;
  transition: 0.6s cubic-bezier(.86,0,.07,1);
}

/* Social icons */
.social {
  width: 100%;
  padding: 0 2rem;
  float: left;
  text-align: center;
}
.social a {
  display: inline-block;
  padding: 0 0.6rem;
}
.social a svg{ width: 32px; }

/* --- EFFETTI MENU --- */
#main-menu{ background-color: var(--color-background-alt); }

#main-menu .serif p{
  font-size: 1.3rem;
  position: relative;
  top: -3px;
}

#hamburger-button {
  margin: 0;
  display: block;
  float: left;
  position: relative;
  right: 0;
  z-index: 95;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  padding: 1rem 1rem 0 1rem;
  border-radius: 50%;
  transition: 0.5s cubic-bezier(.86,0,.07,1);
}
.scrolling #hamburger-button { transition: 0.5s cubic-bezier(.86,0,.07,1); }

#hamburger-button a { transition: color 0.3s ease; }

#hamburger-button span{
  display: block;
  width: 56px;
  height: 10px;
  margin-bottom: 7px;
  margin-top: 1px;
  position: relative;
  background: var(--color-text);
  border-radius: 0;
  z-index: 96;
  transform-origin: 0;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#hamburger-button:hover span{ opacity: 0.7; }
#hamburger-button span:last-child { margin-bottom: 0; }

.closed #hamburger-button span:first-child { transform-origin: 0% 0%; }

.opened #hamburger-button  span {
  opacity: 1;
  transform: rotate(45deg) translate(-19px, -32px);
  background: var(--color-red);
}
.opened #hamburger-button  span:nth-last-child(2) {
  transform: rotate(-45deg) translate(-8px, 21px);
}
.opened #hamburger-button  span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.dark #hamburger-button { border: 2px solid var(--color-background-alt); }
.dark #hamburger-button span{ background: var(--color-text); }

.menu-button {
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
.menu-button li {
  padding: 10px 0;
  font-size: 22px;
}

.menu-text{
  position: absolute;
  padding: 0 1rem;
  margin-top: calc(2.75rem + 65px);
  width: 88px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}
.switch-text{
  position: absolute;
  padding: 0 1rem;
  margin-top: calc(3.75rem + 16px);
  width: 88px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}
.opened .menu-text{ opacity: 0; }

.right-menu .menu-element:hover {
  background-color: var(--hover-bg-color);
  opacity: 1;
  color: var(--color-text);
}
.box-menu ul.languages{ float: left; }
.box-menu ul.languages li{
  float: left;
  margin-left: 0;
  margin-right: 1rem;
}
.box-menu ul.languages li::after {
  content: '|';
  margin-left: 1rem;
}
.box-menu ul.languages li:last-child::after { content: ''; margin: 0; }
.box-menu ul.languages li a{ float: left; }
.box-menu ul.languages li.active a{ color: var(--color-text); }

.languages{
  float: left;
  margin-left: 1.5rem;
}
.languages li{
  float: left;
  margin-left: 0;
  margin-right: 1rem;
}
.languages li::after {
  content: '|';
  margin-left: 1rem;
}
.languages li:last-child::after { content: ''; margin: 0; }
.languages li a{ float: left; }
.languages li.active a{ color: var(--color-text); }

/* =========================================================
   11) TYPOGRAPHY / TEXT CONTENT
========================================================= */
.text { line-height: 1.5rem; }
.text a { text-decoration: underline; }

.text:first-child { margin-top: 0; }
.text:last-child { margin-bottom: 0; }

.text p,
.text ul,
.text ol { margin-bottom: 1.5rem; }

.text ul,
.text ol { margin-left: 1rem; }

.text ul p,
.text ol p { margin-bottom: 0; }

.text ul > li { list-style: disc; }
.text ol > li { list-style: decimal; }

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol { margin-bottom: 0; }

.text .codeblock { display: grid; }

.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-background-alt);
}

.text pre {
  margin: 3rem 0;
  background: var(--color-background-alt);
  color: var(--color-text);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.text hr { margin: 6rem 0; }

.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-background-alt);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure { margin: 3rem 0; }
.text figcaption {
  padding-top: .5rem;
  color: var(--color-text);
}

.caption{
  padding-left: 1rem;
  padding-top: 0.5rem;
  line-height: 1.5rem;
  font-style: italic;
  clear: both;
}

/* HR variants */
hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}
hr.v1 {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 100%;
  margin: 2rem auto;
  color: inherit;
}
hr.v2 {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 100%;
  margin: 1rem auto;
  color: inherit;
}

/* Text sizes */
.xl5{ font-weight: 400; font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; }
.xl4{ font-weight: 400; font-size: 1.8rem; line-height: 1.2; margin-bottom: 1rem; }
.xl3{ font-weight: 400; font-size: 1.7rem; line-height: 1.3; margin-bottom: 0.8rem; }
.xxl{ font-weight: 400; font-size: 1.6rem; line-height: 1.3; margin-bottom: 0.8rem; }
.xl{  font-weight: 400; font-size: 1.4rem; margin-bottom: 0.6rem; }
.lg{  font-weight: 400; font-size: 1.3rem; margin-bottom: 0.6rem; }
.md{  font-weight: 400; font-size: 1.2rem; margin-bottom: 0.6rem; }
.sm{  font-weight: 400; font-size: 1.1rem; margin-bottom: 0.5rem; }
.xs{  font-weight: 400; font-size: 1rem; margin-bottom: 0rem; }

.underline{ text-decoration: underline; }

/* =========================================================
   12) MEDIA HELPERS (IMG/VIDEO RATIO, EMBEDS)
========================================================= */
.video {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(var(--h) / var(--w) * 100%);
  overflow: hidden;
}

.img {
  position: relative;
  display: block;
  box-sizing: border-box;
  --w: 1;
  --h: 1;
  padding-bottom: calc(var(--h) / var(--w) * 100%);
  overflow: hidden;
  border-radius: 3rem;
}

.image-block .img {
  border: 1px solid var(--image-block-border-color);
}

/* Default crop */
.img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}

/* Contain mode */
.img[data-contain="true"] img { object-fit: contain; }

/* Ratio auto */
.img[data-ratio="auto"] {
  padding-bottom: unset;
  height: auto;
}
.img[data-ratio="auto"] img {
  position: relative;
  width: 100%;
  height: auto;
}

/* Video iframe */
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.img-caption,
.video-caption {
  padding-top: 0.5rem;
  line-height: 1.5rem;
  font-style: italic;
  clear: both;
}

/* Video background blocks */
.video-bg{
  padding-top: 0;
  padding-bottom: 0;
}

.video-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-wrapper video {
  object-fit: cover;
  width: 100%;
}

.video-home{ height: 100vh; }
.video-home div{ height: 100vh; }
.video-home div video{ height: 100vh; }

.embedded {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.embedded iframe {
  aspect-ratio: 16 / 9;
  width: 100% !important;
}
.video-wrapper figcaption { width: 100%; }

.gap-gallery{
  gap: 4rem;
  flex-flow: row;
}
.gallery__Image{
  border-radius: 3rem;
}
.related-good{
  border-radius: 3rem;
}

/* =========================================================
   13) HERO / START / INTRO
========================================================= */
.start{
  width: 100%;
  /* min-height: 100vh; */
  background-size: cover;
  background-position: center center;
}
.start .mini-video{ display: none; }
.start .mini-video video{ border-radius: 0.8rem; }

.start.only-text{
  min-height: auto;
  padding-top: 4rem;
}

h1{
  font-family: var(--font-family-serif);
}

#home h1{
  font-family: var(--font-family-sans);
}

.start .hero{
  position: absolute;
  width: 100%;
  top: 0;
  margin-top: 24vh;
  z-index: 90;
  /* pointer-events: none; */
}

.temp-home{
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 1rem 0;
}
.start h1{
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 1rem 0;
}
.start h2{
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 1rem 0;
}
.start p{
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 1rem 0;
}
.start h1 span{
  font-size: 1.6rem;
  font-weight: 400;
  font-family: var(--font-family-sans);
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}
.start .pure-g{ padding: 0; }

.intro-box h2{
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.intro-full-text{
  position: absolute;
  top: 8.3rem;
  z-index: 2;
  pointer-events: none;
}
.intro-full-text h1{
  font-size: 3.2rem;
  text-align: center;
  font-weight: 700;
}

.intro-over-text{
  position: absolute;
  bottom: 4rem;
  right: 0;
  z-index: 2;
  background-color: var(--color-background-alt);
  margin: 0rem;
  border-radius: 0.8rem;
}

.intro-over-text-configurator{
  position: relative;
  margin: 6rem 1.2rem 2.4rem 1.2rem;
  right: 0;
  z-index: 2;
  background-color: var(--color-text);
  border-radius: 0.8rem;
}

.single-image-conf{
  background-position: center;
  background-size: cover;
  min-height: 100vh;
}

.intro-only-text{
  margin-top: 28rem;
}

.intro-only-text h1{
  width: 100%;
  display: block;
  white-space: nowrap;
  line-height: .9;
  font-weight: 700;
  font-size: 800px; /* base alta */
  margin: 0;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.intro-small-text{
  margin-top: 12.3rem;
  padding: 2rem 1.2rem;
}
.intro-small-text h1{
  font-size: 3.2rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}
.intro-small-text h2{
  text-align: center;
  font-weight: 700;
}
.intro-small-text p{ text-align: center; }

.intro-small2-text{ padding: 1.2rem; }
.intro-small2-text h1{
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}
.intro-small2-text h2{ font-weight: 700; }

/* Subpages hover cover */
.subpages {
  background-color: var(--color-grey);
  border-radius: 0.8rem;
  position: relative;
  transition: background 0.5s ease-in-out, background-size 0.5s ease-in-out;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.subpages:hover {
  background-image: var(--cover-image);
  background-size: cover;
}
.subpages h1,
.subpages h2 { transition: opacity 0.3s ease-in-out; }
.subpages:hover h1,
.subpages:hover h2 { opacity: 0; }

/* =========================================================
   14) SIBLING / SMALL SLIDER CAPTION OVERLAY / RELATED
========================================================= */
.sibling {
  margin-top: 2rem;
  margin-bottom: 4rem;
}
.sibling .sibling-slide .sibling-box{
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius:  0 0 0.8rem 0.8rem;
  background-color: rgba(255,255,255, 0.7);
  transition: all 0.3s ease-in-out;
}
.sibling .sibling-slide:hover .sibling-box {
  background-color: rgba(255,255,255, 0);
  transition: all 0.3s ease-in-out;
}
.sibling .sibling-slide:hover .sibling-box *{
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.sibling .sibling-slide h3{ margin-bottom: 0; }

/* Small slider overlay */
.small-slider .image-container {
  position: relative;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  overflow: hidden;
}
.small-slider .image-overlay {
  border-radius: 0.8rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}
.small-slider .image-caption {
  position: absolute;
  color: #fff;
  padding: 2rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-product-card img {
  display: block;
  width: 100%;
  height: auto;
}

.related-products .related-product-text {
  float: left;
}

/* =========================================================
   15) SECTION ELEMENT / LAYOUT + SIDEBAR
========================================================= */
.section-element {
  display: flex;
  flex-direction: column;
}
.section-element .boxed{ width: 100%; }

.section-element ul{
  margin-bottom: 1rem;
  float: left;
  width: 100%;
}
.section-element ul li{
  list-style-type: disc;
  margin-left: 1.4rem;
  font-weight: 400;
  font-size: 1.2rem;
  /*float: left;*/
}
.section-element blockquote {
  font-size: 1.6rem;
  position: relative;
  padding: 2rem 3rem;
  background: var(--color-background);
  border-left: 4px solid var(--color-text);
  border-radius: 4px;
  float: left;
}
.section-element blockquote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: var(--color-text);
  font-family: serif;
}
.section-element blockquote::after {
  content: "”";
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 4rem;
  color: var(--color-text);
  font-family: serif;
}
.section-element blockquote footer {
  font-size: 1.2rem;
  margin-top: 1rem;
  text-align: right;
  font-style: italic;
}
.section-element .main-content{ width: 100%; }

.section-element .sidebar{
  width: 25%;
  height: auto;
  margin-top: 2rem;
  display: none;
}
.section-element .sidebar div {
  position: sticky;
  margin-left: 6rem;
  top: 10rem;
  height: calc(100vh - 12rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow-y: auto;
}
.section-element .sidebar ul {
  margin-top: 0;
  margin-bottom: 2rem;
  height: auto;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.section-element .sidebar ul li {
  list-style-type: none;
  font-weight: 700;
  font-size: 1.6rem;
  margin-left: 0;
  transition: transform 0.3s ease-in-out;
}
.section-element .sidebar ul li a{ transition: transform 0.3s ease-in-out; }
.section-element .sidebar ul li.active a{ transition: transform 0.3s ease-in-out; }

/* =========================================================
   16) FULL HEIGHT / TEXT BOX
========================================================= */
.full-h{
  width: 100%;
  height: 100vh;
  background-color: var(--color-text);
  color: var(--color-text);
  background-size: cover;
}
.full-h .pure-g div{ margin-top: 0; }

.text-box *{
  display: block;
  width: 100%;
}

/* =========================================================
   17) FOOTER
========================================================= */
.footer{
  margin-top: 4rem;
}
.footer .full{
  width: calc(100% - 0.6rem);
  padding: 0;
  margin: 2rem 0.3rem 6rem 0.3rem;
  border-radius: 2.2rem;
}
.footer .pure-g{
  position: relative;
  min-height: 640px;
}
.footer hr{ float: left; }
.footer .button2{
  float: left;
  width: 100%;
}

/* =========================================================
   18) CONTATTI + FORM CONTATTO
========================================================= */
.contatti{
  float: left;
  width: 100%;
  scroll-margin-top: 280px;
}

.form-contatto-2 .field-box{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.form-contatto-2 .field{
  width: 100%;
  margin-bottom: 2rem;
  float: left;
  box-sizing: border-box;
}
.form-contatto-2 .half{ width: 50%; }
.form-contatto-2 .last input{ border-left: 0 !important; }

.form-contatto-2 form label{
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0.4rem 0 0.2rem 0;
  float: left;
  display: none;
}
.form-contatto-2 .alert{
  color: var(--color-text);
  text-decoration: underline;
  margin-right: 0;
  font-size: 0.9rem;
}
.form-contatto-2 .error{
  color: var(--color-text);
  text-decoration: underline;
}

.form-contatto-2 form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-contatto-2 form input:not([type=submit]){
  width: 100%;
  padding: 1.2rem 2rem;
  border: 2px solid var(--color-grey);
  background-color: var(--color-background);
  transition: 0.35s;
  box-sizing: border-box;
  border-radius: 0.8rem;
  font-size: 1.2rem;
}

.form-contatto-2 form textarea{
  width: 100%;
  padding: 1.2rem 2rem;
  min-height: 200px;
  border: 2px solid var(--color-grey);
  background-color: var(--color-background);
  transition: 0.35s;
  box-sizing: border-box;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}

/* Camere radio */
.form-contatto-2 .camere {
  display : block;
  position: relative;
  margin: 0 0 1rem 0;
  width: 100%;
  max-height: 165px;
  overflow: hidden;
}
.form-contatto-2 .camere > input{
  position: absolute;
  left: 0;
  height: 100%;
  opacity: 0;
}
.form-contatto-2 .camere > input + div{
  cursor:pointer; 
  float: left;
  transition: 0.35s;
}
.form-contatto-2 .camere > input:hover + div{
  background-color: rgba(0,0,0,.05);
  transition: 0.35s;
}
.form-contatto-2 .camere > input:checked + div{
  background-color: rgba(0,0,0,.1);
  transition: 0.35s;
}
.form-contatto-2 .camere img{
  float: left;
  width: 50%;
}
.form-contatto-2 .camere h4{
  float: left;
  padding-top: 1rem;
  padding-left: 1rem;
  width: 50%;
  box-sizing: border-box;
  font-size: 1.3rem;
}
.form-contatto-2 .camere p{
  float: left;
  padding-left: 1rem;
  padding-top: 1rem;
  width: 50%;
  box-sizing: border-box;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-contatto-2 form input[type=submit]{
  font-family: var(--font-family-sans);
  letter-spacing: 0.01rem;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem;
  margin-bottom: 2rem;
  border: 0;
  color:  var(--color-text);
  background-color: var(--color-background-alt);
  cursor: pointer; 
  transition: 0.35s;
  box-sizing: border-box;
  bottom: 0;
  right: 0;
  width: 100%;
  border-radius: 0.8rem;
}
.form-contatto-2 form input[type=submit]:hover{ opacity: 0.7; }

.form-contatto-2 form input:focus,
.form-contatto-2 form textarea:focus {
  background-color: rgba(255,255,255,.3);
  outline: none;
}

/* Placeholders */
.form-contatto-2 form input::placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.form-contatto-2 form input:-ms-input-placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.form-contatto-2 form input::-ms-input-placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.form-contatto-2 form textarea::placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.form-contatto-2 form textarea:-ms-input-placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.form-contatto-2 form textarea::-ms-input-placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}

.success.form2 h3{ color: var(--color-text); }

/* =========================================================
   19) PRELOADER
========================================================= */
.preloader {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  background-color: var(--color-background-alt);
  z-index: 998;
}
.preloader svg{
  fill: var(--color-text);
  width: 280px;
  height: 280px;
}
.preloader span {
  display: inline;
  opacity: 0.8;
  animation: pulse 1s alternate infinite ease-in-out;
}
@keyframes pulse {
  to { opacity: 0.3; }
}
.preloader.hiddenthis {
  animation: fadeOut 1s;
  animation-fill-mode: forwards;
}
@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* =========================================================
   20) SWIPER / SLIDERS
========================================================= */
.swiper { width: 100%; }

.swiper-full-home{ height: 100vh; }
.swiper-full-home .swiper-slide{ height: 100vh; }

.single-image-home,
.no-image-home{
  background-position: center;
  background-size: cover;
  height: 100vh;
}

.swiper-full{ height: 100vh; }
.swiper-full .swiper-slide{
  margin-top: 24rem;
  height: calc(100vh - 24rem);
}

.swiper-full-2{ height: 100vh; }
.swiper-full-2 .swiper-slide{ height: 100vh; }

.single-image{
  background-position: center;
  background-size: cover;
  margin-top: 24rem;
  height: calc(100vh - 24rem);
}

.swiper-65{ height: 65vh; }
.single-image-65{ height: 65vh; }

.swiper-70{ height: 70vh; }
.single-image-70{ height: 70vh; }

.single-image-50{ height: 50vh; }
.single-image-footer{ height: 65vh; }

.single-video{
  background-position: center;
  background-size: cover;
  margin-top: 12.8rem;
}
.single-video .video-wrapper{
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
}
.video-slide .video-wrapper{
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
}

.swiper-slide{
  background-position: center;
  background-size: cover;
}

.swiper-slide-next,
.swiper-slide-prev{
  transition: 0.6s cubic-bezier(0.77,0.2,0.05,1.0);
}

/* Swiper 2 */
.swiper2{ height: 35vh; }
.swiper2 img{
  height: 100%;
  width: auto;
  border-radius: 0.8rem;
}
.swiper2 .swiper-slide{ width: auto; }

/* Swiper 3 */
.swiper3{ height: 35vh; }
.swiper3 img{
  height: 100%;
  width: auto;
  border-radius: 0.8rem;
}
.swiper3 .swiper-slide{ width: auto; }

.swiper3-nav {
  justify-content: flex-end;
  gap: 10px;
  padding-top: 0.23rem;
  display: none;
}
.swiper3-prev,
.swiper3-next {
  position: static;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  width: auto;
}
.swiper3-prev svg,
.swiper3-next svg {
  width: 56px;
  height: 56px;
  transition: transform 0.2s ease;
  border: 2px solid black;
  border-radius: 100%;
}
.swiper3-prev svg { transform: rotate(180deg); }
.swiper3-prev:hover svg,
.swiper3-next:hover svg { opacity: 0.6; }

.swiper3 .swiper-slide:first-child { margin-left: 2.5rem; }

/* =========================================================
   21) ACCORDION + FLEX HELPERS
========================================================= */
.accordion{ }
.accordion-button { cursor: pointer; }

.accordion-button i{
  position: relative;
  top: -1px;
  font-size: 1.2rem;
  display: inline-block;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}
.accordion-button i.rotate-90 {
  top: -3px;
  display: inline-block;
  transform-origin: center;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.accordion.close div{
  max-height: 0;
  transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
  opacity: 0;
  pointer-events: none;   
}
.accordion.open div{
  opacity: 1;
  max-height: 1600px;
  transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
}

/* Flex helpers */
.flex-center{
  display: flex;
  /* align-items: center; */
  justify-content: center;
  flex-direction: column;
}
.reverse{ flex-flow: column-reverse; }

.pure-g .flex-start{
  display: flex;
  justify-content: start;
  flex-direction: column;
}
.pure-g .flex-center{
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.pure-g .flex-end{
  display: flex;
  justify-content: end;
  flex-direction: column;
}

.pure-g .orizontal-start{
  display: flex;
  align-items: start;
  flex-direction: column;
}
.pure-g .orizontal-center{
  display: flex;
  align-items: center;
  flex-direction: column;
}
.pure-g .orizontal-end{
  display: flex;
  align-items: end;
  flex-direction: column;
}

/* Button accordion variant */
button.accordion {
  font-family: var(--font-family-sans);
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  font-size: 1.4rem;
  color: var(--color-light-blue);
  cursor: pointer;
  padding: 0.8rem 0;
  border-bottom: black 1px solid;
  transition: 0.3s cubic-bezier(.86,0,.07,1);
}
button.accordion div {
  float: left;
  transition: 0.3s cubic-bezier(.86,0,.07,1);
}
button.accordion:hover {
  background-color: var(--color-red);
  border-radius: 0.8rem;
  transition: 0.3s cubic-bezier(.86,0,.07,1);
  border-radius: 0;
}
button.accordion:after {
  font-family: "Font Awesome 5 Free";
  content: "\f067";
  float: right;
  font-weight: 700;
}
button.accordion.is-open:after {
  font-family: "Font Awesome 5 Free";
  content: '\f068';
  font-weight: 700;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s cubic-bezier(.86,0,.07,1);
  border-bottom: 2px solid var(--color-light-blue);
}
.accordion-content .accordion-image {
  mix-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-content .accordion-image img{ max-width: 300px; }

.accordion-content .accordion-text {
  width: 100%;
  float: left;
}
.accordion-content .accordion-text > *{ width: 100%; }

.accordion-content .accordion-text p{
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.accordion-row {
  float: left;
  margin-bottom: 1.2rem;
}
.accordion-content h3 a{ text-decoration: none; }

/* =========================================================
   22) BLOCKS: DOWNLOAD LIST + ANCHOR
========================================================= */
.blocks .download-list{
  float: left;
  width: 100%;
}
.blocks .download-list ul li{
  font-family: var(--font-family-sans);
  font-weight: 600;
  font-size: 2.2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-left: 0;
  list-style-type: none;
}
.blocks .download-list ul li:before{
  font-family: "Font Awesome 5 Free";
  content: "\f019";
  position: relative;
  top: 0rem;
  font-size: 2.5rem;
  margin-right: 1.6rem;
  float: left;
}
.blocks .download-list.text-white ul li:before{ color: var(--color-text); }
.blocks .download-list.text-dark ul li:before{ color: var(--color-text); }

.blocks .download-list ul li a{ float: left; width: auto; }

.blocks p{ margin-bottom: 1rem; }

.pure-g .btn-clear {
  clear: both;
  float: left;
  width: 100%;
  margin-bottom: 0;
}

.ancora { scroll-margin-top: 5rem; }

.border-img-block{
  border: 2px solid var(--color-text);
}

/* =========================================================
   23) CTA PRODUCTS (HOVER EXPAND)
========================================================= */
.cta-products {
  background-color: var(--color-light);
  padding: 2rem 0.5rem;
}

.cta-products > div {
  display: flex;
  width: 100%;
  position: relative;
}

/* Box base */
.product-box {
  flex: 1 1 50%;
  height: 480px;
  transition: all 0.4s ease, transform 0.4s ease;
  padding: 1rem;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  border-radius: 0.8rem;
  z-index: 0;
  background-size: cover;
  background-position: center;
  margin: 0.75rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.product-content {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product1:hover,
.product2:hover{
  background-color: var(--color-red);
  flex: 1 1 75%;
  z-index: 2;
  opacity: 1;
}

/* Reveal text */
.product-box p,
.product-box span {
  position: absolute;
  bottom: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
}
.product-box p { bottom: 4rem; }
.product-box span { bottom: 0; }

.product-box:hover p,
.product-box:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Push the other box */
.boxed-2:has(.product1:hover) .product2 { transform: translateX(20%); }
.boxed-2:has(.product2:hover) .product1 { transform: translateX(-20%); }

.product-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.4s ease;
  z-index: 1;
}
.product1::before,
.product2::before{ border-radius: 0.8rem; }

.product1:hover::before,
.product2:hover::before{ background-color: var(--color-red); }

.product-box:hover p,
.product-box:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  color: var(--color-text);
}

/* Title lift */
.product-box h3 {
  position: relative;
  z-index: 2;
  color: var(--color-text);
  transition: transform 0.4s ease;
}
.product-box:hover h3 { transform: translateY(-7rem); }

/* =========================================================
   24) SCROLL TO (BOUNCE)
========================================================= */
.scroll-to{
  position: absolute;
  bottom: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  z-index: 91;
}

.scroll-to {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  animation: bounceY 2s ease-in-out infinite;
}
.scroll-to span {
  color: var(--color-text);
  padding-bottom: 1rem;
  font-size: 1.2rem;
}
.scroll-to svg {
  transform: scale(1.2);
  transition: 0.4s cubic-bezier(.86,0,.07,1);
  stroke: var(--color-text);
}
.scroll-to:hover svg { transform: scale(1.6); }

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

#below{
  scroll-margin-top: 8rem;
  background-color: var(--color-background-alt);
}

/* =========================================================
   25) NEWSLETTER
========================================================= */
.newsletter{
  position: absolute;
  bottom: 7rem;
  left: 0;
  width: 100%;
}
.newsletter-form{ position: relative; }

.newsletter-form .error{
  position: absolute;
  bottom: -2rem;
  left: 0.8rem;
}
.newsletter-label{
  width: 100%;
  display: block;
  margin-left: 0.8rem;
}

.newsletter-submit{
  font-family: var(--font-family-sans);
  letter-spacing: 0.01rem;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.1rem 0.8rem;
  border: 0;
  color: var(--color-text);
  background-color: var(--color-background-alt);
  cursor: pointer;
  transition: 0.35s;
  box-sizing: border-box;
  border-radius: 0.5rem;
  position: absolute;
  right: 0.45rem;
  bottom: 0.37rem;
}
#newsletter_email{
  font-family: var(--font-family-sans);
  letter-spacing: 0.01rem;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 6rem 0.5rem 1rem;
  border: 0;
  color: var(--color-background-alt);
  background-color: var(--color-text);
  cursor: pointer;
  transition: 0.35s;
  box-sizing: border-box;
  border-radius: 0.8rem;
  width: 100%;
}

/* =========================================================
   26) CART + CHECKOUT (MINI CART, TABLES)
========================================================= */
.details-cart{
  background: transparent;
  border: none;
  padding: 1rem 1rem 0 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  outline: none;
  position: fixed;
  left: calc(100% - 18rem - 138px);
  z-index: 101;
  margin: 2.5rem 0 0 0;
}
.details-cart summary{
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}
.details-cart .cart-text-box{
  font-weight: 700;
  position: relative;
  top: -4px;
}
.dark .details-cart summary{ color: var(--color-background-alt); }

.link-cart {
  background: transparent;
  border: none;
  padding: 1rem 1rem 0 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  outline: none;
  position: fixed;
  left: calc(100% - 20rem - 242px);
  z-index: 101;
  margin: 3.5rem 0 0 0;
}
.link-cart .text{ display: none; }

.link-cart a{
  text-align: right;
  letter-spacing: 0.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  display: flex;
  gap: 0.4rem;
  margin-top: 0.15rem;
}
.link-cart a svg{ width: 25px; }
.dark .link-cart a{ color: var(--color-background-alt); }
.dark .link-cart summary{ color: var(--color-background-alt); }

.details-cart .text{ display: none; }

.details-cart.is-hidden { display: none !important; }

.details-cart > summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.details-cart > summary::-webkit-details-marker { display: none; }

.details-cart svg{
  width: 56px;
  fill: var(--color-text);
}
.dark .details-cart svg{
  width: 25px;
  fill: var(--color-background-alt);
  position: relative;
  top: 5px;
}

/* Mini cart dropdown */
.cart{
  background-color: var(--color-text);
  color: var(--color-background);
  padding: 0.82rem;
  right: 0;
  position: absolute;
  top: 4rem;
  border-radius: 0.8rem;
  max-width: calc(100vw - 1.6rem);
}
.cart a{
  /*color: var(--color-text); */
}

.cart th{
  padding: 0.2rem;
  text-align: left;
}
.cart tbody th{
  display: block;
  gap: 1rem;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}
.cart td{
  padding: 0.2rem;
  text-align: right;
}
.cart tfoot tr th{
  padding: 0.5rem 1rem;
  text-align: right;
}
.cart img{
  width: auto;
  display: none;
}

/* Invoice cart */
.cart-invoice{
  background-color: var(--color-text);
  color: var(--color-background-alt);
  padding: 1rem;
}
.cart-invoice a{ color: var(--color-background-alt); }
.cart-invoice th{
  padding: 0.5rem 1rem;
  text-align: left;
}
.cart-invoice tbody th{
  display: flex;
  gap: 1rem;
  align-items: center;
  white-space: nowrap;
}
.cart-invoice td{
  padding: 0.5rem 1rem;
  text-align: right;
}
.cart-invoice tfoot tr th{
  padding: 0.5rem 1rem;
  text-align: right;
}
.cart-invoice img{ width: auto; }

/* Checkout cart */
.checkout-cart {
  background-color: var(--color-background-alt);
  color: var(--color-text);
  padding: 0.8rem;
  border-radius: 0.8rem;
}
.checkout-cart table {
  width: 100%;
  table-layout: fixed;
}
.checkout-cart th:not(:first-child),
.checkout-cart td:not(:first-child) { width: auto; }

.checkout-cart th,
.checkout-cart td { word-break: break-word; }

.checkout-cart a { color: var(--color-text); }

.checkout-cart th {
  padding: 0.2rem;
  text-align: left;
}
.checkout-cart tbody th {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  min-width: 115px;
}
.checkout-cart tbody th img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: none;
}
.checkout-cart tbody tr strong {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.checkout-cart td { text-align: right; }
.checkout-cart tfoot tr th {
  padding: 0.5rem 1rem;
  text-align: right;
}
.checkout-cart img { width: auto; }

.cart-quantity select{
  width: 100%;
  font-size: 1.2rem;
  margin-top: 1.8rem;
  display: none;
}
.cart-quantity button span{ display: none; }

a.checkout-button{
  padding: 0.3rem 1.2rem;
  border-radius: 2rem;
  border: 2px solid var(--color-background);
  color: var(--color-text);
  background-color: var(--color-background);
}
a.checkout-button:hover{
  color: var(--color-background);
  opacity: 1;
}
.price-add-cart{
  display: flex;
  justify-content: center;
  align-items: center;
}
#buy-options{
  scroll-margin-top: 16rem;
}
.price{
  text-align: center;
}
.stack-m{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* License custom select */
.product-license{
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 30;
}

.product-license label{
  display: block;
  margin-bottom: 0.5rem;
}

.custom-select{
  position: relative;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 31;
}

.custom-select-native{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger{
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--color-text);
  border-radius: 0.8rem;
  background-color: var(--color-background-alt);
  color: var(--color-text);
  font-family: var(--font-family-sans);
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: left;
  transition: 0.2s ease-in-out;
  margin-bottom: 2rem;
}

.custom-select-trigger:hover{
  border-color: var(--color-red);
  background-color: var(--color-red);
  color: var(--color-text);
  opacity: 1;
}

.custom-select.is-open .custom-select-trigger{
  border-color: var(--color-red);
  border-radius: 0.8rem;
}

.custom-select-trigger-text{
  display: block;
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.custom-select-trigger-icon{
  position: relative;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  display: inline-block;
  transition: transform 0.2s ease-in-out;
  transform-origin: center center;
}

.custom-select-trigger-icon::before,
.custom-select-trigger-icon::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}

.custom-select-trigger-icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

.custom-select.is-open .custom-select-trigger-icon{
  transform: rotate(45deg);
}

.custom-select-dropdown{
  position: absolute;
  top: calc(100% - 1.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 100%;
  background: var(--color-background-alt);
  border: 2px solid var(--color-text);
  border-radius: 0.8rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 32;
}

.custom-select.is-open .custom-select-dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.custom-select-option{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  border: 0;
  border-bottom: 1px solid var(--color-grey);
  background: transparent;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.custom-select-option:last-child{
  border-bottom: 0;
}

.custom-select-option:hover{
  background-color: var(--color-red);
  color: var(--color-text);
  opacity: 1;
}

.custom-select-option.is-selected{
  background-color: var(--color-text);
  color: var(--color-background);
}

.custom-select-option-title{
  font-size: 1.2rem;
  line-height: 1.2;
}

.custom-select-option-description{
  font-size: 1rem;
  line-height: 1.2;
  opacity: 0.75;
}

.custom-select-option-price{
  font-size: 1rem;
  font-weight: 700;
}

.license-description{
  width: 100%;
  text-align: center;
}

.overflow-visible{
  overflow: visible;
}

.buy-options-wrap{
  position: relative;
  z-index: 20;
}

.related-products{
  position: relative;
  z-index: 1;
}


/* =========================================================
   27) CONFIGURATOR
========================================================= */
.main-conf{ margin: 2.5rem; }

.configurator{ flex-direction: column; }

.configurator button{
  float: right;
  font-weight: 700;
  background-color: var(--color-background-alt);
  color: var(--color-text);
  padding: 0.3rem 0.6rem;
  margin-top: 1rem;
  border-radius: 0.8rem;
  transition: 0.2s ease-in-out;
  letter-spacing: -0.04rem;
}
.configurator button:hover{
  background-color: var(--color-red);
  color: var(--color-text);
}
.configurator .conf{ padding: 1rem; }
.configurator .intro{ padding: 0 1rem; }

/* Product label */
.configurator .product-label{
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.8rem;
  cursor: pointer;
  margin-top: 1rem;
  color: white;
  background-size: cover;
  background-position: center;
  min-height: 80px;
  max-width: 640px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease, background-image 0.4s ease;
}

/* Hide input radio */
.configurator .product-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Dark overlay */
.configurator .product-label .image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Hover/checked overlay */
.configurator .product-label .hover-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--hover-bg);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.configurator .product-label__text {
  position: relative;
  z-index: 2;
}

.configurator .product-label .hover-text { display: none; }

.configurator .product-label:hover,
.configurator .product-label:has(input:checked) {
  background-image: none !important;
}

.configurator .product-label:hover .hover-overlay,
.configurator .product-label:has(input:checked) .hover-overlay {
  opacity: 1;
}

.configurator .product-label .default-text { font-weight: 700; }

/* Hover: show summary */
.configurator .product-label:hover .default-text { display: none; }
.configurator .product-label:hover .hover-text { display: inline; }

/* Checked: show title only */
.configurator .product-label:has(input:checked) .default-text { display: inline; }
.configurator .product-label:has(input:checked) .hover-text { display: none; }

/* Accessory label */
.configurator .accessory-label {
  color: var(--color-background-alt);
  background-image: none !important;
  border: 2px solid rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.configurator .accessory-label input { display: none; }

.configurator .accessory-label:hover {
  background-color: #eee;
  color: var(--color-background-alt);
}
.configurator .accessory-label:has(input:checked) {
  background-color: var(--color-grey);
  color: var(--color-background-alt);
}

.configurator .accessory-label .default-text { color: var(--color-background-alt); }

/* Summary accessory */
.configurator .accessory-label .hover-text { display: none; }
.configurator .accessory-label:hover .hover-text {
  display: inline;
  color: var(--color-background-alt);
}
.configurator .accessory-label:has(input:checked) .hover-text { display: none; }

/* Footer + step indicator */
.configurator .configurator-footer{
  background-color: var(--color-grey);
  float: left;
  width: 100%;
  border-radius: 0.8rem;
  margin-top: 1rem;
}

.configurator .step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}
.configurator .step-wrapper {
  display: flex;
  align-items: center;
}
.configurator .step {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--color-background-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  background-color: transparent;
  color: var(--color-background-alt);
  z-index: 1;
  position: relative;
}
.configurator .step.active {
  background-color: var(--color-background-alt);
  color: var(--color-text);
}
.configurator .step-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--color-background-alt);
  margin: 0 0.5rem;
  opacity: 0.2;
  width: 50px;
}

.configurator .product-total{
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 1rem;
}
.configurator .product-total span{
  float: right;
  font-weight: 700;
}
.configurator .product-total span:after{ content: ' €'; }

.configurator .product-total small{
  float: right;
  font-weight: 400;
  clear: both;
  position: relative;
  font-size: 0.9rem;
  top: -0.4rem;
}

.configurator .summary-box {
  background: var(--color-grey);
  padding: 1.2rem;
  border-radius: 0.8rem;
}

.configurator .button-back{
  float: left;
  font-weight: 700;
  padding: 0.3rem 0;
  margin-top: 1rem;
  border-radius: 0.8rem;
  transition: 0.2s ease-in-out;
  opacity: 0.3;
  letter-spacing: -0.04rem;
}
.configurator .button-back svg{
  transform: rotate(180deg);
  position: relative;
  top: 2px;
}
.configurator .button-configurator svg{
  position: relative;
  top: 2px;
}

.all-accessories > *{ float: left; }

/* =========================================================
   28) CHECKOUT FORM
========================================================= */
.checkout .field { margin-bottom: 0.6rem; }

.checkout .field label {
  display: block;
  font-weight: 700;
  margin-left: 1rem;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
.checkout .field label abbr { color: var(--color-grey); }

.checkout .field input[type="text"],
.checkout .field input[type="email"],
.checkout .field input[type="textarea"],
.checkout .field .StripeElement {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 2px solid var(--color-grey);
  background-color: var(--color-background);
  transition: 0.35s;
  box-sizing: border-box;
  border-radius: 0.8rem;
  font-size: 1.2rem;
}

.checkout .field[data-type="radio"],
.checkout .field[data-type="checkbox"] {
  display: flex;
  align-items: start;
}
.checkout .field[data-type="radio"] label,
.checkout .field[data-type="checkbox"] label { font-weight: 400; }

.checkout .field[data-type="radio"] input,
.checkout .field[data-type="checkbox"] input {
  height: 1.4rem;
  flex-shrink: 0;
}
.checkout .field[data-type="radio"] input:disabled + label,
.checkout .field[data-type="checkbox"] input:disabled + label {
  color: var(--color-grey);
}

.checkout .notice {
  background-color: var(--color-light);
  padding: 1rem;
  float: left;
  margin-top: 2rem;
}

.checkout .buy{
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  text-align: center;
  font-weight: 700;
  float: left;
  box-sizing: border-box;
  border-radius: 0.8rem;
  width: fit-content;
  border: 2px solid var(--color-text);
  color: var(--color-text);
  margin-top: 1rem;
}
.checkout .buy:hover {
  opacity: 1;
  border: 2px solid var(--color-red);
  background-color: var(--color-red);
  color: var(--color-text);
}

.checkout .warning{
  background-color: var(--color-red);
  color: var(--color-text);
  padding: 0.8rem;
  border-radius: 0.8rem;
  margin-top: 1rem;
  float: left;
}
.checkout .warning hr{
  width: 100%;
  color: var(--color-text);
  padding: 0;
  margin: 1.2rem 0;
}
.checkout .warning p{
  font-size: 1.2rem;
  color: var(--color-text);
  float: left;
}
.checkout .warning a{
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: underline;
  color: var(--color-text);
}
.checkout .warning small{
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--color-text);
  float: left;
}

.order{ padding-bottom: 2.5rem; }

.checkout-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.checkout-form .field { box-sizing: border-box; }

.checkout-form .field[data-width="1/1"] { flex: 0 0 100%; }
.checkout-form .field[data-width="1/2"] { flex: 0 0 100%; }
.checkout-form .field[data-width="1/3"] { flex: 0 0 calc(33.3333% - 0.6666rem); }
.checkout-form .field[data-width="2/3"] { flex: 0 0 calc(66.6666% - 0.3333rem); }
.checkout-form .field[data-width="4/12"] { flex: 0 0 calc(33.3333% - 0.6666rem); }

.checkout-form .payment-methods[data-width="1/1"] { flex: 0 0 100%; }
.checkout-form .payment-methods h2 { margin-bottom: 1rem; }



.checkout-form input::placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.checkout-form input:-ms-input-placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}
.checkout-form input::-ms-input-placeholder {
  color:var(--color-form);
  opacity: 0.8;
  font-size: 1.2rem;
  font-family: var(--font-family-sans);
}




.global-message{ color: var(--color-red); }

.order-done { margin-top: 3rem; }
.order-done-actions { margin-top: 2rem; }

.order-done-actions .button {
  margin-right: 1rem;
  background-color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: 0.8rem;
}
.order-done-actions .button:hover { opacity: 0.8; }

.help-box{ margin-left: 1rem; }

/* =========================================================
   29) HERO PHYSICS CANVAS
========================================================= */
#heroPhysics{
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 0;
  background: var(--color-background);
  overflow: hidden;
}
#heroPhysics canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================================================
   30) FONTS PAGE / FONT CARD
========================================================= */
.all-fonts{
  position: relative;
  background-color: var(--color-background-alt);
  z-index: 1;
}

.fonts-page{
  display: grid;
  gap: 6rem;
}

/* Card */
.font-card{ border-radius: var(--radius); }

/* Top bar */
.font-card__top{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.font-card__meta{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.font-card__family{
  opacity: 0.7;
  display: none;
}
.font-card__slider-label{ display: none; }

/* Slider */
.font-card__slider{
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.font-card__slider input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  width: 240px;
  height: 5px;
  border-radius: 0;
  background: var(--color-text);
}

.font-card__slider input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-text);
  border: 2px solid var(--color-text);
  cursor: pointer;
}
.font-card__slider input[type="range"]::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-text);
  border: 2px solid var(--color-text);
  cursor: pointer;
}
.font-card__slider input[type="range"]::-moz-range-track{
  height: 4px;
  border-radius: 999px;
  background: var(--color-text);
}

.font-card__preview{
  display: block;
  padding-top: 2rem;
  min-width: 0;
}
.font-card.is-one-col .font-card__flow{
  column-count: 1;
}
.font-card__flow {
  column-count: 2;
  column-gap: 2rem;
}
.font-card__line {
  margin: 0;
  font-size: var(--preview-size, 32px);
  line-height: 1.15;
}
/* Mobile */
@media (max-width: 700px){
  .font-card__slider input[type="range"]{
    width: 180px;
  }

  .font-card__flow{
    column-count: 1;
  }
}
.fonts-filters{
  display: flex;
  flex-direction: column;
  margin-bottom: 6rem;
}
.fonts-filters .fonts-filters__buttons{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.fonts-filters .filter-button.is-active {
  background-color: var(--color-text);
  color: var(--color-background);
  border: 2px solid var(--color-text);
}
.fonts-filters .filter-button {

  transition: all 0.2s ease;
}
.fonts-filters .filter-button:hover {
  background-color: var(--color-text);
  color: var(--color-background);
  border: 2px solid var(--color-text);
}

/* =========================================================
   31) FONT SPECIMEN / TESTERS + GLYPHS
========================================================= */
.font-specimen-section{
  margin-top: 8rem;
}
.font-specimen-section .font-tools{
  display:flex;
  flex-direction:column;
  gap:2rem;
}
.font-specimen-section .boxed-2{
  overflow: visible !important;
}
.font-specimen-section .pure-g{
  overflow: visible !important;
}

.font-specimen-section .font-tester-input{
  width: auto;
  border: 1px solid var(--color-text);
  border-radius: 3rem;
  color: var(--color-background);
  background: var(--color-text);
  padding: 0.6rem 1.8rem;
  font-size: 1.6rem;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.font-specimen-section .font-tester-input:not(.is-active){
  opacity: 1;
}

.font-specimen-section .font-tester-input:focus{
  opacity: 0.8;
}



.font-specimen-section .font-tools-row{
  display:flex;
  align-items:center;
}

.font-specimen-section .font-size{ flex:1; }

.font-specimen-section .font-tester-output{
  font-family:var(--demo-font, sans-serif);
  font-size:64px;
  line-height:1.05;
}

.font-specimen-section .font-glyphs-wrap{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items:start;
}

.font-specimen-section .font-glyph-preview{
  position: sticky;
  top: 200px;
  border:1px solid var(--color-text);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.font-specimen-section .font-metrics{
  display:flex;
  flex-direction:column;
  gap:0.5rem;
  margin-bottom:1rem;
  font-size:1rem;
}

.font-specimen-section .font-metric-row{
  display:flex;
  justify-content:space-between;
  gap:0.5rem;
  border-bottom:1px solid var(--color-text);
  padding-bottom:0.5rem;
}

.font-specimen-section .glyph-big{
  font-family:var(--demo-font, sans-serif);
  font-size:160px;
  line-height:1;
  text-align:center;
  padding:2rem 0;
}

.font-specimen-section .glyph-meta{
  margin-top:1rem;
  font-size:1rem;
  padding: 2rem;
}

.font-specimen-section .glyph-meta-row{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:0.5rem 0;
  border-top:1px solid var(--color-background);
}


.font-specimen-section .font-glyph-grid{
  display:grid;
  grid-template-columns:repeat(14, 1fr);
  gap:0;
  border-left:1px solid var(--color-text);
  border-top:1px solid var(--color-text);
}

.font-specimen-section .font-glyph{
  display:flex;
  align-items:center;
  justify-content:center;
  height:56px;
  border-right:1px solid var(--color-text);
  border-bottom:1px solid var(--color-text);
  font-family:var(--demo-font, sans-serif);
  font-size:1.8rem;
  user-select:none;
  cursor:default;
}

.font-specimen-section .font-glyph.is-active{
  background:var(--color-text);
  color:var(--color-background);
}

.font-specimen-section .font-glyph:hover{
  background: var(--color-text);
  color:var(--color-background);
}



@media (max-width: 1100px){
  .font-specimen-section .font-glyphs-wrap{ grid-template-columns: 1fr; }
  .font-specimen-section .font-glyph-preview{ position:relative; top:auto; }
  .font-specimen-section .font-glyph-grid{ grid-template-columns:repeat(12, 1fr); }
}

@media (max-width: 640px){
  .font-specimen-section .font-glyph-grid{ grid-template-columns:repeat(8, 1fr); }
  .font-specimen-section .glyph-big{ font-size:120px; }
}

/* nel tuo CSS globale .font-card__family è display:none;
   qui lo vogliamo visibile */
.font-specimen-section .font-card__family{
  display: block;
  opacity: .7;
}

/* nel tuo CSS globale .font-card__slider-label è display:none;
   qui lo vogliamo visibile */
.font-specimen-section .font-card__slider-label{
  display: inline;
}

/* allinea meglio con il tuo layout, senza rompere il resto */
.font-specimen-section .font-card__slider{
  gap: 1.2rem;
}


.font-specimen-section .glyph-svg{
  width: 100%;
  /*height: 240px;   */
  display: block;
}


.font-specimen-section .mline{
  stroke: var(--color-text);
  stroke-width: 1;
  opacity: .3;
}

.font-specimen-section .m-base{ opacity: .8; } /* baseline più evidente */

.font-specimen-section .glyph-text{
  font-family: var(--demo-font, sans-serif);
  font-size: 180px;      /* dimensione del glifo nella preview */
  line-height: 1;
  fill: var(--color-text);
  dominant-baseline: alphabetic;
}
.font-specimen-section .mline-label{
  fill: var(--color-text);
  opacity: 1;
  font-size: 0.7rem;
  font-family: var(--font-family-sans);
  dominant-baseline: text-top;
  pointer-events: none;
  letter-spacing: 0.01rem;
  text-transform: lowercase;
}
.font-glyph-lists .glyph-section{
  margin-top: 2rem;
}
.font-glyph-lists .glyph-section:first-child{
  margin-top: 0;
}