/* AGRIBERA — contemporary storefront. Existing commerce and Elementor layouts retained. */
body:not(.page-id-6392) {
  --agribera-cream: #faf8f2;
  --agribera-green: #214c35;
  --agribera-orange: #e57824;
  --agribera-ink: #26352b;
  --agribera-border: #e5e9df;
  --ast-global-color-0: #214c35;
  --ast-global-color-1: #173b28;
  --ast-global-color-2: #26352b;
  --ast-global-color-3: #526155;
  --ast-global-color-4: #faf8f2;
  --ast-global-color-5: #ffffff;
  color: var(--agribera-ink);
  background-color: var(--agribera-cream) !important;
  background-image: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body:not(.page-id-6392) :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title,.elementor-button,.woolentor-product-title,.woocommerce-loop-product__title) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-shadow: none !important;
  -webkit-text-stroke-width: 0 !important;
}
body:not(.page-id-6392) :is(h1,h2,h3,.elementor-heading-title) {
  letter-spacing: -.025em;
  line-height: 1.2;
}
body:not(.page-id-6392) :is(a,button,input,select,textarea):focus-visible {
  outline: 3px solid var(--agribera-orange);
  outline-offset: 4px;
}
/* Compact, calm navigation with the original logo and every existing control. */
body:not(.page-id-6392) .ast-primary-header-bar {
  background: #fff !important;
  border-bottom: 1px solid var(--agribera-border) !important;
  box-shadow: 0 4px 20px rgba(33,76,53,.04);
}
body:not(.page-id-6392) .ast-above-header-bar {
  background: var(--agribera-green) !important;
  color: #fff !important;
}
body:not(.page-id-6392) .ast-above-header-bar :is(p,a,span) { color: inherit !important; }
body:not(.page-id-6392) .ast-below-header-bar {
  background: #f5e9d8 !important;
  color: var(--agribera-green) !important;
  border-bottom: 1px solid #eadcc8;
}
body:not(.page-id-6392) .ast-below-header-bar p {
  margin: 0;
  padding: 10px 8px;
  font: 600 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--agribera-green) !important;
  text-shadow: none;
}
body:not(.page-id-6392) .ast-builder-menu-1 .menu-link {
  font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: .01em;
  color: var(--agribera-green);
}
body:not(.page-id-6392) .ast-builder-menu-1 :is(.menu-link:hover,.current-menu-item>.menu-link) {
  color: #ad4c10;
}
body:not(.page-id-6392) :is(.ast-site-header-cart .ast-addon-cart-wrap,.ast-mobile-menu-trigger-fill) {
  border-radius: 12px;
}
body:not(.page-id-6392) .main-header-menu .sub-menu {
  border: 1px solid var(--agribera-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(33,76,53,.1);
  padding: 8px;
}
/* Consistent button geometry; keep quantity, close and payment controls unchanged. */
body:not(.page-id-6392) :is(.elementor-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.single_add_to_cart_button,.woolentor-product-actions a.button) {
  background-color: var(--agribera-green) !important;
  background-image: none !important;
  border: 1px solid var(--agribera-green) !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font: 650 15px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  padding: 15px 23px;
  transition: background-color .18s, border-color .18s, transform .18s;
}
body:not(.page-id-6392) :is(.elementor-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.single_add_to_cart_button:hover) {
  background-color: #173b28 !important;
  border-color: #173b28 !important;
  transform: translateY(-1px);
}
body:not(.page-id-6392) :is(input.input-text,textarea,select,.woocommerce .quantity .qty,.select2-container--default .select2-selection--single) {
  border: 1px solid #cdd7c9;
  border-radius: 9px;
  background-color: #fff;
  color: var(--agribera-ink);
}
body:not(.page-id-6392) .woocommerce :is(.woocommerce-message,.woocommerce-info) {
  background-color: #eff5ec;
  color: var(--agribera-ink);
  border-top-color: var(--agribera-green);
  border-radius: 8px;
}
/* Catalog cards support both Astra/WooCommerce and the existing ShopLentor widgets. */
body:not(.page-id-6392) :is(.woocommerce ul.products li.product,.woolentor-product-card) {
  background: #fff;
  border: 1px solid var(--agribera-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 24px rgba(33,76,53,.04) !important;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
body:not(.page-id-6392) :is(.woocommerce ul.products li.product:hover,.woolentor-product-card:hover) {
  box-shadow: 0 12px 30px rgba(33,76,53,.10) !important;
}
body:not(.page-id-6392) .woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 16px 18px 20px; }
body:not(.page-id-6392) .woolentor-product-content { padding: 20px; }
body:not(.page-id-6392) :is(.woocommerce-loop-product__title,.woolentor-product-title a) {
  color: var(--agribera-green) !important;
  font-size: 19px !important;
  font-weight: 650 !important;
  text-transform: none;
  line-height: 1.35 !important;
}
body:not(.page-id-6392) :is(.woocommerce .price,.woolentor-product-price) {
  color: var(--agribera-green) !important;
  font-weight: 700;
}
body:not(.page-id-6392) :is(.woocommerce span.onsale,.woolentor-badge) {
  background: #f8e8d4 !important;
  color: #793d11 !important;
  border-radius: 7px !important;
  box-shadow: none;
}
body:not(.page-id-6392) .woocommerce ul.products li.product .onsale {
  top: 12px;
  right: 12px;
  left: auto;
  margin: 0;
}
body:not(.page-id-6392) .woocommerce div.product :is(.woocommerce-product-gallery,.woocommerce-tabs .panel) { border-radius: 16px; }
body:not(.page-id-6392) .woocommerce table.shop_table { border-color: var(--agribera-border); border-radius: 12px; }
/* Resto d'Italia: retain photography, replace the bright orange overlay and title band. */
body.page-id-5614 .elementor-element.elementor-element-33db3b03 {
  --e-con-grid-template-rows: auto auto;
  --min-height: 570px;
  --overlay-opacity: .82;
  --padding-top: 80px;
  --padding-bottom: 76px;
  --padding-left: 24px;
  --padding-right: 24px;
  --row-gap: 24px;
  box-shadow: none;
  background-color: var(--agribera-green);
}
body.page-id-5614 .elementor-element.elementor-element-33db3b03::before {
  background-image: linear-gradient(100deg,rgba(18,50,32,.96),rgba(24,60,38,.66)) !important;
}
body.page-id-5614 .elementor-element.elementor-element-56316935 {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}
body.page-id-5614 .elementor-element.elementor-element-56316935 .elementor-heading-title {
  font-size: clamp(2.25rem,5vw,4rem) !important;
  font-weight: 700;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  word-spacing: normal !important;
  text-transform: none !important;
  mix-blend-mode: normal !important;
  color: #fff !important;
  max-width: 950px;
  margin: 0 auto;
}
body.page-id-5614 .elementor-element.elementor-element-b76fc2a {
  --e-con-grid-template-rows: auto auto auto;
  --row-gap: 16px;
  --margin-top: 0px;
}
body.page-id-5614 :is(.elementor-element-62f8e96,.elementor-element-3274ac63) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(1.05rem,1.6vw,1.35rem) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  color: #f5f7f0 !important;
  margin: 0 auto !important;
  max-width: 760px;
}
body.page-id-5614 :is(.elementor-element-62f8e96,.elementor-element-3274ac63) p { margin-bottom: 0; }
body.page-id-5614 .elementor-element-12ea53d .elementor-button {
  background-color: #e57824 !important;
  border-color: #e57824 !important;
  color: #192e20 !important;
}
/* Photographic category tiles retain their backgrounds and existing links. */
body.page-id-5614 :is(.elementor-element-23aa3a1,.elementor-element-411d424,.elementor-element-26d165c,.elementor-element-a600918) {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(33,76,53,.09) !important;
}
body.page-id-5614 :is(.elementor-element-23aa3a1,.elementor-element-411d424,.elementor-element-26d165c,.elementor-element-a600918)::before {
  background-image: linear-gradient(180deg,rgba(13,35,23,.12),rgba(13,35,23,.78)) !important;
  opacity: .9;
}
body.page-id-5614 :is(.elementor-element-23aa3a1,.elementor-element-411d424,.elementor-element-26d165c,.elementor-element-a600918) .elementor-shape-fill { fill: #faf8f2 !important; }
body.page-id-5614 :is(.elementor-element-57b6607,.elementor-element-d437a96,.elementor-element-386fdcd,.elementor-element-f6412ce) .elementor-heading-title {
  color: #fff !important;
  font-size: clamp(1.4rem,2.1vw,1.9rem) !important;
}
body.page-id-5614 .elementor-element.elementor-element-3981740b {
  background: var(--agribera-cream) !important;
  --padding-top: 30px;
  --padding-bottom: 20px;
}
body.page-id-5614 .elementor-element-1eb7ac44 .elementor-heading-title {
  color: var(--agribera-green) !important;
  font-size: clamp(1.8rem,3vw,2.8rem) !important;
  text-transform: none;
}
body.page-id-5614 .elementor-element.elementor-element-449d1b12 {
  --padding-top: 24px;
  --padding-bottom: 40px;
  --column-gap: 40px;
  background: #fff !important;
}
body.page-id-5614 .elementor-element-449d1b12 :is(.elementor-widget-text-editor,img) { border-radius: 14px; }
body.page-id-5614 .elementor-element.elementor-element-87b6c3e {
  background: #eff3e9 !important;
  --overlay-opacity: 0;
  --padding-top: 36px;
  --padding-bottom: 36px;
  --padding-left: 24px;
  --padding-right: 24px;
  --gap: 22px;
  box-shadow: none;
}
body.page-id-5614 .elementor-element.elementor-element-87b6c3e::before { background: none !important; }
body.page-id-5614 .elementor-element-87b6c3e .elementor-heading-title {
  color: var(--agribera-green) !important;
  font-size: clamp(.95rem,1.5vw,1.2rem) !important;
  font-weight: 650;
  letter-spacing: .01em;
}
body.page-id-5614 .elementor-element-22e503d4 .elementor-heading-title {
  color: var(--agribera-green) !important;
  font-size: clamp(1.7rem,3vw,2.6rem) !important;
}
body.page-id-5614 .elementor-element-58198b9 img { border-radius: 18px; }
body.page-id-5614 :is(.elementor-element.elementor-element-c3614b9,.elementor-element.elementor-element-3d00d0a) {
  background: var(--agribera-cream) !important;
  --padding-top: 24px;
  --padding-bottom: 24px;
}
body.page-id-5614 .elementor-element-cbecfcc .elementor-heading-title {
  color: var(--agribera-green) !important;
  font-size: clamp(1.7rem,3vw,2.6rem) !important;
  font-weight: 700;
}
body:not(.page-id-6392) .elementor-widget-text-editor {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
/* Clear footer hierarchy with all legal and contact content intact. */
body:not(.page-id-6392) :is(.site-above-footer-wrap,.site-primary-footer-wrap,.site-below-footer-wrap) {
  background: #f0f3e9 !important;
  border-color: #dae2d3;
  color: var(--agribera-ink);
}
body:not(.page-id-6392) .site-footer :is(p,a,li,.widget-title) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--agribera-green) !important;
  text-shadow: none !important;
}
body:not(.page-id-6392) .site-footer .widget-title { font-size: 15px; font-weight: 700; letter-spacing: .05em; }
body:not(.page-id-6392) .site-footer a:hover { text-decoration: underline; }
body:not(.page-id-6392) .ast-footer-copyright { font-size: 13px; }
@media (max-width: 767px) {
  body.page-id-5614 .elementor-element.elementor-element-33db3b03 {
    --min-height: 510px;
    --padding-top: 55px;
    --padding-bottom: 50px;
    --padding-left: 20px;
    --padding-right: 20px;
  }
  body.page-id-5614 .elementor-element.elementor-element-50c9432 { --row-gap: 20px; --padding-left: 16px; --padding-right: 16px; }
  body:not(.page-id-6392) .woolentor-product-content { padding: 14px; }
  body:not(.page-id-6392) :is(.woolentor-product-title a,.woocommerce-loop-product__title) { font-size: 16px !important; }
  body:not(.page-id-6392) .ast-below-header-bar p { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.page-id-6392) :is(.elementor-button,.woolentor-product-card,.woocommerce ul.products li.product) { transition: none; }
  body:not(.page-id-6392) :is(.elementor-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover) { transform: none; }
}

/* Preview corrections: Elementor's old negative CTA margins and fixed header rows. */
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-33db3b03 > .e-con-inner,
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-b76fc2a,
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-b76fc2a > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  gap: 22px !important;
  grid-template-rows: none !important;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  transform: none !important;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-12ea53d {
  position: relative !important;
  inset: auto !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-self: center !important;
  width: auto;
  height: auto;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-12ea53d .elementor-button {
  background: #e57824 !important;
  border-color: #e57824 !important;
  color: #192e20 !important;
  transform: none !important;
  animation: none !important;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-12ea53d .elementor-button:is(:hover,:focus) {
  background: #f28a35 !important;
  border-color: #f28a35 !important;
  color: #192e20 !important;
}
body:not(.page-id-6392) .ast-below-header-bar,
body:not(.page-id-6392) .ast-below-header-bar :is(.site-below-header-wrap,.ast-builder-grid-row,.site-header-section,.header-widget-area,.widget) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body:not(.page-id-6392) .ast-below-header-bar p {
  margin: 0 !important;
  padding: 9px 8px !important;
  line-height: 1.5 !important;
}
/* The actual shipping strip belongs to Woo Free Shipping Bar, outside Astra's header. */
body:not(.page-id-6392) #wfspb-top-bar,
body:not(.page-id-6392) #wfspb-top-bar .wfspb-lining-layer,
body:not(.page-id-6392) #wfspb-top-bar #wfspb-progress.wfsb-style-3 {
  background: #214c35 !important;
  color: #fff !important;
}
body:not(.page-id-6392) #wfspb-top-bar #wfspb-main-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.45 !important;
  color: #fff !important;
}
body:not(.page-id-6392) #wfspb-top-bar .wfspb-lining-layer { padding: 9px 12px; }
@media (max-width: 767px) {
  body:not(.page-id-6392) #wfspb-top-bar #wfspb-main-content { font-size: 12px !important; }
}
/* Keep the complete hero group centered in wide viewports as well as phones. */
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-33db3b03 {
  --content-width: 100%;
  --width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-33db3b03 > .e-con-inner {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  align-self: center;
  box-sizing: border-box;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-56316935,
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-b76fc2a {
  --container-widget-width: 100%;
  --width: 100%;
  width: 100% !important;
  max-width: 950px !important;
  margin-inline: auto !important;
  text-align: center !important;
  align-self: center !important;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-56316935 .elementor-heading-title {
  width: 100%;
  max-width: 950px;
  margin-inline: auto !important;
  text-align: center !important;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-b76fc2a > .e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  align-self: center;
}
body.page-id-5614 .elementor-5614 :is(.elementor-element.elementor-element-62f8e96,.elementor-element.elementor-element-3274ac63) {
  width: 100% !important;
  margin-inline: auto !important;
  text-align: center !important;
}
body.page-id-5614 .elementor-5614 .elementor-element.elementor-element-12ea53d {
  width: 100% !important;
  max-width: 100%;
  margin-inline: auto !important;
  text-align: center !important;
}
