.product-compact-actions {
  --compact-accent: #c95e24;
  --compact-accent-hover: #a94818;
  --compact-ink: #123f35;
  margin-top: 1.35rem;
}

.product-compact-actions--tarotista {
  --compact-accent: #d46720;
  --compact-accent-hover: #b54d16;
}

.product-compact-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-compact-actions__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-compact-actions__button--primary,
.product-compact-actions__button--primary:visited {
  color: #fffaf2;
  background: var(--compact-accent);
}

.product-compact-actions__button--primary:hover,
.product-compact-actions__button--primary:active {
  color: #fff;
  background: var(--compact-accent-hover);
  transform: translateY(-1px);
}

.product-compact-actions__button--secondary,
.product-compact-actions__button--secondary:visited {
  color: var(--compact-ink);
  border-color: color-mix(in srgb, var(--compact-ink) 40%, transparent);
  background: transparent;
}

.product-compact-actions__button--secondary:hover,
.product-compact-actions__button--secondary:active {
  color: var(--compact-ink);
  border-color: var(--compact-ink);
  background: color-mix(in srgb, var(--compact-ink) 8%, transparent);
  transform: translateY(-1px);
}

.product-compact-actions__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--compact-accent) 48%, transparent);
  outline-offset: 4px;
}

.product-compact-actions__button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-compact-actions--dark {
  --compact-ink: #fff8eb;
}

.product-compact-actions--dark .product-compact-actions__button--secondary {
  border-color: rgba(255, 248, 235, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.product-compact-actions--dark .product-compact-actions__button--secondary:hover,
.product-compact-actions--dark .product-compact-actions__button--secondary:active {
  border-color: rgba(255, 248, 235, 0.78);
  background: rgba(255, 255, 255, 0.11);
}

@media (max-width: 620px) {
  .product-compact-actions__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-compact-actions__button {
    width: 100%;
  }
}
