/*
Theme Name: lessiniabox
Author: BAOBLA
Version: 1.0
Text Domain: lessiniabox
*/

:root {
	--brand: #5E6738;
	--legno: #5A3C12;
	--text: #534A42;
	--pietra: #BAA995;
	--bosco: #A34124;
	--fieno: #DCC060;
	--panna: #F3EADB;
	--bg: #F5F3ED;
	--darkgray: #787E81;
	--lightgray: #CCCCCC;
}



body {
  font-family: ofelia-display, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: var(--text);
	background: var(--bg);
	font-size: var(--fs-20);
	line-height: var(--lh-normal);
  overflow-x: hidden;
}
@media (max-width: 980px) {
  html {
    overflow-x: hidden;
  }
	body {
    font-size: var(--fs-18);
    line-height: var(--lh-loose);
	}
}


a {
	color: var(--text);
}
a:hover {
	color: var(--brand);
}


.btn {
  background: var(--brand);
  color: var(--panna);
  border-radius: 5px;
  font-size: var(--fs-16);
  font-weight: 500;
}
.btn:hover {
  background: var(--panna);
  color: var(--brand);
}
.btn-light {
  background: var(--panna);
  color: var(--brand);
  font-size: var(--fs-24);
  text-transform: none;
  padding: 12px 40px;
}
.btn-light:hover {
  color: var(--panna);
  background: var(--brand);
}

.sec__editor .btn {
  min-width: 360px;
  letter-spacing: .12rem;
  padding: 16px 40px;
}



h2 {
  font-size: var(--fs-48);
  line-height: var(--lh-loose);
  margin: 20px 0;
}


hr {
  background: #707070;
}


@media (max-width: 980px) {
	h2 {
    font-size: var(--fs-32);
    line-height: var(--lh-tight);
  }
  .boxPreview .btn.btn-light {
    width: 100%;
    font-size: var(--fs-20);
    letter-spacing: .14rem;
  }
}


/* ================================
   Spacer (ACF Flex)
================================ */

:root {
  --space-xs: 12px;
  --space-sm: 20px;
  --space-md: 40px;
  --space-lg: 70px;
  --space-xl: 110px;
  --space-2xl: 160px;
}

.sec__spacer {
  height: var(--space-md);
}

/* Desktop token */
.sec__spacer[data-space-d="xs"] { height: var(--space-xs); }
.sec__spacer[data-space-d="sm"] { height: var(--space-sm); }
.sec__spacer[data-space-d="md"] { height: var(--space-md); }
.sec__spacer[data-space-d="lg"] { height: var(--space-lg); }
.sec__spacer[data-space-d="xl"] { height: var(--space-xl); }
.sec__spacer[data-space-d="2xl"] { height: var(--space-2xl); }

/* Tablet override */
@media (max-width: 1024px) {
  .sec__spacer[data-space-t="xs"] { height: var(--space-xs); }
  .sec__spacer[data-space-t="sm"] { height: var(--space-sm); }
  .sec__spacer[data-space-t="md"] { height: var(--space-md); }
  .sec__spacer[data-space-t="lg"] { height: var(--space-lg); }
  .sec__spacer[data-space-t="xl"] { height: var(--space-xl); }
  .sec__spacer[data-space-t="2xl"] { height: var(--space-2xl); }
}

/* Mobile override */
@media (max-width: 790px) {
  .sec__spacer[data-space-m="xs"] { height: var(--space-xs); }
  .sec__spacer[data-space-m="sm"] { height: var(--space-sm); }
  .sec__spacer[data-space-m="md"] { height: var(--space-md); }
  .sec__spacer[data-space-m="lg"] { height: var(--space-lg); }
  .sec__spacer[data-space-m="xl"] { height: var(--space-xl); }
  .sec__spacer[data-space-m="2xl"] { height: var(--space-2xl); }
}

.sec__divider hr {
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.12);
}






.boxed_layout {
  position: relative;
}
.boxed_layout::before {
  background: #fff;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  max-width: 1248px;
  left: calc(50vw - 624px);
  top: 0;
}
.boxed_layout + .siteFooter {
  margin-top: 0;
}
.tax-product_cat .wcMain > .container:first-child::before,
.post-type-archive-product .wcMain > .container:first-child::before {
  background: #fff;
  position: absolute;
  content: "";
  width: calc(100% + 60px);
  height: 100%;
  z-index: -1;
  max-width: inherit;
  left: -30px;
  top: 0;
}
@media (max-width: 1248px) {
  .boxed_layout::before {
    left: 0;
  }
}
@media (max-width: 790px) {
  
  .tax-product_cat .wcMain > .container:first-child::before,
  .post-type-archive-product .wcMain > .container:first-child::before {
    width: calc(100% + 46px);
  }
  
}




/* HEADER */
.siteHeader {
  position: relative;
  z-index: 100;
}

/* TOPBAR scorre */
.topbar {
  background: var(--panna);
  font-size: var(--fs-14);
}

.topbar__row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
}

.topbar__msg {
  margin: 0 auto;
  text-align: center;
}

.topbar__lang {
  position: absolute;
  right: 0;
}
@media (max-width: 790px) {
  .topbar__lang {
    right: calc(50% - 32px);
    top: 60px;
    z-index: 9;
    color: var(--panna);
  }
  body:not(.home) .topbar__lang {
    display: none;
  }
}


/* MAIN HEADER base */
.mainHeader {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  top: 0;
  position: relative;
  z-index: 200;
  box-shadow: 0 2px 5px rgba(0,0,0,.07);
  width: 100vw;
}
.mainHeader.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mainHeader__row {
  align-items: center;
  padding: 18px 0;
}

/* Columns */
.mainHeader__left {
  display: flex;
  align-items: center;
  gap: 26px;
}
.mainHeader__center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mainHeader__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

/* Links left */
.mainHeader__linkExt {
  font-size: var(--fs-14);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.mainHeader__linkExt--bold {
  font-weight: 700;
}

/* Logo */
.mainHeader__logo img {
  display: block;
}

/* Icon buttons */
.iconBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--text);
}
.iconBtn:hover {
  color: var(--brand);
}
.icon {
  display: inline-flex;
}
.cartCount {
  font-size: var(--fs-14);
  background: var(--brand);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-weight: 500;
  color: #fff;
}

/* Burger */
.burger {
  width: 42px;
  height: 42px;
  padding: 6px;
}
.burger__lines {
  width: 30px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}
.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: currentColor;
}
.burger__lines::before { top: -9px; }
.burger__lines::after { top: 9px; }

/* HOME - stato iniziale: overlay */
.is-home .mainHeader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  z-index: 300;
  box-shadow: none;
}

/* In home, all'inizio mostri solo burger + icone */
.is-home .mainHeader:not(.is-stuck) .mainHeader__logo,
.is-home .mainHeader:not(.is-stuck) .mainHeader__linkExt {
  opacity: 0;
  pointer-events: none;
}

/* In home, all'inizio icone e burger panna */
.is-home .mainHeader:not(.is-stuck) .iconBtn,
.is-home .mainHeader:not(.is-stuck) .burger {
  color: var(--panna);
}

/* HOME - dopo scroll: diventa come pagine */
.is-home .mainHeader.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 400;
  box-shadow: 0 2px 5px rgba(0,0,0,.07);
}

/* In home, dopo scroll: torna tutto visibile */
.is-home .mainHeader.is-stuck .mainHeader__logo,
.is-home .mainHeader.is-stuck .mainHeader__linkExt {
  opacity: 1;
  pointer-events: auto;
}

/* In home, dopo scroll: colori normali */
.is-home .mainHeader.is-stuck .iconBtn,
.is-home .mainHeader.is-stuck .burger {
  color: var(--text);
}

/* Se vuoi che l'icona carrello resti bosco anche dopo scroll */
.is-home .mainHeader.is-stuck .icon--cart {
  color: var(--bosco);
}


@media (min-width: 790px) {
  body:not(.home).has-sticky {
    padding-top: 79px;
  }
}



/* Responsive */
@media (max-width: 980px) {
  .topbar__msg {
    letter-spacing: -0.01rem;
    font-size: 13px;
  }
  .mainHeader__linkExt { display: none; }
  .mainHeader__row { padding: 14px 0; }
  
  .mainHeader {
    pointer-events: none;
  }
  .mainHeader button,
  .mainHeader a {
    pointer-events: auto;
  }
}
@media (max-width: 790px) {
  
  .mainHeader__right .iconBtn:first-child {
    display: none;
  }
  .mainHeader__logo img {
    transform: scale(1.5);
  }
  
}





.no-scroll { overflow: hidden; }

/* Drawer base (se già ce l'hai, tieni solo le parti nuove) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(700px, 86vw);
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

/* open state */
.drawer.is-open {
  pointer-events: auto;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }

/* Top bar */
.drawerTop {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  max-width: 320px;
  min-width: 320px;
}

.drawerTop__close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--pietra);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}

.drawerTop__title {
  font-size: var(--fs-18);
  color: var(--text);
  margin-right: auto;
}

.drawerTop__account {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: var(--fs-18);
  font-weight: 500;
}
.drawerTop__account:hover { color: var(--brand); }

.drawerTop__accountIcon svg { display:block; }

/* Body */
.drawerBody {
  padding: 0 22px 18px 26px;
  overflow: auto;
  max-width: 320px;
  min-width: 364px;
  position: relative;
  height: calc(100% - 100px);
  align-content: center;
}

/* Menu list as "separators" */
.drawerMenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawerMenu > li {
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding: 4vh 0;
  margin: 0;
}


.drawerMenu a {
  display: block;
  font-size: var(--fs-24);
  color: var(--text);
  font-weight: 400;
}

.drawerMenu a:hover {
  color: var(--brand);
}
.drawerMenu li.current-menu-item a {
  color: var(--brand);
  font-weight: 500;
}

/* Evidenzia voce corrente (o quella che vuoi in verde) */
.drawerMenu .current-menu-item > a,
.drawerMenu .current_page_item > a {
  color: var(--brand);
}

.drawerMenu #menu-item-165 a {
  font-weight: 700;
}

.drawerNav {
  position: relative;
}

/* Supporto row */
.drawerSupport {
  position: absolute;
  right: 20px;
  bottom: 4vh;
  border: 0;
}

.drawerSupport svg {
  display: block;
  width: 34px;
  height: 34px;
}

/* Mobile spacing */
@media (max-width: 790px) {
  .drawerTop { padding: 16px 18px; }
  .drawerBody { padding: 22px 18px 16px; min-width: 100%; }
  .drawerMenu a { font-size: var(--fs-22); }
}





/* FOOTER */
.siteFooter {
  margin-top: 80px;
}

/* Fascia scura */
.footerTop {
  background: var(--text); /* #534A42 */
  color: var(--bg);
  padding: 70px 0 0;
}

.footerTop__inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-bottom: var(--pd-md);
}

.footerBrand {
  display: flex;
  justify-content: center;
}
.footerBrand img {
  display: block;
  max-width: 260px;
  height: auto;
}

/* Colonne */
.footerCols {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footerCol {
  flex: 1 1 0;
  min-width: 0;
}

.footerCol--left { max-width: 320px; }
.footerCol--center { max-width: 380px; text-align: center; }
.footerCol--right { max-width: 320px; text-align: right; }

.footerCol__title {
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pietra);
  margin-bottom: 42px;
}

