@charset "UTF-8";
.icon-hot-deal:before {
    content: url(https://stickerei-ghadere.de/wp-content/uploads/2026/04/angebote-textildruck-stickerei.png)!important;
}

.icon-gift-box:before {
    content: url(https://stickerei-ghadere.de/wp-content/uploads/2026/04/personalisierte-geschenke-textilien.png)!important;
}

.single-product div.product table.variations td.value ul li.variable-item.color-variable-item {
    min-width: 48px!important;
    min-height: 48px!important;
    width: 48px!important;
    height: 48px!important;
}
.single-product div.product table.variations td.value ul li.variable-item.color-variable-item .variable-item-span {

    opacity: 1!important;
}
.inventory_status {
    background: linear-gradient(148deg, #9fec02 19.14%, #E3FF04 38.09%, #E3FF04 100%) !important;

    color: #000000!important;
}

.single-product .summary .single_add_to_cart_button {
    border: 0px!important;
    background: linear-gradient(148deg, #9fec02 19.14%, #E3FF04 38.09%, #abff02 100%) !important;
    text-shadow: 0 0 0px black!important;
}

.owcpv_wrapper .formbuilder-radio-group.color-option .color_group_preview:before {
    width: 42px!important;
    height: 42px!important;

}

.radio-group .owcpv_custom_radio_group .color_group_preview {
    margin-right: 7px!important;
    width: 40px !important;
    height: 40px !important;
}
.hide_label_color .radio-group {
    display: flex!important;
    margin: 15px 0;
    flex-direction: row!important;
    flex-wrap: wrap!important;
}
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider .rtwpvg-gallery-image {
    border-radius: 15px!important;
}

.wapf-swatch-label {
    font-size: 12px!important;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background: linear-gradient(148deg, #9fec02 19.14%, #E3FF04 38.09%, #E3FF04 100%)!important;
    color: #000000!important;
}

.costcalculationproduct{
    display:none!important;
}
.entry-summary form.cart .quantity_wrap {
    display:none!important;
}

.wapf-field-group{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.wapf-field-container.wapf-field-number{
    width:auto !important;
    min-width:110px;
    margin-bottom:-12px;
}

.wapf-field-container.wapf-field-number .wapf-field-label{
    margin-bottom:5px;
    text-align:center;
}

.wapf-field-container.wapf-field-number .apf-plusmin{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}

.field-3492ccf{
        margin-top: -20px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    padding: 10px 15px !important;
    border-radius: 7px!important;
}

/* WESEBO - Equal Product Cards - Soft Background */

/* کارت اصلی عکس */
.woocommerce ul.products li.product .product-transition,
.aprin-products.products li.product .product-transition,
ul.products li.product .product-transition {
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #efefef !important;
}

/* باکس عکس */
.woocommerce ul.products li.product .product-image,
.aprin-products.products li.product .product-image,
ul.products li.product .product-image {
    width: 100% !important;
    aspect-ratio: 2 / 3 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    padding: 0 !important;
    border-radius: 14px !important;

    /* گرادینت خیلی نرم و کم‌مشخص */
    background: linear-gradient(
        180deg,
        #f1f1f1 0%,
        #eeeeee 48%,
        #ececec 100%
    ) !important;
}

/* خود عکس */
.woocommerce ul.products li.product .product-image img,
.aprin-products.products li.product .product-image img,
ul.products li.product .product-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
    margin: 0 auto !important;
}

/* متن‌ها */
.woocommerce ul.products li.product .product-caption,
.aprin-products.products li.product .product-caption,
ul.products li.product .product-caption {
    text-align: center;
}

/* هم‌تراز شدن عنوان‌ها */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.aprin-products.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woocommerce ul.products li.product .product-image img[width="300"][height="300"],
.aprin-products.products li.product .product-image img[width="300"][height="300"],
ul.products li.product .product-image img[width="300"][height="300"] {
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 14%,
        rgba(0, 0, 0, 0.15) 19%,
        #000 30%,
        #000 70%,
        rgba(0, 0, 0, 0.15) 81%,
        transparent 86%,
        transparent 100%
    ) !important;

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 14%,
        rgba(0, 0, 0, 0.15) 19%,
        #000 30%,
        #000 70%,
        rgba(0, 0, 0, 0.15) 81%,
        transparent 86%,
        transparent 100%
    ) !important;
}

/* ==================================================
   Aprin Size Chart Popup - Final CSS
   Centered / Wider / Header Padding / Design Safe
   ================================================== */

/* فقط وقتی SizeChart Popup باز است */
html body .sizechart-popup.active {
  position: fixed !important;

  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;

  transform: translate(-50%, -50%) !important;

  width: min(1100px, 88vw) !important;
  max-width: min(1100px, 88vw) !important;

  height: 62vh !important;
  height: 62dvh !important;
  max-height: 62vh !important;
  max-height: 62dvh !important;

  min-height: 0 !important;

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

  background: #fff !important;
  border-radius: 14px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;

  box-sizing: border-box !important;

  z-index: 999999 !important;

  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    0 0 0 9999px rgba(0, 0, 0, 0.68) !important;
}

/* Elementor داخل Popup نباید اندازه Popup را خراب کند */
html body .sizechart-popup.active > .elementor,
html body .sizechart-popup.active .elementor {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;

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

  overflow: visible !important;
  box-sizing: border-box !important;

  transform: none !important;
}

/* کانتینرهای داخلی Elementor */
html body .sizechart-popup.active .elementor-section,
html body .sizechart-popup.active .elementor-container,
html body .sizechart-popup.active .e-con,
html body .sizechart-popup.active .e-con-inner,
html body .sizechart-popup.active .elementor-widget-wrap,
html body .sizechart-popup.active .elementor-widget,
html body .sizechart-popup.active .elementor-widget-container,
html body .sizechart-popup.active .sg-size-guide {
  max-width: 100% !important;
  min-width: 0 !important;

  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;

  box-sizing: border-box !important;
}

/* طرح‌ها، آیکن‌ها و المنت‌های absolute حذف نشوند */
html body .sizechart-popup.active .elementor-absolute {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* خود محتوای Size Guide */
html body .sizechart-popup.active .sg-size-guide {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* دکمه بستن */
html body .sizechart-popup.active .sizechart-close {
  position: sticky !important;
  top: 10px !important;
  float: right !important;

  width: 36px !important;
  height: 36px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 10px 10px -46px auto !important;

  background: #fff !important;
  color: #111 !important;
  border-radius: 50% !important;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;

  z-index: 1000000 !important;
  text-decoration: none !important;
}

/* ================================
   Header Padding / Spacing
   Header ID: elementor-element-582f189
   ================================ */

html body .sizechart-popup.active .elementor-element-582f189 {
  padding-top: 55px !important;
  padding-bottom: 55px !important;
  padding-left: 34px !important;
  padding-right: 34px !important;

  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Inner container */
html body .sizechart-popup.active .elementor-element-582f189 > .e-con-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  max-width: 100% !important;
}

/* Header content container */
html body .sizechart-popup.active .elementor-element-72499595 {
  padding-top: 20px !important;
  padding-bottom: 24px !important;
}

/* Title */
html body .sizechart-popup.active .elementor-element-703f7bab {
  margin-bottom: 20px !important;
}

html body .sizechart-popup.active .elementor-element-703f7bab .elementor-heading-title {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  line-height: 1.15 !important;
}

/* Subtitle */
html body .sizechart-popup.active .elementor-element-476782e3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-bottom: 10px !important;

  line-height: 1.6 !important;
}

/* ================================
   Tables
   ================================ */

html body .sizechart-popup.active table {
  width: 100% !important;
  max-width: 100% !important;
}

html body .sizechart-popup.active .sg-table-wrap {
  width: 100% !important;
  max-width: 100% !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

/* جدول‌های خیلی عریض */
html body .sizechart-popup.active .sg-table-wrap.sg-wide table {
  min-width: 680px !important;
}

/* ================================
   Mobile
   ================================ */

@media (max-width: 767px) {
  html body .sizechart-popup.active {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;

    height: 68dvh !important;
    max-height: 68dvh !important;

    border-radius: 12px !important;
  }

  html body .sizechart-popup.active .sizechart-close {
    top: 8px !important;

    width: 32px !important;
    height: 32px !important;

    margin: 8px 8px -42px auto !important;
  }

  html body .sizechart-popup.active .elementor-element-582f189 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  html body .sizechart-popup.active .elementor-element-72499595 {
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  html body .sizechart-popup.active .elementor-element-703f7bab .elementor-heading-title {
    line-height: 1.15 !important;
  }
}

.related, .upsells
 {
    padding-bottom: 50px!important;
}

/* ================================
   Professional Brand Filter Styling
   ================================ */

#woocommerce_brand_nav-2 {
  margin-bottom: 34px;
}

#woocommerce_brand_nav-2 .widgettitle {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

#woocommerce_brand_nav-2 .wc-brand-list-layered-nav-product_brand {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#woocommerce_brand_nav-2 .wc-layered-nav-term {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  padding: 10px 0 !important;
  margin: 0 !important;

  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

#woocommerce_brand_nav-2 .wc-layered-nav-term:last-child {
  border-bottom: none !important;
}

#woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;

  color: #555 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;

  transition: all 0.2s ease !important;
}

#woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added:hover {
  color: #111 !important;
  transform: translateX(2px);
}

/* Logo Box */
#woocommerce_brand_nav-2 .filter-brand-logo {
  width: 58px !important;
  height: 34px !important;

  object-fit: contain !important;
  object-position: center !important;

  padding: 5px !important;
  margin: 0 !important;

  background: #fff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 8px !important;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Count */
#woocommerce_brand_nav-2 .wc-layered-nav-term .count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 28px !important;
  height: 24px !important;

  padding: 0 8px !important;

  font-size: 13px !important;
  font-weight: 500 !important;
  color: #777 !important;

  background: #f5f5f5 !important;
  border-radius: 999px !important;
}

/* Hover row effect */
#woocommerce_brand_nav-2 .wc-layered-nav-term:hover .filter-brand-logo {
  border-color: #dcdcdc !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

#woocommerce_brand_nav-2 .wc-layered-nav-term:hover .count {
  color: #111 !important;
  background: #eeeeee !important;
}

