
/* =========================================================
   Mana Telugu Foods — Product Details Final UI
   Scoped to .mtf-product-tabs only. No background images.
   Primary accent: #FFC222. Green is intentionally minimal.
   ========================================================= */
.mtf-product-tabs{--mtf-pd-yellow:#FFC222;--mtf-pd-ink:#10203a;--mtf-pd-muted:#667085;--mtf-pd-border:#e9e3d8;--mtf-pd-cream:#fffaf0;--mtf-pd-white:#fff;}
.mtf-product-tabs{margin-top:34px!important;}
.mtf-product-tabs .mtf-tabs-heading{text-align:center;margin:0 auto 24px;max-width:850px;}
.mtf-product-tabs .mtf-tabs-eyebrow{display:block;color:#a86e00;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;margin-bottom:8px;}
.mtf-product-tabs .mtf-tabs-heading h2{color:var(--mtf-pd-ink)!important;font-size:32px!important;font-weight:800!important;line-height:1.2;margin:0!important;}
.mtf-product-tabs .mtf-tabs-heading p{color:var(--mtf-pd-muted)!important;font-size:15px;margin:9px 0 0!important;}
.mtf-product-tabs .mtf-detail-tab-nav{display:flex;justify-content:center;gap:10px;border:0!important;margin:0 auto!important;padding:0!important;max-width:760px;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-item{flex:1;max-width:380px;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link{width:100%;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--mtf-pd-border)!important;border-radius:14px!important;background:#fff!important;color:var(--mtf-pd-ink)!important;padding:13px 16px!important;box-shadow:0 4px 16px rgba(40,30,10,.035);transition:.2s ease;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link:hover{border-color:var(--mtf-pd-yellow)!important;transform:translateY(-1px);}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link.active{background:var(--mtf-pd-yellow)!important;border-color:var(--mtf-pd-yellow)!important;color:#171717!important;box-shadow:0 7px 18px rgba(190,135,0,.14)!important;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link span{font-size:16px;font-weight:800;line-height:1.2;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link small{font-size:12px;font-weight:600;color:#737373;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link.active small{color:#4b3a00;}
.mtf-product-tabs .mtf-review-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:50px;background:#171717;color:#fff;font-size:11px;margin-left:5px;vertical-align:middle;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link.active .mtf-review-tab-count{background:#fff;color:#171717;}
.mtf-product-tabs .mtf-detail-tab-content{margin-top:18px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.mtf-product-tabs .mtf-description-panel{color:#4f5968!important;font-size:15px;line-height:1.8;background:#fff;border:1px solid var(--mtf-pd-border);border-radius:18px;padding:30px 36px!important;box-shadow:0 8px 28px rgba(40,30,10,.045);}
.mtf-product-tabs .mtf-description-panel h2,.mtf-product-tabs .mtf-description-panel h3,.mtf-product-tabs .mtf-description-panel h4{color:#17243d!important;font-weight:800;margin:0 0 18px;}
.mtf-product-tabs .mtf-description-panel ul{list-style:none;padding:0;margin:0;display:grid;gap:13px;}
.mtf-product-tabs .mtf-description-panel li{margin:0;padding:11px 14px;border:1px solid #f0eadf;border-radius:10px;background:#fffdf8;}
.mtf-product-tabs .mtf-description-panel li::before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;margin-right:9px;border-radius:50%;background:#fff1c7;color:#a86e00;font-weight:800;}
.mtf-product-tabs .mtf-description-panel img{max-width:100%;height:auto;border-radius:14px;}
.mtf-product-tabs .mtf-reviews-panel{background:#fff!important;border:1px solid var(--mtf-pd-border)!important;border-radius:18px!important;padding:24px!important;margin:0!important;color:#344054!important;box-shadow:0 8px 28px rgba(40,30,10,.045)!important;}
.mtf-product-tabs .mtf-review-summary{display:grid;grid-template-columns:190px 1fr auto;gap:26px;align-items:center;padding:4px 0 22px;border-bottom:1px solid #eee8dd;}
.mtf-product-tabs .mtf-review-score-card{border:1px solid #eee5d6;background:var(--mtf-pd-cream);border-radius:14px;padding:18px;text-align:center;}
.mtf-product-tabs .mtf-review-score-card strong{display:block;font-size:42px;line-height:1;color:#17243d;font-weight:800;}
.mtf-product-tabs .mtf-review-stars{color:var(--mtf-pd-yellow);font-size:19px;letter-spacing:1px;margin:8px 0 5px;}
.mtf-product-tabs .mtf-review-score-card small{color:#667085;font-size:12px;}
.mtf-product-tabs .mtf-review-breakdown{display:grid;gap:7px;max-width:430px;}
.mtf-product-tabs .mtf-rating-row{display:grid;grid-template-columns:34px 1fr 24px;align-items:center;gap:8px;font-size:12px;color:#667085;}
.mtf-product-tabs .mtf-rating-row i{display:block;height:7px;background:#eee;border-radius:99px;overflow:hidden;}
.mtf-product-tabs .mtf-rating-row i b{display:block;height:100%;background:var(--mtf-pd-yellow);border-radius:99px;}
.mtf-product-tabs .mtf-rating-row em{font-style:normal;text-align:right;color:#667085;}
.mtf-product-tabs .mtf-write-review-btn{border:0;background:var(--mtf-pd-yellow);color:#171717;border-radius:10px;padding:12px 18px;font-weight:800;white-space:nowrap;cursor:pointer;}
.mtf-product-tabs .mtf-review-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:18px 0;}
.mtf-product-tabs .mtf-review-filters::-webkit-scrollbar{display:none;}
.mtf-product-tabs .mtf-review-filters button{flex:0 0 auto;border:1px solid var(--mtf-pd-border);background:#fff;color:#344054;border-radius:9px;padding:9px 13px;font-weight:700;font-size:12px;cursor:pointer;}
.mtf-product-tabs .mtf-review-filters button.is-active{background:var(--mtf-pd-yellow);border-color:var(--mtf-pd-yellow);color:#171717;}
.mtf-product-tabs .mtf-reviews-panel ol.commentlist{display:grid;gap:12px;list-style:none;margin:0!important;padding:0!important;}
.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review{background:#fff!important;border:1px solid #eee7dc!important;border-radius:13px!important;padding:18px!important;margin:0!important;box-shadow:none!important;}
.mtf-product-tabs .mtf-reviews-panel .comment-text{border:0!important;padding:0!important;margin:0!important;}
.mtf-product-tabs .mtf-reviews-panel .star-rating{color:var(--mtf-pd-yellow)!important;}
.mtf-product-tabs .mtf-reviews-panel .woocommerce-Reviews-title{font-size:20px;color:#17243d;margin:0 0 14px;}
.mtf-product-tabs .mtf-reviews-panel input,.mtf-product-tabs .mtf-reviews-panel textarea{border:1px solid #ddd8ce!important;border-radius:9px!important;background:#fff!important;}
.mtf-product-tabs .mtf-reviews-panel .form-submit .submit{background:var(--mtf-pd-yellow)!important;color:#171717!important;border:0!important;border-radius:9px!important;font-weight:800;padding:12px 22px!important;}
/* Explicitly remove any decorative background image from this section. */
.mtf-product-tabs,.mtf-product-tabs .mtf-detail-tab-content,.mtf-product-tabs .mtf-description-panel,.mtf-product-tabs .mtf-reviews-panel{background-image:none!important;}
@media(max-width:767px){
 .mtf-product-tabs{margin-top:24px!important;padding:0 8px;}
 .mtf-product-tabs .mtf-tabs-heading{margin-bottom:16px;}
 .mtf-product-tabs .mtf-tabs-heading h2{font-size:25px!important;}
 .mtf-product-tabs .mtf-tabs-heading p{font-size:13px!important;}
 .mtf-product-tabs .mtf-detail-tab-nav{gap:7px;}
 .mtf-product-tabs .mtf-detail-tab-nav .nav-link{min-height:58px;padding:9px 7px!important;border-radius:10px!important;}
 .mtf-product-tabs .mtf-detail-tab-nav .nav-link span{font-size:13px;}
 .mtf-product-tabs .mtf-detail-tab-nav .nav-link small{font-size:9px;}
 .mtf-product-tabs .mtf-detail-tab-content{margin-top:10px;}
 .mtf-product-tabs .mtf-description-panel{padding:18px!important;border-radius:13px;}
 .mtf-product-tabs .mtf-description-panel li{padding:9px 10px;font-size:13px;}
 .mtf-product-tabs .mtf-review-summary{grid-template-columns:1fr;gap:12px;padding-bottom:15px;}
 .mtf-product-tabs .mtf-review-score-card{padding:14px;}
 .mtf-product-tabs .mtf-review-score-card strong{font-size:34px;}
 .mtf-product-tabs .mtf-review-breakdown{max-width:none;}
 .mtf-product-tabs .mtf-write-review-btn{width:100%;}
 .mtf-product-tabs .mtf-reviews-panel{padding:14px!important;border-radius:13px!important;}
 .mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review{padding:14px!important;border-radius:11px!important;}
}


/* Final review card refinement — keeps the existing product description/content unchanged. */
.mtf-product-tabs .mtf-reviews-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:20px 0 12px;border-top:1px solid #eee8dd;margin-top:4px;}
.mtf-product-tabs .mtf-reviews-list-eyebrow{display:block;color:#9a6b00;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800;margin-bottom:3px;}
.mtf-product-tabs .mtf-reviews-list-heading h3{margin:0!important;color:#17243d!important;font-size:22px!important;line-height:1.2!important;font-weight:800!important;}
.mtf-product-tabs .mtf-reviews-list-count{font-size:13px;color:#667085;font-weight:600;white-space:nowrap;}
/* WooCommerce's default heading duplicates the custom heading above. */
.mtf-product-tabs .mtf-reviews-panel .woocommerce-Reviews-title{display:none!important;}
.mtf-product-tabs .mtf-reviews-panel #comments{margin:0!important;padding:0!important;}
.mtf-product-tabs .mtf-reviews-panel ol.commentlist{gap:14px!important;}
.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review{padding:20px 22px!important;border:1px solid #e9e1d5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(38,28,12,.045)!important;}
.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment_container{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;}
.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment_container > img.avatar{width:48px!important;height:48px!important;border-radius:50%!important;border:1px solid #eee5d8!important;background:#f8f4ec!important;padding:2px!important;object-fit:cover;}
.mtf-product-tabs .mtf-reviews-panel .comment-text{position:relative!important;min-width:0!important;}
.mtf-product-tabs .mtf-reviews-panel .comment-text .star-rating{float:none!important;position:absolute;top:0;right:0;margin:0!important;color:#FFC222!important;font-size:16px!important;width:6em!important;}
.mtf-product-tabs .mtf-reviews-panel .comment-text .meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;margin:0 7.5em 8px 0!important;padding:0!important;line-height:1.35;}
.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__author{font-size:15px;color:#17243d;font-weight:800;}
.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__verified{font-size:11px!important;color:#138a4b!important;font-weight:700!important;}
.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__dash{color:#b0b5bd;font-size:12px;}
.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__published-date{font-size:12px!important;color:#7b8492!important;}
.mtf-product-tabs .mtf-reviews-panel .description{margin:0!important;padding:0!important;}
.mtf-product-tabs .mtf-reviews-panel .description p{margin:0!important;color:#475467!important;font-size:14px!important;line-height:1.65!important;}
.mtf-product-tabs .mtf-reviews-panel .description p:last-child{margin-bottom:0!important;}
.mtf-product-tabs .mtf-reviews-panel #review_form_wrapper{margin-top:20px;padding-top:20px;border-top:1px solid #eee8dd;}
.mtf-product-tabs .mtf-reviews-panel #reply-title{font-size:20px;color:#17243d;font-weight:800;}
@media(max-width:767px){
 .mtf-product-tabs .mtf-reviews-list-heading{align-items:center;padding:15px 0 10px;}
 .mtf-product-tabs .mtf-reviews-list-heading h3{font-size:18px!important;}
 .mtf-product-tabs .mtf-reviews-list-count{font-size:12px;}
 .mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review{padding:15px!important;border-radius:13px!important;}
 .mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment_container{grid-template-columns:40px minmax(0,1fr);gap:10px;}
 .mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment_container > img.avatar{width:40px!important;height:40px!important;}
 .mtf-product-tabs .mtf-reviews-panel .comment-text .star-rating{position:static!important;margin:0 0 5px!important;font-size:14px!important;}
 .mtf-product-tabs .mtf-reviews-panel .comment-text .meta{margin:0 0 7px!important;gap:3px 6px;}
 .mtf-product-tabs .mtf-reviews-panel .woocommerce-review__author{font-size:14px;}
 .mtf-product-tabs .mtf-reviews-panel .description p{font-size:13px!important;line-height:1.55!important;}
}

/* ========================================================================
   MTF SINGLE PRODUCT — DESKTOP PURCHASE WIDTH + ATTACHED-STYLE TABS
   Requested refinements: reduce the selected/purchase block to 50% on
   desktop and restyle Description / Reviews tabs like the attached
   compact segmented navigation reference.
   ======================================================================== */
@media (min-width:992px){
  .mtf-single-product .mtf-add-to-cart .mtf-product-purchase{
    width:50%!important;
    max-width:50%!important;
  }
}

.mtf-product-tabs .mtf-detail-tab-nav{
  width:100%!important;
  max-width:640px!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:0!important;
  margin:0 auto!important;
  padding:4px!important;
  border:1px solid #eee8df!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 4px 18px rgba(36,28,16,.06)!important;
  overflow:hidden!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-item{
  flex:1 1 0!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link{
  position:relative!important;
  width:100%!important;
  min-height:56px!important;
  height:56px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#8a8f98!important;
  padding:0 16px!important;
  box-shadow:none!important;
  transform:none!important;
  transition:color .2s ease,background .2s ease!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link span{
  font-size:15px!important;
  line-height:1!important;
  font-weight:700!important;
  color:inherit!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link small{display:none!important;}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link:hover{
  border:0!important;
  background:#fffaf0!important;
  color:#171717!important;
  transform:none!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link.active{
  background:#fff!important;
  border:0!important;
  color:#171717!important;
  box-shadow:none!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link.active::after{
  content:"";
  position:absolute;
  left:22%;
  right:22%;
  bottom:2px;
  height:3px;
  border-radius:999px;
  background:#FFC222;
}
.mtf-product-tabs .mtf-detail-tab-nav .mtf-review-tab-count{
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  margin-left:6px!important;
  border-radius:999px!important;
  background:#f1f1f1!important;
  color:#666!important;
  font-size:10px!important;
  font-weight:700!important;
}
.mtf-product-tabs .mtf-detail-tab-nav .nav-link.active .mtf-review-tab-count{
  background:#fff1bf!important;
  color:#6b4b00!important;
}
@media(max-width:767px){
  .mtf-product-tabs .mtf-detail-tab-nav{
    max-width:none!important;
    border-radius:12px!important;
    padding:4px!important;
  }
  .mtf-product-tabs .mtf-detail-tab-nav .nav-link{
    min-height:52px!important;
    height:52px!important;
    padding:0 10px!important;
  }
  .mtf-product-tabs .mtf-detail-tab-nav .nav-link span{font-size:13px!important;}
  .mtf-product-tabs .mtf-detail-tab-nav .nav-link.active::after{
    left:18%; right:18%; bottom:2px; height:2.5px;
  }
}

/* =========================================================
   Final review-card cleanup — Mana Telugu Foods theme
   Hide the default avatar / verified-owner badge that was
   colliding with the reviewer text, and restyle the card.
   ========================================================= */
.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review{
  position:relative!important;
  padding:18px 20px!important;
  margin:0!important;
  border:1px solid #e9e3d8!important;
  border-left:3px solid #FFC222!important;
  border-radius:14px!important;
  background:#fffdf8!important;
  box-shadow:0 4px 14px rgba(38,28,12,.045)!important;
}

/* Remove the broken/default WooCommerce reviewer avatar. */
.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment_container > img.avatar{
  display:none!important;
}

.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment_container{
  display:block!important;
  margin:0!important;
  padding:0!important;
}

.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review .comment-text{
  position:relative!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* Keep stars visible and neatly aligned in the review header. */
.mtf-product-tabs .mtf-reviews-panel .comment-text .star-rating{
  float:none!important;
  position:absolute!important;
  top:0!important;
  right:0!important;
  width:5.8em!important;
  margin:0!important;
  color:#FFC222!important;
  font-size:14px!important;
}

/* Reviewer name/date only — verified-owner text and separator are removed. */
.mtf-product-tabs .mtf-reviews-panel .comment-text .meta{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:0 6.5em 10px 0!important;
  padding:0!important;
  min-height:24px!important;
  line-height:1.35!important;
}

.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__author{
  display:inline-block!important;
  color:#17243d!important;
  font-size:15px!important;
  font-weight:800!important;
  margin:0!important;
}

.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__verified,
.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__dash{
  display:none!important;
}

.mtf-product-tabs .mtf-reviews-panel .woocommerce-review__published-date{
  color:#7b8492!important;
  font-size:12px!important;
  font-weight:500!important;
  margin:0!important;
}

.mtf-product-tabs .mtf-reviews-panel .description,
.mtf-product-tabs .mtf-reviews-panel .description p{
  margin:0!important;
  padding:0!important;
}

.mtf-product-tabs .mtf-reviews-panel .description p{
  color:#475467!important;
  font-size:14px!important;
  line-height:1.65!important;
}

@media(max-width:767px){
  .mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review{
    padding:15px 14px!important;
    border-radius:12px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel .comment-text .star-rating{
    position:static!important;
    width:5.8em!important;
    margin:0 0 6px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel .comment-text .meta{
    margin:0 0 8px!important;
    min-height:0!important;
  }
  .mtf-product-tabs .mtf-reviews-panel .woocommerce-review__author{
    font-size:14px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel .description p{
    font-size:13px!important;
    line-height:1.6!important;
  }
}

/* ========================================================================
   REVIEW SECTION — final cleanup
   Remove rating filter chips and use a clean, stable Mana Telugu Foods
   review card. Write a Review remains available.
   ======================================================================== */
.mtf-product-tabs .mtf-review-filters{display:none!important;}

.mtf-product-tabs .mtf-reviews-panel ol.commentlist{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}

.mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review.mtf-review-item{
  position:relative!important;
  display:block!important;
  margin:0!important;
  padding:16px 18px 17px!important;
  border:1px solid #e9e2d6!important;
  border-left:3px solid #FFC222!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(38,28,12,.04)!important;
  overflow:hidden!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .comment_container{
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .comment-text{
  display:block!important;
  position:static!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-width:0!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 7px!important;
  min-height:22px!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-rating{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-rating .star-rating{
  float:none!important;
  position:static!important;
  display:block!important;
  width:5.35em!important;
  height:1em!important;
  margin:0!important;
  font-size:15px!important;
  line-height:1!important;
  color:#FFC222!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-rating .star-rating::before{
  color:#d8dee7!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-rating .star-rating span::before{
  color:#FFC222!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-date{
  flex:0 0 auto!important;
  color:#7b8492!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-author{
  margin:0 0 8px!important;
  line-height:1.3!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-author strong{
  display:inline-block!important;
  color:#17243d!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.35!important;
  margin:0!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-description,
.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-description p{
  margin:0!important;
  padding:0!important;
  color:#475467!important;
  font-size:14px!important;
  line-height:1.6!important;
}

.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-pending{
  margin:0!important;
  padding:8px 10px!important;
  border-radius:8px!important;
  background:#fff7dc!important;
  color:#7b5a00!important;
  font-size:13px!important;
}

@media (max-width:767px){
  .mtf-product-tabs .mtf-reviews-panel ol.commentlist li.review.mtf-review-item{
    padding:14px 13px 15px!important;
    border-radius:12px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-top{
    align-items:flex-start!important;
    gap:8px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-date{
    font-size:11px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-author strong{
    font-size:14px!important;
  }
  .mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-description,
  .mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-card-description p{
    font-size:13px!important;
    line-height:1.55!important;
  }
}

/* Reset stale review-card declarations from earlier revisions. */
.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .comment-text .meta,
.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .woocommerce-review__verified,
.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .woocommerce-review__dash,
.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .comment_container > img.avatar{
  display:none!important;
}

/* Final stable review stars — plain text stars prevent theme pseudo-element collisions. */
.mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-stars{
  display:inline-block!important;
  color:#FFC222!important;
  font-size:16px!important;
  font-weight:700!important;
  letter-spacing:1px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

@media(max-width:767px){
  .mtf-product-tabs .mtf-reviews-panel li.mtf-review-item .mtf-review-stars{
    font-size:15px!important;
  }
}

/* ========================================================================
   FINAL PRODUCT DETAILS CLEANUP
   - Remove the rating breakdown bars; keep only the overall rating summary.
   - Keep Write a Review.
   - Short description is plain/inherited: no card background or accent border.
   - Product Description is admin-driven: do not impose theme typography or
     decorative styles on the content saved in the WordPress product editor.
   ======================================================================== */

.mtf-product-tabs .mtf-review-summary{
  grid-template-columns:190px auto!important;
  justify-content:start!important;
  align-items:center!important;
  gap:26px!important;
}
.mtf-product-tabs .mtf-review-summary .mtf-review-score-card{
  width:100%!important;
  max-width:190px!important;
}

.mtf-single-product .mtf-single-short-description{
  display:block!important;
  margin:0 0 14px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
.mtf-single-product .mtf-single-short-description p{
  margin:0 0 10px!important;
  padding:0!important;
}

/* Description wrapper only. No font/color/heading/list/image styling is imposed here,
   so HTML/inline formatting entered from the Product Description editor remains the
   source of truth. */
.mtf-product-tabs .mtf-admin-description{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:inherit!important;
  font-size:inherit!important;
  font-family:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
}
.mtf-product-tabs .mtf-admin-description::before,
.mtf-product-tabs .mtf-admin-description::after{
  display:none!important;
  content:none!important;
}
/* Undo only the older theme rules that directly targeted the description panel. */
.mtf-product-tabs .mtf-admin-description h1,
.mtf-product-tabs .mtf-admin-description h2,
.mtf-product-tabs .mtf-admin-description h3,
.mtf-product-tabs .mtf-admin-description h4,
.mtf-product-tabs .mtf-admin-description h5,
.mtf-product-tabs .mtf-admin-description h6,
.mtf-product-tabs .mtf-admin-description p,
.mtf-product-tabs .mtf-admin-description ul,
.mtf-product-tabs .mtf-admin-description ol,
.mtf-product-tabs .mtf-admin-description li,
.mtf-product-tabs .mtf-admin-description img{
  /* intentionally no theme typography/decorative declarations */
}
.mtf-product-tabs .mtf-admin-description ul,
.mtf-product-tabs .mtf-admin-description ol{
  list-style:revert;
  padding-left:revert;
  margin-block-start:revert;
  margin-block-end:revert;
}
.mtf-product-tabs .mtf-admin-description li{
  margin-block:revert;
  padding:revert;
  border:revert;
  border-radius:revert;
  background:revert;
}
.mtf-product-tabs .mtf-admin-description li::before,
.mtf-product-tabs .mtf-admin-description li::after{
  content:revert;
  display:revert;
}
.mtf-product-tabs .mtf-admin-description img{
  max-width:100%;
  height:auto;
  border-radius:revert;
}

@media(max-width:767px){
  .mtf-product-tabs .mtf-review-summary{
    grid-template-columns:1fr!important;
    justify-items:stretch!important;
    gap:12px!important;
  }
  .mtf-product-tabs .mtf-review-summary .mtf-review-score-card{
    max-width:none!important;
  }
  .mtf-product-tabs .mtf-write-review-btn{
    width:100%!important;
  }
  .mtf-product-tabs .mtf-admin-description{
    padding:0!important;
  }
}