/* Lista sinistra */
.footerList {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footerItem + .footerItem {
  margin-top: 18px;
}

.footerLink {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--bg);
  font-size: var(--fs-16);
}
.footerLink:hover {
  color: var(--fieno);
}

.footerIcon {
  display: inline-flex;
  width: 34px;
  justify-content: center;
  color: var(--bg); /* per mail/faq currentColor */
}
.footerIcon svg {
  display: block;
}

/* Instagram */
.igBtn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 18px;
  color: var(--fieno); /* #DCC060 */
}
.igBtn:hover {
  opacity: 0.9;
}
.igBtn__icon svg {
  display: block;
}

.footerIgText {
  color: var(--fieno);
  font-size: var(--fs-16);
  line-height: var(--lh-tight);
}

/* Menu WP (destra) */
.footerMenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footerMenu li + li {
  margin: 4px 0 0 0;
}
.footerMenu a {
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: var(--fs-14);
  font-weight: 500;
}
.footerMenu a:hover {
  color: var(--fieno);
}
.footerMenu li.small a {
  font-size: var(--fs-14);
  font-weight: 400;
  text-transform: none;
}

/* sotto-menu (se WP li genera) */
.footerMenu .sub-menu {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.footerMenu .sub-menu li + li {
  margin-top: 10px;
}
.footerMenu .sub-menu a {
  text-transform: none;
  font-weight: 400;
  opacity: 0.8;
}

/* Fascia pagamenti (bg) */
.footerPay {
  background: var(--bg);
  padding: 26px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footerPay__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footerPay__label {
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
}

.footerPay__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footerPay__logos img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.95;
}

/* Fascia finale bianca */
.footerBottom {
  background: #fff;
  padding: 30px 0 80px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footerBottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footerBottom__left {
  font-size: var(--fs-14);
  color: var(--text);
}
.footerBottom__right {
  font-size: var(--fs-14);
  color: var(--text);
}
.footerCredit {
  font-weight: 700;
  color: var(--text);
}
.footerCredit:hover {
  color: var(--brand);
}

/* Responsive */
@media (max-width: 980px) {
  .footerCols {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
  }

  .footerCol--left,
  .footerCol--center,
  .footerCol--right {
    max-width: none;
    text-align: left;
  }

  .footerCol--center {
    text-align: center;
  }

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

  .footerPay__inner {
    gap: 18px;
  }
  
  .footerBrand img {
    max-width: 160px;
  }
  .footerCol__title {
    text-align: center;
  }
  
  .footerList {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  .footerList li {
    align-content: center;
    transform: scale(2);
  }
  .footerList .footerText {
    display: none;
  }
  .footerItem,
  .footerItem + .footerItem {
    margin: 0;
  }
  
  .footerCol--center .footerCol__title {
    margin-bottom: 10px;
    border-top: 1px solid var(--pietra);
    padding-top: 30px;
  }
  
  .footerCol--right .footerCol__title {
    margin-bottom: 10px;
    border-top: 1px solid var(--pietra);
    padding-top: 30px;
  }
  .footerMenu {
    text-align: center;
  }
  .footerBottom__inner {
    text-align: center;
    justify-content: center;
  }
}










/* =========================
   EDITOR
========================= */

.sec__editor {
  background: var(--sec-bg, transparent);
  padding: 50px 0;
}
.bigText {
  font-size: var(--fs-24);
}
.sec__editor + .sec__editor {
  padding-top: 0;
}

@media (max-width: 980px) {
  .bigText {
    font-size: var(--fs-20);
    line-height: 1.4;
  }
}









/* =========================
   HERO HOME
========================= */
.sec__hero_home {
  position: relative;
  min-height: calc(100vh - 40px);
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
  padding-top: 70px;
  box-sizing: border-box;
}
.hero__logo {
  height: auto;
  margin: 0 auto;
  max-width: 190px;
}
.hero__content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 3rem);
}

/* Colonna prodotti */
.hero__products {
  position: relative;
  z-index: 3;
}
.hero__products img {
  width: min(680px, 100%);
  height: auto;
  object-fit: contain;
}
/* Colonna testi */
.hero__text {
  position: relative;
  z-index: 2;
  min-width: calc(100% + 260px);
  margin-left: -190px;
  color: #fff;
}
.hero__text h1 {
  font-size: var(--fs-64);
  font-style: italic;
  line-height: var(--lh-flat);
  margin: 20px 0;
}
.hero__text p {
  font-size: var(--fs-24);
  color: var(--panna);
  margin-bottom: 30px;
}


#anchor {
  position: absolute;
  padding: 20px;
  bottom: 0;
  left: calc(50% - 29px);
  cursor: pointer;
  z-index: 9;
  display: block;
}

.heading__mobile {
  margin-top: 30px;
}
.heading__mobile h1 {
  font-size: var(--fs-40);
  color: var(--brand);
  font-style: italic;
}
.heading__mobile p {
  font-size: var(--fs-24);
  line-height: 1.2;
  margin: 24px 0;
}
.heading__mobile .btn.btn-light {
  padding: 16px 24px;
  width: 100%;
  background: var(--brand);
  color: var(--panna);
  text-transform: uppercase;
  font-weight: 500;
  font-size: var(--fs-16);
  letter-spacing: .2rem;
}

/* =========================
   HERO ANIMATIONS
========================= */

.sec__hero_home .hero__logo,
.sec__hero_home .hero__products,
.sec__hero_home .hero__text,
.sec__hero_home #anchor {
  opacity: 0;
  transition: 
    opacity .8s cubic-bezier(.16,1,.3,1),
    transform .9s cubic-bezier(.16,1,.3,1);
}

/* Logo */
.sec__hero_home .hero__logo {
  transform: translateY(-30px);
}

/* Prodotti */
.sec__hero_home .hero__products {
  transform: translateX(-80px) scale(.95);
}

/* Testo */
.sec__hero_home .hero__text {
  transform: translateX(80px);
}

/* Anchor*/
.sec__hero_home #anchor {
  transform: translateY(-80px);
  transition-delay: 1.2s;
}


.hero__text > * {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity .6s cubic-bezier(.16,1,.3,1),
    transform .6s cubic-bezier(.16,1,.3,1);
}

.sec__hero_home.is-animated .hero__text > * {
  opacity: 1;
  transform: translateY(0);
}

.sec__hero_home.is-animated .hero__text > *:nth-child(1){ transition-delay: .7s; }
.sec__hero_home.is-animated .hero__text > *:nth-child(2){ transition-delay: .85s; }
.sec__hero_home.is-animated .hero__text > *:nth-child(3){ transition-delay: 1s; }

/* =========================
   HERO ANIMATIONS - ACTIVE STATE
========================= */

.sec__hero_home.is-animated .hero__logo{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}

.sec__hero_home.is-animated .hero__products{
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: .4s;
}

.sec__hero_home.is-animated .hero__text{
  opacity: 1;
  transform: translateX(0);
  transition-delay: .6s;
}

.sec__hero_home.is-animated #anchor{
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce){
  .sec__hero_home .hero__logo,
  .sec__hero_home .hero__products,
  .sec__hero_home .hero__text,
  .hero__text > *{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 980px) {

  .hero__logo {
    margin: 20px auto 10px;
  }
  .hero__products {
    margin-left: -20px;
  }
  .heading__mobile h1 {
    line-height: 1;
  }
}











/* =========================
   CARD SECTION
========================= */

.sec__cards{
  position: relative;
  width: 100%;
}

/* wrapper che gestisce lo sfondo opzionale */
.sec__cards__inner{
  position: relative;
  padding-block: var(--pd-md);
}

/* se c'è l'immagine di sfondo, la uso */
.sec__cards[style*="--card-bg"] .sec__cards__inner{
  /* “fascia foto” sopra + contenuto sotto */
  padding-top: 300px;
  padding-bottom: 0;
}

.sec__cards[style*="--card-bg"]{
  background-image: var(--card-bg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* =========================
   Grid cards
========================= */

.cardsGrid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centra se 1 o 2 */
  gap: var(--gutter);
}

/* max 4 per riga */
.cardBox{
  flex: 0 0 calc(33.333% - (var(--gutter) * 0.75)); /* 3 colonne */
  background: var(--bg);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  padding: 44px;
  text-align: center;
  min-height: 280px; /* tutte simili */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* icona */
.cardBox__icon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.cardBox__icon svg{
  width: 42px;
  height: auto;
  display: block;
}

/* titolo */
.cardBox__title{
  font-size: var(--fs-24);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  color: var(--brand);
}

/* testo */
.cardBox__text{
  color: #6b5e4a;
  font-size: var(--fs-18);
  line-height: var(--lh-normal);
  text-align: left;
}
.cardBox__text strong{
  font-weight: 700;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1024px){
  .cardBox{
    flex: 0 0 calc(50% - (var(--gutter) * 0.5)); /* 2 colonne */
  }
}

@media (max-width: 790px){
  .cardBox{
    flex: 0 0 100%; /* 1 colonna */
  }
  .sec__cards[style*="--card-bg"] .sec__cards__inner {
    padding-top: 90px;
  }
}



.sec__cards:not([style*="--card-bg"]) .cardBox__title {
  color: var(--legno);
  font-size: var(--fs-24);
  line-height: var(--lh-normal);
  text-transform: none;
  text-align: left;
}
.sec__cards:not([style*="--card-bg"]) .cardBox {
  padding: 20px;
  border-radius: 0;
  position: relative;
  background: transparent;
}
.sec__cards:not([style*="--card-bg"]) .cardBox:not(:last-child)::after {
  border-right: 1px solid var(--pietra);
  height: 100%;
  right: -20px;
  top: 0;
  content: "";
  position: absolute;
}





.post-type-archive-product .editor__narrow.wysiwyg h2,
.tax-product_cat .editor__narrow.wysiwyg h2 {
  font-size: var(--fs-28);
  text-align: center;
}

.wcMain > .container:first-child {
  position: relative;
}
.post-type-archive-product .siteFooter {
  margin-top: 0;
}



.woocommerce nav.woocommerce-pagination {
  padding: 30px 0 50px;
}
.woocommerce nav.woocommerce-pagination ul {
  border: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li {
  min-width: 50px;
  border: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--panna);
  color: var(--brand);
}






/* ================================
   Product Card
================================ */
.pCard {
  display: flex;
  flex-direction: column;
}
/* Media + Badges */
.pCard__media {
  position: relative;
}
.pCard__badges {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.pBadge {
  display: inline-block;
  padding: 10px 16px;
  font-size: var(--fs-14);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
}
.pBadge--esaurito {
  background: var(--bosco);
}
.pBadge--ultimi {
  background: var(--fieno);
  color: var(--text);
}
.woocommerce ul.products li.product a img {
  margin: 0;
}
/* Body */
.pCard__body {
  padding: 18px;
  color: var(--text);
  background: #fff;
	position: relative;
	z-index: 1;
}
.pCard__cat {
  margin-top: 0px;
  font-size: var(--fs-12);
  line-height: var(--lh-normal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pCard__title {
  margin: 10px 0 12px;
  font-size: var(--fs-18);
  line-height: var(--lh-tight);
  font-weight: 500;
  color: var(--brand);
}
/* Prezzo WooCommerce */
.woocommerce .pCard .price {
  display: block;
  margin: 10px 0 18px;
  font-size: var(--fs-16);
  color: var(--text) !important;
  text-align: center;
  font-weight: 500 !important;
  text-decoration: none;
}
.woocommerce .pCard .price del {
  color: #ccc;
  font-weight: 500 !important;
  opacity: .4 !important;
  color: var(--text);
}
.woocommerce .pCard .price ins {
  font-weight: 500 !important;
  text-decoration: none;
}

/* Buy Section */
.pCard__buy {
}
.pCard__buy--disabled {
  opacity: 0.4;
  pointer-events: none;
}
.pCard__cart {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px 18px;
  background: #fff;
}

/* Quantity */
.pQty {
  display: flex;
  align-items: center;
  gap: 0px;
}
.pQty__btn {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent !important;
  font-size: var(--fs-16);
  line-height: 1;
  cursor: pointer;
  padding: 0 !important;
}

.pQty__input {
  width: 32px !important;

  border: 0;
  background: transparent !important;

  text-align: center;
  font-size: var(--fs-16) !important;
  padding: 0 !important;
}

/* Chrome, Safari, Edge */
.pQty__input::-webkit-outer-spin-button,
.pQty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
.pQty__input[type="number"] {
  -moz-appearance: textfield;
}


/* ================================
   Add to Cart
================================ */

.woocommerce ul.products li.product .button.pCard__add {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
    margin-left: 0px;
  margin-left: auto;
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--brand);}

.pCard__choose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pCard__cartIcon {
  font-size: 18px;
}


.pCard:hover .pCard__media::after {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.08)
  );
}





/* Card base transition */
.pCard {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Zoom immagine */
.pCard__media img {
  transition: transform 0.6s ease;
}

.pCard:hover .pCard__media img {
  transform: scale(1.04);
}

.pCard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(91, 95, 47, 0);
  transition: background 0.35s ease;
  pointer-events: none;
}

.pCard:hover .pCard__media::after {
  background: rgba(91, 95, 47, 0.08);
}

.pCard:hover .pCard__media::after {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.08)
  );
}


.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  overflow: hidden;
}

