/* KriyaLuxe V10.5: Product tab visibility + premium catalog sorting. */
/* Override WooCommerce's high-specificity active tab background and inherited link styling. */
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li[aria-selected="true"],
body.single-product div.product .woocommerce-tabs ul.tabs li.active,
body.single-product div.product .woocommerce-tabs ul.tabs li[aria-selected="true"],
body.single-product .woocommerce-tabs ul.tabs li.active,
body.single-product .woocommerce-tabs ul.tabs li[aria-selected="true"] {
  background:#25211f !important;
  background-color:#25211f !important;
  border-color:#25211f !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li[aria-selected="true"] a,
body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li[aria-selected="true"] a,
body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li[aria-selected="true"] a {
  color:#fff !important;
  background:#25211f !important;
  background-color:#25211f !important;
  border-radius:9px !important;
  opacity:1 !important;
  text-shadow:none !important;
  -webkit-text-fill-color:#fff !important;
}
body.single-product .woocommerce-tabs ul.tabs li:not(.active):not([aria-selected="true"]) a {
  color:#4c4139 !important;
  -webkit-text-fill-color:#4c4139 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a:focus-visible {
  outline:3px solid #b48d57 !important;
  outline-offset:3px !important;
}
/* Retain native WooCommerce sorting form and select behavior. */
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 !important;
  display:block !important;
  margin:0 0 24px !important;
  position:relative;
  width:min(100%,275px);
  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,
body.woocommerce-shop select.orderby,
body.post-type-archive-product select.orderby,
body.tax-product_cat select.orderby,
body.tax-product_tag select.orderby {
  box-sizing:border-box !important;
  display:block !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  width:100% !important;
  max-width:100% !important;
  min-height:52px !important;
  padding:12px 48px 12px 18px !important;
  border:1px solid #ddd3c6 !important;
  border-radius:12px !important;
  background-color:#faf8f5 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23544535' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 15px center !important;
  background-size:18px 18px !important;
  box-shadow:0 2px 9px rgba(39,29,20,.03) !important;
  color:#292522 !important;
  font:600 14px/1.35 Arial,sans-serif !important;
  cursor:pointer !important;
  text-overflow:ellipsis;
}
body.woocommerce-shop select.orderby:hover,
body.post-type-archive-product select.orderby:hover,
body.tax-product_cat select.orderby:hover,
body.tax-product_tag select.orderby:hover {border-color:#b28d59 !important;background-color:#fff !important;}
body.woocommerce-shop select.orderby:focus-visible,
body.post-type-archive-product select.orderby:focus-visible,
body.tax-product_cat select.orderby:focus-visible,
body.tax-product_tag select.orderby:focus-visible {outline:3px solid rgba(178,141,89,.32) !important;outline-offset:2px !important;}
@media(max-width:767px) {
 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 !important; width:100%; margin:12px 0 20px !important;}
 body.woocommerce-shop select.orderby,
 body.post-type-archive-product select.orderby,
 body.tax-product_cat select.orderby,
 body.tax-product_tag select.orderby {min-height:48px !important; font-size:14px !important;}
}
