
.primary-navigation .menu-item-description {
  display: none;
}

/* ==========================================================================
   EM Farm - Elementor featured product hero
   Paste this block in custom-style.css
   ========================================================================== */

.em-featured-hero {
  display: grid;
  grid-template-columns: minmax(0, 39%) minmax(0, 61%);
  align-items: center;
  gap: clamp(32px, 4.6vw, 88px);
  width: 100%;
  padding: clamp(56px, 7vw, 50px) clamp(24px, 4vw, 50px);
  overflow: hidden;
}

.em-featured-hero__copy {
  max-width: 720px;
}

.em-featured-hero__title {
  margin: 0 0 22px;
  color: #24733a;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 54px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.em-featured-hero__text {
  max-width: 690px;
  margin: 0 0 24px;
  color: #000;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.em-featured-hero__text p {
  margin: 0;
}

.em-featured-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 28px;
  border-radius: 35px;
  background: #145f35;
  color: #fff;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.em-featured-hero__button:hover,
.em-featured-hero__button:focus {
  background: #07261d;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.em-featured-hero__media {
  position: relative;
  min-width: 0;
}

.em-featured-hero__image-link {
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #d9cdbf;
  text-decoration: none;
}

.em-featured-hero__image {
  display: block;
  width: 100%;
  height: clamp(420px, 39vw, 660px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.em-featured-hero__image-link:hover .em-featured-hero__image {
  transform: scale(1.02);
}

.em-hero-product-card {
  position: absolute;
  left: clamp(18px, 2vw, 34px);
  bottom: clamp(18px, 2vw, 34px);
  z-index: 2;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 20px;
  width: min(440px, 52%);
  min-height: 124px;
  padding: 18px 18px 18px 22px;
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(7, 38, 29, 0.13);
}

.em-hero-product-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-decoration: none;
}

.em-hero-product-card__image {
  display: block;
  width: 64px;
  height: 76px;
  object-fit: contain;
}

.em-hero-product-card__body {
  min-width: 0;
}

.em-hero-product-card__title {
  display: block;
  margin: 0 0 9px;
  color: #24733a;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 600;
  line-height: 1.16;
  text-decoration: none;
}

.em-hero-product-card__title:hover,
.em-hero-product-card__title:focus {
  color: #07261d;
  text-decoration: none;
}

.em-hero-product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ece9d9;
  color: #6f7564;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.em-hero-product-card__price {
  color: #24733a;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.em-hero-product-card__price del {
  margin-right: 5px;
  color: rgba(7, 38, 29, 0.45);
  font-size: 0.82em;
}

.em-hero-product-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 35px;
  background: #145f35;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.em-hero-product-card__cart svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.em-hero-product-card__cart:hover,
.em-hero-product-card__cart:focus {
  background: #07261d;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.em-featured-hero-empty {
  padding: 22px;
  border: 1px dashed rgba(7, 38, 29, 0.35);
  border-radius: 14px;
  background: #f7f7f3;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
}

@media (max-width: 1199px) {
  .em-featured-hero {
	grid-template-columns: 1fr;
	padding-right: clamp(20px, 4vw, 44px);
	padding-left: clamp(20px, 4vw, 44px);
  }

  .em-featured-hero__copy {
	max-width: 820px;
  }

  .em-hero-product-card {
	width: min(440px, calc(100% - 36px));
  }
}

@media (max-width: 767px) {
  .em-featured-hero {
	gap: 28px;
	padding-top: 42px;
	padding-bottom: 42px;
  }

  .em-featured-hero__title {
	margin-bottom: 16px;
  }

  .em-featured-hero__text {
	margin-bottom: 20px;
  }

  .em-featured-hero__image {
	height: clamp(310px, 72vw, 440px);
  }

  .em-hero-product-card {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 58px minmax(0, 1fr) 44px;
    gap: 14px;
    width: calc(100% - 24px);
    min-height: 104px;
    margin: -158px auto 0;
    padding: 14px;
    border-radius: 18px;
    left: auto;
  }

  .em-hero-product-card__image {
	width: 52px;
	height: 64px;
  }

  .em-hero-product-card__badge {
	min-height: 24px;
	padding: 0 10px;
	font-size: 10px;
  }

  .em-hero-product-card__price {
	font-size: 16px;
  }

  .em-hero-product-card__cart {
	width: 44px;
	height: 44px;
  }
}

@media (max-width: 480px) {
  .em-hero-product-card {
	grid-template-columns: 48px minmax(0, 1fr) 40px;
	gap: 10px;
  }

  .em-hero-product-card__image {
	width: 46px;
	height: 58px;
  }

  .em-hero-product-card__title {
	font-size: 14px;
  }

  .em-hero-product-card__cart {
	width: 40px;
	height: 40px;
  }

  .em-hero-product-card__cart svg {
	width: 21px;
	height: 21px;
  }
}


/* ==========================================================================
   EM Farm - Featured Hero: altezza immagine principale
   ========================================================================== */

.em-featured-hero__media {
  position: relative;
  height: 650px;
  max-height: 650px;
  overflow: hidden;
  border-radius: 50px;
}

.em-featured-hero__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.em-featured-hero__image {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
}

/* Reset per l'immagine dentro la card prodotto */
.em-hero-product-card__thumb img,
.em-hero-product-card__image {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain;
}


/* ==========================================================================
   EM Farm - Fix focus bottoni/link custom
   ========================================================================== */

/* Bottone principale del featured hero */
.site .em-featured-hero a.em-featured-hero__button,
.site .em-featured-hero a.em-featured-hero__button:visited {
  background: #145f35 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.site .em-featured-hero a.em-featured-hero__button:hover,
.site .em-featured-hero a.em-featured-hero__button:focus,
.site .em-featured-hero a.em-featured-hero__button:active {
  background: #07261d !important;
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
  transform: translateY(-1px);
}

/* Focus accessibile solo da tastiera */
.site .em-featured-hero a.em-featured-hero__button:focus-visible {
  outline: 2px solid #24733a;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(217, 205, 191, 0.85);
}

/* Bottone carrello della card prodotto */
.site .em-featured-hero a.em-hero-product-card__cart,
.site .em-featured-hero a.em-hero-product-card__cart:visited {
  background: #145f35 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.site .em-featured-hero a.em-hero-product-card__cart:hover,
.site .em-featured-hero a.em-hero-product-card__cart:focus,
.site .em-featured-hero a.em-hero-product-card__cart:active {
  background: #07261d !important;
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
  transform: translateY(-1px);
}

.site .em-featured-hero a.em-hero-product-card__cart:focus-visible {
  outline: 2px solid #24733a;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(217, 205, 191, 0.85);
}


/* ==========================================================================
   EM Farm - Elementor product carousel
   ========================================================================== */

.em-product-carousel {
  --em-pc-columns: 4;
  --em-pc-columns-tablet: 2;
  --em-pc-columns-mobile: 1;
  --em-pc-gap: 8px;
  position: relative;
  width: 100%;
}

.em-product-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.em-product-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.em-product-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--em-pc-gap) * (var(--em-pc-columns) - 1))) / var(--em-pc-columns));
  gap: var(--em-pc-gap);
  align-items: stretch;
}

.em-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(520px, 36vw, 670px);
  padding: clamp(18px, 1.45vw, 28px);
  border-radius: 24px;
  background: #e1d8cf;
  color: #145f35;
  overflow: hidden;
  scroll-snap-align: start;
}

.em-product-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 70px);
}

.em-product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.em-product-card__badge--new {
  background: #d6bb77;
  color: #07261d;
}

.em-product-card__badge--sale {
  background: #efe7df;
  color: #07261d;
}

.em-product-card__wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #145f35;
  pointer-events: none;
  display: none;
}

.em-product-card__wishlist svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.em-product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  height: clamp(260px, 15vw, 420px);
  margin: 24px 0 18px;
  text-decoration: none;
}

.em-product-card__image {
  display: block;
  width: auto;
  max-width: 86%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 220ms ease;
}

.em-product-card:hover .em-product-card__image {
  transform: translateY(-2px) scale(1.015);
}

.em-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.em-product-card__title {
  display: block;
  max-width: 92%;
  margin: 0 auto 18px;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: clamp(18px, 1.1vw, 22px);
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
}

.em-product-card__title:hover,
.em-product-card__title:focus {
  color: #07261d;
  text-decoration: none;
}

.em-product-card__pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 94%;
  min-height: 25px;
  margin: 0 auto 20px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(7, 38, 29, 0.82);
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.em-product-card__price {
  margin: 10px auto 5px;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: clamp(18px, 1.1vw, 22px);
  font-weight: 600;
  line-height: 1;
}

.em-product-card__price del {
  margin-right: 6px;
  color: rgba(20, 95, 53, 0.5);
  font-size: 0.82em;
}

.em-product-card__price ins {
  color: #145f35;
  text-decoration: none;
}

.em-product-card__lowest-price {
  min-height: 18px;
  margin: 0 auto 0;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.em-product-card__info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  margin-left: 4px;
  border-radius: 999px;
  background: #145f35;
  color: #fff;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  cursor: help;
}

.em-product-card__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: 190px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #07261d;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.em-product-card__tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #07261d;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.em-product-card__info:hover .em-product-card__tooltip,
.em-product-card__info:focus .em-product-card__tooltip,
.em-product-card__info:focus-visible .em-product-card__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.em-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  margin-top: 30px;
  padding: 0 25px;
  border: 2px solid #145f35;
  border-radius: 999px;
  background: #145f35;
  color: #fff;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.em-product-card__button:hover,
