/**
 * Single Product Module
 */

/* نشان موجود در انبار */
.gw-product-in-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  background: #eefaf5;
  border: 1px solid #d9f0e6;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
}

.gw-product-in-stock__text {
  font-size: 10px;
}

.gw-product-in-stock__text::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: green;
  border-radius: 50%;
  display: inline-block;
  margin-left: 7px;
  vertical-align: middle;
  background: #139b62;
  box-shadow: 0 0 0 4px rgba(19, 155, 98, 0.11);
}

/* ----------------------------- 
single product
----------------------------- */
/* title and gallery */
.gwsm-section-hiro-single-product .gwsm-gallery-product .col-inner,
.gwsm-section-hiro-single-product .gwsm-title-product .col-inner {
  background-color: #fff;
}

.gwsm-section-hiro-single-product {
  padding: 16px 0 48px;
  background:
    radial-gradient(circle at 8% 0, rgba(236, 28, 36, 0.045), transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(0, 11, 153, 0.06), transparent 26%),
    linear-gradient(180deg, #fbfbff, #fff);
}
.gwsm-single-product-top .gwsm-gallery-product .col-inner,
.gwsm-single-product-top .gwsm-title-product .col-inner {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-30);
  box-shadow: 0 10px 34px rgba(16, 20, 38, 0.07);
  padding: var(--padding--1);
}

.gwsm-gallery-product > .col-inner > .row {
  justify-content: center;
}

.gwsm-gallery-product .on-sale {
  border-radius: var(--border-radius);
  display: inline;
}

.gwsm-gallery-product .badge-container {
  margin-top: 0;
}

.gwsm-gallery-product .onsale {
  font-size: 14px;
}

.gwsm-gallery-product .onsale::after {
  content: "تخفیف";
}

.gwsm-title-product .cart,
.sticky-add-to-cart .cart {
  justify-content: center;
}

.gwsm-title-product .stock.in-stock{
  display: none !important;
}

.single_add_to_cart_button {
  height: 52px;
  border: 0;
  border-radius: 14px !important;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(0, 11, 153, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
}

.single_add_to_cart_button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 11, 153, 0.25);
}

.single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gwsm-single-product-top .gwsm-breadcrumb .col-inner {
  padding-top: 1.5rem;
  font-size: 12px;
}

.gwsm-breadcrumb {
  padding-bottom: 0 !important;
}

