/* Shared AGRIBERA footer: retain every contact, menu and taxonomy link. */
body #colophon.site-footer {
  background: #f0f3e9;
  color: #26352b;
}
body #colophon :is(.site-above-footer-wrap,.site-primary-footer-wrap,.site-below-footer-wrap) {
  min-height: 0 !important;
  height: auto !important;
  background: #f0f3e9 !important;
  background-image: none !important;
  border: 0 !important;
  margin: 0 !important;
}
body #colophon .site-above-footer-wrap {
  padding: 30px 24px 24px !important;
  border-top: 1px solid #dce5d5 !important;
}
body #colophon :is(.ast-builder-grid-row-container-inner,.ast-builder-footer-grid-columns,.site-footer-section,.widget,.footer-widget-area) {
  min-height: 0 !important;
  height: auto;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body #colophon .site-above-footer-inner-wrap {
  display: grid !important;
  grid-template-columns: 136px minmax(200px,1.3fr) minmax(110px,.8fr) minmax(150px,1fr) minmax(130px,1fr) !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100%;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: 0 !important;
}
body #colophon .site-above-footer-inner-wrap > .site-footer-section {
  display: block !important;
  min-width: 0;
  padding: 0 !important;
  text-align: left;
}
body #colophon :is(.widget,.wp-block-columns,.footer-bar-navigation,.footer-nav-wrap) {
  padding: 0 !important;
  margin: 0 !important;
}
body #colophon :is(p,li,a,.widget-title) {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  color: #214c35 !important;
  line-height: 1.55;
  text-shadow: none !important;
  overflow-wrap: anywhere;
}
body #colophon p {
  margin: 0 0 6px !important;
  font-size: 14px;
}
body #colophon p:last-child { margin-bottom: 0 !important; }
body #colophon .widget-title {
  margin: 0 0 10px !important;
  padding: 0;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .04em;
}
/* The original cover block had a fixed 227px minimum, even on a telephone. */
body #colophon #block-17 .wp-block-cover {
  width: 128px !important;
  height: 128px !important;
  min-height: 0 !important;
  max-width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  aspect-ratio: 1;
  background: transparent;
}
body #colophon #block-17 .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}
body #colophon #block-9 .wp-block-columns { gap: 0; }
/* Remove list indentation and theme menu-link padding at every breakpoint. */
body #colophon :is(ul,ol) {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body #colophon :is(ul,ol) > li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}
body #colophon #astra-footer-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px !important;
}
body #colophon :is(#astra-footer-menu,.widget_nav_menu) a.menu-link {
  display: inline-block;
  width: auto;
  padding: 4px 0 !important;
  margin: 0 !important;
  text-indent: 0 !important;
  font-size: 14px;
  line-height: 1.5;
}
body #colophon .widget_nav_menu li + li { margin-top: 4px !important; }
body #colophon a:hover { color: #a54812 !important; }
body #colophon a:focus-visible { outline: 3px solid #c45d18; outline-offset: 4px; border-radius: 3px; }
/* Toscana's category tree remains present, including its counts and subcategories. */
body #colophon .wc-block-product-categories { margin-top: 18px; }
body #colophon .wc-block-product-categories-list > li { margin-bottom: 7px !important; }
body #colophon .wc-block-product-categories-list a { font-size: 12px; font-weight: 600; }
body #colophon .wc-block-product-categories-list--depth-1 {
  margin-top: 6px !important;
  padding-top: 4px !important;
}
body #colophon .wc-block-product-categories-list--depth-1 a { color: #526155 !important; font-weight: 400; }
body #colophon .wc-block-product-categories-list-item-count { color: #526155; font-size: 12px; }
/* Five visible, evenly spaced touch targets; override the former white SVG fill. */
body #colophon .ast-footer-social-wrap { width: 100%; }
body #colophon .footer-social-inner-wrap {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body #colophon a.ast-builder-social-element {
  --color: #214c35 !important;
  --background-color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 10px !important;
  margin: 0 !important;
  border: 1px solid #d5dfce;
  border-radius: 12px;
  background: #fff !important;
  color: #214c35 !important;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none !important;
}
body #colophon .ast-footer-social-wrap :is(svg,i) {
  width: 22px !important;
  height: 22px !important;
  color: inherit !important;
  fill: currentColor !important;
  font-size: 22px !important;
}
body #colophon a.ast-builder-social-element:hover,
body #colophon a.ast-builder-social-element:focus-visible {
  --color: #fff !important;
  --background-color: #214c35 !important;
  color: #fff !important;
  background: #214c35 !important;
  border-color: #214c35;
}
/* Collapse the empty side sections around the original copyright. */
body #colophon .site-primary-footer-wrap { padding: 14px 24px 10px !important; }
body #colophon .site-primary-footer-inner-wrap {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  width: 100%;
  max-width: 1180px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #dce5d5;
  margin-inline: auto !important;
}
body #colophon .site-primary-footer-inner-wrap > .site-footer-section {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  padding: 0 !important;
  text-align: center;
}
body #colophon .ast-footer-copyright,
body #colophon .ast-footer-copyright p {
  max-width: 100%;
  font-size: 12px !important;
  line-height: 1.6;
  white-space: normal !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}
