/* ================================================================
   Astro Shakti — Premium Cosmic Design System v2.0
   ================================================================ */

/* ─── CSS VARIABLES ──────────────────────────────────────────── */
:root {
    --cosmic-dark:        #080010;
    --cosmic-deep:        #0c001e;
    --cosmic-purple:      #130428;
    --cosmic-mid:         #250a58;
    --cosmic-light:       #3d1a80;
    --accent-gold:        #f5c842;
    --accent-gold-light:  #ffd966;
    --accent-gold-dark:   #c9a020;
    --accent-violet:      #7c3aed;
    --accent-purple:      #9333ea;
    --accent-rose:        #c026d3;
    --text-primary:       #ede9ff;
    --text-secondary:     #c0b0e8;
    --text-muted:         #7d6eaa;
    --card-bg:            #0e0220;
    --card-border:        rgba(124,58,237,0.28);
    --card-border-solid:  #3a1870;
    --input-bg:           #1a0635;
    --glass-bg:           rgba(8,0,20,0.82);
    --glass-border:       rgba(124,58,237,0.22);
    --navbar-height:      76px;
    --sidebar-width:      260px;
    --shadow-gold:        0 0 28px rgba(245,200,66,0.22);
    --shadow-violet:      0 8px 32px rgba(124,58,237,0.32);
    --shadow-card:        0 4px 28px rgba(0,0,0,0.55);
    --radius:             12px;
    --radius-lg:          20px;
    --transition:         0.25s ease;
    --gradient-gold:      linear-gradient(135deg,#c9a020,#f5c842,#ffd966);
    --gradient-purple:    linear-gradient(135deg,var(--accent-violet),var(--accent-purple));
    --gradient-card:      linear-gradient(160deg,#0e0220,#1a0635);
    --gradient-hero:      linear-gradient(135deg,#080010 0%,#1a0635 45%,#250a58 100%);
}

/* ─── BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.astro-body {
    background: var(--cosmic-dark);
    color: var(--text-primary);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Cinzel', serif; font-weight: 600; }
h1 { color: #fff; }
h2,h3 { color: var(--text-primary); }
h4,h5,h6 { color: var(--text-secondary); }

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

::selection { background: rgba(124,58,237,0.4); color: #fff; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cosmic-dark); }
::-webkit-scrollbar-thumb { background: var(--accent-violet); border-radius: 3px; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.text-gold { color: var(--accent-gold) !important; }
.text-cosmic { color: var(--text-secondary) !important; }
.bg-cosmic { background: var(--cosmic-purple) !important; }
.border-gold { border-color: var(--accent-gold) !important; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.astro-navbar {
    background: var(--glass-bg) !important;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--navbar-height);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
    padding: 0;
}

.astro-navbar.navbar-scrolled {
    background: rgba(8,0,16,0.96) !important;
    border-bottom-color: rgba(124,58,237,0.45);
    box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}

.astro-navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Brand */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    padding: 0;
    margin-right: 2rem;
    text-decoration: none;
}
.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent-gold) !important;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.brand-tagline {
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    display: none;
}
@media (min-width: 1024px) {
    .brand-tagline { display: block; }
}

.brand-star {
    color: var(--accent-gold);
    animation: starPulse 2.5s ease-in-out infinite;
    font-size: 1.1rem;
}

/* Logo image */
.navbar-logo {
    height: 52px;
    width: auto;
    display: block;
}
@media (max-width: 575.98px) {
    .navbar-logo { height: 42px; }
}
.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 0.75rem;
}
.admin-logo {
    height: 44px;
    width: auto;
    display: block;
}

