/*
Theme Name: TBG Lab Child
Template: hello-elementor
Version: 1.1.1
Description: Managed child theme for TBG Lab.
*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

/* TBG custom header — global */
#tbg-custom-header{
  background:#061735!important;
  border-bottom:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
}
#tbg-custom-header.is-sticky{top:0!important}
#tbg-custom-header .tbg-header-inner{
  max-width:1240px!important;
  min-height:96px!important;
  padding:0 34px!important;
  gap:34px!important;
  display:flex!important;
  align-items:center!important;
}
#tbg-custom-header .tbg-header-brand{
  order:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  width:170px!important;
  min-width:170px!important;
  height:68px!important;
}
#tbg-custom-header .tbg-header-brand img{
  display:block!important;
  width:auto!important;
  height:58px!important;
  max-width:170px!important;
  object-fit:contain!important;
}
#tbg-custom-header .tbg-primary-nav{
  margin-inline-start:0!important;
  margin-inline-end:auto!important;
  gap:18px!important;
  display:flex!important;
  align-items:center!important;
}
#tbg-custom-header ul.tbg-menu,#tbg-custom-header .tbg-menu{
  gap:4px!important;
  align-items:center!important;
  display:flex!important;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
#tbg-custom-header .tbg-menu>li>a,
#tbg-custom-header .tbg-price-link{
  min-height:48px!important;
  padding:0 9px!important;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:15.5px!important;
  font-weight:700!important;
  line-height:1.8!important;
  letter-spacing:-.15px!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  text-decoration:none!important;
  display:flex!important;
  align-items:center!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  font-synthesis:none;
}
#tbg-custom-header .tbg-menu>li>a:hover,
#tbg-custom-header .tbg-menu>li.current-menu-item>a,
#tbg-custom-header .tbg-menu>li.current_page_item>a,
#tbg-custom-header .tbg-price-link:hover{
  color:#8edfc8!important;
  background:transparent!important;
}
#tbg-custom-header .tbg-menu>li.menu-item-has-children>a:after{
  content:'▼';
  font-size:9px;
  margin-right:7px;
  color:#d9e4ef;
  transform:translateY(-1px);
}
#tbg-custom-header .sub-menu{
  background:#0a1e42!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:10px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.28)!important;
}
#tbg-custom-header .sub-menu a{
  color:#fff!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:600!important;
}
#tbg-custom-header .sub-menu a:hover{
  background:rgba(255,255,255,.08)!important;
  color:#8edfc8!important;
}
#tbg-custom-header .tbg-menu-toggle{
  border-color:rgba(255,255,255,.18)!important;
  background:transparent!important;
}
#tbg-custom-header .tbg-menu-toggle>span:not(.screen-reader-text){background:#fff!important}

@media(max-width:900px){
  #tbg-custom-header .tbg-header-inner{min-height:74px!important;padding:0 18px!important}
  #tbg-custom-header .tbg-header-brand{width:auto!important;min-width:0!important;height:56px!important}
  #tbg-custom-header .tbg-header-brand img{height:46px!important;max-width:150px!important}
  #tbg-custom-header .tbg-primary-nav{background:#061735!important;border:1px solid rgba(255,255,255,.12)!important}
  #tbg-custom-header .tbg-menu>li>a,#tbg-custom-header .tbg-price-link{font-size:15px!important;color:#fff!important}
}