.pCard__add {
  transition: color 0.3s ease, transform 0.3s ease;
}

.pCard__add:hover {
  transform: translateX(4px);
}

.pCard__add .pCard__cartIcon {
  transition: transform 0.3s ease;
}

.pCard__add:hover .pCard__cartIcon {
  transform: translateX(4px);
}

.columns-3 .pCard__cat {
  font-size: var(--fs-12);
}
.columns-3 .pCard__title {
  font-size: var(--fs-24);
}
.columns-3 .pCard .price {
  font-size: var(--fs-20);
  margin-top: 20px;
}


@media (max-width: 790px) {
  .home .woocommerce ul.products[class*="columns-"] li.product,
  .home .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100%;
    float: none;
  }
  .home .woocommerce ul.products[class*="columns-"] li.product .pCard__title,
  .home .woocommerce-page ul.products[class*="columns-"] li.product .pCard__title {
    font-size: var(--fs-22);
  }
  .home .woocommerce ul.products[class*="columns-"] li.product .pCard__cat,
  .home .woocommerce-page ul.products[class*="columns-"] li.product .pCard__cat {
    font-size: var(--fs-14);
  }
  .home .woocommerce ul.products[class*="columns-"] li.product .price,
  .home .woocommerce-page ul.products[class*="columns-"] li.product .price {
    font-size: var(--fs-20) !important;
  }
  .home .woocommerce ul.products {
    flex-direction: column;
  }
}








/* ================================
   Shop Sticky Bar
================================ */

.shopBarWrap {
  position: sticky;
  top: var(--header-h, 79px);
  margin-bottom: 60px;
  z-index: 50;
  background: #5b5f2f;
}
body:not(.home).has-sticky {
  padding-top: var(--header-h, 79px);
}

.shopBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  min-height: 58px;
  padding: 7px 0;
  color: #ffffff;
}

/* Left / Right */
.shopBar__left,
.shopBar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================================
   Filters
================================ */

.shopFilters {
  position: static;
}

.shopFilters__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: var(--fs-16);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.shopFilters__chev {
  display: inline-block;
  transform: translateY(1px);
  transition: transform 0.25s ease;
}

.shopFilters__toggle[aria-expanded="true"] .shopFilters__chev {
  transform: rotate(180deg);
}

.shopFilters__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;

  width: 100%;
  max-width: none;
  min-width: 0;
  max-height: 65vh;
  overflow: auto;

  background: #f3f3f1;
  color: #111;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 32px;
  z-index: 60;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  
  box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}

/* importante: riferimento per absolute */
.shopBarWrap {
  position: sticky;
  top: var(--header-h, 79px);
  margin-bottom: 60px;
  z-index: 50;
  background: #5b5f2f;
}

/* top */
.shopFilters__top {
  margin-bottom: 26px;
}

.shopFilters__all {
  display: inline-block;
  line-height: 1.05;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

.shopFilters__all:hover {
  background: none;
}

.shopFilters__all.is-active {
  text-decoration: none;
}

/* layout generale */
.shopFilters__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shopFilters__list--columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.shopFilters__item--parent {
  padding: 8px 42px 8px 0;
  border-left: 1px solid rgba(0,0,0,0.14);
  padding-left: 42px;
}

.shopFilters__item--parent:first-child {
  padding-left: 42px;
}

/* titolo categoria padre */
.shopFilters__parentLabel {
  display: block;
  margin-bottom: 18px;
  color: #a7a095;
  line-height: 1.1;
  font-weight: 500;
}

/* sottolista */
.shopFilters__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shopFilters__sublist li + li {
  margin-top: 4px;
}

/* link figli */
.shopFilters__link {
  display: block;
  padding: 4px 0;
  color: #000;
  text-decoration: none;
  line-height: 1.25;
  font-weight: 500;
  border-radius: 0;
}

.shopFilters__link:hover {
  background: none;
  opacity: 0.7;
}

.shopFilters__link.is-active {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ================================
   Mobile
================================ */

@media (max-width: 790px) {
  
  html,
  body {
    overflow-x: visible !important;
  }
  
  
  .shopFilters__panel {
    padding: 20px 20px 28px;
  }

  .shopFilters__list--columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .shopFilters__item--parent {
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,0.14);
    padding: 22px 0;
  }

  .shopFilters__top {
    margin-bottom: 18px;
  }

  .shopFilters__parentLabel {
    margin-bottom: 14px;
  }

  .shopFilters__link {
  }
  
  .shopFilters__item--parent:first-child {
    padding-left: 0;
  }
}

/* ================================
   Ordering
================================ */

.shopOrdering {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shopOrdering__label {
  font-size: var(--fs-14);
  text-transform: uppercase;
  opacity: 0.95;
  white-space: nowrap;
}

/* Woo outputs: <form class="woocommerce-ordering"> <select class="orderby"> ... */
.shopOrdering .woocommerce-ordering {
  margin: 0;
}

.shopOrdering select.orderby {
  height: 44px;
  padding: 0 12px;

  border-radius: 12px;
  border: 0;

  background: rgba(255,255,255,0.14);
  color: #ffffff;

  outline: none;
}

.shopOrdering select.orderby option {
  color: #111;
}

/* ================================
   Responsive
================================ */

@media (max-width: 790px) {
  .shopBar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .shopBar__left,
  .shopBar__right {
    justify-content: space-between;
  }

  .shopFilters__panel {
    width: 100%;
    min-width: 0;
  }

  .shopOrdering__label {
    display: none;
  }
  
  .post-type-archive-product .editor__narrow.wysiwyg h2,
  .tax-product_cat .editor__narrow.wysiwyg h2 {
    text-align: left;
    font-size: var(--fs-32);
  }
  .shopBar {
    padding: 13px 0 0;
  }
  .shopBar__right {
    display: none;
  }
  
  
}



.shopFilters__link.is-active {
  background: rgba(91, 95, 47, 0.12);
  font-weight: 700;
}




/* ================================
   Ordering (Custom)
================================ */

.shopOrdering {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shopOrdering__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  background: transparent;
  border: 0;
  color: #ffffff;

  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  cursor: pointer;
  white-space: nowrap;
}

.shopOrdering__chev {
  transition: transform 0.25s ease;
}

.shopOrdering__toggle[aria-expanded="true"] .shopOrdering__chev {
  transform: rotate(180deg);
}

.shopOrdering__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  font-size: var(--fs-16);

  min-width: 280px;
  padding: 14px;

  background: #ffffff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}

.shopOrdering__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shopOrdering__item {
  margin: 0;
}

.shopOrdering__link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;

  color: inherit;
  text-decoration: none;
}

.shopOrdering__link:hover {
  background: rgba(91, 95, 47, 0.10);
}

.shopOrdering__link.is-active {
  background: rgba(91, 95, 47, 0.12);
  font-weight: 700;
}

/* Nascondo la select Woo ma la lascio nel DOM */
.shopOrdering__native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
}



.woocommerce .products ul,
.woocommerce ul.products {
  margin-bottom: 0;
}
.home .woocommerce ul.products {
  display: flex;
  justify-content: center;
}







.mainCatsWrap {
  padding: 60px 0;
}

.mainCats {
  position: relative;
}

.mainCats .swiper-slide {
  height: auto;
}

.mainCats__item {
  position: relative;
  display: block;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 1/1;
}

.mainCats__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s ease;
}

.mainCats__item:hover .mainCats__img {
  transform: scale(1.05);
}

.mainCats__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.025);
  transition: background 0.3s ease;
}

.mainCats__item:hover::after {
  background: rgba(0,0,0,0.35);
}

.mainCats__label {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;

  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0,0,0,.56);
}

/* Navigation arrows */

.mainCats__nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.mainCats__nav--prev {
  left: -22px;
}

.mainCats__nav--next {
  right: -22px;
}

.mainCats__nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 5l5 5-5 5'/%3E%3C/svg%3E") center/14px no-repeat;
}

.mainCats__nav--prev::after {
  transform: rotate(180deg);
}


/* Permette di far "intravedere" le slide fuori dal container */
.mainCatsWrap {
  overflow: visible;
}

.mainCatsWrap .container,
.mainCatsWrap .row,
.mainCatsWrap [class*="col-"] {
  overflow: visible;
}

/* IMPORTANTE: Swiper di default mette overflow hidden */
.mainCatsWrap .swiper {
  overflow: visible;
}

/* Il wrapper interno può rimanere normale */
.mainCatsWrap .swiper-wrapper {
  align-items: stretch;
}

/* Tieni le frecce sempre visibili anche fuori */
.mainCats__nav--prev { left: -22px; }
.mainCats__nav--next { right: -22px; }


@media (max-width: 790px){
  .mainCatsWrap {
    overflow: hidden;
  }
  .mainCats__nav--prev { left: -16px; }
  .mainCats__nav--next { right: -16px; }
}








