/*
Theme Name: MahakShop Child
Theme URI: https://example.com/mahakshop-child
Description: چایلدتم اختصاصی ماهک‌شاپ؛ شامل فروشگاه، صفحه محصول، سبد خرید و تسویه حساب اختصاصی ووکامرس و ادغام داخلی فیلترهای PYM.
Author: PeymanWPDev
Template: mahakshop
Version: 1.7.0
Text Domain: mahakshop-child
Requires at least: 6.0
Requires PHP: 7.4
*/

html body:not(.wp-admin) .site-header button.icon-btn.icon-btn--cart,
html body:not(.wp-admin) .site-header .icon-btn.icon-btn--cart,
html body:not(.wp-admin) .site-header a.icon-btn.icon-btn--cart {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  line-height: 1 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: visible !important;
}

html body:not(.wp-admin) .site-header button.icon-btn.icon-btn--cart svg,
html body:not(.wp-admin) .site-header .icon-btn.icon-btn--cart svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  flex: 0 0 22px !important;
  display: block !important;
}

html body:not(.wp-admin) .site-header .icon-btn.icon-btn--cart .cart-badge {
  position: absolute !important;
  top: -5px !important;
  inset-inline-end: -5px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

@media (max-width: 768px) {
  html body:not(.wp-admin) .site-header button.icon-btn.icon-btn--cart,
  html body:not(.wp-admin) .site-header .icon-btn.icon-btn--cart,
  html body:not(.wp-admin) .site-header a.icon-btn.icon-btn--cart {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
  }

  html body:not(.wp-admin) .site-header button.icon-btn.icon-btn--cart svg,
  html body:not(.wp-admin) .site-header .icon-btn.icon-btn--cart svg {
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    flex: 0 0 19px !important;
  }

  html body:not(.wp-admin) .site-header .icon-btn.icon-btn--cart .cart-badge {
    top: -4px !important;
    inset-inline-end: -4px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
  }
}