:root {
  --bg: #0f1113;
  --card: #15181b;
  --muted: #9aa1a8;
  --accent: #3b6df0;
  --accent-cta: #3466e8;
  --white: #eef1f4;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, Arial, Helvetica, sans-serif
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

.container {
  max-width: 420px;
  width: 100%;
  /* Ensure it takes full width on small screens */
  margin: 0 auto;
  padding: 16px;
  flex: 1;
  /* Sticky footer magic */
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  width: 100%;
  /* Ensure cards don't overflow */
}

.hero {
  padding: 20px
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center
}

.logo {
  display: flex;
  align-items: center
}

.logo-img {
  height: 28px;
  display: block;
  cursor: pointer;
}

.title {
  opacity: 0.75
}

.headline {
  font-size: 20px;
  margin: 14px 0
}

.hero-image {
  height: 160px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f5ad6, #8a2be2)
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.img-placeholder {
  font-weight: 700;
  font-size: 28px;
  opacity: 0.95
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 0
}

.limited-offer {
  margin-top: 16px
}

.offer-title {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 12px 0;
  text-align: center
}

.offer-items {
  display: flex;
  gap: 12px;
  margin-bottom: 12px
}

.offer-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06)
}

.item-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px
}

.item-name {
  color: var(--white);
  font-size: 12px;
  margin: 0;
  font-weight: 500
}

.offer-description {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
  text-align: center
}

.card-section {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 12px 0;
  text-align: center
}

.form h2 {
  margin: 0 0 10px 0
}

.label {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px
}

.btn-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 12px
}

.pill {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--white);
  cursor: pointer
}

.pill.selected {
  background: transparent;
  border-color: var(--white);
  box-shadow: 0 0 0 2px rgba(52, 102, 232, 0.12)
}

.amount-grid {
  display: flex;
  gap: 8px;
  margin-top: 8px
}

.amount {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--white);
  cursor: pointer
}

.amount.selected {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--white)
}

.other-amounts-wrapper {
  margin-top: 8px;
  margin-bottom: 8px
}

.other-amounts-select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--card);
  color: var(--white);
  cursor: pointer;
  font-size: 14px
}

.other-amounts-select option {
  background: var(--bg);
  color: var(--white)
}

.cta {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent-cta);
  color: white;
  font-weight: 600;
  cursor: pointer
}

.disclaimer {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px
}

/* Friend input box */
.friend-box {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  gap: 8px
}

.text-input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--white);
  margin-top: 6px
}

.text-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 102, 232, 0.08)
}

.text-input.error {
  border-color: #e55353;
  background: rgba(229, 83, 83, 0.04)
}

.error-text {
  color: #e55353;
  font-size: 12px;
  margin-top: 6px
}

/* Sistema de Páginas */
.page {
  display: none;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease
}

.page.active {
  display: block;
  opacity: 1;
  transform: none
}

.page.fade-in {
  opacity: 1;
  transform: translateY(0)
}

.page.fade-out {
  opacity: 0;
  transform: translateY(6px)
}

/* PAGE 2: Design Selection */
.page-header {
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6)
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600
}

.cart-icon {
  font-size: 20px
}

.cart-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}

.cart-icon-large {
  font-size: 24px;
  color: var(--white)
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--muted);
  color: #000;
  font-size: 10px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}


.offer-banner {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.offer-banner-content {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.offer-text {
  color: var(--white);
  font-size: 13px;
  margin: 0;
  flex: 1
}

.offer-banner-items {
  display: flex;
  gap: 8px
}

.offer-banner-img {
  width: 50px;
  height: 50px;
  object-fit: contain
}

/* Banner Carousel */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6)
}

.banner-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 400ms ease;
  border-radius: 12px
}

.banner-item.active {
  opacity: 1;
  z-index: 1
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.design-section h2 {
  margin: 0 0 16px 0;
  font-size: 18px
}

.category-select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--card);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 12px
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0
}

.carousel-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s
}

.carousel-btn:hover {
  opacity: 1
}

.carousel-container {
  flex: 1;
  overflow: hidden
}

.carousel {
  display: flex;
  gap: 12px;
  transition: transform 320ms cubic-bezier(.2, .9, .2, 1)
}

.carousel-item {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative
}

.carousel-item.selected {
  border-color: var(--accent)
}

.carousel-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02)
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px
}

@media (max-width:480px) {
  .container {
    padding: 12px;
  }
}