/* ===== Read More — توضیح کوتاه محصول ===== */
.product-short-description {
  /* ⚙️ فقط این ۴ خط را تنظیم کنید */
  --rm-lines: 5; /* چند خط دیده شود */
  --rm-lh: 1.8; /* ضریب ارتفاع خط (با قالب هماهنگ کنید) */
  --rm-bg: #ffffff; /* رنگ پس‌زمینه بخش */
  --rm-btn-border: #d5d5d5;

  position: relative;
  overflow: hidden;
  line-height: var(--rm-lh);
  max-height: calc(var(--rm-lines) * var(--rm-lh) * 1em);
  cursor: pointer;
  transition: max-height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* محو شدن دو خط آخر */
.product-short-description::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0; /* چسبیده به پایین */
  height: calc(3 * var(--rm-lh) * 1em); /* دقیقاً دو خط */
  background: linear-gradient(to bottom, transparent, var(--rm-bg) 75%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* دکمه Secondary کوچک */
.product-short-description::after {
  content: "نمایش بیشتر ▾";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 16px;
  font-size: 0.78em;
  font-weight: 600;
  color: #5f5f5f;
  background: var(--rm-bg);
  border: 1px solid var(--rm-btn-border);
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* حالت باز (هاور یا فوکوس) */
.product-short-description:hover,
.product-short-description:focus-within {
  max-height: var(--rm-expanded-height, 2000px);
}
.product-short-description:hover::before,
.product-short-description:focus-within::before,
.product-short-description:hover::after,
.product-short-description:focus-within::after {
  opacity: 0;
}

.product-short-description :is(p, ul, li, h5) {
  line-height: var(--rm-lh);
}

@media (prefers-reduced-motion: reduce) {
  .product-short-description {
    transition: none;
  }
}


body.single-product.gwsm-private-class-product
.product-short-description {
  max-height: none;
  overflow: visible;
  cursor: default;
  transition: none;
}

body.single-product.gwsm-private-class-product
.product-short-description::before,
body.single-product.gwsm-private-class-product
.product-short-description::after {
  display: none;
  content: none;
}


/* Private class short description */
.gwsm-section-hiro-single-product-virtual
.product-short-description {
  max-height: none;
  overflow: visible;
  cursor: default;
  color: #686d7d;
  line-height: 1.8;
  transition: none;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description::before,
.gwsm-section-hiro-single-product-virtual
.product-short-description::after {
  display: none;
  content: none;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description > h4 {
  margin: 0 0 14px;
  color: #101426;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.8;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description > ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns:
    repeat(auto-fit, minmax(200px, 1fr));
  align-items: stretch;
  gap: 10px;
  direction: rtl;
  list-style: none;
}

@media (max-width: 549px) {
  .gwsm-section-hiro-single-product-virtual
  .product-short-description > ul {
    grid-template-columns:
      repeat(auto-fit, minmax(110px, 1fr));
  }
}

.gwsm-section-hiro-single-product-virtual
.product-short-description > ul > li {
  display: flex;
  min-width: 0;
  min-height: 92px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e7e9f2;
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  justify-content: flex-start;
  color: #777d8e;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.8;
  text-align: right;
  list-style: none;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description > ul > li::marker,
.gwsm-section-hiro-single-product-virtual
.product-short-description > ul > li > ul > li::marker {
  content: "";
}

.gwsm-section-hiro-single-product-virtual
.product-short-description > ul > li > ul {
  display: block;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description > ul > li > ul > li {
  display: block;
  margin: 0;
  padding: 0;
  color: #101426;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.85;
  list-style: none;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description
:is(b, strong) {
  color: inherit;
  font-size: inherit;
  font-weight: 800;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description
:is(.info-pill, .hero-specs, .info-grid) {
  display: contents;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.gwsm-section-hiro-single-product-virtual
.product-short-description
.hero-lead-form:empty {
  display: none;
}



.gwsm-price-box {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-20);
  padding: 0.5rem 1rem;
  margin-bottom: var(--padding--1);
  align-items: center;
}

.gw-product-discount {
  padding: 5px 9px;
  border-radius: var(--border-radius);
  background: var(--secondary-color);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  height: 30px;
}

.gwsm-single-product-top .price-wrapper del .woocommerce-Price-amount {
  color: #a9acb7;
}

.gwsm-single-product-top .price-wrapper .woocommerce-Price-amount {
  color: var(--primary-color);
}

.gwsm-single-product-top .price-wrapper .price-on-sale {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

.gwsm-single-product-top .price-wrapper .price-on-sale del {
  font-size: 14px;
}

.gwsm-single-product-top .price-wrapper .price-on-sale ins {
  font-size: 22px;
}

/* product title */
.gwsm-title-product h1 {
  margin-top: 1rem;
  line-height: 1.5;
}

.gwsm-title-product p,
.gwsm-title-product ul li {
  font-size: 16px;
}

.gwsm-title-product ul li p {
  margin-bottom: 0;
}

.gwsm-title-product h5 {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff4f5;
  border: 1px solid #ffdfe3;
  color: #d8172e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}

.gwsm-title-product .price-wrapper ins .woocommerce-Price-amount {
  font-size: 24px !important;
}

.gwsm-title-product
  .price-wrapper
  ins
  .woocommerce-Price-amount
  .woocommerce-Price-currencySymbol {
  font-size: 12px;
  color: #4f5566;
}

.gwsm-title-product .button.alt {
  background-color: transparent !important;
}

.gwsm-title-product .cart {
  flex-wrap: nowrap;
}

.gwsm-title-product .single_add_to_cart_button {
  flex: 0 auto;
}

@media (min-width: 550px) and (max-width: 693px) {
  .gwsm-title-product .cart {
    flex-wrap: wrap;
  }
}

.gwsm-title-product .col-inner {
  height: 100%;
}

/* variation product */
.gwsm-title-product .add-to-cart-container .variations_form.cart {
  flex-direction: column;
}

.woocommerce-variation-add-to-cart.variations_button {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.woocommerce-variation-add-to-cart .gwsm-title-product {
  flex: 0 0 100%;
  margin: 0 0 4px;
}

.woocommerce-variation-add-to-cart .ux-quantity {
  flex: 0 0 auto;
  display: inline-flex;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1 1 auto;
  margin: 0;
  width: auto;
  min-width: 160px;
}

/* in stock */
.gw-product-in-stock {
  color: #16875b;
  border-radius: 50px;
  background: #ebf8f2;
  padding: 4px 8px;
  font-size: 12px;
}

/* نشان درصد تخفیف */
.gw-product-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 9px;
  background: var(--red, #ec1c24);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.6;
}

/* Quantity صفحه محصول */
body.single-product form.cart .ux-quantity.quantity {
  display: grid !important;
  grid-template-columns: 34px minmax(36px, 1fr) 34px;
  align-items: center;
  width: 112px;
  min-width: 112px;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  direction: ltr;
  border: 1px solid var(--line, #e7e9f2);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

/* دکمه‌های مثبت و منفی */
body.single-product form.cart .ux-quantity.quantity .ux-quantity__button {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  float: none;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: #f7f8fc !important;
  color: #101426;
  box-shadow: none !important;
  text-shadow: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

/* دکمه منفی در سمت چپ */
body.single-product
  form.cart
  .ux-quantity.quantity
  .ux-quantity__button--minus {
  grid-column: 1;
  grid-row: 1;
}

/* فیلد تعداد در وسط */
body.single-product form.cart .ux-quantity.quantity input.qty {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 4px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: #fff;
  color: #101426;
  box-shadow: none !important;
  text-align: center;
  direction: ltr;
  font-size: 13px;
  font-weight: 900;
  line-height: 52px;
  appearance: textfield;
  -moz-appearance: textfield;
}

/* دکمه مثبت در سمت راست */
body.single-product form.cart .ux-quantity.quantity .ux-quantity__button--plus {
  grid-column: 3;
  grid-row: 1;
}

/* حذف فلش‌های داخلی input number */
body.single-product
  form.cart
  .ux-quantity.quantity
  input.qty::-webkit-inner-spin-button,
body.single-product
  form.cart
  .ux-quantity.quantity
  input.qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* حالت هاور دکمه‌ها */
body.single-product form.cart .ux-quantity.quantity .ux-quantity__button:hover {
  background: var(--blue3, #eef0ff) !important;
  color: var(--blue, #000b99);
}

/* حالت فوکوس کیبورد */
body.single-product
  form.cart
  .ux-quantity.quantity
  .ux-quantity__button:focus-visible,
body.single-product form.cart .ux-quantity.quantity input.qty:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--blue, #000b99);
  outline-offset: -2px;
}

/* نسخه موبایل */
@media (max-width: 560px) {
  body.single-product form.cart .ux-quantity.quantity {
    grid-template-columns: 30px minmax(36px, 1fr) 30px;
    width: 96px;
    min-width: 96px;
  }

  body.single-product form.cart .ux-quantity.quantity .ux-quantity__button {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
  }
}

/**
 * امتیاز محصول در بخش بالای صفحه
 *
 * هر ستاره داخل یک خانه ثابت 20 پیکسلی ساخته می‌شود؛ بنابراین
 * عرض 80 درصد ووکامرس دقیقاً چهار خانه را از چپ پر می‌کند.
 * محتوای ستاره‌ای فلت‌سام نیز کاملاً غیرفعال می‌شود تا هیچ لایه
 * قرمز یا جابه‌جایی در مرز امتیاز باقی نماند.
 */

body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline {
  position: relative !important;
  display: inline-block !important;
  width: 100px !important;
  min-width: 100px !important;
  height: 20px !important;
  margin: 0 !important;
  float: none !important;
  overflow: hidden !important;
  background: #dedede !important;
  color: transparent !important;
  direction: ltr !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: left !important;
  unicode-bidi: isolate;
  vertical-align: middle;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.4l2.66 5.39 5.95.86-4.3 4.2 1.01 5.92L10 14.97l-5.32 2.8 1.01-5.92-4.3-4.2 5.95-.86L10 1.4z'/%3E%3C/svg%3E") !important;
  -webkit-mask-position: left center !important;
  -webkit-mask-repeat: repeat-x !important;
  -webkit-mask-size: 20px 20px !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.4l2.66 5.39 5.95.86-4.3 4.2 1.01 5.92L10 14.97l-5.32 2.8 1.01-5.92-4.3-4.2 5.95-.86L10 1.4z'/%3E%3C/svg%3E") !important;
  mask-position: left center !important;
  mask-repeat: repeat-x !important;
  mask-size: 20px 20px !important;
}

body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline
  > span {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: auto !important;
  left: 0 !important;
  display: block !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f6a800 !important;
  color: transparent !important;
  direction: ltr !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: left !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;
}

body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline::before,
body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline::after,
body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline
  > span::before,
body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline
  > span::after {
  content: none !important;
  display: none !important;
}

body.single-product
  .woocommerce-product-rating
  .star-rating.star-rating--inline
  > span
  > * {
  display: none !important;
}

/**
 * Product Review Summary
 */

body.single-product #tab-reviews {
  --gw-review-blue: var(--blue, #000b99);
  --gw-review-blue-light: var(--blue3, #eef0ff);
  --gw-review-line: var(--line, #e7e9f2);
  --gw-review-muted: var(--muted, #686d7d);
  --gw-review-orange: #f6a800;
  --gw-review-yellow: #ffc64b;
}

/**
 * Review summary
 */

body.single-product #tab-reviews .gw-review-summary {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0 0 30px;
  direction: rtl;
}

body.single-product #tab-reviews .gw-review-score-box {
  display: flex;
  min-height: 182px;
  padding: 20px;
  border: 1px solid var(--gw-review-line);
  border-radius: 18px;
  background: #fbfbfd;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.single-product #tab-reviews .gw-review-average {
  margin-bottom: 8px;
  color: var(--gw-review-blue);
  font-size: 44px;
  font-weight: 950;
  line-height: 1.2;
}

body.single-product #tab-reviews .gw-review-average-stars {
  display: inline-flex;
  height: 22px;
  margin-bottom: 7px;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 22px;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

body.single-product #tab-reviews .gw-review-star {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 22px;
  overflow: hidden;
  color: #dedede;
  font: inherit;
  line-height: 22px;
  text-align: center;
}

body.single-product #tab-reviews .gw-review-star::before {
  content: "★";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 22px;
  overflow: hidden;
  color: var(--gw-review-orange);
  font: inherit;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  -webkit-clip-path: inset(0 calc(100% - var(--gw-star-fill, 0%)) 0 0);
  clip-path: inset(0 calc(100% - var(--gw-star-fill, 0%)) 0 0);
}

body.single-product #tab-reviews .gw-review-count {
  color: #101426;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}

body.single-product #tab-reviews .gw-review-rating-bars {
  display: grid;
  min-width: 0;
  gap: 13px;
}

body.single-product #tab-reviews .gw-review-rating-row {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1.5;
}

body.single-product #tab-reviews .gw-review-rating-label {
  color: #101426;
  text-align: right;
  white-space: nowrap;
}

body.single-product #tab-reviews .gw-review-rating-percentage {
  color: #101426;
  direction: rtl;
  text-align: left;
  white-space: nowrap;
}

body.single-product #tab-reviews .gw-review-rating-bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #eeeeee;
  direction: ltr;
}

body.single-product #tab-reviews .gw-review-rating-bar__value {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--gw-review-orange),
    var(--gw-review-yellow)
  );
}

/* main content */
.gwsm-main-content .gwsm-tab-content .col-inner {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-20);
}

.gwsm-main-content .gwsm-tab-content .product-tabs {
  border-bottom: 1px solid var(--border-color);
  padding: var(--padding--1);
}
.gwsm-main-content .gwsm-tab-content .product-tabs li a {
  border-radius: var(--border-radius);
  padding: 5px 20px;
}

.gwsm-main-content .gwsm-tab-content .tab-panels {
  padding: var(--padding--1);
}

.gwsm-main-content .tab-panels,
body.single-product .gwsm-product-reviews {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
}

/**
 * Reviews layout
 *
 * فرم دیدگاه زیر فهرست دیدگاه‌ها قرار می‌گیرد.
 */

body.single-product #tab-reviews #reviews.woocommerce-Reviews.row {
  display: flex !important;
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 28px;
}

body.single-product #tab-reviews #reviews.woocommerce-Reviews > #comments,
body.single-product
  #tab-reviews
  #reviews.woocommerce-Reviews
  > #review_form_wrapper {
  display: block;
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
  padding-right: 0;
  padding-left: 0;
}

body.single-product #tab-reviews #reviews.woocommerce-Reviews > #comments {
  order: 1;
}

body.single-product
  #tab-reviews
  #reviews.woocommerce-Reviews
  > #review_form_wrapper {
  order: 2;
  clear: both;
}

/**
 * Reviews title
 */

body.single-product #tab-reviews .woocommerce-Reviews-title {
  margin: 0 0 18px;
  color: #101426;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.8;
}

/**
 * Review list
 */

body.single-product #tab-reviews ol.commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product #tab-reviews ol.commentlist > li {
  margin: 0 0 14px;
}

body.single-product #tab-reviews .comment_container.review-item {
  position: relative;
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--gw-review-line);
  border-radius: 18px;
  background: #ffffff;
  align-items: flex-start;
}