.em-product-card__button:focus {
  background: #07261d;
  border-color: #07261d;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.em-product-card__button:focus-visible,
.em-product-card__title:focus-visible,
.em-product-card__image-link:focus-visible {
  outline: 2px solid #24733a;
  outline-offset: 4px;
}

.em-product-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #145f35;
  box-shadow: 0 10px 30px rgba(7, 38, 29, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
  border-radius: 100%!important;
}

.em-product-carousel__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.em-product-carousel__arrow--prev {
  left: 10px;
}

.em-product-carousel__arrow--next {
  right: 10px;
}

.em-product-carousel__arrow:hover,
.em-product-carousel__arrow:focus {
  background: #145f35;
  color: #fff;
}

.em-product-carousel__arrow.is-disabled {
  opacity: 0.28;
  pointer-events: none;
}

.em-product-carousel-empty {
  padding: 22px;
  border: 1px dashed rgba(7, 38, 29, 0.35);
  border-radius: 14px;
  background: #f7f7f3;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
}

@media (max-width: 1199px) {
  .em-product-carousel__track {
	grid-auto-columns: calc((100% - (var(--em-pc-gap) * (var(--em-pc-columns-tablet) - 1))) / var(--em-pc-columns-tablet));
  }

  .em-product-card {
	min-height: 560px;
  }
}

@media (max-width: 767px) {
  .em-product-carousel__track {
	grid-auto-columns: calc((100% - (var(--em-pc-gap) * (var(--em-pc-columns-mobile) - 1))) / var(--em-pc-columns-mobile));
  }

  .em-product-card {
	min-height: 540px;
	border-radius: 18px;
  }

  .em-product-card__image-link {
	height: 280px;
  }

  .em-product-carousel__arrow {
	width: 38px;
	height: 38px;
  }
}



.box-up-img {
	position: absolute;
	  z-index: 10;
	 bottom: 80px;
	   left: 80px;
	  max-width: 550px !important;
	  width: 550px !important;
	  border-radius: 35px;
}

.height-auto img {
	height: auto!important;
}





/* ==========================================================================
   EM Farm - Footer
   ========================================================================== */

.em-site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #fff;
  background: #145f35;
  border: 0;
}

.em-footer-container {
  width: min(100% - var(--em-gutter, 48px), var(--em-container, 1520px));
  margin-right: auto;
  margin-left: auto;
}

.em-footer-main {
  background: #145f35;
}

.em-footer-main__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(36px, 5vw, 96px);
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(52px, 6vw, 82px);
}

.em-footer-col h3 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.em-footer-col ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.em-footer-col li {
  margin: 0;
  padding: 0;
}

.em-footer-col a,
.em-footer-col p {
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

.em-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.em-footer-logo {
  display: inline-flex;
  width: 155px;
  max-width: 100%;
  margin-bottom: 42px;
  text-decoration: none;
}

.em-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.em-footer-service {
  margin-top: 20px;
}

.em-footer-service h3 {
  margin-bottom: 16px;
}

.em-footer-service p {
  margin: 0 0 12px;
}

.em-footer-subtitle {
  margin-top: 36px !important;
}

.em-footer-col--cta {
  display: flex;
  justify-content: flex-end;
}

.em-footer-col--cta a {
  max-width: 360px;
  color: #fff;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
}

.em-footer-col--cta a span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.em-footer-col--cta a:hover {
  color: #fff;
}

.em-footer-payments {
  background: #fff;
}

.em-footer-payments__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.em-footer-payment-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.em-footer-payment-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  padding: 0 7px;
  border-radius: 2px;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.em-footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.em-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #145f35;
  text-decoration: none;
}

.em-footer-socials svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.em-footer-socials a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.em-footer-socials a:hover {
  color: #07261d;
}

.em-footer-bottom {
  background: #f4f4f1;
}

.em-footer-bottom__inner {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.em-footer-bottom p {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .em-footer-main__inner {
	grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .em-footer-col--cta {
	justify-content: flex-start;
  }

  .em-footer-col--cta a {
	text-align: left;
  }
}

@media (max-width: 767px) {
  .em-footer-container {
	width: min(100% - 32px, 100%);
  }

  .em-footer-main__inner {
	grid-template-columns: 1fr;
	gap: 34px;
	padding-top: 46px;
	padding-bottom: 48px;
  }

  .em-footer-logo {
	width: 132px;
	margin-bottom: 26px;
  }

  .em-footer-col h3 {
	margin-bottom: 14px;
  }

  .em-footer-col ul {
	gap: 10px;
  }

  .em-footer-payments__inner {
	flex-direction: column;
	align-items: flex-start;
	min-height: auto;
  }

  .em-footer-socials {
	width: 100%;
	justify-content: flex-start;
  }
}

.no-widgets .site-footer {
  margin-top: 60px;
}

  .site-footer > *, .widget-area > * {
	margin-top: 0;
	margin-bottom: 0;
  }
  
  
  
  
/* ==========================================================================
	 EM Farm - Dettaglio prodotto WooCommerce: hero
	 ========================================================================== */
  
  body.single-product .site-main,
  body.single-product .content-area,
  body.single-product #primary,
  body.single-product .woocommerce .content-area {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
  }
  
  body.single-product .site-main {
	padding-top: 0;
  }
  
  .em-single-product {
	width: 100%;
	max-width: none;
	margin: 0;
  }
  
.em-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 52%) minmax(360px, 48%);
	width: 100%;

  }
  
.em-product-hero__media {
	min-width: 0;

  }
  
  .em-product-hero__summary {
	position: relative;
	min-width: 0;
  }
  
  .em-product-summary {
	position: sticky;
	top: 24px;
	width: min(100% - 96px, 620px);
	margin-right: auto;
	margin-left: 56px;
	padding-top: 26px;
	padding-bottom: 48px;
	color: #145f35;
  }
  
  .em-product-summary__topline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
  }
  
  .em-product-summary__breadcrumb,
  .em-product-summary__breadcrumb a,
  .em-product-summary__breadcrumb .woocommerce-breadcrumb,
  .em-product-summary__breadcrumb .em-breadcrumb {
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
  }
  
  .em-product-summary__breadcrumb a {
	text-decoration: none;
	text-underline-offset: 0;
  }
  
  .em-product-summary__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
  }
  
  .em-product-summary__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #145f35;
	cursor: pointer;
  }
  
  .em-product-summary__icon svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
  }
  
  .em-product-summary__icon:hover {
	color: #07261d;
  }
  
  .em-product-summary__title {
	margin: 0 0 12px;
	color: #145f35;
	font-family: var(--em-font-heading, "Montserrat", sans-serif);
	font-size: clamp(28px, 2.4vw, 42px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.045em;
	text-transform: none;
  }
  
  .em-product-summary__rating {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
  }
  
  .em-product-summary__rating .star-rating {
	float: none;
	width: auto;
	height: auto;
	color: #145f35;
	font-size: 14px;
	letter-spacing: 2px;
  }
  
  .em-product-summary__subtitle {
	max-width: 560px;
	margin-bottom: 24px;
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
  }
  
  .em-product-summary__subtitle p {
	margin: 0;
  }
  
  .em-product-summary__attributes {
	display: grid;
	gap: 18px;
	margin-bottom: 28px;
  }
  
  .em-product-summary__attribute-label {
	margin-bottom: 7px;
	color: #283f32;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
  }
  
  .em-product-summary__attribute-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	min-height: 32px;
	padding: 0 22px;
	border-radius: 999px;
	background: #31433a;
	color: #fff;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
  }
  
  .em-product-summary__price {
	margin-bottom: 26px;
	color: #145f35;
	font-family: var(--em-font-heading, "Montserrat", sans-serif);
	font-size: 27px;
	font-weight: 500;
	line-height: 1;
  }
  
  .em-product-summary__price del {
	margin-right: 8px;
	color: rgba(20, 95, 53, 0.45);
	font-size: 0.7em;
  }
  
  .em-product-summary__price ins {
	text-decoration: none;
  }
  
  .em-product-summary__cart {
	margin-bottom: 14px;
  }
  
  .em-product-summary__cart form.cart {
	display: block;
	margin: 0;
  }
  
  .em-product-summary__cart .quantity {
	display: none;
  }
  
  .em-product-summary__cart .single_add_to_cart_button,
  .em-product-summary__cart button.single_add_to_cart_button,
  .em-product-summary__cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 400px);
	min-height: 48px;
	margin: 0;
	padding: 0 34px;
	border: 0;
	border-radius: 999px;
	background: #145f35;
	color: #fff;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 16px;
  font-weight: 700;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition:
	  background-color 0.2s ease,
	  color 0.2s ease,
	  transform 0.2s ease;
  }
  
  .em-product-summary__cart .single_add_to_cart_button:hover {
	background: #07261d;
	color: #fff;
	transform: translateY(-1px);
  }
  
  .em-product-summary__cart table.variations {
	width: min(100%, 400px);
	margin: 0 0 18px;
	border: 0;
  }
  
  .em-product-summary__cart table.variations tr,
  .em-product-summary__cart table.variations th,
  .em-product-summary__cart table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
  }
  
  .em-product-summary__cart table.variations th {
	margin-bottom: 6px;
	color: #283f32;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
  }
  
  .em-product-summary__cart table.variations td {
	margin-bottom: 14px;
  }
  
  .em-product-summary__cart table.variations select {
	width: 100%;
	min-height: 42px;
	border-color: rgba(20, 95, 53, 0.2);
	border-radius: 999px;
	background-color: #f4f0e7;
	color: #145f35;
	font-weight: 700;
  }
  
  .em-product-summary__cart .reset_variations {
	display: inline-flex;
	margin-top: 8px;
	color: #145f35;
	font-size: 12px;
  }
  
  .em-product-summary__payment-note {
	width: min(100%, 430px);
	margin-bottom: 28px;
	color: #283f32;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
  }
  
  .em-product-summary__payment-note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
  }
  
  .em-product-summary__benefits {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	width: min(100%, 580px);
  }
  
  .em-product-summary__benefit {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #283f32;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
  }
  
  .em-product-summary__benefit svg {
	display: block;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
  }
  
  /* Gallery */
  