body #colophon .site-below-footer-wrap { padding: 0 24px 18px !important; }
body #colophon .site-below-footer-inner-wrap {
  display: block !important;
  max-width: 1180px !important;
  padding: 0 !important;
  margin-inline: auto !important;
  text-align: center !important;
}
body #colophon .site-below-footer-wrap p { font-size: 12px !important; }
body #colophon .site-below-footer-wrap blockquote {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-style: normal;
}
/* Keep Astra's show/hide behaviour; resize only the existing back-to-top control. */
body #ast-scroll-top {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  padding: 0 !important;
  right: 18px !important;
  bottom: max(18px,env(safe-area-inset-bottom)) !important;
  border: 1px solid #a54812;
  border-radius: 12px !important;
  background: #c45d18 !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 44px !important;
  text-align: center;
  box-shadow: 0 4px 14px rgba(33,76,53,.14);
}
body #ast-scroll-top svg { width: 18px; height: 18px; fill: #fff !important; }
body #ast-scroll-top:hover { background: #214c35 !important; border-color: #214c35; }
body #ast-scroll-top:focus-visible { outline: 3px solid #214c35; outline-offset: 4px; }
@media (max-width: 1024px) {
  body #colophon .site-above-footer-inner-wrap {
    grid-template-columns: 136px minmax(0,1.3fr) minmax(0,1fr) !important;
  }
  body #colophon .site-footer-above-section-4 { grid-column: 2; }
  body #colophon .site-footer-above-section-5 { grid-column: 3; }
}
@media (max-width: 767px) {
  body #colophon .site-above-footer-wrap { padding: 24px 18px 18px !important; }
  body #colophon .site-above-footer-inner-wrap {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 20px 16px !important;
  }
  body #colophon .site-above-footer-inner-wrap > .site-footer-section {
    grid-column: auto;
    text-align: center !important;
  }
  body #colophon :is(.site-footer-above-section-1,.site-footer-above-section-2,.site-footer-above-section-5) {
    grid-column: 1 / -1 !important;
  }
  body #colophon #block-17 .wp-block-cover {
    width: 112px !important;
    height: 112px !important;
    margin-inline: auto !important;
  }
  body #colophon .site-footer-above-section-1 { margin-bottom: -6px !important; }
  body #colophon #astra-footer-menu { align-items: center; }
  body #colophon :is(.site-footer-above-section-3,.site-footer-above-section-4) {
    padding-top: 2px !important;
    border-top: 1px solid #dce5d5;
  }
  body #colophon .widget-title { padding-top: 8px; font-size: 12px !important; }
  body #colophon :is(#astra-footer-menu,.widget_nav_menu) a.menu-link { font-size: 13px; }
  body #colophon .footer-social-inner-wrap { justify-content: center; }
  body #colophon .wc-block-product-categories-list--depth-0 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px 16px;
    text-align: left;
  }
  body #colophon .site-primary-footer-wrap { padding: 4px 18px 10px !important; }
  body #colophon .site-below-footer-wrap { padding: 0 18px 18px !important; }
}