body.single-product
  #tab-reviews
  .comment_container.review-item
  > .flex-col:first-child {
  flex: 0 0 42px;
}

body.single-product #tab-reviews .comment_container.review-item .avatar {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

body.single-product #tab-reviews .comment_container.review-item .comment-text {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  flex: 1 1 auto;
}

body.single-product #tab-reviews .comment_container.review-item .meta {
  margin: 0 0 10px;
  padding-left: 100px;
  color: var(--gw-review-muted);
  font-size: 11px;
  line-height: 1.8;
}

body.single-product #tab-reviews .woocommerce-review__author {
  color: #101426;
  font-size: 13px;
  font-weight: 900;
}

body.single-product #tab-reviews .comment_container.review-item .description {
  color: #303546;
  font-size: 12px;
  line-height: 2;
}

body.single-product
  #tab-reviews
  .comment_container.review-item
  .description
  p:last-child {
  margin-bottom: 0;
}

/**
 * Registered review stars
 *
 * پرشدن ستاره‌ها از چپ به راست
 */

body.single-product #tab-reviews .star-rating {
  position: absolute;
  top: 2px;
  right: auto;
  left: 0;
  float: none;
  overflow: hidden;
  direction: ltr;
  text-align: left;
}

body.single-product #tab-reviews .star-rating::before {
  right: auto;
  left: 0;
}

