/* Rondhonu Footer module CSS. Edit this file for this section only. */
.rh-footer{background:#faf8f8;border-top:1px solid var(--rh-line);padding:35px 0 15px}
.rh-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:26px}
.rh-footer h3,.rh-footer h4{margin:0 0 13px;font-size:15px}
.rh-footer p,.rh-footer a{font-size:13px;line-height:2;color:#68636a}
.rh-footer a{display:block}
.rh-footer a:hover{color:var(--rh-primary)}
.rh-footer-bottom{border-top:1px solid var(--rh-line);margin-top:24px;padding-top:14px;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#777}
@media (max-width:700px){.rh-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.rh-footer-grid>div:first-child{grid-column:1/-1}.rh-footer p,.rh-footer a{font-size:13px}.rh-footer-bottom{flex-direction:column}}

/* Keep the footer Shop Now CTA readable against the red button background. */
.rh-footer a.rh-btn,.rh-footer a.rh-btn:visited,.rh-footer a.rh-btn:hover,.rh-footer a.rh-btn:focus{color:#fff!important}


/* Fix footer social icons: override footer's generic anchor display rule and center icons in circles. */
.rh-footer .rh-social{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap;gap:9px}
.rh-footer .rh-social a,
.rh-footer .rh-social a:visited,
.rh-footer .rh-social a:hover,
.rh-footer .rh-social a:focus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 40px!important;
  box-sizing:border-box!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid var(--rh-line)!important;
  border-radius:50%!important;
  line-height:1!important;
  text-align:center!important;
  text-decoration:none!important;
}
.rh-footer .rh-social a i{display:block!important;line-height:1!important;margin:0!important;padding:0!important;flex:0 0 auto!important;font-size:15px!important}

.rh-footer .rh-footer-bottom .rh-baniyo-credit{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;color:inherit;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:11px;line-height:1.7}.rh-footer .rh-footer-bottom .rh-baniyo-credit a{display:inline;color:var(--rh-primary)!important;font-weight:700;text-decoration:none}.rh-footer .rh-footer-bottom .rh-baniyo-credit a:hover{text-decoration:underline}

/* Nexora v5: single Baniyo credit in the footer's right-hand slot. */
.rh-footer .rh-footer-bottom{display:grid;grid-template-columns:1fr 1.2fr 1.5fr;align-items:center;gap:18px}
.rh-footer .rh-footer-bottom .rh-baniyo-credit{display:block;width:auto;margin:0;padding:0;text-align:right;background:transparent!important;border:0!important;box-shadow:none!important;color:#68636a;font-size:11px;line-height:1.6}
.rh-footer .rh-footer-bottom .rh-baniyo-credit a{color:#e01e26!important;font-weight:700}
@media(max-width:760px){.rh-footer .rh-footer-bottom{grid-template-columns:1fr;gap:8px;text-align:center}.rh-footer .rh-footer-bottom .rh-baniyo-credit{text-align:center}}


/* Nexora v8: footer brand contrast and responsive overflow protection. */
.rh-footer,
.rh-footer .rh-container,
.rh-footer .rh-footer-grid,
.rh-footer .rh-footer-grid>div,
.rh-footer .rh-footer-bottom,
.rh-footer .rh-footer-bottom>*{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.rh-footer .rh-logo{
  display:inline-flex!important;
  align-items:center;
  gap:9px;
  max-width:100%;
  color:#222222!important;
  white-space:normal;
}
.rh-footer .rh-logo>span:not(.rh-logo-mark),
.rh-footer .rh-logo .rh-brand-name{
  color:#222222!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}
.rh-footer .rh-logo .rh-logo-mark{
  flex:0 0 38px;
}
.rh-footer .rh-footer-bottom{
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.5fr);
}
.rh-footer .rh-footer-bottom>span,
.rh-footer .rh-footer-bottom .rh-baniyo-credit{
  min-width:0;
  overflow-wrap:anywhere;
  word-break:normal;
}
@media(max-width:760px){
  .rh-footer .rh-footer-bottom{
    grid-template-columns:minmax(0,1fr);
    width:100%;
    gap:8px;
  }
  .rh-footer .rh-footer-bottom>span,
  .rh-footer .rh-footer-bottom .rh-baniyo-credit{
    text-align:center!important;
    max-width:100%;
  }
}
@media(max-width:700px){
  .rh-footer .rh-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }
  .rh-footer .rh-footer-grid>div{min-width:0}
  .rh-footer .rh-footer-grid>div:first-child{grid-column:1/-1}
  .rh-footer .rh-footer-grid .rh-btn{max-width:100%;white-space:normal}
}


/* Nexora v10 final module-level hover palette override. */
body .woocommerce a.button:hover,
body .woocommerce a.button:focus-visible,
body .woocommerce button.button:hover,
body .woocommerce button.button:focus-visible,
body .woocommerce input.button:hover,
body .woocommerce input.button:focus-visible,
body .woocommerce #respond input#submit:hover,
body .woocommerce #respond input#submit:focus-visible,
body .woocommerce .button.alt:hover,
body .woocommerce .button.alt:focus-visible,
body .woocommerce button.single_add_to_cart_button:hover,
body .woocommerce .single_add_to_cart_button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover,
body .rh-catalog-main ul.products li.product .button:hover,
body .rh-single-product .related ul.products li.product .button:hover,
body .rh-single-product .upsells ul.products li.product .button:hover,
body .rh-product-summary-column .rh-buy-now:hover,
body .rh-cart-summary .checkout-button:hover,
body .rh-search button:hover,
body .rh-footer .rh-btn:hover,
body .nx-primary-btn:hover{
  background:#b8121b!important;
  background-color:#b8121b!important;
  background-image:none!important;
  border-color:#b8121b!important;
  color:#fff!important;
  box-shadow:0 5px 16px #e01e2630!important;
  filter:none!important;
}
body .woocommerce a.button:hover *,
body .woocommerce button.button:hover *,
body .woocommerce .button.alt:hover *,
body.woocommerce-checkout #place_order:hover *,
body .rh-single-product .related ul.products li.product .button:hover *,
body .rh-single-product .upsells ul.products li.product .button:hover *{
  color:#fff!important;
}


/* Freshmart Grocery final palette override across all storefront modules. */
.rh-topbar{background:#176b3a!important}
.rh-count,.rh-logo-mark,.rh-search button,.rh-btn,.rh-primary-btn,.nx-primary-btn,.fm-button,
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce button.single_add_to_cart_button,.woocommerce .single_add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,body.woocommerce-checkout #place_order,
.rh-footer .rh-btn,.rh-slider-arrow{
 background:#e01e26!important;background-color:#e01e26!important;border-color:#e01e26!important;color:#fff!important;
}
.rh-nav a:hover,.rh-product-breadcrumb a,.rh-product-summary-column .product_meta a,
.rh-product-summary-column .reset_variations,.rh-link,.rh-single-product .related .price,
.rh-single-product .upsells .price,.woocommerce .price,.woocommerce .woocommerce-Price-amount{color:#e01e26!important}
.rh-btn:hover,.rh-primary-btn:hover,.nx-primary-btn:hover,.fm-button:hover,.rh-search button:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover,.rh-catalog-main ul.products li.product .button:hover,
.rh-single-product .related ul.products li.product .button:hover,.rh-single-product .upsells ul.products li.product .button:hover,
.rh-footer .rh-btn:hover,.rh-slider-arrow:hover{
 background:#b8121b!important;background-color:#b8121b!important;background-image:none!important;border-color:#b8121b!important;color:#fff!important;box-shadow:0 5px 16px #e01e2630!important;filter:none!important
}
.rh-btn:hover *,.woocommerce a.button:hover *,.woocommerce button.button:hover *{color:#fff!important}

/* Baniyo attribution integrated with the existing footer design. */
.rh-footer .rh-footer-bottom .rh-baniyo-credit{flex:1 0 100%;text-align:center;padding-top:10px;margin-top:4px;border-top:1px solid var(--rh-line,#eee);background:transparent;color:inherit;font-size:12px}.rh-footer .rh-footer-bottom .rh-baniyo-credit a{color:var(--rh-primary,#e01e26);font-weight:800}.rh-footer .rh-footer-bottom .rh-baniyo-credit a:hover{color:var(--rh-primary-dark,#b8121b);text-decoration:underline}
