/* WooCommerce and product page styles */
.price-lhbgtn {
  background: none;
  color: red;
  font-size: 12px;
  font-weight: 400;
  display: table;
  padding: 0;
  margin: 0;
}

.devvn_single_price {
  background-color: #fff;
  border: 1px dashed #1e73be;
  padding: 10px;
  max-width: 100%;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  margin: 0 0 10px;
  color: #777;
}

.devvn_single_price span.label {
  color: #777;
  font-weight: 600;
  font-size: 13px;
  padding: 0;
  margin: 0;
  float: left;
  width: 125px;
  text-align: left;
  line-height: 18px;
}

.devvn_single_price span.devvn_price .amount {
  font-size: 14px;
  font-weight: 600;
  color: red;
}

.devvn_single_price span.devvn_price del .amount,
.devvn_single_price span.devvn_price del {
  font-size: 14px;
  color: #777;
  font-weight: 600;
}

.related.products {
  display: none;
}

.woocommerce-result-count,
.woocommerce-ordering {
  display: none;
}

span.devvn_woocommerce_price_prefix {
  font-size: 0.8em;
  margin: 0 5px 0 0;
  color: blue;
  font-weight: bold;
}

span.devvn_woocommerce_price_suffix {
  font-size: 0.8em;
  margin: 0 0 0 10px;
}

.woocommerce .price > .amount {
  color: red;
}

span.woocommerce-Price-amount.amount {
  color: red;
}


.product_meta > span {
  display: table;
  border: 1px solid #1c72aa;
  border-radius: 5px;
  margin: 0 0 5px;
  padding: 5px 10px;
}

.review-form-inner {
  border-color: #1c72aa;
  border-radius: 5px;
  border-style: dotted;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::before {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  background-color: #1c72aa !important;
}




/* =========================================================
   SOFTVN PRODUCT PAGE - SHORT DESCRIPTION
   Nhiệm vụ:
   - Style khung mô tả ngắn dưới icon sản phẩm
   - Dùng circle-check nhỏ đồng bộ với sidebar
   - Giữ box full width nhưng kéo nội dung gần lề trái hơn
   - Tối ưu thêm độ rõ icon, spacing với CTA và tone border
========================================================= */

.product-short-description{
  position:relative;
  display:block !important;
  width:100%;
  box-sizing:border-box;
  margin:8px 0 22px;
  padding:18px 18px 16px 12px;
  background:#ffffff;
  border:1px solid #d3dbe6;
  border-top:2px solid #c5d0dd;
  border-radius:12px !important;
  box-shadow:none;
  font-size:14px;
  line-height:1.65;
  color:#334155;
  overflow:hidden;
}

/* Notch góc trên phải, nhỏ bằng ngôn ngữ 2 nút phụ */
.product-short-description::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:10px;
  height:10px;
  background:#f6f9fc;
  border-left:1px solid #c5d0dd;
  border-bottom:1px solid #c5d0dd;
  border-bottom-left-radius:6px;
  box-sizing:border-box;
  z-index:1;
}

/* Reset margin cho paragraph nếu có */
.product-short-description p{
  margin:0 0 10px;
}

.product-short-description p:last-child{
  margin-bottom:0;
}

/* Bỏ bullet mặc định để thay bằng icon circle-check custom */
.product-short-description ul{
  margin:0;
  padding:0;
  list-style:none;
  position:relative;
  z-index:2;
}

/* Kéo text gần lề trái hơn nữa */
.product-short-description li{
  position:relative;
  margin:0 0 8px;
  padding-left:20px;
  color:#334155;
}

.product-short-description li:last-child{
  margin-bottom:0;
}

/* Icon circle-check nhỏ, màu cùng màu text nhưng rõ hơn nhẹ */
.product-short-description li::before{
  content:"";
  position:absolute;
  left:0;
  top:.20em;
  width:14px;
  height:14px;
  background-color:currentColor;
  opacity:.9;

  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;

  -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='8.25' stroke='black' stroke-width='2'/><path d='M8.5 12.2l2.2 2.2 4.8-5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-image:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='8.25' stroke='black' stroke-width='2'/><path d='M8.5 12.2l2.2 2.2 4.8-5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>\");
}

/* Responsive cho tablet/mobile */
@media (max-width: 849px){
  .product-short-description{
    margin:6px 0 18px;
    padding:14px 14px 13px 12px;
    font-size:13.5px;
    line-height:1.62;
    border-radius:10px !important;
  }

  .product-short-description::before{
    width:10px;
    height:10px;
    border-bottom-left-radius:6px;
  }

  .product-short-description li{
    padding-left:19px;
    margin-bottom:8px;
  }

  .product-short-description li::before{
    width:13px;
    height:13px;
  }
}





