/* SoltanShop 3.22.2: cart quantity reliability and article engagement alignment. */

.cart__product-item-count {
  position: relative;
  flex: 0 0 auto;
}

.cart__product-item-count input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart__product-item-count input[type="number"]::-webkit-inner-spin-button,
.cart__product-item-count input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.cart__product-item-count .numBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart__product-item-count .soltanshop-cart-quantity-symbol {
  display: block;
  color: currentColor;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.cart__product-item-count.is-updating {
  opacity: .72;
}

.cart__product-item-count.is-updating::after {
  position: absolute;
  inset: 2px;
  border: 2px solid rgba(2, 25, 89, .12);
  border-top-color: var(--soltanshop-primary, #f04055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: soltanshop-cart-quantity-spin .65s linear infinite;
}

.soltanshop-cart-dialog__checkout.is-disabled {
  opacity: .48;
  pointer-events: none;
}

.soltanshop-cart-empty {
  display: flex;
  min-height: 220px;
  padding: 32px;
  border: 1px dashed #dce3ec;
  border-radius: 14px;
  background: #fbfcfe;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.soltanshop-cart-empty p {
  margin: 0;
  color: #021959;
  font-size: 16px;
  font-weight: 800;
}

.soltanshop-cart-empty a {
  padding: 10px 18px;
  border-radius: 9px;
  background: var(--soltanshop-primary, #f04055);
  color: #fff;
}

.single-blog__rate-part.soltanshop-engagement-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100% !important;
  align-items: center;
  justify-content: stretch !important;
  gap: 18px;
}

.single-blog__rate-part > .single-blog__rate,
.single-blog__rate-part.soltanshop-engagement-row > .single-blog__rate {
  display: flex !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 9px !important;
  text-align: right !important;
}

.single-blog__rate-part .single-blog__rate-question {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 0 0 4px !important;
  align-items: center !important;
  order: initial !important;
  color: #021959 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  white-space: nowrap;
}

.single-blog__rate-part .soltanshop-rating-metric {
  display: inline-flex !important;
  min-width: 84px !important;
  min-height: 42px !important;
  padding: 7px 13px !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 5px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.single-blog__rate-part .single-blog__rate-item {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  order: initial !important;
  overflow: visible !important;
}

.single-blog__rate-part .soltanshop-rating-direction,
.single-blog__rate-part .soltanshop-blog-rating-guide {
  display: none !important;
}

.single-blog__rate-part .single-blog__rate-star,
.single-blog__rate-part .soltanshop-rating-stars.single-blog__rate-star {
  display: inline-flex !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 2px !important;
  order: initial !important;
  white-space: nowrap !important;
}

.single-blog__rate-part .soltanshop-rating-stars .ratingStar {
  position: relative;
  display: inline-grid !important;
  width: 37px !important;
  min-width: 37px !important;
  height: 41px !important;
  min-height: 41px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  place-items: center !important;
  color: var(--soltanshop-rating-inactive, #d6dde7);
  font-size: 35px !important;
  line-height: 1 !important;
}

.single-blog__rate-part .soltanshop-rating-stars .ratingStar .soltanshop-star-glyph {
  position: relative;
  grid-area: 1 / 1;
  inset: auto;
  display: block !important;
  width: 35px !important;
  height: 35px !important;
  margin: 0 !important;
  color: inherit !important;
  font-family: Arial, "Segoe UI Symbol", sans-serif !important;
  font-size: 35px !important;
  line-height: 35px !important;
  text-align: center !important;
  transform: none !important;
}

.single-blog__rate-part .soltanshop-rating-stars .ratingStar .soltanshop-star-number {
  position: relative;
  grid-area: 1 / 1;
  z-index: 2;
  top: auto;
  left: auto;
  display: inline-grid !important;
  width: 16px;
  height: 16px;
  margin: 0 !important;
  color: #fff !important;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  place-items: center !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(2, 25, 89, .34);
  transform: translateY(1px) !important;
  pointer-events: none;
}

.single-blog__rate-part .soltanshop-rating-feedback {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.single-blog__rate-part .single-blog__rate-score,
.single-blog__rate-part .single-blog__rate-votes {
  order: initial !important;
}

.soltanshop-engagement-row__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.soltanshop-engagement-row__actions .single-blog__copy {
  display: inline-flex;
  min-width: 0;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #e5e9f1;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
}

.soltanshop-engagement-row__actions .single-blog__page-link {
  display: block;
  max-width: 150px;
  margin: 0;
  overflow: hidden;
  color: rgba(2, 25, 89, .7);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soltanshop-engagement-row__actions .single-blog__copy-text {
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: rgba(6, 80, 163, .08);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.soltanshop-engagement-row__actions .single-blog__copy-text:focus-visible,
.soltanshop-engagement-row__actions .single-blog__rate-social a:focus-visible {
  outline: 2px solid var(--soltanshop-primary, #f04055);
  outline-offset: 2px;
}

.soltanshop-engagement-row__actions .single-blog__rate-social,
.soltanshop-engagement-row__actions .single-blog__rate-social ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
}

.soltanshop-engagement-row__actions .single-blog__rate-social ul {
  gap: 6px;
}

.soltanshop-engagement-row__actions .single-blog__rate-social li {
  margin: 0;
}

.soltanshop-engagement-row__actions .single-blog__rate-social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e9f1;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

@keyframes soltanshop-cart-quantity-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .single-blog__rate-part.soltanshop-engagement-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .single-blog__rate-part > .single-blog__rate,
  .single-blog__rate-part.soltanshop-engagement-row > .single-blog__rate {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .soltanshop-engagement-row__actions {
    width: 100%;
    justify-content: center;
  }

  .soltanshop-engagement-row__actions .single-blog__page-link {
    max-width: 110px;
  }
}

@media (max-width: 420px) {
  .single-blog__rate-part .soltanshop-rating-metric {
    min-width: 72px !important;
    padding-inline: 9px !important;
  }

  .single-blog__rate-part .soltanshop-rating-stars .ratingStar {
    width: 31px !important;
    min-width: 31px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 30px !important;
  }

  .single-blog__rate-part .soltanshop-rating-stars .ratingStar .soltanshop-star-glyph {
    width: 30px !important;
    height: 30px !important;
    font-size: 30px !important;
    line-height: 30px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart__product-item-count.is-updating::after {
    animation-duration: 1.4s;
  }
}