body.single-product #tab-reviews .star-rating span {
  right: auto;
  left: 0;
  direction: ltr;
}

/**
 * Replies
 */

body.single-product #tab-reviews .commentlist .children {
  margin: 10px 52px 0 0;
  padding: 0;
  list-style: none;
}

body.single-product
  #tab-reviews
  .commentlist
  .children
  .comment_container.review-item {
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: #f7f8fc;
}

/**
 * Review form
 */

body.single-product #tab-reviews #review_form_wrapper .col-inner {
  width: 100%;
}

body.single-product #tab-reviews .review-form-inner {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--gw-review-line);
  border-radius: 18px;
  background: #fbfbfd;
}

body.single-product #tab-reviews .comment-reply-title {
  display: block;
  margin: 0 0 18px;
  color: #101426;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.8;
}

body.single-product #tab-reviews .comment-form label {
  display: block;
  margin-bottom: 7px;
  color: #101426;
  font-size: 12px;
  font-weight: 800;
}

body.single-product #tab-reviews .comment-form textarea,
body.single-product #tab-reviews .comment-form input[type="text"],
body.single-product #tab-reviews .comment-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--gw-review-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
  font-size: 13px;
}

body.single-product #tab-reviews .comment-form textarea {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

/**
 * Rating selector
 *
 * ترتیب انتخاب ستاره از چپ به راست
 */