/* Hero pagine Categoria */
.sec__hero_pagine_categoria {
  min-height: 550px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero_page_cat__title {
  background: #5E6738CC;
}
.hero_page_cat__title .row {
  min-height: 173px;
  justify-content: center;
  align-items: center;
}
.hero_page_cat__title h1 {
  text-align: center;
  font-size: var(--fs-48);
  line-height: var(--lh-tight);
  color: var(--panna);
}

@media (max-width: 790px){
  .hero_page_cat__title h1 {
    font-size: var(--fs-24);
  }
  .hero_page_cat__title .row {
    min-height: 90px;
  }
  .sec__hero_pagine_categoria {
    min-height: 385px;
  }
}




/* =========================
   ANTEPRIMA BOX
========================= */

.sec__boxPreview {
  --box-radius: 16px;
  --box-bg: var(--brand);
  --box-gap: clamp(18px, 2.2vw, 28px);
  --box-pad: clamp(22px, 5vw, 70px) clamp(18px, 8vw, 120px);
  padding: var(--pd-sm) 0;
}

/* wrapper cliccabile */
.boxPreview {
  display: grid;
  grid-template-columns: 0.97fr 1.03fr;
  border-top-right-radius: var(--box-radius);
  border-bottom-right-radius: var(--box-radius);
  overflow: hidden;
  text-decoration: none;
  background: var(--box-bg);
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
}

/* inverti: scambia colonne */
.sec__boxPreview.is-inverted .boxPreview {
  grid-template-columns: 1.03fr 0.97fr;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: var(--box-radius);
  border-bottom-left-radius: var(--box-radius);
}
.sec__boxPreview.is-inverted .boxPreview__media { order: 2; }
.sec__boxPreview.is-inverted .boxPreview__content { order: 1; }

/* =========================
   MEDIA
========================= */
.boxPreview__media {
  position: relative;
  overflow: hidden;
}
.boxPreview__media img {
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.boxPreview__media .pCard__badges {
  position: absolute;
  top: 0;
  right: 0;
  justify-content: flex-end;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.sec__boxPreview.is-inverted .boxPreview__media .pCard__badges {
  justify-content: flex-start;
}

/* badge */
.boxPreview__media .pCard__badges .pBadge {
  background: var(--box-bg) !important;
}

/* =========================
   CONTENT
========================= */

.boxPreview__content{
  padding: var(--box-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  color: #fff;
}

.boxPreview__kicker{
  font-size: var(--fs-16);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: .9;
}

.boxPreview__title {
  font-size: var(--fs-48);
  line-height: var(--lh-tight);
  font-weight: 500;
  margin: 0;
}

.boxPreview__desc{
  font-size: var(--fs-20);
  line-height: var(--lh-tight);
  letter-spacing: 0.05rem;
}

.boxPreview .btn.btn-light {
  color: var(--btn-hover-bg) !important;
}

/* =========================
   HOVER EFFECT (premium)
========================= */

.boxPreview:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 30px rgba(0,0,0,.15);
}

.boxPreview:hover .boxPreview__media img{
  transform: scale(1.04);
}

.boxPreview:hover .btn.btn-light {
  background: var(--btn-hover-bg, #000) !important;
  color: var(--panna) !important;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px){
  .boxPreview{
    grid-template-columns: 1fr;
  }
  .sec__boxPreview.is-inverted .boxPreview{
    grid-template-columns: 1fr;
  }
  .sec__boxPreview.is-inverted .boxPreview__media,
  .sec__boxPreview.is-inverted .boxPreview__content{
    order: initial;
  }

  .boxPreview__media{
    min-height: 320px;
  }
  .boxPreview__desc{
    max-width: 52ch;
  }
}

@media (max-width: 790px){
  .boxPreview__title{
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .boxPreview__desc{
    font-size: var(--fs-18);
  }
  .boxPreview {
    border-top-right-radius: inherit;
    border-bottom-left-radius: var(--box-radius);
    border-bottom-right-radius: var(--box-radius);
  }
  .boxPreview__media .pCard__badges {
    right: inherit;
    left: 0;
  }
  .columns-3 .pCard__badges .pBadge {
    font-size: var(--fs-12);
  }
  .columns-3 .pCard__cat {
    font-size: var(--fs-12);
  }
  .columns-3 .pCard__title {
    font-size: var(--fs-16);
    line-height: 1.2;
  }
}






/* =========================
   PRODUCT GALLERY - Thumbs left (absolute)
========================= */

.woocommerce div.product div.images{
  --thumb-col: 88px;   /* spazio colonna thumbs */
  --thumb-w:  63px;    /* larghezza thumb */
  --thumb-gap: 12px;

  position: relative;

  /* lascia lo spazio a sinistra per le thumbs */
  margin-left: 30px;
}

/* thumbs a sinistra */
.woocommerce div.product div.images .flex-control-thumbs{
  position: absolute;
  top: 0;
  left: calc(-1 * var(--thumb-col));
  width: var(--thumb-col);

  display: flex;
  flex-direction: column;
  gap: var(--thumb-gap);

  margin: 0;
  padding: 0;
  list-style: none;
}

/* singola thumb */
.woocommerce div.product div.images .flex-control-thumbs li{
  width: var(--thumb-w) !important;
  margin: 0 !important;
}

/* immagine thumb */
.woocommerce div.product div.images .flex-control-thumbs img{
  display: block;
  width: 100%;
  height: var(--thumb-w);
  object-fit: cover;
}

.single-product .product {
  margin-top: 42px;
}

.lb-gallery-sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

/* Mobile: torna normale */
@media (max-width: 790px){
  .woocommerce div.product div.images{
    margin-left: 0;
    width: 100%;
  }

  .woocommerce div.product div.images .flex-control-thumbs{
    position: static;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
  }

  .woocommerce div.product div.images .flex-control-thumbs li{
    flex: 0 0 var(--thumb-w);
  }
  
  .woocommerce-product-gallery.images{
    position: relative;
    /* top: calc(var(--header-h, 80px) + 24px) !important; */
  }
  .single-product .product {
    margin-top: 15px;
  }
}




  




/* =========================
   SINGLE PRODUCT - RIGHT
========================= */
.summary.entry-summary {
  padding-top: 90px; 
}
/* Categoria sopra titolo */
.pSingle__cat{
  font-size: var(--fs-16);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Titolo Woo */
.single-product .product_title{
  font-size: var(--fs-36);
  line-height: var(--lh-tight);
  margin: 0 0 14px;
  color: var(--brand);
}
.single-product .product_cat-box-lessinia .product_title{
  color: var(--tagbar-bg, var(--brand));
}

/* Short description */
.pSingle__short{
  font-size: var(--fs-18);
  color: var(--text);
  margin: 0 0 22px;
}
.pSingle__short p {
	margin-bottom: 10px;
}


/* =========================
   BUY: riga 1 (prezzo + qty) / riga 2 (bottone)
========================= */

.pSingle__buy{
  border-top: 1px solid #cecece;
  padding: 18px 0 0;
  margin: 18px 0 16px;
}

/* Riga 1: prezzo a sinistra */
.pSingle__buyRow1{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

/* Prezzo */
.pSingle__price{
  font-size: var(--fs-20);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
}
.pSingle__price del{ font-weight: 400; opacity: .65; }
.pSingle__price ins{ text-decoration: none; }

/* Form Woo: lo facciamo “neutro” */
.single-product div.product form.cart{
  margin: 0;
}

/* La quantity la voglio nella riga 1, a destra del prezzo */
.single-product div.product form.cart .quantity{
  margin: 0;
  float: none;
  display: flex;
  justify-content: flex-end;
}

/* Metto la quantity visivamente in alto a destra,
   allineata alla riga 1 */
.single-product .pSingle__buy form.cart .quantity{
  margin-top: -68px; /* regola fine: avvicina alla riga 1 */
}

/* Riga 2: bottone sotto e full width */
.pSingle__buyRow2{
  border-top: 1px solid #cecece;
  padding-top: 20px;
}

.single-product .single_add_to_cart_button{
  width: 100%;
  height: 54px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 18px;
  border-radius: 8px;
}

/* =========================
   QTY (qtyWrap +/-)
========================= */

.qtyWrap{
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #cecece;
  background: #fff;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  float: right;
  margin-top: -71px;
}

.qtyWrap input.qty{
  width: 52px !important;
  min-width: 52px;
  text-align: center;
  border: 0 !important;
  background: transparent;
  padding: 0 !important;
  font-weight: 500;
  -moz-appearance: textfield;
}
.qtyWrap input.qty::-webkit-outer-spin-button,
.qtyWrap input.qty::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.qtyWrap input.qty {
    -moz-appearance: textfield;
  font-size: var(--fs-16);
}

.qtyBtn{
  width: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--fs-16);
  line-height: 1;
  font-weight: 700;
  color: var(--text);
}
.qtyBtn--minus{ border-right: 1px solid #cecece; }
.qtyBtn--plus { border-left: 1px solid #cecece; }

/* Bottone add to cart */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) .summary.entry-summary button.button,
.pSingle__cart button.single_add_to_cart_button {
  flex: 1;
  height: 54px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 18px;
  border-radius: 6px;
  transition: transform .15s ease, opacity .2s ease, filter .2s ease;
  background-color: var(--brand) !important;
  font-size: var(--fs-16) !important;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.pSingle__cart button.single_add_to_cart_button:hover {
  opacity: .95;
  filter: brightness(.98);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.active,
.pSingle__cart button.single_add_to_cart_button:active {
  transform: translateY(1px);
}

/* Frase sotto */
.pSingle__note{
  text-align: center;
  color: var(--text);
  font-size: var(--fs-14);
  font-weight: 500;
  margin: 10px 0 48px;
}

/* =========================
   ACCORDION
========================= */

.pAcc{
  border-top: 1px solid #cecece;
}

.pAcc__item{
  border-bottom: 1px solid #cecece;
}

/* header summary */
.pAcc__head{
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pAcc__head::-webkit-details-marker{ display: none; }

.pAcc__title{
  font-size: var(--fs-18);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Chevron (SVG data-uri) */
.pAcc__chev{
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform .25s ease;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2714.828%27%20height%3D%278.414%27%20viewBox%3D%270%200%2014.828%208.414%27%3E%3Cpath%20d%3D%27M6%2C9l6%2C6%2C6-6%27%20transform%3D%27translate(-4.586%20-7.586)%27%20fill%3D%27none%27%20stroke%3D%27%235e6738%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20stroke-width%3D%272%27/%3E%3C/svg%3E");
}

.pAcc__item[open] .pAcc__chev{
  transform: rotate(180deg);
}

.pAcc__body{
  padding: 0 0 18px;
  color: var(--text);
  animation: accFade .18s ease-out;
	font-size: var(--fs-16);
}
.pAcc__body p{
	margin-bottom: 7px;
}
@keyframes accFade{
  from{ opacity: 0; transform: translateY(-4px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 790px){
  .pSingle__cart form.cart{
    flex-wrap: wrap;
  }
  .summary.entry-summary {
    padding-top: 0px;
    line-height: 1.4;
  }
  .lb-gallery-sticky {
    position: relative;
    top: 1px;
      
  }

}
@media (min-width: 790px) {
  .woocommerce div.product div.images {
    width: calc(58% - 78px);
    margin-left: 88px;
    position: sticky;
  }
  .woocommerce div.product div.summary {
    width: 38%;
  }
}



.related.products {
  position: relative;
  z-index: 1;
  padding: 50px 0;
}
.related.products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: 100vw;
  height: 100%;
  
  background: #fff;
  
  z-index: -1;
}
.related.products > h2 {
  font-size: var(--fs-28);
  line-height: var(--lh-tight);
  color: var(--legno);
  margin-bottom: 50px;
}


.single-product .siteFooter {
  margin-top: 0;
  position: relative;
}


.acfProductTagBar {
}


.acfProductTagBar__inner{
  font-weight: 500;
  font-size: var(--fs-14);
  letter-spacing: .1em;
  text-align: center;
  color: var(--panna);
  position: relative;
  z-index: 1;
  padding: 6px 0;
}
.acfProductTagBar__inner::before{
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  width: 100%;
  background: var(--tagbar-bg, #fff);
  z-index: -1;
}





/* wrapper */
.floatingCart {
  z-index: 99999;
  width: min(400px, calc(100vw - 24px));
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  transform: translate(-50%, -6px);
}

/* visibile */
.floatingCart.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* panel */
.floatingCart__panel {
  pointer-events: auto;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  padding: 22px 22px 18px;
  max-width: 400px;
}

/* freccia */
.floatingCart__panel::before{
  content:"";
  position:absolute;
  top:-10px;
  right: 50px;
  width: 18px;
  height: 18px;
  background:#fff;
  transform: rotate(45deg);
  box-shadow: -6px -6px 18px rgba(0,0,0,.06);
}

.floatingCart__title{
  font-size: var(--fs-18);
  line-height: var(--lh-tight);
  font-weight: 500;
  margin: 0 42px 10px 0;
  color: var(--text);
}

.floatingCart__text{
  font-size: var(--fs-16);
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.floatingCart__close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border:0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: var(--pietra);
  cursor:pointer;
}

.floatingCart__row{
  display:flex;
  align-items:center;
  gap: 18px;
}

.floatingCart__bar{
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: #cfcfcf;
  overflow:hidden;
}
.floatingCart__bar > span{
  display:block;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
}

.floatingCart__amount{
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.floatingCart__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:600;
}





.cartDrawer{
  position: fixed;
  inset: 0;
  z-index: 999999;
  opacity: 0;
  transition: opacity .18s ease;
}

.cartDrawer.is-open{ opacity: 1; }

.cartDrawer__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.cartDrawer__panel{
  position: absolute;
  top: 0;
  right: 0;
  width: min(570px, 92vw);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform .18s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 30px rgba(0,0,0,.18);
}

.cartDrawer.is-open .cartDrawer__panel{ transform: translateX(0); }

.cartDrawer__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
}

.cartDrawer__header{
  padding: 22px 20px 14px;
  border-bottom: 1px solid #cecece;
  width: 340px;
  margin: 0 auto;
  text-align: center;
}
.cartDrawer__title {
  font-size: var(--fs-18);
  line-height: var(--lh-tight);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12rem;
}

.cartDrawer__body{
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
}

.cartDrawer__footer{
  padding: 16px 20px;
  border-top: 1px solid #cecece;
  display: grid;
  gap: 10px;
}

.cartDrawer__btn{ width: 100%; text-align:center; }
.cartDrawer__link{ text-align:center; text-decoration: underline; }

/* blocca scroll pagina quando drawer aperto */
.has-cartdrawer{ overflow: hidden; }




.woocommerce-mini-cart.cart_list.product_list_widget {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 342px;
  margin: 0 auto;
}
.woocommerce-mini-cart.cart_list.product_list_widget li {
  border-bottom: 1px solid #cecece;
  padding: 10px 0;
}

.miniCartItem__row{
  display:flex;
  gap: 18px;
  align-items:flex-start;
}

.miniCartItem__thumb{
  width: 150px;
  flex: 0 0 150px;
}
.miniCartItem__thumb img{
  width:100% !important;
  height:auto;
  display:block;
}


.miniCartItem__content{
  flex: 1;
  max-width: 162px;
}

.miniCartItem__title{
  font-size: var(--fs-22);
  line-height: var(--lh-tight);
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--brand);
  text-align: center;
}

.miniCartItem__short_description {
  font-size: var(--fs-14);
  line-height: var(--lh-tight);
  max-height: 36px;
  overflow: hidden;
}

.miniCartItem__price{
  font-size: var(--fs-16);
  margin: 14px 0;
}

.miniCartItem__qty{
  align-items:center;
  margin-bottom: 12px;
  float: none;
  margin: 0;
}

.miniCartItem__remove{
  text-decoration: underline;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: var(--fs-12);
  line-height: var(--lh-tight);
  display: block;
  text-align: center;
  margin: 10px 0;
}


/* nasconde totale e bottoni nel mini-cart solo dentro il drawer */
#cartDrawer .woocommerce-mini-cart__total,
#cartDrawer .woocommerce-mini-cart__buttons{
  display:none !important;
}


.woocommerce-mini-cart__empty-message {
  text-align: center;
}




/* footer area */
.cartDrawer__footer{
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(0,0,0,.10);
  background: var(--bg);
}

#cartDrawerFooterInner {
  max-width: 342px;
  margin: 0 auto;
}

/* shipping progress */
.drawerShip__text{
  font-size: var(--fs-12);
  color: var(--text);
  margin-bottom: 12px;
}

.drawerShip__row{
  display:flex;
  align-items:center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0,0,0,.25);
  margin-bottom: 18px;
}

.drawerShip__bar{
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.15);
  overflow:hidden;
}
.drawerShip__bar span{
  display:block;
  height:100%;
  background:#5e6b34;
  border-radius:999px;
}

.drawerShip__amount{
  font-size: var(--fs-16);
  line-height: var(--lh-tight);
  font-weight: 700;
  color:#4b433b;
  white-space: nowrap;
}

/* subtotal block */
.drawerSubtotal{
  text-align:center;
  margin-bottom: 16px;
}

.drawerSubtotal__row{
  display:flex;
  justify-content:center;
  gap: 46px;
  align-items:baseline;
}

.drawerSubtotal__label{
  font-size: var(--fs-20);
  line-height: var(--lh-tight);
  letter-spacing: .12rem;
}

.drawerSubtotal__value{
  font-size: var(--fs-20);
  line-height: var(--lh-tight);
  font-weight: 700;
}

.drawerSubtotal__note {
  font-size: var(--fs-12);
  margin-top: 10px;
}

/* CTA + link */
.drawerCta{
  display:block;
  width:100%;
  text-align:center;
  padding: 16px 14px;
  border-radius: 10px;
  background: var(--brand);
  text-decoration:none;
  font-weight: 500;
  letter-spacing: .12em;
  margin-top: 14px;
  font-size: var(--fs-16);
  color: var(--panna);
}
.drawerCta:hover {
  color: #fff;
}

.drawerLink{
  display:block;
  text-align:center;
  font-size: var(--fs-12);
  text-decoration: underline;
  letter-spacing: .12rem;
  margin-top: 10px;
}

@media (max-width: 790px) {
  .drawer {
    overflow: hidden;
  }

  .drawer__panel {
    width: 86vw;
    max-width: 86vw;
  }

  .drawerTop,
  .drawerBody {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .drawerTop {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
  }
  .drawerBody,
  .drawerTop {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }
}





.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-2 {
  float: none;
  width: inherit;
}

.woocommerce-checkout.woocommerce-page {
  background: #fff;
}
.gi-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items:start;
}

@media (max-width: 980px){
  .gi-checkout-layout{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.gi-checkout-layout__right{
  position: sticky;
  top: 79px;
}

.gi-summary{
  background: var(--bg);
  padding: 32px 4vw;
}

.gi-summary__title {
  margin: 0 0 24px;
  font-size: var(--fs-18);
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #CECECE;
  padding-bottom: 24px;
}

.gi-summary__items {
  display:flex;
  flex-direction:column;
  gap: 16px;
  padding-bottom: 64px;
  border-bottom: 1px solid #CECECE;
  margin-bottom: 24px;
}

.gi-summary-item{
  display:grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items:center;
}

.gi-summary-item__thumb{
  position:relative;
  width:64px;
  height:64px;
}

.gi-summary-item__thumb img{
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius: 12px;
  display:block;
}

.gi-summary-item__qty{
  position:absolute;
  top:-8px;
  right:-8px;
  width:24px;
  height:24px;
  border-radius:999px;
  background:#fff;
  border:1px solid #707070;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: var(--fs-12);
  font-weight: 500;
}

.gi-summary-item__name {
  text-decoration:none;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  font-size: var(--fs-16);
  color: var(--brand);
}

.gi-summary-item__price{
  font-weight: 700;
  font-size: var(--fs-16);
  white-space:nowrap;
}

.gi-summary__totals{
  display:flex;
  flex-direction:column;
  gap: 10px;
  font-size: var(--fs-18);
}

.gi-summary-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  font-weight: 500;
}

.gi-summary-row--total{
  padding-top: 24px;
  border-top: 1px solid #CECECE;
  border-bottom: 1px solid #CECECE;
  padding-bottom: 24px;
  margin-top: 16px;
  font-size: var(--fs-18);
}
.gi-summary__totals .woocommerce-Price-amount,
.gi-summary-row--total .woocommerce-Price-amount {
  font-size: var(--fs-16);
}
.gi-summary-row--total .woocommerce-Price-amount {
  font-size: var(--fs-24);
}


.gi-summary-row--coupon {
  align-items: flex-start;
}

.gi-summary-row__remove-coupon {
  margin-left: 8px;
  font-size: 13px;
  text-decoration: underline;
  color: #900;
}

.gi-summary-row__remove-coupon:hover {
  opacity: 1;
}





/* Checkout – box "Sei già un cliente?" + "Codice promozionale" */
.woocommerce .woocommerce-form-login-toggle,
.woocommerce .woocommerce-form-coupon-toggle{
  margin: 0 0 18px;
}

.woocommerce .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info{
  position: relative;
  background: var(--bg);
  border: 0 !important;
  padding: 20px 60px 20px 22px;
  color: var(--text);
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.15;
  box-shadow: none;
  margin-bottom: 10px;
}
.woocommerce .woocommerce-form-login-toggle .woocommerce-info .showlogin,
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon {
  font-weight: 400;
  text-decoration: underline;
}

/* rimuove l’icona/quadratino di WooCommerce */
.woocommerce .woocommerce-info::before{
  display: none !important;
  content: none !important;
}

/* freccia a destra */
.woocommerce .woocommerce-form-login-toggle .woocommerce-info::after,
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info::after{
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: .65;
}

/* (opzionale, moderno) ruota la freccia quando il form è aperto
.woocommerce .woocommerce-form-login-toggle:has(+ form.login:not([style*="display:none"])) .woocommerce-info::after,
.woocommerce .woocommerce-form-coupon-toggle:has(+ form#woocommerce-checkout-form-coupon:not([style*="display:none"])) .woocommerce-info::after{
  transform: translateY(-50%) rotate(-135deg);
  opacity: .85;
} */

/* mobile: testo più piccolo */
@media (max-width: 790px){
  .woocommerce .woocommerce-form-login-toggle .woocommerce-info,
  .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info{
  }
  .woocommerce .woocommerce-form-login-toggle .woocommerce-info .showlogin,
  .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info .showcoupon {
    display: block;
  }
}



.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  margin-top: -18px;
  border-radius: 0px;
  background: var(--bg);
  border: 0px;
  font-size: var(--fs-16);
  line-height: 1.2;
}

.woocommerce-button,
.button:not(.pCard__add) {
  background: var(--brand) !important;
  color: #fff !important;
}
.woocommerce-button:hover,
.button:not(.pCard__add):hover {
  background: var(--legno) !important;
  color: #fff !important;
}



.woocommerce-billing-fields h3,
#order_review_heading,
.gi-payment-intro h3 {
  font-size: var(--fs-24);
  margin-top: 32px;
  margin-bottom: 12px;
}
.gi-payment-intro h3 {
  margin-bottom: 0;
}
.gi-payment-intro h3 + p {
  font-size: var(--fs-14);
  margin-bottom: 12px;
}


.checkout.woocommerce-checkout {
  font-size: var(--fs-16);
}


.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
  border-color: #787E81;
}

.woocommerce-page .col2-set .col-2,
.woocommerce-additional-fields {
  margin: 32px 0;
}




#billing_postcode_field,
#billing_state_field {
  width: 47%;
  float: left;
  clear: left;
}
#billing_city_field,
#billing_phone_field {
  width: 47%;
  float: right;
  clear: none;
}




/* Checkout: nel riepilogo lascia solo la sezione spedizioni */
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr:not(.woocommerce-shipping-totals) {
  display: none !important;
}

/* assicurati che la riga spedizioni resti visibile */
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals {
  display: table-row !important;
}



.woocommerce-shipping-totals.shipping th {
  display: none;
}
.woocommerce-shipping-totals.shipping td {
  border: 0 !important;
  padding: 0 !important;
}
.shop_table.woocommerce-checkout-review-order-table {
  border: 0;
  background: var(--bg);
  border-radius: 10px;
  padding: 24px;
}








/* Checkout - radio spedizioni "custom" */
.woocommerce-checkout ul#shipping_method li {
  position: relative;
  padding: 14px 14px 14px 54px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  margin: 10px 0;
  background: #fff;
}

/* nascondo il radio nativo */
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* area cliccabile */
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"] + label{
  display: block;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.3;
}

/* cerchio esterno */
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"] + label::before{
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0,0,0,.35);
  border-radius: 999px;
  background: transparent;
}