.tags,
.tag1s,
.bags {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.tags li,
.tag1s li,
.bags li {
  float: left;
}

.tag {
  background: red;
  font-family: roboto, sans-serif;
  font-size: 12px;
  border-radius: 3px 0 0 3px;
  color: #fff;
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 0 0;
  text-decoration: none;
  -webkit-transition: color 0.2s;
}

.tag::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.tag::after {
  background-color: transparent;
  border-bottom: 13px solid transparent;
  border-left: 10px solid red;
  border-top: 13px solid transparent;
  content: '';
  position: absolute;
  right: 0;
  top: 0;
}

.tag:hover {
  background-color: crimson;
  color: white;
}

.tag:hover::after {
  border-left-color: crimson;
}

.tag1 {
  background: #1c72aa;
  font-family: roboto, sans-serif;
  font-size: 12px;
  border-radius: 3px 0 0 3px;
  color: #fff;
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 0 0;
  text-decoration: none;
  -webkit-transition: color 0.2s;
}

.tag1::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.tag1::after {
  background-color: transparent;
  border-bottom: 13px solid transparent;
  border-left: 10px solid #1c72aa;
  border-top: 13px solid transparent;
  content: '';
  position: absolute;
  right: 0;
  top: 0;
}

.tag1:hover {
  background-color: crimson;
  color: white;
}

.tag1:hover::after {
  border-left-color: crimson;
}

.bag {
  background: #182f40;
  font-family: roboto, sans-serif;
  font-size: 14px;
  border-radius: 3px 0 0 3px;
  color: black;
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 0 0;
  text-decoration: none;
  -webkit-transition: color 0.2s;
}

.bag::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.bag::after {
  background-color: transparent;
  border-bottom: 13px solid transparent;
  border-left: 10px solid #7a9c59;
  border-top: 13px solid transparent;
  content: '';
  position: absolute;
  right: 0;
  top: 0;
}

.bag:hover {
  background-color: crimson;
  color: white;
}

.bag:hover::after {
  border-left-color: crimson;
}

div.buynow1 {
  border: 1.3px solid #f1592a;
  background: #f1592a;
  border-radius: 5px;
  padding: 10px;
  font-size: 90%;
  font-weight: bold;
  line-height: 1.5em;
}

div.buynow2 {
  border: 1.3px solid #288ad6;
  background: #288ad6;
  border-radius: 5px;
  padding: 10px;
  font-size: 90%;
  font-weight: bold;
  line-height: 1.5em;
}

div.buynow3 {
  border: 1.3px solid #00cc44;
  background: #00cc44;
  border-radius: 5px;
  padding: 10px;
  font-size: 90%;
  font-weight: bold;
  line-height: 1.5em;
}

div.buynow31 {
  border: 1.3px solid #81bf0b;
  background: #81bf0b;
  width: 180px;
  color: black;
  border-radius: 0;
  text-align: center;
  padding: 13px;
  font-size: 100%;
  font-weight: bold;
  line-height: 0.5em;
}

.khuyen-mai-svn {
  margin-bottom: 2px;
  margin-top: 2px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px dashed #f15a29;
  font-size: 15px;
  width: 100%;
}

.khuyen-mai-svn .tieu-de {
  background: #f15a29;
  padding: 4px 20px;
  margin-top: -25px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  max-width: 190px;
  border-radius: 5px;
}

.khuyen-mai-svn ul {
  margin-top: 14px;
  margin-bottom: 4px;
  list-style-image: url(tick.png);
}

.shop-slidebar-svn {
  margin-bottom: 2px;
  margin-top: 2px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px dashed #222c37;
  font-size: 13px;
  width: 100%;
}

.shop-slidebar-svn .tieu-de {
  background: #222c37;
  padding: 3px 15px;
  margin-top: -25px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  max-width: 155px;
  border-radius: 5px;
}

.shop-slidebar-svn ul {
  margin-top: 14px;
  margin-bottom: 4px;
  list-style-image: url(tick.png);
}

.product-main {
  padding: 40px 0 0 0;
}

.gbg01-svn {
  margin-bottom: 2px;
  margin-top: 2px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px dashed #f15a29;
  font-size: 15px;
  width: 100%;
}

.gbg01-svn .tieu-de {
  background: #f15a29;
  padding: 4px 20px;
  margin-top: -25px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  max-width: 330px;
  border-radius: 5px;
}

.gbg01-svn ul {
  margin-top: 14px;
  margin-bottom: 4px;
  list-style-image: url(tick.png);
}


/* =====================================================
   SoftVN - review initials avatar auto-color
   Mục tiêu:
   - avatar nhỏ, gọn, thẳng hàng với review
   - màu tự đổi theo tên
===================================================== */

.softvn-review-avatar {
    position: absolute;
    left: -50px;
    top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--softvn-avatar-c1, #f97316) 0%, var(--softvn-avatar-c2, #fb923c) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.10);
    flex-shrink: 0;
}

.woocommerce #reviews #comments .comment-text {
    position: relative;
    margin-left: 58px !important;
}

