/* checkout-theme.css — Dark theme for checkout pages (matches extensivo-trt / bio design) */

/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
  --background: 222 47% 8%;
  --foreground: 210 40% 96%;
  --card: 222 44% 12%;
  --muted: 222 30% 16%;
  --muted-foreground: 215 20% 55%;
  --border: 222 30% 20%;
  --primary: 45 100% 51%;
  --primary-foreground: 222 47% 8%;
  --radius: 0.75rem;
  --gradient-gold: linear-gradient(135deg, hsl(45, 100%, 51%), hsl(35, 100%, 55%));
  --gradient-gold-soft: linear-gradient(135deg, hsl(45, 100%, 51%), hsl(35, 100%, 60%));
  --gradient-card: linear-gradient(145deg, hsl(222, 44%, 14%), hsl(222, 44%, 10%));
  --gradient-dark: linear-gradient(180deg, hsl(222, 47%, 8%), hsl(222, 47%, 5%));
  --shadow-gold: 0 0 40px -10px hsl(45, 100%, 51%, 0.3);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Match home behavior for boolean `hidden` toggles (menu icon, mobile panel, etc.) */
[hidden]:where(:not([hidden="until-found"])) {
  display: none !important;
}

body {
  margin: 0;
  padding: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: hsl(var(--primary));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* ===== NAVBAR ===== */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.site-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

.site-nav-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.site-nav-logo-frame {
  display: flex;
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background-color: hsl(var(--primary) / 0.05);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.15);
}

.site-nav-logo {
  width: 3.25rem;
  height: 3.25rem;
  max-width: none;
  object-fit: contain;
  transform: scale(1.22);
}

.site-nav-brand-copy {
  min-width: 0;
}

.site-nav-brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav-brand-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .site-nav-brand-name {
    font-size: 0.95rem;
  }

  .site-nav-brand-subtitle {
    font-size: 0.8rem;
  }
}

.site-nav-links {
  display: none;
}

@media (min-width: 768px) {
  .site-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .site-nav-links {
    gap: 1.75rem;
  }
}

.site-nav-link,
.site-nav-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-mobile-link:hover {
  color: hsl(var(--foreground));
}

.site-nav-icon-frame {
  display: flex;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-nav-icon {
  width: 1.05rem;
  height: 1.05rem;
  max-width: none;
  object-fit: contain;
  transform: scale(1.35);
}

.site-nav-cta-wrap {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav-cta-wrap {
    display: block;
  }
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  border-radius: 0.75rem;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  box-shadow: var(--shadow-gold);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav-cta:hover {
  color: hsl(var(--primary-foreground));
  filter: brightness(1.1);
  box-shadow: 0 20px 25px -5px hsl(var(--primary) / 0.3);
  transform: translateY(-1px);
}

.site-nav-cta-desktop {
  height: 2.5rem;
  padding: 0 1.25rem;
}

.site-nav-cta-mobile {
  margin-top: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
}

.site-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .site-nav-toggle {
    display: none;
  }
}

.site-nav-toggle-icon {
  width: 24px;
  height: 24px;
}

.site-nav-mobile {
  display: none;
  background-color: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  animation: fade-in 0.5s ease-out forwards;
}

.site-nav-mobile.is-open {
  display: block;
}

.site-nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-nav-mobile-link {
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .site-nav-mobile {
    display: none !important;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border));
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 2rem;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(45, 100%, 51%), hsl(35, 100%, 55%));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-box img {
  width: 60%;
  height: 60%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-name {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.brand-sub {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

.navbar-links {
  display: none;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
    gap: 1.75rem;
  }
}

.navbar-links a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: hsl(var(--foreground));
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: block;
  }
}

.navbar-burger {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

@media (min-width: 768px) {
  .navbar-burger {
    display: none;
  }
}

.navbar-burger span {
  width: 1.5rem;
  height: 2px;
  background-color: hsl(var(--foreground));
  transition: all 0.3s ease;
}

.navbar-burger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.navbar-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.navbar-mobile {
  display: none;
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--background));
  padding: 2rem 1.5rem;
  z-index: 99;
}

.navbar-mobile.is-open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navbar-mobile a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.navbar-mobile a:hover {
  color: hsl(var(--foreground));
}

/* ===== BUTTONS ===== */
.btn-hero {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px -5px hsl(45, 100%, 51%, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

.btn-outline:hover {
  background-color: hsl(var(--card));
  border-color: hsl(var(--primary));
}

.button {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.button:active {
  transform: translateY(0);
}

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

/* ===== FOOTER ===== */
.site-project-footer {
  margin-top: 3rem;
  padding: 3rem 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

@media (min-width: 768px) {
  .site-project-footer {
    padding: 3rem 2rem;
  }
}

.site-project-footer .container {
  padding: 0;
}

.site-project-footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .site-project-footer-row {
    flex-direction: row;
    align-items: flex-start;
  }
}

.site-project-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .site-project-footer-brand {
    text-align: left;
  }
}

.site-project-footer-logo-frame {
  display: flex;
  width: 4.5rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background-color: hsl(var(--primary) / 0.05);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.15);
  flex-shrink: 0;
}

.site-project-footer-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  transform: scale(1.28);
}

