/* ==========================================================================
   CÔ BÉ HỮU DUYÊN — TÂM LINH, PHONG THUỶ & THIỆN NGUYỆN (https://cobehuuduyen.com)
   Hệ thống giao diện kép:
   - Chế độ Tối (Mặc định): Huyền Bí Á Đông (Đen Huyền Vũ, Đỏ Chu Sa, Vàng Kim)
   - Chế độ Sáng (Thanh Tịnh): Thiền & Trầm Hương (Trắng Giấy Dó, Nâu Trầm, Vàng Đồng)
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-primary: #0d0a09;
  --bg-secondary: #15100e;
  --bg-card: #1c1411;
  --bg-card-hover: #251a16;
  --bg-elevated: #281c17;
  --bg-glass: rgba(20, 14, 12, 0.88);
  --bg-accent-subtle: rgba(212, 175, 55, 0.09);
  --bg-crimson-subtle: rgba(168, 32, 32, 0.18);

  --text-primary: #f7efe4;
  --text-secondary: #d4c3b0;
  --text-muted: #9e8a78;
  --text-inverse: #120d0a;

  --gold-light: #fbe59b;
  --gold-primary: #d4af37;
  --gold-dark: #9c7a1c;
  --crimson-primary: #b82525;
  --crimson-light: #e04343;
  --crimson-dark: #6b1111;
  --jade-green: #2ea87e;

  --border-subtle: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.55);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 28px rgba(212, 175, 55, 0.22);
  --gradient-gold: linear-gradient(135deg, #fbe59b 0%, #d4af37 50%, #a37b16 100%);
  --gradient-crimson: linear-gradient(135deg, #9e1b1b 0%, #5c0d0d 100%);
  --gradient-hero: radial-gradient(circle at 50% 25%, rgba(158, 27, 27, 0.28) 0%, rgba(212, 175, 55, 0.08) 40%, #0d0a09 80%);
}

[data-theme="light"] {
  --bg-primary: #faf5ed;
  --bg-secondary: #f2e9dc;
  --bg-card: #ffffff;
  --bg-card-hover: #fdfaf5;
  --bg-elevated: #efe3d2;
  --bg-glass: rgba(250, 245, 237, 0.92);
  --bg-accent-subtle: rgba(166, 124, 30, 0.1);
  --bg-crimson-subtle: rgba(158, 27, 27, 0.09);

  --text-primary: #261810;
  --text-secondary: #543d2c;
  --text-muted: #7d6452;
  --text-inverse: #fffdf9;

  --gold-light: #b88917;
  --gold-primary: #9e7312;
  --gold-dark: #755308;
  --crimson-primary: #9e1b1b;
  --crimson-light: #b82525;
  --crimson-dark: #630f0f;
  --jade-green: #1d7d5b;

  --border-subtle: rgba(158, 115, 18, 0.25);
  --border-strong: rgba(158, 115, 18, 0.6);
  --shadow-card: 0 12px 30px rgba(68, 42, 22, 0.09);
  --shadow-gold: 0 6px 22px rgba(158, 115, 18, 0.18);
  --gradient-gold: linear-gradient(135deg, #c99722 0%, #9e7312 55%, #785407 100%);
  --gradient-crimson: linear-gradient(135deg, #a82020 0%, #751212 100%);
  --gradient-hero: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.22) 0%, rgba(168, 32, 32, 0.07) 45%, #faf5ed 85%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .font-serif {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold-primary);
  color: #120d0a;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus {
  top: 1rem;
}

/* Top Lunar & Contact Bar */
.top-auspicious-bar {
  background: linear-gradient(90deg, #420b0b 0%, #6b1414 50%, #420b0b 100%);
  color: #fbe59b;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(251, 229, 155, 0.25);
  padding: 0.45rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lunar-ticker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lunar-badge {
  background: rgba(251, 229, 155, 0.18);
  border: 1px solid rgba(251, 229, 155, 0.4);
  padding: 0.12rem 0.55rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff5d6;
}
.top-bar-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

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

.brand-emblem {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

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

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
[data-theme="light"] .brand-name {
  color: var(--crimson-primary);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: var(--bg-accent-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.cart-badge {
  background: var(--crimson-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  padding: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: var(--gradient-hero);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-mandala {
  position: absolute;
  top: 50%;
  right: -8%;
  width: 620px;
  height: 620px;
  transform: translateY(-50%);
  opacity: 0.12;
  pointer-events: none;
  animation: rotateSlow 90s linear infinite;
}

@keyframes rotateSlow {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.75rem;
  align-items: center;
}

.auspicious-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: var(--bg-crimson-subtle);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.seal-stamp {
  background: var(--crimson-primary);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.25rem, 4.3vw, 3.65rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

.hero-title .gold-highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 1.85rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #160f0a;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.32);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.48);
}

.btn-crimson {
  background: var(--gradient-crimson);
  color: #fbe59b;
  border: 1px solid rgba(251, 229, 155, 0.4);
}
.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 37, 37, 0.45);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--bg-accent-subtle);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  color: var(--gold-light);
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Altar & Master Card */
.hero-altar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card), var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.hero-altar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.altar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.altar-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  background: radial-gradient(circle, #5e1111, #1a0909);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.altar-title h2 {
  font-size: 1.45rem;
  color: var(--gold-light);
}

.altar-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--jade-green);
  font-weight: 600;
}

.lunar-daily-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.1rem;
  margin-bottom: 1.2rem;
}

.lunar-daily-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lunar-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.lunar-cell {
  background: var(--bg-card);
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.lunar-cell small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.lunar-cell strong {
  font-size: 1.02rem;
  color: var(--text-primary);
}

.lunar-hours {
  font-size: 0.83rem;
  color: var(--text-secondary);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.6rem;
}

.master-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.channel-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

.channel-pill:hover {
  border-color: var(--gold-primary);
  background: var(--bg-accent-subtle);
  transform: translateY(-2px);
}

.channel-pill span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Section Headers */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.8rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.28rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Divination Sanctuary Tabs */
.divination-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-gold);
  color: #160f0a;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.divination-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.divination-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.oracle-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.25rem;
  align-items: start;
}