/* pallino interno quando checked */
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"]:checked + label::after{
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.75);
}

/* highlight riga selezionata */
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"]:checked ~ label,
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"]:checked + label{
  color: rgba(0,0,0,.85);
}

/* focus da tastiera */
.woocommerce-checkout ul#shipping_method input.shipping_method[type="radio"]:focus-visible + label::before{
  outline: 3px solid rgba(0,0,0,.18);
  outline-offset: 3px;
}


#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: #fff;
  border-radius: 0;
}

.wc_payment_methods.payment_methods.methods {
  background: var(--bg);
  border-radius: 10px;
}


#place_order {
  width: 100% !important;
  font-size: var(--fs-16) !important;
  font-weight: 500 !important;
  letter-spacing: .2rem;
  padding: 20px !important;
}

.woocommerce-privacy-policy-text {
  font-size: var(--fs-14);
  line-height: 1.2;
}



/* Checkbox custom */
input#terms[type="checkbox"],
#ship-to-different-address-checkbox,
#billing_invoice_request,
#createaccount {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--pietra);
  border-radius: 5px;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .1s ease;
  margin: 0 5px 0 0;
}

/* Check interno */
input#terms[type="checkbox"]::before,
#ship-to-different-address-checkbox::before,
#billing_invoice_request::before,
#createaccount::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--pietra);
  border-radius: 2px;
}

