/* === Spare parts: row layout (image | title | price | qty | round button) === */


.ase-sp-widget,
.ase-sp-list { max-width: 100%; }

.ase-sp-list { display: grid; gap: 10px; }


.ase-sp-item,
.ase-sp-row {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: 56px 1fr auto auto auto; /* img | title | price | qty | btn */
  padding: 6px 0px;
  overflow: hidden;
}


.ase-sp-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.ase-sp-image { display: inline-block; }


.ase-sp-title { align-self: center; }
.ase-sp-title a,
.ase-sp-title-link,
.ase-sp-title-text {
  display: -webkit-box;
  
  color: #323232;
  font-size: 14px;
  line-height: 1.2;
 
}
.ase-sp-title a:hover,
.ase-sp-title-link:hover { text-decoration: underline; }


.ase-sp-qty, .ase-sp-action { white-space: nowrap; }
.ase-sp-price {font-size: 14px; line-height:1.2; font-weight: 600; color: #30A610}
.ase-sp-add   { min-width: 42px; text-align: right; }


.ase-sp-price .woocommerce-Price-amount { display: block; font-size: 14px; font-weight: 600; }
.ase-sp-price .price .woocommerce-Price-amount { display: block; } 


.ase-sp-qtywrap {
  display: inline-grid;
  grid-auto-flow: column;
  grid-template-columns: 16px 30px 16px; /* - | input | + */
  align-items: center;
  height: 28px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  vertical-align: middle;
}
.ase-sp-qtybtn {
  width: 16px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0px;
  font-size: 15px !important;
  color: #6b7280;
  user-select: none;
  padding-bottom: 2px;
}
.ase-sp-qtyinput,
.ase-sp-qty .qty,
.ase-sp-qty input[type="number"] {
  width: 30px;
  min-width: 30px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  outline: none;
  -moz-appearance: textfield;
  padding-bottom: 3px;
}
.ase-sp-qtyinput::-webkit-outer-spin-button,
.ase-sp-qtyinput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ase-sp-qtybtn:hover {background: transparent; color:#6b7280;}
.ase-sp-qtybtn:focus {background: transparent; color:#6b7280;}

.ase-sp-minus
{ padding-left: 5px;}
.ase-sp-plus
{ padding-right: 5px;}


.ase-sp-action { display: grid; justify-items: end; }
.ase-sp-addbtn,
.ase-sp-addtocart,
.ase-sp-addbtn.is-link {
  width: 36px; height: 36px; min-width: 36px; min-height: 36px;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  display: inline-grid; place-items: center;
  border: 0; padding: 0;
  background: #6ec1e4 !important; /* голубая */
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ase-sp-addbtn.is-disabled,
.ase-sp-addtocart.is-loading { opacity: .8; pointer-events: none; }

/* FA cart icon */
.ase-sp-addbtn::before,
.ase-sp-addtocart::before {
  content: "\f07a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  color: #fff;
}


.ase-sp-addbtn.is-loading::after,
.ase-sp-addtocart.is-loading::after {
    content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.9); /* <-- было 9, должно быть .9 */
  border-right-color: transparent;
  border-radius: 50%;
  animation: ase-sp-spin .6s linear infinite;
}

.ase-sp-addbtn.is-loading::before { opacity: 0; }

.ase-sp-addbtn.is-ok::after { content: none; }


.ase-sp-addbtn.is-ok::before,
.ase-sp-addtocart.is-added::before {
    content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: no-repeat center / 16px 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5'/></svg>");
  pointer-events: none;
}

@keyframes ase-sp-spin { to { transform: rotate(360deg); } }

.ase-sp-addbtn::before,
.ase-sp-addtocart::before {
  content: "\f07a"; /* FA cart icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  color: #fff;
}


/* Size/visibility for inline SVG cart */
.ase-sp-icon-cart { width: 16px; height: 16px; display: block; }

/* Hide cart SVG when loading or when OK check is shown */
.ase-sp-addbtn.is-loading .ase-sp-icon-cart,
.ase-sp-addbtn.is-ok .ase-sp-icon-cart { opacity: 0; }

.ase-sp-widget .added_to_cart.wc-forward { display: none !important; }

/* === Quick View modal for variable products === */
.ase-sp-modal[hidden]{ display:none !important; }
.ase-sp-modal { position: fixed; inset: 0; z-index: 9999; }
.ase-sp-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.ase-sp-modal__dialog {
  position: relative;
  margin: 5vh auto;
  max-width: 720px;
  width: calc(100% - 24px);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.ase-sp-modal__close {
  position: absolute; top: 8px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: #f1f5f9; cursor: pointer; font-size: 20px; line-height: 1;
}
.ase-sp-modal__body { max-height: 70vh; overflow: auto; }

.ase-sp-qv-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ase-sp-qv-title { font-weight: 600; font-size: 18px; }
.ase-sp-qv-price { font-weight: 700; font-size: 16px; }

/* Keep page from scrolling behind modal */
html.ase-sp-modal-open { overflow: hidden; }

.ase-sp-icon-cart {display: none;}

.ase-sp-price del {
  color: #949494;                 /* set the del text color */
  text-decoration-color: currentColor; /* line uses the same color */
}

.ase-sp-price del .amount
{ color:#949494}