/* Nav links */
.astro-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem !important;
    position: relative;
    transition: color var(--transition);
    letter-spacing: 0.02em;
}
.astro-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.astro-navbar .nav-link:hover { color: var(--accent-gold) !important; }
.astro-navbar .nav-link:hover::after { transform: scaleX(1); }
.astro-navbar .nav-link.active { color: var(--accent-gold) !important; }
.astro-navbar .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.astro-dropdown {
    background: rgba(12,0,30,0.97);
    border: 1px solid var(--card-border-solid);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(124,58,237,0.1);
    padding: 0.5rem;
    min-width: 220px;
    animation: dropdownFade 0.2s ease;
}
.astro-dropdown .dropdown-item {
    color: var(--text-secondary);
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.astro-dropdown .dropdown-item:hover {
    background: rgba(124,58,237,0.18);
    color: var(--accent-gold);
    transform: translateX(3px);
}
.astro-dropdown .dropdown-divider { border-color: var(--card-border); margin: 0.35rem 0; }

/* User avatar */
.user-avatar-sm {
    width: 34px;
    height: 34px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(245,200,66,0.3);
}

/* Cart badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: var(--accent-gold);
    color: #000;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1.5px solid var(--cosmic-dark);
}

.navbar-toggler { border: 1px solid var(--glass-border); padding: 0.4rem 0.65rem; border-radius: 8px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(124,58,237,0.3); }

/* ─── MOBILE NAVBAR (collapsed menu) ─────────────────────────── */
@media (max-width: 991.98px) {
    /* Let the navbar grow with the open menu instead of clipping it */
    .astro-navbar { height: auto; }
    .astro-navbar .container { height: auto; flex-wrap: wrap; min-height: var(--navbar-height); }

    /* Solid panel behind the expanded menu so page content no longer shows through */
    .astro-navbar .navbar-collapse {
        flex-basis: 100%;
        background: rgba(8,0,16,0.99);
        border: 1px solid var(--card-border-solid);
        border-radius: 12px;
        margin: 0.5rem 0 0.75rem;
        padding: 0.75rem 1rem;
        box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    }

    .astro-navbar .navbar-nav.mx-auto { margin: 0 !important; }
    .astro-navbar .nav-link { padding: 0.65rem 0.5rem !important; }
    .astro-navbar .nav-link::after { display: none; }

    /* Nested dropdown (Astrology) renders inline inside the panel */
    .astro-navbar .navbar-collapse .astro-dropdown {
        background: rgba(124,58,237,0.06);
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 0.75rem;
        margin: 0;
        min-width: 0;
    }

    .astro-navbar .navbar-nav .btn { width: 100%; margin: 0.25rem 0 0; }
    .astro-navbar .navbar-nav.align-items-center { align-items: stretch !important; }
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-gold {
    background: var(--gradient-gold);
    color: #1a0533;
    border: none;
    font-weight: 700;
    border-radius: 8px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.btn-gold:hover {
    background: linear-gradient(135deg,var(--accent-gold),var(--accent-gold-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,200,66,0.45);
    color: #1a0533;
}

.btn-outline-gold {
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
}
.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: #1a0533;
    box-shadow: var(--shadow-gold);
}

.btn-cosmic {
    background: var(--gradient-purple);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
}
.btn-cosmic:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-violet);
    color: #fff;
}

/* ─── CARDS ──────────────────────────────────────────────────── */
.astro-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.astro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-violet);
    border-color: rgba(124,58,237,0.5);
}
.astro-card .card-header {
    background: linear-gradient(135deg,var(--cosmic-mid),var(--cosmic-purple));
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 1.25rem;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero-section {
    background: var(--gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%,rgba(124,58,237,0.2) 0%,transparent 60%);
    pointer-events: none;
}
.hero-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%,rgba(255,255,255,0.6) 0%,transparent 100%),
        radial-gradient(1px 1px at 80% 20%,rgba(255,255,255,0.5) 0%,transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 70%,rgba(255,255,255,0.4) 0%,transparent 100%),
        radial-gradient(1px 1px at 10% 80%,rgba(255,255,255,0.5) 0%,transparent 100%),
        radial-gradient(1px 1px at 90% 60%,rgba(255,255,255,0.4) 0%,transparent 100%);
    pointer-events: none;
}
.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}
.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 520px; }

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--accent-gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 3px;
    margin: 0.75rem auto 2.5rem;
}
.section-bg-dark   { background: var(--cosmic-dark); }
.section-bg-card   { background: var(--card-bg); }
.section-bg-purple { background: var(--cosmic-purple); }

