/* AGRIBERA — contemporary storefront. Existing commerce and Elementor layouts retained. */
body {
  --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 :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 :is(h1,h2,h3,.elementor-heading-title) {
  letter-spacing: -.025em;
  line-height: 1.2;
}
body :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 .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 .ast-above-header-bar {
  background: var(--agribera-green) !important;
  color: #fff !important;
}
body .ast-above-header-bar :is(p,a,span) { color: inherit !important; }
body .ast-below-header-bar {
  background: #f5e9d8 !important;
  color: var(--agribera-green) !important;
  border-bottom: 1px solid #eadcc8;
}
body .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 .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 .ast-builder-menu-1 :is(.menu-link:hover,.current-menu-item>.menu-link) {
  color: #ad4c10;
}
body :is(.ast-site-header-cart .ast-addon-cart-wrap,.ast-mobile-menu-trigger-fill) {
  border-radius: 12px;
}
body .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 :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 :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 :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 .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 :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 :is(.woocommerce ul.products li.product:hover,.woolentor-product-card:hover) {
  box-shadow: 0 12px 30px rgba(33,76,53,.10) !important;
}
body .woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 16px 18px 20px; }
body .woolentor-product-content { padding: 20px; }
body :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 :is(.woocommerce .price,.woolentor-product-price) {
  color: var(--agribera-green) !important;
  font-weight: 700;
}
body :is(.woocommerce span.onsale,.woolentor-badge) {
  background: #f8e8d4 !important;
  color: #793d11 !important;
  border-radius: 7px !important;
  box-shadow: none;
}
body .woocommerce ul.products li.product .onsale {
  top: 12px;
  right: 12px;
  left: auto;
  margin: 0;
}
body .woocommerce div.product :is(.woocommerce-product-gallery,.woocommerce-tabs .panel) { border-radius: 16px; }
body .woocommerce table.shop_table { border-color: var(--agribera-border); border-radius: 12px; }
/* Clear footer hierarchy with all legal and contact content intact. */
body :is(.site-above-footer-wrap,.site-primary-footer-wrap,.site-below-footer-wrap) {
  background: #f0f3e9 !important;
  border-color: #dae2d3;
  color: var(--agribera-ink);
}
body .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 .site-footer .widget-title { font-size: 15px; font-weight: 700; letter-spacing: .05em; }
body .site-footer a:hover { text-decoration: underline; }
body .ast-footer-copyright { font-size: 13px; }
/* Shared editorial typography and restrained social links. */
body #content :is(.elementor-widget-heading,.elementor-widget-text-editor,.elementor-widget-google_maps,.elementor-widget-social-icons) {
  box-shadow: none !important;
  text-shadow: none !important;
}
body #content :is(.elementor-widget-text-editor,.elementor-icon-list-text,.elementor-divider__text) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-shadow: none !important;
}
body #content .elementor-widget-social-icons {
  --icon-size: 19px;
  --grid-column-gap: 12px;
  --grid-row-gap: 12px;
}
body #content .elementor-widget-social-icons .elementor-social-icon {
  background: #edf2e7 !important;
  color: #214c35 !important;
  border: 1px solid #dce5d5;
  border-radius: 12px !important;
  box-shadow: none !important;
  --icon-padding: .75em;
}
body #content .elementor-widget-social-icons .elementor-social-icon :is(i,svg) {
  color: #214c35 !important;
  fill: #214c35 !important;
}
body #content .elementor-widget-social-icons .elementor-social-icon:hover {
  background: #214c35 !important;
  border-color: #214c35;
}
body #content .elementor-widget-social-icons .elementor-social-icon:hover :is(i,svg) {
  color: #fff !important;
  fill: #fff !important;
}

