/* ===================================================
   Local China Tours - Commercial & Concierge Components
   =================================================== */

:root {
  --lct-terracotta: #c2410c;
  --lct-terracotta-hover: #9a3412;
  --lct-ochre: #d97706;
  --lct-dark: #0f172a;
  --lct-muted: #64748b;
  --lct-card-bg: #ffffff;
  --lct-border: #e2e8f0;
  --lct-cream: #fffaf0;
  --lct-emerald: #059669;
}

/* Store Hero */
.commerce-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid #334155;
}

.commerce-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.2);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.commerce-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .commerce-hero h1 {
    font-size: 3.25rem;
  }
}

.commerce-hero p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pricing Grid */
.commerce-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--lct-border);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--lct-terracotta);
  background: #fffdfa;
}

.card-tag {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lct-terracotta);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.card-header h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--lct-dark);
  margin-bottom: 0.5rem;
}

.card-header p {
  color: var(--lct-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  min-height: 2.8rem;
}

.card-price {
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--lct-border);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.card-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--lct-dark);
}

.card-price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--lct-dark);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.card-price .period {
  color: var(--lct-muted);
  font-size: 0.9rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: #334155;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.card-features li svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--lct-emerald);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--lct-dark);
  color: #ffffff;
  text-decoration: none;
}

.btn-checkout:hover {
  background: #1e293b;
  color: #ffffff;
}

.pricing-card.featured .btn-checkout {
  background: var(--lct-terracotta);
}

.pricing-card.featured .btn-checkout:hover {
  background: var(--lct-terracotta-hover);
}

.card-footer-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.785rem;
  color: var(--lct-muted);
}

/* In-Article Affiliate & Product Callout Box */
.lct-callout-box {
  background: #fffaf0;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--lct-terracotta);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.lct-callout-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #9a3412;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.lct-callout-body {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.lct-callout-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-affiliate-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--lct-terracotta);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-affiliate-primary:hover {
  background: var(--lct-terracotta-hover);
}

.btn-affiliate-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-affiliate-secondary:hover {
  background: #f1f5f9;
}

/* Success / Cancel Page styles */
.checkout-status-card {
  max-width: 650px;
  margin: 4rem auto;
  background: #ffffff;
  border: 1px solid var(--lct-border);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.status-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.status-icon.success {
  background: #ecfdf5;
  color: #059669;
}

.status-icon.cancel {
  background: #fff1f2;
  color: #e11d48;
}

.checkout-status-card h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 2rem;
  color: var(--lct-dark);
  margin-bottom: 0.75rem;
}

.checkout-status-card p {
  color: var(--lct-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.order-box {
  background: #f8fafc;
  border: 1px solid var(--lct-border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 2rem;
}

.order-box dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--lct-muted);
  font-weight: 600;
}

.order-box dd {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lct-dark);
  margin: 0.25rem 0 0.85rem 0;
}
