/* =====================================================
   DIGDARSHAN ASTRO — MASTER STYLESHEET
   File: css/style.css
   Covers: Public Website + Admin Panel
===================================================== */

/* =====================================================
   1. CSS VARIABLES
===================================================== */
:root {
  --gold:           #C9A84C;
  --gold-light:     #E8C97A;
  --gold-pale:      #F5E9C8;
  --gold-dim:       rgba(201,168,76,0.15);
  --gold-border:    rgba(201,168,76,0.25);

  --bg-primary:     #0D0A05;
  --bg-secondary:   #13100A;
  --bg-card:        #1C1810;
  --bg-card-2:      #252017;
  --bg-hover:       #2A2318;
  --bg-mid:         #3A3020;

  --text-primary:   #E8DFC8;
  --text-muted:     #9A8E72;
  --text-dim:       #5A5040;
  --white:          #FDFAF4;

  --green:          #27AE60;
  --green-light:    #4CAF77;
  --red:            #E74C3C;
  --red-light:      #FF6B6B;
  --blue:           #2D80F0;
  --orange:         #F39C12;

  --accent-primary:   #00EAFF;
  --accent-dim:       rgba(0,234,255,0.1);
  --accent-border:    rgba(0,234,255,0.25);

  --border-color:   rgba(255,255,255,0.07);
  --border-gold:    rgba(201,168,76,0.2);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.1);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sidebar-width: 220px;
}

/* =====================================================
   2. RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: 'DM Sans', sans-serif; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* =====================================================
   3. TYPOGRAPHY
===================================================== */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.15; color: var(--white); }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 16px; font-weight: 600; color: var(--white); }
p  { color: var(--text-muted); line-height: 1.75; }

.gold-text  { color: var(--gold); }
.white-text { color: var(--white); }
.muted-text { color: var(--text-muted); }
.green-text { color: var(--green-light); }
.red-text   { color: var(--red-light); }

/* =====================================================
   4. LAYOUT UTILITIES
===================================================== */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 100px 0; position: relative; z-index: 1; }
.divider     { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-gold), transparent); }

.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-h2  { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,4vw,52px); font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.section-h2 span { color: var(--gold); font-style: italic; }
.section-desc { font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 560px; }

.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px; padding: 6px 16px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
.live-tag  { display: inline-flex; align-items: center; gap: 6px; background: rgba(39,174,96,0.15); border: 1px solid rgba(39,174,96,0.3); border-radius: 100px; padding: 4px 12px; font-size: 11px; font-weight: 600; color: var(--green-light); margin-bottom: 16px; }
.live-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); animation: pulse 1.5s infinite; }

@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes slideIn { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeIn  { from { opacity:0; transform:translateX(8px); } to { opacity:1; transform:translateX(0); } }
@keyframes popIn   { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }

/* =====================================================
   5. BUTTONS
===================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); letter-spacing: 0.3px; white-space: nowrap; }
.btn-primary   { background: var(--gold); color: var(--bg-primary); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); }
.btn-outline-gold:hover { background: rgba(201,168,76,0.25); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #2ecc71; transform: translateY(-1px); }
.btn-red   { background: rgba(231,76,60,0.15); color: var(--red-light); border: 1px solid rgba(231,76,60,0.3); }
.btn-red:hover { background: rgba(231,76,60,0.25); }
.btn-cyan  { background: var(--accent-dim); color: var(--accent-primary); border: 1px solid var(--accent-border); }
.btn-cyan:hover { background: rgba(0,234,255,0.2); }
.btn-sm    { padding: 7px 16px; font-size: 12px; }
.btn-lg    { padding: 16px 36px; font-size: 15px; }
.btn-full  { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.btn-icon { background: rgba(255,255,255,0.06); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 7px 10px; cursor: pointer; transition: var(--transition); color: var(--text-muted); font-size: 14px; display: inline-flex; align-items: center; }
.btn-icon:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-icon-gold:hover { background: var(--gold-dim); color: var(--gold); border-color: var(--gold-border); }
.btn-icon-red:hover  { background: rgba(231,76,60,0.1); color: var(--red-light); border-color: rgba(231,76,60,0.3); }

.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.2); border-top-color: currentColor; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }

/* =====================================================
   6. FORM ELEMENTS
===================================================== */
.form-group  { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label  { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; }
label        { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.form-control, input, select, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-control::placeholder,
input::placeholder,
textarea::placeholder { color: var(--text-dim); }
.form-control:focus,
input:focus,
select:focus,
textarea:focus { border-color: var(--gold); background: rgba(201,168,76,0.04); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
select { cursor: pointer; }
select option { background: var(--bg-card); color: var(--text-primary); }
textarea { resize: vertical; min-height: 100px; }

.form-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* =====================================================
   7. CARDS
===================================================== */
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; transition: var(--transition); }
.card:hover { border-color: rgba(255,255,255,0.12); }
.card-gold { background: var(--bg-card); border: 1px solid var(--gold-border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-gold); }

/* =====================================================
   8. TABLE
===================================================== */
.table-container { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 600px; }
thead { background: rgba(255,255,255,0.04); }
thead th { padding: 12px 14px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; border-bottom: 1px solid var(--border-color); }
tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-primary); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.03); }
tfoot td { padding: 12px 14px; border-top: 1px solid var(--border-color); font-weight: 600; color: var(--gold); background: rgba(255,255,255,0.02); }