/* HAKRO logo slightly wider */
#woocommerce_brand_nav-2 img[alt="Hakro"],
#woocommerce_brand_nav-2 img[alt="HAKRO"] {
  width: 62px !important;
}

/* GÖZZE logo */
#woocommerce_brand_nav-2 img[alt="GÖZZE"],
#woocommerce_brand_nav-2 img[alt="Goezze"] {
  width: 58px !important;
}

/* Beechfield logo */
#woocommerce_brand_nav-2 img[alt="Beechfield"] {
  width: 62px !important;
}

/* ================================
   Mobile - Brand Filter Perfect Fix
   ================================ */

@media (max-width: 767px) {
  #woocommerce_brand_nav-2 {
    margin-bottom: 32px !important;
  }

  #woocommerce_brand_nav-2 .widgettitle {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
  }

  #woocommerce_brand_nav-2 .wc-brand-list-layered-nav-product_brand {
    width: 100% !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;

    padding: 8px 0 !important;
    margin: 0 !important;

    gap: 8px !important;
    box-sizing: border-box !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added {
    display: flex !important;
    align-items: center !important;

    flex: 1 1 auto !important;
    min-width: 0 !important;

    gap: 10px !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    color: #555 !important;
    text-decoration: none !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    transform: none !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added:hover {
    transform: none !important;
    color: #111 !important;
  }

  /* Logo Box Mobile */
  #woocommerce_brand_nav-2 .filter-brand-logo {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;

    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;

    padding: 5px !important;
    margin: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;

    box-sizing: border-box !important;
  }

  /* Brand specific logo width on mobile */
  #woocommerce_brand_nav-2 img[alt="Hakro"],
  #woocommerce_brand_nav-2 img[alt="HAKRO"],
  #woocommerce_brand_nav-2 img[alt="GÖZZE"],
  #woocommerce_brand_nav-2 img[alt="Goezze"],
  #woocommerce_brand_nav-2 img[alt="Beechfield"] {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;

    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  /* Count Mobile */
  #woocommerce_brand_nav-2 .wc-layered-nav-term .count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    min-width: 28px !important;
    height: 24px !important;

    padding: 0 8px !important;
    margin-left: 6px !important;

    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 24px !important;

    color: #777 !important;
    background: #f5f5f5 !important;
    border-radius: 999px !important;

    box-sizing: border-box !important;
  }
}