/* Existing WPForms forms: readable white fields, original validation and anti-spam intact. */
body #content div.wpforms-container { margin: 12px 0 0 !important; }
body #content div.wpforms-container .wpforms-form { color: #26352b; }
body #content div.wpforms-container .wpforms-field { padding: 10px 0; }
body #content div.wpforms-container .wpforms-field-label {
  font: 600 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #214c35 !important;
  text-shadow: none;
}
body #content div.wpforms-container .wpforms-form :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],textarea,select) {
  background: #fff !important;
  border: 1px solid #cdd7c9 !important;
  border-radius: 10px !important;
  color: #26352b !important;
  box-shadow: none !important;
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  max-width: 100% !important;
  width: 100%;
  padding: 12px 14px !important;
  min-height: 48px;
}
body #content div.wpforms-container textarea { min-height: 150px; resize: vertical; }
body #content div.wpforms-container .wpforms-form ::placeholder { color: #6b776d; opacity: 1; }
body #content div.wpforms-container .wpforms-form :is(input,textarea,select):focus {
  border-color: #214c35 !important;
  outline: 2px solid rgba(33,76,53,.15);
  outline-offset: 2px;
}
body #content div.wpforms-container .wpforms-form button.wpforms-submit {
  background: #214c35 !important;
  color: #fff !important;
  border: 1px solid #214c35 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font: 650 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  min-height: 48px;
  padding: 13px 25px !important;
}
body #content div.wpforms-container .wpforms-form button.wpforms-submit:hover { background: #173b28 !important; }
body #content div.wpforms-container :is(.wpforms-error,.wpforms-required-label) { color: #a13325 !important; }

/* Product breadcrumbs: compact cream band instead of the tall orange banner. */
body .ast-single-entry-banner[data-post-type="product"][data-banner-layout="layout-2"] {
  background: #f1f4eb !important;
  min-height: 0 !important;
  height: auto;
  padding: 22px 24px !important;
  border-bottom: 1px solid #dfe6d8;
}
body .ast-single-entry-banner[data-post-type="product"] .ast-container {
  max-width: 1240px;
  text-align: left;
}
body .ast-single-entry-banner[data-post-type="product"] .ast-container :is(nav,li,a,span,p) {
  color: #214c35 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6;
  text-shadow: none;
}
body .ast-single-entry-banner[data-post-type="product"] .ast-container a:hover { color: #ad4c10 !important; }
body .ast-single-entry-banner[data-post-type="product"] .ast-terms-link { margin: 8px 0 0; }
body .ast-single-entry-banner[data-post-type="product"] .ast-terms-link a {
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .03em;
}
body .ast-woocommerce-container .woocommerce-breadcrumb {
  background: transparent;
  color: #526155;
  font-size: 13px;
  line-height: 1.6;
}
/* Only the individual controls change geometry; cart/composite forms keep their layout. */
body.single-product .woocommerce div.product form.cart .button.single_add_to_cart_button {
  width: auto !important;
  min-width: 210px;
  max-width: 100%;
  min-height: 48px;
  white-space: nowrap;
  padding: 14px 22px;
  text-align: center;
}
body.single-product .woocommerce div.product .summary form.cart > .quantity input.qty,
body.single-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart > .quantity input.qty {
  width: 56px !important;
  min-width: 56px;
  max-width: 56px;
  height: 48px;
  min-height: 48px;
  padding: 6px;
  border-radius: 0;
  text-align: center;
}
body.single-product .woocommerce div.product .summary form.cart > .quantity :is(.minus,.plus),
body.single-product .woocommerce div.product .summary .woocommerce-variation-add-to-cart > .quantity :is(.minus,.plus) {
  min-height: 48px;
  height: 48px;
  background: #f1f4eb;
  color: #214c35;
}

body #content .elementor-widget-text-editor { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; }
body.archive .ast-archive-description { background: #f1f4eb !important; padding: 38px 24px !important; border-bottom: 1px solid #dfe6d8; }
body.archive .ast-archive-description .page-title { color:#214c35 !important; font-size:clamp(2rem,4vw,3rem) !important; text-shadow:none !important; }
@media(max-width:767px){body .woocommerce-loop-product__title{font-size:16px !important;} body .ast-below-header-bar p{font-size:12px !important;} }