.woocommerce #reviews #comments img.avatar {
    display: none !important;
}

/* =========================================================
   SOFTVN WOO FINAL OVERRIDES
   Migrated from Additional CSS
   ========================================================= */

/* Review list layout tweak */
.softvn-review-avatar {
  top: 18px;
}

.woocommerce #reviews #comments .comment-text {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
}

.woocommerce #reviews #comments .star-rating {
  margin: 0 !important;
}

.woocommerce #reviews #comments .meta {
  margin: 0 !important;
}

.woocommerce #reviews #comments .description {
  grid-column: 1 / -1;
}

/* Product title line cleanup */
.product_title:after,
.product-title:after,
.entry-title:after {
  content: none !important;
  display: none !important;
}

.product-main .title-line,
.product-main .is-divider,
.product-main .product-title .is-divider,
.product-main .entry-title + .is-divider {
  display: none !important;
}

/* Product gallery cleanup */
.product-main .zoom-button,
.product-main .zoom,
.product-main .product-lightbox-button,
.product-main .image-tools .zoom,
.product-main .image-tools .open-lightbox,
.single-product .zoom-button,
.single-product .product-lightbox-button {
  display: none !important;
}

.product-gallery .flickity-prev-next-button,
.product-gallery .flickity-button.previous,
.product-gallery .flickity-button.next,
.woocommerce-product-gallery .flickity-prev-next-button,
.woocommerce-product-gallery .flickity-button.previous,
.woocommerce-product-gallery .flickity-button.next {
  display: none !important;
}

.product-thumbnails .flickity-prev-next-button,
.product-thumbnails .flickity-button {
  display: none !important;
}

.product-thumbnails img {
  border-radius: 5px;
}

/* Rating summary box */
.softvn-rating-summary {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 22px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.softvn-rating-summary__left {
  width: 170px;
  text-align: center;
  flex: 0 0 170px;
}

.softvn-rating-summary__score {
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.softvn-rating-summary__left .star-rating {
  margin: 0 auto 8px !important;
  font-size: 18px;
}

.softvn-rating-summary__count {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
}

.softvn-rating-summary__right {
  flex: 1;
}

.softvn-rating-summary__row {
  display: grid;
  grid-template-columns: 55px 1fr 30px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.softvn-rating-summary__row:last-child {
  margin-bottom: 0;
}

.softvn-rating-summary__label,
.softvn-rating-summary__value {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.softvn-rating-summary__bar {
  height: 10px;
  background: #edf0f3;
  border-radius: 999px;
  overflow: hidden;
}

.softvn-rating-summary__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fb923c);
}

#reviews h2 {
  display: none !important;
}

/* Review section polish */
.woocommerce #reviews #comments ol.commentlist li .comment_container {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
  width: 48px !important;
  height: 48px !important;
}

#review_form_wrapper {
  padding: 22px 22px 20px;
  border-radius: 18px;
}

#review_form_wrapper .comment-reply-title,
#review_form_wrapper h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
}

#review_form_wrapper .ivole-qa-list a,
#review_form_wrapper .ivole-questions a,
#review_form_wrapper .cr-qna-list a,
#review_form_wrapper .cr-questions a,
#review_form_wrapper .iv-comment-fields__questions a,
#review_form_wrapper .ivole-qa-list span,
#review_form_wrapper .ivole-questions span,
#review_form_wrapper .cr-qna-list span,
#review_form_wrapper .cr-questions span {
  padding: 7px 10px;
  margin: 0 6px 6px 0;
  font-size: 12px;
}

#review_form p {
  margin-bottom: 12px;
}

.comment-form-rating label,
.comment-form-comment label {
  font-size: 14px;
  margin-bottom: 6px;
}