/**
 * بخش انتخاب امتیاز
 */

body.single-product #tab-reviews .comment-form-rating {
  display: flex;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--gw-review-line, #e7e9f2);
  border-radius: 14px;
  background: #f7f8fc;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  direction: rtl;
}

body.single-product #tab-reviews .comment-form-rating > label {
  margin: 0;
  color: #101426;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.8;
  white-space: nowrap;
}

body.single-product #tab-reviews .comment-form-rating p.stars {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

body.single-product #tab-reviews .comment-form-rating p.stars > span {
  display: inline-flex !important;
  margin: 0;
  padding: 0;
  gap: 4px;
  direction: ltr !important;
  flex-direction: row !important;
}

/**
 * هر لینک دقیقاً یک ستاره نمایش می‌دهد
 */

body.single-product #tab-reviews .comment-form-rating p.stars a {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  overflow: hidden;
  border: 0 !important;
  color: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-indent: -9999px !important;
  direction: ltr;
}

/**
 * حالت عادی ستاره
 */

body.single-product #tab-reviews .comment-form-rating p.stars a::before {
  content: "★" !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  width: 22px !important;
  height: 22px !important;
  color: #d9dce4 !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  text-align: center !important;
  text-indent: 0 !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
}

/**
 * حذف خروجی ستاره اضافی فلت‌سام
 */

body.single-product #tab-reviews .comment-form-rating p.stars a::after {
  content: none !important;
  display: none !important;
}

/**
 * هاور از چپ به راست
 */

body.single-product #tab-reviews .comment-form-rating p.stars:hover a::before {
  color: #f6a800 !important;
}

body.single-product
  #tab-reviews
  .comment-form-rating
  p.stars
  a:hover
  ~ a::before {
  color: #d9dce4 !important;
}

/**
 * امتیاز انتخاب‌شده از چپ به راست
 */

body.single-product
  #tab-reviews
  .comment-form-rating
  p.stars.selected
  a::before {
  color: #f6a800 !important;
}

body.single-product
  #tab-reviews
  .comment-form-rating
  p.stars.selected
  a.active
  ~ a::before {
  color: #d9dce4 !important;
}

body.single-product
  #tab-reviews
  .comment-form-rating
  p.stars.selected
  a.active::before {
  color: #f6a800 !important;
}

/**
 * فوکوس کیبورد
 */

body.single-product #tab-reviews .comment-form-rating p.stars a:focus-visible {
  border-radius: 4px !important;
  outline: 2px solid var(--gw-review-blue, #000b99);
  outline-offset: 2px;
}

/**
 * ارتفاع فیلد نام و ایمیل
 */

body.single-product #tab-reviews .comment-form input[type="text"],
body.single-product #tab-reviews .comment-form input[type="email"] {
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  line-height: 48px;
}

/**
 * ستاره‌های ثبت‌شده کاربران
 */

body.single-product #tab-reviews .star-rating {
  color: #f6a800;
  direction: ltr;
}

body.single-product #tab-reviews .star-rating::before {
  right: auto;
  left: 0;
  color: #dedede;
  opacity: 1;
}

body.single-product #tab-reviews .star-rating span {
  right: auto;
  left: 0;
  color: #f6a800;
  direction: ltr;
}

body.single-product #tab-reviews .star-rating span::before {
  color: #f6a800;
}

/**
 * نسخه موبایل
 */

@media (max-width: 600px) {
  body.single-product #tab-reviews .comment-form-rating {
    padding: 13px 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  body.single-product #tab-reviews .comment-form input[type="text"],
  body.single-product #tab-reviews .comment-form input[type="email"] {
    height: 46px;
    min-height: 46px;
    line-height: 46px;
  }
}

body.single-product #tab-reviews .comment-form .form-submit {
  margin: 18px 0 0;
}

body.single-product #tab-reviews .comment-form .form-submit .submit {
  min-width: 110px;
  min-height: 44px;
  margin: 0;
  padding: 8px 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gw-review-blue), #1624b8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: none;
}

body.single-product #tab-reviews .comment-form .form-submit .submit:hover {
  background: var(--gw-review-blue);
}

/**
 * Responsive
 */