.em-product-gallery {
	width: 100%;

  }
  
.em-product-gallery__main {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	min-height: 0 !important;
	padding: 0 !important;
	overflow: hidden;
  }

.em-product-gallery__grid-image {
	background: #e1d8cf;
}
  
.em-product-gallery__main-image {
	position: absolute;
	inset: 5px;
  background: #e1d8cf;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain;
	object-position: center;
  }
  
.em-product-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;

  }
  
.em-product-gallery__grid-item {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
  }
  
.em-product-gallery__grid-image {
	position: absolute;
	inset: 5px;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.45s ease;
  }
  
.em-product-gallery__grid-item:hover .em-product-gallery__grid-image {

  }
  
  @media (max-width: 1199px) {
	.em-product-hero {
	  
	}
  
	.em-product-summary {
	  position: relative;
	  top: auto;
	  width: min(100% - 48px, 720px);
	  margin: 0 auto;
	  padding-top: 42px;
	}
  
	.em-product-gallery__main {
	  min-height: 560px;
	}
  }
  
  @media (max-width: 767px) {
	.em-product-summary {
	  width: min(100% - 32px, 100%);
	  padding-top: 32px;
	  padding-bottom: 42px;
	}
  
	.em-product-summary__topline {
	  gap: 12px;
	}
  
	.em-product-summary__title {
	  font-size: 40px;
	}
  
	.em-product-summary__cart .single_add_to_cart_button,
	.em-product-summary__cart button.single_add_to_cart_button {
	  width: 100%;
	}
  
	.em-product-summary__benefits {
	  display: grid;
	  gap: 12px;
	}
  
	.em-product-gallery__main {
	  min-height: 390px;
	  padding: 48px 28px;
	}
  
	.em-product-gallery__main-image {
	  max-width: 82%;
	  max-height: 330px;
	}
  
	.em-product-gallery__grid {
	  grid-template-columns: 1fr;
	}
  }
  
  
  
 /* ==========================================================================
	EM Farm - Fix single product top title Twenty Twenty-One
	========================================================================== */
 
 /* Nasconde il titolo duplicato sopra al layout prodotto */
 body.single-product .entry-header,
 body.single-product .entry-header.alignwide,
 body.single-product .post-thumbnail {
   display: none !important;
 }
 
 /* Elimina eventuali spazi lasciati dal wrapper articolo */
 body.single-product article.product,
 body.single-product .entry-content {
   margin-top: 0 !important;
   padding-top: 0 !important;
 }
 
 
 .site .button:not(:hover):not(:active):not(.has-background), button:not(:hover):not(:active):not(.has-background), input[type="submit"]:not(:hover):not(:active):not(.has-background), input[type="reset"]:not(:hover):not(:active):not(.has-background), .wp-block-search .wp-block-search__button:not(:hover):not(:active):not(.has-background), .wp-block-button .wp-block-button__link:not(:hover):not(:active):not(.has-background), .wp-block-file a.wp-block-file__button:not(:hover):not(:active):not(.has-background) {
   background-color: #145f35;
 } 
 
 .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
	 background-color: #07261d;
 }
 
 
 
 
 .em-product-summary__benefit .elementor-icon {
 fill: #24733a;
   color: #24733a;
   border-color: #24733a;
   font-size: 30px;
 }
 
 .em-product-summary__benefit .elementor-icon .e-font-icon-svg {
  fill: #24733a;
	color: #24733a;
  width: 20px;
  height: 20px;
  }
  
  
  
  


/* ==========================================================================
	 EM Farm - Dettaglio prodotto: sezione editoriale
	 ========================================================================== */
  
  .em-product-editorial-section {
	margin-right: auto;
	padding-left: 5px;
	  padding-right: 5px;
	margin-left: auto;
	padding-top: 60px;
	padding-bottom: 30px;
	color: #145f35;
  }
  
  .em-product-editorial-section__header {
	margin-bottom: clamp(34px, 4vw, 64px);
	text-align: center;
  }
  
  .em-product-editorial-section__title {
	margin: 0;
	color: #145f35;
	font-family: var(--em-font-heading, "Montserrat", sans-serif);
	font-size: clamp(28px, 2.6vw, 44px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.045em;
	text-transform: none;
  max-width: 800px;
  margin: 0 auto;
  }
  
  .em-product-editorial-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(36px, 5vw, 88px);
	align-items: start;
  }
  
  .em-product-editorial-section__left,
  .em-product-editorial-section__right {
	min-width: 0;
  }
  
  .em-product-editorial-section__description {
	max-width: 620px;
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: clamp(18px, 1.25vw, 24px);
	font-weight: 500;
	line-height: 1.28;
  }
  
  .em-product-editorial-section__description p {
	margin: 0 0 1em;
  }
  
  .em-product-editorial-section__description p:last-child {
	margin-bottom: 0;
  }
  
  /* Attributi prodotto sotto descrizione */
  
  .em-product-detail-attributes {
	display: grid;
	gap: 0;
	max-width: 620px;
	margin-top: clamp(30px, 4vw, 56px);
	border-top: 1px solid rgba(20, 95, 53, 0.24);
  }
  
  .em-product-detail-attribute {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 22px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(20, 95, 53, 0.24);
  }
  
  .em-product-detail-attribute__label {
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
  }
  
  .em-product-detail-attribute__value {
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
  }
  
  /* Box accordion destro */
  
  .em-product-info-box {
	overflow: hidden;
	border-radius: 18px;
	background: #FFFAF6;
	color: #145f35;
  }
  
  .em-product-info-accordion {
	border-bottom: 1px solid rgba(20, 95, 53, 0.24);
  }
  
  .em-product-info-accordion:last-child {
	border-bottom: 0;
  }
  
  .em-product-info-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 54px;
	padding: 0 28px;
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
  }
  
  .em-product-info-accordion__summary::-webkit-details-marker {
	display: none;
  }
  
  .em-product-info-accordion__summary::after {
	flex: 0 0 auto;
	color: #145f35;
	content: "+";
	font-family: var(--em-font-heading, "Montserrat", sans-serif);
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
  }
  
  .em-product-info-accordion[open] .em-product-info-accordion__summary::after {
	content: "−";
  }
  
  .em-product-info-accordion__content {
	padding: 0 28px 24px;
	color: #145f35;
	font-family: var(--em-font-body, "Urbanist", sans-serif);
	font-weight: 500;
	line-height: 1.45;
  }
  
  .em-product-info-accordion__content p {
	margin: 0 0 1em;
  }
  
  .em-product-info-accordion__content p:last-child {
	margin-bottom: 0;
  }
  
  .em-product-info-accordion__content table {
	width: 100%;
	border-collapse: collapse;
  }
  
  .em-product-info-accordion__content tr {
	border-bottom: 1px solid rgba(20, 95, 53, 0.16);
  }
  
  .em-product-info-accordion__content td,
  .em-product-info-accordion__content th {
	padding: 9px 5px;
	color: #145f35;
	font-size: 13px;
	font-weight: 500;
	text-align: left;
  }
  
  .em-product-info-accordion__content td:last-child,
  .em-product-info-accordion__content th:last-child {
	text-align: left;
  }
  
  /* Responsive */
  
  @media (max-width: 991px) {
	.em-product-editorial-section {
	  width: min(100% - 36px, 100%);
	}
  
	.em-product-editorial-section__grid {
	  grid-template-columns: 1fr;
	}
  
	.em-product-editorial-section__description,
	.em-product-detail-attributes {
	  max-width: none;
	}
  }
  
  @media (max-width: 575px) {
	.em-product-detail-attribute {
	  grid-template-columns: 1fr;
	  gap: 5px;
	}
  
	.em-product-info-accordion__summary {
	  padding-right: 18px;
	  padding-left: 18px;
	}
  
	.em-product-info-accordion__content {
	  padding-right: 18px;
	  padding-left: 18px;
	}
  }
  
  
  
.woocommerce-notices-wrapper {
	float: left;
  width: 100%;
  margin: 0;
    margin-top: 10px;
}





/* ==========================================================================
   EM Farm - Dettaglio prodotto: immagine + accordion
   ========================================================================== */

.em-product-story-section {
  padding-left: 5px;
  padding-right: 5px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #145f35;
}

.em-product-story-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.38fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.em-product-story-section__image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #ebe7dc;
  aspect-ratio: 1.35 / 1;
}

.em-product-story-section__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}

.em-product-story-section__content {
  min-width: 0;
}

/* Accordion destra */

.em-product-story-accordions {
  width: 100%;
  color: #145f35;
}

.em-product-story-accordion {
  border-bottom: 1px solid rgba(20, 95, 53, 0.28);
}

.em-product-story-accordion:first-child {
  border-top: 0;
}

.em-product-story-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding: 0;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  list-style: none;
  padding-top: 10px;
	padding-bottom: 10px;
}

.em-product-story-accordion__summary::-webkit-details-marker {
  display: none;
}