/* Quando è checked */
input#terms[type="checkbox"]:checked::before,
#ship-to-different-address-checkbox:checked::before,
#billing_invoice_request:checked::before,
#createaccount:checked::before {
  transform: scale(1);
}

/* Focus accessibile */
input#terms[type="checkbox"]:focus-visible,
#ship-to-different-address-checkbox:focus-visible,
#billing_invoice_request:focus-visible,
#createaccount:focus-visible {
  box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
}

/* Active */
input#terms[type="checkbox"]:active,
#ship-to-different-address-checkbox:active,
#billing_invoice_request:active,
#createaccount:active {
  transform: scale(0.95);
}

.shipping_address {
  padding-top: 20px;
}


#billing_invoice_request_field {
  font-size: var(--fs-18);
  font-weight: 700;
  padding: 0;
  margin-top: 20px;
}
#billing_invoice_request_field .optional {
  display: none;
}


.form-row.create-account {
  padding: 0 !important;
  margin: 17px 0 !important;
}


#invoice-extra-fields .optional {
  display: none !important;
}


.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper label,
.woocommerce-checkout #invoice-extra-fields label {
  display: none !important;
}



.lb-checkout-fastpay-title {
  text-align: center;
  font-weight: 500;
  font-size: var(--fs-18);
  margin-bottom: 10px;
}

#wc-stripe-express-checkout-button-separator {
  margin: 24px 0 !important;
  padding-top: 24px;
  border-top: 1px solid var(--pietra);
  font-size: 0 !important;
}
/* Mostra il nuovo testo */
#wc-stripe-express-checkout-button-separator::after {
  content: "o continua di seguito";
  font-size: var(--fs-14);
}



/* contenitore metodo */
.wc_payment_methods.payment_methods.methods {
  padding: 24px !important;
}
#payment .wc_payment_method.payment_method_stripe > label img,
.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}
#payment .wc_payment_method.payment_method_stripe > label {
  font-size: var(--fs-14) !important;
  border: 1px solid #b44d2a;
  border-top-right-radius: 12px;
  background: #efe7df;
  display: block;
  padding: 16px 24px;
  border-top-left-radius: 12px;
  margin: -24px -24px 0 -24px;
  
}

/* label "Carta di credito" */
#payment .wc_payment_method.payment_method_stripe > label {
  font-size: 28px;
  line-height: 1.2;
}

/* box che contiene l'elemento stripe */
#payment .wc_payment_method.payment_method_stripe .payment_box {
  background: transparent;
  border: 0;
  padding: 22px 0 0;
}

.wc_payment_methods.payment_methods.methods fieldset {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}


.woocommerce-terms-and-conditions-checkbox-text a {
  text-decoration: underline;
}


.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last,
#billing_postcode_field,
#billing_state_field,
#billing_city_field,
#billing_phone_field {
  width: 49%;
}

@media (max-width: 768px){
  
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last,
  .woocommerce-page form .form-row-first,
  .woocommerce-page form .form-row-last,
  #billing_postcode_field,
  #billing_state_field,
  #billing_city_field,
  #billing_phone_field {
    width: 100%;
  }
  
}








/* =========================
   THANK YOU / ORDER RECEIVED
========================= */

.woocommerce-order {
  max-width: 100%;
  color: #5a5148;
}

/* Messaggio iniziale */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.45;
  color: #5a5148;
}

/* =========================
   RIEPILOGO IN ALTO
========================= */

.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0 0 50px;
  padding: 24px 24px 24px 0;
  border-radius: 14px;
  background: var(--panna);;
  overflow: hidden;
}

.woocommerce-order-overview::before,
.woocommerce-order-overview::after {
  display: none !important;
}
.woocommerce-order-overview li {
  padding: 0 24px !important;
  margin: 0 !important;
  border-right: 1px solid var(--brand);
  font-size: var(--fs-12) !important;
  line-height: 1.35;
  text-transform: uppercase;
  color: #7b7268;
}

.woocommerce-order-overview li:last-child {
  border-right: 0 !important;
  margin-right: 0 !important;
}

.woocommerce-order-overview strong {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-14) !important;
  line-height: 1.35 !important;
  text-transform: none;
  font-weight: 500 !important;
  word-break: break-word;
}

/* =========================
   TITOLI SEZIONI
========================= */

.woocommerce-order-details__title,
.woocommerce-column__title {
  margin: 0 0 22px;
  font-size: var(--fs-24);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #5a5148;
}

.woocommerce-customer-details .woocommerce-column__title {
  font-size: var(--fs-20);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

/* =========================
   TABELLA DETTAGLI ORDINE
========================= */

.woocommerce-order-details {
  margin: 0 0 56px;
}

.woocommerce-table--order-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ddd6cd;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.woocommerce-table--order-details thead th {
  padding: 18px 18px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  color: #5a5148;
  background: var(--panna);;
  border-bottom: 1px solid #ddd6cd;
}

.woocommerce-table--order-details tbody td,
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
  padding: 18px 18px;
  font-size: 16px;
  line-height: 1.45;
  color: #5a5148;
  border-bottom: 1px solid #ece6de;
  vertical-align: top;
}

.woocommerce-table--order-details tbody tr:last-child td {
  border-bottom: 1px solid #ddd6cd;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: 0;
}

.woocommerce-table--order-details tfoot th {
  width: 55%;
  font-weight: 700;
  text-align: left;
  background: #fcfaf7;
}

.woocommerce-table--order-details tfoot td {
  background: #fcfaf7;
  font-weight: 600;
}

.woocommerce-table--order-details a {
  color: #5a5148;
  text-decoration: none;
}

.woocommerce-table--order-details a:hover {
  text-decoration: underline;
}

.woocommerce-table--order-details .product-quantity {
  font-weight: 700;
  color: #5a5148;
  white-space: nowrap;
}

/* Totale finale più evidente */
.woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
.woocommerce-table--order-details tfoot tr:nth-last-child(2) td {
  font-size: 18px;
  font-weight: 700;
}

/* IVA */
.woocommerce-table--order-details small.includes_tax {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #8a8177;
  font-weight: 400;
}

.woocommerce table.shop_table td {
  border-top: 0 !important;
}

/* =========================
   INDIRIZZI
========================= */

.woocommerce-customer-details {
  margin-top: 10px;
}

.woocommerce-customer-details .addresses::before,
.woocommerce-customer-details .addresses::after {
  display: none !important;
}

.woocommerce-customer-details .addresses > div {
  margin: 0 !important;
}

.woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.woocommerce .woocommerce-customer-details address {
  border: 0 !important;
  padding: 0 !important;
}

.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
  padding: 28px;
  border: 1px solid #ddd6cd;
  border-radius: 14px;
  background: #fcfaf7;
}

.woocommerce-customer-details address {
  margin: 0;
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: #5a5148;
}

.woocommerce-customer-details--email,
.woocommerce-customer-details--phone {
  margin: 14px 0 0;
  display: block;
  color: #5a5148;
}

/* =========================
   PREZZI
========================= */

.woocommerce-Price-amount {
  white-space: nowrap;
}

.woocommerce-Price-currencySymbol {
  margin-right: 3px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-order-overview li:nth-child(2n) {
    border-right: 0;
  }

  .woocommerce-order-overview li:nth-child(n + 3) {
    border-top: 1px solid #e5dfd7;
  }
}

@media (max-width: 767px) {
  .woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-overview li {
    border-right: 0;
    border-top: 1px solid #e5dfd7;
    padding: 18px 18px;
  }

  .woocommerce-order-overview li:first-child {
    border-top: 0;
  }

  .woocommerce-order-overview strong {
    font-size: 16px;
  }

  .woocommerce-order-details__title {
    margin-bottom: 18px;
  }

  .woocommerce-table--order-details thead {
    display: none;
  }

  .woocommerce-table--order-details,
  .woocommerce-table--order-details tbody,
  .woocommerce-table--order-details tr,
  .woocommerce-table--order-details td {
    display: block;
    width: 100%;
  }

  .woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #ddd6cd;
  }

  .woocommerce-table--order-details tbody td {
    border-bottom: 0;
    padding: 12px 16px;
  }

  .woocommerce-table--order-details .product-total {
    padding-top: 0;
    font-weight: 700;
  }

  .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .woocommerce-column--billing-address,
  .woocommerce-column--shipping-address {
    padding: 22px 18px;
  }
}




