/*
 * BLANA.RO / Goya product details: accessible, compact native WooCommerce tabs.
 * Activation class is JS-added. With JS unavailable, original stacked content
 * remains visible and operable.
 */
body.single-product .woocommerce-tabs.fortin-tabs-enhanced{
  margin:26px 0 30px!important;
  padding:25px 0 17px;
  border-top:1px solid #e9e4de;
  border-bottom:1px solid #e9e4de;
  background:#fff;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container,
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .woocommerce-Tabs-panel > .container{
  max-width:1180px;
  box-sizing:border-box;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container > .row{
  margin-bottom:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container .tabs.wc-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch;
  justify-content:flex-start;
  height:auto!important;
  min-height:46px;
  margin:0 0 13px!important;
  padding:0!important;
  list-style:none!important;
  border-bottom:1px solid #e5ddd4;
  gap:3px 24px;
  position:static!important;
  overflow:visible;
  visibility:visible!important;
  box-sizing:border-box;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container .tabs.wc-tabs > li{
  float:none!important;
  display:flex!important;
  flex:0 0 auto;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  position:relative!important;
  background:transparent!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container .tabs.wc-tabs > li::before,
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container .tabs.wc-tabs > li::after{
  content:none!important;
  display:none!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs a[role="tab"]{
  display:inline-flex!important;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  color:#62584c!important;
  font-size:13px!important;
  font-weight:550!important;
  line-height:1.4!important;
  text-transform:none!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  white-space:nowrap;
  min-height:45px;
  padding:10px 3px 12px!important;
  margin:0!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  cursor:pointer;
  outline-offset:3px;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs a[role="tab"] span[hidden]{display:none!important}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs .fortin-tab-count{font-size:11px!important;color:#847563!important;margin-left:4px!important}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs li.fortin-tab-selected a[role="tab"]{
  color:#322b24!important;
  border-bottom-color:#856743!important;
  font-weight:700!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs a[role="tab"]:hover{
  color:#3c3025!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs a[role="tab"]:focus-visible{
  outline:2px solid #8b6d48!important;
  outline-offset:2px;
  border-radius:2px;
}
/* Goya sets display:block!important for all panels; override with a higher-specificity rule. */
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .woocommerce-Tabs-panel{
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .woocommerce-Tabs-panel.fortin-tab-active:not([hidden]){
  display:block!important;
  min-height:45px;
  margin:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .woocommerce-Tabs-panel[hidden]{
  display:none!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tab-panel-inner{
  padding-top:0!important;
  padding-bottom:2px!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tab-panel-inner > h2,
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #comments > h2.woocommerce-Reviews-title{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-description .description-inner{
  margin:0!important;
  padding:6px 0 4px!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-description .description-inner > :first-child{
  margin-top:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-description .description-inner > :last-child{
  margin-bottom:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-description .description-inner p{
  font-size:13px!important;
  color:#554d45;
  line-height:1.65!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes{
  max-width:820px!important;
  border:0!important;
  border-collapse:collapse!important;
  margin:0!important;
  width:100%!important;
  background:transparent!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes tr{
  border-bottom:1px solid #f0eae3!important;
  background:transparent!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes tr:last-child{
  border-bottom:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes th,
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes td{
  font-size:12px!important;
  line-height:1.45!important;
  vertical-align:middle!important;
  border:0!important;
  background:transparent!important;
  padding:7px 12px!important;
  color:#554b41!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes th{
  width:35%;
  font-weight:650!important;
  color:#625549!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes td p{
  margin:0!important;
  padding:0!important;
  line-height:1.4!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes td a{
  color:#4e4439!important;
  border-bottom:1px solid #d1c5b5;
  text-decoration:none!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-reviews #reviews{
  max-width:950px;
  padding:7px 0 3px;
  margin:0;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-reviews .woocommerce-noreviews{
  margin:0 0 14px!important;
  color:#62594e!important;
  font-size:13px!important;
  line-height:1.6;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-reviews #review_form_wrapper{
  margin:0!important;
  padding:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-reviews .comment-reply-title{
  font-size:13px!important;
  color:#3e352b!important;
  margin:0!important;
}
body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-reviews .comment-form{
  margin-top:10px!important;
}
@media(max-width:767px){
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced{
    margin:21px 0 25px!important;
    padding:19px 0 13px!important;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container,
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .woocommerce-Tabs-panel > .container{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced .row{
    margin-left:-7px!important;
    margin-right:-7px!important;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced .col,
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced .col-12{
    padding-left:7px!important;
    padding-right:7px!important;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced > .container .tabs.wc-tabs{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    width:100%!important;
    gap:18px;
    margin-bottom:12px!important;
    min-height:44px!important;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs a[role="tab"]{
    font-size:12px!important;
    min-height:43px;
    padding:9px 0 11px!important;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes th,
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes td{
    padding:8px 5px!important;
    font-size:12px!important;
    overflow-wrap:anywhere;
  }
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced #tab-additional_information table.shop_attributes th{
    width:42%;
  }
}
@media(prefers-reduced-motion:reduce){
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced .tabs.wc-tabs{scroll-behavior:auto}
}


/* Fortin MG polish: no full-width separator lines around compact tabs. */
body.single-product .woocommerce-tabs.fortin-tabs-enhanced{
  border:0!important;
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  margin-top:18px!important;
  margin-bottom:18px!important;
  padding-top:14px!important;
  padding-bottom:11px!important;
}
@media(max-width:767px){
  body.single-product .woocommerce-tabs.fortin-tabs-enhanced{
    margin-top:14px!important;
    margin-bottom:15px!important;
    padding-top:11px!important;
    padding-bottom:9px!important;
  }
}