/* Very small mobile */
@media (max-width: 390px) {
  #woocommerce_brand_nav-2 .wc-layered-nav-term {
    gap: 6px !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added {
    gap: 8px !important;
    font-size: 14px !important;
  }

  #woocommerce_brand_nav-2 .filter-brand-logo,
  #woocommerce_brand_nav-2 img[alt="Hakro"],
  #woocommerce_brand_nav-2 img[alt="HAKRO"],
  #woocommerce_brand_nav-2 img[alt="GÖZZE"],
  #woocommerce_brand_nav-2 img[alt="Goezze"],
  #woocommerce_brand_nav-2 img[alt="Beechfield"] {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    padding: 4px !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term .count {
    min-width: 24px !important;
    height: 22px !important;

    padding: 0 7px !important;

    font-size: 12px !important;
    line-height: 22px !important;
  }
}
/* ================================
   Tablet - Brand Filter Fix
   768px تا 1024px
   ================================ */

@media (min-width: 768px) and (max-width: 1024px) {
  #woocommerce_brand_nav-2 {
    margin-bottom: 32px !important;
  }

  #woocommerce_brand_nav-2 .widgettitle {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;

    padding: 9px 0 !important;
    gap: 10px !important;

    box-sizing: border-box !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added {
    display: flex !important;
    align-items: center !important;

    flex: 1 1 auto !important;
    min-width: 0 !important;

    gap: 11px !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    color: #555 !important;
    text-decoration: none !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    transform: none !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term a.brand-logo-added:hover {
    transform: none !important;
    color: #111 !important;
  }

  #woocommerce_brand_nav-2 .filter-brand-logo {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;

    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;

    padding: 5px !important;
    margin: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;

    box-sizing: border-box !important;
  }

  #woocommerce_brand_nav-2 img[alt="Hakro"],
  #woocommerce_brand_nav-2 img[alt="HAKRO"],
  #woocommerce_brand_nav-2 img[alt="GÖZZE"],
  #woocommerce_brand_nav-2 img[alt="Goezze"],
  #woocommerce_brand_nav-2 img[alt="Beechfield"] {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;

    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  #woocommerce_brand_nav-2 .wc-layered-nav-term .count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    min-width: 26px !important;
    height: 23px !important;

    padding: 0 7px !important;
    margin-left: 6px !important;

    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 23px !important;

    color: #777 !important;
    background: #f5f5f5 !important;
    border-radius: 999px !important;

    box-sizing: border-box !important;
  }
}

