/* ============================================================
   TXWNBS MAIN STYLESHEET
   Brand: Burgundy #6B1E2E | Gold #C9A84C | Cream #FAF6F0
   Fonts: Georgia (display) | Arial (body)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --burgundy: #6B1E2E;
  --burgundy-dark: #4A0E1A;
  --burgundy-deep: #1A0A0F;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --white: #FFFFFF;
  --text-dark: #1A0A0F;
  --text-mid: #4A3040;
  --text-light: #8A6070;
  --shadow: 0 4px 24px rgba(107,30,46,0.12);
  --shadow-hover: 0 8px 32px rgba(107,30,46,0.22);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--burgundy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--burgundy);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--burgundy);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
}
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); color: var(--white); transform: translateY(-2px); }
.btn-primary.btn-large { font-size: 1.1rem; padding: 18px 42px; }
.btn-primary.btn-full { width: 100%; display: block; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--burgundy);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--burgundy); color: var(--white); }

/* ---- UPGRADE BANNER ---- */
.upgrade-banner {
  background: var(--gold);
  color: var(--burgundy-deep);
  text-align: center;
  font-size: 0.88rem;
  font-weight: bold;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}
.sparkle {
  display: inline-block;
  margin: 0 8px;
  animation: spin 3s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ---- HEADER ---- */
.site-header {
  background: var(--burgundy-deep);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo-link { text-decoration: none; }
.logo-text {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  background: var(--burgundy);
  border: 2px solid var(--gold);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: bold;
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--gold); color: var(--burgundy-deep); }
.cart-count {
  background: var(--gold);
  color: var(--burgundy-deep);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  margin-left: 4px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, var(--burgundy-dark) 100%);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: bold;
}
.hero-title {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  line-height: 1.7;
}
.ai-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- TIER BANNER ---- */
.tier-banner {
  background: var(--burgundy);
  padding: 44px 24px;
  text-align: center;
}
.tier-inner { max-width: 900px; margin: 0 auto; }
.tier-headline {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.tier-headline strong { color: var(--gold); }
.tier-sub { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 28px; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.tier-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tier-item.highlight {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
}
.tier-qty { font-family: Georgia, serif; font-weight: bold; color: var(--white); font-size: 0.88rem; }
.tier-label { font-size: 0.78rem; color: var(--gold); font-weight: bold; }

/* ---- SECTIONS SHARED ---- */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--burgundy);
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 42px;
  font-size: 1rem;
}

/* ---- CATEGORIES ---- */
.categories-section { padding: 72px 0; background: var(--cream); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px 16px 22px;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.cat-card:hover {
  border-color: var(--burgundy);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.cat-icon { font-size: 2rem; margin-bottom: 10px; }
.cat-name { font-size: 0.88rem; font-weight: bold; color: var(--burgundy); }

/* ---- INTERNATIONAL ---- */
.international-section { background: var(--cream-dark); padding: 72px 0; }
.intl-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.intl-text h2 { font-family: Georgia, serif; font-size: 1.8rem; color: var(--burgundy); margin-bottom: 14px; }
.intl-text p { color: var(--text-mid); margin-bottom: 24px; line-height: 1.7; }
.intl-flags { font-size: 2rem; letter-spacing: 0.1em; }

/* ---- PAYMENT ---- */
.payment-section { background: var(--white); padding: 60px 0; }
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.payment-item {
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-weight: bold;
  color: var(--burgundy);
  font-size: 0.95rem;
}
.payment-note { text-align: center; color: var(--text-light); font-size: 0.85rem; }

/* ---- APPLY STEPS ---- */
.apply-section { background: var(--burgundy-deep); padding: 80px 0; }
.apply-section .section-title { color: var(--white); }
.apply-section .section-sub { color: rgba(255,255,255,0.7); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.step-num {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}
.step-title { font-family: Georgia, serif; font-size: 1.1rem; color: var(--white); margin-bottom: 10px; font-weight: bold; }
.step-desc { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.apply-cta { text-align: center; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--burgundy-deep);
  border-top: 2px solid var(--gold);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 10px; line-height: 1.6; }
.footer-address { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin-bottom: 10px; line-height: 1.6; }
.footer-email { color: var(--gold); font-size: 0.85rem; }
.footer-links h4, .footer-social h4 {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-links a, .footer-social a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-social a:hover { color: var(--gold); }
.soon-wrap { display: block; color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 6px; }
.soon-badge {
  background: var(--gold);
  color: var(--burgundy-deep);
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 50px;
  margin-right: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer-bottom a { color: rgba(255,255,255,0.55); font-size: 0.78rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- CHAT WIDGET ---- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: Arial, sans-serif;
}
.chat-toggle {
  background: var(--burgundy);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: 14px 22px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: var(--shadow-hover);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-toggle:hover { background: var(--burgundy-dark); transform: translateY(-2px); }
.chat-panel {
  width: 340px;
  background: var(--white);
  border: 2px solid var(--burgundy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  margin-bottom: 12px;
}
.chat-header {
  background: var(--burgundy);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 0.9rem;
}
.chat-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
}
.chat-close:hover { opacity: 1; }
.chat-messages {
  padding: 16px;
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 88%;
}
.chat-msg.assistant {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  align-self: flex-start;
  color: var(--text-dark);
}
.chat-msg.user {
  background: var(--burgundy);
  color: var(--white);
  align-self: flex-end;
}
.chat-input-row {
  display: flex;
  border-top: 1px solid var(--cream-dark);
}
.chat-input-row input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  outline: none;
  font-size: 0.88rem;
  font-family: Arial, sans-serif;
}
.chat-input-row button {
  background: var(--burgundy);
  color: var(--white);
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.88rem;
  transition: background var(--transition);
}
.chat-input-row button:hover { background: var(--burgundy-dark); }

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 980;
}
.cart-overlay.active { display: block; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--white);
  border-left: 2px solid var(--burgundy);
  z-index: 990;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  background: var(--burgundy);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-family: Georgia, serif; font-size: 1.1rem; }
.cart-header button { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { color: var(--text-light); text-align: center; margin-top: 48px; font-size: 0.95rem; }
.cart-footer { padding: 20px; border-top: 1px solid var(--cream-dark); }
.cart-total { font-family: Georgia, serif; font-size: 1.1rem; color: var(--burgundy); margin-bottom: 16px; text-align: right; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .intl-content { grid-template-columns: 1fr; text-align: center; }
  .intl-flags { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--burgundy-deep); padding: 20px 24px; gap: 16px; border-bottom: 2px solid var(--gold); }
  .hamburger { display: block; }
  .hero { padding: 60px 24px 50px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .chat-panel { width: calc(100vw - 32px); right: 0; }
  .cart-sidebar { width: 100%; }
}
