.elementor-273 .elementor-element.elementor-element-b623f6f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-273 .elementor-element.elementor-element-b4ebfb8{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-273 .elementor-element.elementor-element-47db03d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-273 .elementor-element.elementor-element-eb8c7da{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-273 .elementor-element.elementor-element-ab96f1e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:80px;--margin-bottom:80px;--margin-left:0px;--margin-right:0px;}@media(min-width:768px){.elementor-273 .elementor-element.elementor-element-b623f6f{--content-width:1440px;}.elementor-273 .elementor-element.elementor-element-b4ebfb8{--content-width:1440px;}.elementor-273 .elementor-element.elementor-element-47db03d{--width:50%;}.elementor-273 .elementor-element.elementor-element-eb8c7da{--width:50%;}}/* Start custom CSS for container, class: .elementor-element-ab96f1e */<div class="ef-product-tabs">

  <div class="ef-product-tabs-nav">
    <button class="ef-product-tab-btn is-active" type="button" data-tab="reviews">
      Reviews
    </button>

    <button class="ef-product-tab-btn" type="button" data-tab="product">
      Product
    </button>

    <button class="ef-product-tab-btn" type="button" data-tab="shipping">
      Shipping
    </button>

    <button class="ef-product-tab-btn" type="button" data-tab="returns">
      Returns
    </button>
  </div>


  <div class="ef-product-tabs-content">

    <div class="ef-product-tab-panel is-active" data-panel="reviews">
      [product_reviews_section]
    </div>

    <div class="ef-product-tab-panel" data-panel="product">
      [product_description_section]
    </div>

    <div class="ef-product-tab-panel" data-panel="shipping">
      [product_shipping_policy id="23"]
    </div>

    <div class="ef-product-tab-panel" data-panel="returns">
      [product_return_policy id="22"]
    </div>

  </div>

</div>


<style>

/* =========================================================
   ROOT COLORS
========================================================= */

.ef-product-tabs{

  --ef-bg:
    var(
      --wp--preset--color--base,
      #FFFFFF
    );

  --ef-soft-bg:
    var(
      --wp--preset--color--base-2,
      #F7F6F2
    );

  --ef-text:
    var(
      --wp--preset--color--contrast,
      #20242A
    );

  --ef-muted:
    var(
      --wp--preset--color--contrast-2,
      #596777
    );

  /* 强制雾霾蓝 */
  --ef-accent:#6F8196;

  /* 深一点的 Hover */
  --ef-accent-hover:#5D7087;

  --ef-accent-text:#FFFFFF;

  --ef-border:
    color-mix(
      in srgb,
      var(--ef-text) 18%,
      transparent
    );

  --ef-border-light:
    color-mix(
      in srgb,
      var(--ef-text) 10%,
      transparent
    );

  width:100%;
  max-width:100%;

  margin:0;
  padding:0;

  font-family:inherit;

  color:var(--ef-text);

  box-sizing:border-box;
}

.ef-product-tabs,
.ef-product-tabs *{
  box-sizing:border-box;
}


/* =========================================================
   TAB NAVIGATION
========================================================= */

.ef-product-tabs-nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;

  gap:8px;

  width:100%;

  margin:0 0 26px;
  padding:8px;

  border:1px solid var(--ef-border);

  background:var(--ef-soft-bg);

  overflow-x:auto;
  overflow-y:hidden;

  scrollbar-width:none;
  -ms-overflow-style:none;
}

.ef-product-tabs-nav::-webkit-scrollbar{
  display:none;
}


/* =========================================================
   TAB BUTTONS
========================================================= */

.ef-product-tab-btn{
  appearance:none;

  flex:0 0 auto;

  margin:0;
  padding:12px 22px;

  border:1px solid transparent;
  border-radius:0;

  background:transparent;

  color:var(--ef-text);

  font-family:inherit;
  font-size:14px;
  line-height:1;
  font-weight:500;

  letter-spacing:.02em;

  cursor:pointer;

  box-shadow:none;

  white-space:nowrap;

  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease;
}


/* 普通 Hover */

.ef-product-tab-btn:hover{
  background:var(--ef-bg);

  border-color:var(--ef-border);

  color:var(--ef-accent);
}


