.swe-product-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swe-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.swe-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.swe-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: none;
  animation: swe-spin 0.7s linear infinite;
}

.swe-button.is-loading .swe-spinner {
  display: inline-block;
}

.swe-button.is-loading .swe-button-text {
  opacity: 0.8;
}

.swe-quantity-shell {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
}

.swe-quantity-button,
.swe-quantity-input {
  border: 0;
  background: #fff;
  min-height: 44px;
}

.swe-quantity-button {
  cursor: pointer;
}

.swe-quantity-input {
  max-width: 96px;
  text-align: center;
}

.swe-variation-fields {
  display: grid;
  gap: 10px;
}

.swe-variation-field {
  display: grid;
  gap: 6px;
}

.swe-variation-select {
  min-height: 42px;
}

.swe-stock-notice,
.swe-widget-notice {
  font-size: 13px;
}

.swe-toast {
  position: fixed;
  z-index: 5147483630;
  min-width: 240px;
  max-width: min(90vw, 340px);
  padding: 14px 16px;
  border-radius: 14px;
  background: #121826;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.swe-toast.swe-toast--bottom-right,
.swe-toast:not(.swe-toast--top-right):not(.swe-toast--bottom-left) {
  right: 24px;
  bottom: 24px;
}

.swe-toast.swe-toast--top-right {
  top: 24px;
  right: 24px;
  transform: translateY(-14px);
}

.swe-toast.swe-toast--bottom-left {
  left: 24px;
  bottom: 24px;
  transform: translateY(14px);
}

.swe-toast.is-error {
  background: #8f1d1d;
}

.swe-toast.swe-toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.swe-toast .woocommerce-error, 
.swe-toast .woocommerce-info, 
.swe-toast .woocommerce-message {
  background-color: transparent;
  border: 0;
  color: #fff;
  margin: 0;
  padding: 0 10px 8px;
}

.swe-toast .woocommerce-error::before, 
.swe-toast .woocommerce-info::before, 
.swe-toast .woocommerce-message::before {
  display: none;
}

.swe-cart-counter {
  display: inline-flex;
}

.elementor-widget-swe-cart-counter .elementor-widget-container {
  line-height: 1;
}

.swe-cart-counter.is-hidden-when-empty {
  display: none;
}

.swe-cart-counter-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.swe-cart-counter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.swe-cart-counter-icon svg {
  width: 1.2em;
  height: 1.2em;
}

.swe-cart-counter .swe-cart-counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 18px;
}

.swe-cart-counter.has-bubble-effect .swe-cart-counter-badge {
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top:-8px;
  right: -13px;
}

.swe-cart-counter.has-bubble-effect .swe-cart-counter-badge {
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
  animation: swe-bubble-float 2.8s ease-in-out infinite;
}

.swe-cart-counter-price {
  white-space: nowrap;
}

@keyframes swe-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes swe-bubble-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes swe-loading-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}