/* استایل مراحل خرید */
.pymcartcust-checkout-steps {
    width: 100%;
    max-width: 420px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: auto;
  }
  
  .pymcartcust-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      cursor: pointer;
  }
  
  .pymcartcust-step-icon {
      width: 56px;
      height: 56px;
      background-color: #ffffff;
      border: 1.5px solid #F0F0F0;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      margin-bottom: 8px;
      transition: all 0.3s ease;
  }
  
  .pymcartcust-step-icon img.pymcartcust-icon {
      width: 24px;
      height: 24px;
      transition: filter 0.3s ease;
  }
  
  .pymcartcust-step-label {
      font-size: 12px;
      color: #868686;
      font-weight: 200;
  }
  
  /* رنگ متن در حالت فعال */
  .pymcartcust-step.active .pymcartcust-step-label {
      color: #005D52;
      font-size: 12px;
      font-weight: 300;
  }
  
  /* حالت فعال */
  .pymcartcust-step.active .pymcartcust-step-icon {
      background-color: #005D52;
      border: none;
  }
  
  .pymcartcust-step.active .pymcartcust-step-icon img.pymcartcust-icon,
  .pymcartcust-step.active .pymcartcust-step-icon svg,
  .pymcartcust-step.active .pymcartcust-step-icon svg path {
      filter: brightness(0) invert(1) !important;
      fill: #fff !important;
      color: #fff !important;
      stroke: #fff !important;
  }
  
  /* روش جایگزین برای SVG */
  .pymcartcust-step.active .pymcartcust-step-icon svg {
      fill: white;
      color: white;
  }
  
  .pymcartcust-step.active .pymcartcust-step-icon svg path {
      fill: white;
      stroke: white;
  }
  
  /* روش مستقیم برای تغییر رنگ آیکون */
  .pymcartcust-step.active .pymcartcust-step-icon img.pymcartcust-icon {
      filter: brightness(0) invert(1) !important;
  }
  
  /* حالت غیرفعال */
  .pymcartcust-step.disabled {
      cursor: not-allowed;
  }
  
  .pymcartcust-step.disabled .pymcartcust-step-icon {
      opacity: 0.5;
  }
  
  .pymcartcust-step.disabled .pymcartcust-step-icon img.pymcartcust-icon,
  .pymcartcust-step.disabled .pymcartcust-step-icon svg,
  .pymcartcust-step.disabled .pymcartcust-step-icon svg path {
      filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.5) contrast(1) !important;
      fill: #868686 !important;
      color: #868686 !important;
      stroke: #868686 !important;
  }
  
  /* حالت غیرفعال (inactive) */
  .pymcartcust-step.inactive .pymcartcust-step-icon img.pymcartcust-icon,
  .pymcartcust-step.inactive .pymcartcust-step-icon svg,
  .pymcartcust-step.inactive .pymcartcust-step-icon svg path {
      filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.5) contrast(1) !important;
      fill: #868686 !important;
      color: #868686 !important;
      stroke: #868686 !important;
  }
  
  /* روش جایگزین برای حالت غیرفعال */
  .pymcartcust-step:not(.active) .pymcartcust-step-icon img.pymcartcust-icon,
  .pymcartcust-step:not(.active) .pymcartcust-step-icon svg,
  .pymcartcust-step:not(.active) .pymcartcust-step-icon svg path {
      filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.5) contrast(1) !important;
      fill: #868686 !important;
      color: #868686 !important;
      stroke: #868686 !important;
  }
  
  /* خطوط اتصال بین مراحل */
  .pymcartcust-step-connector {
      flex: 1;
      height: 2px;
      margin: 0 10px; /* فاصله از آیکن‌ها */
      position: relative;
      top: -16px; /* تنظیم موقعیت خط نسبت به آیکن‌ها */
      transition: background-color 0.3s ease;
  }
  
  /* حالت غیرفعال (پیش‌فرض) */
  .pymcartcust-step-connector.inactive {
      background-color: #828282;
  }
  
  /* حالت فعال */
  .pymcartcust-step-connector.active {
      background-color: #005D52;
  }
  
  /* محتوای مراحل */
  #step-content {
      border: none;
      padding: 0;
      border-radius: 0;
  }
  
  .woocommerce-order-overview {
      list-style: none;
      padding: 0;
  }
  
  .woocommerce-order-overview li {
      margin-bottom: 10px;
      font-size: 16px;
  }
  
  .woocommerce-order-overview li strong {
      font-weight: bold;
      color: #066737;
  }
  
  
  
  /* استایل کانتینر کلی سبد خرید */
  .pymcartcust-cart-container {
      display: flex;
      gap: 20px;
      border: 1.5px solid #F0F0F0;
      border-radius: 16px;
      padding: 20px 20px 20px 40px;
      direction: rtl;
  }
  
  /* بخش محصولات (70%) */
  .pymcartcust-cart-products {
      flex: 1 1 70%;
      border-radius: 16px;
      padding: 20px 20px 20px 40px;
      direction: rtl;
      display: flex;
      flex-direction: column;
      gap: 16px;
  }
  
  /* When cart is empty on desktop, make product list take full width */
  .pymcartcust-cart-products:only-child {
    flex-basis: 100%;
    background-color: #ffffff;
  }
  
  
  
  /* لیست محصولات */
  .pymcartcust-product-list {
      display: flex;
      flex-direction: column;
      gap: 70px;
      padding: 0;
      margin: 0;
  }
  
  /* هر آیتم محصول - کارت با بک‌گراند سفید */
  .pymcartcust-product-item {
      display: flex;
      align-items: center;
      background-color: #ffffff;
      border-radius: 16px;
      padding: 16px;
      position: relative;
      gap: 16px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  /* آیکون حذف در گوشه بالا سمت چپ - فقط در دسکتاپ */
  .pymcartcust-remove-item {
      position: absolute;
      top: 12px;
      left: 12px;
      background: none !important;
      background-color: transparent !important;
      border: none;
      cursor: pointer;
      padding: 4px;
      border-radius: 4px;
      transition: background-color 0.2s ease;
  }
  
  .pymcartcust-remove-item img {
      width: 20px;
      height: 20px;
      display: block;
  }
  
  .pymcartcust-remove-item:hover {
      background-color: #d3111b;
  }
  
  .pymcartcust-remove-item svg {
      width: 16px;
      height: 16px;
  }
  
  /* بخش تصویر محصول - بیرون زده از کارت */
  .pymcartcust-product-image-section {
      flex-shrink: 0;
      position: relative;
      z-index: 2;
  }
  
  .pymcartcust-product-image {
      width: 145px;
      height: 222px;
      background: #f7f7f7;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      margin-top: -60px; /* بیرون زدن از کارت */
  }
  
  .pymcartcust-product-image img {
      width: 145px;
      height: 222px !important;
      object-fit: cover;
  }
  
  /* بخش جزئیات محصول */
  .pymcartcust-product-details-section {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-right: 8px;
  }
  
  .pymcartcust-product-info {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 20px;
  }
  
  .pymcartcust-product-category {
      font-size: 12px;
      font-weight: 500;
      color: #828282;
  }
  
  .pymcartcust-product-name a {
      font-size: 14px;
      color: #333;
      text-decoration: none;
      font-weight: 500;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }
  
  .pymcartcust-product-unit-price {
      margin-top: 0;
      display: flex;
      flex-direction: column;
      gap: 4px;
  }
  
  .pymcartcust-product-unit-price .woocommerce-Price-amount {
      font-size: 16px;
      font-weight: 600;
      color: #333;
  }
  
  .pymcartcust-product-unit-price .woocommerce-Price-currencySymbol {
      font-size: 12px;
      font-weight: 400;
      color: #828282;
      margin-right: -4px;
      margin-left: 2px;
  }
  
  .pymcartcust-product-unit-price del {
      filter: blur(1px);
      text-decoration: none;
      margin-left: 8px;
  }
  
  .pymcartcust-product-unit-price del .woocommerce-Price-amount {
      font-size: 14px;
      color: #828282;
      font-weight: 400;
  }
  
  .pymcartcust-product-unit-price del .woocommerce-Price-currencySymbol {
      display: none;
  }
  
  .pymcartcust-product-unit-price ins {
      text-decoration: none;
  }
  
  /* بخش کنترل‌ها در سمت چپ */
  .pymcartcust-product-controls-section {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 16px;
      flex-shrink: 0;
  }
  
  /* استایل دکمه‌های کم و زیاد کردن در صفحه سبد خرید - سازگار با ویجت مینی سبد خرید */
  .pymcartcust-product-quantity .quantity-buttons {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      margin-top: 30px;
  }
  
  .pymcartcust-product-quantity .quantity {
      width: 32px;
      height: 32px;
      text-align: center;
      font-size: 14px;
      color: #333;
      border: none;
      border-radius: 8px;
      background: none;
      line-height: 30px;
      font-weight: 500;
      user-select: none; /* جلوگیری از انتخاب متن */
  }
  
  .pymcartcust-product-quantity .qnt-btn {
      width: 32px;
      height: 32px;
      text-align: center;
      color: #010D0A;
      font-size: 16px;
      cursor: pointer;
      border-radius: 8px;
      transition: all 0.2s ease;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none !important;
      font-weight: 500;
      user-select: none; /* جلوگیری از انتخاب متن */
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
  }
  
  .pymcartcust-product-quantity .qnt-btn.plus {
      background: #F2F3F6;
  }
  
  .pymcartcust-product-quantity .qnt-btn.minus {
      background: #F2F3F64D;
  }
  
  .pymcartcust-product-quantity .qnt-btn:hover {
      background: #0C673B;
      color: #fff;
      transform: scale(1.05); /* افکت hover بهتر */
  }
  
  .pymcartcust-product-quantity .qnt-btn:active {
      transform: scale(0.95); /* افکت کلیک */
  }
  
  /* استایل دکمه حذف (trash) برای صفحه سبد خرید */
  .pymcartcust-product-quantity .minus.qnt-btn.trash::before {
      content: '';
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path d="M2 4.49998H3.33333M3.33333 4.49998H14M3.33333 4.49998V13.8333C3.33333 14.1869 3.47381 14.5261 3.72386 14.7761C3.97391 15.0262 4.31304 15.1666 4.66667 15.1666H11.3333C11.687 15.1666 12.0261 15.0262 12.2761 14.7761C12.5262 14.5261 12.6667 14.1869 12.6667 13.8333V4.49998M5.33333 4.49998V3.16665C5.33333 2.81302 5.47381 2.47389 5.72386 2.22384C3.97391 1.97379 6.31304 1.83331 6.66667 1.83331H9.33333C9.68696 1.83331 10.0261 1.97379 10.2761 2.22384C10.5262 2.47389 10.6667 2.81302 10.6667 3.16665V4.49998M6.66667 7.83331V11.8333M9.33333 7.83331V11.8333" stroke="%23CF2E2E" stroke-linecap="round" stroke-linejoin="round"/></svg>');
      display: block;
      width: 16px;
      height: 16px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
  }
  
  .pymcartcust-product-quantity .minus.qnt-btn.trash:hover::before {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path d="M2 4.49998H3.33333M3.33333 4.49998H14M3.33333 4.49998V13.8333C3.33333 14.1869 3.47381 14.5261 3.72386 14.7761C3.97391 15.0262 4.31304 15.1666 4.66667 15.1666H11.3333C11.687 15.1666 12.0261 15.0262 12.2761 14.7761C12.5262 14.5261 12.6667 14.1869 12.6667 13.8333V4.49998M5.33333 4.49998V3.16665C5.33333 2.81302 5.47381 2.47389 5.72386 2.22384C3.97391 1.97379 6.31304 1.83331 6.66667 1.83331H9.33333C9.68696 1.83331 10.0261 1.97379 10.2761 2.22384C10.5262 2.47389 10.6667 2.81302 10.6667 3.16665V4.49998M6.66667 7.83331V11.8333M9.33333 7.83331V11.8333" stroke="%23FFFFFF" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  }
  
  /* قیمت کل محصول */
  .pymcartcust-product-total-price {
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-top: 10px;
  }
  
  .pymcartcust-price-regular {
      font-size: 14px;
      color: #828282;
      font-weight: 400;
      text-decoration: none;
      opacity: 0.8;
      filter: blur(1px);
  }
  
  .pymcartcust-price-final {
      font-size: 18px;
      font-weight: 600;
      color: #333;
  }
  
  .pymcartcust-price-label {
      font-size: 16px;
      font-weight: 200;
      color: #3A3A3A;
  }
  
  .pymcartcust-price-amount {
      font-size: 24px;
      font-weight: 300;
      color: #3A3A3A;
  }
  
  .pymcartcust-price-currency {
      font-size: 12px;
      font-weight: 200;
      color: #8E8E8E;
  }
  
  /* پیام سبد خرید خالی - حذف شده چون در HTML جدید تعریف شده */
  
  /* بخش جمع‌بندی (30%) */
  .pymcartcust-cart-summary {
      flex: 0 0 30%;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      height: fit-content;
  }
  
  /* سرتیتر کد تخفیف */
  .pymcartcust-coupon-header {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymcartcust-coupon-icon {
      width: 24px;
      height: 24px;
  }
  
  .pymcartcust-coupon-title {
      font-size: 16px;
      font-weight: 500;
      color: #010D0A;
  }
  
  /* استایل کد تخفیف */
  .pymcartcust-coupon {
      position: relative;
  }
  
  .pymcartcust-coupon-input {
      width: 100% !important;
      padding: 15px 15px 15px 10px !important;
      background-color: #f8f9fa;
      border: none !important;
      border-radius: 12px !important;
      font-size: 12px;
      font-weight: 400;
      color: #868686;
  }
  
  .pymcartcust-coupon-input::placeholder {
      color: #868686;
      font-size: 12px;
      font-weight: 200;
  }
  
  .pymcartcust-apply-coupon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none !important;
      border: none !important;
      color: #066737 !important;
      font-size: 14px !important;
      font-weight: 200 !important;
      cursor: pointer !important;
  }
  
  /* خط جداکننده */
  .pymcartcust-divider {
      border-top: 1px solid #F0F0F0;
      margin: 10px 0;
  }
  
  /* استایل جزئیات جمع‌بندی */
  .pymcartcust-summary-details {
      display: flex;
      flex-direction: column;
      gap: 5px;
  }
  
  .pymcartcust-summary-details > div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
      background-color: #f8f9fa;
      padding: 18px 16px;
      border-radius: 8px;
      margin-bottom: 8px;
  }
  
  .pymcartcust-item-icon {
      width: 16px;
      height: 16px;
      margin-right: 5px;
  }
  
  .pymcartcust-item-left {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymcartcust-item-right {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymcartcust-cart-discount .pymcartcust-value {
      color: #28a745;
      font-weight: 500;
  }
  
  .pymcartcust-label {
      font-size: 12px;
      color: #6B6B6B;
      font-weight: 200;
  }
  
  .pymcartcust-cart-items .pymcartcust-label,
  .pymcartcust-cart-savings .pymcartcust-label {
      font-weight: 200;
  }
  
  .pymcartcust-cart-total .pymcartcust-label {
      font-weight: 400;
      font-size: 14px;
      color: #121212;
  }
  
  .pymcartcust-value {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymcartcust-number {
      font-size: 14px;
      font-weight: 200;
      color: #121212;
  }
  
  .pymcartcust-cart-total .pymcartcust-number {
      font-size: 16px;
      font-weight: 400;
  }
  
  .pymcartcust-unit {
      font-size: 12px;
      font-weight: 200;
      color: #6B6B6B;
  }
  
  /* دکمه تایید و تکمیل سفارش */
  .pymcartcust-checkout-button {
      display: block;
      text-align: center;
      background-color: #008071;
      color: #ffffff !important;
      padding: 16px;
      border-radius: 8px;
      font-size: 16px !important;
      font-weight: 500 !important;
      text-decoration: none;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      margin-top: 20px;
  }
  
  .pymcartcust-checkout-button:hover {
      background-color: #006d5f;
  }
  
  /* ریسپانسیو برای تبلت (عرض 768px تا 1024px) */
  @media (max-width: 1024px) {
      /* مخفی کردن دکمه حذف در تبلت */
      .pymcartcust-remove-item {
          display: none !important;
      }
      
      .pymcartcust-cart-container {
          gap: 15px;
          padding: 15px 15px 15px 30px;
      }
  
      .pymcartcust-cart-products {
          flex: 0 0 65%;
      }
  
      .pymcartcust-cart-summary {
          flex: 0 0 35%;
          padding: 12px;
      }
  
      .pymcartcust-quantity-column,
      .pymcartcust-price-column {
          width: 120px;
      }
  
      .pymcartcust-product-item .mini-cart-product-image {
          width: 80px;
          height: 84px;
      }
  
      .pymcartcust-product-item .mini-cart-product-image img {
          width: 60px;
          height: 60px;
      }
  
      .pymcartcust-product-item .mini-cart-product-details {
          margin-right: 8px;
      }
  
      .pymcartcust-cart-title {
          font-size: 16px;
      }
  
      .pymcartcust-cart-count {
          font-size: 12px;
          padding: 3px 6px;
      }
  }
  
  
  .pymchekoutcust-price-column {
    display: flex;
    justify-content: flex-end;
  }
  
  /* ریسپانسیو برای موبایل (عرض کمتر از 768px) */
  @media (max-width: 767px) {
      /* مخفی کردن دکمه حذف در موبایل */
      .pymcartcust-remove-item {
          display: none !important;
      }
      
      .pymcartcust-cart-container {
          flex-direction: column;
          padding: 15px;
          gap: 20px;
      }
      
      .pymcartcust-checkout-steps{
          width:100%;       /* پرکردن کل عرض موبایل */
          max-width:100%;   /* احتیاطی، تا حاشیه‌ای ایجاد نشود */
      }
  
      .pymcartcust-cart-products,
      .pymcartcust-cart-summary {
          flex: 0 0 100%;
          width: 100%;
      }
  
      .pymcartcust-cart-products {
          order: 1;
          padding:1px;
      }
  
      .pymcartcust-cart-summary {
          order: 2;
          padding: 16px;
      }
  
      /* استایل کارت محصولات در موبایل - مطابق با اسکرین‌شات */
      .pymcartcust-product-item {
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 12px;
          padding: 16px;
          height: 142px;
          position: relative;
      }
      
      .pymcartcust-product-list {
          gap:15px;
      }
  
            /* آیکون حذف در موبایل - مخفی شده */
      .pymcartcust-remove-item {
          display: none !important;
      }
  
      /* بخش سمت راست: تصویر و جزئیات محصول */
      .pymcartcust-product-image-section {
          flex-shrink: 0;
          width: 80px;
          height: 80px;
          margin: 0;
      }
  
      .pymcartcust-product-image {
          width: 80px;
          height: 80px;
          margin: 0;
          border-radius: 8px;
          overflow: hidden;
      }
  
      .pymcartcust-product-image img {
          width: 80px;
          height: 80px;
          object-fit: cover;
      }
  
      /* بخش مرکزی: جزئیات محصول */
      .pymcartcust-product-details-section {
          flex: 1;
          display: flex;
          flex-direction: column;
          gap: 8px;
          margin: 0;
          padding: 0 8px;
      }
  
      .pymcartcust-product-info {
          display: flex;
          flex-direction: column;
          gap: 4px;
          margin: 0;
      }
  
      .pymcartcust-product-category {
          font-size: 12px;
          font-weight: 400;
          color: #828282;
          margin: 0;
      }
  
      .pymcartcust-product-name a {
          font-size: 14px;
          font-weight: 500;
          color: #333;
          line-height: 1.3;
          margin: 0;
      }
  
      .pymcartcust-product-unit-price {
          margin: 0;
          display: flex;
          flex-direction: column;
          gap: 2px;
      }
  
      .pymcartcust-product-unit-price .woocommerce-Price-amount {
          font-size: 14px;
          font-weight: 500;
          color: #333;
      }
  
      /* بخش سمت چپ: کنترل‌ها و قیمت کل */
      .pymcartcust-product-controls-section {
          display: flex;
          flex-direction: column;
          align-items: flex-end;
          gap: 12px;
          flex-shrink: 0;
      }
  
      /* دکمه‌های کم و زیاد */
      .pymcartcust-product-quantity .quantity-buttons {
          display: flex;
          align-items: center;
          gap: 4px;
          margin: 0;
      }
  
      .pymcartcust-product-quantity .quantity {
          width: 32px;
          height: 32px;
          text-align: center;
          font-size: 14px;
          color: #333;
          border: none;
          border-radius: 8px;
          background: none;
          line-height: 30px;
          font-weight: 500;
          user-select: none;
      }
  
      .pymcartcust-product-quantity .qnt-btn {
          width: 32px;
          height: 32px;
          text-align: center;
          color: #010D0A;
          font-size: 16px;
          cursor: pointer;
          border-radius: 8px;
          transition: all 0.2s ease;
          padding: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          border: none !important;
          font-weight: 500;
          user-select: none;
      }
  
      .pymcartcust-product-quantity .qnt-btn.plus {
          background: #F2F3F6;
      }
  
      .pymcartcust-product-quantity .qnt-btn.minus {
          background: #F2F3F64D;
      }
  
      .pymcartcust-product-quantity .qnt-btn:hover {
          background: #0C673B;
          color: #fff;
          transform: scale(1.05);
      }
  
      /* قیمت کل محصول */
      .pymcartcust-product-total-price {
          text-align: right;
          display: flex;
          flex-direction: column;
          gap: 2px;
          margin: 0;
      }
  
      .pymcartcust-price-regular {
          font-size: 12px;
          color: #828282;
          font-weight: 400;
          text-decoration: none;
          opacity: 0.8;
          filter: blur(1px);
      }
  
      .pymcartcust-price-final {
          font-size: 16px;
          font-weight: 600;
          color: #333;
      }
  
      .pymcartcust-price-label {
          font-size: 12px;
          font-weight: 400;
          color: #3A3A3A;
      }
  
      .pymcartcust-price-amount {
          font-size: 18px;
          font-weight: 500;
          color: #3A3A3A;
      }
  
      .pymcartcust-price-currency {
          font-size: 10px;
          font-weight: 400;
          color: #8E8E8E;
      }
  
      .pymcartcust-coupon-title {
          font-size: 12px;
          font-weight:200;
      }
  
      .pymcartcust-coupon-icon {
          width: 20px;
          height: 20px;
      }
  
      .pymcartcust-checkout-button {
          font-size: 14px !important;
          padding: 10px;
      }
  
      .pymcartcust-item-icon {
          width: 14px;
          height: 14px;
          margin-right: 5px;
      }
  
      .pymcartcust-summary-details > div {
          padding: 10px 12px;
          margin-bottom: 6px;
      }
  
      .pymcartcust-step-icon {
          width: 48px;
          height: 48px;
          padding: 12px;
      }
  
      .pymcartcust-step-icon img.pymcartcust-icon {
          width: 20px;
          height: 20px;
      }
  
      .pymcartcust-step-label {
          font-size: 12px;
      }
  
      .pymcartcust-step-connector {
          margin: 0 5px;
          top: -20px;
      }
  }
  
  /* حالت دسکتاپ */
  .pymcartcust-step.active .pymcartcust-step-label {
      color: #005D52;      /* رنگ مرحله فعال */
      font-weight: 300;    /* وزن 300 */
      font-size: 12px;     /* سایز 12 */
  }
  
  .pymcartcust-step:not(.active) .pymcartcust-step-label {
      color: #868686;      /* رنگ مرحله غیر‌فعال */
      font-weight: 200;    /* وزن 200 */
      font-size: 12px;     /* سایز 12 */
  }
  
  /* حالت موبایل */
  @media (max-width: 768px) {
      .pymcartcust-step .pymcartcust-step-label {
          font-size: 12px !important;  /* سایز 12 برای همه مراحل */
      }
      
      .pymcartcust-step.active .pymcartcust-step-label {
          color: #005D52 !important;
          font-weight: 300 !important;
      }
      
      .pymcartcust-step:not(.active) .pymcartcust-step-label {
          color: #868686 !important;
          font-weight: 200 !important;
      }
      
      .pymcartcust-step-connector {
          margin-top: 16px !important;
      }
  }
  
  /* مخفی کردن کد تخفیف در تسویه حساب */
  .woocommerce-form-coupon-toggle {
      display: none !important;
  }
  
  /* استایل کانتینر کلی تسویه حساب */
  .pymchekoutcust-checkout-container {
      background-color: #ffffff;
      border: 1.5px solid #F0F0F0;
      border-radius: 16px;
      padding: 20px 20px 20px 40px;
      direction: rtl;
  }
  
  /* لایه داخلی برای چیدمان flex */
  .pymchekoutcust-checkout-inner {
      display: flex;
      gap: 20px;
  }
  
  /* بخش فرم اطلاعات (70%) */
  .pymchekoutcust-checkout-form {
      flex: 0 0 70%;
  }
  
  /* بخش جمع‌بندی سفارش (30%) */
  .pymchekoutcust-checkout-summary {
      flex: 0 0 30%;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      height: fit-content;
  }
  
  /* سرتیتر کد تخفیف */
  .pymchekoutcust-coupon-header {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymchekoutcust-coupon-icon {
      width: 16px;
      height: 16px;
  }
  
  .pymchekoutcust-coupon-title {
      font-size: 16px;
      font-weight: 500;
      color: #010D0A;
  }
  
  /* استایل کد تخفیف */
  .pymchekoutcust-coupon {
      position: relative;
  }
  
  .pymchekoutcust-coupon-input {
      width: 100% !important;
      padding: 15px 15px 15px 10px !important;
      background-color: #f8f9fa;
      border: none !important;
      border-radius: 12px !important;
      font-size: 12px;
      font-weight: 400;
      color: #868686;
  }
  
  .pymchekoutcust-coupon-input::placeholder {
      color: #868686;
      font-size: 12px;
      font-weight: 200;
  }
  
  .pymchekoutcust-apply-coupon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none !important;
      border: none !important;
      color: #066737 !important;
      font-size: 14px !important;
      font-weight: 200 !important;
      cursor: pointer !important;
  }
  
  /* خط جداکننده */
  .pymchekoutcust-divider {
      border-top: 1px solid #F0F0F0;
      margin: 10px 0;
  }
  
  /* استایل جزئیات جمع‌بندی */
  .pymchekoutcust-summary-details {
      display: flex;
      flex-direction: column;
      gap: 5px;
  }
  
  .pymchekoutcust-summary-details > div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
      background-color: #f8f9fa;
      padding: 18px 16px;
      border-radius: 8px;
      margin-bottom: 8px;
  }
  
  .pymchekoutcust-item-icon {
      width: 16px;
      height: 16px;
      margin-right: 5px;
  }
  
  .pymchekoutcust-item-left {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymchekoutcust-item-right {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymchekoutcust-cart-discount .pymchekoutcust-value {
      color: #28a745;
      font-weight: 500;
  }
  
  .pymchekoutcust-label {
      font-size: 12px;
      color: #6B6B6B;
      font-weight: 200;
  }
  
  .pymchekoutcust-cart-items .pymchekoutcust-label,
  .pymchekoutcust-cart-savings .pymchekoutcust-label {
      font-weight: 200;
  }
  
  .pymchekoutcust-cart-total .pymchekoutcust-label {
      font-weight: 400;
      font-size: 14px;
      color: #121212;
  }
  
  .pymchekoutcust-value {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymchekoutcust-number {
      font-size: 14px;
      font-weight: 200;
      color: #121212;
  }
  
  .pymchekoutcust-cart-total .pymchekoutcust-number {
      font-size: 16px;
      font-weight: 400;
  }
  
  /* عنوان اصلی */
  .pymchekoutcust-main-title {
      font-size: 22px !important;
      font-weight: 500 !important;
      color: #010D0A !important;
      margin: 0;
  }
  
  /* خط جداکننده */
  .pymchekoutcust-divider {
      border-top: 1px solid #F0F0F0;
      margin: 10px 0;
  }
  
  /* عنوان اطلاعات تحویل گیرنده */
  .pymchekoutcust-recipient-title,
  .pymchekoutcust-address-title {
      font-size: 16px;
      font-weight: 500;
      color: #010D0A;
      margin: 20px 0;
  }
  
  
  .woocommerce-page form .form-row .input-text {
      border-radius: 8px;
  }
  /* ردیف‌های فیلدها */
  .pymchekoutcust-field-row {
      display: flex;
      gap: 20px;
      margin-bottom: 15px;
  }
  
  .pymchekoutcust-field-row .form-row {
      flex: 1;
      margin: 0;
  }
  
  /* استایل لیبل‌ها */
  .pymchekoutcust-label {
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
      margin-bottom: 5px;
      display: block;
  }

  .pymchekoutcust-item-left .pymchekoutcust-label {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 200;
    color: #6b6b6b;
  }
  
  /* استایل اینپوت‌ها */
  .pymchekoutcust-input {
      width: 100%;
      background-color: #F7F7F7 !important;
      padding: 16px 6px !important;
      border: none !important;
      box-shadow: none !important;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
  }
  
  /* استایل Select2 */
  .select2-container--default .select2-selection--single {
      background-color: #F7F7F7 !important;
      border: none !important;
      box-shadow: none !important;
      border-radius: 8px;
      height: 52px; /* 16px padding بالا + 16px padding پایین + 20px ارتفاع متن */
      padding: 16px 6px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__rendered {
      color: #010D0A;
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__placeholder {
      color: rgba(1, 13, 10, 0.5);
      font-size: 14px;
      font-weight: 400;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__arrow {
      height: 52px;
      top: 0;
      right: 6px;
  }
  
  /* استایل لیست بازشونده */
  .select2-container--default .select2-results__option {
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
  }
  
  .select2-container--default .select2-results__option--highlighted[aria-selected] {
      background-color: #066737;
      color: #ffffff;
  }
  
  /* استایل textarea */
  .pymchekoutcust-textarea {
      min-height: 101px;
      resize: vertical;
  }
  
  /* استایل پلیسV2 پلیس‌هولدر */
  .pymchekoutcust-input::placeholder {
      color: rgba(1, 13, 10, 0.5);
      font-size: 14px;
      font-weight: 400;
  }
  
  /* انتخاب نحوه ارسال */
  .pymchekoutcust-shipping-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  .pymchekoutcust-shipping-title {
      font-size: 18px;
      font-weight: 400;
      color: #010D0A;
      margin: 0;
  }
  
  .pymchekoutcust-cart-count {
      font-size: 14px;
      font-weight: 500;
      color: #066737;
      background-color: rgba(6, 103, 55, 0.1);
      padding: 8px 16px;
      border-radius: 8px;
  }
  
  /* روش‌های حمل‌ونقل */
  .pymchekoutcust-shipping-methods {
      display: block;
  }
  
  
  .pymchekoutcust-mini-cart-product-price del .woocommerce-Price-amount {
  font-size: 14px;
    color: #828282;
    font-weight: 400;
  }
  
  
  .pymchekoutcust-shipping-methods .shipping_method_select {
      width: 100%;
  }
  
  /* محصولات سفارش */
  .pymchekoutcust-order-items {
      display: flex;
      flex-direction: column;
      gap: 15px;
  }
  
  .pymchekoutcust-order-item {
      display: flex;
      align-items: center;
      gap: 10px;
  }
  
  .pymchekoutcust-item-image {
      width: 100px;
      height: 104px;
      background: #f7f7f7;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
  }
  
  .pymchekoutcust-item-image img {
      width: 80px;
      height: 80px;
      object-fit: contain;
  }
  
  .pymchekoutcust-item-details {
      flex: 1;
  }
  
  .pymchekoutcust-item-name {
      font-size: 14px;
      color: #333;
      display: block;
      margin-bottom: 5px;
  }
  
  .pymchekoutcust-item-quantity {
      font-size: 12px;
      color: #828282;
  }
  
  .pymchekoutcust-item-price {
      font-size: 18px;
      font-weight: 600;
      color: #333;
  }
  
  .pymchekoutcust-item-price .woocommerce-Price-amount {
      font-size: 18px;
      font-weight: 600;
      color: #333;
  }
  
  .pymchekoutcust-item-price .woocommerce-Price-currencySymbol {
      font-size: 12px;
      font-weight: 400;
      color: #828282;
      margin-right: -4px;
      margin-left: 2px;
  }
  
  /* جزئیات جمع‌بندی */
  .pymchekoutcust-summary-details {
      display: flex;
      flex-direction: column;
      gap: 15px;
  }
  
  .pymchekoutcust-summary-details p {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
  }
  
  .pymchekoutcust-subtotal .pymchekoutcust-label,
  .pymchekoutcust-shipping .pymchekoutcust-label {
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
  }
  
  .pymchekoutcust-subtotal .pymchekoutcust-value,
  .pymchekoutcust-shipping .pymchekoutcust-value {
      font-size: 14px;
      font-weight: 500;
      color: #010D0A;
  }
  
  /* مجموع کل */
  .pymchekoutcust-summary-total {
      display: flex;
      flex-direction: column;
      gap: 15px;
  }
  
  .pymchekoutcust-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
  }
  
  .pymchekoutcust-total .pymchekoutcust-label {
      font-size: 14px;
      font-weight: 600;
      color: #010D0A;
  }
  
  .pymchekoutcust-total .pymchekoutcust-value {
      font-size: 20px;
      font-weight: 600;
      color: #010D0A;
  }
  
  /* روش‌های پرداخت */
  .pymchekoutcust-payment-methods {
      margin-top: -10px;
  }
  
  .pymchekoutcust-payment-title {
      font-size: 16px;
      font-weight: 500;
      color: #010D0A;
      margin-bottom: 10px;
  }
  
  /* دکمه ثبت سفارش */
  .pymchekoutcust-place-order-button {
      display: block;
      text-align: center;
      background-color: #066737;
      color: #ffffff !important;
      padding: 12px;
      border-radius: 8px;
      font-size: 16px !important;
      font-weight: 500 !important;
      text-decoration: none;
      transition: background-color 0.3s ease;
      border: none !important;
      cursor: pointer;
      margin-top: 20px;
  }
  
  .pymchekoutcust-place-order-button:hover {
      background-color: #05562e;
  }
  
  /* ریسپانسیو برای تبلت */
  @media (max-width: 1024px) {
      .pymchekoutcust-checkout-container {
          padding: 15px 15px 15px 30px;
      }
  
      .pymchekoutcust-checkout-inner {
          gap: 15px;
      }
  
      .pymchekoutcust-checkout-form {
          flex: 0 0 65%;
      }
  
      .pymchekoutcust-checkout-summary {
          flex: 0 0 35%;
          padding: 12px;
      }
  
      .pymchekoutcust-coupon-title {
          font-size: 12px;
          font-weight: 200;
      }
  
      .pymchekoutcust-coupon-icon {
          width: 20px;
          height: 20px;
      }
  
      .pymchekoutcust-item-icon {
          width: 14px;
          height: 14px;
          margin-right: 5px;
      }
  
      .pymchekoutcust-summary-details > div {
          padding: 10px 12px;
          margin-bottom: 6px;
      }
  
      .pymchekoutcust-item-image {
          width: 80px;
          height: 84px;
      }
  
      .pymchekoutcust-item-image img {
          width: 60px;
          height: 60px;
      }
  
      .pymchekoutcust-summary-title {
          font-size: 16px;
      }
  
      .pymchekoutcust-field-row {
          flex-direction: column;
          gap: 10px;
      }
  
      .pymchekoutcust-field-row .form-row {
          width: 100%;
      }
  
      .pymchekoutcust-shipping-methods {
          flex-direction: column;
          gap: 10px;
      }
  }
  
  /* ریسپانسیو برای موبایل */
  @media (max-width: 767px) {
      .pymchekoutcust-checkout-container {
          padding: 15px;
      }
  
      .pymchekoutcust-checkout-inner {
          flex-direction: column;
          gap: 20px;
      }
  
      .pymchekoutcust-checkout-form,
      .pymchekoutcust-checkout-summary {
          flex: 0 0 100%;
          width: 100%;
      }
      
      .pymchekoutcust-main-title {
          font-size:16px !important;
      }
  
      .pymchekoutcust-checkout-form {
          order: 1;
      }
  
      .pymchekoutcust-checkout-summary {
          order: 2;
          padding: 16px;
      }
  
      .pymchekoutcust-coupon-title {
          font-size: 12px;
          font-weight: 200;
      }
  
      .pymchekoutcust-coupon-icon {
          width: 20px;
          height: 20px;
      }
  
      .pymchekoutcust-item-icon {
          width: 14px;
          height: 14px;
          margin-right: 5px;
      }
  
      .pymchekoutcust-summary-details > div {
          padding: 10px 12px;
          margin-bottom: 6px;
      }
  
      .pymchekoutcust-order-item {
          flex-direction: column;
          align-items: flex-start;
          gap: 10px;
      }
  
      .pymchekoutcust-item-image {
          width: 80px;
          height: 84px;
      }
  
      .pymchekoutcust-item-image img {
          width: 60px;
          height: 60px;
      }
  
      .pymchekoutcust-item-price {
          text-align: left;
      }
  
      .pymchekoutcust-summary-title {
          font-size: 16px;
      }
  
      .pymchekoutcust-place-order-button {
          font-size: 14px !important;
          padding: 10px;
      }
  
      .pymchekoutcust-field-row {
          flex-direction: column;
          gap: 10px;
      }
  
      .pymchekoutcust-field-row .form-row {
          width: 100%;
      }
  
      .pymchekoutcust-shipping-methods {
          flex-direction: column;
          gap: 10px;
      }
  }
  
  /* پنهان کردن قوانین و متن حریم خصوصی WooCommerce */
  #payment .woocommerce-terms-and-conditions-wrapper,
  #payment .woocommerce-privacy-policy-text {
      display: none !important;
  }
  
  /* پنهان کردن دکمه پیش‌فرض ثبت سفارش داخل payment */
  #payment .form-row.place-order {
      display: none !important;
  }
  
  /* نمایش پیام‌های خطا */
  .woocommerce-error, .woocommerce-message, .woocommerce-info {
      display: block !important;
      padding: 10px;
      margin: 10px 0;
      border-radius: 8px;
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
  }
  
  
  
  
  .pymchekoutcust-discount {
      display: flex;
      justify-content: space-between;
      margin: 10px 0;
      color: #066737; /* رنگ دلخواه برای تخفیف */
  }
  .pymchekoutcust-discount .woocommerce-remove-coupon {
      color: #066737;
      text-decoration: none;
      margin-right: 5px;
      font-size: 12px;
      font-weight: 400;
  }
  
  
  
  
  
  /* استایل عنوان اطلاعات خرید */
  .pymchekoutcust-purchase-info-title {
      font-size: 22px;
      font-weight: 500;
      color: #010D0A;
      margin-bottom: -14px;
  }
  
  /* استایل مرور سفارش */
  .pymchekoutcust-order-review-table {
      background: #ffffff !important;
      padding: 0 !important;
      border-radius: 8px !important;
      border: none !important;
  }
  
  /* ردیف‌های مرور سفارش */
  .pymchekoutcust-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      border: none !important;
  }
  
  /* لیبل‌ها (خرید شما، کد تخفیف، هزینه ارسال) */
  .pymchekoutcust-row .pymchekoutcust-label {
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
  }
  
  /* مقادیر (جلوی خرید شما، کد تخفیف، هزینه ارسال) */
  .pymchekoutcust-row .pymchekoutcust-value {
      font-size: 16px;
      font-weight: 400;
      color: rgba(20, 20, 20, 0.4);
  }
  
  /* استایل تخفیف */
  .pymchekoutcust-discount .pymchekoutcust-value {
      color: rgba(20, 20, 20, 0.4);
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  .pymchekoutcust-discount .woocommerce-remove-coupon {
      color: #066737;
      text-decoration: none;
      font-size: 12px;
      font-weight: 400;
  }
  
  /* استایل مبلغ قابل پرداخت */
  .pymchekoutcust-total .pymchekoutcust-label {
      font-size: 14px;
      font-weight: 600;
      color: #010D0A;
  }
  
  .pymchekoutcust-total .pymchekoutcust-value {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymchekoutcust-total-number {
      font-size: 20px;
      font-weight: 600;
      color: #010D0A;
  }
  
  .pymchekoutcust-total-unit {
      font-size: 12px;
      font-weight: 400;
      color: #828282;
  }
  
  /* کانتینر اصلی لیست محصولات */
  .pymchekoutcust-products-list {
      display: flex !important;
  }
  
  /* لیست محصولات */
  .pymchekoutcust-product-list {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding-right: 0 !important;
  }
  
  /* خط جداکننده بین آیتم‌های محصول */
  .pymchekoutcust-product-list .pymchekoutcust-product-item:not(:last-child) {
      border-bottom: 1px solid #F0F0F0;
      padding-bottom: 20px;
      margin-bottom: 20px;
  }
  
  /* هر آیتم محصول */
  .pymchekoutcust-product-item {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-bottom: 20px;
  }
  
  /* ستون عنوان (شامل تصویر و جزئیات) */
  .pymchekoutcust-title-column {
      display: flex;
      align-items: center;
      flex: 1;
  }
  
  /* تصویر محصول */
  .pymchekoutcust-mini-cart-product-image {
      width: 120px;
      height: 120px;
      background-color: #fff;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 12px;
      margin-left: 10px;
  }
  
  .pymchekoutcust-mini-cart-product-image img {
      object-fit: cover !important;
      width: 100px;
      height: 100px;
  }
  
  /* مخفی کردن دسته‌بندی محصول */
  .pymchekoutcust-mini-cart-product-category {
      display: none;
  }
  
  /* نام محصول */
  .pymchekoutcust-mini-cart-product-name a {
      font-size: 14px !important;
      font-weight: 500 !important;
      color: #010D0A;
      line-height: 32px;
      text-decoration: none;
  }
  
  .pymchekoutcust-mini-cart-product-price {
      display: flex;
    flex-direction: column;
  }
  
  /* استایل قیمت */
  .pymchekoutcust-mini-cart-product-price .woocommerce-Price-amount {
      display: flex;
      justify-content: flex-end;
      font-size: 16px;
      font-weight: 500;
      color: #010D0A;
  }
  
  /* کلمه تومان در قیمت‌های بدون تخفیف */
  .pymchekoutcust-mini-cart-product-price .woocommerce-Price-currencySymbol {
      font-size: 14px;
      font-weight: 400;
      color: #828282;
      margin-right: -4px;
      margin-left: 2px;
  }
  
  /* برای موبایل */
  @media (max-width: 767px) {
      .pymchekoutcust-mini-cart-product-price .woocommerce-Price-currencySymbol {
          font-size: 12px;
          font-weight: 400;
          color: #828282;
          margin-right: 0;
          margin-left: 1px;
      }
  }
  
  /* قیمت قبل تخفیف: بلر 1 پیکسل، مخفی کردن کلمه تومان و حذف خط */
  .pymchekoutcust-mini-cart-product-price del {
      filter: blur(1px);
      text-decoration: none;
  }
  
  .pymchekoutcust-mini-cart-product-price del .woocommerce-Price-currencySymbol {
      display: none;
  }
  
  /* قیمت تخفیف‌خورده: جابجایی دستی به راست و حذف زیرخط */
  .pymchekoutcust-mini-cart-product-price ins {
      text-decoration: none;
      display: inline-block;
  }
  
  .pymchekoutcust-mini-cart-product-price ins .woocommerce-Price-amount {
      display: inline-block;
      position: relative;
      right: -5px;
  }
  
  /* کلمه تومان در قیمت تخفیف‌دار */
  .pymchekoutcust-mini-cart-product-price ins .woocommerce-Price-currencySymbol {
      font-size: 14px;
      font-weight: 400;
      color: #828282;
      margin-right: -5px;
  }
  
  /* موبایل برای قیمت تخفیف‌دار */
  @media (max-width: 767px) {
      .pymchekoutcust-mini-cart-product-price ins .woocommerce-Price-currencySymbol {
          font-size: 12px;
          font-weight: 400;
          color: #828282;
          margin-right: 0;
      }
      .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
          width:100% !important;
      }
  }
  
  /* تنظیم فاصله قیمت از نام محصول */
  .pymchekoutcust-mini-cart-product-price {
      margin-top: 8px;
  }
  
  
  
  
  
  
  /* غیرفعال کردن فونت المنتور */
  .elementor-widget-woocommerce-checkout-page,
  .elementor-widget-woocommerce-checkout-page * {
      font-family: inherit !important;
      font-size: inherit !important;
      line-height: inherit !important;
  }
  
  /* مخفی کردن هدر صفحه فقط برای صفحه تشکر */
  body.woocommerce-order-received .page-header {
      display: none !important;
  }
  
  /* مخفی کردن مراحل استپ در صفحه تشکر */
  body.woocommerce-order-received .pymcartcust-checkout-steps {
      display: none !important;
  }
  
  /* اطمینان از وسط بودن کانتینر */
  .woocommerce-order {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      margin: 0 !important;
      padding: 0 !important;
  }
  
  /* استایل‌های صفحه تشکر */
  .pym-thankyou-page {
      direction: rtl;
      background-color: #ffffff;
      border: 1.5px solid #F0F0F0;
      border-radius: 16px;
      width: 562px;
      min-height: auto;
      margin: 30px 0;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }
  
  /* هدر */
  .pym-thankyou-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }
  
  .pym-thankyou-icon img {
      width: 115px;
      height: 115px;
  }
  
  .pym-thankyou-title {
      font-size: 24px;
      font-weight: 500;
      color: #010D0A;
      margin: 0;
  }
  
  /* اطلاعات سفارش */
  .pym-thankyou-order-info {
      width: 100%;
      display: flex;
      justify-content: center;
  }
  
  
  /* استایل خط جداکننده */
  .pym-thankyou-divider {
      width: 420px !important;
      height: 1px !important;
      background-color: #F7F7F7 !important;
      margin: 16px 0 !important;
  }
  
  /* استایل جمع فاکتور */
  .pym-thankyou-total-amount {
      font-size: 20px !important;
      font-weight: 500 !important;
      color: #010D0A !important;
  }
  
  .pym-thankyou-currency {
      font-size: 12px !important;
      font-weight: 400 !important;
      color: rgba(1, 13, 10, 0.4) !important; /* #010D0A با اپاسیتی 40% */
      margin-right: 4px !important;
  }
  
  .pym-thankyou-order-info-inner {
      background-color: #F7F7F7;
      border-radius: 12px;
      width: 420px;
      height: 56px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
  }
  
  .pym-thankyou-order-label {
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
  }
  
  .pym-thankyou-order-number {
      font-size: 16px;
      font-weight: 500;
      color: #010D0A;
  }
  
  /* محصولات */
  .pym-thankyou-order-items {
      width: 420px;
      display: flex;
      flex-direction: column;
      gap: 20px;
  }
  
  .pym-thankyou-order-item {
      display: flex;
      align-items: center;
      gap: 10px;
  }
  
  .pym-thankyou-item-image {
      background-color: #F7F7F7;
      border-radius: 16px;
      width: 164px;
      height: 122px;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .pym-thankyou-item-image img {
      width: 100px;
      height: 100px;
      object-fit: contain;
  }
  
  .pym-thankyou-item-details {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 8px;
  }
  
  .pym-thankyou-item-name {
      font-size: 14px !important;
      font-weight: 500 !important;
      color: #010D0A;
      line-height: 32px;
      margin: 0;
  }
  
  .pym-thankyou-item-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  .pym-thankyou-item-quantity {
      display: flex;
      gap: 5px;
  }
  
  .pym-thankyou-quantity-label {
      font-size: 14px;
      font-weight: 400;
      color: #828282;
  }
  
  .pym-thankyou-quantity-value {
      font-size: 14px;
      font-weight: 400;
      color: #010D0A;
  }
  
  .pym-thankyou-item-price .woocommerce-Price-amount {
      font-size: 18px;
      font-weight: 600;
      color: #010D0A;
  }
  
  .pym-thankyou-item-price .woocommerce-Price-currencySymbol {
      font-size: 14px;
      font-weight: 400;
      color: #828282;
      margin-right: -4px;
      margin-left: 2px;
  }
  
  /* جمع فاکتور */
  .pym-thankyou-order-summary {
      width: 420px;
  }
  
  .pym-thankyou-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  .pym-thankyou-label {
      font-size: 16px;
      font-weight: 400;
      color: #828282;
  }
  
  .pym-thankyou-value .woocommerce-Price-amount {
      font-size: 20px;
      font-weight: 500;
      color: #010D0A;
  }
  
  .pym-thankyou-value .woocommerce-Price-currencySymbol {
      font-size: 14px;
      font-weight: 400;
      color: #828282;
      margin-right: -4px;
      margin-left: 2px;
  }
  
  /* آدرس */
  .pym-thankyou-address-container {
      background-color: #F7F7F7;
      border-radius: 8px;
      width: 420px;
      height: 151px;
      padding: 15px;
      display: flex;
      flex-direction: column;
      gap: 10px;
  }
  
  .pym-thankyou-address-title {
      font-size: 15px;
      font-weight: 500;
      color: #010D0A;
      margin: 0;
  }
  
  .pym-thankyou-address-value {
      font-size: 14px;
      font-weight: 400;
      color: #828282;
      line-height: 24px;
      margin: 0;
  }
  
  .pym-thankyou-address-meta {
      display: flex;
      gap: 10px;
  }
  
  .pym-thankyou-address-meta-item {
      background-color: #ffffff;
      border-radius: 8px;
      padding: 4px 8px;
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  .pym-thankyou-meta-label {
      font-size: 12px;
      font-weight: 400;
      color: #010D0A;
      line-height: 24px;
  }
  
  .pym-thankyou-meta-value {
      font-size: 12px;
      font-weight: 400;
      color: #010D0A;
      line-height: 24px;
  }
  
  /* دکمه‌ها */
  .pym-thankyou-actions {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }
  
  .pym-thankyou-button {
      background-color: #066737 !important;
      color: #ffffff !important;
      border-radius: 12px !important;
      width: 420px !important;
      height: 48px !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      text-decoration: none !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      transition: background-color 0.3s ease !important;
  }
  
  .pym-thankyou-button:hover {
      background-color: #05562e !important;
  }
  
  .pym-thankyou-back-button {
      color: #828282 !important;
      font-size: 14px !important;
      font-weight: 400 !important;
      text-decoration: none !important;
  }
  
  /* جزئیات سفارش */
  .pym-thankyou-order-details {
      width: 100%;
  }
  
  .pym-thankyou-section-title {
      font-size: 18px;
      font-weight: 500;
      color: #010D0A;
      margin: 20px 0 10px;
  }
  
  /* ریسپانسیو برای موبایل */
  @media (max-width: 767px) {
      /* اضافه کردن باکس سایزینگ برای همه المنت‌ها */
      .pym-thankyou-page * {
          box-sizing: border-box;
      }
      
      /* تنظیمات اصلی صفحه */
      .pym-thankyou-page {
          width: 100% !important;
          max-width: 100%;
          margin: 15px 0;
          border: none;
      }
      
      /* تنظیم المنت‌های داخلی */
      .pym-thankyou-order-items,
      .pym-thankyou-order-summary,
      .pym-thankyou-address-container,
      .pym-thankyou-order-info-inner,
      .pym-thankyou-button {
          width: 100% !important;
          max-width: 100%;
      }
      
      /* تنظیمات محصولات در موبایل */
      .pym-thankyou-order-item {
          flex-direction: column;
      }
      
      .pym-thankyou-item-image {
          height: auto;
          aspect-ratio: 1/0.75;
      }
      
      .pym-thankyou-item-image img {
          width: 80% !important;
          height: auto !important;
      }
      
      .pym-thankyou-divider {
      width: 100% !important;
      }
      
      .pym-thankyou-item-details {
          width: 100%;
          padding: 10px 0;
      }
      
      /* تنظیمات متن در موبایل */
      .pym-thankyou-title {
          font-size: 20px !important;
          text-align: center;
      }
      
      .pym-thankyou-order-number {
          font-size: 14px !important;
      }
      
      /* بهبود استایل آدرس */
      .pym-thankyou-address-container {
          height: auto;
          padding: 15px;
      }
      
      /* تنظیمات دکمه‌ها */
      .pym-thankyou-button {
          height: 44px !important;
          font-size: 14px !important;
      }
      
      /* اصلاح حاشیه‌ها و فاصله‌ها */
      .pym-thankyou-item-meta,
      .pym-thankyou-total {
          flex-wrap: wrap;
          gap: 5px;
      }
      
      /* کاهش سایز فونت‌ها */
      .pym-thankyou-value .woocommerce-Price-amount {
          font-size: 16px !important;
      }
      
      .pym-thankyou-section-title {
          font-size: 16px !important;
      }
  }
  
  /* برای تبلت‌ها (اختیاری) */
  @media (min-width: 768px) and (max-width: 1024px) {
      .pym-thankyou-page {
          width: 90% !important;
      }
  }
  
  /* استایل‌های جدید برای کارت محصول در موبایل - مطابق با اسکرین‌شات */
  @media (max-width: 767px) {
      /* تنظیم ارتفاع کارت محصول */
      .pymcartcust-product-item {
          height: 142px !important;
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          gap: 8px !important;
          padding: 12px !important;
          position: relative !important;
      }
  
            /* آیکون حذف در موبایل - مخفی شده */
      .pymcartcust-remove-item {
          display: none !important;
      }
  
      /* بخش سمت راست: تصویر محصول - 80x125 پیکسل */
      .pymcartcust-product-image-section {
          flex-shrink: 0 !important;
          width: 80px !important;
          height: 125px !important;
          margin: 0 !important;
      }
  
      .pymcartcust-product-image {
          width: 80px !important;
          height: 125px !important;
          margin: 0 !important;
          border-radius: 6px !important;
          overflow: hidden !important;
      }
  
      .pymcartcust-product-image img {
          width: 80px !important;
          height: 125px !important;
          object-fit: cover !important;
      }
  
      /* بخش مرکزی: جزئیات محصول */
      .pymcartcust-product-details-section {
          flex: 1 !important;
          display: flex !important;
          flex-direction: column !important;
          gap: 25px !important;
          margin: 0 !important;
          padding: 0 6px !important;
          justify-content: space-between;
      }
  
      .pymcartcust-product-info {
          display: flex !important;
          flex-direction: column !important;
          gap: 3px !important;
          margin: 0 !important;
      }
  
      .pymcartcust-product-category {
          font-size: 10px !important;
          font-weight: 400 !important;
          color: #828282 !important;
          margin: 0 !important;
      }
  
      .pymcartcust-product-name a {
          font-size: 12px !important;
          font-weight: 500 !important;
          color: #333 !important;
          line-height: 1.2 !important;
          margin: 0 !important;
      }
  
      .pymcartcust-product-unit-price {
          margin: 0 !important;
          display: flex !important;
          flex-direction: column !important;
          gap: 1px !important;
      }
  
      .pymcartcust-product-unit-price .woocommerce-Price-amount {
          font-size: 11px !important;
          font-weight: 500 !important;
          color: #333 !important;
      }
  
      /* بخش سمت چپ: کنترل‌ها و قیمت کل */
      .pymcartcust-product-controls-section {
          display: flex !important;
          flex-direction: column !important;
          align-items: flex-end !important;
          gap: 27px !important;
          flex-shrink: 0 !important;
      }
  
      /* دکمه‌های کم و زیاد */
      .pymcartcust-product-quantity .quantity-buttons {
          display: flex !important;
          align-items: center !important;
          gap: 3px !important;
          margin: 0 !important;
          margin-top: 15px !important;
      }
  
      .pymcartcust-product-quantity .quantity {
          width: 20px !important;
          height: 20px !important;
          text-align: center !important;
          font-size: 11px !important;
          color: #333 !important;
          border: none !important;
          border-radius: 3px !important;
          background: none !important;
          line-height: 18px !important;
          font-weight: 500 !important;
          user-select: none !important;
      }
  
      .pymcartcust-product-quantity .qnt-btn {
          width: 20px !important;
          height: 20px !important;
          text-align: center !important;
          color: #010D0A !important;
          font-size: 12px !important;
          cursor: pointer !important;
          border-radius: 3px !important;
          transition: all 0.2s ease !important;
          padding: 0 !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          border: none !important;
          font-weight: 500 !important;
          user-select: none !important;
      }
  
      .pymcartcust-product-quantity .qnt-btn.plus {
          background: #F2F3F6 !important;
      }
  
      .pymcartcust-product-quantity .qnt-btn.minus {
          background: #F2F3F64D !important;
      }
  
      .pymcartcust-product-quantity .qnt-btn:hover {
          background: #0C673B !important;
          color: #fff !important;
          transform: scale(1.05) !important;
      }
  
      /* قیمت کل محصول */
      .pymcartcust-product-total-price {
          text-align: right !important;
          display: flex !important;
          flex-direction: column !important;
          gap: 1px !important;
          margin: 0 !important;
      }
  
      .pymcartcust-price-regular {
          font-size: 9px !important;
          color: #828282 !important;
          font-weight: 400 !important;
          text-decoration: none !important;
          opacity: 0.8 !important;
          filter: blur(1px) !important;
          text-align: end;
          margin-bottom: 2px;
      }
  
      .pymcartcust-price-final {
          font-size: 10px !important;
          font-weight: 600 !important;
          color: #333 !important;
          margin-top: 4px;
      }
  
      .pymcartcust-price-label {
          font-size: 8px !important;
          font-weight: 400 !important;
          color: #3A3A3A !important;
      }
  
      .pymcartcust-price-amount {
          font-size: 10px !important;
          font-weight: 500 !important;
          color: #3A3A3A !important;
      }
  
      .pymcartcust-price-currency {
          font-size: 8px !important;
          font-weight: 400 !important;
          color: #8E8E8E !important;
      }
  }
  
  .pymcartcust-step.active.inactive .pymcartcust-step-icon img.pymcartcust-icon,
  .pymcartcust-step.inactive.active .pymcartcust-step-icon img.pymcartcust-icon {
      filter: brightness(0) invert(1) !important;
      -webkit-filter: brightness(0) invert(1) !important;
  }
  
  /* سرتیتر لیست محصولات */
  .pymcartcust-cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
  }
  
  /* استایل‌های جدید برای review-order */
  .pymchekoutcust-cart-price,
  .pymchekoutcust-cart-discount,
  .pymchekoutcust-cart-shipping,
  .pymchekoutcust-cart-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
      background-color: #f8f9fa;
      padding: 18px 16px;
      border-radius: 8px;
      margin-bottom: 8px;
  }
  
  .pymchekoutcust-cart-price .pymchekoutcust-item-left,
  .pymchekoutcust-cart-discount .pymchekoutcust-item-left,
  .pymchekoutcust-cart-shipping .pymchekoutcust-item-left,
  .pymchekoutcust-cart-total .pymchekoutcust-item-left {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymchekoutcust-cart-price .pymchekoutcust-item-right,
  .pymchekoutcust-cart-discount .pymchekoutcust-item-right,
  .pymchekoutcust-cart-shipping .pymchekoutcust-item-right,
  .pymchekoutcust-cart-total .pymchekoutcust-item-right {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymchekoutcust-cart-discount .pymchekoutcust-number {
      color: #28a745;
      font-weight: 500;
  }
  
  .pymchekoutcust-cart-total .pymchekoutcust-label {
      font-weight: 400;
      font-size: 14px;
      color: #121212;
  }
  
  .pymchekoutcust-cart-total .pymchekoutcust-number {
      font-size: 16px;
      font-weight: 400;
  }
  
  /* سرتیتر جمع‌بندی */
  .pymchekoutcust-summary-header {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymchekoutcust-summary-icon {
      width: 20px;
      height: 20px;
  }
  
  .pymchekoutcust-summary-title {
      font-size: 16px;
      font-weight: 300;
      color: #6B6B6B;
  }
  
  /* استایل‌های مشابه سبد خرید برای checkout */
  .pymchekoutcust-cart-items,
  .pymchekoutcust-cart-price,
  .pymchekoutcust-cart-discount {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
      background-color: #f8f9fa;
      padding: 18px 16px;
      border-radius: 8px;
      margin-bottom: 8px;
  }
  
  .pymchekoutcust-cart-items .pymchekoutcust-item-left,
  .pymchekoutcust-cart-price .pymchekoutcust-item-left,
  .pymchekoutcust-cart-discount .pymchekoutcust-item-left {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .pymchekoutcust-cart-items .pymchekoutcust-item-right,
  .pymchekoutcust-cart-price .pymchekoutcust-item-right,
  .pymchekoutcust-cart-discount .pymchekoutcust-item-right {
      display: flex;
      align-items: center;
      gap: 4px;
  }
  
  .pymchekoutcust-cart-items .pymchekoutcust-label,
  .pymchekoutcust-cart-price .pymchekoutcust-label,
  .pymchekoutcust-cart-discount .pymchekoutcust-label {
      font-size: 12px;
      font-weight: 200;
      color: #6b6b6b;
  }
  
  .pymchekoutcust-cart-items .pymchekoutcust-number,
  .pymchekoutcust-cart-price .pymchekoutcust-number,
  .pymchekoutcust-cart-discount .pymchekoutcust-number,
  .pymchekoutcust-cart-shipping .pymchekoutcust-number,
  .pymchekoutcust-cart-total .pymchekoutcust-number {
      font-size: 14px;
      font-weight: 200;
      color: #121212;
  }
  
  .pymchekoutcust-cart-items .pymchekoutcust-unit,
  .pymchekoutcust-cart-price .pymchekoutcust-unit,
  .pymchekoutcust-cart-discount .pymchekoutcust-unit,
  .pymchekoutcust-cart-shipping .pymchekoutcust-unit,
  .pymchekoutcust-cart-total .pymchekoutcust-unit {
      font-size: 12px;
      font-weight: 200;
      color: #6B6B6B;
  }
  
  .pymchekoutcust-summary-title {
      font-size: 12px;
      font-weight: 300;
  }
  
  .pymchekoutcust-summary-icon {
      width: 16px;
      height: 16px;
  }
  
  /* استایل‌های جدید برای قیمت‌ها */
  .pymchekoutcust-number {
      font-size: 14px;
      font-weight: 200;
      color: #121212;
  }
  
  .pymchekoutcust-unit {
      font-size: 12px;
      font-weight: 200;
      color: #6B6B6B;
  }