.em-product-story-accordion__summary::after {
  flex: 0 0 auto;
  color: #145f35;
  content: "+";
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.em-product-story-accordion[open] .em-product-story-accordion__summary::after {
  content: "−";
}

.em-product-story-accordion__content {
  max-width: 620px;
  padding: 0 0 28px;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-weight: 500;
  line-height: 1.45;
}

.em-product-story-accordion__content p {
  margin: 0 0 1em;
}

.em-product-story-accordion__content p:last-child {
  margin-bottom: 0;
}

/* Focus */
.em-product-story-accordion__summary:focus {
  outline: none;
}

.em-product-story-accordion__summary:focus-visible {
  outline: 2px solid #24733a;
  outline-offset: 4px;
}

/* Responsive */

@media (max-width: 991px) {
  .em-product-story-section {
	width: min(100% - 20px, 100%);
  }

  .em-product-story-section__grid {
	grid-template-columns: 1fr;
  }

  .em-product-story-section__image {
	aspect-ratio: 1.25 / 1;
  }
}

@media (max-width: 575px) {
  .em-product-story-section {
	width: min(100% - 20px, 100%);
  }

  .em-product-story-accordion__summary {
	min-height: 56px;
	font-size: 22px;
  }

  .em-product-story-accordion__content {
	padding-bottom: 22px;
  }
}




/* ==========================================================================
   EM Farm - Dettaglio prodotto: ricette correlate
   ========================================================================== */

.em-product-recipes-section {
	padding-left: 5px;
	padding-right: 5px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #145f35;
}

.em-product-recipes-section__header {
  text-align: left;
}

.em-product-recipes-section__title {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
  margin-bottom: 20px;
}

.em-product-recipes-section__slider {
  width: 100%;
}

/* Forza lo slider ricette dentro la fascia prodotto */
.em-product-recipes-section .elementor,
.em-product-recipes-section .elementor-section,
.em-product-recipes-section .elementor-container,
.em-product-recipes-section .e-con,
.em-product-recipes-section .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Se il widget recipe slider ha già il suo container interno, lo lasciamo pieno */
.em-product-recipes-section .em-recipe-slider {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 991px) {
  .em-product-recipes-section {
	width: min(100% - 20px, 100%);
  }
}

@media (max-width: 575px) {
  .em-product-recipes-section {
	width: min(100% - 20px, 100%);
	padding-top: 44px;
	padding-bottom: 20px;
  }

  .em-product-recipes-section__title {
	font-size: 36px;
  }
}




/* ==========================================================================
   EM Farm - Dettaglio prodotto: carosello prodotti
   ========================================================================== */

.em-product-related-products-section {
	padding-left: 5px;
	padding-right: 5px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #145f35;
}

.em-product-related-products-section__header {
  text-align: left;
}

.em-product-related-products-section__title {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 500;
  line-height: 1.02;
 letter-spacing: -0.045em;
  text-transform: none;
  margin-bottom: 20px;
}

.em-product-related-products-section__carousel {
  width: 100%;
}

/* Reset Elementor dentro la fascia prodotto */
.em-product-related-products-section .elementor,
.em-product-related-products-section .elementor-section,
.em-product-related-products-section .elementor-container,
.em-product-related-products-section .e-con,
.em-product-related-products-section .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Il carosello deve restare dentro il container della scheda */
.em-product-related-products-section .em-product-carousel,
.em-product-related-products-section .em-product-carousel-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 991px) {
  .em-product-related-products-section {
	width: min(100% - 36px, 100%);
  }
}

@media (max-width: 575px) {
  .em-product-related-products-section {
	width: min(100% - 32px, 100%);
	padding-top: 44px;
	padding-bottom: 78px;
  }

  .em-product-related-products-section__title {
	font-size: 36px;
  }
}



/* ==========================================================================
   EM Farm - Single product: rimuovi commenti e navigazione post
   ========================================================================== */

body.single-product #comments,
body.single-product .comments-area,
body.single-product .navigation.post-navigation,
body.single-product .post-navigation {
  display: none !important;
}

/* ==========================================================================
   EM Farm - Single product: rimuovi entry footer tema
   ========================================================================== */

body.single-product .entry-footer,
body.single-product .entry-footer.default-max-width {
  display: none !important;
}





/* ==========================================================================
   EM Farm - WooCommerce product category hero
   ========================================================================== */

body.tax-product_cat .woocommerce-products-header {
  display: none !important;
}

body.tax-product_cat .site-main,
body.tax-product_cat .content-area,
body.tax-product_cat #primary {
  width: 100%;
  max-width: none;
}

.em-product-category-hero {
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #145f35;
  margin-bottom: 0;
}

.em-product-category-hero__breadcrumb {
  margin-bottom: 30px;
}

.em-product-category-hero__breadcrumb,
.em-product-category-hero__breadcrumb a,
.em-product-category-hero__breadcrumb span,
.em-category-breadcrumb {
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.em-product-category-hero__breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.em-product-category-hero__breadcrumb a:hover {
  color: #07261d;
}

.em-product-category-hero__content {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.em-product-category-hero__title {
  max-width: 1120px;
  margin: 0 auto 24px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 78px;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-transform: none;
}

.em-product-category-hero__description {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
  color: #000;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size:16px;
  font-weight: 500;
  line-height: 1.48;
}

.em-product-category-hero__description p {
  margin: 0;
}

.em-product-category-hero__description strong,
.em-product-category-hero__description b {
  font-weight: 800;
}

.em-product-category-hero__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(36px, 4vw, 58px);
}

.em-product-category-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 245px;
  min-height: 88px;
  padding: 18px 28px;
  border-radius: 15px;
  background: #FFFAF6;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.em-product-category-hero__button:hover,
.em-product-category-hero__button:focus {
  background: #d9cdbf;
  color: #145f35;
  transform: translateY(-1px);
}

.em-product-category-hero__button.is-active {
  background: #3c4d41;
  color: #fff;
}

.em-product-category-hero__button.is-active:hover,
.em-product-category-hero__button.is-active:focus {
  background: #07261d;
  color: #fff;
}

@media (max-width: 991px) {
  .em-product-category-hero {
    width: min(100% - 36px, 100%);
  }

  .em-product-category-hero__breadcrumb {
    margin-bottom: 44px;
  }

  .em-product-category-hero__buttons {
    gap: 12px;
  }

  .em-product-category-hero__button {
    min-width: calc(50% - 6px);
    min-height: 72px;
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .em-product-category-hero {
    width: min(100% - 32px, 100%);
    padding-top: 26px;
    padding-bottom: 58px;
  }

  .em-product-category-hero__content {
    text-align: left;
  }

  .em-product-category-hero__title {
    margin-left: 0;
    margin-right: 0;
    font-size: 38px;
    text-align: left;
  }

  .em-product-category-hero__description {
    font-size: 15px;
    text-align: left;
  }

  .em-product-category-hero__buttons {
    justify-content: flex-start;
    margin-top: 30px;
  }

  .em-product-category-hero__button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
  }
}




/* ==========================================================================
   EM Farm - WooCommerce archive toolbar
   ========================================================================== */

body.tax-product_cat .woocommerce,
body.post-type-archive-product .woocommerce {
  width: min(100% - 40px, 1920px);
  margin-right: auto;
  margin-left: auto;
}

.em-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  color: #145f35;
  margin-top: 30px;
    float: left;
    width: 100%;
}

.em-shop-toolbar__count {
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.em-shop-toolbar__count .woocommerce-result-count {
  float: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.em-shop-toolbar__ordering {
  margin-left: auto;
}

.em-shop-toolbar__ordering .woocommerce-ordering {
  float: none;
  margin: 0;
}

.em-shop-toolbar__ordering select {
  min-width: 190px;
  height: 48px;
  padding: 0 44px 0 20px;
  border: 0;
  border-radius: 999px;
  background-color: #fff;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}

/* ==========================================================================
   EM Farm - WooCommerce archive grid
   ========================================================================== */

body.tax-product_cat ul.products,
body.post-type-archive-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after {
  display: none !important;
}

body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.em-archive-product-card-wrap,
body.post-type-archive-product ul.products li.em-archive-product-card-wrap {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* ==========================================================================
   EM Farm - WooCommerce archive product card
   ========================================================================== */

.em-product-card--archive {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
min-height: clamp(520px, 36vw, 670px);
padding: clamp(18px, 1.45vw, 28px);
border-radius: 24px;
background: #e1d8cf;
color: #145f35;
overflow: hidden;
scroll-snap-align: start;
}

.em-product-card--archive .em-product-card__top {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.em-product-card--archive .em-product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dcc469;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: auto;
}

.em-product-card--archive .em-product-card__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #145f35;
  cursor: pointer;
  pointer-events: auto;
}

.em-product-card--archive .em-product-card__wishlist svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.em-product-card--archive .em-product-card__wishlist:hover {
  color: #07261d;
}

.em-product-card--archive .em-product-card__image-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 72px 54px 28px;
  text-decoration: none;
}

.em-product-card--archive .em-product-card__image {
  display: block;
  width: auto !important;
  max-width: 88%;
  max-height: 300px;
  height: auto !important;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.em-product-card--archive:hover .em-product-card__image {
  transform: translateY(-4px) scale(1.025);
}

.em-product-card--archive .em-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 24px 34px 34px;
  text-align: center;
}

.em-product-card--archive .em-product-card__title {
  margin: 0 0 20px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-transform: none;
}

.em-product-card--archive .em-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.em-product-card--archive .em-product-card__title a:hover {
  color: #07261d;
}

.em-product-card--archive .em-product-card__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 28px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #3c4d41;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.em-product-card--archive .em-product-card__price {
  margin-top: auto;
  margin-bottom: 26px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.em-product-card--archive .em-product-card__price del {
  margin-right: 8px;
  color: rgba(20, 95, 53, 0.45);
  font-size: 0.72em;
}

.em-product-card--archive .em-product-card__price ins {
  text-decoration: none;
}

.em-product-card--archive .em-product-card__actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.em-product-card--archive .em-product-card__button,
.em-product-card--archive a.button,
.em-product-card--archive .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 48px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #145f35 !important;
  color: #fff !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.em-product-card--archive .em-product-card__button:hover,
.em-product-card--archive a.button:hover,
.em-product-card--archive .button:hover {
  background: #07261d !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* WooCommerce added to cart link */
.em-product-card--archive .added_to_cart {
  display: none !important;
}

/* Responsive */

@media (max-width: 1399px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.tax-product_cat .woocommerce,
  body.post-type-archive-product .woocommerce {
    width: min(100% - 32px, 100%);
  }

  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .em-shop-toolbar__ordering {
    width: 100%;
    margin-left: 0;
  }

  .em-shop-toolbar__ordering select {
    width: 100%;
  }

  .em-product-card--archive {
    min-height: 610px;
  }
}

@media (max-width: 575px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: 1fr;
  }

  .em-product-card--archive {
    min-height: auto;
  }

  .em-product-card--archive .em-product-card__image-link {
    min-height: 340px;
    padding: 66px 38px 20px;
  }

  .em-product-card--archive .em-product-card__image {
    max-height: 250px;
  }

  .em-product-card--archive .em-product-card__body {
    padding: 22px 24px 30px;
  }

  .em-product-card--archive .em-product-card__title {
    font-size: 23px;
  }
}



/* ==========================================================================
   EM Farm - Product archive: card uguali ai caroselli home
   ========================================================================== */

body.tax-product_cat ul.products,
body.post-type-archive-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(100% - 40px, 1920px);
  margin: 0 auto !important;
  padding: 0 !important;
}

body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after {
  display: none !important;
}

body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* Fallback nel caso il CSS del plugin carosello non venga caricato negli archivi */
body.tax-product_cat .em-product-card,
body.post-type-archive-product .em-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 690px;
  overflow: hidden;
  border-radius: 24px;
  background: #eeece3;
  color: #145f35;
}