.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.status-new      { background: rgba(45,128,240,0.15); color: #5B9FF5; border: 1px solid rgba(45,128,240,0.3); }
.status-active   { background: rgba(39,174,96,0.15);  color: #4CAF77; border: 1px solid rgba(39,174,96,0.3); }
.status-hot      { background: rgba(231,76,60,0.15);  color: #FF6B6B; border: 1px solid rgba(231,76,60,0.3); }
.status-warm     { background: rgba(243,156,18,0.15); color: #F5B942; border: 1px solid rgba(243,156,18,0.3); }
.status-cold     { background: rgba(52,152,219,0.15); color: #5DADE2; border: 1px solid rgba(52,152,219,0.3); }
.status-paid     { background: rgba(39,174,96,0.15);  color: #4CAF77; border: 1px solid rgba(39,174,96,0.3); }
.status-pending  { background: rgba(243,156,18,0.15); color: #F5B942; border: 1px solid rgba(243,156,18,0.3); }
.status-cancelled{ background: rgba(231,76,60,0.15);  color: #FF6B6B; border: 1px solid rgba(231,76,60,0.3); }

/* =====================================================
   9. ADMIN PANEL LAYOUT
===================================================== */
.sidebar { position: fixed; top: 0; left: 0; width: 220px; height: 100vh; background: var(--bg-secondary); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; z-index: 100; overflow-y: auto; overflow-x: hidden; transition: transform 0.3s ease; }
.sidebar-brand { padding: 24px 20px 20px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.sidebar-brand a { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; line-height: 1.2; display: block; }
.sidebar-brand span { font-size: 10px; color: var(--text-muted); display: block; margin-top: 3px; font-family: 'DM Sans', sans-serif; font-weight: 400; }
.sidebar-nav { padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-muted); transition: var(--transition); position: relative; }
.nav-link:hover  { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.nav-link.active { background: var(--gold-dim); color: var(--gold); font-weight: 600; }
.nav-link.active::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 3px; background: var(--gold); border-radius: 0 2px 2px 0; }
.nav-icon  { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.nav-badge { margin-left: auto; background: var(--gold); color: var(--bg-primary); border-radius: 100px; padding: 1px 7px; font-size: 10px; font-weight: 700; }
.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--border-color); flex-shrink: 0; }

.main-content { margin-left: 220px !important; min-height: 100vh; padding: 0 0 60px; }
.page-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 32px; border-bottom: 1px solid var(--border-color); background: rgba(13,10,5,0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; }
.page-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--white); }
.page-body { padding: 28px 32px; }

.menu-toggle { display: none; position: fixed; top: 16px; left: 16px; z-index: 200; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--gold); font-size: 18px; cursor: pointer; }
.content-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 90; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; transition: var(--transition); }
.stat-card:hover { border-color: var(--gold-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card-icon  { font-size: 28px; margin-bottom: 4px; }
.stat-card-value { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-card-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.stat-card-change      { font-size: 12px; margin-top: 4px; }
.stat-card-change.up   { color: var(--green-light); }
.stat-card-change.down { color: var(--red-light); }

/* =====================================================
   10. PUBLIC WEBSITE — HEADER
===================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; background: rgba(13,10,5,0.94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-gold); transition: padding 0.3s; gap: 16px; min-width: 0; }
.logo-wrap { display: flex; align-items: center; gap: 14px; cursor: pointer;   flex-shrink: 0;
}
.logo-circle { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; background: var(--bg-card); }
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-title    { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold); line-height: 1.1; }
.logo-subtitle { font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px; margin-top: 2px; }

/* header-nav desktop rules handled in index.html inline CSS */




.header-actions { display: flex; align-items: center; gap: 14px;   flex-shrink: 0;
}

.cart-btn { position: relative; background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: var(--radius-sm); padding: 9px 16px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; font-weight: 600; }
.cart-btn:hover { background: rgba(201,168,76,0.22); }
.cart-badge { position: absolute; top: -7px; right: -7px; background: var(--gold); color: var(--bg-primary); width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.cart-badge.show { display: flex; }




/* =====================================================
   11. PUBLIC — HERO
===================================================== */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding: 120px 48px 80px; position: relative; z-index: 1; overflow: hidden; }
.hero-inner   { max-width: 1280px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 60px; }
.hero-left    { flex: 1; max-width: 580px; }
.hero-right   { flex: 0 0 420px; }

.hero-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px,5.5vw,70px); font-weight: 600; line-height: 1.08; color: var(--white); margin-bottom: 24px; }
.hero-h1 span { color: var(--gold); font-style: italic; }
.hero-desc    { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats   { display: flex; gap: 40px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stat h3 { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-stat p  { font-size: 11px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.hero-card { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md), var(--shadow-gold); }
.hero-card-img-placeholder { width: 100%; height: 260px; background: linear-gradient(135deg, var(--bg-card-2), var(--bg-mid)); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.hero-card-body { padding: 28px; }
.hero-card-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.hero-card-body > p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.hero-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-primary); }
.hero-features li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-dim); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* =====================================================
   12. PUBLIC — PLAN CARDS
===================================================== */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 24px; margin-top: 52px; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; position: relative; transition: var(--transition); display: flex; flex-direction: column; }
.plan-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.featured { background: linear-gradient(160deg,#1E1810,#26200F); border-color: rgba(201,168,76,0.5); box-shadow: 0 0 60px rgba(201,168,76,0.12); }
.plan-top-badge { position: absolute; top: -1px; right: 24px; background: var(--gold); color: var(--bg-primary); font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 5px 12px; border-radius: 0 0 8px 8px; text-transform: uppercase; }
.plan-type  { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.plan-name  { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.plan-price-amt    { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 700; color: var(--gold); line-height: 1; }
.plan-price-period { font-size: 14px; color: var(--text-muted); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; margin-bottom: 24px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* Add to cart buttons */
.atc-btn { width: 100%; padding: 13px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); }
.atc-btn:hover { background: rgba(201,168,76,0.22); }
.plan-card.featured .atc-btn { background: var(--gold); color: var(--bg-primary); border: none; }
.plan-card.featured .atc-btn:hover { background: var(--gold-light); }
.atc-btn.added { background: rgba(39,174,96,0.12)!important; color: var(--green-light)!important; border: 1px solid rgba(39,174,96,0.3)!important; }

.addon-atc-btn   { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); border-radius: var(--radius-sm); padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.addon-atc-btn:hover { background: rgba(201,168,76,0.22); }
.addon-atc-btn.added { background: rgba(39,174,96,0.1); color: var(--green-light); border-color: rgba(39,174,96,0.3); }

.product-atc-btn { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); border-radius: var(--radius-sm); padding: 8px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.product-atc-btn:hover { background: rgba(201,168,76,0.22); }
.product-atc-btn.added { background: rgba(39,174,96,0.12); color: var(--green-light); border-color: rgba(39,174,96,0.3); }

/* =====================================================
   13. PRODUCT SHOP
===================================================== */
.product-shop-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 20px; }
.product-shop-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; position: relative; }
.product-shop-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.psc-img  { width: 100%; height: 200px; position: relative; overflow: hidden; background: var(--bg-card-2); }
.psc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-shop-card:hover .psc-img img { transform: scale(1.06); }
.psc-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 56px; opacity: 0.5; }
.psc-id-badge { position: absolute; top: 10px; right: 10px; background: rgba(13,10,5,0.88); border: 1px solid var(--gold-border); border-radius: 5px; padding: 3px 8px; font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; font-family: monospace; }
.psc-body     { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.psc-category { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.psc-name     { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.psc-desc     { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.psc-meta     { font-size: 11px; color: var(--text-muted); margin-bottom: 14px; }
.psc-footer   { display: flex; align-items: center; justify-content: space-between; margin-top: auto; flex-wrap: wrap; gap: 8px; }
.psc-price    { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--gold); }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-tab  { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: 100px; padding: 7px 18px; font-size: 13px; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.filter-tab:hover, .filter-tab.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }

/* =====================================================
   14. CART DRAWER
===================================================== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 600; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -500px; width: 100%; max-width: 460px; height: 100vh; background: var(--bg-card); z-index: 601; display: flex; flex-direction: column; border-left: 1px solid var(--border-gold); box-shadow: -20px 0 60px rgba(0,0,0,0.6); transition: right 0.35s cubic-bezier(0.4,0,0.2,1); }
.cart-drawer.open { right: 0; }
.cart-header  { padding: 22px 24px 18px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.cart-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--white); }
.cart-count-tag { background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px; padding: 3px 12px; font-size: 12px; color: var(--gold); font-weight: 600; }
.cart-close   { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 20px; cursor: pointer; transition: var(--transition); display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; touch-action: manipulation; }
.cart-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.cart-body    { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-footer  { padding: 18px 24px 24px; border-top: 1px solid var(--border-color); flex-shrink: 0; background: var(--bg-card); }

.promo-row   { display: flex; gap: 8px; margin-bottom: 12px; }
.promo-input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text-primary); font-size: 13px; outline: none; transition: var(--transition); }
.promo-input:focus { border-color: var(--gold); }
.promo-input::placeholder { color: var(--text-dim); }
.promo-msg { font-size: 11px; margin-bottom: 10px; padding: 6px 12px; border-radius: 6px; display: none; }
.promo-msg.success { display: block; background: rgba(39,174,96,0.1); color: var(--green-light); border: 1px solid rgba(39,174,96,0.25); }
.promo-msg.error   { display: block; background: rgba(231,76,60,0.1); color: var(--red-light); border: 1px solid rgba(231,76,60,0.2); }

.cart-summary { margin-bottom: 18px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; }
.cart-row .cl { color: var(--text-muted); }
.cart-row .cv { color: var(--text-primary); font-weight: 500; }
.cart-row.total { padding-top: 12px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.cart-row.total .cl { font-size: 15px; font-weight: 600; color: var(--white); }
.cart-row.total .cv { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold); }

.checkout-btn { width: 100%; padding: 15px; border-radius: var(--radius-sm); background: var(--gold); color: var(--bg-primary); font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; }
.checkout-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.cart-trust { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.cart-trust-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-muted); }

/* =====================================================
   15. CHECKOUT POPUP
===================================================== */
.checkout-popup { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.checkout-popup.active { display: flex; }
.co-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(8px); }
.co-box     { position: relative; z-index: 1; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); width: 100%; max-width: 480px; padding: 36px; box-shadow: var(--shadow-lg),var(--shadow-gold); animation: popIn 0.3s ease; max-height: 90vh; overflow-y: auto; }
.co-close   { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.06); border: none; width: 32px; height: 32px; border-radius: 50%; color: var(--text-muted); font-size: 14px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.co-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.order-mini { background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px; }
.order-mini h4 { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.order-item-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 13px; }
.order-item-row .n { color: var(--text-muted); }
.order-item-row .p { color: var(--text-primary); font-weight: 500; }
.order-total-row  { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--border-color); }
.order-total-row .tl { font-size: 14px; font-weight: 600; color: var(--white); }
.order-total-row .ta { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--gold); }
.pay-btn { width: 100%; padding: 15px; border-radius: var(--radius-sm); background: var(--gold); color: var(--bg-primary); font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.pay-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.pay-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.co-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--text-muted); }

/* =====================================================
   16. CONSULTATION BOOKING POPUP
===================================================== */
.lead-popup { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.lead-popup.active { display: flex; }
.lead-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(8px); cursor: pointer; }
.lead-box { position: relative; z-index: 1; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 80px rgba(0,0,0,0.8),var(--shadow-gold); animation: popIn 0.3s ease; }
.lead-close   { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.08); border: none; width: 32px; height: 32px; border-radius: 50%; color: var(--text-muted); font-size: 14px; cursor: pointer; transition: var(--transition); z-index: 2; display: flex; align-items: center; justify-content: center; }
.lead-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.lead-popup-top { padding: 32px 32px 24px; border-bottom: 1px solid var(--border-color); background: linear-gradient(160deg,rgba(201,168,76,0.06),transparent); }
.lead-popup-top h2 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: var(--white); margin: 12px 0 8px; }
.lead-popup-top p  { font-size: 13px; color: var(--text-muted); }
.lead-form { padding: 28px 32px 32px; }

.step-indicator { display: flex; align-items: center; margin-bottom: 28px; }
.step-wrap { display: flex; align-items: center; flex: 1; }
.step-wrap:last-child { flex: 0; }
.step-dot  { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border-color); background: transparent; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; transition: var(--transition); }
.step-line { flex: 1; height: 2px; background: var(--border-color); margin: 0 8px; transition: background 0.3s; }
.step-wrap.active .step-dot  { background: var(--gold); border-color: var(--gold); color: var(--bg-primary); }
.step-wrap.active .step-line { background: var(--gold); }
.step-wrap.done .step-dot    { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }
.step-wrap.done .step-line   { background: var(--gold); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.2s ease; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 20px; }

.review-card  { background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 20px; }
.review-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-item .rlabel { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.review-item .rval   { font-size: 14px; color: var(--white); font-weight: 500; }
.step-nav { display: flex; gap: 12px; margin-top: 28px; }
.step-prev, .step-next, .step-submit { padding: 13px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; display: flex; align-items: center; gap: 6px; }
.step-prev { background: rgba(255,255,255,0.06); color: var(--text-primary); border: 1px solid var(--border-color); }
.step-prev:hover { background: rgba(255,255,255,0.1); }
.step-next { background: var(--gold); color: var(--bg-primary); flex: 1; justify-content: center; }
.step-next:hover { background: var(--gold-light); }
.step-submit { background: var(--green); color: white; flex: 1; justify-content: center; }
.step-submit:hover { background: #2ecc71; }

.payment-trust { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.payment-trust-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }
.razorpay-badge { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 12px; font-size: 11px; color: var(--text-muted); }
.razorpay-badge strong { color: #2D80F0; }

/* =====================================================
   17. FOOTER
===================================================== */
.footer-premium { background: linear-gradient(180deg,#12100C 0%,#0D0A05 100%); border-top: 1px solid rgba(212,175,55,0.2); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 48px; align-items: start; }
.footer-about h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: #D4AF37; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-about p  { font-size: 14px; line-height: 1.75; color: #aaa; margin-bottom: 24px; max-width: 280px; }
.social-icons    { display: flex !important; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.social-icons a  {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  color: #C9A84C !important;
  display: flex !important; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px;
  transition: all 0.2s;
}
.social-icons a:hover { background: #f0cc55; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(212,175,55,0.4); }
.footer-contact h4, .footer-map h4 { font-size: 16px; font-weight: 700; color: #D4AF37; margin-bottom: 18px; text-align: center; letter-spacing: 0.5px; }
.contact-line    { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #bbb; margin-bottom: 12px; line-height: 1.5; }
.contact-line i  { color: #D4AF37; flex-shrink: 0; width: 16px; margin-top: 2px; }
.chambers-heading { font-size: 15px; font-weight: 700; color: #D4AF37; margin-top: 24px; margin-bottom: 16px; text-align: center; padding-bottom: 6px; border-bottom: 1px solid rgba(212,175,55,0.3); display: block; letter-spacing: 0.5px; }
.chamber-entry   { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #bbb; margin-bottom: 14px; line-height: 1.6; }
.chamber-entry i { color: #D4AF37; flex-shrink: 0; margin-top: 3px; }
.chamber-entry strong { color: #ddd; }
.footer-map iframe { width: 100%; height: 230px; border: none; border-radius: 10px; border: 1px solid rgba(212,175,55,0.2); }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(212,175,55,0.12); padding: 18px 24px; text-align: center; font-size: 13px; color: #555; background: rgba(0,0,0,0.3); }
.footer-bottom span { color: #D4AF37; }

/* =====================================================
   18. LEGAL PAGES
===================================================== */
.legal-section  { padding: 100px 48px 60px; max-width: 800px; margin: 0 auto; display: none; }
.legal-section.active { display: block; }
.legal-section h1 { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.legal-section .updated { font-size: 12px; color: var(--text-muted); margin-bottom: 40px; }
.legal-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold); margin: 32px 0 12px; }
.legal-section p  { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-section ul { padding-left: 20px; }
.legal-section ul li { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
#main-content   { display: block; }
body.legal-mode #main-content  { display: none; }
body.legal-mode #legal-content { display: block; }
#legal-content  { display: none; }

/* =====================================================
   19. TOAST
===================================================== */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--bg-card-2); border: 1px solid var(--gold-border); color: var(--text-primary); padding: 11px 22px; border-radius: 100px; font-size: 13px; font-weight: 500; z-index: 700; opacity: 0; transition: all 0.3s; white-space: nowrap; pointer-events: none; }
.toast.show  { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.green { border-color: rgba(39,174,96,.5); color: var(--green-light); }
.toast.red   { border-color: rgba(231,76,60,.5); color: var(--red-light); }

/* =====================================================
   20. FLOATING WHATSAPP
===================================================== */
.floating-wa { position: fixed; bottom: 28px; right: 28px; z-index: 99; background: #25D366; color: white; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); }
.floating-wa:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.floating-wa-tooltip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--bg-secondary); color: var(--text-primary); padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.2s; border: 1px solid var(--border-color); }
.floating-wa:hover .floating-wa-tooltip { opacity: 1; }
/* Star and divider: desktop hidden, mobile only */
.floating-wa-star { display: none !important; }
.floating-wa-divider { display: none !important; }
/* =====================================================
   MOBILE FLOATING BAR — LOCKED — DO NOT MODIFY
   Green bar: ⭐ (top) + WhatsApp (bottom), flush right
===================================================== */
@media (max-width: 768px) {
  .floating-wa {
    width: 42px !important; height: 90px !important;
    right: 0 !important; bottom: 24px !important;
    border-radius: 10px 0 0 10px !important;
    box-shadow: -2px 2px 16px rgba(37,211,102,0.45) !important;
    flex-direction: column !important;
    gap: 0 !important; padding: 0 !important;
  }
  .floating-wa svg { width: 22px !important; height: 22px !important; }
  .floating-wa-tooltip { display: none !important; }
  .floating-wa-star {
    display: flex !important; align-items: center !important;
    justify-content: center !important;
    width: 100% !important; height: 44px !important;
    font-size: 20px !important; cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  .floating-wa-divider {
    display: block !important; width: 26px !important;
    height: 1px !important; background: rgba(255,255,255,0.35) !important;
    flex-shrink: 0 !important;
  }
  #fb-bubble { display: none !important; }
}
/* =====================================================
   END MOBILE FLOATING BAR — DO NOT MODIFY ABOVE
===================================================== */

/* =====================================================
   ADMIN MOBILE TOPBAR + SIDEBAR FOOTER
===================================================== */
/* Mobile topbar (injected by sidebar.js) */
.admin-mobile-topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; height: 56px;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
  align-items: center; justify-content: space-between;
  padding: 0 14px; z-index: 160; gap: 10px;
}
.admin-topbar-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 700; color: var(--gold);
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.admin-topbar-view { color: var(--text-muted); font-size: 18px; text-decoration: none; flex-shrink: 0; }

/* Sidebar footer */
.sidebar-viewsite {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  border: 1px solid var(--border-color); margin-bottom: 10px;
  transition: all .2s;
}
.sidebar-viewsite:hover { color: var(--gold); border-color: var(--gold-border); }
.sidebar-online {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: rgba(255,255,255,.03);
  border-radius: 8px; margin-bottom: 8px;
}
.sidebar-online-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); display: inline-block; flex-shrink: 0; }
.online-btn {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  border: 1px solid rgba(39,174,96,.4); background: rgba(39,174,96,.1);
  color: #4CAF77; cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.sidebar-user {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(255,255,255,.02); border-radius: 8px;
}
.sidebar-user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.sidebar-user-info { flex: 1; min-width: 0; overflow: hidden; }
.sidebar-user-name  { font-size: 12px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-email { font-size: 10px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-logout { background: none; border: none; cursor: pointer; font-size: 16px; padding: 4px; border-radius: 6px; flex-shrink: 0; }
.sidebar-logout:hover { background: rgba(255,255,255,.05); }

/* Admin mobile responsive */
@media (max-width: 768px) {
  .admin-mobile-topbar { display: flex !important; }
  .page-header { padding: 60px 16px 16px !important; flex-wrap: wrap; }
  .page-header h1 { font-size: 20px !important; }
  .page-header-actions { flex-wrap: wrap; gap: 8px; }
  .page-body { padding: 16px !important; }

  /* Stats grid — 2 columns on mobile */
  .stats-grid, .stat-cards, [class*="stats-row"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Tables — horizontal scroll */
  .table-wrap, .table-container { overflow-x: auto !important; }

  /* Modals — full width */
  .edit-modal-overlay .edit-modal,
  .modal-content, [class*="modal"] > div:first-child {
    width: calc(100vw - 32px) !important; max-width: 100% !important;
    max-height: 90vh; overflow-y: auto;
  }

  /* Cards layout */
  .bookings-layout, .clients-layout, [class*="-layout"] {
    grid-template-columns: 1fr !important; flex-direction: column !important;
  }
}
@media (max-width: 480px) {
  .stats-grid, .stat-cards, [class*="stats-row"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .page-header-actions .btn { padding: 6px 10px !important; font-size: 11px !important; }
}

/* =====================================================
   21. LOGIN PAGE
===================================================== */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(ellipse 80% 60% at 50% 0%,rgba(201,168,76,0.08),transparent 70%),var(--bg-primary); }
.login-box  { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); padding: 48px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg),var(--shadow-gold); text-align: center; }
.login-box h1 { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--gold); margin-bottom: 6px; }
.login-box p  { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.login-box .form-group { text-align: left; margin-bottom: 16px; }

/* =====================================================
   22. BOOKING CALENDAR
===================================================== */
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-top: 16px; }
.cal-day-header { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-muted); padding: 8px 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; color: var(--text-muted); }
.cal-day:hover:not(.cal-empty):not(.cal-past):not(.cal-unavail) { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }
.cal-day.cal-today    { border-color: var(--gold-border); color: var(--gold); font-weight: 700; }
.cal-day.cal-selected { background: var(--gold); color: var(--bg-primary); font-weight: 700; }
.cal-day.cal-available{ color: var(--text-primary); }
.cal-day.cal-past     { opacity: 0.3; cursor: not-allowed; }
.cal-day.cal-unavail  { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.cal-day.cal-empty    { cursor: default; }

.time-slots { display: grid; grid-template-columns: repeat(auto-fill,minmax(100px,1fr)); gap: 8px; margin-top: 16px; }
.time-slot  { padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); text-align: center; font-size: 13px; cursor: pointer; transition: var(--transition); color: var(--text-muted); }
.time-slot:hover:not(.slot-booked) { border-color: var(--gold-border); color: var(--gold); background: var(--gold-dim); }
.time-slot.slot-selected { background: var(--gold); color: var(--bg-primary); border-color: var(--gold); font-weight: 600; }
.time-slot.slot-booked   { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* =====================================================
   23. CHAT SYSTEM
===================================================== */
.chat-window  { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); display: flex; flex-direction: column; height: 500px; overflow: hidden; }
.chat-header  { padding: 16px 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 75%; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.chat-msg.client { background: rgba(255,255,255,0.07); color: var(--text-primary); align-self: flex-start; border-radius: 4px 12px 12px 12px; }
.chat-msg.admin  { background: var(--gold-dim); color: var(--gold); align-self: flex-end; border: 1px solid var(--gold-border); border-radius: 12px 4px 12px 12px; }
.chat-msg-time   { font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.chat-input-area { padding: 12px 16px; border-top: 1px solid var(--border-color); display: flex; gap: 10px; flex-shrink: 0; }
.chat-timer      { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--gold); text-align: center; padding: 8px; }
.chat-timer.warning { color: var(--red-light); animation: pulse 1s infinite; }

/* =====================================================
   24. BG TEXTURE
===================================================== */
.bg-texture { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 15% 20%,rgba(201,168,76,0.06) 0%,transparent 70%), radial-gradient(ellipse 50% 60% at 85% 80%,rgba(201,168,76,0.04) 0%,transparent 70%); }

/* =====================================================
   25. RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); z-index: 150; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
  .menu-toggle { display: flex !important; align-items: center; }
  .content-overlay.show { display: block; }
  .page-header { padding: 60px 20px 18px; }
  .page-body   { padding: 20px; }

  /* ── HEADER / NAV ── */
  .header { padding: 14px 20px; }
  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  
  
  
  
  
  #bookConsultBtn { display: none; }

  /* ── HERO ── */
  .hero-section { padding: 100px 20px 60px; }
  .hero-inner   { flex-direction: column; gap: 40px; }
  .hero-right   { width: 100%; flex: none; }
  .hero-stats   { gap: 16px; flex-wrap: wrap; }
  .hero-stat-divider { display: none; }

  /* ── SECTIONS ── */
  .section      { padding: 60px 0; }
  .container    { padding: 0 18px; }

  /* ── GRIDS ── */
  .footer-grid  { grid-template-columns: 1fr; gap: 36px; }
  .form-grid    { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr !important; }
  .about-grid   { grid-template-columns: 1fr !important; gap: 32px; }
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .plan-grid    { grid-template-columns: 1fr; }
  .addon-grid   { grid-template-columns: 1fr !important; }
  .consult-grid { grid-template-columns: 1fr; }

  /* ── ABOUT SECTION MOBILE ── */
  [id="about"] [style*="grid-template-columns:340px"] {
    display: flex !important; flex-direction: column !important;
  }
  [id="about"] [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [id="about"] [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [id="about"] [style*="width:340px"],
  [id="about"] [style*="width: 340px"] { width: 100% !important; }

  /* ── TRUST GRID ── */
  .trust-grid   { flex-direction: column !important; align-items: flex-start !important; padding: 24px 20px !important; gap: 16px !important; }
  .trust-divider { width: 60px !important; height: 1px !important; }
  .trust-item   { padding: 0 !important; }
  .trust-num    { font-size: 36px !important; }

  /* ── POPUPS ── */
  .lead-popup-top { padding: 24px 20px 20px; }
  .lead-form      { padding: 20px; }
  .co-box         { padding: 24px 16px; border-radius: 16px; }
  #checkoutPopup .co-box { max-width: 100%; margin: 0 8px; }

  /* ── CART ── */
  #cartDrawer { width: 100% !important; }

  /* ── SHOP CARDS ── */
  .shop-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* ── FILTER TABS ── */
  .filter-tabs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .filter-tab { white-space: nowrap; }

  /* ── REVIEW / PLAN ── */
  .review-grid  { grid-template-columns: 1fr; }
  .plan-grid    { grid-template-columns: 1fr; }

  /* ── FOOTER BOTTOM ── */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 11px; }
}





@media (max-width: 480px) {
  .stats-grid   { grid-template-columns: 1fr; }
  .co-box       { padding: 20px 14px; }
  .login-box    { padding: 28px 16px; }
  .hero-stats   { gap: 14px; }
  .hero-stat h3 { font-size: 22px !important; }
  .product-shop-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .section-h2   { font-size: 26px !important; line-height: 1.2 !important; }
  .trust-num    { font-size: 30px !important; }
  [id="about"] [style*="padding:24px"] { padding: 14px !important; }
  #fb-panel { width: calc(100vw - 32px) !important; right: 16px !important; }
  
  .header       { padding: 12px 16px !important; }
  .hero-h1      { font-size: clamp(24px,7vw,40px) !important; }
  .section-desc { font-size: 13px !important; }
  .plan-card    { padding: 20px !important; }
  .service-card { padding: 22px !important; }
  .trust-grid   { padding: 20px 16px !important; }
}

@media (max-width: 360px) {
  .product-shop-grid { grid-template-columns: 1fr !important; }
  .hero-h1      { font-size: 22px !important; }
}


@media (max-width: 1200px) {
  .header { padding: 14px 28px; }
  .logo-subtitle { display: none; }
}

@media (max-width: 1024px) {
  .header { padding: 14px 20px; }
  
  #bookConsultBtn { font-size: 11px !important; padding: 7px 14px !important; }
}

@media (max-width: 480px) {
  .stats-grid  { grid-template-columns: 1fr; }
  .co-box      { padding: 24px 20px; }
  .login-box   { padding: 32px 24px; }
  .hero-stats  { gap: 20px; }
  .hero-stat h3 { font-size: 28px; }
}



/* ── PRODUCT IMAGE — center in card ── */
.psc-img {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; border-radius: 0;
  background: var(--bg-card-2);
  display: flex; align-items: center; justify-content: center;
}
.psc-img img {
  width: 100%; height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  padding: 12px;
}
.psc-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* ── FOOTER background fix ── */
.footer-premium {
  background: linear-gradient(180deg,#12100C 0%,#0D0A05 100%);
}

.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 140; }
.sidebar-overlay.show { display: block; }


/* =========================================
   HAMBURGER BUTTON
========================================= */







/* =========================================
   DESKTOP NAV
========================================= */




/* =========================================
   MOBILE MENU
========================================= */
@media (max-width: 768px) {
  

  .header { padding: 14px 18px !important; }
  .header-actions { gap: 10px !important; }

  
  

  
  

  #bookConsultBtn { display: none !important; }
  /* #clientAuthBtn must stay visible on mobile — login icon next to hamburger */
}

@media (max-width: 480px) {
  
}


/* ════════════════════════════════════════
   HAMBURGER + NAV — FINAL (DO NOT EDIT)
════════════════════════════════════════ */

/* Desktop hamburger: hidden */






/* Desktop nav: flex row */




/* Mobile nav */
@media (max-width: 768px) {
  
  #bookConsultBtn { display: none !important; }
  /* #clientAuthBtn must stay visible on mobile — login icon next to hamburger */

  
  
  
  
}


/* =========================================
   PREMIUM HEADER
========================================= */
.header{
  position:fixed; top:0; left:0; right:0;
  height:78px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 32px;
  background:rgba(13,10,5,0.95);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(201,168,76,0.12);
  z-index:9999;
}

/* LOGO */
.logo-wrap{ display:flex; align-items:center; gap:14px; text-decoration:none; flex-shrink:0; }
.logo-circle{ width:48px; height:48px; border-radius:50%; overflow:hidden; border:2px solid #C9A84C; background:#1C1810; }
.logo-circle img{ width:100%; height:100%; object-fit:cover; }
.logo-title{ font-size:18px; font-weight:700; letter-spacing:1px; color:#C9A84C; }
.logo-subtitle{ font-size:10px; color:#9A8E72; margin-top:2px; }

/* NAVIGATION */
.header-nav{ display:flex; align-items:center; gap:22px; }
.header-nav a{ font-size:13px; font-weight:500; color:#9A8E72; text-decoration:none; transition:0.25s ease; white-space:nowrap; }
.header-nav a:hover{ color:#C9A84C; }
.nav-order-link{ background:rgba(201,168,76,0.08); border:1px solid rgba(201,168,76,0.2); border-radius:100px; padding:6px 14px !important; color:#C9A84C !important; }

/* ACTIONS */
.header-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.header-auth-btn{ height:38px; padding:0 16px; border-radius:100px; background:rgba(201,168,76,0.08); border:1px solid rgba(201,168,76,0.2); color:#C9A84C; cursor:pointer; font-size:12px; font-family:inherit; }
.cart-btn{ position:relative; display:flex; align-items:center; gap:8px; height:38px; padding:0 16px; border:none; border-radius:100px; background:rgba(201,168,76,0.08); color:#C9A84C; cursor:pointer; font-size:13px; font-family:inherit; }
.cart-badge{ position:absolute; top:-5px; right:-5px; width:18px; height:18px; border-radius:50%; background:#C9A84C; color:#0D0A05; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; }

/* HAMBURGER */
.hamburger{ width:44px; height:44px; display:none; align-items:center; justify-content:center; flex-direction:column; gap:5px; cursor:pointer; border-radius:10px; background:rgba(201,168,76,0.08); border:1px solid rgba(201,168,76,0.12); transition:0.3s ease; flex-shrink:0; }
.hamburger span{ width:22px; height:2px; border-radius:10px; background:#C9A84C; transition:0.3s ease; display:block; }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* BACKDROP */
.nav-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,0.6); opacity:0; visibility:hidden; transition:0.3s ease; z-index:9990; }
.nav-backdrop.active{ opacity:1; visibility:visible; }

/* MOBILE */
@media(max-width:768px){
  .hamburger{ display:flex !important; }
  .header{ padding:0 18px; }

  .header-nav{
    position:fixed; top:78px; left:0; right:0; bottom:0;
    flex-direction:column; align-items:flex-start; justify-content:flex-start;
    gap:0; padding:20px 0 120px;
    background:#0D0A05; overflow-y:auto;
    transform:translateX(-100%); transition:0.35s ease;
    z-index:9995;
  }
  .header-nav.nav-open{ transform:translateX(0); }
  .header-nav a{ width:100%; padding:18px 24px; border-bottom:1px solid rgba(255,255,255,0.05); font-size:15px; color:#E8DFC8; display:block; }
  .header-nav a:hover{ background:rgba(201,168,76,0.08); }
  #bookConsultBtn{ display:none; }
  /* #clientAuthBtn must stay visible on mobile — login icon next to hamburger */
}


/* ════════════════════════════════
   ADMIN PANEL — RESPONSIVE
════════════════════════════════ */

/* Page header */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky; top: 0; z-index: 50;
  flex-wrap: wrap; gap: 12px;
}
.page-header h1 {
  font-size: 24px; font-weight: 700;
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
}
.page-header-actions {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

/* Table responsive */
.table-wrap { overflow-x: auto; }

/* ════════════════════════════════
   ADMIN — MOBILE (≤768px)
════════════════════════════════ */
@media (max-width: 768px) {
  .page-header {
    padding: 14px 16px 14px 64px !important;
  }
  .page-header h1 { font-size: 18px !important; }
  .page-body { padding: 16px !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .quick-actions { grid-template-columns: repeat(2, 1fr) !important; }
  .dash-grid { grid-template-columns: 1fr !important; }
  .filter-row { flex-wrap: wrap; }
  .temp-pills { flex-wrap: wrap; gap: 6px; }
  .lead-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .form-grid, .form-row { grid-template-columns: 1fr !important; }
  .page-header-actions .btn { font-size: 11px !important; padding: 7px 10px !important; }
  /* Hide some desktop-only elements */
  .hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .stats-grid  { grid-template-columns: 1fr !important; }
  .quick-actions { grid-template-columns: 1fr !important; }
  .lead-stats  { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .psc-price { font-size: 16px !important; }
  .psc-name  { font-size: 15px !important; }
  .product-shop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}
@media (max-width: 360px) {
  .product-shop-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  
}

@media (max-width: 768px) {
  .cart-drawer {
    max-width: 92% !important;
    width: 92% !important;
    right: -92% !important;
  }
  .cart-drawer.open {
    right: 0 !important;
  }
}

/* ════════════════════════════════════════
   NEW HEADER — Clean 3-item design
   Logo | Cart | Login | Hamburger
════════════════════════════════════════ */

/* Override all old mobile header hacks */
.header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  height: 62px !important;
  padding: 0 !important;
  background: rgba(13,10,5,0.96) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(201,168,76,0.12) !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Desktop: show full nav, hide hamburger */
@media (min-width: 769px) {
  .header-nav-desktop {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
  }
  .header-nav-desktop a {
    font-size: 13px !important;
    color: #9A8E72 !important;
    text-decoration: none !important;
    transition: color .2s !important;
    white-space: nowrap !important;
  }
  .header-nav-desktop a:hover { color: #C9A84C !important; }
  #dropdownNav { display: none !important; }
  /* Float panel only on mobile */
  #floatPanel { display: none !important; }
}

/* Mobile: hide desktop nav */
@media (max-width: 768px) {
  .header-nav-desktop { display: none !important; }
  .logo-subtitle { display: none !important; }
  #floatPanel { display: flex !important; }
}

/* Cart badge always visible when has items */
#cartBadge.show { display: flex !important; }

/* Dropdown nav smooth */
#dropdownNav a { box-sizing: border-box !important; }

/* Float panel tab arrows */
#floatPanelTab svg { transition: transform .3s ease !important; }

/* Prevent body content under header */
#mainContent, body > section:first-of-type {
  padding-top: 62px !important;
}