@import "assets/css/main-rtl.css/main-rtl.css";
.variations{
    display: none;
}
.mks_attributes,
.variants{
    display: block;
    margin-bottom: 10px;
    direction: rtl;
}

.mks_attributes > select,
.mks_attributes > input,
.variations select,
.variations input{
    display: none !important;
}

.mks-a-radio-label {
    margin-top: 5px;
    cursor: pointer;
    color: #757575;
    padding: 8px 16px;
    border: 1px solid #e9e9e9;
    text-align: center;
    border-radius: 10px;
}

.mks-a-radio-label i {
    font-size: 18px;
    margin-left: 5px;
}

.mks-a-radio-label span {
    font-size: 15px;
}

.green-check {
    color: #4caf50;
}

.mks-variants-stock {
    width: 100%;
    display: block;
    background-color: #ffc;
    border: 1px solid #ccc;
    margin: 16px 0;
    padding: 10px;
    border-radius: 4px;
    font-size: 15px !important;
    color: #757575 !important;
}

.mks-variants-stock i {
    font-size: 20px;
    vertical-align: sub;
    margin-left: 5px;
    color: #757575 !important;
}

.mks_attribute_name {
    color: #666;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-top: 15px !important;
}
.mks-a-color-label {
    font-size: 13px;
    position: relative;
    display: inline-block;
    margin-top: 5px;
    background-color: #fff;
    color: #757575;
    padding: 4px 13px;
    cursor: pointer;
    border: solid 1px #e9e9e9e9;
    border-radius: 20px;
}
/* tooltip */
.mks-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 5px;
  position: absolute;
  z-index: 10;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mks-a-color-label:hover .mks-tooltip {
  visibility: visible;
  opacity: 1;
}
.discount-badge {
  position: absolute;
  top: -12px;
  right: -5px;
  background: #e63946;
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
  z-index: 10;
}
.mks-a-color-label {
  position: relative;
}
.mks-a-color-label {
  position: relative;
  overflow: hidden;
}

.mks-outofstock-x {
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* نیمه شفاف برای مشخص شدن غیرفعال بودن */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #CC2941;
  font-size: 36px;
  font-weight: bold;
  z-index: 2;
  pointer-events: none; /* کاربر نتونه کلیک کنه */
}
/* */

.mks-a-color-label p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.mks-a-color-label-active p {
    display: inline-block !important;

}

.mks-a-color-label-active {
    border: solid 2px #40d740 !important;
    background-color: #e9fff5 !important;
}

.mks-a-color-label span {
    padding: 12px;
    display: inline-block;
    border-radius: 100%;
    vertical-align: middle;
    margin-left: 5px;
    border: solid 1px #ddd;
}

.mks-a-image-input {
}

.mks-a-image-label {
    border-radius: 5px;
    font-size: 13px;
    position: relative;
    display: inline-block;
    margin-top: 5px;
    background-color: #fff;
    color: #757575;
    cursor: pointer;
    border: solid 1px #ddd;
}

.mks-a-image-label img {
    width: 80px;
    height: 80px;
    display: inline-block;
    border: solid 1px #e9e9e9;
}
.mks-a-image-label span{
    display: block;
    padding: 4px 8px;
    text-align: center;
    background: #f9f9f9e9;
}
.mks-toa-text{
    display: block;
    color: #666;
}
.snapppay-widget{
    margin: 15px 0 0 0 !important;
    border-radius: 0 !important;
    border-right: 0 !important;
    border-left: 0 !important;
}






/*********cart mobile********/
@media screen and (max-width: 768px) {
  table.shop_table_responsive thead {
    display: none;
  }

  table.shop_table_responsive tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    padding: 1rem;
    border-radius: 8px;
  }

  table.shop_table_responsive tbody td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border: none;
  }

  table.shop_table_responsive tbody td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #333;
  }

  .woocommerce-cart-form .actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .woocommerce-cart-form .coupon {
    flex-direction: column !important;
  }

  .woocommerce-cart-form .coupon input[type="text"],
  .woocommerce-cart-form .coupon button {
    width: 100%;
  }

  .woocommerce-cart-form button.button {
    width: 100%;
  }

  .product-thumbnail a,
  .product-thumbnail img {
    max-width: 80px;
    height: auto;
  }

  .cart-collaterals {
    margin-top: 2rem;
  }

.woocommerce table.shop_table{
    border:0 !important;
}
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents{
background: #ffffff !important;
}
.woocommerce a.remove {
    font-size: 1.5em !important;
    border: 1px solid gray;
}
td.product-remove
 {
    border: 0 !important;
}
.woocommerce table.shop_table {
    background: #ffffff !important;
}
.woocommerce table.shop_table tbody th{
    border-top:0 !important;
}
table > tbody > tr.cart-subtotal > th{
    display:none;
}
.woocommerce-cart-form{
    padding-top:20px;
}
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
    padding-top: 20px !important;
    margin: 0em auto 2em auto !important;
}
}
/*****checkout Mobile*****/
.logo-contain {
    margin-top: clamp(20px, 2vw, 40px);
}