body.tax-product_cat .em-product-card__badges,
body.post-type-archive-product .em-product-card__badges {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

body.tax-product_cat .em-product-card__badge,
body.post-type-archive-product .em-product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dcc469;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

body.tax-product_cat .em-product-card__wishlist,
body.post-type-archive-product .em-product-card__wishlist {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  color: #145f35;
}

body.tax-product_cat .em-product-card__wishlist svg,
body.post-type-archive-product .em-product-card__wishlist svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.tax-product_cat .em-product-card__image-link,
body.post-type-archive-product .em-product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 72px 54px 28px;
  text-decoration: none;
}

body.tax-product_cat .em-product-card__image,
body.post-type-archive-product .em-product-card__image {
  display: block;
  width: auto !important;
  max-width: 88%;
  max-height: 300px;
  height: auto !important;
  object-fit: contain;
  transition: transform 0.35s ease;
}

body.tax-product_cat .em-product-card:hover .em-product-card__image,
body.post-type-archive-product .em-product-card:hover .em-product-card__image {
  transform: translateY(-4px) scale(1.025);
}

body.tax-product_cat .em-product-card__content,
body.post-type-archive-product .em-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 24px 34px 34px;
  text-align: center;
}

body.tax-product_cat .em-product-card__title,
body.post-type-archive-product .em-product-card__title {
  margin: 0 0 20px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-decoration: none;
}

body.tax-product_cat .em-product-card__title:hover,
body.post-type-archive-product .em-product-card__title:hover {
  color: #07261d;
}

body.tax-product_cat .em-product-card__pack,
body.post-type-archive-product .em-product-card__pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 28px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #3c4d41;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

body.tax-product_cat .em-product-card__price,
body.post-type-archive-product .em-product-card__price {
  margin-top: auto;
  margin-bottom: 26px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

body.tax-product_cat .em-product-card__price del,
body.post-type-archive-product .em-product-card__price del {
  margin-right: 8px;
  color: rgba(20, 95, 53, 0.45);
  font-size: 0.72em;
}

body.tax-product_cat .em-product-card__price ins,
body.post-type-archive-product .em-product-card__price ins {
  text-decoration: none;
}

body.tax-product_cat .em-product-card__button,
body.post-type-archive-product .em-product-card__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 48px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #145f35 !important;
  color: #fff !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
}

body.tax-product_cat .em-product-card__button:hover,
body.post-type-archive-product .em-product-card__button:hover {
  background: #07261d !important;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 1399px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 32px, 100%);
  }
}

@media (max-width: 575px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: 1fr;
  }

  body.tax-product_cat .em-product-card,
  body.post-type-archive-product .em-product-card {
    min-height: auto;
  }

  body.tax-product_cat .em-product-card__image-link,
  body.post-type-archive-product .em-product-card__image-link {
    min-height: 340px;
    padding: 66px 38px 20px;
  }

  body.tax-product_cat .em-product-card__image,
  body.post-type-archive-product .em-product-card__image {
    max-height: 250px;
  }
}



.site-main > * {
  margin-top: 30px;
}



/* ==========================================================================
   EM Farm - Fix griglia prodotti categoria: rimuove layout WooCommerce default
   ========================================================================== */

body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat ul.products.products,
body.post-type-archive-product ul.products.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  max-width: 1920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::after,
body.post-type-archive-product .woocommerce ul.products::before,
body.post-type-archive-product .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

/* Override diretto del CSS WooCommerce che crea margini e width 22.05% */
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_cat.woocommerce-page ul.products li.product,
body.post-type-archive-product .woocommerce ul.products li.product,
body.post-type-archive-product.woocommerce-page ul.products li.product,
body.tax-product_cat ul.products li.em-archive-product-card-wrap,
body.post-type-archive-product ul.products li.em-archive-product-card-wrap {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  position: relative !important;
  list-style: none !important;
}

/* La card deve riempire tutta la colonna */
body.tax-product_cat ul.products li.product .em-product-card,
body.post-type-archive-product ul.products li.product .em-product-card {
  width: 100% !important;
  height: 100%;
}

/* Responsive */
@media (max-width: 1399px) {
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat ul.products.products,
  body.post-type-archive-product ul.products.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat ul.products.products,
  body.post-type-archive-product ul.products.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100% - 32px, 100%) !important;
  }
}

@media (max-width: 575px) {
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat ul.products.products,
  body.post-type-archive-product ul.products.products {
    grid-template-columns: 1fr !important;
  }
}




/* ==========================================================================
   EM Farm - Griglia prodotti archivio custom
   ========================================================================== */

body.woocommerce-page .woocommerce ul.products.em-products-grid,
body.woocommerce .woocommerce ul.products.em-products-grid,
.woocommerce ul.products.em-products-grid,
ul.products.em-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  max-width: 1920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce-page .woocommerce ul.products.em-products-grid::before,
body.woocommerce-page .woocommerce ul.products.em-products-grid::after,
body.woocommerce .woocommerce ul.products.em-products-grid::before,
body.woocommerce .woocommerce ul.products.em-products-grid::after,
.woocommerce ul.products.em-products-grid::before,
.woocommerce ul.products.em-products-grid::after,
ul.products.em-products-grid::before,
ul.products.em-products-grid::after {
  display: none !important;
  content: none !important;
}

/* Override diretto WooCommerce: float, margini e width standard */
body.woocommerce-page .woocommerce ul.products.em-products-grid > li.product,
body.woocommerce .woocommerce ul.products.em-products-grid > li.product,
.woocommerce ul.products.em-products-grid > li.product,
ul.products.em-products-grid > li.product,
ul.products.em-products-grid > li.em-archive-product-card-wrap {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  position: relative !important;
  list-style: none !important;
}

/* Card piena dentro la cella */
ul.products.em-products-grid > li.product .em-product-card,
ul.products.em-products-grid > li.em-archive-product-card-wrap .em-product-card {
  width: 100% !important;
  height: 100% !important;
}

/* Responsive */
@media (max-width: 1399px) {
  body.woocommerce-page .woocommerce ul.products.em-products-grid,
  body.woocommerce .woocommerce ul.products.em-products-grid,
  .woocommerce ul.products.em-products-grid,
  ul.products.em-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.woocommerce-page .woocommerce ul.products.em-products-grid,
  body.woocommerce .woocommerce ul.products.em-products-grid,
  .woocommerce ul.products.em-products-grid,
  ul.products.em-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100% - 32px, 100%) !important;
  }
}

@media (max-width: 575px) {
  body.woocommerce-page .woocommerce ul.products.em-products-grid,
  body.woocommerce .woocommerce ul.products.em-products-grid,
  .woocommerce ul.products.em-products-grid,
  ul.products.em-products-grid {
    grid-template-columns: 1fr !important;
  }
}








/* ==========================================================================
   EM Farm - FAQ categorie prodotto
   ========================================================================== */

.em-product-category-faq-section {
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 60px;
  color: #145f35;
}

.em-product-category-faq-section__inner {

  margin-right: auto;
  margin-left: auto;
}

.em-product-category-faq-section__header {
  margin-bottom: clamp(30px, 4vw, 56px);
  text-align: center;
}

.em-product-category-faq-section__title {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 44px;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1.02;
  text-transform: none;
}

.em-product-category-faqs {
  display: grid;
  gap: 14px;
  max-width: 1520px;
  margin-right: auto;
  margin-left: auto;
}

.em-product-category-faq {
  overflow: hidden;
  border-radius: 12px;
  background: #FFFAF6;
  color: #145f35;
}

.em-product-category-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 0 28px;
  color: #000;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.em-product-category-faq__question::-webkit-details-marker {
  display: none;
}

