/*
 * CSO v38 — Identità visiva unificata / concept NON approvato.
 * Riferimenti metodologici: gerarchia Apple, chiarezza editoriale Tiffany,
 * tradizione orafa italiana. Nessun marchio, colore distintivo o asset copiato.
 *
 * Limitato alle pagine pubbliche (non .cso-b2b-shell).
 * Conserva l'asset del logo, la fotografia editoriale v37, contenuti,
 * struttura, Cookie/OAM e tutte le funzionalità.
 */
body.cso-soft:not(.cso-b2b-shell){
  --paper:#ffffff;
  --soft:#faf9f7;
  --white:#ffffff;
  --ink:#20272b;
  --muted:#4e5a62;
  --line:#e8e5df;
  --gold:#a28c65;
  --gold-text:#645234;
  --cso-visual-canvas:#fbfaf8;
  --cso-visual-outline:#e9e5df;
  --cso-visual-gold:#9a7b45;
  --cso-visual-charcoal:#222b30;
  --cso-visual-radius:22px;
  color:var(--ink);
  background:#fff;
}
body.cso-soft:not(.cso-b2b-shell) :is(h1,h2,h3){
  font-kerning:normal;
  letter-spacing:-.021em;
}
body.cso-soft:not(.cso-b2b-shell) :is(.hero-copy h1,.cso-page-hero h1){
  line-height:1.07;
  font-weight:500;
  color:#20272b;
}
body.cso-soft:not(.cso-b2b-shell) :is(.eyebrow,.cso-home-dealers__eyebrow){
  color:#735d3a;
  letter-spacing:.15em;
  font-size:11px;
  line-height:1.6;
  font-weight:700;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .hero-description,.cso-page-intro,.about-copy p,.cso-home-services__intro
){
  color:#4a5760;
  line-height:1.75;
}
body.cso-soft:not(.cso-b2b-shell) .cso-breadcrumb{
  color:#607078;
  font-size:11px;
  letter-spacing:.01em;
}
body.cso-soft:not(.cso-b2b-shell) .cso-breadcrumb a{
  text-decoration-color:#a4adaf;
  text-underline-offset:5px;
}
body.cso-soft:not(.cso-b2b-shell) .site-header{
  border-bottom:1px solid rgba(148,138,119,.13);
}
body.cso-soft:not(.cso-b2b-shell) .cso-header-wrapper.cso-is-scrolled{
  box-shadow:0 16px 35px -31px rgba(29,36,40,.32);
}
body.cso-soft:not(.cso-b2b-shell) .desktop-nav a:not(.button):hover,
body.cso-soft:not(.cso-b2b-shell) .desktop-nav a[aria-current="page"]:not(.button){
  color:#795e34;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .button,.cso-home-action,.cso-home-dealers__button,.cso-wa-button
){
  border-radius:14px;
  min-height:46px;
  font-size:13px;
  font-weight:650;
  letter-spacing:.002em;
  box-shadow:none;
}
body.cso-soft:not(.cso-b2b-shell) :is(.button-dark,.cso-home-action--dark){
  background:#222a30;
  border-color:#222a30;
  color:#fff;
}
body.cso-soft:not(.cso-b2b-shell) :is(.button-dark,.cso-home-action--dark):hover{
  background:#3b4449;
  border-color:#3b4449;
}
body.cso-soft:not(.cso-b2b-shell) .button-outline{
  background:rgba(255,255,255,.92);
  border-color:#c8c4bb;
  color:#263039;
}
body.cso-soft:not(.cso-b2b-shell) .button-outline:hover{
  background:#f4f1eb;
  border-color:#ada087;
  color:#20272b;
}
body.cso-soft:not(.cso-b2b-shell) .retailer-link{
  border-radius:999px;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .button,.text-link,.cso-home-action,.cso-home-dealers__button,
  .cso-home-dealers__link,.cso-wa-button
):focus-visible{
  outline:3px solid #947747;
  outline-offset:4px;
}
body.cso-soft:not(.cso-b2b-shell) .text-link{
  border-bottom:1px solid #a68c60;
  font-weight:650;
  color:#28343b;
  min-height:32px;
  align-items:center;
}
body.cso-soft:not(.cso-b2b-shell) .text-link:hover{color:#735c37}
body.cso-soft:not(.cso-b2b-shell) .section-space{
  padding-block:clamp(56px,5.4vw,90px);
}
body.cso-soft:not(.cso-b2b-shell) .section-heading{
  gap:clamp(18px,3vw,38px);
}
body.cso-soft:not(.cso-b2b-shell) .section-heading h2{
  max-width:790px;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .cso-home-priority,.cso-home-line,.cso-home-service,
  .cso-home-dealers__panel,.cso-home-feature__panel,
  .cso-wa-panel
){
  border-radius:var(--cso-visual-radius);
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .cso-home-priority,.cso-home-line,.cso-home-service
){
  overflow:hidden;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .cso-home-line,.cso-home-service
){
  border:1px solid rgba(152,145,131,.12);
  background:#fff;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .cso-home-line,.cso-home-service,.cso-home-priority
):hover{
  border-color:rgba(155,134,97,.23);
}
body.cso-soft:not(.cso-b2b-shell) .cso-home-dealers{
  background:linear-gradient(175deg,#fff 0%,#f8f7f4 100%);
}
body.cso-soft:not(.cso-b2b-shell) .cso-home-highlights{
  background:linear-gradient(180deg,#f9f8f6 0%,#fff 100%);
}
body.cso-soft:not(.cso-b2b-shell) .cso-home-collections{
  background:linear-gradient(155deg,#fff 15%,#f8f7f4 100%);
}
body.cso-soft:not(.cso-b2b-shell) .cso-home-dealers__panel{
  box-shadow:0 26px 68px -57px rgba(31,39,43,.33);
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .cso-home-feature__panel,.cso-home-dealers__features
){
  background-image:linear-gradient(125deg,#20272d 0%,#2f3942 100%);
}
body.cso-soft:not(.cso-b2b-shell) .cso-oam-notice{
  border-block-color:#3a454b;
}
body.cso-soft:not(.cso-b2b-shell) .cso-oam-notice .eyebrow{
  color:#d3c2a0;
}
body.cso-soft:not(.cso-b2b-shell) :is(
  .cso-page-panel,.cso-home-service,.cso-home-line,
  .cso-dealer-path,.cso-reviews__card
){
  text-wrap:pretty;
}
body.cso-soft:not(.cso-b2b-shell) .cso-line-card h2{
  line-height:1.16;
  margin-top:8px;
}
body.cso-soft:not(.cso-b2b-shell) .cso-line-card h2 a:hover{
  text-decoration:underline;
  text-decoration-color:#a48b5f;
  text-underline-offset:5px;
}
body.cso-soft:not(.cso-b2b-shell) .cso-line-card__image{
  box-shadow:none;
}
body.cso-soft:not(.cso-b2b-shell) .cso-line-card__image > .cso-photo{
  box-shadow:none;
}
body.cso-soft:not(.cso-b2b-shell) .site-footer{
  border-top-color:rgba(160,151,135,.22);
}
body.cso-soft:not(.cso-b2b-shell) .site-footer a:focus-visible{
  outline:2px solid #987b4d;outline-offset:4px;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.cso-soft:not(.cso-b2b-shell) :is(
    .cso-home-line,.cso-home-service,.cso-home-priority
  ){
    transition:box-shadow .34s ease, border-color .34s ease, transform .34s cubic-bezier(.2,.7,.2,1);
  }
  body.cso-soft:not(.cso-b2b-shell) :is(
    .cso-home-line,.cso-home-service,.cso-home-priority
  ):hover{
    transform:translateY(-2px);
    box-shadow:0 18px 35px -30px rgba(29,36,40,.3);
  }
}
@media(max-width:850px){
  body.cso-soft:not(.cso-b2b-shell) .section-space{
    padding-block:54px;
  }
  body.cso-soft:not(.cso-b2b-shell) .section-heading{
    gap:16px;
    flex-wrap:wrap;
  }
}
@media(max-width:600px){
  body.cso-soft:not(.cso-b2b-shell) .section-space{
    padding-block:45px;
  }
  body.cso-soft:not(.cso-b2b-shell) .eyebrow{
    letter-spacing:.115em;
    font-size:10px;
  }
  body.cso-soft:not(.cso-b2b-shell) .cso-home-line,
  body.cso-soft:not(.cso-b2b-shell) .cso-home-service{
    border-radius:19px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.cso-soft:not(.cso-b2b-shell) :is(
    .cso-home-line,.cso-home-service,.cso-home-priority
  ){animation:none!important;transition:none!important;transform:none!important}
}


/* CSO v40 — Ritmo e proporzioni: correzioni mirate al layout approvando
 * in anteprima. Nessun testo, asset o flusso applicativo viene modificato.
 * La prima correzione è lo spazio tra le CTA della home e i 150 negozi:
 * la vecchia min-height, il padding inferiore e il margine si sommavano. */
body.cso-soft.template-index .hero.cso-hero-blend{
  padding-top:clamp(21px,2.1vw,32px);
}
@media(min-width:851px){
  body.cso-soft.template-index .hero.cso-hero-blend .hero-grid{
    min-height:0;
    padding-top:clamp(21px,2.4vw,34px);
    padding-bottom:clamp(12px,1.3vw,18px);
  }
  body.cso-soft.template-index .hero.cso-hero-blend .network-strip{
    margin-top:clamp(9px,1vw,15px);
    padding-block:clamp(20px,2.1vw,28px) clamp(22px,2.4vw,32px);
  }
  /* Le aperture delle pagine interne restano fotografiche, ma non sono
     obbligate a conservare mezzo schermo vuoto sotto il testo. */
  body.cso-soft:not(.cso-b2b-shell) .cso-page-hero.cso-hero-blend
  .cso-page-hero__grid{
    min-height:clamp(390px,32vw,472px);
    padding-top:clamp(30px,3.5vw,51px);
    padding-bottom:clamp(37px,3.9vw,55px);
  }
  body.cso-soft:not(.cso-b2b-shell) .cso-page-hero.cso-choice-hero.cso-hero-blend
  .cso-page-hero__grid--text,
  body.cso-soft.cso-collections-page .cso-page-hero.cso-collections-hero.cso-hero-blend
  .cso-page-hero__grid--text{
    min-height:clamp(410px,33vw,485px);
  }
}
body.cso-soft.template-index .hero.cso-hero-blend .network-strip{
  gap:clamp(26px,4.3vw,62px);
}
body.cso-soft:not(.cso-b2b-shell) .section-space{
  padding-block:clamp(47px,4.6vw,72px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-panels.section-space{
  padding-block:clamp(44px,4.4vw,68px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-gallery.section-space{
  padding-block:clamp(36px,4.1vw,60px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-cta.section-space{
  padding-block:clamp(43px,4.5vw,66px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-section-title{
  margin-bottom:clamp(25px,2.8vw,35px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-panels__grid{
  gap:clamp(24px,3.3vw,38px) clamp(24px,4.3vw,56px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-hero{
  padding-top:clamp(22px,2.1vw,30px);
  padding-bottom:clamp(34px,3vw,46px);
}
body.cso-soft:not(.cso-b2b-shell) .cso-page-hero .cso-breadcrumb{
  margin-bottom:clamp(24px,2.9vw,36px);
}
body.cso-soft.template-index .cso-home-dealers{
  padding-block:clamp(28px,3.3vw,49px) clamp(38px,4.2vw,65px);
}
body.cso-soft.template-index .cso-home-highlights{
  padding-block:clamp(29px,3.2vw,46px) clamp(34px,3.6vw,53px);
}
body.cso-soft.template-index .cso-home-services{
  padding-block:clamp(23px,2.5vw,39px) clamp(46px,4.4vw,69px);
}
body.cso-soft.template-index .cso-home-collections{
  padding-block:clamp(38px,4.1vw,62px) clamp(43px,4.5vw,67px);
}
body.cso-soft.template-index .cso-home-about{
  padding-block:clamp(42px,4vw,60px) clamp(35px,3.4vw,52px);
}

/* Logo HOME, non il logo interno della testata:
 * una comparsa morbida e un disegno luminoso sopra le linee già presenti.
 * Il logo PNG incorporato nello SVG resta entro i 357px nativi, senza zoom
 * che accentuino la sgranatura. Nessun loop, nessuna libreria esterna. */
body.cso-soft.template-index .cso-brand-stage__logo{
  width:min(357px,78vw);
  max-width:357px;
  height:auto;
  image-rendering:auto;
}
@media(prefers-reduced-motion:no-preference){
  html.cso-logo-entry body.cso-soft.template-index[data-motion="true"]
  .cso-brand-stage__inner{
    animation:cso-v40-brand-arrive 1050ms cubic-bezier(.16,1,.3,1) 1130ms both;
  }
  @media(hover:hover) and (pointer:fine){
    body.cso-soft.template-index .cso-brand-stage__home .cso-brand-stage__logo{
      transition:filter .45s ease;
    }
    body.cso-soft.template-index .cso-brand-stage__home:hover .cso-brand-stage__logo{
      filter:drop-shadow(0 8px 9px rgba(133,108,62,.16));
    }
  }
}
@keyframes cso-v40-brand-arrive{
  0%{opacity:0;transform:translate3d(0,12px,0)}
  70%{opacity:1}
  100%{opacity:1;transform:none}
}
@media(max-width:850px){
  body.cso-soft:not(.cso-b2b-shell) .section-space{
    padding-block:clamp(39px,5.8vw,54px);
  }
  body.cso-soft.template-index .hero.cso-hero-blend .hero-grid{
    padding-bottom:266px;
  }
  body.cso-soft.template-index .hero.cso-hero-blend .hero-figure{
    height:262px;
  }
  body.cso-soft.template-index .hero.cso-hero-blend .network-strip{
    margin-top:12px;
    padding-block:24px 27px;
  }
  body.cso-soft:not(.cso-b2b-shell) .cso-page-hero{
    padding-bottom:33px;
  }
}
@media(max-width:600px){
  body.cso-soft:not(.cso-b2b-shell) .section-space{
    padding-block:clamp(35px,9vw,45px);
  }
  body.cso-soft.template-index .hero.cso-hero-blend .hero-grid{
    padding-bottom:225px;
  }
  body.cso-soft.template-index .hero.cso-hero-blend .hero-figure{
    height:221px;
  }
  body.cso-soft.template-index .hero.cso-hero-blend .network-strip{
    margin-top:8px;
    gap:13px;
    padding-block:21px 24px;
  }
  body.cso-soft.template-index .cso-home-dealers{
    padding-block:20px 35px;
  }
  body.cso-soft.template-index .cso-home-services{
    padding-block:17px 44px;
  }
  body.cso-soft.template-index .cso-home-collections{
    padding-block:35px 44px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.cso-soft.template-index .cso-brand-stage__inner,
  body.cso-soft.template-index .cso-brand-stage::before,
  body.cso-soft.template-index .cso-brand-stage::after,
  body.cso-soft.template-index .cso-brand-stage__logo{
    animation:none!important;transition:none!important;transform:none!important;
  }
}


/* CSO v40 / firma animata permanente SOLO nel logo grande della HOME.
   Logo immobile e nitido: a muoversi sono esclusivamente due tratti metallici
   lievi attorno al marchio (argento freddo e oro antico), senza scintille,
   rotazioni continue, blur pulsante o librerie JS. */
body.cso-soft.template-index .cso-brand-stage__home {
  position:relative;
  isolation:isolate;
  overflow:visible;
  z-index:1;
}
body.cso-soft.template-index .cso-brand-stage__home .cso-brand-stage__logo {
  position:relative;
  z-index:2;
  display:block;
}
body.cso-soft.template-index .cso-brand-stage__home::before,
body.cso-soft.template-index .cso-brand-stage__home::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  border-radius:50%;
  inset:10% -6% 12%;
}
body.cso-soft.template-index .cso-brand-stage__home::before {
  background:
    radial-gradient(ellipse 36% 70% at 18% 49%,rgba(164,130,75,.13),transparent 88%),
    radial-gradient(ellipse 34% 78% at 83% 52%,rgba(164,180,192,.17),transparent 90%);
  opacity:.55;
}
body.cso-soft.template-index .cso-brand-stage__home::after {
  inset:4% -7% 8%;
  border-top:1px solid rgba(177,153,110,.21);
  border-bottom:1px solid rgba(166,181,191,.20);
  border-left:1px solid rgba(166,181,191,.05);
  border-right:1px solid rgba(177,153,110,.05);
  opacity:.47;
}
@media(prefers-reduced-motion:no-preference){
  body.cso-soft.template-index[data-motion="true"] .cso-brand-stage__home::before {
    animation:cso-v40-metallic-breath 13s ease-in-out 1.3s infinite alternate;
  }
  body.cso-soft.template-index[data-motion="true"] .cso-brand-stage__home::after {
    animation:cso-v40-metallic-arc 17s ease-in-out 2.2s infinite alternate;
  }
}
@keyframes cso-v40-metallic-breath {
  0%,100%{opacity:.4;transform:translate3d(-5px,0,0)}
  50%{opacity:.72;transform:translate3d(5px,0,0)}
}
@keyframes cso-v40-metallic-arc {
  0%,100%{opacity:.28;transform:scale(.985)}
  50%{opacity:.59;transform:scale(1.025)}
}
@media(prefers-reduced-motion:reduce){
  body.cso-soft.template-index .cso-brand-stage__home::before,
  body.cso-soft.template-index .cso-brand-stage__home::after{
    animation:none!important;transform:none!important;
  }
}


/* CSO v40 — raccordo sfumato fra logo e home, senza cornici o stacchi.
   La fascia superiore parte dal bianco della navigazione, sfuma in
   avorio neutro e la hero RIPRENDE ESATTAMENTE il medesimo colore,
   tornando al bianco prima del contenuto successivo.
   La luce oro/argento è diffusa, senza linee orizzontali di separazione. */
body.cso-soft.template-index .cso-header-wrapper {
  border-bottom:0!important;
  box-shadow:none;
}
body.cso-soft.template-index .cso-header-wrapper .site-header {
  border-bottom:0!important;
}
body.cso-soft.template-index .cso-brand-stage {
  border:0!important;
  outline:0;
  box-shadow:none!important;
  background:
    radial-gradient(ellipse 54% 37% at 49% 48%,
      rgba(178,150,104,.085) 0%, transparent 92%),
    radial-gradient(ellipse 50% 35% at 56% 54%,
      rgba(164,181,195,.075) 0%, transparent 92%),
    linear-gradient(180deg,
      #fff 0%, #fdfcfb 42%, #faf9f7 100%);
}
body.cso-soft.template-index .cso-brand-stage::before,
body.cso-soft.template-index .cso-brand-stage::after {
  content:none!important;
  display:none!important;
  animation:none!important;
}
body.cso-soft.template-index .hero.cso-hero-blend {
  background:
    radial-gradient(ellipse 60% 28% at 82% 43%,
      rgba(174,194,207,.24) 0%, transparent 92%),
    radial-gradient(ellipse 53% 25% at 18% 37%,
      rgba(179,153,110,.065) 0%, transparent 92%),
    linear-gradient(180deg,
      #faf9f7 0%, #fafbfc 30%, #fff 100%);
}
/* Anche il segno metallico vivo attorno al logo è una luce diffusa:
   eliminati gli archi che ricordavano una doppia cornice geometrica. */
body.cso-soft.template-index .cso-brand-stage__home::after {
  border:0!important;
  background:
    radial-gradient(ellipse 32% 61% at 17% 45%,
      rgba(166,179,190,.11) 0%,transparent 91%),
    radial-gradient(ellipse 31% 57% at 82% 50%,
      rgba(174,144,94,.11) 0%,transparent 91%);
  inset:2% -8% 7%;
}
/* Il tratto orizzontale dell'introduzione precedente viene rimosso:
   resta il marchio e la luce soffusa, senza barre decorative nette. */
body.cso-soft.template-index .cso-brand-intro__line {
  display:none!important;
}
/* Il margine fra le due aree è cromatico, non una linea o un blocco. */
body.cso-soft.template-index .cso-brand-stage + #shopify-section-hero {
  margin-top:0;
  padding-top:0;
}
@media(max-width:600px) {
  body.cso-soft.template-index .cso-brand-stage {
    background:
      radial-gradient(ellipse 80% 32% at 50% 47%,
        rgba(178,150,104,.065),transparent 92%),
      linear-gradient(180deg,#fff 0%,#fdfcfb 45%,#faf9f7 100%);
  }
  body.cso-soft.template-index .hero.cso-hero-blend {
    background:
      radial-gradient(ellipse 85% 28% at 89% 42%,
        rgba(174,194,207,.17),transparent 92%),
      linear-gradient(180deg,#faf9f7 0%,#fff 100%);
  }
}
@media(prefers-reduced-motion:reduce) {
  body.cso-soft.template-index .cso-brand-stage__home::after {
    animation:none!important;
    transform:none!important;
  }
}