.oracle-stage {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem;
  text-align: center;
}

.xam-cylinder-wrap {
  width: 150px;
  height: 180px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xam-cylinder-wrap.shaking {
  animation: shakeCylinder 0.6s ease-in-out infinite;
}

@keyframes shakeCylinder {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-9deg) translateY(-6px); }
  50% { transform: rotate(8deg) translateY(4px); }
  75% { transform: rotate(-6deg) translateY(-4px); }
}

.oracle-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  text-align: left;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.oracle-result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 1.75rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-rank-badge {
  display: inline-block;
  background: var(--gradient-crimson);
  color: #fbe59b;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.poem-scroll {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
  background: var(--bg-card);
  border-left: 3px solid var(--gold-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1rem 0;
  white-space: pre-line;
  color: var(--gold-light);
}

.advice-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
}

.advice-list li {
  background: var(--bg-card);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

/* Coins & Tarot Cards */
.coins-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.ancient-coin {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbe59b 0%, #c99722 70%, #785407 100%);
  border: 3px solid #f7e08b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  position: relative;
}

.ancient-coin::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #593b02;
  background: var(--bg-secondary);
}

.ancient-coin.spinning {
  animation: coinSpin 0.6s linear infinite;
}

@keyframes coinSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.tarot-spread {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

.tarot-card-slot {
  background: linear-gradient(145deg, #2d1614, #140b0a);
  border: 2px solid var(--gold-primary);
  border-radius: 14px;
  padding: 1.2rem 0.85rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarot-card-slot:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.tarot-slot-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}

/* Products Catalog */
.shop-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-pill {
  padding: 0.58rem 1.15rem;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--gradient-gold);
  color: #160f0a;
  border-color: transparent;
}

.shop-filter-right {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.product-visual {
  position: relative;
  height: 205px;
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.2), rgba(24, 14, 12, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
[data-theme="light"] .product-visual {
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.28), #f3e7d4);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gradient-crimson);
  color: #fbe59b;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  border: 1px solid rgba(251, 229, 155, 0.35);
}

.product-element-tag {
  position: absolute;
  bottom: 0.65rem;
  right: 0.75rem;
  background: rgba(15, 11, 9, 0.8);
  color: #fbe59b;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
}
[data-theme="light"] .price-current {
  color: var(--crimson-primary);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

/* Booking 1-1 Master Section */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.25rem;
  align-items: start;
}

.master-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.service-check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.service-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--bg-secondary);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  font-size: 0.93rem;
}

.social-connect-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.social-card-link:hover {
  border-color: var(--gold-primary);
  background: var(--bg-accent-subtle);
  transform: translateX(4px);
}

/* Charity Section */
.charity-banner {
  background: linear-gradient(135deg, rgba(158, 27, 27, 0.22), rgba(212, 175, 55, 0.12));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.charity-campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.campaign-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.progress-bar-track {
  width: 100%;
  height: 10px;
  background: var(--bg-secondary);
  border-radius: 99px;
  overflow: hidden;
  margin: 0.75rem 0 0.5rem;
  border: 1px solid var(--border-subtle);
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 99px;
}

.campaign-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

.donors-ledger {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.65rem;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.ledger-table th,
.ledger-table td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.ledger-table th {
  color: var(--gold-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Slide-over Cart & Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.cart-drawer {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-strong);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
}

.vietqr-box {
  background: #ffffff;
  color: #120d0a;
  border-radius: 16px;
  padding: 1.15rem;
  text-align: center;
  margin: 1rem 0;
  border: 2px solid var(--gold-primary);
}

.vietqr-box img {
  max-width: 230px;
  margin: 0.5rem auto;
  border-radius: 8px;
}

/* Floating Quick Contact Bar */
.floating-contact {
  position: fixed;
  right: 1.15rem;
  bottom: 1.25rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.05);
}

.float-zalo {
  background: linear-gradient(135deg, #0068ff, #0045ad);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.float-tiktok {
  background: linear-gradient(135deg, #161616, #33101c);
  border: 1px solid #fe2c55;
}

.float-fb {
  background: linear-gradient(135deg, #1877f2, #0c52ad);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  padding: 3.5rem 0 2rem;
  border-top: 2px solid var(--border-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-msg {
  background: var(--gradient-crimson);
  color: #fbe59b;
  border: 1px solid var(--gold-primary);
  padding: 0.75rem 1.35rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.25s ease;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .oracle-layout,
  .booking-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .oracle-form-row,
  .tarot-spread,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .top-bar-links {
    display: none;
  }

  .float-btn span {
    display: none;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
}
