
/* Fabrica Market header and shared palette */
.rh-topbar{background:#fff!important;color:#333!important;border-bottom:1px solid #eee;font-size:12px}
.rh-topbar .rh-container{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;flex-wrap:wrap}
.rh-topbar i{color:#e01e26;margin-right:5px}.rh-topbar a{margin-left:18px;white-space:nowrap}
.rh-header{position:relative;z-index:99;background:#fff!important;border-bottom:1px solid #eee;box-shadow:none}
.rh-head-row{display:grid;grid-template-columns:190px minmax(220px,1fr) auto;align-items:center;gap:24px;padding:15px 0}
.rh-logo{display:flex;align-items:center;color:#e01e26!important;font-family:Georgia,'Times New Roman',serif;font-size:30px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}.rh-logo b{color:#222}.rh-logo .custom-logo{max-height:56px;width:auto}
.rh-search{display:flex;align-items:stretch;width:100%;height:46px;border:1px solid #eee!important;border-radius:28px!important;overflow:hidden;background:#fafafa!important}
.rh-search:focus-within{border-color:#e01e26!important;box-shadow:0 0 0 3px #e01e2615}
.rh-search select{width:145px;min-width:115px;flex:0 0 145px;border:0;border-right:1px solid #eee;background:#f6f6f6;padding:0 12px;color:#333;font-size:12px}
.rh-search input[type=search]{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;padding:0 14px;background:transparent;font-size:13px;color:#222}
.rh-search button{width:48px;flex:0 0 48px;border:0!important;border-radius:0!important;background:#e01e26!important;color:#fff!important;font-size:16px}.rh-search button:hover{background:#b8121b!important}
.rh-head-actions{display:flex;align-items:center;gap:19px}.rh-head-actions a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:34px;color:#222!important;font-size:10px;white-space:nowrap}.rh-head-actions a i{font-size:20px;color:#e01e26}.rh-head-actions a:hover,.rh-head-actions a:hover i{color:#b8121b!important}.rh-count{position:absolute;top:-5px;right:-5px;left:auto;background:#e01e26!important;color:#fff;border:1px solid white;border-radius:50%;min-width:17px;height:17px;display:grid;place-items:center;font-size:10px}
.rh-nav{background:#fff!important;border-top:0!important;border-bottom:1px solid #eee}.rh-nav .rh-container{display:flex;align-items:center;gap:0;min-height:46px;white-space:nowrap;overflow-x:auto;font-size:13px;font-weight:700;scrollbar-width:none}.rh-nav .rh-container::-webkit-scrollbar{display:none}.rh-nav a{display:inline-flex;align-items:center;min-height:46px;padding:0 15px;color:#222!important;transition:background .2s,color .2s}.rh-nav a:first-child{padding-left:0}.rh-nav a:hover,.rh-nav a:focus-visible{background:#fff0f1!important;color:#e01e26!important}
.rh-mobile-menu{display:none;border:0;background:#e01e26!important;color:#fff!important;border-radius:8px;width:42px;height:42px}.rh-mobile-cats{display:none;padding:12px 3%;background:#fff;border-top:1px solid #eee}.rh-mobile-cats.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rh-mobile-cats>a,.rh-mobile-actions a{padding:10px;border:1px solid #eee;border-radius:7px;font-size:12px;color:#333}.rh-mobile-actions{display:none}
/* Site-wide colors: all pages inherit this theme's accent, including WooCommerce buttons and hover states. */
.rh-btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.add_to_cart_button,.woocommerce a.product_type_simple,.woocommerce a.product_type_variable,.woocommerce button.single_add_to_cart_button,.woocommerce #place_order,.woocommerce .wc-proceed-to-checkout a.checkout-button{background:#e01e26!important;color:#fff!important;border-color:#e01e26!important}
.rh-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,.woocommerce a.add_to_cart_button:hover,.woocommerce a.product_type_simple:hover,.woocommerce a.product_type_variable:hover,.woocommerce button.single_add_to_cart_button:hover,.woocommerce #place_order:hover,.woocommerce .wc-proceed-to-checkout a.checkout-button:hover{background:#b8121b!important;color:#fff!important;border-color:#b8121b!important}
.rh-price,.rh-price ins,.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce ul.products li.product .price,.woocommerce-Price-amount{color:#e01e26}
.woocommerce a:hover,.rh-link:hover{color:#b8121b}
.rh-cat:hover img{border-color:#e01e26!important}
@media(max-width:1050px){.rh-head-row{grid-template-columns:165px minmax(150px,1fr) auto;gap:14px}.rh-head-actions{gap:11px}.rh-nav a{padding:0 11px}}
@media(max-width:700px){.rh-topbar{font-size:10px}.rh-topbar .rh-container span:last-child{display:none}.rh-head-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px 0}.rh-logo{grid-column:1;grid-row:1;font-size:24px;min-width:0}.rh-head-row>.rh-head-actions{display:none!important}.rh-mobile-menu{display:inline-flex;align-items:center;justify-content:center;grid-column:2;grid-row:1}.rh-search{grid-column:1/-1;grid-row:2;width:100%;height:43px}.rh-search select{width:100px;min-width:90px;flex-basis:100px;padding:0 5px;font-size:10px}.rh-search input[type=search]{font-size:12px;padding:0 9px}.rh-search button{width:42px;flex-basis:42px}.rh-nav{display:none}.rh-mobile-cats.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px}.rh-mobile-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:4px;padding-bottom:10px;border-bottom:1px solid #eee}.rh-mobile-actions a{text-align:center;font-size:11px}.rh-mobile-actions i{display:block;color:#e01e26;margin-bottom:4px}}
@media(min-width:701px){.rh-mobile-cats{display:none!important}}


/* Fabrica Market Red v1.0.1 — stable responsive header grid */
.rh-header,.rh-header *{box-sizing:border-box}
.rh-head-row{
  display:grid!important;
  grid-template-columns:minmax(175px,220px) minmax(0,1fr) max-content!important;
  gap:clamp(12px,1.6vw,24px)!important;
  align-items:center!important;
  width:100%;
}
.rh-logo{
  display:flex!important;
  align-items:center;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;
  font-size:clamp(22px,2.1vw,30px)!important;
  line-height:1.15;
}
.rh-logo>span{display:block;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rh-logo .custom-logo-link{display:flex;align-items:center;max-width:100%;min-width:0}
.rh-logo img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:54px!important;object-fit:contain}
.rh-search{min-width:0!important;max-width:100%;width:100%;overflow:hidden}
.rh-search select{min-width:0!important;flex:0 0 clamp(95px,11vw,145px)!important;width:clamp(95px,11vw,145px)!important}
.rh-search input[type=search]{min-width:0!important;width:100%}
.rh-head-actions{min-width:max-content;gap:clamp(9px,1.4vw,19px)!important}
.rh-head-actions a{min-width:32px}
.rh-topbar i,.rh-head-actions a i{color:#e01e26!important}
.rh-search:focus-within{border-color:#e01e26!important;box-shadow:0 0 0 3px #e01e2615!important}
.rh-search button,.rh-mobile-menu{background:#e01e26!important;color:#fff!important}
.rh-search button:hover,.rh-mobile-menu:hover{background:#b8121b!important}
.rh-nav a:hover,.rh-nav a:focus-visible{background:#fff0f1!important;color:#e01e26!important}
.rh-count{background:#e01e26!important}
@media(max-width:1050px) and (min-width:701px){
  .rh-head-row{grid-template-columns:minmax(145px,180px) minmax(0,1fr) max-content!important;gap:10px!important}
  .rh-logo{font-size:23px!important}
  .rh-head-actions{gap:9px!important}
  .rh-head-actions a span{font-size:10px}
  .rh-search select{flex-basis:100px!important;width:100px!important}
}
@media(max-width:700px){
  .rh-head-row{grid-template-columns:minmax(0,1fr) 42px!important;gap:10px!important}
  .rh-logo{grid-column:1!important;grid-row:1!important;max-width:100%;font-size:24px!important}
  .rh-mobile-menu{grid-column:2!important;grid-row:1!important}
  .rh-search{grid-column:1/-1!important;grid-row:2!important;width:100%!important}
  .rh-head-row>.rh-head-actions{display:none!important}
  .rh-search select{flex:0 0 95px!important;width:95px!important}
}


/* Fabrica Market Red v1.0.2: definitive red/white header and responsive category nav. */
body .rh-topbar{
  background:#fff!important;color:#333!important;
  border-bottom:1px solid #eee!important;
}
body .rh-topbar .rh-container{padding:7px 0!important;min-height:30px}
body .rh-topbar span,body .rh-topbar a{color:#333!important}
body .rh-topbar i{color:#e01e26!important}
body .rh-header{background:#fff!important;color:#222!important;border-bottom:1px solid #eee!important}
body .rh-head-row{
  width:100%!important;display:grid!important;
  grid-template-columns:minmax(200px,235px) minmax(0,1fr) max-content!important;
  gap:clamp(12px,1.5vw,22px)!important;
  align-items:center!important;padding:15px 0!important;
}
body .rh-logo{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  min-width:0!important;max-width:100%!important;overflow:visible!important;
  font-family:Arial,"Noto Sans Bengali",sans-serif!important;
  font-size:clamp(21px,1.9vw,27px)!important;font-weight:800!important;
  line-height:1.15!important;letter-spacing:-.035em!important;white-space:nowrap!important;
  color:#e01e26!important;
}
body .rh-logo>span{display:block!important;overflow:visible!important;text-overflow:clip!important;min-width:0!important}
body .rh-logo .custom-logo-link{display:flex!important;align-items:center!important;max-width:100%!important;min-width:0!important}
body .rh-logo img.custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:220px!important;max-height:48px!important;object-fit:contain!important}
body .rh-search{
  display:flex!important;min-width:0!important;width:100%!important;max-width:100%!important;
  height:46px!important;border:1px solid #e6e6e6!important;border-radius:26px!important;
  background:#fafafa!important;overflow:hidden!important;box-shadow:none!important;
}
body .rh-search select{flex:0 0 135px!important;width:135px!important;min-width:0!important;max-width:135px!important}
body .rh-search input[type=search]{flex:1 1 auto!important;width:100%!important;min-width:0!important}
body .rh-search button{flex:0 0 48px!important;width:48px!important;background:#e01e26!important;color:#fff!important}
body .rh-search button:hover{background:#b8121b!important}
body .rh-head-actions{display:flex!important;align-items:center!important;min-width:max-content!important;gap:clamp(9px,1.2vw,17px)!important}
body .rh-head-actions a{min-width:30px!important;color:#333!important}
body .rh-head-actions a i{color:#e01e26!important}
body .rh-count{background:#e01e26!important;color:#fff!important}
body .rh-nav{display:block!important;background:#fff!important;border-top:1px solid #f5f5f5!important;border-bottom:1px solid #eee!important}
body .rh-nav .rh-container{
  display:flex!important;align-items:center!important;gap:0!important;
  min-height:45px!important;white-space:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none!important;-ms-overflow-style:none!important;
}
body .rh-nav .rh-container::-webkit-scrollbar{display:none!important}
body .rh-nav a{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;min-height:45px!important;padding:0 13px!important;color:#222!important;font-size:12px!important;font-weight:700!important}
body .rh-nav a:hover,body .rh-nav a:focus-visible{background:#fff0f1!important;color:#e01e26!important}
body .rh-mobile-menu{background:#e01e26!important;color:#fff!important}
@media(max-width:1050px) and (min-width:701px){
 body .rh-head-row{grid-template-columns:minmax(175px,200px) minmax(0,1fr) max-content!important;gap:10px!important}
 body .rh-logo{font-size:22px!important}
 body .rh-head-actions{gap:8px!important}
 body .rh-head-actions a span{font-size:9px!important}
 body .rh-search select{flex-basis:100px!important;width:100px!important}
 body .rh-nav a{padding:0 10px!important}
}
@media(max-width:700px){
 body .rh-topbar .rh-container{gap:6px!important;padding:6px 0!important;font-size:10px!important}
 body .rh-topbar .rh-container>span:first-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body .rh-topbar .rh-container>span:last-child{display:none!important}
 body .rh-head-row{
  grid-template-columns:minmax(0,1fr) 42px!important;
  gap:10px!important;padding:11px 0!important;
 }
 body .rh-logo{grid-column:1!important;grid-row:1!important;font-size:23px!important;max-width:100%!important}
 body .rh-logo img.custom-logo{max-width:100%!important;max-height:40px!important}
 body .rh-mobile-menu{display:inline-flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important}
 body .rh-head-row>.rh-head-actions{display:none!important}
 body .rh-search{grid-column:1/-1!important;grid-row:2!important;height:43px!important}
 body .rh-search select{flex:0 0 96px!important;width:96px!important;max-width:96px!important;font-size:10px!important;padding:0 5px!important}
 body .rh-search input[type=search]{font-size:12px!important;padding:0 9px!important}
 body .rh-search button{flex-basis:42px!important;width:42px!important}
 body .rh-nav{display:block!important;width:100%!important}
 body .rh-nav .rh-container{width:100%!important;max-width:100%!important;padding:0 8px!important;min-height:42px!important;overflow-x:auto!important}
 body .rh-nav a{min-height:42px!important;padding:0 11px!important;font-size:11px!important}
 body .rh-mobile-cats.open{display:grid!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 — compact centered search and fashion storefront cleanup. */
.rh-header .rh-container.rh-head-row{
  grid-template-columns:minmax(145px,190px) minmax(300px,620px) minmax(110px,160px)!important;
  justify-content:space-between!important;
  column-gap:clamp(18px,3vw,44px)!important;
}
.rh-header .rh-search{
  width:100%!important;
  max-width:620px!important;
  justify-self:center!important;
}
.rh-header .rh-head-actions{justify-self:end!important}
@media(max-width:1000px){
 .rh-header .rh-container.rh-head-row{
  grid-template-columns:minmax(125px,160px) minmax(220px,1fr) minmax(88px,125px)!important;
  column-gap:16px!important;
 }
 .rh-header .rh-search{max-width:100%!important}
}
@media(max-width:700px){
 .rh-header .rh-container.rh-head-row{
  width:92%!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
 }
 .rh-header .rh-search{max-width:100%!important}
}


/* Fabrica Market v1.0.5: functional mobile menu with account/cart/track order. */
.rh-header .rh-mobile-menu{color:#e01e26!important;background:#fff!important;border:1px solid #f3c9cc!important}
.rh-header .rh-mobile-menu[aria-expanded="true"]{background:#e01e26!important;color:#fff!important}
.rh-header .rh-mobile-cats{max-height:0;overflow:hidden;opacity:0;visibility:hidden;transition:max-height .25s ease,opacity .2s ease,padding .25s ease}
.rh-header .rh-mobile-cats.open{max-height:75vh;overflow-y:auto;opacity:1;visibility:visible}
.rh-header .rh-mobile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 12px;padding:12px 0;border-bottom:1px solid #f0d8d9}
.rh-header .rh-mobile-actions a{display:flex;align-items:center;gap:9px;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #f0d8d9;border-radius:9px;background:#fff;color:#292929;font-size:12px;font-weight:700}
.rh-header .rh-mobile-actions a i{color:#e01e26;font-size:15px}
.rh-header .rh-mobile-cart-count{margin-left:auto;display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#e01e26;color:#fff;font-size:10px}
.rh-header .rh-mobile-cats>a{display:flex;align-items:center;min-height:42px;padding:10px 12px;border-bottom:1px solid #f3eeee;color:#292929;font-size:13px}
.rh-header .rh-mobile-cats>a:hover{background:#fff0f1;color:#e01e26}
@media(max-width:700px){
 .rh-header .rh-mobile-cats.open{display:block!important;padding:10px 4%!important}
 .rh-header .rh-mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* v1.0.6 robust mobile dropdown visibility fix */
.rh-header .rh-mobile-cats{display:none!important}
.rh-header .rh-mobile-cats.open{
 display:block!important;
 max-height:75vh!important;
 height:auto!important;
 overflow-y:auto!important;
 opacity:1!important;
 visibility:visible!important;
 position:relative!important;
 z-index:1000!important;
 padding:10px 4%!important;
 background:#fff!important;
}
.rh-header .rh-mobile-cats.open .rh-mobile-actions{display:grid!important}
.rh-header .rh-mobile-menu{position:relative!important;z-index:1002!important;cursor:pointer!important;pointer-events:auto!important}


/* Fabrica Market v1.0.7: replace mobile hamburger/dropdown with direct account + cart icons. */
.rh-header .rh-mobile-menu,
.rh-header .rh-mobile-cats{display:none!important}
.rh-header .rh-mobile-quick-actions{display:none}
@media(max-width:700px){
 .rh-header .rh-container.rh-head-row{
   grid-template-columns:minmax(0,1fr) auto!important;
   align-items:center!important;
   gap:12px!important;
 }
 .rh-header .rh-head-row>.rh-head-actions{display:none!important}
 .rh-header .rh-mobile-quick-actions{
   display:flex!important;
   align-items:center;
   justify-content:flex-end;
   gap:10px;
   grid-column:2;
   grid-row:1;
   min-width:78px;
 }
 .rh-header .rh-mobile-quick-actions>a{
   position:relative;
   display:flex;
   flex-direction:column;
   align-items:center;
   justify-content:center;
   gap:3px;
   width:38px;
   min-width:38px;
   height:42px;
   color:#e01e26!important;
   text-decoration:none;
   font-size:10px;
   font-weight:700;
 }
 .rh-header .rh-mobile-quick-actions>a i{font-size:19px;line-height:1}
 .rh-header .rh-mobile-quick-actions .rh-count{
   position:absolute;top:-1px;right:-2px;left:auto;
   display:grid;place-items:center;
   min-width:16px;height:16px;padding:0 3px;
   border:1px solid #fff;border-radius:99px;
   background:#e01e26;color:#fff;font-size:9px;
 }
 .rh-header .rh-head-row>.rh-search{
   grid-column:1/-1;grid-row:2;width:100%;max-width:100%!important;
 }
}


/* Fabrica Market v1.0.8: mobile quick actions are icon-only. */
@media(max-width:700px){
 .rh-header .rh-mobile-quick-actions>a span{display:none!important}
 .rh-header .rh-mobile-quick-actions>a{
   width:40px!important;
   min-width:40px!important;
   height:42px!important;
   gap:0!important;
 }
 .rh-header .rh-mobile-quick-actions>a i{font-size:21px!important}
}