/* ============================================================================
   STICKEREI GHADERE | SINGLE PRODUCT – CSS ONLY v9.0
   ---------------------------------------------------------------------------
   01) بخش بیرونی سفارش و Veredelungsart
   02) سربرگ سایزها و دکمه Größentabelle
   03) جدول تعداد سایزها – بدون تغییر در محاسبات
   04) خلاصه قیمت
   05) جدول تخفیف سه‌ستونه
   06) دکمه افزودن به سبد خرید
   07) ریسپانسیو و دسترس‌پذیری

   توجه: این بخش صرفاً نمایشی است. بدون جابه‌جایی DOM، نمی‌توان دورِ
   عناصر با والدهای متفاوت، کادری دقیق از Größentabelle تا دکمه خرید ساخت.
   بنابراین Veredelungsart بیرون از پنلِ تزئینی می‌ماند و قسمت‌های سفارش
   با یک زبان بصری یکپارچه (پس‌زمینه، فاصله‌ها و حاشیه‌ها) نمایش داده می‌شوند.
   ============================================================================ */

/* 01 ── بدنه اصلی فرم: Veredelungsart دیگر داخل کارت بزرگ نیست */
.single-product .summary .woocommerce-variation-add-to-cart:has(.wqm-pricing-table-wrapper) {
    --sg-ink: #1d2519;
    --sg-muted: #727a6b;
    --sg-edge: #e4eadc;
    --sg-lime: #c4f638;
    --sg-soft: #f4fbdc;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    margin: 18px 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* برداشتن هدر و خط سبز کارت قبلی از فرم اصلی */
.single-product .summary .woocommerce-variation-add-to-cart:has(.wqm-pricing-table-wrapper)::before,
.single-product .summary .woocommerce-variation-add-to-cart:has(.wqm-pricing-table-wrapper)::after {
    content: none !important;
    display: none !important;
}

/* عنوان و توضیح Veredelungsart در بیرون از منطقه سفارش */
.single-product .woocommerce-variation-add-to-cart .wapf-field-container:not(.wapf-field-number) > .wapf-field-label label {
    color: var(--sg-ink, #1d2519);
    font-size: 13px;
    font-weight: 750;
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-container:not(.wapf-field-number) > .wapf-field-description {
    color: #787e75;
    font-size: 11px;
    line-height: 1.7;
}

/* 02 ── عنوان بخش سایزها و راهنمای اندازه */
.single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row {
    display: flex !important;
    flex: 0 0 100%;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px;
    margin: 20px 0 4px !important;
    padding: 17px 17px 12px !important;
    border: 1px solid var(--sg-edge, #e4eadc);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: #fbfdf8;
}
.single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row::before {
    content: "GRÖSSEN & MENGEN";
    color: #38462c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.3;
}
.single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row .sizechart-button {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 8px 11px !important;
    border: 1px solid #cee1ad !important;
    border-radius: 8px !important;
    background: #f1f9e1 !important;
    color: #2b451c !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row .sizechart-button:hover {
    background: #e8f7cd !important;
    border-color: #a7ce62 !important;
}
.single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row .sizechart-button:focus-visible {
    outline: 2px solid #749d14;
    outline-offset: 2px;
}

/* 03 ── چینش سایزها؛ محدود به فیلدهای عددی */
.single-product .woocommerce-variation-add-to-cart .wapf-field-group {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 12px;
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-container.wapf-field-number {
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px) !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-number .wapf-field-label {
    text-align: left !important;
    margin: 0 0 6px !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-number .wapf-field-label label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #263023 !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-number .apf-plusmin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    border: 1px solid #dfe5da !important;
    border-radius: 10px !important;
    background: #fff !important;
    transition: border-color .15s ease;
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-number .apf-plusmin:focus-within {
    border-color: #a5cf46 !important;
    box-shadow: 0 0 0 3px rgba(182, 237, 61, .12);
}
.single-product .woocommerce-variation-add-to-cart .wapf-field-number .wapf-field-description {
    font-size: 11px !important;
    color: #858a80 !important;
    line-height: 1.5 !important;
}
/* فیکس اختصاصی تاییدشده برای XXXL؛ سایر سایزها تغییر موقعیت ندارند */
.single-product .woocommerce-variation-add-to-cart .wapf-field-number.field-3492ccf {
    margin-top: -25px !important;
}

/* 04 ── خلاصه مبالغ؛ اندازه متن کنترل‌شده */
.single-product .woocommerce-variation-add-to-cart .wapf-product-totals {
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0 0 !important;
    padding: 14px 16px !important;
    background: #f7f9f4;
    border: 1px solid var(--sg-edge, #e4eadc) !important;
    border-radius: 13px !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-product-totals .wapf--inner > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 5px 0 !important;
    line-height: 1.45 !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-product-totals .wapf--inner > div > span:first-child {
    flex: 1 1 auto;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #70796b !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-product-totals .wapf--inner > div > span:last-child {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 12px !important;
    font-weight: 650 !important;
    color: #263021 !important;
    text-align: right !important;
    overflow-wrap: anywhere;
}
.single-product .woocommerce-variation-add-to-cart .wapf-product-totals .wapf--inner > div:last-child {
    border-top: 1px solid #dfe7d9;
    margin-top: 7px !important;
    padding-top: 10px !important;
}
.single-product .woocommerce-variation-add-to-cart .wapf-product-totals .wapf--inner > div:last-child > span {
    color: #162013 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

/* 05 ── جدول Staffelpreise، سه ستون در دسکتاپ */
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table-wrapper {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 16px 0 12px !important;
    padding: 15px !important;
    background: #fff;
    border: 1px solid var(--sg-edge, #e4eadc);
    border-radius: 15px;
    overflow: visible;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table-wrapper::before {
    content: "STAFFELPREISE · PREIS PRO STÜCK";
    display: block;
    margin-bottom: 12px;
    color: #36442a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.5;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table-wrapper::after {
    content: "Alle Größen werden zusammengezählt. Die passende Preisstaffel wird automatisch markiert.";
    display: block;
    margin-top: 10px;
    color: #7b8475;
    font-size: 10px;
    line-height: 1.5;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-spacing: 0 !important;
    background: transparent !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table thead {
    display: none !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-width: 0;
    min-height: 85px;
    box-sizing: border-box;
    padding: 12px 10px 10px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #e3e9df !important;
    border-radius: 11px !important;
    box-shadow: 0 2px 8px rgba(24,45,8,.025) !important;
    cursor: pointer;
    transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr td {
    display: block !important;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
    line-height: 1.3 !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table td[data-item="range"] {
    color: #78816f !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table td[data-item="price"] {
    color: #151e11 !important;
    font-size: clamp(13px,1.22vw,17px) !important;
    font-weight: 800 !important;
    white-space: nowrap;
    letter-spacing: -.02em;
    margin-bottom: 6px !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table td[data-item="discount_percent"] span {
    display: inline-block !important;
    padding: 3px 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #4c792c !important;
    background: #edf8e5 !important;
    border-radius: 5px !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table td[data-item="discount_percent"][data-raw^="-"] span {
    color: #a35e16 !important;
    background: #fff1e3 !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr.active {
    background: #f3ffd8 !important;
    border: 2px solid #b0d93e !important;
    padding: 11px 9px 9px !important;
    box-shadow: 0 6px 16px rgba(145,200,35,.09) !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr.active::before {
    content: "AKTIV";
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 3px 5px;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    color: #17210f;
    background: #c8fa45;
    border-radius: 5px;
    pointer-events: none;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr:last-child:not(.active) {
    border-color: #bfda91 !important;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr:last-child::after {
    content: "TOP-STAFFEL";
    position: absolute;
    top: 6px;
    right: 6px;
    color: #557b24;
    font-size: 7px;
    font-weight: 800;
    pointer-events: none;
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr:last-child.active::after {
    display: none;
}
@media (hover: hover) {
    .single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr:hover {
        background: #fbfff1 !important;
        border-color: #b0d83a !important;
    }
}
.single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr:focus-visible {
    outline: 2px solid #709a1b;
    outline-offset: 2px;
}

/* 06 ── دکمه خرید اصلی؛ بدون تغییر رویدادها */
.single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px;
    box-sizing: border-box;
    padding: 13px 16px !important;
    margin: 12px 0 0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(150,220,20,.14) !important;
}

/* 07 ── موبایل و نمایشگرهای کوچک */
@media (max-width: 767px) {
    .single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row {
        padding: 12px 10px 9px !important;
        border-radius: 13px 13px 0 0;
        gap: 5px;
    }
    .single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row::before {
        font-size: 9px;
        letter-spacing: .02em;
    }
    .single-product .woocommerce-variation-add-to-cart .wesebo-sizechart-row .sizechart-button {
        padding: 7px 8px !important;
        font-size: 10px !important;
    }
    .single-product .woocommerce-variation-add-to-cart .wqm-pricing-table-wrapper {
        padding: 11px !important;
    }
    .single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .single-product .woocommerce-variation-add-to-cart .wqm-pricing-table td[data-item="price"] {
        font-size: 16px !important;
    }
}
@media (max-width: 360px) {
    .single-product .woocommerce-variation-add-to-cart .wqm-pricing-table td[data-item="price"] {
        font-size: 14px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .single-product .woocommerce-variation-add-to-cart .wqm-pricing-table tbody tr,
    .single-product .woocommerce-variation-add-to-cart .wapf-field-number .apf-plusmin {
        transition: none !important;
    }
}

/* ==========================================
   WESEBO – Size Section Header Border Fix
   Only visual correction
   ========================================== */

.single-product .woocommerce-variation-add-to-cart
.wesebo-sizechart-row {
    width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;

    margin: 8px 0 18px !important;
    padding: 0 0 14px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid #e5eadf !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* Section heading */
.single-product .woocommerce-variation-add-to-cart
.wesebo-sizechart-row::before {
    content: "GRÖSSEN & MENGEN";
    display: block;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    color: #303b28 !important;
}

/* Size chart button */
.single-product .woocommerce-variation-add-to-cart
.wesebo-sizechart-row .sizechart-button {
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: 9px !important;
    flex-shrink: 0;
}

/* WESEBO – Header Cart: Count Only */

/* Hide subtotal price beside header cart icon */
.site-header-cart.menu
.cart-contents > .woocommerce-Price-amount {
    display: none !important;
}

/* Hide VAT note beside header cart icon */
.site-header-cart.menu
.cart-contents > .tax_label {
    display: none !important;
}

/* Keep item counter visible */
.site-header-cart.menu
.cart-contents > .count {
    display: inline-flex !important;
}