:root{
  --hb-blue:#1B5FD9;
  --hb-blue-dark:#0B2A7A;
  --hb-navy:#0A1E4A;
  --hb-ink:#111111;
  --hb-body:#4A5568;
  --hb-line:#E2E8F0;
  --hb-soft:#F5F7FA;
  --hb-max:1240px;
}

/* ---------- Header ---------- */
.hb-logo svg{display:block;width:100%;height:auto;max-width:200px}
.hb-account a,.hb-account .elementor-button{color:var(--hb-ink)!important;font-weight:600}

/* WooCommerce product search in header */
.hb-search form.woocommerce-product-search{display:flex;width:100%;position:relative;margin:0}
.hb-search .woocommerce-product-search label{display:none}
.hb-search input[type="search"],
.hb-search input.search-field{
  flex:1 1 auto;width:100%;height:44px;padding:0 54px 0 16px;
  border:1px solid var(--hb-line);border-radius:6px;background:var(--hb-soft);
  font-size:14px;color:var(--hb-ink);outline:none;
}
.hb-search input[type="search"]:focus{border-color:var(--hb-blue);background:#fff}
.hb-search button[type="submit"]{
  position:absolute;right:4px;top:4px;height:36px;width:44px;
  border:0;border-radius:5px;background:var(--hb-blue);color:#fff;
  font-size:0;cursor:pointer;
}
.hb-search button[type="submit"]::before{
  content:"\f002";font-family:"Font Awesome 5 Free","Font Awesome 6 Free";font-weight:900;font-size:14px;
}

/* ---------- Section headings ---------- */
.hb-sec-title .elementor-heading-title{position:relative;display:inline-block;padding-bottom:14px}
.hb-sec-title .elementor-heading-title::after{
  content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:56px;height:3px;border-radius:2px;background:var(--hb-blue);
}

/* ---------- WooCommerce category tiles ---------- */
.hb-cats ul.products{
  display:grid!important;grid-template-columns:repeat(5,1fr);gap:20px;
  margin:0!important;padding:0!important;list-style:none;
}
.hb-cats ul.products::before,.hb-cats ul.products::after{display:none!important}
.hb-cats ul.products li.product-category{
  width:100%!important;margin:0!important;float:none!important;padding:0!important;
  background:#fff;border:1px solid var(--hb-line);border-radius:10px;overflow:hidden;
  transition:box-shadow .2s ease,transform .2s ease;
}
.hb-cats ul.products li.product-category:hover{box-shadow:0 10px 24px rgba(10,30,74,.12);transform:translateY(-3px)}
.hb-cats li.product-category a{display:block;text-decoration:none;padding:14px}
.hb-cats li.product-category img{width:100%;height:150px;object-fit:contain;margin:0 0 12px;display:block}
.hb-cats li.product-category h2,
.hb-cats li.product-category .woocommerce-loop-category__title{
  font-size:15px!important;font-weight:700!important;color:var(--hb-ink)!important;
  text-align:center;margin:0 0 12px!important;padding:0!important;
}
.hb-cats li.product-category .count{
  display:inline-block;background:transparent;color:var(--hb-body);font-weight:500;font-size:13px;
}

/* ---------- WooCommerce product grid ---------- */
.hb-products ul.products{
  display:grid!important;grid-template-columns:repeat(6,1fr);gap:18px;
  margin:0!important;padding:0!important;list-style:none;
}
.hb-products ul.products::before,.hb-products ul.products::after{display:none!important}
.hb-products ul.products li.product{
  width:100%!important;margin:0!important;float:none!important;
  background:#fff;border:1px solid var(--hb-line);border-radius:10px;padding:12px;
  display:flex;flex-direction:column;text-align:center;
  transition:box-shadow .2s ease,transform .2s ease;
}
.hb-products ul.products li.product:hover{box-shadow:0 10px 24px rgba(10,30,74,.12);transform:translateY(-3px)}
.hb-products li.product img{width:100%;height:150px;object-fit:contain;margin:0 0 10px!important;border-radius:6px}
.hb-products li.product .woocommerce-loop-product__title{
  font-size:14px!important;line-height:1.35;font-weight:600!important;color:var(--hb-ink)!important;
  padding:0!important;margin:0 0 8px!important;min-height:38px;
}
.hb-products li.product .price{
  font-size:15px!important;font-weight:700;color:var(--hb-ink)!important;margin:0 0 12px;display:block;
}
.hb-products li.product .price del{opacity:.5;font-weight:500;font-size:13px;margin-right:6px}
.hb-products li.product .price ins{text-decoration:none}
.hb-products li.product .star-rating{display:none}
.hb-products li.product a.button{
  margin-top:auto;display:block;width:100%;background:var(--hb-blue);color:#fff;
  border-radius:6px;padding:9px 10px;font-size:13px;font-weight:600;line-height:1.2;
}
.hb-products li.product a.button:hover{background:var(--hb-blue-dark);color:#fff}
.hb-products li.product a.added_to_cart{display:block;margin-top:8px;font-size:12px;color:var(--hb-blue)}

/* ---------- Footer ---------- */
.hb-foot-list ul{list-style:none;margin:0;padding:0}
.hb-foot-list li{margin:0 0 10px}
.hb-foot-list a{color:#C7D2E4;text-decoration:none;font-size:14px}
.hb-foot-list a:hover{color:#fff}
.hb-foot-logo svg{display:block;width:100%;height:auto;max-width:170px}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .hb-cats ul.products{grid-template-columns:repeat(3,1fr)}
  .hb-products ul.products{grid-template-columns:repeat(3,1fr)}
  .hb-search{order:3;flex-basis:100%!important}
}
@media(max-width:767px){
  .hb-cats ul.products{grid-template-columns:repeat(2,1fr);gap:14px}
  .hb-products ul.products{grid-template-columns:repeat(2,1fr);gap:14px}
  .hb-cats li.product-category img,
  .hb-products li.product img{height:120px}
  .hb-products li.product .woocommerce-loop-product__title{min-height:34px;font-size:13px!important}
}

/* ---------- Badges, ghost button, nav ---------- */
.hb-badge{display:inline-block;border:1px solid rgba(76,141,255,.5);color:#9FC1FF;background:rgba(27,95,217,.14);padding:7px 14px;border-radius:6px;font-size:12.5px;font-weight:600;line-height:1.2}
.hb-badge-light{border-color:rgba(255,255,255,.32);color:#fff;background:rgba(255,255,255,.10)}
.hb-btn-ghost .elementor-button{border:1px solid rgba(255,255,255,.45)!important;background:transparent!important}
.hb-btn-ghost .elementor-button:hover{background:rgba(255,255,255,.12)!important}
.hb-nav .elementor-nav-menu a.elementor-item{color:#fff!important;padding:15px 16px!important;font-weight:600}
.hb-nav .elementor-nav-menu a.elementor-item:hover,
.hb-nav .elementor-nav-menu a.elementor-item.elementor-item-active{background:#1B5FD9!important;color:#fff!important}
.hb-nav .elementor-menu-toggle{color:#fff!important}
.hb-nav .elementor-nav-menu--dropdown a.elementor-item{color:#0A1E4A!important}
.hb-trust .elementor-icon-box-wrapper{display:flex;align-items:flex-start;gap:12px}
.hb-trust .elementor-icon-box-icon{margin-bottom:0!important}
/* image slots awaiting artwork */
.hb-hero-imgwrap img,.hb-ws-imgwrap img{border-radius:10px;max-height:340px;width:auto;object-fit:contain}
@media(max-width:1024px){.hb-nav .elementor-nav-menu a.elementor-item{padding:12px 10px!important;font-size:13px}}

/* Empty image slots: collapse until artwork is added. Self-reverting - once an
   <img> exists these rules stop matching and the two-column layout returns. */
.hb-hero-imgwrap:not(:has(img)),
.hb-ws-imgwrap:not(:has(img)){display:none!important}
.hb-hero .e-con-inner:has(> .hb-hero-imgwrap:not(:has(img))) > div:first-child{width:100%!important;max-width:820px}
.hb-wholesale .e-con-inner:has(> .hb-ws-imgwrap:not(:has(img))) > div:first-child{width:100%!important}

/* ============ Layout corrections ============ */
/* Equal columns that survive flex gaps (percent widths + gap overflowed and wrapped) */
.hb-trust .e-con-inner > .e-con,
.hb-why-row > .e-con{flex:1 1 0!important;width:auto!important;max-width:none!important}
.hb-footmain .e-con-inner > .e-con{width:auto!important;max-width:none!important}
.hb-footmain .e-con-inner > .e-con:nth-child(1){flex:1.6 1 0}
.hb-footmain .e-con-inner > .e-con:nth-child(2){flex:1 1 0}
.hb-footmain .e-con-inner > .e-con:nth-child(3){flex:1.05 1 0}
.hb-footmain .e-con-inner > .e-con:nth-child(4){flex:1.3 1 0}
@media(max-width:1024px){
 .hb-trust .e-con-inner > .e-con,.hb-footmain .e-con-inner > .e-con{flex:1 1 44%!important}
 .hb-why-row > .e-con{flex:1 1 100%!important}
}
@media(max-width:767px){
 .hb-trust .e-con-inner > .e-con,.hb-footmain .e-con-inner > .e-con{flex:1 1 100%!important}
}
/* Product cards: Astra forces desktop-align-left */
.hb-products li.product,
.hb-products li.product .woocommerce-loop-product__title,
.hb-products li.product .price{text-align:center!important}
.hb-products li.product .ast-woo-product-category,
.hb-products li.product .onsale,
.hb-products li.product .ast-shop-product-out-of-stock{display:none!important}
.hb-products li.product .astra-shop-thumbnail-wrap{width:100%;margin:0 auto}
.hb-products li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1 1 auto;width:100%}
/* Category tiles: hide the product count, add a per-category button */
.hb-cats li.product-category mark.count{display:none!important}
.hb-cats li.product-category a{display:flex;flex-direction:column;align-items:center;height:100%}
.hb-cats li.product-category h2,
.hb-cats li.product-category .woocommerce-loop-category__title{flex:1 1 auto;display:flex;align-items:center;justify-content:center}
.hb-cats li.product-category a::after{content:"Shop Now";display:block;width:100%;background:#1B5FD9;color:#fff;border-radius:6px;padding:9px 8px;font-size:12.5px;font-weight:600;text-align:center;line-height:1.25}
.hb-cats li.product-category a:hover::after{background:#0B2A7A}
.hb-cats li.product-category a[aria-label*="Hand Bags"]::after{content:"Shop Hand Bags"}
.hb-cats li.product-category a[aria-label*="School Bags"]::after{content:"Shop School Bags"}
.hb-cats li.product-category a[aria-label*="Travelling Bags"]::after{content:"Shop Travelling Bags"}
.hb-cats li.product-category a[aria-label*="Luggage"]::after{content:"Shop Luggage"}
.hb-cats li.product-category a[aria-label*="Import Bags"]::after{content:"Shop Import Bags"}
