.woocommerce-checkout-review-order{font-family: 'iransans' !important;}
.woocommerce-error {
    border-top-color: #b81c23;
    border: none;
    border-radius: 10px;
    background: #ffed00;
    margin-bottom: 15px;
}

/* دکمه خرید – سبز ملایم */
.custom-btn {
  background-image: linear-gradient(to right, #02bbcb , #00dfff)!important;
  border: none;
  margin-top: 5px;
  margin-bottom: 5px;
}
.custom-btn:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
}

.products code {
    padding: .1rem 1.2rem;
    font-family: inherit;
    font-size: 90%;
    color: #ffffff;
    background-color: #e9004e;
    border-radius: 10px 0 10px 10px;
}

/****************************generate products*****************************/
/* ظرف لوگو و دایره */
.loading-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

/* لوگو وسط */
.loading-logo {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-logo 1.5s linear infinite;
  z-index: 2;
}

/* دایره اسپینر */
.loading-circle {
  position: absolute;
  top: 0; left: 0;
  width: 100px;
  height: 100px;
  border: 6px solid transparent;       /* کل دایره شفاف */
  border-top-color: #0142ff;           /* فقط بالا رنگی */
  border-radius: 50%;
  animation: spin-circle 2s linear infinite reverse; /* خلاف جهت لوگو */
  z-index: 1;
}

/* انیمیشن‌ها */
@keyframes spin-logo {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-circle {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.quality-badge{
    position:absolute;
    top: 0px;
    right: 0;
    height: 24px;
    border-radius: 0 5px;
    line-height:24px;
    
    text-align:center;
    color:#fff;
    font-weight:bold;
    font-size:12px;
    padding:0 12px;
    z-index:10;
    clip-path: polygon(
        15% 0,
        100% 0,
        100% 100%,
        15% 100%,
        0 50%
    );
    box-shadow:0 2px 4px rgba(0,0,0,.25);
}

.quality-badge:after{
    content:'';
    position:absolute;
    top:0;
    left:-11px;
    width:0;
    height:0;
    border-top:11px solid transparent;
    border-bottom:11px solid transparent;
    border-right:11px solid;
    border-right-color:inherit;
}