:root {
  --vpo-qb-accent: #33cccc;
  --vpo-qb-accent-dark: #24b3b3;
  --vpo-qb-ink: #1d3d46;
  --vpo-qb-muted: #6d7f85;
  --vpo-qb-line: rgba(25, 77, 88, 0.16);
  --vpo-qb-surface: #ffffff;
  --vpo-qb-soft: #eefbfb;
}

.c-product {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  min-height: 100% !important;
}

.c-product .p-img,
.c-product .p-subtitle,
.c-product .p-desc,
.c-product .p-tags,
.c-product .p-availability,
.c-product .p-price,
.c-product .quick-container {
  flex: 0 0 auto !important;
}

.c-product .vpo-qb-card-actions {
  display: block !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding-top: 12px !important;
}

.vpo-qb-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid var(--vpo-qb-accent) !important;
  border-radius: 12px !important;
  background: var(--vpo-qb-accent) !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease !important;
  user-select: none !important;
}

.vpo-qb-button:hover,
.vpo-qb-button:focus {
  background: var(--vpo-qb-accent-dark) !important;
  border-color: var(--vpo-qb-accent-dark) !important;
  color: #ffffff !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

.vpo-qb-button.is-busy {
  opacity: 0.8 !important;
  cursor: progress !important;
  pointer-events: none !important;
}

.vpo-qb-button.is-added {
  background: var(--vpo-qb-soft) !important;
  border-color: rgba(51, 204, 204, 0.28) !important;
  color: var(--vpo-qb-ink) !important;
}

.vpo-qb-button.is-error {
  background: #ffffff !important;
  border-color: var(--vpo-qb-line) !important;
  color: var(--vpo-qb-ink) !important;
}

.vpo-qb-button.is-unavailable {
  background: #f4f7f8 !important;
  border-color: rgba(25, 77, 88, 0.12) !important;
  color: var(--vpo-qb-muted) !important;
  cursor: default !important;
  pointer-events: none !important;
}

.vpo-karta .vpo-qb-manual-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 14px !important;
  width: 100% !important;
}

.vpo-karta .vpo-info {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
}

.vpo-karta .vpo-qb-manual-actions .vpo-qb-button {
  width: 100% !important;
}

.vpo-karta .vpo-qb-detail-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid var(--vpo-qb-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--vpo-qb-ink) !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease !important;
}

.vpo-karta .vpo-qb-detail-link:hover,
.vpo-karta .vpo-qb-detail-link:focus {
  border-color: rgba(51, 204, 204, 0.36) !important;
  background: #f8ffff !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

.vpo-qb-toast {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 1000005 !important;
  width: min(360px, calc(100vw - 28px)) !important;
  padding: 16px !important;
  border: 1px solid rgba(51, 204, 204, 0.16) !important;
  border-radius: 18px !important;
  background: rgba(16, 31, 36, 0.96) !important;
  box-shadow: 0 22px 48px rgba(10, 18, 20, 0.28) !important;
  color: #ffffff !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(14px) !important;
  transition: opacity 180ms ease, transform 180ms ease !important;
}

.vpo-qb-toast.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.vpo-qb-toast__text {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.vpo-qb-toast__actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.vpo-qb-toast__continue,
.vpo-qb-toast__cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.vpo-qb-toast__continue {
  flex: 1 1 auto !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: transparent !important;
  color: #ffffff !important;
  cursor: pointer !important;
}

.vpo-qb-toast__cart {
  flex: 0 0 auto !important;
  border: 1px solid var(--vpo-qb-accent) !important;
  background: var(--vpo-qb-accent) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .c-product .vpo-qb-card-actions {
    padding-top: 10px !important;
  }

  .vpo-qb-button,
  .vpo-karta .vpo-qb-detail-link {
    min-height: 38px !important;
    font-size: 13px !important;
  }

  .vpo-qb-toast {
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
    bottom: 14px !important;
  }

  .vpo-qb-toast__actions {
    flex-direction: column !important;
  }
}