/* ─── SERVICE CARDS ──────────────────────────────────────────── */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card::after {
    content: '';
    position: absolute;
    /*inset: 0;*/
    inset: unset;
    background: radial-gradient(ellipse at top,rgba(124,58,237,0.08),transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-violet); border-color: rgba(124,58,237,0.5); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg,rgba(124,58,237,0.15),rgba(245,200,66,0.08));
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.85rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.service-card:hover .service-icon { border-color: var(--accent-gold); box-shadow: var(--shadow-gold); }
.service-price { font-family: 'Cinzel', serif; color: var(--accent-gold); font-size: 1.4rem; font-weight: 700; }
.service-price-original { text-decoration: line-through; color: var(--text-muted); font-size: 0.85rem; }
.service-badge-popular {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--gradient-gold);
    color: #1a0533;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── PRODUCT CARDS ──────────────────────────────────────────── */
/* Category sidebar links — readable contrast on mobile & desktop */
.category-link {
    display: block;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all var(--transition);
}
.category-link:hover {
    color: var(--accent-gold);
    background: rgba(124,58,237,0.12);
    border-color: var(--card-border);
}
.category-link.active {
    color: var(--accent-gold);
    background: rgba(245,200,66,0.14);
    border-color: rgba(245,200,66,0.35);
    font-weight: 600;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-violet); border-color: rgba(124,58,237,0.5); }
.product-img-wrap {
    position: relative;
    background: linear-gradient(135deg,var(--cosmic-mid),var(--cosmic-purple));
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img { max-height: 200px; max-width: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-img { transform: scale(1.08); }
.product-placeholder { font-size: 4rem; opacity: 0.35; display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--accent-gold); }
.product-price-old { text-decoration: line-through; color: var(--text-muted); font-size: 0.85rem; }
.badge-discount {
    position: absolute;
    top: 10px; left: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-control,
.form-select {
    background: var(--input-bg) !important;
    border: 1px solid var(--card-border-solid) !important;
    color: var(--text-primary) !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(124,58,237,0.25) !important;
    border-color: var(--accent-violet) !important;
    background: var(--input-bg) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
.form-label { color: var(--text-secondary); font-weight: 500; font-size: 0.875rem; margin-bottom: 0.4rem; }
.input-group-text {
    background: var(--cosmic-mid) !important;
    border: 1px solid var(--card-border-solid) !important;
    color: var(--accent-gold) !important;
}
.form-select option { background: var(--cosmic-purple); color: var(--text-primary); }

/* ─── AUTH ───────────────────────────────────────────────────── */
.auth-container {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}
.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,rgba(124,58,237,0.18),transparent 65%);
}
.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7);
    position: relative;
    z-index: 1;
}
.auth-title { font-family: 'Cinzel', serif; font-size: 1.85rem; color: #fff; margin-bottom: 0.35rem; }

/* ─── DASHBOARD — STATS ──────────────────────────────────────── */
.dashboard-stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.dashboard-stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition);
}
.dashboard-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-violet); }
.dashboard-stat-card:hover::after { opacity: 1; }
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    border: 1px solid var(--card-border);
}
.stat-value { font-size: 2.1rem; font-weight: 700; color: #fff; font-family: 'Cinzel', serif; line-height: 1; }
.stat-label { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.stat-trend { font-size: 0.78rem; margin-top: 0.35rem; }
.stat-trend.up { color: #10b981; }
.stat-trend.down { color: #ef4444; }

/* ─── CUSTOMER DASHBOARD LAYOUT ──────────────────────────────── */
.customer-layout {
    display: flex;
    min-height: calc(100vh - var(--navbar-height));
    padding-top: var(--navbar-height);
}
.customer-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg,var(--cosmic-purple) 0%,var(--cosmic-dark) 100%);
    border-right: 1px solid var(--card-border);
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
    padding: 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
}
.customer-sidebar::-webkit-scrollbar { width: 3px; }
.customer-sidebar::-webkit-scrollbar-thumb { background: var(--card-border-solid); }

.customer-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: calc(100vh - var(--navbar-height));
    padding: 2rem;
    background: var(--cosmic-dark);
}

.sidebar-user-card {
    background: linear-gradient(135deg,rgba(124,58,237,0.15),rgba(245,200,66,0.05));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.sidebar-avatar {
    width: 52px;
    height: 52px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 0.6rem;
    border: 2px solid rgba(245,200,66,0.35);
}
.sidebar-user-name { font-family: 'Cinzel', serif; font-size: 0.95rem; color: #fff; font-weight: 600; }
.sidebar-user-role { font-size: 0.72rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 0.12em; }

.sidebar-section-label {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    padding: 0.75rem 0.75rem 0.35rem;
    font-weight: 700;
}
.customer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition);
    text-decoration: none;
    margin-bottom: 0.1rem;
}
.customer-nav-link i { width: 18px; text-align: center; font-size: 0.95rem; opacity: 0.75; }
.customer-nav-link:hover {
    background: rgba(124,58,237,0.18);
    color: var(--accent-gold);
}
.customer-nav-link:hover i { opacity: 1; }
.customer-nav-link.active {
    background: rgba(124,58,237,0.25);
    color: var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
}
.customer-nav-link.active i { opacity: 1; }
.customer-nav-link.text-danger:hover { background: rgba(239,68,68,0.12); color: #ef4444; }

.sidebar-toggle-btn {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-purple);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    z-index: 200;
    box-shadow: var(--shadow-violet);
    cursor: pointer;
}

/* ─── TABLES ─────────────────────────────────────────────────── */
.astro-table { color: var(--text-primary); border-collapse: separate; border-spacing: 0; }
.astro-table thead th {
    background: var(--cosmic-purple);
    border-bottom: 2px solid var(--card-border-solid);
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 1rem;
}
.astro-table tbody td {
    background: var(--card-bg);
    border-bottom: 1px solid rgba(58,24,112,0.4);
    padding: 0.95rem 1rem;
    vertical-align: middle;
    transition: background var(--transition);
}
.astro-table tbody tr:hover td { background: rgba(45,10,88,0.4); }

/* ─── ZODIAC ─────────────────────────────────────────────────── */
.zodiac-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.35rem;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}
.zodiac-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}
.zodiac-symbol { font-size: 2.5rem; line-height: 1; margin-bottom: 0.5rem; }
.zodiac-name { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--accent-gold); font-weight: 600; }
.zodiac-dates { font-size: 0.72rem; color: var(--text-muted); }