.em-product-category-faq__question::after {
  flex: 0 0 auto;
  color: #145f35;
  content: "+";
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.em-product-category-faq[open] .em-product-category-faq__question::after {
  content: "−";
}

.em-product-category-faq__answer {
  max-width: 1100px;
  padding: 0 28px 28px;
  color: #000;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.em-product-category-faq__answer p {
  margin: 0 0 1em;
}

.em-product-category-faq__answer p:last-child {
  margin-bottom: 0;
}

.em-product-category-faq__question:focus {
  outline: none;
}

.em-product-category-faq__question:focus-visible {
  outline: 2px solid #24733a;
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .em-product-category-faq-section__inner {
    width: min(100% - 36px, 100%);
  }
}

@media (max-width: 575px) {
  .em-product-category-faq-section__inner {
    width: min(100% - 32px, 100%);
  }

  .em-product-category-faq__question {
    min-height: 68px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .em-product-category-faq__answer {
    padding-right: 18px;
    padding-left: 18px;
  }
}



/* ==========================================================================
   EM Farm - Pagina offerte dinamica
   ========================================================================== */

.em-product-category-hero--offers {
  padding-bottom: clamp(56px, 6vw, 100px);
}

body.emfarm-offers-page .em-shop-toolbar {
  width: min(100% - 40px, 1920px);
  margin-right: auto;
  margin-left: auto;
}


/* ==========================================================================
   EM Farm - Nasconde header WooCommerce standard nella pagina offerte
   ========================================================================== */

body.emfarm-offers-page .woocommerce-products-header {
  display: none !important;
}


/* ==========================================================================
   EM Farm - Griglia prodotti custom categorie/offerte
   ========================================================================== */

.em-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100%;
  max-width: 1920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

.em-products-grid::before,
.em-products-grid::after {
  display: none !important;
  content: none !important;
}

.em-products-grid > li,
.em-products-grid > li.product,
.em-products-grid > li.em-archive-product-card-wrap {
  float: none !important;
  clear: none !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  list-style: none !important;
}

.em-products-grid > li .em-product-card {
  width: 100% !important;
  height: 100% !important;
}

/* Toolbar allineata alla griglia */
.em-shop-toolbar {
  width: 100%;
  max-width: 1920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  margin-bottom: 28px !important;
}

/* Responsive */
@media (max-width: 1399px) {
  .em-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .em-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100% - 32px, 100%) !important;
  }

  .em-shop-toolbar {
    width: min(100% - 32px, 100%) !important;
  }
}

@media (max-width: 575px) {
  .em-products-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   EM Farm - WooCommerce My Account
   Pagina /mio-account/ + endpoints: ordini, download, indirizzi, dettagli account
   ========================================================================== */

/* Wrapper pagina account */
body.woocommerce-account #primary,
body.woocommerce-account .content-area,
body.woocommerce-account .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.woocommerce-account article.entry {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Header pagina */
body.woocommerce-account .entry-header {
  width: min(100% - 64px, 1520px);
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 80px) 0 clamp(30px, 4vw, 56px);
  border: 0;
  text-align: center;
}

body.woocommerce-account .entry-title {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 50px;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: none;
}

/* Contenuto pagina */
body.woocommerce-account .entry-content {
  width: min(100% - 64px, 1520px);
  max-width: 1520px;
  margin: 0 auto;
  padding: 50px 0 clamp(70px, 8vw, 130px);
}

body.woocommerce-account .entry-content > .woocommerce {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Layout account loggato */
body.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* Notices full width */
body.woocommerce-account .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  float: none;
  width: 100%;
  margin: 0;
}

/* ==========================================================================
   Navigazione My Account
   ========================================================================== */

body.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  background: #FFFAF6;
  list-style: none;
}

body.admin-bar.woocommerce-account .woocommerce-MyAccount-navigation ul {
  top: 128px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: #145f35;
  background: transparent;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  content: "›";
  color: currentColor;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: #07261d;
  background: rgba(217, 205, 191, 0.45);
  transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  color: #fff;
  background: #145f35;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  margin-top: 10px;
  color: #fff;
  background: #07261d;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: #fff;
  background: #145f35;
}

/* ==========================================================================
   Contenuto My Account
   ========================================================================== */

body.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
  background: #FFFAF6;
  color: #145f35;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  max-width: 920px;
  margin: 0 0 18px;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

body.woocommerce-account .woocommerce-MyAccount-content p:last-child {
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content strong {
  font-weight: 800;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
  color: #145f35;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
  color: #07261d;
}

/* Titoli interni */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content legend {
  margin: 0 0 20px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

body.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: clamp(22px, 2.4vw, 32px);
}

body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content legend {
  font-size: clamp(22px, 1.6vw, 30px);
}

/* ==========================================================================
   Tabelle: ordini, download
   ========================================================================== */

body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account .woocommerce-table {
  width: 100%;
  margin: 0 0 26px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
}

body.woocommerce-account table.shop_table thead th,
body.woocommerce-account .woocommerce-orders-table thead th,
body.woocommerce-account .woocommerce-table thead th {
  padding: 0 18px 10px;
  border: 0;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

body.woocommerce-account table.shop_table tbody tr,
body.woocommerce-account .woocommerce-orders-table tbody tr,
body.woocommerce-account .woocommerce-table tbody tr {
  border-radius: 18px;
  background: #fff;
}

body.woocommerce-account table.shop_table tbody td,
body.woocommerce-account .woocommerce-orders-table tbody td,
body.woocommerce-account .woocommerce-table tbody td {
  padding: 0 18px;
  border: 0;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  vertical-align: middle;
}

body.woocommerce-account table.shop_table tbody td:first-child,
body.woocommerce-account .woocommerce-orders-table tbody td:first-child,
body.woocommerce-account .woocommerce-table tbody td:first-child {
  border-radius: 18px 0 0 18px;
}

body.woocommerce-account table.shop_table tbody td:last-child,
body.woocommerce-account .woocommerce-orders-table tbody td:last-child,
body.woocommerce-account .woocommerce-table tbody td:last-child {
  border-radius: 0 18px 18px 0;
}

body.woocommerce-account table.shop_table mark,
body.woocommerce-account .woocommerce-orders-table mark {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217, 205, 191, 0.5);
  color: #145f35;
  font-weight: 800;
}

/* Bottoni nelle tabelle */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content a.button,
body.woocommerce-account .woocommerce-MyAccount-content button.button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #145f35;
  color: #fff;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover {
  background: #07261d;
  color: #fff;
}

body.woocommerce-view-order .woocommerce-table tbody td {
  padding-top:5px!important;
  padding-bottom: 5px!important; 
}

.woocommerce .woocommerce-customer-details address {
  border-bottom-width: 1px;
  border-right-width: 1px;
}

/* ==========================================================================
   Indirizzi
   ========================================================================== */

body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

body.woocommerce-account .woocommerce-Address {
  width: 100%;
  margin: 0;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
}

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

body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

body.woocommerce-account .woocommerce-Address-title a {
  color: #145f35;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-Address address {
  margin: 0;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
}

/* ==========================================================================
   Form account / indirizzi / login
   ========================================================================== */

body.woocommerce-account form {
  margin: 0;
}

body.woocommerce-account form fieldset {
  margin: 30px 0 0;
  padding: 26px;
  border: 0;
  border-radius: 22px;
  background: #fff;
}

body.woocommerce-account form .form-row {
  margin-bottom: 18px;
}

body.woocommerce-account form .form-row label {
  margin-bottom: 7px;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account select,
body.woocommerce-account textarea {
  min-height: 52px;
  border: 1px solid rgba(20, 95, 53, 0.16);
  border-radius: 14px;
  background: #fff;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 600;
}

body.woocommerce-account .woocommerce form .form-row input.input-text:focus,
body.woocommerce-account .woocommerce form .form-row textarea:focus,
body.woocommerce-account .woocommerce form .form-row select:focus,
body.woocommerce-account input[type="text"]:focus,
body.woocommerce-account input[type="email"]:focus,
body.woocommerce-account input[type="password"]:focus,
body.woocommerce-account input[type="tel"]:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus {
  border-color: #145f35;
  box-shadow: 0 0 0 3px rgba(20, 95, 53, 0.12);
}

body.woocommerce-account .woocommerce-form-row em,
body.woocommerce-account .woocommerce-password-hint,
body.woocommerce-account .woocommerce-password-strength {
  display: block;
  margin-top: 7px;
  color: rgba(20, 95, 53, 0.72);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

body.woocommerce-account .woocommerce-password-strength {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(217, 205, 191, 0.45);
  font-weight: 800;
}

/* Login / registrazione account quando utente non loggato */
body.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
}

body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: #FFFAF6;
}

body.woocommerce-account .u-column1 h2,
body.woocommerce-account .u-column2 h2 {
  margin: 0 0 26px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Checkbox ricordami */
body.woocommerce-account .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #145f35;
  font-weight: 700;
}

body.woocommerce-account .woocommerce-form-login__rememberme input {
  margin: 0;
}

/* Link password dimenticata */
body.woocommerce-account .woocommerce-LostPassword {
  margin-top: 16px;
}

