/* ==========================================================================
 * Single Product Tabs / Reviews
 * Purpose: tabs UI + panel typography + reviews form/list
 * ========================================================================== */

body.single-product.woocommerce .mj-product__below .woocommerce-tabs{
  margin-top:10px;
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs::before,
body.single-product.woocommerce .woocommerce-tabs ul.tabs::after,
body.single-product.woocommerce .woocommerce-tabs ul.tabs li::before,
body.single-product.woocommerce .woocommerce-tabs ul.tabs li::after{
  display:none !important;
  content:none !important;
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs{
  list-style:none;
  padding:0;
  margin:0 0 14px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs li{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs li a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  min-width:132px;
  box-sizing:border-box;
  text-decoration:none !important;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;

  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  opacity:0.92;

  transition:transform 120ms ease, background 120ms ease, border-color 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs li a:hover{
  opacity:1;
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.18);
  transform:translateY(-1px);
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs li.active a{
  opacity:1;
  background:rgba(255,255,255,0.10);
  border-color:rgba(255,255,255,0.26);
  box-shadow:0 0 0 2px rgba(255,255,255,0.06);
}

body.single-product.woocommerce .woocommerce-tabs .panel{
  margin:0;
  padding:18px 18px;
  border-radius:18px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  line-height:1.85;
}

/* Headings */
body.single-product.woocommerce .woocommerce-tabs .panel h2{
  margin:0 0 10px;
  line-height:1.25;
  letter-spacing:0.01em;
}

body.single-product.woocommerce .woocommerce-tabs .panel h3{
  margin:18px 0 10px;
  line-height:1.25;
  letter-spacing:0.01em;
}

body.single-product.woocommerce .woocommerce-tabs .panel h4{
  margin:16px 0 8px;
  line-height:1.25;
  letter-spacing:0.01em;
  opacity:0.98;
}

/* Paragraph spacing */
body.single-product.woocommerce .woocommerce-tabs .panel p{
  margin:0 0 12px;
  opacity:0.96;
}
body.single-product.woocommerce .woocommerce-tabs .panel p:last-child{ margin-bottom:0; }

/* Lists */
body.single-product.woocommerce .woocommerce-tabs .panel ul,
body.single-product.woocommerce .woocommerce-tabs .panel ol{
  margin:10px 0 14px 18px;
  padding:0;
}
body.single-product.woocommerce .woocommerce-tabs .panel li{ margin:6px 0; }

/* Blockquote */
body.single-product.woocommerce .woocommerce-tabs .panel blockquote{
  margin:14px 0;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
}

/* Tables */
body.single-product.woocommerce .woocommerce-tabs .panel table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:12px 0 8px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.02);
}

body.single-product.woocommerce .woocommerce-tabs .panel table th,
body.single-product.woocommerce .woocommerce-tabs .panel table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  vertical-align:top;
}

body.single-product.woocommerce .woocommerce-tabs .panel table tr:last-child th,
body.single-product.woocommerce .woocommerce-tabs .panel table tr:last-child td{
  border-bottom:0;
}

body.single-product.woocommerce .woocommerce-tabs .panel table th{
  width:34%;
  opacity:0.85;
  font-weight:700;
}

/* Reviews */
body.single-product.woocommerce #reviews #comments ol.commentlist{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}

body.single-product.woocommerce #reviews #comments ol.commentlist li{
  margin:0;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
}

body.single-product.woocommerce #reviews #comments .comment-text{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* Review form */
body.single-product.woocommerce #review_form_wrapper{ margin-top:14px; }

body.single-product.woocommerce #review_form{
  padding:14px 14px;
  border-radius:16px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
}

body.single-product.woocommerce #review_form input[type="text"],
body.single-product.woocommerce #review_form input[type="email"],
body.single-product.woocommerce #review_form textarea{
  width:100%;
  border-radius:12px;
  padding:10px 12px;
  box-sizing:border-box;
}

/* Mobile adjustments for tabs */
@media (max-width: 860px){

  body.single-product.woocommerce .woocommerce-tabs ul.tabs{ gap:10px; }

  body.single-product.woocommerce .woocommerce-tabs ul.tabs li a{
    height:46px;
    min-height:46px;
    min-width:140px;
    padding:0 16px;
  }

  body.single-product.woocommerce .woocommerce-tabs .panel{ padding:14px 14px; }

  body.single-product.woocommerce .woocommerce-tabs .panel table th{ width:40%; }
}
