/* Shared action hierarchy across the shop, account, details and checkout. */
@font-face {
  font-family: "Archivo Shop Display";
  src: url("assets/fonts/Archivo-Expanded-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}
:root {
  --action-accent: var(--brand-accent);
  --action-ink: #151811;
  --action-radius: 8px;
}
body :is(.buy-button, .paid-button, .reveal-payment-button, .whatsapp-pay-button),
#howView.how-view .how-card .how-action,
#cartDialog .cart-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent !important;
  border-radius: var(--action-radius) !important;
  background: var(--action-accent) !important;
  color: var(--action-ink) !important;
  font: italic 900 14px/1.3 "Archivo Shop Display", Arial, sans-serif !important;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  box-shadow: inset 0 1px 0 #ffffff45 !important;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
#rechargeView .card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: stretch;
  margin-top: 14px;
}
#rechargeView .card-actions .buy-button {
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  padding: 8px;
  font-size: 11px !important;
}
body :is(.ghost-button, .filter-toggle, .header-cart),
#rechargeView .card-actions .cart-button,
#itemDetailsDialog .details-cart-button {
  border: 1px solid #ffffff30 !important;
  border-radius: var(--action-radius) !important;
  background: #ffffff09 !important;
  color: #f5f6ef !important;
  box-shadow: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
body .ghost-button,
#itemDetailsDialog .details-cart-button {
  min-height: 48px;
  padding: 12px 18px;
  font: 700 14px/1.3 "Golos Text", Arial, sans-serif !important;
}
#rechargeView .card-actions .cart-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
}
#rechargeView .card-actions .cart-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
#rechargeView .card-actions .cart-button.is-added {
  color: var(--action-accent) !important;
  border-color: var(--action-accent) !important;
  background: #ffe60012 !important;
}
body :is(.close-button, .section-scroll-button, .back-to-top),
#closePaymentInstructions {
  border-radius: 8px !important;
  transition: background-color 160ms ease, transform 160ms ease;
}
#cartDialog .qty-controls { background: #ffffff0a; border: 1px solid #ffffff20; border-radius: 8px; overflow: hidden; }
#cartDialog .qty-controls button { background: transparent; color: #fff; border-radius: 0; }
#cartDialog .qty-controls button:hover { background: #ffffff20; }
#cartDialog .cart-remove-item { border-radius: 8px; color: #c6cbc7; }
#cartDialog .cart-remove-item:hover { background: #ff858514; color: #ffb8b8; }
body :is(button, a.paid-button, a.how-action):focus-visible {
  outline: 2px solid #f6f7f0 !important;
  outline-offset: 3px;
}
@media (hover: hover) {
  body :is(.buy-button, .paid-button, .reveal-payment-button, .whatsapp-pay-button):not(:disabled):hover,
  #howView.how-view .how-card .how-action:hover,
  #cartDialog .cart-whatsapp:hover {
    background: var(--brand-accent-hover) !important;
    box-shadow: 0 4px 14px #00000025, inset 0 1px 0 #ffffff70 !important;
    transform: translateY(-1px);
  }
  body :is(.ghost-button, .filter-toggle, .header-cart):not(:disabled):hover,
  #rechargeView .card-actions .cart-button:hover,
  #itemDetailsDialog .details-cart-button:not(:disabled):hover {
    background: #ffffff16 !important;
    border-color: #ffffff80 !important;
  }
}
body :is(.buy-button, .paid-button, .ghost-button, .cart-button, .reveal-payment-button, .whatsapp-pay-button):not(:disabled):active {
  transform: translateY(1px);
}
body :is(.buy-button, .paid-button, .ghost-button, .cart-button, .reveal-payment-button, .whatsapp-pay-button):disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body :is(button, .paid-button, .how-action) { transition: none !important; transform: none !important; }
}