@media (max-width: 850px) {
  body.single-product #tab-reviews .gw-review-summary {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  body.single-product #tab-reviews .gw-review-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.single-product #tab-reviews .gw-review-score-box {
    min-height: auto;
  }

  body.single-product #tab-reviews .gw-review-rating-row {
    grid-template-columns: 52px minmax(0, 1fr) 38px;
    gap: 7px;
  }

  body.single-product #tab-reviews .comment_container.review-item {
    gap: 10px;
    padding: 14px;
  }

  body.single-product #tab-reviews .comment_container.review-item .meta {
    padding-left: 0;
  }

  body.single-product #tab-reviews .comment_container.review-item .star-rating {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 8px;
  }

  body.single-product #tab-reviews .commentlist .children {
    margin-right: 18px;
  }

  body.single-product #tab-reviews .review-form-inner {
    padding: 16px;
  }
}

.single-product .product-section {
  border-top: none;
}

/**
 * Sticky Add To Cart
 *
 * Quantity و دکمه در یک ردیف قطعی
 */

/* حذف تصویر و عنوان محصول */
body.single-product .sticky-add-to-cart .sticky-add-to-cart-img,
body.single-product .sticky-add-to-cart .product-title-small {
  display: none !important;
}

/* نگهدارنده اصلی */
body.single-product .sticky-add-to-cart .sticky-add-to-cart__product {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  align-items: center !important;
  /* justify-content: flex-end !important; */
  justify-content: center !important;
}

/* فرم دقیقاً یک ردیف و دو ستون */
body.single-product
  .sticky-add-to-cart
  .sticky-add-to-cart__product
  > form.cart {
  display: grid !important;
  grid-template-columns: 98px 180px !important;
  grid-template-rows: 44px !important;
  width: 288px !important;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  align-items: center !important;
  justify-content: end !important;
  gap: 10px !important;
}

/* Quantity در ستون اول */
body.single-product .sticky-add-to-cart form.cart > .ux-quantity.quantity {
  grid-column: 1 !important;
  grid-row: 1 !important;
  grid-template-columns: 30px 38px 30px !important;
  width: 98px !important;
  min-width: 98px !important;
  max-width: 98px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  border-radius: 12px;
}

body.single-product
  .sticky-add-to-cart
  form.cart
  > .ux-quantity.quantity
  .ux-quantity__button {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
}

body.single-product
  .sticky-add-to-cart
  form.cart
  > .ux-quantity.quantity
  input.qty {
  height: 44px !important;
  min-height: 44px !important;
  line-height: 44px !important;
}

/* دکمه در ستون دوم و همان ردیف */
body.single-product .sticky-add-to-cart form.cart > .single_add_to_cart_button {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  float: none !important;
  clear: none !important;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}


.sticky-add-to-cart .sticky-add-to-cart-select-options-button {
border-radius: 10px;
}



/**
 * موبایل
 */

@media (max-width: 600px) {
  body.single-product
    .sticky-add-to-cart
    .sticky-add-to-cart__product
    > form.cart {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    grid-template-rows: 42px !important;
    width: 100% !important;
    margin: 0 auto !important;
    gap: 8px !important;
  }

  body.single-product .sticky-add-to-cart form.cart > .ux-quantity.quantity {
    grid-template-columns: 28px 36px 28px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body.single-product
    .sticky-add-to-cart
    form.cart
    > .ux-quantity.quantity
    .ux-quantity__button {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }

  body.single-product
    .sticky-add-to-cart
    form.cart
    > .ux-quantity.quantity
    input.qty {
    height: 42px !important;
    min-height: 42px !important;
    line-height: 42px !important;
  }

  body.single-product
    .sticky-add-to-cart
    form.cart
    > .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 10px !important;
  }
}

/* ==========================================
   استایل دکمه دانلود فایل صوتی
   ========================================== */

.gw-product-tab-content.gw-audio-file p {
  margin: 0;
  padding: 0;
  text-align: center;
}

.gw-product-tab-content.gw-audio-file a {
  position: relative;
  width: 50%;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 1px solid #17795e;
  background-color: #209978;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  z-index: 2;
}

.gw-product-tab-content.gw-audio-file a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 39px;
  background-color: #17795e;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgY2xhc3M9IiI+PGc+PHBhdGggZD0iTTEyOCA2NWMwIDE1LjQzOS0xMi41NjMgMjgtMjggMjhIODBjLTIuMjExIDAtNC0xLjc5MS00LTRzMS43ODktNCA0LTRoMjBjMTEuMDI3IDAgMjAtOC45NzMgMjAtMjBzLTguOTczLTIwLTIwLTIwaC00Yy0yLjIxMSAwLTQtMS43OTEtNC00IDAtMTUuNDM5LTEyLjU2My0yOC0yOC0yOFMzNiAyNS41NjEgMzYgNDFjMCAyLjIwOS0xLjc4OSA0LTQgNGgtNGMtMTEuMDI3IDAtMjAgOC45NzMtMjAgMjBzOC45NzMgMjAgMjAgMjBoMjBjMi4yMTEgMCA0IDEuNzkxIDQgNHMtMS43ODkgNC00IDRIMjhDMTIuNTYzIDkzIDAgODAuNDM5IDAgNjVzMTIuNTYzLTI4IDI4LTI4aC4yMjNDMzAuMjE5IDE5LjAyNSA0NS41IDUgNjQgNXMzMy43ODEgMTQuMDI1IDM1Ljc3NyAzMkgxMDBjMTUuNDM4IDAgMjggMTIuNTYxIDI4IDI4bS01MC44MjggMzcuMTcyTDY4IDExMS4zNDRWNjFjMC0yLjIwOS0xLjc4OS00LTQtNHMtNCAxLjc5MS00IDR2NTAuMzQ0bC05LjE3Mi05LjE3MmMtMS41NjMtMS41NjMtNC4wOTQtMS41NjMtNS42NTYgMHMtMS41NjMgNC4wOTQgMCA1LjY1NmwxNiAxNmMuNzgxLjc4MSAxLjgwNSAxLjE3MiAyLjgyOCAxLjE3MnMyLjA0Ny0uMzkxIDIuODI4LTEuMTcybDE2LTE2YzEuNTYzLTEuNTYzIDEuNTYzLTQuMDk0IDAtNS42NTZzLTQuMDk0LTEuNTYzLTUuNjU2IDAiIGZpbGw9IiNGRkZGRkYiIG9wYWNpdHk9IjEiIGRhdGEtb3JpZ2luYWw9IiNGRkZGRkYiIGNsYXNzPSIiPjwvcGF0aD48L2c+PC9zdmc+");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  transition: all 0.3s;
  border-radius: 8px 0 0 8px;
  z-index: 1;
}

