/*
Theme Name: Fabrica Market Red
Theme URI: https://nexenbd.com/themes/fabrica-market
Author: Nexenbd | Developer: Md Rakib Ahosan
Description: Responsive fashion storefront with a Fabrica-inspired red-accent header and homepage, retaining shop, product, category, cart, checkout, and footer layouts.
Version: 1.0.8
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fabrica-market
*/
:root{--rh-primary:#e01e26;--rh-primary-dark:#b8121b;--rh-ink:#222222;--rh-muted:#777777;--rh-line:#eeeeee;--rh-soft:#fff0f1;--rh-container:1280px;--rh-radius:9px;--rh-font-size:16px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--rh-ink);background:#fff;font-family:"Noto Sans Bengali","Poppins",Arial,sans-serif;font-size:var(--rh-font-size);line-height:1.6}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,.button{cursor:pointer}
.rh-container{width:min(var(--rh-container),94%);margin-inline:auto}
.rh-head-row{display:grid;grid-template-columns:190px minmax(180px,1fr) auto;align-items:center;gap:22px;padding:13px 0}
.rh-head-actions{display:flex;align-items:center;gap:17px}
.rh-head-actions a{font-size:12px;display:flex;align-items:center;gap:5px;position:relative;white-space:nowrap}
.rh-head-actions i{font-size:18px}
.rh-count{position:absolute;top:-11px;left:13px;background:var(--rh-primary);color:#fff;border-radius:20px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;font-size:10px}
.rh-btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:5px;padding:11px 16px;background:var(--rh-primary);color:#fff;font-weight:700;font-size:13px;line-height:1.3}
.rh-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--rh-primary-dark);color:#fff}
.rh-hero-overlay{position:absolute;inset:0;display:flex;align-items:center;padding:clamp(18px,3vw,38px);color:#fff;background:linear-gradient(90deg,#160c19c9,transparent 95%)}
.rh-link{font-size:12px;color:var(--rh-primary);border:1px solid #d7e6ff;border-radius:30px;padding:7px 12px;background:#f4f8ff}
.rh-cat{flex:0 0 92px;text-align:center;font-size:12px;line-height:1.4}
.rh-cat img{width:70px;height:70px;object-fit:cover;border-radius:50%;padding:3px;border:2px solid #e2e8f0;background:#fff;display:block;margin:0 auto 7px}
.rh-cat:hover img{border-color:var(--rh-primary)}
.rh-slider-prev{left:-8px}
.rh-slider-next{right:-8px}
.rh-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.rh-product{min-width:0;border:1px solid var(--rh-line);border-radius:7px;overflow:hidden;background:#fff;transition:.2s}
.rh-product:hover{transform:translateY(-2px);box-shadow:0 8px 24px #2221}
.rh-product-image{height:245px;position:relative;display:block;overflow:hidden;background:#f4f8ff}
.rh-product-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.rh-product:hover .rh-product-image img{transform:scale(1.035)}
.rh-sale{position:absolute;left:8px;top:8px;background:#fff;color:var(--rh-primary);font-size:10px;padding:4px 7px;border-radius:4px}
.rh-product-info{padding:11px}
.rh-product-title{font-size:13px;line-height:1.5;font-weight:600;min-height:40px;margin:0 0 6px}
.rh-rating{font-size:11px;color:#f5a623}
.rh-price{display:flex;gap:8px;align-items:center;margin:8px 0 10px;font-weight:800;color:var(--rh-primary)}
.rh-price del{font-size:11px;color:#999;font-weight:400}
.rh-product-buttons{display:grid;grid-template-columns:34px 1fr;gap:6px}
.rh-icon-btn{border:1px solid #d9e9e2;background:#fff;color:var(--rh-primary);border-radius:4px}
.rh-add{padding:9px 3px;font-size:11px}
.rh-breadcrumb{font-size:12px;color:var(--rh-muted);margin:22px auto}
.rh-social{display:flex;gap:9px;margin-top:12px}
.rh-social a{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--rh-line);border-radius:50%;background:#fff;color:var(--rh-primary)}
.rh-mobile-bottom{display:none}
.rh-page-title{font-size:27px;margin:0 0 18px}
.rh-content{padding-bottom:40px}
.rh-toast{position:fixed;bottom:20px;right:20px;z-index:9999;background:#222;color:white;border-radius:6px;padding:12px 18px;display:none}
.rh-toast.show{display:block}
.rh-auth-wrap{max-width:480px;margin:45px auto 70px;padding:28px;border:1px solid var(--rh-line);border-radius:12px;box-shadow:0 10px 35px #00000008}
.rh-auth-wrap h1{text-align:center;font-size:26px}
.rh-auth-wrap input{width:100%;padding:12px;border:1px solid var(--rh-line);border-radius:5px;margin:6px 0 13px}
.rh-auth-wrap .button{width:100%}
.rh-auth-links{display:flex;justify-content:space-between;font-size:13px;margin:10px 0 18px;color:var(--rh-primary)}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--rh-muted)}
.woocommerce div.product div.images img{border-radius:8px}
.woocommerce div.product .product_title{font-size:29px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--rh-primary);font-weight:800}
.woocommerce ul.products li.product{border:1px solid var(--rh-line);border-radius:7px;padding:9px;overflow:hidden}
.woocommerce ul.products li.product a img{border-radius:5px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.5}
.woocommerce ul.products li.product .price{color:var(--rh-primary);font-weight:800}
.woocommerce span.onsale{background:var(--rh-primary);min-height:2.5em;min-width:2.5em}
.woocommerce-message,.woocommerce-info{border-top-color:var(--rh-primary)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--rh-primary)}
@media (max-width:1050px){.rh-head-row{grid-template-columns:165px minmax(160px,1fr) auto;gap:12px}.rh-head-actions{gap:10px}.rh-products{grid-template-columns:repeat(4,minmax(0,1fr))}.rh-product-image{height:220px}}
@media (max-width:700px){body{font-size:15px}.rh-head-row{grid-template-columns:minmax(0,1fr) auto;padding:10px 0;gap:10px}.rh-head-actions{grid-column:1/-1;grid-row:2;justify-content:center;gap:24px;padding:3px 0 5px}.rh-head-actions a{font-size:11px}.rh-head-actions i{font-size:19px}.rh-cat{flex-basis:82px;font-size:11px}.rh-cat img{width:62px;height:62px}.rh-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rh-product-image{height:205px}.rh-product-info{padding:9px}.rh-product-title{font-size:12px}.rh-price{font-size:14px}.rh-mobile-bottom{display:flex;position:fixed;z-index:999;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--rh-line);box-shadow:0 -5px 20px #0000000a;justify-content:space-around;padding:8px 2px calc(8px + env(safe-area-inset-bottom))}.rh-mobile-bottom a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#5e5960;font-size:11px;font-weight:600}.rh-mobile-bottom i{font-size:19px;color:var(--rh-primary)}.rh-mobile-bottom .current{color:var(--rh-primary)}body{padding-bottom:70px}.rh-auth-wrap{margin:25px auto 40px;padding:23px 18px}.woocommerce div.product .product_title{font-size:24px}}
@media (max-width:700px){.rh-head-row{grid-template-columns:minmax(0,1fr) auto 42px;grid-template-rows:auto auto;column-gap:8px;row-gap:9px}.rh-head-actions{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;gap:12px;padding:0}.rh-head-actions a{font-size:0;gap:0}.rh-head-actions i{font-size:17px}.rh-head-actions .rh-count{font-size:9px}.rh-head-actions a span:not(.rh-count){display:none}.rh-mobile-bottom a{font-size:12px}.rh-mobile-bottom i{font-size:21px}.rh-mobile-bottom{padding-top:9px}}
@media (min-width:701px){.rh-head-actions{grid-column:3;grid-row:1}}
.rh-content>.woocommerce,.rh-content>.woocommerce-notices-wrapper{max-width:100%}
.rh-content .woocommerce-breadcrumb,.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--rh-muted);margin:20px 0 22px}
.woocommerce .woocommerce-notices-wrapper{margin:12px 0}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid #d7e6ff;border-top:3px solid var(--rh-primary);border-radius:8px;background:#f4f8ff;padding:15px 18px 15px 48px!important;color:var(--rh-ink);font-size:14px}
.woocommerce-message::before,.woocommerce-info::before{top:14px;color:var(--rh-primary)}
.woocommerce nav.woocommerce-pagination{margin:28px 0 10px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:7px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--rh-line);border-radius:6px;min-width:38px;padding:10px;color:var(--rh-ink);background:#fff}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--rh-primary);border-color:var(--rh-primary);color:#fff}
.rh-product-kicker{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--rh-primary);text-transform:uppercase;margin-bottom:9px}
.rh-out-stock{color:#e01e26;background:#eaf2ff;border-color:#d7e6ff}
.cart-collaterals{background:#fff;border:1px solid var(--rh-line);border-radius:10px;padding:20px;box-shadow:0 5px 22px #24161605}
.woocommerce table.shop_table{border:1px solid var(--rh-line);border-radius:8px;border-collapse:separate;border-spacing:0;overflow:hidden;font-size:13px}
.woocommerce table.shop_table th{background:#fff6f6;font-weight:700;color:var(--rh-ink);padding:14px 12px;border-color:var(--rh-line)}
.woocommerce table.shop_table td{padding:13px 12px;border-color:var(--rh-line);vertical-align:middle}
.woocommerce table.shop_table td a{font-weight:600}
.woocommerce table.shop_table td a:hover{color:var(--rh-primary)}
.woocommerce table.shop_table .product-thumbnail img{width:76px!important;border-radius:6px}
.woocommerce table.shop_table .product-remove a{color:var(--rh-primary)!important;font-size:23px!important}
.woocommerce table.shop_table .quantity .qty{padding:8px;width:65px;border:1px solid var(--rh-line);border-radius:5px}
.woocommerce .coupon{display:flex;gap:8px;flex-wrap:wrap}
.woocommerce .coupon input.input-text{width:180px;min-height:42px;padding:9px 12px;border:1px solid var(--rh-line);border-radius:6px}
.woocommerce .cart-collaterals{width:100%;float:none;margin:0 0 35px auto;max-width:480px}
.woocommerce form .form-row{padding:0;margin:0 0 15px}
.woocommerce form .form-row label{display:block;font-size:12px;font-weight:700;color:#555;margin-bottom:6px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{width:100%;min-height:44px;padding:10px 12px;border:1px solid #e4dede;border-radius:6px;background:#fff;font-size:13px;box-shadow:none}
.woocommerce form .form-row textarea{min-height:100px}
.woocommerce form .form-row .select2-selection--single{height:44px}
.woocommerce form .form-row .select2-selection--single .select2-selection__rendered{line-height:22px;padding-left:0}
.woocommerce form .form-row .select2-selection--single .select2-selection__arrow{height:42px;right:7px}
.woocommerce form .form-row input:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:var(--rh-primary);outline:2px solid #df17211a}
.wc-block-cart,.wc-block-checkout{font-size:14px;color:var(--rh-ink)}
.wc-block-cart .wc-block-cart__submit-button,.wc-block-checkout .wc-block-components-checkout-place-order-button{background:var(--rh-primary)!important;color:#fff!important;border-radius:7px!important;font-weight:700!important;padding:14px 18px!important}
.wc-block-cart .wc-block-components-totals-wrapper,.wc-block-checkout .wc-block-components-order-summary{border-color:var(--rh-line)}
.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input,.wc-block-components-textarea textarea{border-radius:6px!important}
@media (max-width:700px){.cart-collaterals{padding:14px}.woocommerce .cart-collaterals{max-width:none}.woocommerce .coupon input.input-text{width:100%;flex:1}.woocommerce table.shop_table{font-size:12px}.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:10px 8px}}
.rh-buy-now-wrap{margin-top:10px}
.rh-buy-now-wrap .rh-buy-now{width:100%;min-height:47px;background:#16845d;border-radius:7px;font-size:14px}
.rh-buy-now-wrap .rh-buy-now:hover{background:#106a49}
.rh-share-button{border:1px solid var(--rh-line);border-radius:5px;background:#fff;padding:8px 11px;color:#555;font-size:11px}
.rh-share-button:hover{border-color:var(--rh-primary);color:var(--rh-primary)}
.rh-related-products{margin-top:28px}


/* Shop + product-category finishing fix: ordering control and desktop 5-column grid.
   Scoped to WooCommerce catalog archives so product detail/cart/checkout remain untouched. */
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  float: none;
  display: inline-block;
  margin: 8px 0 16px;
  color: var(--rh-muted, #706b72);
  font-size: 14px;
  line-height: 1.5;
}
body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  float: right;
  margin: 0 0 16px;
  max-width: 100%;
}
body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
  display: block;
  width: auto;
  min-width: 190px;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 36px 9px 12px;
  border: 1px solid var(--rh-line, #e9e9ec);
  border-radius: 7px;
  background-color: #fff;
  color: var(--rh-ink, #242126);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none;
  outline-color: #e01e26;
}
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after { display: none !important; content: none !important; }
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}
@media (max-width: 1050px) {
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 700px) {
  body.woocommerce-shop .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering { float: none; width: 100%; margin-top: 8px; }
  body.woocommerce-shop .woocommerce-ordering select,
  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select,
  body.tax-product_tag .woocommerce-ordering select { width: 100%; min-width: 0; }
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
}


/* Header actions stay icon-only across desktop, tablet, and mobile. */
.rh-head-actions a{font-size:0;gap:0;justify-content:center}
.rh-head-actions a i{font-size:21px}
.rh-head-actions .rh-count{font-size:10px}
@media(max-width:700px){.rh-head-actions a{font-size:0;gap:0}.rh-head-actions a i{font-size:19px}}


/* Fix: keep product-card eye icons perfectly centered inside their square buttons. */
.rh-product-buttons .rh-icon-btn,
.rh-product-buttons a.rh-icon-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  width:34px !important;
  min-width:34px !important;
  height:38px !important;
  padding:0 !important;
  line-height:1 !important;
  text-align:center !important;
  vertical-align:middle !important;
}
.rh-product-buttons .rh-icon-btn i{display:block!important;line-height:1!important;margin:0!important;padding:0!important;flex:0 0 auto!important}

/* Mobile-safe product card view buttons: keep the eye icon centered inside its border. */
.rh-product-buttons a.rh-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:34px!important;width:34px!important;height:38px!important;padding:0!important;overflow:hidden!important;line-height:1!important;flex:0 0 34px!important}
.rh-product-buttons a.rh-icon-btn i{display:block!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:0!important;line-height:1!important;max-width:100%!important}
@media(max-width:700px){.rh-product-buttons{grid-template-columns:34px minmax(0,1fr)!important;gap:6px!important}.rh-product-buttons a.rh-icon-btn{width:34px!important;min-width:34px!important;height:37px!important;flex-basis:34px!important}}


/* Mobile header: move shopping/account actions into the hamburger drawer. */
.rh-mobile-actions{display:none}
@media (max-width:700px){
  .rh-head-row>.rh-head-actions{display:none!important}
  .rh-mobile-cats.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px 12px 16px;}
  .rh-mobile-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--rh-line);}
  .rh-mobile-actions a{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:46px;padding:10px 12px;border:1px solid var(--rh-line);border-radius:8px;background:#fff;color:var(--rh-text,#242124);font-size:13px;font-weight:600;line-height:1.25;text-decoration:none;box-sizing:border-box;}
  .rh-mobile-actions a i{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;font-size:17px;color:var(--rh-primary);}
  .rh-mobile-actions a:active,.rh-mobile-actions a:focus-visible{border-color:var(--rh-primary);background:#fff7f7;outline:2px solid transparent;}
  .rh-mobile-actions .rh-mobile-count{position:absolute;top:4px;left:27px;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:var(--rh-primary);color:#fff;font-size:9px;line-height:15px;text-align:center;}
  .rh-mobile-cats.open>a{display:flex;align-items:center;gap:8px;min-height:40px;padding:10px 9px;border:1px solid var(--rh-line);border-radius:6px;background:#fff;box-sizing:border-box;}
  .rh-mobile-cats.open{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
}

/* Nexora Electronics brand polish: remove legacy red accents across inherited components. */
:root{--rh-primary:#e01e26;--rh-primary-dark:#b8121b;--rh-soft:#f4f8ff}
.rh-hero{margin-top:24px!important}
.rh-home-hero,.nx-hero,.rh-hero-wrap{margin-top:24px}
.rh-sale-badge,.onsale,.rh-sale-tag{background:#e01e26!important;color:#fff!important}
.rh-product-card .onsale,.woocommerce span.onsale{background:#e01e26!important;color:#fff!important}
.rh-product-card .price ins,.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{color:#e01e26!important}
.rh-product-card .price del,.woocommerce div.product p.price del,.woocommerce div.product span.price del{color:#7b8798!important}
.rh-product-card .star-rating,.woocommerce .star-rating{color:#f5a623}
.woocommerce-message,.woocommerce-info{border-top-color:#e01e26!important}
.woocommerce-message:before,.woocommerce-info:before{color:#e01e26!important}


/* Nexora Electronics global palette override — applies to product, cart, checkout and related products. */
:root{
  --rh-primary:#e01e26;
  --rh-primary-dark:#b8121b;
  --rh-soft:#fff0f1;
  --rh-line:#eeeeee;
}
body.nexora-electronics,
body.nexora-electronics .woocommerce,
body.nexora-electronics .rh-single-product{
  --rh-primary:#e01e26;
  --rh-primary-dark:#b8121b;
  --rh-soft:#fff0f1;
  --rh-line:#eeeeee;
}
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .woocommerce button.single_add_to_cart_button,
body .woocommerce .single_add_to_cart_button,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order,
body .wc-block-cart .wc-block-cart__submit-button,
body .wc-block-checkout .wc-block-components-checkout-place-order-button{
  background:#e01e26!important;
  border-color:#e01e26!important;
  color:#fff!important;
}
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce #respond input#submit:hover,
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{
  background:#b8121b!important;
  border-color:#b8121b!important;
  color:#fff!important;
}
body .woocommerce .price,
body .woocommerce div.product p.price,
body .woocommerce div.product span.price,
body .woocommerce .woocommerce-Price-amount,
body .rh-cart-shell .rh-cart-line-total,
body .rh-cart-shell .rh-cart-summary .order-total,
body .rh-single-product .related .price,
body .rh-single-product .upsells .price{
  color:#e01e26;
}
body .rh-single-product .related ul.products li.product .button,
body .rh-single-product .upsells ul.products li.product .button,
body .rh-single-product .related ul.products li.product .added_to_cart,
body .rh-single-product .upsells ul.products li.product .added_to_cart{
  background:#e01e26!important;
  border-color:#e01e26!important;
  color:#fff!important;
}
body .rh-single-product .related ul.products li.product .rh-loop-quick,
body .rh-single-product .upsells ul.products li.product .rh-loop-quick{
  color:#e01e26!important;
  border-color:#eeeeee!important;
  background:#fff!important;
}
body .woocommerce-message::before,
body .woocommerce-info::before,
body .rh-product-summary-column .reset_variations,
body .rh-product-summary-column .product_meta a,
body .rh-product-breadcrumb a,
body .rh-product-highlights i,
body .rh-product-share>span i{
  color:#e01e26!important;
}
body .woocommerce form .form-row input:focus,
body .woocommerce form .form-row textarea:focus,
body .woocommerce form .form-row select:focus{
  border-color:#e01e26!important;
  outline-color:#e01e2630!important;
}
body .rh-product-gallery-column .flex-control-thumbs li img.flex-active,
body .rh-product-gallery-column .flex-control-thumbs li img:hover,
body .rh-product-gallery-column .flex-control-thumbs img.flex-active{
  outline-color:#e01e26!important;
}
body.woocommerce-checkout .woocommerce form.checkout #payment #place_order{
  background:#e01e26!important;
  border-color:#e01e26!important;
}
body .rh-cart-shell .rh-cart-remove .remove:hover,
body .rh-cart-shell .rh-cart-product-info h3 a:hover,
body .rh-cart-shell .rh-cart-summary .shipping-calculator-button{
  color:#e01e26!important;
}


/* Nexora v7: force Electric Blue hover states across all WooCommerce and theme buttons. */
:root{
  --rh-primary:#e01e26!important;
  --rh-primary-dark:#b8121b!important;
}
body .woocommerce a.button:hover,
body .woocommerce a.button:focus,
body .woocommerce a.button:active,
body .woocommerce button.button:hover,
body .woocommerce button.button:focus,
body .woocommerce button.button:active,
body .woocommerce input.button:hover,
body .woocommerce input.button:focus,
body .woocommerce input.button:active,
body .woocommerce #respond input#submit:hover,
body .woocommerce #respond input#submit:focus,
body .woocommerce #respond input#submit:active,
body .woocommerce button.single_add_to_cart_button:hover,
body .woocommerce button.single_add_to_cart_button:focus,
body .woocommerce .single_add_to_cart_button:hover,
body .woocommerce .single_add_to_cart_button:focus,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus,
body .wc-block-cart .wc-block-cart__submit-button:hover,
body .wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
body .rh-product-summary-column .rh-buy-now: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-cart-shell .rh-cart-summary .checkout-button:hover{
  background-color:#b8121b!important;
  background-image:none!important;
  border-color:#b8121b!important;
  color:#fff!important;
  box-shadow:0 5px 16px #e01e2630!important;
}
body .woocommerce a.button:hover *,
body .woocommerce button.button:hover *,
body .woocommerce button.single_add_to_cart_button:hover *,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover *,
body.woocommerce-checkout #place_order:hover *{
  color:#fff!important;
}
body .rh-search button:hover,
body .rh-primary-btn:hover,
body .nx-primary-btn:hover,
body .rh-footer .rh-btn:hover{
  background-color:#b8121b!important;
  border-color:#b8121b!important;
  color:#fff!important;
}


/* Nexora v8: prevent page-wide horizontal scrollbar on desktop/tablet/mobile. */
html,body{
  max-width:100%;
  overflow-x:clip;
}
body{
  width:100%;
}
.rh-container,
.rh-footer,
.rh-footer-grid,
.rh-footer-bottom,
.rh-header,
.rh-head-row{
  min-width:0;
  max-width:100%;
}
@supports not (overflow:clip){
  html,body{overflow-x:hidden}
}
@media(max-width:1050px){
  .rh-footer .rh-footer-grid{gap:18px}
  .rh-footer .rh-footer-grid>div{min-width:0;overflow-wrap:anywhere}
}


/* Nexora v9: final-priority blue hover colors, overriding older Rondhonu rules. */
html body .woocommerce a.button:hover,
html body .woocommerce a.button:focus-visible,
html body .woocommerce button.button:hover,
html body .woocommerce button.button:focus-visible,
html body .woocommerce input.button:hover,
html body .woocommerce input.button:focus-visible,
html body .woocommerce #respond input#submit:hover,
html body .woocommerce #respond input#submit:focus-visible,
html body .woocommerce .button.alt:hover,
html body .woocommerce .button.alt:focus-visible,
html body .woocommerce button.single_add_to_cart_button:hover,
html body .woocommerce button.single_add_to_cart_button:focus-visible,
html body .woocommerce .single_add_to_cart_button:hover,
html body .woocommerce .single_add_to_cart_button:focus-visible,
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible,
html body.woocommerce-checkout #place_order:hover,
html body.woocommerce-checkout #place_order:focus-visible,
html body .rh-cart-shell a:hover.checkout-button,
html body .rh-catalog-main ul.products li.product .button:hover,
html body .rh-single-product .related ul.products li.product .button:hover,
html body .rh-single-product .upsells ul.products li.product .button:hover,
html body .rh-product-summary-column .rh-buy-now:hover,
html body .rh-search button:hover,
html body .rh-footer .rh-btn:hover,
html 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;
}
html body .woocommerce a.button:hover *,
html body .woocommerce button.button:hover *,
html body .woocommerce .button.alt:hover *,
html body.woocommerce-checkout #place_order:hover *,
html body .rh-single-product .related ul.products li.product .button:hover *,
html body .rh-single-product .upsells ul.products li.product .button:hover *{
  color:#fff!important;
}
html body .woocommerce .added_to_cart:hover,
html body .rh-loop-quick:hover,
html body .rh-product-summary-column .reset_variations:hover,
html body .rh-product-summary-column .product_meta a:hover,
html body .rh-footer a:not(.rh-btn):hover,
html body .rh-filter-cat:hover,
html body .rh-filter-cat.is-current{
  color:#b8121b!important;
  border-color:#b8121b;
}


/* Freshmart Grocery palette: green actions throughout all storefront pages. */
:root{
 --rh-primary:#e01e26;
 --rh-primary-dark:#b8121b;
 --rh-ink:#1f2d25;
 --rh-muted:#66756b;
 --rh-line:#dce9df;
 --rh-soft:#f1f8f2;
}
html,body{max-width:100%;overflow-x:clip}
body{color:#1f2d25}
.rh-btn,.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,.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.rh-primary-btn,.nx-primary-btn,.rh-search button,.rh-footer .rh-btn{
 background:#e01e26!important;background-color:#e01e26!important;border-color:#e01e26!important;color:#fff!important;
}
.rh-btn:hover,.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,.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.rh-primary-btn:hover,.nx-primary-btn:hover,.rh-search button:hover,.rh-footer .rh-btn:hover,
.rh-single-product .related ul.products li.product .button:hover,
.rh-single-product .upsells ul.products li.product .button:hover,
.rh-catalog-main ul.products li.product .button: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;
}
.woocommerce a.button:hover *, .woocommerce button.button:hover *, body.woocommerce-checkout #place_order:hover *{color:#fff!important}
.woocommerce .price,.woocommerce div.product p.price,.woocommerce div.product span.price,
.woocommerce .woocommerce-Price-amount,.rh-single-product .related .price,.rh-single-product .upsells .price{
 color:#e01e26;
}
.rh-product-summary-column .reset_variations,.rh-product-summary-column .product_meta a,
.rh-product-breadcrumb a,.rh-nav a:hover{color:#e01e26!important}
.rh-count{background:#e01e26!important}


/* Freshmart v2: unified grocery palette across every storefront page. */
:root{
 --rh-primary:#e01e26;
 --rh-primary-dark:#b8121b;
 --rh-soft:#fff0f1;
 --rh-line:#eeeeee;
 --rh-ink:#222222;
 --rh-muted:#65776a;
}
.rh-topbar{
 background:#ffffff!important;
 color:#333333!important;
}
.rh-header{
 background:#fff!important;
 color:#222222!important;
 border-bottom:1px solid #eeeeee!important;
 box-shadow:0 5px 18px rgba(21,59,42,.06)!important;
}
.rh-logo-mark{
 background:#e01e26!important;
 color:#fff!important;
}
.rh-logo{color:#222222!important}
.rh-search button,
.rh-search .search-submit,
.rh-header .rh-search button,
.rh-head-actions .rh-count{
 background:#e01e26!important;
 border-color:#e01e26!important;
 color:#fff!important;
}
.rh-nav,.rh-navigation,.rh-header-nav{
 background:#ffffff!important;
 color:#fff!important;
}
.rh-nav a,.rh-navigation a,.rh-header-nav a{color:#333333!important}
.rh-nav a:hover,.rh-navigation a:hover,.rh-header-nav a:hover{
 color:#b7efc6!important;
}
button,
.button,
a.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,
.woocommerce-checkout #place_order,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.rh-primary-btn,.fm-button,.nx-primary-btn{
 --button-background:#e01e26;
 background:#e01e26!important;
 background-color:#e01e26!important;
 border-color:#e01e26!important;
 color:#fff!important;
}
button:hover,.button:hover,a.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,
.woocommerce-checkout #place_order:hover,
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.rh-primary-btn:hover,.fm-button:hover,.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 rgba(25,135,84,.18)!important;
}
.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-Price-amount,
.rh-price,.rh-product-price,.fm-price{
 color:#e01e26!important;
}
.woocommerce del,.woocommerce del .amount{color:#829087!important}
.woocommerce ins,.woocommerce ins .amount{color:#e01e26!important}
.woocommerce .onsale,.rh-sale-badge,.rh-product-badge{
 background:#e4f5e8!important;
 color:#b8121b!important;
 border-color:#bfe4c9!important;
}
.woocommerce-message,.woocommerce-info{
 border-top-color:#e01e26!important;
}
.woocommerce-message::before,.woocommerce-info::before{color:#e01e26!important}
input:focus,select:focus,textarea:focus,
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
 border-color:#e01e26!important;
 box-shadow:0 0 0 1px rgba(25,135,84,.2)!important;
 outline-color:rgba(25,135,84,.2)!important;
}
input[type=checkbox],input[type=radio]{accent-color:#e01e26}
.rh-footer{border-top-color:#eeeeee!important}
.rh-footer a:hover{color:#e01e26}


/* Freshmart unified produce palette across all storefront templates. */
:root{--rh-primary:#e01e26;--rh-primary-dark:#b8121b;--rh-ink:#203b2b;--rh-muted:#6d7d70;--rh-line:#e4eadc;--rh-soft:#f0f5e7;--rh-container:1280px}
body .woocommerce .price,
body .woocommerce div.product p.price,
body .woocommerce div.product span.price,
body .woocommerce .rh-price,
body .rh-product-price,
body .rh-single-product .related .price,
body .rh-single-product .upsells .price{color:#e01e26!important}
body .woocommerce a.button,body .woocommerce button.button,body .woocommerce input.button,
body .woocommerce #respond input#submit,body .woocommerce button.single_add_to_cart_button,
body .woocommerce .single_add_to_cart_button,body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order,body .rh-cart-shell .checkout-button{
 background:#e01e26!important;border-color:#e01e26!important;color:#fff!important
}
body .woocommerce a.button:hover,body .woocommerce button.button:hover,body .woocommerce input.button:hover,
body .woocommerce #respond input#submit:hover,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-cart-shell .checkout-button:hover{
 background:#b8121b!important;border-color:#b8121b!important;color:#fff!important
}
body .woocommerce span.onsale,body .rh-sale{background:#e5a044!important;color:#fff!important}
body .woocommerce form .form-row input:focus,body .woocommerce form .form-row textarea:focus,
body .woocommerce form .form-row select:focus{border-color:#e01e26!important;box-shadow:0 0 0 1px #28784b20!important}


/* Fabrica Market v1.0.3 — contain header inside the site container */
.rh-header{width:100%;max-width:100%;overflow:visible}
.rh-header .rh-container.rh-head-row{
  width:min(1280px,94%)!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:12px 0!important;
  display:grid!important;
  grid-template-columns:minmax(145px,175px) minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  box-sizing:border-box!important;
}
.rh-header .rh-logo{
  min-width:0!important;
  max-width:100%!important;
  font-size:24px!important;
  letter-spacing:-.035em!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.rh-header .rh-logo span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rh-header .rh-logo .custom-logo{display:block;width:auto!important;height:auto!important;max-width:150px!important;max-height:42px!important;object-fit:contain}
.rh-header .rh-search{min-width:0!important;width:100%!important;margin:0!important}
.rh-header .rh-search select{min-width:0;max-width:135px}
.rh-header .rh-head-actions{min-width:0!important;gap:12px!important;justify-content:flex-end}
.rh-header .rh-head-actions a[aria-label="Track order"]{display:none!important}
.rh-header .rh-head-actions a{min-width:30px!important}
.rh-header .rh-head-actions a i{font-size:18px!important}
.rh-header .rh-mobile-menu{flex:0 0 auto}
.rh-header .rh-nav .rh-container{width:min(1280px,94%)!important;max-width:1280px!important;margin-inline:auto!important;box-sizing:border-box}
@media(max-width:1000px){
  .rh-header .rh-container.rh-head-row{
    grid-template-columns:minmax(125px,155px) minmax(0,1fr) auto!important;
    gap:12px!important;
  }
  .rh-header .rh-logo{font-size:21px!important}
  .rh-header .rh-head-actions{gap:8px!important}
  .rh-header .rh-head-actions a span{font-size:9px}
  .rh-header .rh-search select{width:110px;flex-basis:110px}
}
@media(max-width:700px){
  .rh-header .rh-container.rh-head-row{
    width:94%!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    padding:10px 0!important;
  }
  .rh-header .rh-logo{grid-column:1;grid-row:1;font-size:22px!important}
  .rh-header .rh-logo .custom-logo{max-width:130px!important;max-height:38px!important}
  .rh-header .rh-search{grid-column:1/-1;grid-row:2;height:44px!important}
  .rh-header .rh-search select{width:105px;max-width:105px;flex:0 0 105px;font-size:11px;padding:0 7px}
  .rh-header .rh-search input[type=search]{font-size:12px;padding:0 10px}
  .rh-header .rh-search button{width:44px;flex-basis:44px}
  .rh-header .rh-head-actions{display:none!important}
  .rh-header .rh-mobile-menu{display:inline-flex!important;grid-column:2;grid-row:1;align-items:center;justify-content:center}
  .rh-header .rh-nav{display:none!important}
  .rh-header .rh-mobile-cats{width:100%;box-sizing:border-box}
}

/* Fabrica Market v1.0.4: remove remaining grocery green accents globally. */
:root{--rh-primary:#e01e26;--rh-primary-dark:#b8141b;--rh-ink:#242424;--rh-muted:#737373;--rh-line:#ececec;--rh-soft:#fff0f1}
body .rh-freshmart-home .fm-benefit-icon{background:#fff0f1!important;color:#e01e26!important}
body .rh-freshmart-home .fm-price,body .rh-freshmart-home .price{color:#e01e26!important}
body .rh-freshmart-home .fm-promo em{color:#e01e26!important}