body.woocommerce-account .woocommerce-LostPassword a {
  color: #145f35;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Messaggi WooCommerce
   ========================================================================== */

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 0;
  border-radius: 18px;
  background: #FFFAF6;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-error {
  color: #8f1d1d;
  background: #fff3f0;
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-error::before {
  display: none;
}

/* Empty states */
body.woocommerce-account .woocommerce-Message,
body.woocommerce-account .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

@media (max-width: 1199px) {
  body.woocommerce-account .woocommerce {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 991px) {
  body.woocommerce-account .entry-header,
  body.woocommerce-account .entry-content {
    width: min(100% - 36px, 100%);
  }

  body.woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    position: relative;
    top: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 44px;
    padding: 0 16px;
    white-space: nowrap;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
    display: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 28px;
  }

  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account .u-columns {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account table.shop_table,
  body.woocommerce-account .woocommerce-orders-table,
  body.woocommerce-account .woocommerce-table {
    border-spacing: 0;
  }

  body.woocommerce-account table.shop_table thead,
  body.woocommerce-account .woocommerce-orders-table thead,
  body.woocommerce-account .woocommerce-table thead {
    display: none;
  }

  body.woocommerce-account table.shop_table tbody tr,
  body.woocommerce-account .woocommerce-orders-table tbody tr,
  body.woocommerce-account .woocommerce-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
  }

  body.woocommerce-account table.shop_table tbody td,
  body.woocommerce-account .woocommerce-orders-table tbody td,
  body.woocommerce-account .woocommerce-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-radius: 0 !important;
    text-align: right;
  }

  body.woocommerce-account table.shop_table tbody td::before,
  body.woocommerce-account .woocommerce-orders-table tbody td::before,
  body.woocommerce-account .woocommerce-table tbody td::before {
    content: attr(data-title);
    flex: 0 0 auto;
    color: #145f35;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }
}

@media (max-width: 575px) {
  body.woocommerce-account .entry-header,
  body.woocommerce-account .entry-content {
    width: min(100% - 32px, 100%);
  }

  body.woocommerce-account .entry-header {
    padding-top: 34px;
    padding-bottom: 26px;
    text-align: left;
  }

  body.woocommerce-account .entry-title {
    font-size: 38px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .u-column1,
  body.woocommerce-account .u-column2 {
    padding: 22px;
    border-radius: 22px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content p {
    font-size: 15px;
  }

  body.woocommerce-account form fieldset,
  body.woocommerce-account .woocommerce-Address {
    padding: 20px;
    border-radius: 18px;
  }

  body.woocommerce-account .woocommerce-Message,
  body.woocommerce-account .woocommerce-info {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   EM Farm - FIX My Account layout
   Forza menu a sinistra e contenuto a destra
   ========================================================================== */

body.woocommerce-account .entry-content > .woocommerce {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 64px) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
}

/* Menu account sempre colonna sinistra */
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Contenuto account sempre colonna destra */
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Se WooCommerce inserisce notices come primo elemento */
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Box menu */
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  position: sticky;
  top: 96px;
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px !important;
  border-radius: 24px;
  background: #FFFAF6;
  list-style: none !important;
}

/* Card contenuto */
body.woocommerce-account .woocommerce-MyAccount-content {
  min-height: 360px;
  padding: clamp(32px, 4vw, 56px) !important;
  border-radius: 28px;
  background: #FFFAF6;
}

/* Evita che i paragrafi sembrino una card stretta */
body.woocommerce-account .woocommerce-MyAccount-content p {
  max-width: 100% !important;
}

/* Responsive tablet/mobile */
@media (max-width: 991px) {
  body.woocommerce-account .entry-content > .woocommerce {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-navigation,
  body.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    position: relative;
    top: auto;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px !important;
    overflow-x: auto;
    padding: 12px !important;
    scrollbar-width: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }
}



/* ==========================================================================
   EM Farm - FIX My Account indirizzi WooCommerce
   Corregge conflitto Bootstrap .col-1 / .col-2
   ========================================================================== */

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
}

/* Reset forte delle colonne WooCommerce che Bootstrap rovina */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .col-2 {
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  flex: initial !important;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #145f35 !important;
}

/* Header card indirizzo */
body.woocommerce-account .woocommerce-Address-title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title.title {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
}

/* Titolo indirizzo */
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
  max-width: 360px !important;
  margin: 0 !important;
  color: #145f35 !important;
  font-family: var(--em-font-heading, "Montserrat", sans-serif) !important;
  font-size: clamp(26px, 2.3vw, 42px) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Link aggiungi/modifica */
body.woocommerce-account .woocommerce-Address-title .edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #FFFAF6 !important;
  color: #145f35 !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}

body.woocommerce-account .woocommerce-Address-title .edit:hover {
  background: #145f35 !important;
  color: #fff !important;
}

/* Testo indirizzo */
body.woocommerce-account .woocommerce-Address address {
  margin: auto 0 0 !important;
  color: #145f35 !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

/* Testo sopra gli indirizzi */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  max-width: none !important;
  margin-bottom: 28px !important;
}

/* Responsive */
@media (max-width: 991px) {
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-account .woocommerce-Address-title,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title.title {
    align-items: flex-start !important;
  }
}

@media (max-width: 575px) {
  body.woocommerce-account .woocommerce-Address-title,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title.title {
    flex-direction: column !important;
    gap: 14px !important;
  }

  body.woocommerce-account .woocommerce-Address-title h2,
  body.woocommerce-account .woocommerce-Address-title h3 {
    font-size: 28px !important;
  }

  body.woocommerce-account .woocommerce-Address-title .edit {
    width: 100% !important;
  }
}


/* ==========================================================================
   EM Farm - FIX definitivo indirizzi My Account
   Rimuove clearfix WooCommerce che rompe la griglia
   ========================================================================== */

body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

/* QUESTO è il fix importante */
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses::after,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses::after,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after {
  display: none !important;
  content: none !important;
}

/* Prima card: fatturazione */
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column1 {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

/* Seconda card: spedizione */
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .col-2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

/* Reset completo colonne WooCommerce + Bootstrap */
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .col-2 {
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #145f35 !important;
}

/* Header interno card */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
}

/* Titolo card */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
  margin: 0 !important;
  color: #145f35 !important;
  font-family: var(--em-font-heading, "Montserrat", sans-serif) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Bottone aggiungi/modifica indirizzo */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 150px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #3c4d41 !important;
  color: #fff !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit:hover {
  background: #145f35 !important;
  color: #fff !important;
}

/* Testo indirizzo */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address {
  margin: auto 0 0 !important;
  color: #145f35 !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

/* Mobile */
@media (max-width: 991px) {
  body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .u-column1,
  body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .col-1,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column1,
  body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .u-column2,
  body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses > .col-2,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column2 {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 575px) {
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
    flex-direction: column !important;
    gap: 16px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 30px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    width: 100% !important;
  }
}

.height-100 img {
  height: 100%!important;
}

.box-icon-center i {
  font-size: 34px;
}

.box-icon-center i.eicon-edit {
  font-size: 14px;
}

/* ==========================================================================
   EM Farm - Contact Form 7 richiesta
   ========================================================================== */

.em-cf7-form {
  width: 100%;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
}

.em-cf7-grid {
  display: grid;
  gap: 36px 28px;
}

.em-cf7-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.em-cf7-field {
  position: relative;
  margin: 0;
}

.em-cf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
}

.em-cf7-form input[type="text"],
.em-cf7-form input[type="email"],
.em-cf7-form input[type="tel"],
.em-cf7-form select,
.em-cf7-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 10px;
  border: 1px solid rgba(7, 38, 29, 0.12);
  border-radius: 20px;
  background: #fff;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  box-shadow: none;
  outline: none;
}

.em-cf7-form input::placeholder,
.em-cf7-form textarea::placeholder {
  color: #07261d;
  opacity: 1;
}

.em-cf7-form input:focus,
.em-cf7-form select:focus,
.em-cf7-form textarea:focus {
  border-color: #24733a;
  box-shadow: 0 0 0 3px rgba(36, 115, 58, 0.10);
}

.em-cf7-field--icon input {
  padding-right: 82px;
}