.gw-product-tab-content.gw-audio-file a:hover {
  background: #17795e;
  color: transparent;
}

.gw-product-tab-content.gw-audio-file a:hover::before {
  width: 100%;
  border-radius: 8px;
  background-size: 25px;
}

.gw-product-tab-content.gw-audio-file a:active::before {
  background-color: #146c54;
}

.gw-product-tab-content.gw-audio-file a:active {
  border: 1px solid #146c54;
}

.gw-product-tab-content.gw-audio-file a:focus-visible {
  outline: 2px solid #17795e;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .gw-product-tab-content.gw-audio-file a {
    width: 90%;
    height: 38px;
    font-size: 14px;
    margin-bottom: 15px;
  }

  .gw-product-tab-content.gw-audio-file a::before {
    width: 32px;
    background-size: 16px;
  }
}

/* ===== 4 ویژگی اصلی محصول ===== */
.book-features {
  --bkf-cols: 2;
  display: grid;
  grid-template-columns: repeat(var(--bkf-cols), 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.book-features.bkf-cols-1 {
  --bkf-cols: 1;
}
.book-features.bkf-cols-2 {
  --bkf-cols: 2;
}
.book-features.bkf-cols-3 {
  --bkf-cols: 3;
}
.book-features.bkf-cols-4 {
  --bkf-cols: 4;
}

.bkf-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 14px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}
.bkf-label {
  font-size: 0.76em;
  color: #9a9a9a;
}
.bkf-value {
  font-size: 0.85em;
  font-weight: 600;
  color: #333;
}
/* 📱 ریسپانسیو */
@media (max-width: 768px) {
  .book-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .book-features {
    grid-template-columns: 1fr;
  }
}

/* تگ‌های محصول */
.gw-product-tags {
  display: flex;
  margin: 12px 0 12px 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.gw-product-tag {
  display: inline-flex;
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid #e3e6f1;
  border-radius: 999px;
  background: #f8f9fd;
  align-items: center;
  color: #626777;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.gw-product-tag::before {
  content: "#";
  margin-left: 4px;
  color: var(--primary-color, #000b99);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.gw-product-tag:hover {
  border-color: #cfd3ff;
  background: var(--blue3, #eef0ff);
  color: var(--primary-color, #000b99);
  transform: translateY(-1px);
}

.gw-product-tag:focus-visible {
  outline: 2px solid var(--primary-color, #000b99);
  outline-offset: 2px;
}

/* ----------------------------- 
single product Consultation
----------------------------- */
/* title and gallery */
.gwsm-section-hiro-single-product-virtual .gwsm-gallery-product .col-inner,
.gwsm-section-hiro-single-product-virtual .gwsm-title-product .col-inner {
  background-color: transparent;
}
.gwsm-section-hiro-single-product-virtual {
  padding: 16px 0 48px;
 background: linear-gradient(115deg, #fff 20%, #f7f9ff 100%);
}

.gwsm-section-hiro-single-product-virtual .gwsm-single-product-top-virtual .gwsm-gallery-product .col-inner,
.gwsm-section-hiro-single-product-virtual .gwsm-single-product-top-virtual .gwsm-title-product .col-inner {
  padding: var(--padding--1);
}

.gwsm-section-hiro-single-product-virtual .gwsm-gallery-product .product-gallery-slider{
    box-shadow: 0 12px 28px rgba(18, 31, 92, .10);
    border-radius: 20px;
    overflow: hidden;
}
.gwsm-section-hiro-single-product-virtual .gwsm-gallery-product > .col-inner > .row{
    justify-content: end;
}

.gwsm-section-hiro-single-product-virtual .gwsm-gallery-product .col-inner{
padding-left: 0 !important;
}

/* virtual goal section */
.gwsm-single-product-goal-sec{
  background-color: #f7f8fc;
}

.gwsm-single-product-goal-sec .col-inner{
      border: 1px solid var(--border-color);
    border-radius: var(--border-radius-30);
    box-shadow: 0 10px 34px rgba(16, 20, 38, 0.07);
    padding: 2rem;
        background-color: #fff;
}
.gwsm-single-product-goal-sec .col{
  padding-bottom: 0;
}


/* Product virtual main content */
.gwsm-product-main-content {
  --gwsm-content-lines: 10;
  --gwsm-content-line-height: 2;
  --gwsm-content-background: #fff;

      border: 1px solid var(--border-color, #e7e9f2);
    padding: 2rem;
    border-radius: var(--border-radius-30);

  width: 100%;
}

.gwsm-product-main-content__body {
  position: relative;
  max-height:
    calc(
      var(--gwsm-content-lines)
      * var(--gwsm-content-line-height)
      * 1em
    );
  overflow: hidden;
  color: var(--text-color, #101426);
  font-size: 13px;
  line-height: var(--gwsm-content-line-height);
  text-align: right;
  transition:
    max-height 0.45s
    cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gwsm-product-main-content__body::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4.5em;
  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--gwsm-content-background) 88%
    );
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gwsm-product-main-content.is-expanded
.gwsm-product-main-content__body {
  max-height:
    var(
      --gwsm-content-expanded-height,
      5000px
    );
}

.gwsm-product-main-content.is-expanded
.gwsm-product-main-content__body::after {
  opacity: 0;
}

.gwsm-product-main-content.is-short
.gwsm-product-main-content__body {
  max-height: none;
}

.gwsm-product-main-content.is-short
.gwsm-product-main-content__body::after {
  display: none;
}

.gwsm-product-main-content__body > :last-child {
  margin-bottom: 0;
}

.gwsm-product-main-content__toggle {
  display: flex;
  width: max-content;
  min-height: 44px;
  margin: 16px auto 0;
  padding: 8px 18px;
  border: 1px solid var(--border-color, #e7e9f2);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #000b99);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.8;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.gwsm-product-main-content__toggle:hover {
  border-color: #cfd3ff;
  background: var(--blue3, #eef0ff);
  color: var(--primary-color, #000b99);
  transform: translateY(-2px);
}

.gwsm-product-main-content__toggle:focus-visible {
  outline: 2px solid var(--primary-color, #000b99);
  outline-offset: 3px;
}

.gwsm-product-main-content__toggle[hidden] {
  display: none;
}



/* Private class content */
.gwsm-private-class-content {
  color: var(--text-color, #101426);
  font-size: 13px;
  line-height: 2;
  text-align: right;
}

.gwsm-private-class-content > :last-child,
.gwsm-private-class-faq .accordion-inner > :last-child {
  margin-bottom: 0;
}

.gwsm-private-class-faq {
  display: grid;
  width: 100%;
  margin: 0;
  gap: 10px;
}

.gwsm-private-class-faq .accordion-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-color, #e7e9f2);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.gwsm-private-class-faq .accordion-item:hover {
  border-color: #cfd3ff;
  box-shadow: 0 8px 24px rgba(16, 20, 38, .05);
}

.gwsm-private-class-faq .accordion-title {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 13px 16px;
  border: 0;
  align-items: center;
  gap: 12px;
  direction: rtl;
  color: var(--text-color, #101426);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.9;
  text-align: right;
  text-decoration: none;
}

.gwsm-private-class-faq .accordion-title > span {
  order: 1;
  min-width: 0;
  flex: 1 1 auto;
}

.gwsm-private-class-faq .accordion-title > .toggle {
  position: static;
  order: 2;
  display: inline-flex;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: var(--blue3, #eef0ff);
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #000b99);
  opacity: 1;
  transform: none;
}

.gwsm-private-class-faq .accordion-title > .toggle i {
  position: static;
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  transition: transform .2s ease;
}

.gwsm-private-class-faq .accordion-title.active {
  color: var(--primary-color, #000b99);
  background: #fbfbff;
}

.gwsm-private-class-faq .accordion-title.active > .toggle {
  background: var(--primary-color, #000b99);
  color: #fff;
}

.gwsm-private-class-faq .accordion-title.active > .toggle i {
  transform: rotate(180deg);
}

.gwsm-private-class-faq .accordion-inner {
  margin: 0;
  padding: 0 16px 16px;
  border: 0;
  background: #fff;
  color: var(--second-text-color, #686d7d);
  font-size: 13px;
  line-height: 2;
  text-align: right;
}

.gwsm-single-product-vitual-faq{
  background-color: #f7f8fc;

}

.gwsm-single-product-vitual-faq .col{
  padding-bottom: 0;

}

body.single-product .gwsm-product-reviews {
  max-height: 420px;
  padding: var(--padding--1);
  overflow-y: auto;
  border: 1px solid var(--border-color, #e7e9f2);
  border-radius: var(--border-radius-20, 20px);
  background: #fff;
  scrollbar-width: thin;
}