/* 当前选中 */

.ef-product-tab-btn.is-active{
  background:var(--ef-accent)!important;

  border-color:var(--ef-accent)!important;

  color:var(--ef-accent-text)!important;
}


/* 当前选中 Hover */

.ef-product-tab-btn.is-active:hover{
  background:var(--ef-accent-hover)!important;

  border-color:var(--ef-accent-hover)!important;

  color:#FFFFFF!important;
}


/* =========================================================
   CONTENT AREA
========================================================= */

.ef-product-tabs-content{
  width:100%;
  max-width:100%;

  margin:0;
  padding:30px 32px;

  border:1px solid var(--ef-border);

  background:var(--ef-bg);

  color:var(--ef-text);

  overflow:hidden;
}


/* =========================================================
   TAB PANEL
========================================================= */

.ef-product-tab-panel{
  display:none;

  width:100%;

  margin:0;
  padding:0;

  animation:efTabFade .25s ease;
}

.ef-product-tab-panel.is-active{
  display:block;
}


@keyframes efTabFade{

  from{
    opacity:0;
    transform:translateY(6px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}


/* =========================================================
   REMOVE FIRST SPACING
========================================================= */

.ef-product-tab-panel p:first-child,
.ef-product-tab-panel h1:first-child,
.ef-product-tab-panel h2:first-child,
.ef-product-tab-panel h3:first-child,
.ef-product-tab-panel h4:first-child,
.ef-product-tab-panel h5:first-child,
.ef-product-tab-panel h6:first-child{
  margin-top:0!important;
}


/* =========================================================
   SHORTCODE WRAPPERS
========================================================= */

.ef-product-tab-panel .ef-policy-block,
.ef-product-tab-panel .ef-product-reviews-section,
.ef-product-tab-panel .ef-product-description-section{
  width:100%;

  margin:0!important;
  padding:0!important;

  background:transparent!important;

  color:var(--ef-text)!important;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.ef-product-tab-panel .ef-policy-title,
.ef-product-tab-panel .ef-reviews-title,
.ef-product-tab-panel .ef-write-review-title,
.ef-product-tab-panel .ef-product-description-title{
  margin:0 0 18px!important;

  padding:0 0 12px!important;

  border-bottom:1px solid var(--ef-border-light);

  font-family:inherit;

  font-size:20px;
  line-height:1.35;
  font-weight:600;

  color:var(--ef-text)!important;

  background:transparent!important;
}


/* =========================================================
   NORMAL CONTENT
========================================================= */

.ef-product-tab-panel .ef-policy-content,
.ef-product-tab-panel .ef-product-description-content,
.ef-product-tab-panel .description,
.ef-product-tab-panel .ef-reviews-rating,
.ef-product-tab-panel .ef-reviews-count-only{
  font-family:inherit;

  font-size:14px;
  line-height:1.8;

  color:var(--ef-text)!important;
}


.ef-product-tab-panel .ef-policy-content p,
.ef-product-tab-panel .ef-product-description-content p,
.ef-product-tab-panel .ef-product-description-section p{
  margin:0 0 14px!important;

  font-family:inherit;

  font-size:14px;
  line-height:1.8;

  color:var(--ef-text)!important;

  background:transparent!important;
}


.ef-product-tab-panel .ef-policy-content ul,
.ef-product-tab-panel .ef-product-description-content ul{
  margin:0 0 16px 18px!important;

  padding:0!important;
}


.ef-product-tab-panel .ef-policy-content li,
.ef-product-tab-panel .ef-product-description-content li,
.ef-product-tab-panel .ef-product-description-section li{
  margin:0 0 8px!important;

  font-size:14px;
  line-height:1.75;

  color:var(--ef-text)!important;
}


/* =========================================================
   REVIEW SUMMARY
========================================================= */

.ef-product-tab-panel .ef-reviews-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:16px;

  margin:0 0 22px;

  padding:0 0 18px;

  border-bottom:1px solid var(--ef-border-light);
}


.ef-product-tab-panel .ef-reviews-title{
  margin:0!important;
  padding:0!important;

  border:0!important;
}


.ef-product-tab-panel .ef-reviews-rating{
  display:flex;
  align-items:center;

  gap:8px;

  padding:8px 12px;

  background:var(--ef-soft-bg)!important;

  border:1px solid var(--ef-border);

  color:var(--ef-text)!important;
}


.ef-product-tab-panel .ef-reviews-average{
  font-size:18px;
  line-height:1;
  font-weight:700;

  color:var(--ef-text)!important;
}


.ef-product-tab-panel .ef-reviews-count{
  font-size:13px;

  color:var(--ef-muted)!important;
}


/* =========================================================
   REVIEWS LIST
========================================================= */

.ef-product-tab-panel .ef-reviews-list{
  margin:0 0 30px;
  padding:0;
}


.ef-product-tab-panel .commentlist{
  list-style:none;

  margin:0;
  padding:0;
}


.ef-product-tab-panel .commentlist .review{
  list-style:none;

  margin:0 0 16px;

  padding:18px;

  border:1px solid var(--ef-border-light);

  background:var(--ef-soft-bg)!important;

  color:var(--ef-text)!important;
}


.ef-product-tab-panel .comment_container{
  margin:0;
  padding:0;
}


.ef-product-tab-panel .meta{
  margin:0 0 8px;

  font-size:13px;
  line-height:1.6;

  color:var(--ef-muted)!important;
}


.ef-product-tab-panel .description p{
  margin:0!important;

  font-size:14px;
  line-height:1.75;

  color:var(--ef-text)!important;
}


/* =========================================================
   NO REVIEWS
========================================================= */

.ef-product-tab-panel .ef-no-reviews{
  margin:0 0 24px!important;

  padding:18px;

  border:1px solid var(--ef-border-light);

  background:var(--ef-soft-bg)!important;

  font-size:14px;
  line-height:1.6;

  color:var(--ef-muted)!important;
}


/* =========================================================
   REVIEW FORM
========================================================= */

.ef-product-tab-panel .comment-form-author,
.ef-product-tab-panel .comment-form-email,
.ef-product-tab-panel .comment-form-rating,
.ef-product-tab-panel .comment-form-comment{
  margin:0 0 14px!important;
}


.ef-product-tab-panel .comment-form-author label,
.ef-product-tab-panel .comment-form-email label,
.ef-product-tab-panel .comment-form-rating label,
.ef-product-tab-panel .comment-form-comment label{
  color:var(--ef-text)!important;
}


/* =========================================================
   INPUTS
========================================================= */

.ef-product-tab-panel .comment-form-author input,
.ef-product-tab-panel .comment-form-email input,
.ef-product-tab-panel .comment-form-rating select,
.ef-product-tab-panel .comment-form-comment textarea{
  width:100%!important;

  max-width:100%!important;

  border:1px solid var(--ef-border)!important;

  background:var(--ef-bg)!important;

  color:var(--ef-text)!important;

  font-size:14px!important;
  line-height:1.5!important;

  padding:13px 14px!important;

  box-sizing:border-box!important;

  border-radius:0!important;

  font-family:inherit!important;

  box-shadow:none!important;

  outline:none!important;

  transition:
    border-color .2s ease,
    box-shadow .2s ease!important;
}


/* PLACEHOLDER */

.ef-product-tab-panel .comment-form-author input::placeholder,
.ef-product-tab-panel .comment-form-email input::placeholder,
.ef-product-tab-panel .comment-form-comment textarea::placeholder{
  color:var(--ef-muted)!important;

  opacity:.7;
}


/* TEXTAREA */

.ef-product-tab-panel .comment-form-comment textarea{
  min-height:140px;

  resize:vertical;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.ef-product-tab-panel .comment-form-author input:focus,
.ef-product-tab-panel .comment-form-email input:focus,
.ef-product-tab-panel .comment-form-rating select:focus,
.ef-product-tab-panel .comment-form-comment textarea:focus{
  border-color:var(--ef-accent)!important;

  box-shadow:
    0 0 0 1px var(--ef-accent)!important;
}


/* =========================================================
   SUBMIT
========================================================= */

.ef-product-tab-panel .form-submit{
  margin:6px 0 0!important;

  padding:0!important;
}


.ef-product-tab-panel .ef-review-submit,
.ef-product-tab-panel input[type="submit"].ef-review-submit,
.ef-product-tab-panel .submit{
  appearance:none!important;

  border:1px solid var(--ef-accent)!important;

  background:var(--ef-accent)!important;

  color:#FFFFFF!important;

  font-family:inherit!important;

  font-size:14px!important;
  line-height:1!important;
  font-weight:500!important;

  padding:14px 26px!important;

  min-height:44px!important;

  cursor:pointer!important;

  border-radius:0!important;

  box-shadow:none!important;

  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease!important;
}


/* SUBMIT HOVER */

.ef-product-tab-panel .ef-review-submit:hover,
.ef-product-tab-panel input[type="submit"].ef-review-submit:hover,
.ef-product-tab-panel .submit:hover{
  background:var(--ef-bg)!important;

  color:var(--ef-accent)!important;

  border-color:var(--ef-accent)!important;
}


/* =========================================================
   LINKS
========================================================= */

.ef-product-tab-panel a{
  color:var(--ef-accent)!important;
}


.ef-product-tab-panel a:hover{
  color:var(--ef-accent-hover)!important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:900px){

  .ef-product-tabs-content{
    padding:26px 24px;
  }

  .ef-product-tab-btn{
    padding:11px 19px;

    font-size:13.5px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:767px){

  .ef-product-tabs-nav{
    gap:6px;

    padding:6px;

    margin-bottom:18px;

    overflow-x:auto;

    white-space:nowrap;
  }


  .ef-product-tab-btn{
    padding:11px 16px;

    font-size:13px;
  }


  .ef-product-tabs-content{
    padding:22px 18px;
  }


  .ef-product-tab-panel .ef-policy-title,
  .ef-product-tab-panel .ef-reviews-title,
  .ef-product-tab-panel .ef-write-review-title,
  .ef-product-tab-panel .ef-product-description-title{
    font-size:18px;
  }


  .ef-product-tab-panel .ef-reviews-summary{
    display:block;
  }


  .ef-product-tab-panel .ef-reviews-rating{
    display:inline-flex;

    margin-top:12px;
  }


  .ef-product-tab-panel .comment-form-comment textarea{
    min-height:125px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

  .ef-product-tabs-nav{
    width:100%;

    margin-bottom:15px;
  }


  .ef-product-tab-btn{
    padding:10px 14px;

    font-size:12px;
  }


  .ef-product-tabs-content{
    padding:19px 14px;
  }


  .ef-product-tab-panel .ef-policy-title,
  .ef-product-tab-panel .ef-reviews-title,
  .ef-product-tab-panel .ef-write-review-title,
  .ef-product-tab-panel .ef-product-description-title{
    font-size:17px;
  }


  .ef-product-tab-panel .ef-policy-content,
  .ef-product-tab-panel .ef-product-description-content,
  .ef-product-tab-panel .description,
  .ef-product-tab-panel .ef-policy-content p,
  .ef-product-tab-panel .ef-product-description-content p{
    font-size:13px;
  }


  .ef-product-tab-panel .ef-review-submit,
  .ef-product-tab-panel input[type="submit"].ef-review-submit,
  .ef-product-tab-panel .submit{
    width:100%!important;

    min-height:42px!important;

    padding:13px 18px!important;

    font-size:13px!important;
  }

}

</style>


<script>
document.addEventListener('DOMContentLoaded', function(){

  var tabsWraps = document.querySelectorAll('.ef-product-tabs');

  tabsWraps.forEach(function(wrap){

    var buttons = wrap.querySelectorAll('.ef-product-tab-btn');
    var panels = wrap.querySelectorAll('.ef-product-tab-panel');

    buttons.forEach(function(button){

      button.addEventListener('click', function(){

        var target = button.getAttribute('data-tab');

        buttons.forEach(function(btn){
          btn.classList.remove('is-active');
        });

        panels.forEach(function(panel){
          panel.classList.remove('is-active');
        });

        button.classList.add('is-active');

        var targetPanel = wrap.querySelector(
          '.ef-product-tab-panel[data-panel="' + target + '"]'
        );

        if(targetPanel){
          targetPanel.classList.add('is-active');
        }

      });

    });

  });

});
</script>/* End custom CSS */