/**
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/
Description: The Astra child WordPress theme.
Template: astra
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://wpastra.com/
Text Domain: astra-child
*/

/* چیدمان افقی برای دکمه و فیلد حتی در موبایل */
.woocommerce-cart .coupon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* در یک خط باقی بمانند */
  gap: 10px;
  margin-top: 20px;
}

/* استایل ورودی کوپن */
.woocommerce-cart .coupon input#coupon_code {
  padding: 10px 15px;
  border: 2px solid #F8EEF2;
  background-color: white;
  border-radius: 5px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  min-width: 160px;
}

/* جلوگیری از محو شدن کادر در حالت فوکوس */
.woocommerce-cart .coupon input#coupon_code:focus {
  outline: none;
  border: 2px solid #F8EEF2 !important;
  box-shadow: none !important;
  background-color: white;
}

/* دکمه کناری */
.woocommerce-cart .coupon button.button {
  white-space: nowrap;
}

/* در موبایل فقط اگر عرض خیلی کم شد، اجازه پیچیدن بده */
@media (max-width: 480px) {
  .woocommerce-cart .coupon {
    flex-wrap: wrap;
  }

  .woocommerce-cart .coupon input#coupon_code,
  .woocommerce-cart .coupon button.button {
    width: 100%;
    text-align: center;
  }
}
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

/* مخفی کردن عبارت "inkl. Mwst. zzgl. Versandkosten" تنها در محصولات پیشنهادی */
.related.products .woocommerce-price-suffix,
.upsells.products .woocommerce-price-suffix {
    display: none !important;
}
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

@media (max-width: 768px) {
  .woocommerce-mini-cart__total ~ p {
    padding: 10px 10px 10px 20px !important;
  }
}