/* ─── REPORTS ────────────────────────────────────────────────── */
.report-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.report-section h5 {
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.guna-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.guna-fill { height: 100%; border-radius: 4px; background: var(--gradient-purple); }

/* ─── NUMEROLOGY REPORT ──────────────────────────────────────────── */
/* Small gold number chip used for lucky numbers, compatibility & forecast */
.num-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(245,200,66,0.12);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    flex: 0 0 auto;
}
/* Large initial badge for the first-letter analysis */
.first-letter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: var(--gradient-purple);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.6rem;
    flex: 0 0 auto;
}
/* Colour swatch for the lucky-colour explanation */
.color-swatch {
    display: inline-block;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    border: 1px solid var(--card-border-solid);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    flex: 0 0 auto;
}
/* Numbered action-plan list with gold counters */
ol.numero-steps { list-style: none; counter-reset: step; padding-left: 0; margin-bottom: 0; }
ol.numero-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 2.4rem;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}
ol.numero-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -0.1rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: rgba(245,200,66,0.12);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.astro-breadcrumb { background: var(--cosmic-purple); padding: 0.75rem 0; }
.breadcrumb-item a { color: var(--accent-gold); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ─── BADGES ─────────────────────────────────────────────────── */
.status-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-status-pending   { background:rgba(245,158,11,0.12);  color:#f59e0b;  border:1px solid rgba(245,158,11,0.3);  }
.badge-status-paid      { background:rgba(59,130,246,0.12);  color:#60a5fa;  border:1px solid rgba(59,130,246,0.3);  }
.badge-status-completed { background:rgba(16,185,129,0.12);  color:#34d399;  border:1px solid rgba(16,185,129,0.3);  }
.badge-status-cancelled { background:rgba(239,68,68,0.12);   color:#f87171;  border:1px solid rgba(239,68,68,0.3);   }
.badge-status-shipped   { background:rgba(139,92,246,0.12);  color:#a78bfa;  border:1px solid rgba(139,92,246,0.3);  }
.badge-status-delivered { background:rgba(16,185,129,0.12);  color:#34d399;  border:1px solid rgba(16,185,129,0.3);  }
.badge-status-processing{ background:rgba(245,200,66,0.12);  color:#f5c842;  border:1px solid rgba(245,200,66,0.3);  }

/* ─── ADMIN LAYOUT ───────────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; }

.admin-sidebar {
    background: linear-gradient(180deg,var(--cosmic-purple) 0%,rgba(10,0,25,0.98) 100%);
    border-right: 1px solid var(--card-border);
    /*min-height: 100vh;*/
    height: 100vh;
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    /*overflow-y: auto;*/
    overflow-y: auto;
}
.admin-sidebar::-webkit-scrollbar { width: 3px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--card-border-solid); }

.admin-sidebar-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}
.admin-brand-name {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-brand-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 0.15rem;
}
.admin-sidebar nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.sidebar-section-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    padding: 0.85rem 0.75rem 0.35rem;
    font-weight: 700;
}
.sidebar-nav-link {
    color: var(--text-secondary);
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    margin-bottom: 0.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    transition: all var(--transition);
    text-decoration: none;
}
.sidebar-nav-link i { width: 18px; text-align: center; font-size: 0.92rem; opacity: 0.7; }
.sidebar-nav-link:hover {
    background: rgba(124,58,237,0.2);
    color: var(--accent-gold);
}
.sidebar-nav-link:hover i { opacity: 1; }
.sidebar-nav-link.active {
    background: rgba(124,58,237,0.28);
    color: var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
}
.sidebar-nav-link.active i { opacity: 1; }

.admin-sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid var(--card-border);
    flex-shrink: 0;
}

/* Admin main */
.admin-main { margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }

.admin-topbar {
    background: rgba(8,0,20,0.9);
    border-bottom: 1px solid var(--card-border);
    padding: 0 1.75rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 500;
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}
.admin-topbar-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}
.admin-topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.admin-icon-btn {
    width: 38px;
    height: 38px;
    background: rgba(124,58,237,0.12);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}
.admin-icon-btn:hover { background: rgba(124,58,237,0.28); color: var(--accent-gold); }
.admin-notification-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 7px; height: 7px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid var(--cosmic-dark);
}
.admin-user-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(124,58,237,0.12);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.35rem 0.75rem 0.35rem 0.4rem;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
    text-decoration: none;
}
.admin-user-btn:hover { background: rgba(124,58,237,0.25); color: var(--accent-gold); }
.admin-user-btn .user-avatar-sm { width: 30px; height: 30px; font-size: 0.8rem; }
.admin-user-name { font-size: 0.82rem; font-weight: 600; }