.em-cf7-field--email::after {
  position: absolute;
  top: 50%;
  right: 36px;
  width: 32px;
  height: 24px;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
  background:
    linear-gradient(#145f35, #145f35) left top / 100% 3px no-repeat,
    linear-gradient(#145f35, #145f35) left bottom / 100% 3px no-repeat,
    linear-gradient(#145f35, #145f35) left top / 3px 100% no-repeat,
    linear-gradient(#145f35, #145f35) right top / 3px 100% no-repeat;
  border-radius: 4px;
  display: none;
}

.em-cf7-field--email::before {
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 15px;
  content: "";
  pointer-events: none;
  border-right: 3px solid #145f35;
  border-bottom: 3px solid #145f35;
  transform: translateY(-65%) rotate(45deg);
  display: none;
}

.em-cf7-field--select {
  margin-top: 0;
}

.em-cf7-floating-label {
  position: absolute;
  top: 28px;
  left: 10px;
  z-index: 2;
  color: rgba(7, 38, 29, 0.55);
  font-size: 14px;
  font-weight: 400;
  pointer-events: none;
}

.em-cf7-form select {
  min-height: 50px;
  padding-top: 15px;
  padding-right: 20px;
  appearance: none;
  color: #07261d;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #3d4f45 50%),
    linear-gradient(135deg, #3d4f45 50%, transparent 50%);
  background-position:
    calc(100% - 42px) 54%,
    calc(100% - 30px) 54%;
  background-size: 12px 12px, 12px 12px;
  background-repeat: no-repeat;
}

.em-cf7-field--textarea {
  margin-top: 36px;
}

.em-cf7-form textarea {
  min-height: 300px;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: vertical;
}

.em-cf7-maxlength {
  position: absolute;
  right: 36px;
  bottom: 32px;
  color: rgba(7, 38, 29, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.em-cf7-privacy {
  margin-top: 24px;
  color: #07261d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.em-cf7-privacy .wpcf7-list-item {
  margin: 0;
}

.em-cf7-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.em-cf7-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #145f35;
}

.em-cf7-privacy a {
  color: #145f35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.em-cf7-submit {
  margin-top: 28px;
}

.em-cf7-form input[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: #145f35;
  color: #fff;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.em-cf7-form input[type="submit"]:hover,
.em-cf7-form input[type="submit"]:focus {
  background: #07261d;
  color: #fff;
  transform: translateY(-1px);
}

.em-cf7-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #c62828;
  font-size: 13px;
}

.em-cf7-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
}

/* Responsive */

@media (max-width: 767px) {
  .em-cf7-grid--2 {
    grid-template-columns: 1fr;
  }

  .em-cf7-grid {
    gap: 18px;
  }

  .em-cf7-field--select,
  .em-cf7-field--textarea {
    margin-top: 18px;
  }

  .em-cf7-form input[type="text"],
  .em-cf7-form input[type="email"],
  .em-cf7-form input[type="tel"],
  .em-cf7-form select {
    min-height: 72px;
    padding-right: 22px;
    padding-left: 22px;
    border-radius: 16px;
    font-size: 18px;
  }

  .em-cf7-field--icon input {
    padding-right: 64px;
  }

  .em-cf7-field--email::after {
    right: 24px;
    width: 26px;
    height: 20px;
  }

  .em-cf7-field--email::before {
    right: 29px;
    width: 16px;
    height: 16px;
  }

  .em-cf7-floating-label {
    top: 12px;
    left: 22px;
    font-size: 13px;
  }

  .em-cf7-form select {
    padding-top: 22px;
    background-position:
      calc(100% - 30px) 54%,
      calc(100% - 21px) 54%;
    background-size: 9px 9px, 9px 9px;
  }

  .em-cf7-form textarea {
    min-height: 220px;
    padding: 24px 22px 54px;
    border-radius: 16px;
    font-size: 18px;
  }

  .em-cf7-maxlength {
    right: 22px;
    bottom: 24px;
    font-size: 16px;
  }

  .em-cf7-form input[type="submit"] {
    min-height: 62px;
    font-size: 20px;
  }
}

/* ==========================================================================
   EM Farm - Shop generale /negozio/: griglia e card uguali a categorie/home
   ========================================================================== */

/* Griglia prodotti WooCommerce standard */
body.woocommerce .woocommerce ul.products,
body.woocommerce-page .woocommerce ul.products,
body.woocommerce ul.products,
body.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  max-width: 1920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce .woocommerce ul.products::before,
body.woocommerce .woocommerce ul.products::after,
body.woocommerce-page .woocommerce ul.products::before,
body.woocommerce-page .woocommerce ul.products::after,
body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

/* Reset forte dei li.product WooCommerce */
body.woocommerce .woocommerce ul.products > li.product,
body.woocommerce-page .woocommerce ul.products > li.product,
body.woocommerce ul.products > li.product,
body.woocommerce-page ul.products > li.product,
body.woocommerce ul.products > li.em-archive-product-card-wrap,
body.woocommerce-page ul.products > li.em-archive-product-card-wrap {
  float: none !important;
  clear: none !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  list-style: none !important;
}

/* Card piena nella colonna */
body.woocommerce ul.products > li .em-product-card,
body.woocommerce-page ul.products > li .em-product-card {
  width: 100% !important;
  height: 100% !important;
}

/* Toolbar sopra prodotti */
body.woocommerce .woocommerce-result-count,
body.woocommerce-page .woocommerce-result-count {
  float: none !important;
  margin: 0 !important;
  color: #145f35 !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.woocommerce .woocommerce-ordering,
body.woocommerce-page .woocommerce-ordering {
  float: right !important;
  margin: 0 !important;
  max-width: 300px;
  margin-bottom: 20px !important;
}

body.woocommerce .woocommerce-ordering select,
body.woocommerce-page .woocommerce-ordering select {
  min-width: 240px !important;
  min-height: 54px !important;
  padding: 0 46px 0 18px !important;
  border: 1px solid rgba(20, 95, 53, 0.18) !important;
  border-radius: 7px !important;
  background-color: #fff !important;
  color: #000 !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Se WooCommerce mette count e ordering separati */
body.woocommerce .woocommerce-notices-wrapper + .woocommerce-result-count,
body.woocommerce-page .woocommerce-notices-wrapper + .woocommerce-result-count {
  width: min(100% - 40px, 1920px) !important;
  max-width: 1920px !important;
  margin: 0 auto 26px !important;
}

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

@media (max-width: 1399px) {
  body.woocommerce .woocommerce ul.products,
  body.woocommerce-page .woocommerce ul.products,
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.woocommerce .woocommerce ul.products,
  body.woocommerce-page .woocommerce ul.products,
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100% - 32px, 100%) !important;
  }

  body.woocommerce .woocommerce-ordering,
  body.woocommerce-page .woocommerce-ordering {
    width: min(100% - 32px, 100%) !important;
    margin: 0 auto 24px !important;
  }

  body.woocommerce .woocommerce-ordering select,
  body.woocommerce-page .woocommerce-ordering select {
    width: 100% !important;
  }
}

@media (max-width: 575px) {
  body.woocommerce .woocommerce ul.products,
  body.woocommerce-page .woocommerce ul.products,
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   EM Farm - Archivio blog categoria Ricette
   ========================================================================== */

body.category-ricette,
body.category-ricette .site-main {
  background: #efe7df;
}

.em-recipe-archive-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Hero categoria ricette */
.em-recipe-archive-hero {
width: min(100% - 64px, 1520px);
margin-right: auto;
margin-left: auto;
padding-top: 30px;
padding-bottom: 30px;
color: #145f35;
margin-bottom: 60px;
}

.em-recipe-archive-hero__breadcrumb {
  margin-bottom:30px;
}

.em-recipe-archive-hero__breadcrumb,
.em-recipe-archive-hero__breadcrumb a,
.em-recipe-archive-hero__breadcrumb span,
.em-recipe-archive-hero .em-category-breadcrumb {
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.em-recipe-archive-hero__breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.em-recipe-archive-hero__content {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.em-recipe-archive-hero__title {
  max-width: 1120px;
  margin: 0 auto 24px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: clamp(42px, 4.6vw, 86px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-transform: none;
}

.em-recipe-archive-hero__description {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 1.48;
}

.em-recipe-archive-hero__description p {
  margin: 0;
}

/* Listing */
.em-recipe-archive-listing {
  width: 100%;
  padding-bottom: clamp(80px, 8vw, 140px);
}

.em-recipe-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.em-recipe-archive-grid__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Card ricetta: usa base card prodotti */
.em-recipe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 580px;
  overflow: hidden;
  border-radius: 24px;
  background: #e6ded3;
  color: #145f35;
}

/* Immagine grande, non PNG: cover */
.em-recipe-card .em-product-card__image-link,
.em-recipe-card__image-link {
  display: block;
  width: 100%;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

.em-recipe-card .em-product-card__image,
.em-recipe-card__image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 390px !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.45s ease;
}

.em-recipe-card:hover .em-recipe-card__image {
  transform: scale(1.035);
}

/* Badge */
.em-recipe-card .em-product-card__badges {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.em-recipe-card .em-product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dcc469;
  color: #07261d;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

/* Contenuto */
.em-recipe-card__content,
.em-recipe-card .em-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 34px 34px 38px;
  text-align: center;
}

.em-recipe-card__title,
.em-recipe-card .em-product-card__title {
  margin: 0 0 18px;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.em-recipe-card__title:hover {
  color: #07261d;
}

.em-recipe-card__excerpt {
  max-width: 340px;
  margin: 0 auto 30px;
  color: #3c4d41;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

/* Bottone */
.em-recipe-card__button,
.em-recipe-card .em-product-card__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 48px;
  margin-top: auto;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #145f35 !important;
  color: #fff !important;
  font-family: var(--em-font-body, "Urbanist", sans-serif) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.em-recipe-card__button:hover {
  background: #07261d !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Placeholder se manca immagine */
.em-recipe-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 390px;
  padding: 30px;
  background: #d9cdbf;
  color: #145f35;
  font-family: var(--em-font-heading, "Montserrat", sans-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

/* Pagination */
.em-recipe-archive-pagination {
  width: min(100% - 40px, 1920px);
  max-width: 1920px;
  margin: 48px auto 0;
}

.em-recipe-archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.em-recipe-archive-pagination a,
.em-recipe-archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #145f35;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.em-recipe-archive-pagination .current {
  background: #145f35;
  color: #fff;
}

/* Empty */
.em-recipe-archive-empty {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 44px;
  border-radius: 24px;
  background: #FFFAF6;
  color: #145f35;
  text-align: center;
}

.em-recipe-archive-empty p {
  margin: 0;
  font-family: var(--em-font-body, "Urbanist", sans-serif);
  font-size: 18px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1399px) {
  .em-recipe-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .em-recipe-archive-hero {
    width: min(100% - 36px, 100%);
  }

  .em-recipe-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 32px, 100%);
  }

  .em-recipe-card {
    min-height: 620px;
  }

  .em-recipe-card .em-product-card__image,
  .em-recipe-card__image,
  .em-recipe-card__placeholder {
    height: 330px !important;
  }
}

@media (max-width: 575px) {
  .em-recipe-archive-hero {
    width: min(100% - 32px, 100%);
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .em-recipe-archive-hero__content {
    text-align: left;
  }

  .em-recipe-archive-hero__title {
    margin-left: 0;
    margin-right: 0;
    font-size: 38px;
    text-align: left;
  }

  .em-recipe-archive-hero__description {
    font-size: 15px;
    text-align: left;
  }

  .em-recipe-archive-grid {
    grid-template-columns: 1fr;
  }

  .em-recipe-card {
    min-height: auto;
  }

  .em-recipe-card .em-product-card__image,
  .em-recipe-card__image,
  .em-recipe-card__placeholder {
    height: 280px !important;
  }

  .em-recipe-card__content,
  .em-recipe-card .em-product-card__content {
    padding: 28px 24px 32px;
  }
}


/* ==========================================================================
   EM Farm - Fix card archivio ricette
   ========================================================================== */

.em-recipe-card {
  padding: 0 !important;
}

/* Nessun padding tra immagine e card */
.em-recipe-card .em-product-card__image-link,
.em-recipe-card__image-link {
  display: block !important;
  width: 100% !important;
  min-height: 390px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Immagine piena in alto */
.em-recipe-card .em-product-card__image,
.em-recipe-card__image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 390px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Nasconde comunque eventuali badge rimasti */
.em-recipe-card .em-product-card__badges,
.em-recipe-card .em-product-card__badge {
  display: none !important;
}

/* Placeholder senza padding strano */
.em-recipe-card__placeholder {
  width: 100% !important;
  height: 390px !important;
  margin: 0 !important;
  padding: 30px !important;
  border-radius: 0 !important;
}

/* Contenuto sotto immagine */
.em-recipe-card__content,
.em-recipe-card .em-product-card__content {
  padding-top: 34px !important;
}



.woocommerce-error, .woocommerce-info, .woocommerce-message {
  display: flex;
}

.woocommerce-dashboard .entry-content {
 
}