.woocommerce-MyAccount-content {
  position: relative;
  padding: 10px 20px;
  font-size: var(--fs-18);
}
.woocommerce-MyAccount-content p {
  margin-bottom: 20px;
}
.woocommerce-MyAccount-content::before {
  background: #fff;
  position: absolute;
  content: "";
  width: calc(100% + 60px);
  max-width: calc(100% + 60px);
  height: calc(100% + 100px);
  z-index: -1;
  left: -30px;
  top: -50px;
  min-height: calc(100vh - 120px);
}





/* Wrapper */
.woocommerce-MyAccount-navigation{
  background: transparent;
  padding-right: 6px;
}

/* Lista */
.woocommerce-MyAccount-navigation > ul{
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Riga */
.woocommerce-MyAccount-navigation > ul > li{
  margin: 0;
  border-bottom: 1px solid rgba(0,0,0,.12) !important;
}

.woocommerce-MyAccount-navigation > ul > li:last-child{
  border-bottom: 0;
}

/* Link */
.woocommerce-MyAccount-navigation a{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(0,0,0,.65);
}

/* Active */
.woocommerce-MyAccount-navigation .is-active > a{
  background: var(--fieno);
  color: rgba(0,0,0,.70);
}

/* SVG */
.woocommerce-MyAccount-navigation a svg{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 auto;
  overflow: visible;
}


/* Colore icone = colore testo (tranne logout che è rosso già) */
.woocommerce-MyAccount-navigation a svg [stroke]{
  stroke: currentColor;
}

/* Hover */
.woocommerce-MyAccount-navigation a:hover{
  background: rgba(0,0,0,.04);
}

/* Logout rosso */
.woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--customer-logout a{
  color: #a34124;
}



/* =========
   ICON BASE
   ========= */

.woocommerce-MyAccount-navigation a::before{
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: .9;
}

/* =========
   ICONS (mask-image)
   ========= */

/* Dashboard / Area personale (clipboard) */
.woocommerce-MyAccount-navigation-link--dashboard > a::before {
  background: url('assets/images/account/i-area-personale.svg') no-repeat center center / contain;
}

/* Orders / I miei ordini (package) */
.woocommerce-MyAccount-navigation-link--orders > a::before {
  background: url('assets/images/account/i-i-miei-ordini.svg') no-repeat center center / contain;
}

/* Addresses / Indirizzi (map pin house-ish) */
.woocommerce-MyAccount-navigation-link--edit-address > a::before {
  background: url('assets/images/account/i-indirizzi.svg') no-repeat center center / contain;
}

/* Edit account / Profilo (user) */
.woocommerce-MyAccount-navigation-link--edit-account > a::before {
  background: url('assets/images/account/i-profilo.svg') no-repeat center center / contain;
}

/* Newsletter (newspaper) */
.woocommerce-MyAccount-navigation-link--newsletter > a::before {
  background: url('assets/images/account/i-newsletter.svg') no-repeat center center / contain;
}

/* Pagamento (payment-methods) */
.woocommerce-MyAccount-navigation-link--payment-methods > a::before {
  background: url('assets/images/account/i-pagamento.svg') no-repeat center center / contain;
}

/* Logout / Esci */
.woocommerce-MyAccount-navigation-link--customer-logout > a::before {
  background: url('assets/images/account/i-esci.svg') no-repeat center center / contain;
}



/* WRAP */
.woocommerce-account .woocommerce-MyAccount-content {
  max-width: 100%;
}

/* TABLE */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* HEADER */
.woocommerce-orders-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  border-bottom: 2px solid #eee;
  background: #fafafa;
}

/* ROW */
.woocommerce-orders-table tbody tr {
  border-bottom: 1px solid #eee;
}

/* CELL */
.woocommerce-orders-table td {
  padding: 16px;
  vertical-align: middle;
}

/* ORDER NUMBER */
.woocommerce-orders-table__cell-order-number a {
  font-weight: 600;
  text-decoration: none;
}

/* STATUS */
.woocommerce-orders-table__cell-order-status {
  font-weight: 500;
}

/* TOTAL */
.woocommerce-orders-table__cell-order-total {
  font-weight: 600;
}

/* ACTIONS */
.woocommerce-orders-table__cell-order-actions .button {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
}

.order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  background: #f1f1f1;
}
.order-status.status-completed {
  background: #e8f7ee;
  color: #2c7a4b;
}

.order-status.status-processing {
  background: #fff4e5;
  color: #a66300;
}

.order-status.status-cancelled {
  background: #fdeaea;
  color: #9f2a2a;
}

@media (max-width: 768px){

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table tr {
    display: block;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 6px;
  }

  .woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f1f1;
  }

  .woocommerce-orders-table td:last-child {
    border-bottom: none;
  }

}





/* WRAP GENERALE */
.woocommerce-MyAccount-content h2 {
  font-size: var(--fs-24);
}
.woocommerce-account .woocommerce-Addresses {
}

/* SINGOLA CARD */
.woocommerce-account .woocommerce-Addresses-col {
}
.woocommerce-account .addresses .title::after,
.woocommerce-account .addresses .title::before {
  display: none
}
.woocommerce-account .woocommerce-Address {
  background: var(--bg);
  padding: 15px 28px;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* HEADER CARD */
.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

/* LINK MODIFICA */
.woocommerce-account .woocommerce-Address-title .edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  transition: all .2s ease;
  background: #fff;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
  border-color: #111;
}

/* CONTENUTO INDIRIZZO */
.woocommerce-account .woocommerce-Addresses address {
  margin: 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* TESTO INTRODUTTIVO SOPRA LE CARD */
.woocommerce-account .addresses + p,
.woocommerce-account .woocommerce-MyAccount-content > p {
  line-height: 1.6;
}


@media (max-width: 767px) {
  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .woocommerce-account .woocommerce-Addresses-col {
    padding: 18px;
  }

  .woocommerce-account .woocommerce-Address-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .woocommerce-account .woocommerce-Address-title .edit {
    margin-top: 4px;
  }
}


.woocommerce-account .woocommerce-address-fields .form-row {
  margin-bottom: 16px;
}

.woocommerce-account .woocommerce-address-fields label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.woocommerce-account .woocommerce-address-fields input.input-text,
.woocommerce-account .woocommerce-address-fields select,
.woocommerce-account .woocommerce-address-fields textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce-address-fields textarea {
  min-height: 120px;
  padding: 12px 14px;
}

.woocommerce-account .woocommerce-address-fields .button {
  margin-top: 10px;
}










/*
-------------------
   RECENSIONI
-------------------
*/
.lb-reviews-wrap {
	display: block;
}

.lb-reviews-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
	padding: 2rem 0;
	border-top: 1px solid #cbbda8;
	border-bottom: 1px solid #cbbda8;
	margin-bottom: 2.5rem;
}

.lb-reviews-summary__left h2 {
	margin: 0 0 .5rem;
  font-size: var(--fs-24);
  line-height: 1;
  font-weight: 500;
}

.lb-reviews-summary__subtitle {
	margin: 0 0 1rem;
  font-size: var(--fs-14);
}

.lb-reviews-summary__rating {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.lb-stars {
	display: inline-flex;
	gap: 3px;
	align-items: center;
	margin-right: 10px;
}

.lb-star {
	display: inline-flex;
	line-height: 1;
}

.lb-star-svg {
	display: block;
	width: 26px;
	height: auto;
	flex: 0 0 auto;
}

.lb-reviews-summary__score {
  font-size: var(--fs-20);
  font-weight: 700;
}
.lb-reviews-summary__count {
  font-size: var(--fs-14);
}

.lb-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
}

.lb-review-card {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}

.lb-reviews-summary__right {
  text-transform: uppercase;
}
.lb-reviews-link-all {
  color: var(--darkgray);
  font-size: var(--fs-12);
}

.lb-review-card__meta-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .75rem;
}
.lb-review-card__meta-top .lb-star {
  font-size: 30px;
}

.lb-review-card__meta-bottom {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
  font-size: var(--fs-12);
  color: var(--darkgray);
}

.lb-review-card__author {
	font-weight: 500;
  color: var(--text);
}

.lb-review-card__title {
	margin: 0;
  font-size: var(--fs-18);
}

.lb-review-card__excerpt p,
.lb-review-card__full p {
	margin: 0;
  font-size: var(--fs-14);
}

.lb-review-toggle,
.lb-reviews-link-all {
	text-decoration: underline;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--brand);
}

.lb-review-card__full[hidden] {
	display: none !important;
}

.lb-reviews-list-full .lb-review-full {
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid #cbbda8;
}

.lb-reviews-pagination {
	display: flex;
	justify-content: center;
	gap: .5rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.lb-reviews-pagination a,
.lb-reviews-pagination span {
	padding: .5rem .8rem;
	border: 1px solid #cbbda8;
	text-decoration: none;
}

.lb-reviews-form {
	max-width: 580px;
  margin: 0 auto;
}

.lb-reviews-form__row {
	margin-bottom: 1rem;
}

.lb-reviews-form input[type="text"],
.lb-reviews-form input[type="email"],
.lb-reviews-form textarea {
	width: 100%;
  background: #fff;
  border: 1px solid #787E81;
  border-radius: 4px;
}



.lb-reviews-form-wrap .lb-reviews-form input,
.lb-reviews-form-wrap .lb-reviews-form textarea {
}

.lb-reviews-form__privacy {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	font-size: var(--fs-14);
}

/* FIX CHECKBOX SAFARI */
.lb-reviews-form__privacy input[type="checkbox"] {
	-webkit-appearance: checkbox;
	appearance: checkbox;

	/* dimensione fissa */
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;

	/* evita shrink dentro flex */
	flex: 0 0 18px;
	flex-shrink: 0;

	/* reset stranezze */
	margin: 2px 0 0;
	padding: 0;
	transform: none;
}

/* testo accanto */
.lb-reviews-form__privacy span {
	flex: 1 1 auto;
}

/* opzionale: leggermente più grande su mobile */
@media (max-width: 790px) {
	.lb-reviews-form__privacy input[type="checkbox"] {
		width: 20px;
		height: 20px;
		min-width: 20px;
		min-height: 20px;
		flex-basis: 20px;
	}
}


.lb-reviews-form__submit {
  font-weight: 400;
  padding: 18px 40px;
  letter-spacing: .14rem;
}
.lb-reviews-form__hp-wrap {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.lb-rating-select {
	display: inline-flex;
	gap: 3px;
	align-items: center;
}

.lb-rating-star {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	line-height: 1;
	display: inline-flex;
}

.lb-rating-star svg {
	width: 26px;
	height: auto;
	display: block;
}

.lb-rating-star path {
	stroke: #524A42;
	stroke-width: 2px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: #fff;
	transition: fill 0.2s ease;
}

.lb-rating-star.is-active path {
	fill: var(--fieno);
}

.lb-review-full .lb-review-card__meta-top  {
  margin-bottom: 20px;
}
.lb-review-full .lb-review-card__title  {
  margin: 10px 0;
}
.lb-review-full__text {
  font-size: var(--fs-16);
}

@media (max-width: 1024px) {
	.lb-reviews-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 790px) {
	.lb-reviews-grid {
		grid-template-columns: 1fr;
	}
}


.lb-reviews-wrap + p + p .btn {
  display: block;
  background: var(--panna);
  color: var(--brand);
  padding: 16px 24px;
  margin: 50px auto 0;
  width: 370px;
  font-size: var(--fs-16);
}
.lb-reviews-wrap + p + p .btn:hover {
  background: var(--brand);
  color: var(--panna);
}




.lb-single-product-reviews-block {
  padding: 50px 0;
  background: var(--bg);
  position: relative;
}





/* single sticky bar */
.single-sticky-add-to-cart{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -3px 6px rgba(0,0,0,.16);
}

.single-sticky-add-to-cart__price{
  font-weight: 500;
  line-height: 1.1;
  color: var(--carbone);
}

.single-sticky-add-to-cart__price del{
  opacity: .4;
  margin-right: 5px;
}

.single-sticky-add-to-cart__price ins{
  text-decoration: none;
}

.single-sticky-add-to-cart__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 500;
  font-size: var(--fs-14);
}

.single-sticky-add-to-cart__label{
  display: inline-block;
}

.single-sticky-add-to-cart__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: var(--brand);
  border-radius: 999px;
  padding: 7px;
}