.site-project-footer-name {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.site-project-footer-legal,
.site-project-footer-email,
.site-project-footer-copy {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.site-project-footer-email {
  transition: color 0.2s ease;
}

.site-project-footer-email:hover {
  color: hsl(var(--foreground));
}

.site-project-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.site-project-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.site-project-footer-link:hover {
  color: hsl(var(--foreground));
}

.site-project-footer-icon {
  width: 1rem;
  height: 1rem;
  max-width: none;
  object-fit: contain;
}

.site-project-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
  text-align: center;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 2rem;
  }
}

.site-footer .container {
  padding: 0;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-brand .logo-box {
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
}

.footer-brand .brand-text {
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.footer-links img {
  width: 1rem;
  height: 1rem;
  display: inline;
}

.footer-brand .name {
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin: 0;
}

.footer-brand .legal {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.25rem 0 0;
}

.footer-brand .email {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  display: block;
  margin-top: 0.25rem;
}

.footer-brand .email:hover {
  color: hsl(var(--foreground));
}

.insta-icon {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  display: inline;
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ===== MAIN CONTENT AREA ===== */
main {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.checkout-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== CARDS ===== */
.checkout-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .checkout-card {
    padding: 2.5rem;
  }
}

/* ===== TYPOGRAPHY STYLES ===== */
.eyebrow {
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.lead-text,
.lead {
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 58ch;
}

.lead-form {
  display: grid;
  gap: 1.25rem;
}

.checkout-stack {
  display: grid;
  gap: 1.25rem;
}

.section-kicker {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: hsl(var(--primary));
  text-transform: uppercase;
}

/* ===== FORM STYLES ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  color: hsl(var(--foreground));
  font-weight: 700;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.field input::placeholder,
.field select::placeholder,
.field textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .checkout-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field-full {
  grid-column: 1 / -1;
}

.checkout-methods {
  display: grid;
  gap: 0.85rem;
}

.checkout-methods-highlight {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.45);
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.1),
    hsl(var(--card) / 0.95)
  );
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.18) inset;
}

.checkout-method-grid {
  display: grid;
  gap: 0.85rem;
}

.checkout-method-option {
  display: block;
  position: relative;
}

.checkout-method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-method-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.checkout-method-card strong {
  color: hsl(var(--foreground));
  font-size: 1rem;
}

.checkout-method-card small {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkout-method-option input:checked + .checkout-method-card {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
  transform: translateY(-1px);
}

.checkout-method-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.55);
}

.checkout-method-panel[hidden] {
  display: none;
}

/* ===== CHECKOUT-SPECIFIC STYLES ===== */
.checkout-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .checkout-shell {
    grid-template-columns: 2fr 1fr;
  }
}

.checkout-panel {
  display: grid;
  gap: 1rem;
}

.checkout-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: hsl(var(--primary));
  margin: 1rem 0;
}

.checkout-price small {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.checkout-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.checkout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  font-size: 0.92rem;
  font-weight: 700;
}

.checkout-feedback {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem 0;
  font-weight: 500;
}

.checkout-feedback[data-tone="error"] {
  border-color: #dc2626;
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.1);
}

.checkout-feedback[data-tone="ok"] {
  border-color: #059669;
  color: #86efac;
  background: rgba(5, 150, 105, 0.1);
}

.checkout-note {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  margin: 1rem 0;
  line-height: 1.5;
}

.checkout-inline-legal {
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.checkout-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.checkout-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.list-bullet {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
}

.checkout-status-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 2rem;
  margin: 2rem 0;
}

.checkout-status-meta,
.checkout-access-list,
.checkout-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.checkout-status-meta li,
.checkout-access-list li,
.checkout-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* checkout-access-list — already defined above with checkout-status-meta */

.checkout-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.checkout-status-actions .button {
  flex: 1;
  min-width: 150px;
}

.checkout-secondary {
  background-color: transparent;
  border: 1px solid hsl(var(--foreground));
  color: hsl(var(--foreground));
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkout-secondary:hover {
  background-color: hsl(var(--card));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.checkout-payment-card {
  display: grid;
  gap: 1rem;
}

@media (min-width: 901px) {
  body[data-checkout-page="status"][data-checkout-hide-hosted-payment-actions="true"] .checkout-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
  }
}

body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] .checkout-shell {
  grid-template-columns: minmax(0, 1fr);
}

body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] .site-nav,
body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] .site-project-footer {
  display: none;
}

body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] .checkout-shell > .checkout-panel:first-child {
  display: none;
}

body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] .checkout-shell > .checkout-panel:last-child {
  max-width: 44rem;
  width: 100%;
  margin-inline: auto;
}

body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] #checkout-payment-box,
body[data-checkout-page="status"][data-checkout-stage="ativacao"][data-checkout-activation-only="true"] #checkout-access-box {
  display: none !important;
}

.checkout-payment-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .checkout-payment-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.checkout-payment-box {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.checkout-payment-box strong {
  color: hsl(var(--foreground));
}

.checkout-payment-code {
  width: 100%;
  min-height: 7.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.9rem;
  background: hsl(var(--background) / 0.92);
  color: hsl(var(--foreground));
  font: inherit;
  resize: vertical;
}

.checkout-payment-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.checkout-copy-button {
  width: auto;
  min-width: 12rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.checkout-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 17rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: #ffffff;
}

.checkout-qr-frame img {
  width: min(100%, 17rem);
  height: auto;
}

.checkout-payment-meta {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-payment-meta li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-card {
  background: var(--gradient-card);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (max-width: 900px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .checkout-card {
    padding: 1.5rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: slideUp 0.3s ease;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--muted));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--border));
}