/* Footer */
footer.footer {
  background: var(--card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  margin-top: auto;
  /* Push down */
  width: 100%;
}

.footer-content {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.footer-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  display: block;
  height: auto;
  max-height: 30px;
  object-fit: contain
}

.footer-seal-img {
  display: block;
  height: auto;
  max-height: 30px;
  object-fit: contain
}

.footer-language {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px
}

.language-label {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap
}

.language-select {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
  color: var(--white);
  cursor: pointer;
  font-size: 12px
}

.language-select option {
  background: var(--bg);
  color: var(--white)
}

/* PAGE 3: Cart / Checkout */
.cart-section {
  padding: 16px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none
}

/* Removed card background to match screenshot which looks seamless or just dark */
.cart-title {
  font-size: 15px;
  margin: 0 0 16px 0;
  color: var(--white);
  font-weight: 600;
  text-align: center
}

.cart-subtitle {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 16px 0;
  text-align: center
}

.cart-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
  border: 0;
  padding-bottom: 0
}

.cart-item-label {
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  margin: 0
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.cart-item-image {
  width: 160px;
  height: 90px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.02)
}

.cart-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90px
}

.cart-item-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.cart-item-img-container {
  position: relative;
  display: inline-block
}

.cart-item-logo-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 60px;
  height: auto
}

.cart-item-price {
  color: var(--white);
  font-size: 28px;
  font-weight: 400;
  margin: 0
}

/* R$250 style */

.cart-item-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap
}

.cart-item-remove {
  color: var(--white);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 0
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white)
}

.cart-item-quantity-input {
  width: 40px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  text-align: center;
  border-radius: 4px;
  font-size: 16px
}

/* Promotions */
.promotions-section {
  margin: 24px 0;
  padding: 0;
  border: none;
  background: transparent;
}

/* Dark bar separation */
.promotions-title {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 16px 0;
  font-weight: 400;
  text-align: center
}

.promotion-item {
  margin-bottom: 16px
}

.promotion-label {
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 10px 0
}

.promotion-content {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between
}

.promotion-image {
  width: 120px;
  height: 80px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: contain;
  background: #5e6270
}

/* Grey placeholder bg as in screenshot */
.promotion-details {
  text-align: right
}

.promotion-price-large {
  color: var(--white);
  font-size: 28px;
  font-weight: 400;
  margin: 0
}

.promotion-qty-text {
  color: var(--white);
  font-size: 13px;
  margin: 4px 0 0 0;
  opacity: 0.9
}

.cta-secondary {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 24px 0;
  border-radius: 6px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-size: 15px
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.05)
}

.order-summary {
  margin: 0;
  padding: 0;
  background: transparent
}

.order-summary h3 {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 16px 0;
  font-weight: 400
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--white)
}

.summary-row span:nth-child(2) {
  font-weight: 400
}

.order-total {
  margin: 16px 0 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.order-total h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 400
}

.total-amount {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  text-align: right
}

.cpf-section {
  margin: 16px 0
}

.cpf-section .label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
  display: block
}

.cpf-section .text-input {
  background: #111;
  border: none;
  padding: 14px;
  font-size: 14px;
  color: var(--white);
  border-radius: 6px
}

.empty-cart {
  color: var(--white);
  text-align: center;
  padding: 30px;
  font-size: 16px
}

/* PAGE 4: Checkout (informações de contato) */
.checkout-required-note {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin: 16px 0
}

.checkout-title {
  font-size: 18px;
  margin: 0 0 16px 0;
  color: var(--white);
  text-align: center;
  font-weight: 600
}

.checkout-section {
  padding: 16px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  margin-top: 8px
}

.checkout-subtitle {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 16px 0;
  text-align: left;
  font-weight: 600
}

.checkout-field {
  margin-bottom: 16px
}

.checkout-field .label {
  margin-top: 0
}

.checkout-payment-label {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px 0
}

.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.payment-option {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.payment-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
}

.payment-option.selected {
  border-color: var(--accent) !important;
  background: rgba(59, 109, 240, 0.1);
  box-shadow: 0 0 0 1px var(--accent);
}

.payment-option input[type="radio"] {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

.payment-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* 3-Step Checkout Indicator */
/* 3-Step Checkout Indicator */
.checkout-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  width: 80px;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f2f3;
  /* Light grey inactive */
  color: #5b626a;
  /* Dark grey text */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
}