.admin-content { flex: 1; padding: 1.75rem; background: var(--cosmic-dark); }

/* Admin mobile toggle */
.admin-hamburger {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ─── PAYMENT / CART ─────────────────────────────────────────── */
.payment-card {
    background: var(--card-bg);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    max-width: 520px;
    margin: 2rem auto;
    box-shadow: var(--shadow-gold);
}
.cart-item-row {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: border-color var(--transition);
}
.cart-item-row:hover { border-color: rgba(124,58,237,0.5); }
.cart-qty-btn {
    width: 30px;
    height: 30px;
    background: var(--cosmic-mid);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.cart-qty-btn:hover { background: var(--accent-violet); color: #fff; border-color: transparent; }
.order-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
}

/* Order page sidebars that stack multiple cards (Order Summary + Service Details +
   What You'll Get) must stick as ONE column — sticking .order-summary-card on its own
   while later cards stay in normal flow makes it paint above them once scrolled. */
.service-order-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
    align-self: flex-start;
}
.service-order-sidebar .order-summary-card {
    position: static;
    top: auto;
}

/* ─── PAGE HEADER ────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg,var(--cosmic-purple),var(--cosmic-mid));
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%,rgba(124,58,237,0.15),transparent 60%);
    pointer-events: none;
}
.page-header h1 { font-family: 'Cinzel', serif; color: #fff; font-size: clamp(1.75rem,4vw,2.75rem); }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert { border-radius: var(--radius); font-size: 0.9rem; }
.alert-success { background:rgba(16,185,129,0.1);  border-color:rgba(16,185,129,0.3);  color:#34d399; }
.alert-danger   { background:rgba(239,68,68,0.1);   border-color:rgba(239,68,68,0.3);   color:#f87171; }
.alert-warning  { background:rgba(245,158,11,0.1);  border-color:rgba(245,158,11,0.3);  color:#fbbf24; }
.alert-info     { background:rgba(59,130,246,0.1);  border-color:rgba(59,130,246,0.3);  color:#60a5fa; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.astro-footer {
    background: linear-gradient(180deg,var(--cosmic-purple) 0%,#080018 100%);
    border-top: 1px solid var(--card-border);
    position: relative;
}
.astro-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--accent-gold),transparent);
    opacity: 0.4;
}
.footer-brand {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    font-style: italic;
}
.footer-desc { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.75; margin-top: 0.75rem; }
.footer-heading {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--card-border);
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a::before { content: '›'; color: var(--accent-gold); opacity: 0.6; transition: opacity var(--transition); }
.footer-links a:hover { color: var(--accent-gold-light); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.footer-contact-item .icon {
    width: 30px;
    height: 30px;
    background: rgba(124,58,237,0.15);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(124,58,237,0.12);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.social-icon:hover {
    background: var(--gradient-gold);
    color: #1a0533;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.footer-divider { border-color: var(--card-border); margin: 0; }
.footer-bottom {
    padding: 1.25rem 0;
    background: rgba(0,0,0,0.3);
}
.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 1.25rem;
    transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent-gold); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes starPulse { 0%,100%{opacity:1;text-shadow:0 0 8px rgba(245,200,66,0.6);} 50%{opacity:0.6;text-shadow:none;} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
@keyframes dropdownFade { from{opacity:0;transform:translateY(-8px);} to{opacity:1;transform:translateY(0);} }
@keyframes spin { to{transform:rotate(360deg);} }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

.animate-in { animation: fadeInUp 0.5s ease both; }
.astro-spinner { width:2rem;height:2rem;border:3px solid rgba(245,200,66,0.15);border-top-color:var(--accent-gold);border-radius:50%;animation:spin 0.7s linear infinite; }

/* Floating zodiac decoration */
.float-icon { animation: float 4s ease-in-out infinite; }
.float-icon:nth-child(2) { animation-delay: 1s; }
.float-icon:nth-child(3) { animation-delay: 2s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-hamburger { display: flex; }

    .customer-sidebar { transform: translateX(-100%); }
    .customer-sidebar.open { transform: translateX(0); }
    .customer-main { margin-left: 0; }
    .sidebar-toggle-btn { display: flex; }
}
@media (max-width: 768px) {
    :root { --navbar-height: 64px; }
    .hero-section { min-height: 80vh; }
    .auth-card { padding: 1.75rem; }
    .customer-main { padding: 1.25rem; }
    .admin-content { padding: 1.25rem; }
    .page-header { padding: 2.5rem 0; }
}
@media (max-width: 576px) {
    .footer-bottom { text-align: center; }
    .footer-bottom-links { margin-top: 0.5rem; }
    .footer-bottom-links a:first-child { margin-left: 0; }
    .dashboard-stat-card .stat-value { font-size: 1.75rem; }
}

/* ================================================================
   STATIC / CONTENT PAGES  (Contact, Privacy, Terms, Refund)
   ================================================================ */
.page-hero {
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--glass-border);
    padding: 3.5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.6), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,.5), transparent),
        radial-gradient(1px 1px at 45% 80%, rgba(245,200,66,.5), transparent),
        radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,.4), transparent);
    opacity: .7;
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: .5rem;
}
.page-hero .lead { color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.page-hero .breadcrumb-cosmic {
    color: var(--text-muted);
    font-size: .82rem;
    letter-spacing: .04em;
}
.page-hero .breadcrumb-cosmic a { color: var(--accent-gold); }

/* Long-form legal / policy content */
.legal-content { color: var(--text-secondary); line-height: 1.9; }
.legal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin: 2rem 0 .85rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--card-border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { color: var(--text-primary); font-size: 1.05rem; margin: 1.4rem 0 .6rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: .5rem; }
.legal-content a { color: var(--accent-gold); }
.legal-content .updated-note {
    color: var(--text-muted);
    font-size: .85rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.legal-toc { position: sticky; top: calc(var(--navbar-height) + 1rem); }
.legal-toc a {
    display: block;
    color: var(--text-secondary);
    font-size: .88rem;
    padding: .35rem 0;
    border-left: 2px solid transparent;
    padding-left: .75rem;
    transition: all var(--transition);
}
.legal-toc a:hover { color: var(--accent-gold); border-left-color: var(--accent-gold); }

/* Contact page */
.contact-info-card .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info-card .contact-line .ic {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--gradient-purple);
    color: var(--accent-gold-light);
    font-size: 1.05rem;
    box-shadow: var(--shadow-violet);
}
.contact-info-card .contact-line .label { color: var(--text-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-info-card .contact-line .value { color: #fff; font-weight: 600; }
.contact-info-card .contact-line a.value { color: #fff; }
.contact-info-card .contact-line a.value:hover { color: var(--accent-gold); }

/* ── Service detail: hero banner, process steps, related services ── */
.service-hero {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    background: #1B0836;
}
.service-hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
@media (max-width: 575.98px) {
    .service-hero { border-radius: 16px; }
    /* Taller crop on phones for a more immersive 4:5-ish banner */
    .service-hero-img { aspect-ratio: 4 / 3; }
}
.process-step {
    padding: 1rem .5rem;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    height: 100%;
    background: rgba(124, 58, 237, .06);
}
.process-step-num {
    width: 44px;
    height: 44px;
    margin: 0 auto .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #1B0836;
    background: var(--accent-gold);
}
.related-service-link {
    border: 1px solid var(--card-border);
    background: rgba(124, 58, 237, .08);
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
    text-decoration: none;
}
.related-service-link:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, .12);
}

/* ─── HOMEPAGE BLOG CARDS ─────────────────────────────────────── */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-violet);
    border-color: rgba(124, 58, 237, .5);
}
.blog-card-imgwrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--cosmic-mid);
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.06); }
.blog-card-cat {
    position: absolute;
    top: .85rem;
    left: .85rem;
    background: var(--gradient-gold);
    color: #1B0836;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 999px;
}
.blog-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-date { color: var(--text-muted); font-size: .78rem; margin-bottom: .5rem; }
.blog-card-title { font-size: 1.2rem; line-height: 1.35; margin-bottom: .6rem; }
.blog-card-title a { color: #fff; text-decoration: none; transition: color var(--transition); }
.blog-card-title a:hover { color: var(--accent-gold); }
.blog-card-desc {
    color: var(--text-secondary);
    font-size: .9rem;
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-more {
    margin-top: auto;
    align-self: flex-start;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: gap var(--transition);
}
.blog-card-more:hover { color: var(--accent-gold-light); }

/* ─── TESTIMONIAL CAROUSEL ────────────────────────────────────── */
.testimonial-card {
    display: flex;
    flex-direction: column;
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.6rem;
    box-shadow: var(--shadow-card);
    margin: 0;
    height: 100%;
}
.testimonial-stars { color: var(--accent-gold); font-size: .95rem; letter-spacing: .12em; margin-bottom: 1rem; }
.testimonial-stars .far { color: rgba(245, 200, 66, .32); }
.testimonial-quote {
    color: var(--text-secondary);
    font-size: .96rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin: 0; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #1B0836;
    background: var(--gradient-gold);
}
.testimonial-name { display: block; color: #fff; font-weight: 700; font-size: .95rem; }
.testimonial-loc { display: block; color: var(--text-muted); font-size: .8rem; }
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next { width: 5%; opacity: .65; }
#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover { opacity: 1; }
#testimonialCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 0;
    opacity: .35;
}
#testimonialCarousel .carousel-indicators .active { opacity: 1; }

/* ─── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-accordion .accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius) !important;
    margin-bottom: .85rem;
    overflow: hidden;
}
.faq-accordion .accordion-header { margin: 0; }
.faq-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.1rem 1.3rem;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--accent-gold); background: rgba(124, 58, 237, .1); }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-button::after {
    filter: invert(78%) sepia(48%) saturate(700%) hue-rotate(357deg) brightness(103%);
}
.faq-accordion .accordion-body { color: var(--text-secondary); font-size: .92rem; line-height: 1.75; padding: 0 1.3rem 1.2rem; }
