
/* =========================================================
   BIOWOOD MOBILE RESPONSIVE OVERRIDE
   Layer aggiuntivo: non rinomina immagini/assets e non sostituisce
   i CSS esistenti. Serve a rendere realmente usabile il sito su mobile.
   ========================================================= */

.bw-mobile-menu-toggle{
  display:none;
}

@media (max-width: 767px){
  html, body{
    max-width:100%;
    overflow-x:hidden;
  }

  body.bw-redesign{
    -webkit-text-size-adjust:100%;
  }

  .bw-redesign img,
  .bw-redesign video,
  .bw-redesign iframe{
    max-width:100%!important;
  }

  .bw-top-strip{
    padding:.65rem .9rem!important;
  }

  .bw-top-strip__inner{
    width:100%!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:.5rem!important;
    font-size:.72rem!important;
    line-height:1.35!important;
  }

  .bw-top-strip__pill{
    width:100%;
    max-width:320px;
    text-align:center;
  }

  .bw-redesign .bio-header > div{
    width:100%!important;
    max-width:100%!important;
    padding:.95rem .9rem!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:.75rem!important;
    min-height:auto!important;
  }

  .bw-redesign .bio-header .flex.flex-wrap.sm\:flex-nowrap.w-full.md\:w-auto.items-center,
  .bw-redesign .bio-header .w-full.sm\:w-auto{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .bw-redesign .bio-header img[src*="logo"],
  .bw-redesign .bio-header img[src*="logo_biowood"]{
    display:block!important;
    max-height:72px!important;
    width:auto!important;
    margin:0 auto!important;
    object-fit:contain!important;
  }

  .bw-redesign .bw-header-brand{
    width:100%!important;
    min-width:0!important;
    order:2!important;
    padding:0!important;
  }

  .bw-redesign .bw-header-brand__inner{
    width:100%!important;
    min-height:auto!important;
    padding:.8rem .9rem!important;
    border-radius:18px!important;
  }

  .bw-redesign .bw-header-brand strong{
    font-size:1.05rem!important;
    line-height:1.15!important;
    letter-spacing:.12em!important;
  }

  .bw-redesign .bw-header-brand small{
    font-size:.74rem!important;
    line-height:1.35!important;
  }

  .bw-redesign .bio-header-promo{
    order:3!important;
    width:100%!important;
    margin:0!important;
    padding:.25rem 0 0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .bw-redesign .bw-edge-promo-link{
    width:min(94vw, 380px)!important;
    min-height:92px!important;
    border-radius:18px!important;
  }

  .bw-redesign .bio-header-promo img,
  .bw-redesign .bw-edge-promo-img{
    max-height:92px!important;
    width:100%!important;
    object-fit:cover!important;
  }

  .bw-mobile-menu-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:.65rem!important;
    width:calc(100% - 1.8rem)!important;
    max-width:420px!important;
    min-height:48px!important;
    margin:.8rem auto .7rem!important;
    border:0!important;
    border-radius:999px!important;
    color:#fff!important;
    background:linear-gradient(135deg,#0b3528,#176044)!important;
    box-shadow:0 12px 24px rgba(6,36,27,.22)!important;
    font-family:inherit!important;
    font-weight:850!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
    cursor:pointer!important;
    position:relative!important;
    z-index:1001!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  .bw-mobile-menu-icon{
    width:22px;
    height:16px;
    display:inline-flex;
    flex-direction:column;
    justify-content:space-between;
  }

  .bw-mobile-menu-icon span{
    display:block;
    height:2px;
    width:100%;
    border-radius:99px;
    background:#fff;
    transition:transform .18s ease, opacity .18s ease;
  }

  body.bw-mobile-menu-open .bw-mobile-menu-icon span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  body.bw-mobile-menu-open .bw-mobile-menu-icon span:nth-child(2){opacity:0;}
  body.bw-mobile-menu-open .bw-mobile-menu-icon span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  .bw-redesign .menu,
  body.bw-redesign .menu{
    display:none!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    top:auto!important;
    z-index:1000!important;
    background:#ffffff!important;
    color:#0b3528!important;
    box-shadow:0 16px 32px rgba(6,36,27,.16)!important;
    border-top:1px solid rgba(18,71,53,.1)!important;
    border-bottom:1px solid rgba(18,71,53,.1)!important;
    padding:.4rem 0!important;
  }

  body.bw-mobile-menu-open .bw-redesign .menu,
  body.bw-mobile-menu-open .menu{
    display:flex!important;
  }

  .bw-redesign .menu > div{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:.35rem .8rem!important;
  }

  .bw-redesign .menu > div > div,
  .bw-redesign .menu .grow{
    width:100%!important;
    flex:0 0 auto!important;
    min-width:0!important;
  }

  .bw-redesign .menu a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:46px!important;
    padding:.72rem .95rem!important;
    margin:.12rem 0!important;
    border:1px solid rgba(18,71,53,.08)!important;
    border-radius:14px!important;
    background:#f7faf6!important;
    color:#0b3528!important;
    font-size:.86rem!important;
    line-height:1.25!important;
    text-align:left!important;
    text-decoration:none!important;
    text-transform:uppercase!important;
    letter-spacing:.035em!important;
    transform:none!important;
  }

  .bw-redesign .menu a.bw-active,
  .bw-redesign .menu a:hover{
    background:rgba(244,122,33,.13)!important;
    color:#0b3528!important;
    box-shadow:none!important;
  }

  .bw-redesign .menu a.bw-menu-new-link{
    justify-content:center!important;
    border-color:rgba(66,165,111,.55)!important;
    background:linear-gradient(135deg,#ffffff,#efffed)!important;
  }

  .bw-menu-new-badge{
    top:-.55rem!important;
    right:.55rem!important;
  }

  .bw-redesign #default-carousel .relative,
  .bw-redesign .bw-home-hero > div,
  .bw-redesign .banner > img{
    height:320px!important;
    min-height:320px!important;
    border-radius:0!important;
  }

  .bw-redesign #default-carousel img,
  .bw-redesign .banner > img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }

  .bw-redesign .bw-hero-copy{
    left:.9rem!important;
    right:.9rem!important;
    bottom:.9rem!important;
    width:auto!important;
    padding:.95rem!important;
    border-radius:18px!important;
  }

  .bw-redesign .bw-hero-title{
    font-size:1.9rem!important;
    line-height:1.08!important;
  }

  .bw-redesign .bw-hero-text{
    font-size:.9rem!important;
    line-height:1.45!important;
  }

  .bw-redesign .bw-hero-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:.55rem!important;
  }

  .bw-redesign .bw-btn,
  .bw-redesign a.bg-blue-500,
  .bw-redesign button[type="submit"]{
    width:100%!important;
    min-height:46px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    border-radius:999px!important;
  }

  .bw-proof-strip{
    grid-template-columns:1fr!important;
    width:calc(100% - 1.6rem)!important;
    margin:1rem auto 1.5rem!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }

  .bw-proof-item{
    border-right:0!important;
    border-bottom:1px solid var(--bw-line)!important;
    padding:1rem!important;
  }

  .bw-redesign .w-\[1200px\],
  .bw-redesign .lg\:w-\[1200px\],
  .bw-redesign .w-\[920px\]{
    width:100%!important;
    max-width:100%!important;
  }

  .bw-redesign .flex.flex-wrap.gap-16{
    gap:1.1rem!important;
    margin-top:1.2rem!important;
    margin-bottom:1.2rem!important;
    padding-left:.9rem!important;
    padding-right:.9rem!important;
  }

  .bw-service-card,
  .bw-redesign .bw-service-card{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    border-radius:22px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 12px 28px rgba(6,36,27,.11)!important;
  }

  .bw-service-card > div{
    width:100%!important;
    max-width:100%!important;
    flex-basis:auto!important;
    padding:0!important;
  }

  .bw-service-card img{
    height:210px!important;
    width:100%!important;
    object-fit:cover!important;
  }

  .bw-service-card h2{
    font-size:1.28rem!important;
    line-height:1.25!important;
    margin:1rem 1rem .65rem!important;
  }

  .bw-service-card p{
    font-size:.96rem!important;
    line-height:1.55!important;
    margin:0 1rem!important;
  }

  .bw-service-card .my-8{
    margin:1rem!important;
  }

  .bw-redesign .main-layout,
  .bw-redesign .bw-layout,
  .bw-redesign .content-row,
  .bw-redesign .two-columns{
    display:flex!important;
    flex-direction:column!important;
    gap:1.15rem!important;
    width:100%!important;
  }

  .bw-redesign .main-layout > *,
  .bw-redesign .bw-layout > *,
  .bw-redesign .content-row > *,
  .bw-redesign .two-columns > *,
  .bw-redesign [class*="basis-"]{
    width:100%!important;
    max-width:100%!important;
    flex-basis:auto!important;
  }

  .bw-redesign h1{
    font-size:2rem!important;
    line-height:1.12!important;
  }

  .bw-redesign h2{
    font-size:1.42rem!important;
    line-height:1.22!important;
  }

  .bw-redesign p,
  .bw-redesign li{
    font-size:.96rem!important;
    line-height:1.58!important;
  }

  .bw-redesign table{
    min-width:620px!important;
  }

  .bw-redesign .table-wrapper,
  .bw-redesign .overflow-x-auto{
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .bw-redesign input,
  .bw-redesign textarea,
  .bw-redesign select{
    width:100%!important;
    max-width:100%!important;
    font-size:16px!important;
  }

  .bw-redesign iframe{
    width:100%!important;
    min-height:320px!important;
    border-radius:18px!important;
  }

  .bw-redesign .bg-gray-600,
  .bw-redesign footer{
    margin-top:2rem!important;
    padding:1.4rem .9rem!important;
  }

  .bw-redesign .bg-gray-600 > div,
  .bw-redesign footer > div{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1.3rem!important;
    text-align:center!important;
  }

  .bw-redesign .bg-gray-600 img{
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* === BIOWOOD REAL MOBILE MENU HARD FIX === */
@media (max-width: 767px) {
  .bw-mobile-menu-toggle {
    display: flex !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: manipulation !important;
    position: relative !important;
    z-index: 99999 !important;
  }

  #bw-mobile-menu,
  .bw-redesign #bw-mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  html.bw-mobile-menu-open #bw-mobile-menu,
  body.bw-mobile-menu-open #bw-mobile-menu,
  #bw-mobile-menu.bw-mobile-menu-open,
  html.bw-mobile-menu-open .bw-redesign #bw-mobile-menu,
  body.bw-mobile-menu-open .bw-redesign #bw-mobile-menu,
  .bw-redesign #bw-mobile-menu.bw-mobile-menu-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    flex-direction: column !important;
  }

  html.bw-mobile-menu-open #bw-mobile-menu > div,
  body.bw-mobile-menu-open #bw-mobile-menu > div,
  #bw-mobile-menu.bw-mobile-menu-open > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
}
/* === END BIOWOOD REAL MOBILE MENU HARD FIX === */


/* === BIOWOOD DESKTOP/TABLET MENU RESTORE ===
   Da 768px in su il sito deve usare il menu classico.
   Il pulsante hamburger deve esistere solo nella versione mobile reale.
   ========================================================= */
@media (min-width: 768px) {
  .bw-mobile-menu-toggle,
  button.bw-mobile-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  #bw-mobile-menu,
  .bw-redesign #bw-mobile-menu,
  body.bw-redesign #bw-mobile-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #bw-mobile-menu > div,
  .bw-redesign #bw-mobile-menu > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
/* === END BIOWOOD DESKTOP/TABLET MENU RESTORE === */


/* === BIOWOOD MOBILE MENU BUTTON ALIGNMENT FIX === */
@media (max-width: 991px) {
  .bw-redesign .bw-mobile-menu-toggle,
  .bw-mobile-menu-toggle {
    width: min(94vw, 380px) !important;
    max-width: min(94vw, 380px) !important;
    margin: .55rem auto .75rem !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    align-self: center !important;
  }
}
/* === END BIOWOOD MOBILE MENU BUTTON ALIGNMENT FIX === */


/* === BIOWOOD MOBILE MENU BUTTON STRONG ALIGNMENT FIX === */
@media (max-width: 767px) {
  .bw-redesign .bw-header-brand__inner,
  .bw-redesign .bw-edge-promo-link,
  .bw-redesign .bw-mobile-menu-toggle,
  button.bw-mobile-menu-toggle {
    width: min(94vw, 380px) !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
  }

  .bw-redesign .bw-mobile-menu-toggle,
  button.bw-mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: .65rem auto .85rem auto !important;
    padding: 0 1.2rem !important;
    border-radius: 18px !important;
    background: #f47a21 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(6,36,27,.18) !important;
    text-align: center !important;
    z-index: 99999 !important;
  }

  .bw-redesign .bw-mobile-menu-toggle .bw-mobile-menu-label,
  button.bw-mobile-menu-toggle .bw-mobile-menu-label {
    width: auto !important;
    text-align: center !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }
}

@media (min-width: 768px) {
  .bw-redesign .bw-mobile-menu-toggle,
  button.bw-mobile-menu-toggle {
    display: none !important;
  }
}
/* === END BIOWOOD MOBILE MENU BUTTON STRONG ALIGNMENT FIX === */


/* === BIOWOOD NEW DESIGN - HEADER VAGLI EYS / EDGE + MENU PATCH === */
:root {
  --bw-edge-blue: #2563eb;
  --bw-edge-blue-dark: #1d4ed8;
  --bw-eys-red: #dc2626;
  --bw-eys-red-dark: #b91c1c;
}

body.bw-redesign .bio-header {
  background: #ffffff;
}

body.bw-redesign .bw-redesign-header-layout,
body.bw-redesign .bw-header-layout-new {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

body.bw-redesign .bw-header-promo {
  flex: 1 1 0;
  display: flex;
  align-items: center;
}

body.bw-redesign .bw-header-promo--eys {
  justify-content: flex-end;
}

body.bw-redesign .bw-header-promo--edge {
  justify-content: flex-start;
}

body.bw-redesign .bw-header-logo-block {
  flex: 0 0 auto;
  min-width: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.bw-redesign .bw-header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.bw-redesign .bw-site-logo-new {
  display: block;
  max-width: 280px;
  max-height: 165px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

body.bw-redesign .bw-top-promo {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: 100%;
  max-width: 350px;
  min-height: 132px;
  padding: 10px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.bw-redesign .bw-top-promo:hover {
  transform: translateY(-2px);
}

body.bw-redesign .bw-top-promo-img {
  display: block;
  width: 44%;
  max-width: 150px;
  height: 112px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

body.bw-redesign .bw-top-promo-text {
  display: block;
  font-size: clamp(.95rem, 1.25vw, 1.22rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

body.bw-redesign .bw-top-promo-text::after {
  content: '›';
  display: inline-block;
  margin-left: .35rem;
  font-size: 1.2em;
  transform: translateY(.04em);
}

body.bw-redesign .bw-top-promo--edge {
  border: 1px solid rgba(37, 99, 235, .65);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .20), 0 0 24px rgba(59, 130, 246, .38), 0 10px 22px rgba(30, 64, 175, .10);
}

body.bw-redesign .bw-top-promo--edge .bw-top-promo-text,
body.bw-redesign .bw-top-promo--edge .bw-top-promo-text::after {
  color: var(--bw-edge-blue-dark);
}

body.bw-redesign .bw-top-promo--eys {
  border: 1px solid rgba(220, 38, 38, .60);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, .20), 0 0 24px rgba(248, 113, 113, .40), 0 10px 22px rgba(153, 27, 27, .10);
}

body.bw-redesign .bw-top-promo--eys .bw-top-promo-text,
body.bw-redesign .bw-top-promo--eys .bw-top-promo-text::after {
  color: var(--bw-eys-red-dark);
}

body.bw-redesign .menu .bw-menu-featured {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.bw-redesign .menu .bw-menu-highlight.bw-menu-highlight--edge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .45rem .95rem;
  border: 2px solid rgba(37, 99, 235, .65) !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%) !important;
  color: var(--bw-edge-blue-dark) !important;
  font-weight: 900 !important;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, .18), 0 0 18px rgba(59, 130, 246, .52), inset 0 0 12px rgba(255, 255, 255, .9) !important;
  white-space: nowrap;
  text-decoration: none;
}

body.bw-redesign .menu .bw-menu-new {
  position: absolute;
  top: -.88rem;
  right: -.8rem;
  padding: .18rem .42rem;
  border-radius: 999px;
  background: #dc2626 !important;
  color: #fff !important;
  font-size: .62rem !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(220, 38, 38, .85);
}

body.bw-redesign .menu .bw-main-menu-inner {
  gap: .55rem;
}

@media screen and (max-width: 767px) {
  body.bw-redesign .bw-redesign-header-layout,
  body.bw-redesign .bw-header-layout-new {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .85rem !important;
    padding: .85rem 1rem .9rem !important;
  }

  body.bw-redesign .bw-header-logo-block {
    order: 1;
    min-width: 0;
  }

  body.bw-redesign .bw-header-promo--eys {
    order: 2;
    justify-content: center;
  }

  body.bw-redesign .bw-header-promo--edge {
    order: 3;
    justify-content: center;
  }

  body.bw-redesign .bw-site-logo-new {
    max-height: 115px;
    max-width: 240px;
  }

  body.bw-redesign .bw-top-promo {
    width: min(94vw, 420px) !important;
    max-width: 420px !important;
    min-height: 96px !important;
    padding: 8px 10px !important;
    gap: 10px !important;
    border-radius: 18px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.bw-redesign .bw-top-promo-img {
    width: 44% !important;
    max-width: 165px !important;
    height: 82px !important;
  }

  body.bw-redesign .bw-top-promo-text {
    font-size: .92rem !important;
    line-height: 1.08 !important;
  }

  body.bw-redesign .bw-mobile-menu-toggle,
  button.bw-mobile-menu-toggle {
    width: min(94vw, 420px) !important;
    max-width: 420px !important;
    margin: .65rem auto .85rem auto !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
  body.bw-redesign .bw-redesign-header-layout,
  body.bw-redesign .bw-header-layout-new {
    gap: .75rem !important;
  }

  body.bw-redesign .bw-top-promo {
    max-width: 290px;
    min-height: 118px;
    padding: 8px 12px;
  }

  body.bw-redesign .bw-top-promo-img {
    height: 96px;
    width: 40%;
  }

  body.bw-redesign .bw-site-logo-new {
    max-width: 220px;
    max-height: 135px;
  }
}
/* === END BIOWOOD NEW DESIGN - HEADER VAGLI EYS / EDGE + MENU PATCH === */


/* === BIOWOOD NEW DESIGN - HEADER REFINEMENT PATCH === */

/* Sostituisce visivamente la vecchia barra verde con area logo orizzontale */
body.bw-redesign .bw-top-logo-strip {
  background: #ffffff !important;
  border-top: 3px solid #e8d8bc;
  border-bottom: 1px solid rgba(6, 54, 38, .12);
  padding: .65rem 1rem .55rem;
}

body.bw-redesign .bw-top-logo-strip__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.bw-redesign .bw-horizontal-logo {
  display: block;
  max-width: min(92vw, 720px);
  max-height: 86px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Ridimensionamento header centrale */
body.bw-redesign .bio-header {
  background: #f8fbf8 !important;
}

body.bw-redesign .bw-redesign-header-layout,
body.bw-redesign .bw-header-layout-new {
  min-height: 270px;
  padding-top: 1.35rem !important;
  padding-bottom: 1.35rem !important;
  gap: 1.35rem !important;
}

body.bw-redesign .bw-header-logo-block {
  min-width: 320px !important;
}

body.bw-redesign .bw-site-logo-new {
  max-width: 360px !important;
  max-height: 230px !important;
  width: auto !important;
  height: auto !important;
}

body.bw-redesign .bw-top-promo {
  max-width: 385px !important;
  min-height: 148px !important;
}

body.bw-redesign .bw-top-promo-img {
  max-width: 165px !important;
  height: 124px !important;
}

body.bw-redesign .bw-top-promo-text {
  font-size: clamp(1rem, 1.35vw, 1.32rem) !important;
}

/* NEW dentro il cerchio/pill blu di Trituratori EDGE */
body.bw-redesign .menu .bw-menu-highlight.bw-menu-highlight--edge {
  gap: .45rem !important;
  padding-right: .85rem !important;
}

body.bw-redesign .menu .bw-menu-new {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: .18rem !important;
  padding: .18rem .42rem !important;
  border-radius: 999px !important;
  background: #dc2626 !important;
  color: #fff !important;
  font-size: .62rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  box-shadow: 0 0 10px rgba(220, 38, 38, .75) !important;
  transform: translateY(-.02rem);
}

@media screen and (max-width: 767px) {
  body.bw-redesign .bw-horizontal-logo {
    max-width: min(92vw, 420px);
    max-height: 62px;
  }

  body.bw-redesign .bw-redesign-header-layout,
  body.bw-redesign .bw-header-layout-new {
    min-height: auto;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  body.bw-redesign .bw-header-logo-block {
    min-width: 0 !important;
  }

  body.bw-redesign .bw-site-logo-new {
    max-width: 300px !important;
    max-height: 155px !important;
  }

  body.bw-redesign .bw-top-promo {
    min-height: 104px !important;
  }

  body.bw-redesign .bw-top-promo-img {
    height: 88px !important;
  }
}

/* === END BIOWOOD NEW DESIGN - HEADER REFINEMENT PATCH === */


/* === BIOWOOD NEW DESIGN - HEADER COME CLASSIC PATCH === */
/* Rimuove qualsiasi barra/logo orizzontale superiore residuo */
body.bw-redesign .bw-top-logo-strip,
body.bw-redesign .bw-top-strip {
  display: none !important;
}

/* Header classic: tre blocchi allineati, promo Vagli/EDGE e logo centrale */
body.bw-redesign .bio-header {
  background: #ffffff !important;
}

body.bw-redesign .bio-header > .bw-header-layout {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 1200px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 1rem !important;
}

body.bw-redesign .bw-header-promo {
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
}

body.bw-redesign .bw-header-promo--eys {
  justify-content: flex-end !important;
}

body.bw-redesign .bw-header-promo--edge {
  justify-content: flex-start !important;
}

body.bw-redesign .bw-header-logo-block {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 240px !important;
}

body.bw-redesign .bw-header-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.bw-redesign .bw-site-logo {
  display: block !important;
  width: auto !important;
  max-height: 170px !important;
  max-width: 280px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* Promo classic */
body.bw-redesign .bw-top-promo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  min-height: 138px !important;
  width: 100% !important;
  max-width: 350px !important;
  padding: 10px 14px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%) !important;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
  overflow: hidden !important;
}

body.bw-redesign .bw-top-promo:hover {
  transform: translateY(-2px) !important;
}

body.bw-redesign .bw-top-promo img {
  display: block !important;
  width: 44% !important;
  max-width: 150px !important;
  height: 118px !important;
  object-fit: contain !important;
  object-position: center !important;
  flex: 0 0 auto !important;
}

body.bw-redesign .bw-top-promo__text {
  display: block !important;
  font-size: clamp(1rem, 1.3vw, 1.25rem) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}

body.bw-redesign .bw-top-promo__text::after {
  content: '›' !important;
  display: inline-block !important;
  margin-left: .35rem !important;
  font-size: 1.2em !important;
  transform: translateY(.04em) !important;
}

body.bw-redesign .bw-top-promo--edge {
  border: 1px solid rgba(37, 99, 235, 0.65) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .20), 0 0 24px rgba(59, 130, 246, .38), 0 10px 22px rgba(30, 64, 175, .10) !important;
}

body.bw-redesign .bw-top-promo--edge .bw-top-promo__text,
body.bw-redesign .bw-top-promo--edge .bw-top-promo__text::after {
  color: #1d4ed8 !important;
}

body.bw-redesign .bw-top-promo--eys {
  border: 1px solid rgba(220, 38, 38, 0.6) !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, .20), 0 0 24px rgba(248, 113, 113, .40), 0 10px 22px rgba(153, 27, 27, .10) !important;
}

body.bw-redesign .bw-top-promo--eys .bw-top-promo__text,
body.bw-redesign .bw-top-promo--eys .bw-top-promo__text::after {
  color: #b91c1c !important;
}

/* Menu classic */
body.bw-redesign .menu .bw-menu-featured {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.bw-redesign .menu .bw-menu-featured .bw-menu-highlight.bw-menu-highlight--edge {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .35rem !important;
  padding: .45rem .95rem !important;
  border: 2px solid rgba(37, 99, 235, 0.65) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%) !important;
  color: #1d4ed8 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, .18), 0 0 18px rgba(59, 130, 246, .52), inset 0 0 12px rgba(255, 255, 255, .9) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body.bw-redesign .menu .bw-menu-featured .bw-menu-new {
  position: absolute !important;
  top: -.88rem !important;
  right: -.8rem !important;
  padding: .18rem .42rem !important;
  border-radius: 999px !important;
  background: #dc2626 !important;
  color: #fff !important;
  font-size: .62rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 12px rgba(220, 38, 38, .85) !important;
}

@media screen and (max-width: 767px) {
  body.bw-redesign .bio-header > .bw-header-layout {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .85rem !important;
    padding: .85rem 1rem .9rem !important;
  }

  body.bw-redesign .bw-header-logo-block {
    order: 1 !important;
    min-width: 0 !important;
  }

  body.bw-redesign .bw-header-promo--eys {
    order: 2 !important;
    justify-content: center !important;
  }

  body.bw-redesign .bw-header-promo--edge {
    order: 3 !important;
    justify-content: center !important;
  }

  body.bw-redesign .bw-site-logo {
    max-height: 115px !important;
    max-width: 240px !important;
  }

  body.bw-redesign .bw-top-promo {
    min-height: 96px !important;
    max-width: 420px !important;
    padding: 8px 10px !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }

  body.bw-redesign .bw-top-promo img {
    width: 44% !important;
    max-width: 165px !important;
    height: 82px !important;
  }

  body.bw-redesign .bw-top-promo__text {
    font-size: .92rem !important;
    line-height: 1.08 !important;
  }
}
/* === END BIOWOOD NEW DESIGN - HEADER COME CLASSIC PATCH === */








/* === BIOWOOD NEW DESIGN - DOWNLOAD BROCHURE EDGE === */
body.bw-redesign .bw-brochure-title,
body.bw-responsive .bw-brochure-title {
  font-weight: 800;
  color: #153c2a;
}

body.bw-redesign .bw-brochure-intro,
body.bw-responsive .bw-brochure-intro {
  margin-top: .25rem;
  color: #374151;
  line-height: 1.45;
}

body.bw-redesign .bw-brochure-form,
body.bw-responsive .bw-brochure-form {
  scroll-margin-top: 90px;
}

body.bw-redesign .bw-brochure-submit:disabled,
body.bw-responsive .bw-brochure-submit:disabled {
  opacity: .75;
  cursor: wait;
}
/* === END BIOWOOD NEW DESIGN - DOWNLOAD BROCHURE EDGE === */


/* === BIOWOOD NEW DESIGN - LINK HERO SCARICA BROCHURE === */
body.bw-redesign .bw-brochure-scroll-link,
body.bw-responsive .bw-brochure-scroll-link {
  cursor: pointer;
}
/* === END BIOWOOD NEW DESIGN - LINK HERO SCARICA BROCHURE === */








/* === BIOWOOD LOGO 200 E CARD LATERALI COMPATTE === */

/* Logo centrale 200x200 */
html body .bio-header img.bw-site-logo,
html body .bio-header img.bw-logo-200-forced,
html body.bw-redesign .bio-header img.bw-site-logo,
html body.bw-responsive .bio-header img.bw-site-logo,
html body .bw-header-logo-block img,
html body .bw-header-logo-link img {
  width: 200px !important;
  height: 200px !important;
  max-width: 200px !important;
  max-height: 200px !important;
  min-width: 200px !important;
  min-height: 200px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

html body .bw-header-logo-block,
html body.bw-redesign .bw-header-logo-block,
html body.bw-responsive .bw-header-logo-block {
  min-width: 220px !important;
  width: 220px !important;
  flex: 0 0 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Card laterali alte quanto la fotografia interna */
html body .bw-top-promo,
html body.bw-redesign .bw-top-promo,
html body.bw-responsive .bw-top-promo {
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  align-items: center !important;
}

html body .bw-top-promo img,
html body.bw-redesign .bw-top-promo img,
html body.bw-responsive .bw-top-promo img {
  height: 118px !important;
  max-height: 118px !important;
  min-height: 118px !important;
  object-fit: contain !important;
}

html body .bw-top-promo__text,
html body.bw-redesign .bw-top-promo__text,
html body.bw-responsive .bw-top-promo__text {
  align-self: center !important;
}

/* Su mobile evito un header sproporzionato */
@media screen and (max-width: 767px) {
  html body .bio-header img.bw-site-logo,
  html body .bio-header img.bw-logo-200-forced,
  html body .bw-header-logo-block img,
  html body .bw-header-logo-link img {
    width: 160px !important;
    height: 160px !important;
    max-width: 160px !important;
    max-height: 160px !important;
    min-width: 160px !important;
    min-height: 160px !important;
  }

  html body .bw-header-logo-block,
  html body.bw-redesign .bw-header-logo-block,
  html body.bw-responsive .bw-header-logo-block {
    min-width: 180px !important;
    width: 180px !important;
    flex: 0 0 180px !important;
  }

  html body .bw-top-promo,
  html body.bw-redesign .bw-top-promo,
  html body.bw-responsive .bw-top-promo {
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    padding: 0 10px !important;
  }

  html body .bw-top-promo img,
  html body.bw-redesign .bw-top-promo img,
  html body.bw-responsive .bw-top-promo img {
    height: 88px !important;
    max-height: 88px !important;
    min-height: 88px !important;
  }
}

/* === END BIOWOOD LOGO 200 E CARD LATERALI COMPATTE === */



/* === BIOWOOD MOBILE OPTIMIZED FINAL OVERRIDE === */
@media screen and (max-width: 767px) {
  html {
    overflow-x: hidden !important;
    scroll-padding-top: 72px;
  }

  body.bw-redesign {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    -webkit-text-size-adjust: 100%;
  }

  body.bw-redesign *,
  body.bw-redesign *::before,
  body.bw-redesign *::after {
    box-sizing: border-box !important;
  }

  body.bw-redesign img,
  body.bw-redesign video,
  body.bw-redesign iframe {
    max-width: 100% !important;
  }

  /* HEADER MOBILE */
  body.bw-redesign .bio-header {
    position: relative !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(18, 71, 53, .12) !important;
    box-shadow: 0 6px 18px rgba(6, 36, 27, .08) !important;
  }

  body.bw-redesign .bio-header > .bw-header-layout {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: .8rem .85rem .95rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "logo logo"
      "eys edge" !important;
    gap: .72rem !important;
    align-items: stretch !important;
  }

  body.bw-redesign .bw-header-logo-block {
    grid-area: logo !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  body.bw-redesign .bw-header-logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body.bw-redesign .bio-header img.bw-site-logo,
  html body.bw-redesign .bio-header img.bw-logo-200-forced,
  html body.bw-redesign .bw-header-logo-block img,
  html body.bw-redesign .bw-header-logo-link img {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  body.bw-redesign .bw-header-promo--eys {
    grid-area: eys !important;
  }

  body.bw-redesign .bw-header-promo--edge {
    grid-area: edge !important;
  }

  body.bw-redesign .bw-header-promo {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  html body.bw-redesign .bw-top-promo {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 104px !important;
    max-height: none !important;
    padding: .45rem .45rem .55rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .35rem !important;
    border-radius: 16px !important;
    overflow: visible !important;
    text-align: center !important;
  }

  html body.bw-redesign .bw-top-promo img {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    max-width: 145px !important;
    object-fit: contain !important;
    flex: 0 0 58px !important;
  }

  body.bw-redesign .bw-top-promo__text {
    width: 100% !important;
    font-size: .72rem !important;
    line-height: 1.12 !important;
    letter-spacing: .015em !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  body.bw-redesign .bw-top-promo__text::after {
    margin-left: .18rem !important;
  }

  /* PULSANTE E MENU MOBILE */
  body.bw-redesign .bw-mobile-menu-toggle,
  body.bw-redesign button.bw-mobile-menu-toggle {
    display: flex !important;
    width: calc(100% - 1.7rem) !important;
    max-width: 420px !important;
    min-height: 50px !important;
    margin: .72rem auto !important;
    padding: .7rem 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .7rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0b3528, #176044) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(6, 36, 27, .22) !important;
    font-family: inherit !important;
    font-size: .9rem !important;
    font-weight: 850 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 101 !important;
    touch-action: manipulation !important;
  }

  body.bw-redesign .bw-mobile-menu-icon {
    width: 23px !important;
    height: 17px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 0 0 23px !important;
  }

  body.bw-redesign .bw-mobile-menu-icon > span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transition: transform .2s ease, opacity .2s ease !important;
  }

  body.bw-redesign.bw-mobile-menu-open .bw-mobile-menu-icon > span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg) !important;
  }

  body.bw-redesign.bw-mobile-menu-open .bw-mobile-menu-icon > span:nth-child(2) {
    opacity: 0 !important;
  }

  body.bw-redesign.bw-mobile-menu-open .bw-mobile-menu-icon > span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg) !important;
  }

  body.bw-redesign #bw-main-menu,
  body.bw-redesign .menu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: calc(100% - 1.7rem) !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto .9rem !important;
    padding: 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(160deg, #0b3528, #176044) !important;
    box-shadow: 0 16px 34px rgba(6, 36, 27, .25) !important;
    overflow: visible !important;
    z-index: 100 !important;
  }

  body.bw-redesign:not(.bw-mobile-menu-open) #bw-main-menu,
  body.bw-redesign:not(.bw-mobile-menu-open) .menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  body.bw-redesign.bw-mobile-menu-open #bw-main-menu,
  body.bw-redesign.bw-mobile-menu-open .menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.bw-redesign #bw-main-menu > .bw-main-menu-inner,
  body.bw-redesign .menu > .bw-main-menu-inner,
  body.bw-redesign #bw-main-menu > div,
  body.bw-redesign .menu > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: .55rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .3rem !important;
  }

  body.bw-redesign #bw-main-menu .grow,
  body.bw-redesign .menu .grow {
    width: 100% !important;
    flex: none !important;
  }

  body.bw-redesign #bw-main-menu a,
  body.bw-redesign .menu a {
    width: 100% !important;
    min-height: 45px !important;
    padding: .72rem .9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 13px !important;
    color: #ffffff !important;
    font-size: .92rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.bw-redesign #bw-main-menu a:hover,
  body.bw-redesign #bw-main-menu a:focus,
  body.bw-redesign .menu a:hover,
  body.bw-redesign .menu a:focus {
    background: rgba(255, 255, 255, .12) !important;
  }

  body.bw-redesign #bw-main-menu .bw-menu-highlight--edge,
  body.bw-redesign .menu .bw-menu-highlight--edge {
    width: 100% !important;
    min-height: 48px !important;
    margin: .3rem 0 .15rem !important;
    padding: .72rem 3.2rem .72rem .9rem !important;
    color: #1d4ed8 !important;
    overflow: visible !important;
  }

  body.bw-redesign #bw-main-menu .bw-menu-new,
  body.bw-redesign .menu .bw-menu-new {
    top: -.6rem !important;
    right: .75rem !important;
    z-index: 3 !important;
  }

  /* HERO HOME E PAGINE INTERNE */
  body.bw-redesign.home-page #default-carousel,
  body.bw-redesign.home-page #default-carousel > div,
  body.bw-redesign.home-page #default-carousel [class*="h-[400px]"] {
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  body.bw-redesign.home-page #default-carousel img {
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body.bw-redesign .banner,
  body.bw-redesign .shred-edge-hero-wrap {
    width: 100% !important;
    min-height: 260px !important;
    height: 260px !important;
    max-height: 260px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  body.bw-redesign .banner > img,
  body.bw-redesign .shred-edge-hero-wrap > img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body.bw-redesign .bw-hero-copy {
    width: calc(100% - 1.3rem) !important;
    max-width: none !important;
    left: .65rem !important;
    right: .65rem !important;
    bottom: .65rem !important;
    padding: .9rem !important;
    border-radius: 16px !important;
  }

  body.bw-redesign .bw-hero-kicker {
    font-size: .7rem !important;
  }

  body.bw-redesign .bw-hero-title,
  body.bw-redesign .bw-simple-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.3rem) !important;
    line-height: 1.05 !important;
  }

  body.bw-redesign .bw-hero-text {
    display: none !important;
  }

  body.bw-redesign .bw-hero-actions {
    margin-top: .55rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .45rem !important;
  }

  body.bw-redesign .bw-hero-actions .bw-btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    padding: .65rem .8rem !important;
    font-size: .88rem !important;
  }

  body.bw-redesign .bw-simple-hero {
    padding: 2.2rem 1rem !important;
    min-height: 0 !important;
  }

  /* PROOF STRIP */
  body.bw-redesign .bw-proof-strip {
    width: 100% !important;
    padding: .8rem !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    overflow: visible !important;
  }

  body.bw-redesign .bw-proof-item {
    min-width: 0 !important;
    padding: .72rem .55rem !important;
    border-radius: 13px !important;
    text-align: center !important;
  }

  body.bw-redesign .bw-proof-label {
    font-size: .7rem !important;
  }

  body.bw-redesign .bw-proof-value {
    font-size: .8rem !important;
    line-height: 1.2 !important;
  }

  /* CONTENUTI, GRIGLIE E CARD */
  body.bw-redesign [class*="w-[1200px]"],
  body.bw-redesign [class*="w-[920px]"],
  body.bw-redesign [class*="lg:w-[1200px]"],
  body.bw-redesign [class*="lg:w-[920px]"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.bw-redesign .flex.flex-row,
  body.bw-redesign .flex-row,
  body.bw-redesign .lg\:flex-nowrap {
    flex-wrap: wrap !important;
  }

  body.bw-redesign .basis-1\/3,
  body.bw-redesign .basis-2\/3,
  body.bw-redesign .grow {
    min-width: 0;
  }

  body.bw-redesign main,
  body.bw-redesign section,
  body.bw-redesign .bw-section,
  body.bw-redesign .bw-home-intro {
    max-width: 100% !important;
  }

  body.bw-redesign .flex.items-center.justify-center > [class*="w-"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.bw-redesign .flex.flex-wrap {
    gap: 1rem !important;
  }

  body.bw-redesign .basis-1\/3,
  body.bw-redesign .basis-2\/3,
  body.bw-redesign .sm\:w-64,
  body.bw-redesign .max-w-sm {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  body.bw-redesign .p-8 {
    padding: 1rem !important;
  }

  body.bw-redesign .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body.bw-redesign .my-8 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  body.bw-redesign .mt-16 {
    margin-top: 2rem !important;
  }

  body.bw-redesign h1 {
    overflow-wrap: anywhere !important;
  }

  body.bw-redesign h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
    line-height: 1.2 !important;
  }

  body.bw-redesign h3 {
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
  }

  body.bw-redesign p,
  body.bw-redesign li {
    font-size: .98rem !important;
    line-height: 1.62 !important;
  }

  /* FORM */
  body.bw-redesign form,
  body.bw-redesign .bw-brochure-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.bw-redesign form input:not([type="checkbox"]):not([type="radio"]),
  body.bw-redesign form select,
  body.bw-redesign form textarea {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    border-radius: 10px !important;
  }

  body.bw-redesign form textarea {
    min-height: 120px !important;
  }

  body.bw-redesign form button[type="submit"],
  body.bw-redesign form .bw-brochure-submit {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }

  body.bw-redesign form input[type="checkbox"],
  body.bw-redesign form input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    flex: 0 0 20px !important;
  }

  /* TABELLE */
  body.bw-redesign table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.bw-redesign th,
  body.bw-redesign td {
    min-width: 120px;
    padding: .65rem !important;
    font-size: .88rem !important;
  }

  /* FOOTER */
  body.bw-redesign > div.flex.items-center.justify-center.bg-gray-600,
  body.bw-redesign footer {
    padding: 1.2rem 1rem !important;
    text-align: center !important;
  }

  body.bw-redesign > div.flex.items-center.justify-center.bg-gray-600 > div,
  body.bw-redesign footer > div {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .8rem !important;
    align-items: center !important;
  }
}

@media screen and (max-width: 390px) {
  body.bw-redesign .bio-header > .bw-header-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "logo"
      "eys"
      "edge" !important;
  }

  html body.bw-redesign .bw-top-promo {
    min-height: 92px !important;
    flex-direction: row !important;
    text-align: left !important;
  }

  html body.bw-redesign .bw-top-promo img {
    width: 42% !important;
    max-width: 120px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    flex: 0 0 42% !important;
  }

  body.bw-redesign .bw-top-promo__text {
    width: 58% !important;
    font-size: .75rem !important;
    text-align: left !important;
  }

  body.bw-redesign .bw-proof-strip {
    grid-template-columns: 1fr !important;
  }
}

/* Tre elementi nella fascia dati: l’ultimo occupa tutta la seconda riga su mobile. */
@media screen and (max-width: 767px) and (min-width: 391px) {
  body.bw-redesign .bw-proof-strip > .bw-proof-item:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
}
/* === END BIOWOOD MOBILE OPTIMIZED FINAL OVERRIDE === */



/* === BIOWOOD MOBILE MENU ALLINEAMENTO E TESTO NERO === */
@media screen and (max-width: 767px) {
  /* Tutti gli elementi del menu occupano la stessa larghezza */
  html body.bw-redesign #bw-main-menu .bw-main-menu-inner,
  html body.bw-redesign .menu .bw-main-menu-inner {
    align-items: stretch !important;
  }

  html body.bw-redesign #bw-main-menu .grow,
  html body.bw-redesign .menu .grow,
  html body.bw-redesign #bw-main-menu .bw-menu-featured,
  html body.bw-redesign .menu .bw-menu-featured {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  html body.bw-redesign #bw-main-menu .grow > div,
  html body.bw-redesign .menu .grow > div,
  html body.bw-redesign #bw-main-menu .bw-menu-featured > div,
  html body.bw-redesign .menu .bw-menu-featured > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Testo nero per tutti i pulsanti */
  html body.bw-redesign #bw-main-menu a,
  html body.bw-redesign .menu a,
  html body.bw-redesign #bw-main-menu .bw-menu-highlight--edge,
  html body.bw-redesign .menu .bw-menu-highlight--edge {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 .35rem !important;
    color: #111111 !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: .72rem .95rem !important;
    box-sizing: border-box !important;
  }

  /* Trituratori EDGE allineato esattamente agli altri */
  html body.bw-redesign #bw-main-menu .bw-menu-featured .bw-menu-highlight--edge,
  html body.bw-redesign .menu .bw-menu-featured .bw-menu-highlight--edge {
    display: flex !important;
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    min-height: 45px !important;
    border-radius: 13px !important;
    padding-right: 3.6rem !important;
  }

  /* Badge NEW resta sopra il bordo blu */
  html body.bw-redesign #bw-main-menu .bw-menu-new,
  html body.bw-redesign .menu .bw-menu-new {
    top: -.58rem !important;
    right: .72rem !important;
    color: #ffffff !important;
  }
}
/* === END BIOWOOD MOBILE MENU ALLINEAMENTO E TESTO NERO === */



/* === BIOWOOD MOBILE LOGO ORIZZONTALE E CARD UGUALI === */

/* Desktop: mantiene il logo verticale e nasconde quello orizzontale */
body.bw-redesign .bw-site-logo--desktop {
  display: block !important;
}

body.bw-redesign .bw-site-logo--mobile,
body.bw-redesign .bw-site-logo-mobile {
  display: none !important;
}

@media screen and (max-width: 767px) {
  /* Mobile: usa esclusivamente il logo orizzontale */
  html body.bw-redesign .bw-site-logo--desktop {
    display: none !important;
  }

  html body.bw-redesign .bw-site-logo--mobile,
  html body.bw-redesign .bw-site-logo-mobile {
    display: block !important;
    width: min(78vw, 420px) !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 420px !important;
    max-height: 115px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  html body.bw-redesign .bw-header-logo-block,
  html body.bw-redesign .bw-header-logo-link {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Le due card occupano esattamente metà riga */
  html body.bw-redesign .bio-header > .bw-header-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  html body.bw-redesign .bw-header-promo--eys,
  html body.bw-redesign .bw-header-promo--edge {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: stretch !important;
  }

  /* Dimensioni identiche per entrambe le schede */
  html body.bw-redesign .bw-header-promo--eys .bw-top-promo,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    margin: 0 !important;
    padding: .5rem .5rem .55rem !important;
    display: grid !important;
    grid-template-rows: 72px 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    gap: .3rem !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo img,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo img {
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    max-width: 170px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo__text {
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .72rem !important;
    line-height: 1.12 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }
}

/* Telefoni molto stretti: schede impilate ma ancora perfettamente uguali */
@media screen and (max-width: 390px) {
  html body.bw-redesign .bio-header > .bw-header-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "logo"
      "eys"
      "edge" !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo {
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
    grid-template-columns: 42% 58% !important;
    grid-template-rows: 1fr !important;
    padding: .5rem .65rem !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo img,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo img {
    width: 100% !important;
    max-width: 125px !important;
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo__text {
    min-height: 0 !important;
    padding-left: .35rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: .78rem !important;
  }
}

/* === END BIOWOOD MOBILE LOGO ORIZZONTALE E CARD UGUALI === */



/* === BIOWOOD MOBILE SOLO LOGO ORIZZONTALE FULL WIDTH === */

/* Desktop */
html body.bw-redesign .bw-site-logo--desktop {
  display: block !important;
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  min-height: 200px !important;
  max-width: 200px !important;
  max-height: 200px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

html body.bw-redesign .bw-site-logo--mobile {
  display: none !important;
}

@media screen and (max-width: 767px) {
  /* Il logo verticale sparisce completamente */
  html body.bw-redesign .bw-header-logo-link > img.bw-site-logo--desktop,
  html body.bw-redesign img.bw-site-logo--desktop {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Il blocco logo sfrutta tutta la larghezza disponibile */
  html body.bw-redesign .bw-header-logo-block,
  html body.bw-redesign .bw-header-logo-link {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  /* Logo orizzontale a tutta larghezza */
  html body.bw-redesign .bw-header-logo-link > img.bw-site-logo--mobile,
  html body.bw-redesign img.bw-site-logo--mobile,
  html body.bw-redesign img.bw-site-logo-mobile {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 100% !important;
  }

  /* Riduce solo i margini esterni dell'header per dare più spazio al logo */
  html body.bw-redesign .bio-header > .bw-header-layout {
    padding-top: .55rem !important;
    padding-left: .55rem !important;
    padding-right: .55rem !important;
  }
}

/* === END BIOWOOD MOBILE SOLO LOGO ORIZZONTALE FULL WIDTH === */


/* === BIOWOOD MOBILE CARD AFFIANCATE STESSA ALTEZZA === */
@media screen and (max-width: 767px) {
  /* Layout mobile: logo piena larghezza, schede affiancate sotto */
  html body.bw-redesign .bio-header > .bw-header-layout,
  html body.bw-redesign .bw-header-layout {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "logo logo"
      "eys edge" !important;
    align-items: stretch !important;
    column-gap: 1rem !important;
    row-gap: .95rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-header-logo-block {
    grid-area: logo !important;
    width: 100% !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    order: initial !important;
  }

  html body.bw-redesign .bw-header-promo--eys {
    grid-area: eys !important;
    order: initial !important;
  }

  html body.bw-redesign .bw-header-promo--edge {
    grid-area: edge !important;
    order: initial !important;
  }

  html body.bw-redesign .bw-header-promo--eys,
  html body.bw-redesign .bw-header-promo--edge {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    align-self: stretch !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    margin: 0 !important;
    padding: .75rem .75rem .8rem !important;
    display: grid !important;
    grid-template-rows: 88px 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    gap: .4rem !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo img,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo img {
    width: 100% !important;
    max-width: 190px !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--eys .bw-top-promo span,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo span {
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.12 !important;
    font-size: .78rem !important;
    overflow-wrap: anywhere !important;
  }
}

@media screen and (max-width: 390px) {
  html body.bw-redesign .bio-header > .bw-header-layout,
  html body.bw-redesign .bw-header-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "logo"
      "eys"
      "edge" !important;
  }
}
/* === END BIOWOOD MOBILE CARD AFFIANCATE STESSA ALTEZZA === */




/* === BIOWOOD FORM BROCHURE STICKY COMPLETO SENZA SCROLL INTERNO === */

/*
  Desktop largo:
  - il riquadro accompagna lo scorrimento della pagina;
  - il form è compatto e completamente visibile;
  - nessuna scrollbar interna.
*/
@media screen and (min-width: 1024px) {
  html body.bw-redesign .bw-brochure-sidebar {
    position: sticky !important;
    top: .5rem !important;
    align-self: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: .75rem !important;
  }

  html body.bw-redesign .bw-brochure-sidebar .bw-brochure-title {
    margin: 0 0 .1rem !important;
    font-size: 1.22rem !important;
    line-height: 1.15 !important;
  }

  html body.bw-redesign .bw-brochure-sidebar .bw-brochure-intro {
    margin: 0 0 .4rem !important;
    font-size: .72rem !important;
    line-height: 1.2 !important;
  }

  html body.bw-redesign .bw-brochure-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: .55rem !important;
    row-gap: .42rem !important;
    width: 100% !important;
    max-width: none !important;
    margin: .35rem 0 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.bw-redesign .bw-brochure-form > div.mb-5 {
    margin: 0 !important;
    min-width: 0 !important;
  }

  html body.bw-redesign .bw-brochure-form > div.mb-5 > label {
    display: block !important;
    margin: 0 0 .12rem !important;
    font-size: .67rem !important;
    line-height: 1.1 !important;
  }

  html body.bw-redesign .bw-brochure-form input[type="text"],
  html body.bw-redesign .bw-brochure-form input[type="email"],
  html body.bw-redesign .bw-brochure-form input[type="tel"],
  html body.bw-redesign .bw-brochure-form textarea {
    width: 100% !important;
    min-height: 32px !important;
    height: 32px !important;
    max-height: 32px !important;
    padding: .32rem .48rem !important;
    font-size: .78rem !important;
    line-height: 1.15 !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-brochure-form textarea {
    resize: none !important;
  }

  html body.bw-redesign .bw-brochure-form .bw-brochure-consent {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: .4rem !important;
    width: 100% !important;
    margin: .05rem 0 0 !important;
    overflow: visible !important;
  }

  html body.bw-redesign .bw-brochure-form .bw-brochure-consent input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    flex-basis: 17px !important;
    margin-top: 1px !important;
  }

  html body.bw-redesign .bw-brochure-form .bw-brochure-consent label {
    display: inline !important;
    font-size: .58rem !important;
    line-height: 1.14 !important;
  }

  html body.bw-redesign .bw-brochure-form .bw-brochure-consent a {
    display: inline !important;
    margin-left: .25rem !important;
    font-size: .58rem !important;
    line-height: 1.14 !important;
  }

  html body.bw-redesign .bw-brochure-form .bw-brochure-submit {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: .12rem 0 0 !important;
    padding: .42rem .7rem !important;
    font-size: .78rem !important;
    line-height: 1.1 !important;
  }
}

/*
  Tablet e smartphone:
  il modulo resta nel flusso normale della pagina e scorre con tutto il sito,
  senza una propria barra di scorrimento.
*/
@media screen and (max-width: 1023px) {
  html body.bw-redesign .bw-brochure-sidebar,
  html body.bw-redesign .bw-brochure-form {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.bw-redesign .bw-brochure-form {
    margin-top: .75rem !important;
    margin-bottom: .25rem !important;
  }

  html body.bw-redesign .bw-brochure-form > div.mb-5 {
    margin-bottom: .65rem !important;
  }

  html body.bw-redesign .bw-brochure-form .bw-brochure-consent label,
  html body.bw-redesign .bw-brochure-form .bw-brochure-consent a {
    font-size: .62rem !important;
    line-height: 1.18 !important;
  }
}

/* === END BIOWOOD FORM BROCHURE STICKY COMPLETO SENZA SCROLL INTERNO === */


/* === BIOWOOD CAMPO MESSAGGIO BROCHURE PIU ALTO === */

/*
  Mantiene il campo Messaggio nella colonna destra, ma lo rende più alto
  sfruttando lo spazio verticale disponibile nel riquadro.
*/
@media screen and (min-width: 1024px) {
  html body.bw-redesign .bw-brochure-form .bw-brochure-message-field textarea {
    width: 100% !important;
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
    padding: .45rem .55rem !important;
    resize: none !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 1023px) {
  html body.bw-redesign .bw-brochure-form .bw-brochure-message-field textarea {
    width: 100% !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    resize: none !important;
    box-sizing: border-box !important;
  }
}

/* === END BIOWOOD CAMPO MESSAGGIO BROCHURE PIU ALTO === */


/* === BIOWOOD FORM CONTATTI COME FORM BROCHURE === */

/* Desktop: stesso impianto compatto del form brochure, senza scroll interno. */
@media screen and (min-width: 1024px) {
  html body.bw-redesign .bw-contact-sidebar {
    position: sticky !important;
    top: .5rem !important;
    align-self: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: .75rem !important;
  }

  html body.bw-redesign .bw-contact-heading {
    margin: 0 0 .4rem !important;
    font-size: .82rem !important;
    line-height: 1.25 !important;
  }

  html body.bw-redesign .bw-contact-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: .55rem !important;
    row-gap: .42rem !important;
    width: 100% !important;
    max-width: none !important;
    margin: .35rem 0 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.bw-redesign .bw-contact-form > div.mb-5 {
    margin: 0 !important;
    min-width: 0 !important;
  }

  html body.bw-redesign .bw-contact-form > div.mb-5 > label {
    display: block !important;
    margin: 0 0 .12rem !important;
    font-size: .67rem !important;
    line-height: 1.1 !important;
  }

  html body.bw-redesign .bw-contact-form input[type="text"],
  html body.bw-redesign .bw-contact-form input[type="email"],
  html body.bw-redesign .bw-contact-form input[type="tel"] {
    width: 100% !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: .32rem .48rem !important;
    font-size: .78rem !important;
    line-height: 1.15 !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-message-field textarea {
    width: 100% !important;
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
    padding: .45rem .55rem !important;
    font-size: .78rem !important;
    line-height: 1.2 !important;
    resize: none !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: .4rem !important;
    width: 100% !important;
    margin: .05rem 0 0 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent-text {
    display: block !important;
    min-width: 0 !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent label {
    display: inline !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 21 !important;
    font-size: .62rem !important;
    line-height: 1.18 !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent a {
    display: block !important;
    margin-top: .18rem !important;
    text-decoration: underline !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 21 !important;
    font-size: .62rem !important;
    line-height: 1.18 !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-submit {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: .25rem 0 0 !important;
    padding: .55rem .7rem !important;
    font-size: .82rem !important;
    line-height: 1.1 !important;
  }
}

/* Tablet e smartphone: flusso normale della pagina e checkbox sempre cliccabile. */
@media screen and (max-width: 1023px) {
  html body.bw-redesign .bw-contact-sidebar,
  html body.bw-redesign .bw-contact-form {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.bw-redesign .bw-contact-form {
    margin-top: .75rem !important;
    margin-bottom: .25rem !important;
  }

  html body.bw-redesign .bw-contact-form > div.mb-5 {
    margin-bottom: .65rem !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-message-field textarea {
    width: 100% !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    resize: none !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: .55rem !important;
    position: relative !important;
    z-index: 20 !important;
    overflow: visible !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent label,
  html body.bw-redesign .bw-contact-form .bw-contact-consent a {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 21 !important;
    font-size: .72rem !important;
    line-height: 1.25 !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-consent a {
    display: block !important;
    margin-top: .2rem !important;
    text-decoration: underline !important;
  }

  html body.bw-redesign .bw-contact-form .bw-contact-submit {
    width: 100% !important;
  }
}

/* === END BIOWOOD FORM CONTATTI COME FORM BROCHURE === */


/* === BIOWOOD MOBILE SCHEDE VERTICALI COME RIFERIMENTO === */
@media screen and (max-width: 767px) {
  /*
    Logo in alto e due schede una sotto l'altra:
    immagine a sinistra, testo a destra.
  */
  html body.bw-redesign .bio-header > .bw-header-layout,
  html body.bw-redesign .bw-header-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "logo"
      "eys"
      "edge" !important;
    width: 100% !important;
    row-gap: .9rem !important;
    column-gap: 0 !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-header-logo-block {
    grid-area: logo !important;
    width: 100% !important;
  }

  html body.bw-redesign .bw-header-promo--eys {
    grid-area: eys !important;
  }

  html body.bw-redesign .bw-header-promo--edge {
    grid-area: edge !important;
  }

  html body.bw-redesign .bw-header-promo--eys,
  html body.bw-redesign .bw-header-promo--edge {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: .8rem !important;

    width: 100% !important;
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;

    margin: 0 !important;
    padding: .85rem 1rem !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo img,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--eys .bw-top-promo span,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo span {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    text-align: left !important;
    font-size: 1rem !important;
    line-height: 1.14 !important;
    font-weight: 800 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media screen and (max-width: 430px) {
  html body.bw-redesign .bw-header-promo--eys .bw-top-promo,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo {
    grid-template-columns: minmax(0, 41%) minmax(0, 59%) !important;
    gap: .65rem !important;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    padding: .7rem .8rem !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo img,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo img {
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
  }

  html body.bw-redesign .bw-header-promo--eys .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo__text,
  html body.bw-redesign .bw-header-promo--eys .bw-top-promo span,
  html body.bw-redesign .bw-header-promo--edge .bw-top-promo span {
    font-size: .88rem !important;
  }
}
/* === END BIOWOOD MOBILE SCHEDE VERTICALI COME RIFERIMENTO === */

/* === BIOWOOD 2026-07-29: fascia dati centrata e tre colonne uniformi === */
@media screen and (min-width: 768px) {
  html body.bw-redesign .bw-proof-strip {
    width: min(1180px, calc(100% - 64px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body.bw-redesign .bw-proof-strip > .bw-proof-item {
    width: auto !important;
    min-width: 0 !important;
    grid-column: auto !important;
  }
}
/* === END BIOWOOD FASCIA DATI CENTRATA === */