.single-sticky-add-to-cart__icon svg{
  display: block;
  width: 22px;
  height: 22px;
  color: #fff;
}

@media (min-width: 1025px){
  
  .single-sticky-add-to-cart{
    display: none !important;
  }
}



body.single-product{
  padding-bottom: 90px;
}







/* ACCEDI */
.page-template-page-login-custom,
.woocommerce-lost-password {
  background: url('assets/images/bg-login.jpg') no-repeat center center / cover;
}
.page-template-page-login-custom .siteFooter {
  margin-top: 0;
}
.accountBox {
  padding: 50px 110px 0;
  background: #fff;
}
.accountBox__title {
  font-size: var(--fs-24);
  line-height: 1.6;
}
.accountBox__subtitle {
  font-size: var(--fs-14);
  line-height: 1.6;
}

.accountForm label {
  font-size: var(--fs-14);
  line-height: 1.6;
}
.accountForm .accountForm__row {
  margin: 10px 0;
}
.accountForm .accountForm__row input {
  border: 1px solid var(--pietra);
  border-radius: 5px;
  background: #fff;
  font-size: var(--fs-16);
}
.accountCheckbox {
  font-weight: 500;
}
.accountForm__row--inline {
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0 !important;
}
.accountForm__row--inline .accountForm__link {
  margin-left: auto;
  font-size: var(--fs-14);
  color: var(--bosco);
  font-weight: 500;
}
.accountForm__submit {
  width: 100%;
  padding: 16px 24px;
  letter-spacing: .14rem;
}
.accountForm__passwordWrap {
  position: relative;
}
.accountForm__togglePassword {
  border: 0;
  padding: 0;
  background: inherit;
  position: absolute;
  right: 10px;
  top: 12px;
}
.accountForm__passwordWrap {
  position: relative;
}
.accountForm__passwordWrap input[type="text"] + .accountForm__togglePassword::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--bosco);
  transform: rotate(45deg);
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}

.accountBox.accountBox--footer {
  margin: 30px -110px 0;
  padding: 30px 110px 60px;
  background: var(--panna);
}
.accountBox.accountBox--footer p {
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: var(--fs-16);
}
.accountBox.accountBox--footer p a {
  margin-left: auto;
  color: var(--bosco);
  text-decoration: underline;
}


.woocommerce-lost-password .standard__page.section--md {
  padding: 0;
}
.woocommerce-lost-password .siteFooter {
  margin-top: 0;
}

.woocommerce-ResetPassword.lost_reset_password {
  max-width: 579px;
  margin: 0 auto;
  background: #fff;
  padding: 80px 110px;
}
.woocommerce-ResetPassword.lost_reset_password p:first-child {
  font-size: var(--fs-16);
}
.woocommerce-ResetPassword.lost_reset_password .form-row-first {
  width: 100%;
  float: none;
  padding: 0;
  margin: 20px 0 10px;
  font-size: var(--fs-16);
  font-weight: 500;
}
.woocommerce-ResetPassword.lost_reset_password .woocommerce-Button.button {
  width: 100%;
  padding: 16px 24px;
  font-size: var(--fs-16);
  text-transform: uppercase;
  color: var(--panna) !important;
  border-radius: 5px;
  font-weight: 500;
}



/* REGISTRATI */
.page-template-page-register-custom {
  background: url('assets/images/bg-registrazione.jpg') no-repeat center center / cover;
}
.page-template-page-register-custom .accountBox {
  padding-bottom: 50px;
}
.page-template-page-register-custom .siteFooter {
  margin-top: 0;
}
.accountForm__row__box,
.accountForm__consents {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.accountForm__row__box .accountForm__row,
.accountForm__consents .accountForm__row {
  flex: 1;
}
.page-template-page-register-custom .accountCheckbox {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  line-height: 1.35 !important;
  font-weight: 400;
}
.page-template-page-register-custom .accountCheckbox strong {
  font-weight: 500;
}


.accountBox__notice,
.lb-reviews-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  animation: noticeFade .25s ease;
}

.accountBox__notice--error,
.lb-reviews-notice--error {
  background: #fff4f4;
  border: 1px solid #f1c6c6;
  color: #8c1f1f;
}

.accountBox__notice--error::before,
.lb-reviews-notice--error::before {
  content: "⚠";
  font-size: 16px;
}

.accountBox__notice--success,
.lb-reviews-notice--success {
  background: #f2fbf4;
  border: 1px solid #bfe3c6;
  color: #1e6b37;
}

.accountBox__notice--success::before,
.lb-reviews-notice--success::before {
  content: "✓";
  font-weight: bold;
  font-size: 16px;
}

/* =========================
   NOTICE WOOCOMMERCE
========================= */

.woocommerce-notices-wrapper {
  margin: 20px 0;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  list-style: none;
  animation: noticeFade .25s ease;
  box-shadow: none;
}

/* reset lista interna */
.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* elimina eventuali pseudo-elementi WooCommerce */
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error li::before,
.woocommerce-message li::before,
.woocommerce-info li::before {
  content: none !important;
}

/* ERRORE */
.woocommerce-error {
  background: #fff4f4;
  border: 1px solid #f1c6c6;
  color: #8c1f1f;
}

.woocommerce-error::after {
  content: "⚠";
  font-size: 16px;
  order: -1;
  flex: 0 0 auto;
}

/* SUCCESSO */
.woocommerce-message {
  background: #f2fbf4;
  border: 1px solid #bfe3c6;
  color: #1e6b37;
}

.woocommerce-message::after {
  content: "✓";
  font-weight: bold;
  font-size: 16px;
  order: -1;
  flex: 0 0 auto;
}

/* INFO */
.woocommerce-info {
  background: #f4f8ff;
  border: 1px solid #c9d9f5;
  color: #1f4b8c;
}

.woocommerce-info::after {
  content: "i";
  font-weight: bold;
  font-size: 16px;
  order: -1;
  flex: 0 0 auto;
}

/* link nei messaggi */
.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
  color: inherit;
  text-decoration: underline;
}

/* animazione */
@keyframes noticeFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 790px){
  
  .accountForm__row__box,
  .accountForm__consents {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .accountBox {
    padding: 36px 24px 0;
  }
  
}




.woocommerce-Button.button,
.button:not(.pCard__add) {
  font-weight: 500 !important;
  font-size: var(--fs-14) !important;
  letter-spacing: .14rem;
  text-transform: uppercase;
  color: var(--panna) !important;
  padding: 16px 24px !important;
  background: var(--brand) !important;
}
.woocommerce-MyAccount-content input {
  border-radius: 5px !important;
  border-color: var(--pietra) !important;
}
.woocommerce-MyAccount-content label {
  font-size: var(--fs-14);
}
.woocommerce-MyAccount-content fieldset {
  background: var(--bg);
  border: 0;
  border-radius: 20px;
  margin: 40px 0;
  clear: both;
  padding-top: 0;
}
.woocommerce-MyAccount-content fieldset legend {
  margin-top: 40px;
  top: -20px;
  position: relative;
}
#account_display_name_description {
  font-size: var(--fs-14);
}
.woocommerce-info {
  border-top-color: var(--brand);
  background: var(--bg);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding: 20px 2em 24px 3.5em;
}



#add_payment_method #payment .woocommerce-PaymentMethods.payment_methods div.payment_box {
  background: var(--bg) !important;
  border-radius: 16px;
}
#add_payment_method #payment .woocommerce-PaymentMethods.payment_methods div.payment_box::before {
  border-bottom-color: var(--bg) !important;
}






.faqSec{
  padding: 80px 0;
}

.faqList{
  border-top: 1px solid var(--brand);
}

.faqItem{
  border-bottom: 1px solid var(--brand);
}

.faqItem__trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.faqItem__question{
  font-size: var(--fs-24);
  line-height: 1.2;
  font-weight: 500;
}

.faqItem__icon{
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.faqItem__icon::before,
.faqItem__icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s ease;
}

.faqItem__icon::before{
  width: 16px;
  height: 2px;
}

.faqItem__icon::after{
  width: 2px;
  height: 16px;
}

.faqItem__trigger[aria-expanded="true"] .faqItem__icon::after{
  opacity: 0;
}

.faqItem__answer{
  padding: 0 0 24px;
}

.faqItem__answerInner{
  max-width: 900px;
}

.faqItem__answerInner p:last-child{
  margin-bottom: 0;
}

@media screen and (max-width: 790px){
  .faqSec{
    padding: 56px 0;
  }

  .faqItem__trigger{
    padding: 18px 0;
    gap: 14px;
  }

  .faqItem__question{
    font-size: var(--fs-18);
  }

  .faqItem__answer{
    padding-bottom: 20px;
  }
}





.gt-switcher{
	position: relative;
	display: inline-block;
	line-height: 1;
}

.gt-switcher__toggle{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.gt-switcher__current{
	font-weight: 600;
	text-transform: uppercase;
}

.gt-switcher__arrow{
	font-size: 12px;
	transition: transform .2s ease;
}

.gt-switcher.is-open .gt-switcher__arrow{
	transform: rotate(180deg);
}

.gt-switcher__dropdown{
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 140px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	z-index: 999;
}

.gt-switcher.is-open .gt-switcher__dropdown{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* reset minimo per quello che stampa GTranslate */
.gt-switcher__dropdown a{
	display: block;
	padding: 8px 14px;
	text-decoration: none;
	color: #222;
	white-space: nowrap;
}

.gt-switcher__dropdown a:hover{
	background: #f5f5f5;
}

.gt-switcher__dropdown img{
	display: none;
}

/* opzionale: nasconde elementi superflui del widget */
.gt-switcher__dropdown .gt_float_switcher,
.gt-switcher__dropdown .gt-selected{
	box-shadow: none !important;
	border: 0 !important;
}




@media screen and (max-width: 790px){
  .gt-switcher__dropdown {
    right: calc(50% - 70px);
    text-align: center;
  }
}