.step-item.active .step-circle {
  background: var(--accent-cta);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(52, 102, 232, 0.4);
}

.step-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
}

.step-item.active .step-label {
  color: var(--white);
  font-weight: 600;
}

/* Connecting line background */
.checkout-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  /* Center with 40px circle */
  left: 40px;
  right: 40px;
  height: 4px;
  background: #f1f2f3;
  z-index: 1;
  border-radius: 2px;
}

/* Progress bar (optional, simpler to just have grey line for now as per ref) */

/* ===== PAYMENT FLOWS ===== */
.payment-flow {
  margin-top: 20px;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PIX Flow */
.pix-container {
  text-align: center;
}

.pix-title {
  color: var(--white);
  font-size: 16px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.pix-instructions {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px 0;
}

.pix-qr-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.pix-qr-wrapper canvas {
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.pix-code-section {
  text-align: left;
  margin-bottom: 16px;
}

.pix-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
  word-break: break-all;
}

.pix-code-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent);
}

.pix-code-box:active {
  transform: scale(0.98);
}

.pix-code-text {
  color: var(--white);
  font-size: 11px;
  font-family: 'Courier New', monospace;
  flex: 1;
  margin-right: 12px;
  line-height: 1.4;
}

.pix-copy-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.pix-copied-msg {
  color: #4caf50;
  font-size: 13px;
  margin-top: 8px;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.pix-confirm-btn {
  margin-top: 20px;
  background: #4caf50 !important;
}

.pix-confirm-btn:hover {
  background: #43a047 !important;
}

/* Credit Card Flow */
.cc-container {
  padding: 0;
}

.cc-title {
  color: var(--white);
  font-size: 16px;
  margin: 0 0 16px 0;
  font-weight: 600;
}

.cc-field {
  margin-bottom: 14px;
}

.cc-row {
  display: flex;
  gap: 12px;
}

.cc-field-half {
  flex: 1;
}

/* Loading Overlay */
.payment-loading-overlay {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.payment-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.payment-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.payment-loading-text {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  min-height: 24px;
  transition: opacity 0.3s ease;
}

/* Error Overlay */
.payment-error-overlay {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.payment-error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.payment-error-icon {
  font-size: 48px;
  animation: shake 0.5s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-8px);
  }

  40% {
    transform: translateX(8px);
  }

  60% {
    transform: translateX(-6px);
  }

  80% {
    transform: translateX(6px);
  }
}

.payment-error-title {
  color: #e55353;
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.payment-error-msg {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Success Screen */
.payment-success-screen {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.payment-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Animated Checkmark */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #4caf50;
  position: absolute;
  top: -4px;
  left: -4px;
  animation: circleAnim 0.4s ease-in-out 0.1s forwards;
  opacity: 0;
}

@keyframes circleAnim {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.icon-line {
  height: 5px;
  background-color: #4caf50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
  opacity: 0;
}

.icon-line.line-tip {
  width: 25px;
  left: 14px;
  top: 46px;
  transform: rotate(45deg);
  animation: lineAppear 0.3s ease-in-out 0.5s forwards;
}

.icon-line.line-long {
  width: 47px;
  right: 8px;
  top: 38px;
  transform: rotate(-45deg);
  animation: lineAppear 0.3s ease-in-out 0.6s forwards;
}

@keyframes lineAppear {
  from {
    opacity: 0;
    width: 0;
  }

  to {
    opacity: 1;
  }
}

.success-title {
  color: var(--white);
  font-size: 22px;
  margin: 0;
  font-weight: 700;
}

.success-message {
  color: var(--white);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.success-email-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  font-style: italic;
}

.success-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  text-align: left;
  color: var(--white);
  font-size: 14px;
}

.success-details p {
  margin: 4px 0;
}

/* Hide payment option when disabled */
.payment-option.hidden-method {
  display: none !important;
}

/* ---- CHECKOUT TRANSITION LOADING OVERLAY ---- */
.checkout-transition-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0d0f1a 0%, #141728 50%, #0a0c16 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: transitionFadeIn 0.4s ease;
}

@keyframes transitionFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.transition-loading-content {
  text-align: center;
}

.transition-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #635BFF;
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: transitionSpin 0.8s linear infinite;
}

@keyframes transitionSpin {
  to {
    transform: rotate(360deg);
  }
}

.transition-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.transition-subtext {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