/* TBG unified product cards — image, title, SKU and price. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:10px 10px 16px!important;
  background:#fff;
  border:1px solid #edf0f3;
  border-radius:10px;
  box-shadow:0 3px 14px rgba(6,23,53,.06);
  text-align:center!important;
  overflow:hidden;
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  text-decoration:none!important;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img{
  width:100%!important;
  aspect-ratio:1/1;
  height:auto!important;
  margin:0 0 14px!important;
  padding:8px;
  object-fit:contain;
  background:#fff;
  border:1px solid #f0f2f4;
  border-radius:8px;
  box-shadow:0 2px 10px rgba(6,23,53,.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  min-height:3.2em;
  margin:0 4px 8px!important;
  padding:0!important;
  color:#4d5968!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.6!important;
  text-align:center!important;
}
.woocommerce ul.products li.product .tbg-loop-sku,
.woocommerce-page ul.products li.product .tbg-loop-sku{
  display:block;
  margin:0 4px 7px;
  color:#27313d;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif;
  font-size:14px;
  font-weight:400;
  line-height:1.8;
  direction:rtl;
  text-align:center;
}
.woocommerce ul.products li.product .tbg-loop-sku b,
.woocommerce-page ul.products li.product .tbg-loop-sku b{font-weight:500}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  display:block!important;
  margin:auto 4px 0!important;
  color:#b49200!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.8!important;
  text-align:center!important;
}
.woocommerce ul.products li.product .price del{color:#8a929b!important;font-size:.82em;opacity:.8}
.woocommerce ul.products li.product .price ins{color:#b49200!important;text-decoration:none!important}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button{display:none!important}
@media(max-width:767px){
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{padding:7px 7px 13px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.55!important}
  .woocommerce ul.products li.product .tbg-loop-sku,
  .woocommerce-page ul.products li.product .tbg-loop-sku{font-size:12.5px}
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price{font-size:15px!important}
}

/* TBG WooCommerce typography — global product experience. */
body.woocommerce,
body.woocommerce-page,
body.woocommerce .woocommerce,
body.woocommerce-page .woocommerce{
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  color:#26333f;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.single-product .product_title{
  color:#26333f!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:clamp(25px,2.4vw,36px)!important;
  font-weight:800!important;
  line-height:1.55!important;
  letter-spacing:-.45px;
}
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description p{
  color:#465463;
  font-size:16px!important;
  font-weight:400;
  line-height:2!important;
}
body.single-product .summary .price{
  color:#b49200!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:22px!important;
  font-weight:800!important;
}
body.single-product .product_meta,
body.single-product .product_meta a{
  color:#5b6875!important;
  font-size:14px!important;
  font-weight:500;
  line-height:2;
}
body.single-product .woocommerce-tabs .tabs a{
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:700!important;
}
body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li{
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  color:#354351;
  font-size:16px!important;
  font-weight:400;
  line-height:2.05!important;
}
body.single-product .woocommerce-Tabs-panel h2{
  margin-top:34px!important;
  margin-bottom:14px!important;
  color:#142b45!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:23px!important;
  font-weight:800!important;
  line-height:1.65!important;
  letter-spacing:-.25px;
}
body.single-product .woocommerce-Tabs-panel h3{
  margin-top:24px!important;
  margin-bottom:9px!important;
  color:#223c57!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.75!important;
}
body.single-product .woocommerce-Tabs-panel table{
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1.8!important;
}
body.single-product .woocommerce-Tabs-panel table th{
  color:#173653;
  font-weight:700!important;
}
body.single-product .woocommerce-Tabs-panel table td{
  color:#3c4a58;
  font-weight:400!important;
}
body.woocommerce .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce-breadcrumb,
body.woocommerce .woocommerce-result-count,
body.woocommerce-page .woocommerce-result-count,
body.woocommerce select,
body.woocommerce-page select{
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:500;
}
body.woocommerce .related.products>h2,
body.woocommerce .upsells.products>h2{
  color:#142b45!important;
  font-family:'Vazirmatn','IRANSansX',Tahoma,Arial,sans-serif!important;
  font-size:24px!important;
  font-weight:800!important;
  line-height:1.6!important;
}
@media(max-width:767px){
  body.single-product .product_title{font-size:24px!important;line-height:1.6!important}
  body.single-product .woocommerce-product-details__short-description,
  body.single-product .woocommerce-product-details__short-description p,
  body.single-product .woocommerce-Tabs-panel,
  body.single-product .woocommerce-Tabs-panel p,
  body.single-product .woocommerce-Tabs-panel li{font-size:14.5px!important;line-height:2!important}
  body.single-product .woocommerce-Tabs-panel h2{font-size:20px!important}
  body.single-product .woocommerce-Tabs-panel h3{font-size:16.5px!important}
  body.single-product .woocommerce-Tabs-panel table{font-size:13.5px!important}
  body.woocommerce .related.products>h2,
  body.woocommerce .upsells.products>h2{font-size:21px!important}
}