#review_form p.stars {
  margin-bottom: 10px;
}

#review_form p.stars a {
  font-size: 0 !important;
  width: 22px;
  margin-right: 2px;
  text-indent: 0;
}

#review_form p.stars a:after {
  content: "★";
  font-size: 20px;
  color: #d1d5db;
}

#review_form p.stars a:hover:after,
#review_form p.stars a.active:after {
  color: #f59e0b;
}

#review_form textarea {
  min-height: 120px;
  border-radius: 12px;
}

#review_form input#submit,
#review_form input[type="submit"] {
  min-height: 44px;
  padding: 0 20px !important;
  border-radius: 12px !important;
  font-size: 14px;
}

/* Product tabs cleanup */
.woocommerce-tabs {
  margin-top: 6px !important;
  padding-top: 8px !important;
  border-top: 1px solid #e5e7eb !important;
}

.woocommerce-tabs ul.tabs {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 26px 0 0 !important;
  padding: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4b5563 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: .2px !important;
  padding: 0 0 10px 0 !important;
  position: relative !important;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: #1d4f91 !important;
}

.woocommerce-tabs ul.tabs li.active a {
  color: #111827 !important;
  font-weight: 700 !important;
}

.woocommerce-tabs ul.tabs li:before,
.woocommerce-tabs ul.tabs li:after,
.woocommerce-tabs ul.tabs li a:before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: transparent !important;
}

.woocommerce-tabs ul.tabs li a:after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: transparent !important;
}

.woocommerce-tabs ul.tabs li.active a:after {
  background: #1d4f91 !important;
}

.woocommerce-Tabs-panel {
  padding-top: 4px !important;
  border: 0 !important;
}

/* Product rating inline */
.softvn-product-rating-appstore {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.softvn-product-rating-appstore .star-rating {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1;
  opacity: .9;
}

.softvn-rating-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #475569;
}

.softvn-rating-average {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

/* Price area */
.product-main .price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
  line-height: 1.15;
}

.product-main .price > span:first-child,
.product-main .price .price-label {
  order: 1;
  color: #475569;
  font-weight: 600;
  font-size: 15px;
  margin-right: 2px;
}

.product-main .price .amount {
  white-space: nowrap;
  line-height: 1;
}

.product-main .price ins {
  order: 2;
  color: #e60023;
  text-decoration: none;
  margin: 0;
}

.product-main .price ins .amount,
.product-main .price ins .woocommerce-Price-amount {
  color: #e60023 !important;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.25px;
}

.product-main .price del {
  order: 3;
  position: relative;
  display: inline-block;
  color: #111827 !important;
  opacity: 1;
  margin: 0;
  text-decoration: none;
}

.product-main .price del .amount,
.product-main .price del .woocommerce-Price-amount,
.product-main .price del .woocommerce-Price-currencySymbol {
  color: #111827 !important;
}

.product-main .price del .amount,
.product-main .price del .woocommerce-Price-amount {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  position: relative;
  display: inline-block;
  padding: 0 1px;
}

.product-main .price del .amount::after,
.product-main .price del .woocommerce-Price-amount::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1.4px;
  background: #94a3b8;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-main .price .woocommerce-Price-currencySymbol {
  font-size: .62em;
  margin-left: 2px;
  position: relative;
  top: -0.06em;
  opacity: .9;
}

.product-main .price > .amount {
  font-size: 26px;
  font-weight: 700;
  color: #e60023;
  letter-spacing: -0.25px;
}

@media (max-width: 849px) {
  .softvn-rating-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .softvn-rating-summary__left {
    width: auto;
    flex: none;
  }

  .softvn-rating-summary__score {
    font-size: 42px;
  }

  #review_form_wrapper {
    margin-top: 18px;
    padding: 18px;
  }

  #review_form_wrapper .comment-reply-title,
  #review_form_wrapper h3 {
    font-size: 18px;
  }

  .product-main .price {
    gap: 10px;
    margin: 8px 0 12px;
  }

  .product-main .price > span:first-child,
  .product-main .price .price-label {
    font-size: 14px;
  }

  .product-main .price del .amount,
  .product-main .price del .woocommerce-Price-amount {
    font-size: 16px;
  }

  .product-main .price del .amount::after,
  .product-main .price del .woocommerce-Price-amount::after {
    height: 1.3px;
    top: 52%;
  }

  .product-main .price ins .amount,
  .product-main .price ins .woocommerce-Price-amount,
  .product-main .price > .amount {
    font-size: 22px;
  }
}
