/* ============================================================
   GOLD.BD — Luxury Design System
   Aesthetic: Art Deco Gold meets Modern Minimalism
   Fonts: Playfair Display (display) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ─────────────────────────── */
:root {
    --gold-100: #fdf8ec;
    --gold-200: #f7edcc;
    --gold-300: #eacf82;
    --gold-400: #d4aa50;
    --gold-500: #b8860b;  /* Primary gold */
    --gold-600: #9a6f08;
    --gold-700: #7a5506;
    --gold-800: #5a3e04;
    --gold-900: #3a2702;

    --silver-100: #f8f9fb;
    --silver-200: #eef0f4;
    --silver-300: #d4d8e2;
    --silver-400: #9ba3b8;
    --silver-500: #6b7494;

    --dark-900: #0d0d0d;
    --dark-800: #1a1a1a;
    --dark-700: #252525;
    --dark-600: #333333;
    --dark-500: #555555;
    --dark-300: #999999;

    --white: #ffffff;
    --bg-main: #fafaf7;
    --bg-card: #ffffff;
    --bg-section: #f7f4ec;

    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;

    --green-500: #1a8a4a;
    --green-100: #e8f7ee;
    --red-500: #c03030;
    --red-100: #fde8e8;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(184,134,11,0.08);
    --shadow-md: 0 6px 24px rgba(184,134,11,0.12);
    --shadow-lg: 0 16px 48px rgba(184,134,11,0.16);
    --shadow-card: 0 2px 16px rgba(0,0,0,0.06);

    --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);

    --container-max: 1280px;
    --nav-height: 72px;
    --ticker-height: 38px;
    --bajus-height: 42px;
    --mobile-nav-height: 64px;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold-500); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-600); }

/* ── Container ──────────────────────────────── */
.gbd-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Ticker Bar ─────────────────────────────── */
.gbd-ticker-bar {
    background: var(--dark-900);
    height: var(--ticker-height);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gold-700);
}

.gbd-ticker-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
    overflow: hidden;
}

.gbd-ticker-label {
    flex-shrink: 0;
    background: var(--gold-500);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 16px;
    height: var(--ticker-height);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 2;
}

.gbd-ticker-scroll {
    display: flex;
    gap: 0;
    animation: ticker-scroll 28s linear infinite;
    white-space: nowrap;
}

.gbd-ticker-scroll span {
    color: var(--gold-200);
    font-size: 12px;
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.gbd-ticker-scroll strong {
    color: var(--gold-300);
    font-weight: 600;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Header ─────────────────────────────────── */
.gbd-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,134,11,0.15);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.gbd-header-inner {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    gap: 24px;
}

/* Logo */
.gbd-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.gbd-logo-mark svg { display: block; }

.gbd-logo-text { display: flex; flex-direction: column; line-height: 1; }

.gbd-logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--dark-900);
    letter-spacing: 0.04em;
}

.gbd-logo-dot { color: var(--gold-500); }

.gbd-logo-sub {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* Nav */
.gbd-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.gbd-nav-link, .gbd-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
    transition: var(--transition);
    white-space: nowrap;
}

.gbd-nav-link:hover, .gbd-nav-btn:hover,
.gbd-nav-link.active {
    color: var(--gold-600);
    background: var(--gold-100);
}

.gbd-nav-link i, .gbd-nav-btn i { font-size: 12px; opacity: 0.7; }
.gbd-chev { font-size: 10px !important; transition: var(--transition); }

/* Dropdown */
.gbd-nav-dropdown { position: relative; }

.gbd-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid rgba(184,134,11,0.15);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}

.gbd-nav-dropdown:hover .gbd-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gbd-nav-dropdown:hover .gbd-chev { transform: rotate(180deg); }

.gbd-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.gbd-dropdown-menu a:hover {
    background: var(--gold-100);
    color: var(--gold-600);
}

.gbd-dropdown-menu a i { width: 16px; text-align: center; opacity: 0.6; }

/* Header right */
.gbd-header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.gbd-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-100);
    color: var(--gold-600);
    border: 1px solid var(--gold-300);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.gbd-pulse {
    display: block;
    width: 7px;
    height: 7px;
    background: var(--green-500);
    border-radius: 50%;
    animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

/* Hamburger */
.gbd-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 6px;
}

.gbd-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile menu */
.gbd-mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gold-200);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.gbd-mobile-menu.open { max-height: 500px; }

.gbd-mob-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 4px;
}

.gbd-mob-nav a {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: block;
    transition: var(--transition);
}

.gbd-mob-nav a:hover { background: var(--gold-100); color: var(--gold-600); }

/* ── BAJUS Bar ──────────────────────────────── */
.gbd-bajus-bar {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.gbd-bajus-bar strong { font-weight: 700; }
.gbd-bajus-flag { margin-right: 6px; font-size: 16px; }

/* ── Main ────────────────────────────────────── */
.gbd-main {
    padding-bottom: calc(var(--mobile-nav-height) + 20px);
    min-height: 60vh;
}

/* ── Page Hero ──────────────────────────────── */
.gbd-hero {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, #2a1e05 100%);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}

.gbd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 20 L55 40 L30 55 L5 40 L5 20 Z' fill='none' stroke='rgba(184,134,11,0.06)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.gbd-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gbd-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184,134,11,0.2);
    border: 1px solid rgba(184,134,11,0.4);
    color: var(--gold-300);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.gbd-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.gbd-hero h1 span { color: var(--gold-300); }

.gbd-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ── Price Cards Section ────────────────────── */
.gbd-section { padding: 56px 0; }
.gbd-section-sm { padding: 36px 0; }
.gbd-section-alt { background: var(--bg-section); }

.gbd-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gbd-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gbd-section-label::before,
.gbd-section-label::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold-400);
}

.gbd-section-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1.25;
    margin-bottom: 12px;
}

.gbd-section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Gold Price Cards ───────────────────────── */
.gbd-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gbd-price-card {
    background: var(--white);
    border: 1px solid rgba(184,134,11,0.12);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: default;
}

.gbd-price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
}

.gbd-price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-300);
}

.gbd-pc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.gbd-pc-badge.k22 { background: #fff7d6; color: #9a6f08; }
.gbd-pc-badge.k21 { background: #fff3cc; color: #8a6008; }
.gbd-pc-badge.k18 { background: #ffeebf; color: #7a5506; }
.gbd-pc-badge.k24 { background: #ffe8a0; color: #6a4a04; }
.gbd-pc-badge.trad { background: #f5e8c8; color: #5a3e04; }
.gbd-pc-badge.silver { background: #eef0f4; color: var(--silver-500); }

.gbd-pc-karat {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.gbd-pc-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.gbd-pc-bhori {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1;
    margin-bottom: 6px;
}

.gbd-pc-gram {
    font-size: 13px;
    color: var(--text-muted);
}

.gbd-pc-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    margin-top: 10px;
}

.gbd-pc-change.up { background: var(--green-100); color: var(--green-500); }
.gbd-pc-change.down { background: var(--red-100); color: var(--red-500); }
.gbd-pc-change.unchanged { background: var(--silver-100); color: var(--text-muted); }

/* ── Big Price Table ────────────────────────── */
.gbd-price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.gbd-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.gbd-price-table thead th {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
    color: var(--gold-300);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: right;
    white-space: nowrap;
}

.gbd-price-table thead th:first-child { text-align: left; }

.gbd-price-table tbody tr {
    border-bottom: 1px solid var(--gold-100);
    transition: var(--transition);
}

.gbd-price-table tbody tr:last-child { border-bottom: none; }
.gbd-price-table tbody tr:hover { background: var(--gold-100); }

.gbd-price-table tbody td {
    padding: 14px 18px;
    font-weight: 500;
    text-align: right;
    color: var(--dark-700);
}

.gbd-price-table tbody td:first-child { text-align: left; }

.gbd-price-table .gbd-tr-type { display: flex; align-items: center; gap: 10px; }

/* ── Karat Badge ────────────────────────────── */
.gbd-kbadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.gbd-kbadge.k22 { background: #fff7d6; color: #9a6f08; border: 1px solid #eac84a; }
.gbd-kbadge.k21 { background: #fff3cc; color: #8a6008; border: 1px solid #e0b83a; }
.gbd-kbadge.k18 { background: #ffeebf; color: #7a5506; border: 1px solid #d4a830; }
.gbd-kbadge.k24 { background: #ffe8a0; color: #6a4a04; border: 1px solid #c89820; }
.gbd-kbadge.trad { background: #f5e8c8; color: #5a3e04; border: 1px solid #c08810; }
.gbd-kbadge.silver { background: #eef0f4; color: var(--silver-500); border: 1px solid #c4c8d8; }

/* ── Calculator Widget ──────────────────────── */
.gbd-calc-widget {
    background: var(--white);
    border: 1px solid rgba(184,134,11,0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gbd-calc-header {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.gbd-calc-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
}

.gbd-calc-subtitle { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

.gbd-calc-body { padding: 28px; }

.gbd-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.gbd-field { display: flex; flex-direction: column; gap: 6px; }

.gbd-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gbd-input, .gbd-select {
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--gold-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark-800);
    background: var(--white);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
}

.gbd-input:focus, .gbd-select:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}

.gbd-input-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.gbd-input-unit .gbd-input { padding-right: 60px; }
.gbd-input-unit-label {
    position: absolute;
    right: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
}

.gbd-unit-tabs {
    display: flex;
    gap: 4px;
    background: var(--gold-100);
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.gbd-unit-tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
    transition: var(--transition);
}

.gbd-unit-tab.active {
    background: var(--white);
    color: var(--gold-600);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gbd-calc-result {
    background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    text-align: center;
    margin-top: 20px;
}

.gbd-result-label { font-size: 13px; color: var(--gold-700); font-weight: 600; margin-bottom: 8px; }

.gbd-result-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-700);
    line-height: 1;
}

.gbd-result-breakdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.gbd-rb-item {
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.gbd-rb-val { font-size: 14px; font-weight: 700; color: var(--dark-800); }
.gbd-rb-lbl { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* ── Chart Container ────────────────────────── */
.gbd-chart-container {
    background: var(--white);
    border: 1px solid rgba(184,134,11,0.12);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.gbd-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gold-100);
    flex-wrap: wrap;
    gap: 12px;
}

.gbd-chart-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-900);
}

.gbd-chart-range {
    display: flex;
    gap: 4px;
}

.gbd-range-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--silver-100);
    border: 1px solid var(--silver-200);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.gbd-range-btn:hover, .gbd-range-btn.active {
    background: var(--gold-500);
    color: var(--white);
    border-color: var(--gold-500);
}

.gbd-chart-body { padding: 20px; }

canvas#goldChart, canvas#silverChart { max-height: 360px; }

/* ── Info Cards (Purity, Hallmark) ──────────── */
.gbd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gbd-info-card {
    background: var(--white);
    border: 1px solid var(--gold-100);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.gbd-info-card:hover {
    border-color: var(--gold-300);
    box-shadow: var(--shadow-sm);
}

.gbd-info-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.gbd-info-title { font-size: 16px; font-weight: 700; color: var(--dark-900); margin-bottom: 8px; }
.gbd-info-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── FAQ Accordion ──────────────────────────── */
.gbd-faq-list { display: flex; flex-direction: column; gap: 8px; }

.gbd-faq-item {
    background: var(--white);
    border: 1px solid var(--gold-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.gbd-faq-item.open { border-color: var(--gold-300); }
.gbd-faq-item.open .gbd-faq-icon { transform: rotate(45deg); color: var(--gold-500); }

.gbd-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-800);
    user-select: none;
    gap: 16px;
}

.gbd-faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gold-600);
    transition: var(--transition);
}

.gbd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.gbd-faq-answer-inner { padding: 0 22px 20px; }
.gbd-faq-item.open .gbd-faq-answer { max-height: 500px; }

/* ── Blog Cards ─────────────────────────────── */
.gbd-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gbd-blog-card {
    background: var(--white);
    border: 1px solid var(--gold-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
}

.gbd-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gbd-blog-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
}

.gbd-blog-thumb-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.gbd-blog-body { padding: 20px; }

.gbd-blog-category {
    display: inline-block;
    background: var(--gold-100);
    color: var(--gold-700);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.gbd-blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gbd-blog-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.gbd-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.gbd-blog-date { display: flex; align-items: center; gap: 5px; }

.gbd-blog-read-more {
    color: var(--gold-600);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.gbd-blog-read-more:hover { gap: 8px; }

/* ── Buttons ─────────────────────────────────── */
.gbd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.gbd-btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(184,134,11,0.35);
}

.gbd-btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(184,134,11,0.45);
    color: var(--white);
}

.gbd-btn-outline {
    background: transparent;
    color: var(--gold-600);
    border: 1.5px solid var(--gold-400);
}

.gbd-btn-outline:hover {
    background: var(--gold-100);
    border-color: var(--gold-500);
    color: var(--gold-600);
}

.gbd-btn-dark {
    background: var(--dark-900);
    color: var(--white);
}

.gbd-btn-dark:hover { background: var(--dark-700); color: var(--white); }

/* ── Breadcrumb ─────────────────────────────── */
.gbd-breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--gold-100);
    margin-bottom: 32px;
}

.gbd-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.gbd-breadcrumb a { color: var(--gold-600); }
.gbd-breadcrumb .sep { color: var(--silver-300); }

/* ── Footer ──────────────────────────────────── */
.gbd-footer {
    background: var(--dark-900);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
    border-top: 2px solid var(--gold-700);
}

.gbd-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.gbd-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.gbd-flogo-mark { font-size: 24px; color: var(--gold-400); }

.gbd-flogo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.gbd-gold-dot { color: var(--gold-400); }

.gbd-footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.gbd-footer-contact { display: flex; flex-direction: column; gap: 6px; }
.gbd-footer-contact a { color: rgba(255,255,255,0.6); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.gbd-footer-contact a:hover { color: var(--gold-300); }

.gbd-footer-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184,134,11,0.3);
}

.gbd-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gbd-footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.gbd-footer-links a:hover { color: var(--gold-300); padding-left: 4px; }

.gbd-footer-rates { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.gbd-fr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 12px;
    background: rgba(184,134,11,0.08);
    border-radius: 8px;
    border: 1px solid rgba(184,134,11,0.1);
}

.gbd-fr-label { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6); }
.gbd-fr-val { font-weight: 700; color: var(--gold-300); }
.gbd-footer-updated { font-size: 11px; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 5px; }

.gbd-footer-disclaimer {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-bottom: 24px;
}

.gbd-footer-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.gbd-footer-copy a { color: var(--gold-500); }

.gbd-footer-badges { display: flex; gap: 10px; }

.gbd-badge-bajus, .gbd-badge-ssl {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.gbd-badge-bajus { background: rgba(184,134,11,0.15); color: var(--gold-400); border: 1px solid rgba(184,134,11,0.2); }
.gbd-badge-ssl { background: rgba(26,138,74,0.15); color: #5dc98a; border: 1px solid rgba(26,138,74,0.2); }

/* ── Mobile Bottom Nav ───────────────────────── */
.gbd-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--mobile-nav-height);
    background: var(--white);
    border-top: 1px solid rgba(184,134,11,0.15);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
    z-index: 900;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.gbd-bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    min-width: 56px;
    text-align: center;
    position: relative;
}

.gbd-bn-item i { font-size: 18px; }
.gbd-bn-item.active { color: var(--gold-600); }
.gbd-bn-item:hover { color: var(--gold-500); background: var(--gold-100); }

/* Center "Live" button */
.gbd-bn-center { margin-top: -20px; }

.gbd-bn-gold-btn {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(184,134,11,0.5);
    color: var(--white);
    font-size: 20px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.gbd-bn-center:hover .gbd-bn-gold-btn { transform: scale(1.08); }

/* ── Back to Top ─────────────────────────────── */
.gbd-backtop {
    position: fixed;
    bottom: calc(var(--mobile-nav-height) + 16px);
    right: 20px;
    width: 42px;
    height: 42px;
    background: var(--gold-500);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(184,134,11,0.4);
    opacity: 0;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 800;
    font-size: 14px;
}

.gbd-backtop.show { opacity: 1; transform: translateY(0); }
.gbd-backtop:hover { background: var(--gold-600); transform: translateY(-2px); }

/* ── Zakat Calculator ───────────────────────── */
.gbd-zakat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gbd-zakat-field-card {
    background: var(--bg-section);
    border: 1px solid var(--gold-100);
    border-radius: var(--radius-md);
    padding: 18px;
}

.gbd-zakat-field-title { font-size: 14px; font-weight: 700; color: var(--dark-900); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }

.gbd-nisab-bar {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.gbd-nisab-val { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--gold-300); }
.gbd-nisab-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* ── Source Page ────────────────────────────── */
.gbd-source-card {
    background: var(--white);
    border: 1px solid var(--gold-100);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.gbd-source-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.gbd-source-icon { font-size: 32px; flex-shrink: 0; width: 56px; text-align: center; }
.gbd-source-body h3 { font-size: 18px; font-weight: 700; color: var(--dark-900); margin-bottom: 8px; }
.gbd-source-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.gbd-source-body ul { margin: 12px 0 0 20px; }
.gbd-source-body li { font-size: 14px; color: var(--text-secondary); margin-bottom: 4px; }

/* ── Utility ─────────────────────────────────── */
.gbd-text-gold { color: var(--gold-600); }
.gbd-text-center { text-align: center; }
.gbd-mt-8 { margin-top: 8px; }
.gbd-mt-16 { margin-top: 16px; }
.gbd-mt-24 { margin-top: 24px; }
.gbd-mt-32 { margin-top: 32px; }
.gbd-mt-48 { margin-top: 48px; }
.gbd-mb-24 { margin-bottom: 24px; }
.gbd-mb-32 { margin-bottom: 32px; }
.gbd-mb-48 { margin-bottom: 48px; }
.gbd-gap-24 { gap: 24px; }
.gbd-hidden { display: none !important; }

.gbd-divider {
    border: none;
    border-top: 1px solid var(--gold-100);
    margin: 40px 0;
}

.gbd-note {
    background: var(--gold-100);
    border-left: 4px solid var(--gold-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--gold-800);
    line-height: 1.6;
}

/* ── Loading ─────────────────────────────────── */
.gbd-skeleton {
    background: linear-gradient(90deg, var(--silver-100) 25%, var(--gold-100) 50%, var(--silver-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── TradingView wrapper ─────────────────────── */
.gbd-tv-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.gbd-tv-credit { font-size: 11px; text-align: center; color: var(--text-muted); padding: 8px; }

/* ── ADMIN PANEL CSS ─────────────────────────── */
/* (separate file: admin.css) */

/* ═══════════════════════════════════════════════
   GRID SYSTEM — Desktop (global, outside @media)
═══════════════════════════════════════════════ */
/* ══════════════════════════════════════════════
   GRID SYSTEM — Desktop definitions (REQUIRED)
   These MUST be defined OUTSIDE media queries
   so they work on desktop. Mobile overrides below.
   ══════════════════════════════════════════════ */

/* Base grid display */
.rg-2, .rg-3, .rg-4, .rg-sidebar, .rg-sidebar-left { display: grid; gap: 24px; }

/* Desktop column counts */
.rg-2           { grid-template-columns: 1fr 1fr; }
.rg-3           { grid-template-columns: repeat(3, 1fr); }
.rg-4           { grid-template-columns: repeat(4, 1fr); }
.rg-sidebar     { grid-template-columns: 1fr 320px; align-items: start; }
.rg-sidebar-left{ grid-template-columns: 320px 1fr; align-items: start; }
.rg-auto-grid   { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rg-price-flow  { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* Calc page layout */
.calc-pg-layout  { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.calc-pg-sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }

/* Landing page grids */
.lp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }


/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile overrides
   All desktop grids collapse here
   ══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   HOMEPAGE COMPONENTS
═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   HOMEPAGE COMPONENTS — Professional Design
═══════════════════════════════════════════════ */

/* Hero */
.hp-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1500 40%, #0d0d0d 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.hp-hero-bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(184,134,11,0.08) 0%, transparent 60%),
                      radial-gradient(ellipse at 80% 20%, rgba(184,134,11,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hp-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(184,134,11,0.15); border: 1px solid rgba(184,134,11,0.35);
    color: var(--gold-300); font-size: 11px; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 20px; margin-bottom: 22px;
}
.hp-live-dot {
    width: 7px; height: 7px; background: #4ade80; border-radius: 50%;
    display: block; flex-shrink: 0;
    animation: pulse 1.8s ease infinite;
}
.hp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 700; color: #fff; line-height: 1.2;
    margin-bottom: 18px;
}
.hp-hero-price {
    display: block;
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1; margin: 6px 0 2px;
}
.hp-hero-unit {
    display: block; font-size: 16px; font-weight: 500;
    color: rgba(255,255,255,0.45); letter-spacing: .04em;
    margin-bottom: 20px;
}
.hp-hero-sub {
    font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75;
    margin-bottom: 28px; max-width: 480px;
}
.hp-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hp-btn-ghost {
    background: rgba(255,255,255,0.07); color: var(--gold-300);
    border: 1px solid rgba(184,134,11,0.3);
}
.hp-btn-ghost:hover { background: rgba(184,134,11,0.15); color: var(--gold-200); }

/* Hero stats */
.hp-hero-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hp-stat-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(184,134,11,0.15);
    border-radius: 14px; padding: 16px 14px;
    backdrop-filter: blur(8px); transition: var(--transition);
}
.hp-stat-card:hover { border-color: rgba(184,134,11,0.35); background: rgba(255,255,255,0.07); }
.hp-stat-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 800;
    letter-spacing: .04em; margin-bottom: 10px;
}
.hp-badge-k22{background:#fff7d6;color:#9a6f08;}.hp-badge-k21{background:#fff3cc;color:#8a6008;}
.hp-badge-k18{background:#ffeebf;color:#7a5506;}.hp-badge-trad{background:#f5e8c8;color:#5a3e04;}
.hp-stat-price {
    font-family: var(--font-display); font-size: 20px; font-weight: 800;
    color: var(--gold-300); line-height: 1; margin-bottom: 4px;
}
.hp-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.hp-stat-gram  { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.hp-stat-change { font-size: 11px; font-weight: 600; }
.hp-stat-change.up   { color: #4ade80; }
.hp-stat-change.down { color: #f87171; }
.hp-stat-change.unchanged { color: rgba(255,255,255,0.35); }

/* Main price block */
.hp-price-block {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 32px rgba(184,134,11,0.12);
    border: 1px solid rgba(184,134,11,0.18); margin-bottom: 40px;
}
.hp-price-header {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    padding: 16px 22px; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.hp-price-header-left { display: flex; align-items: center; gap: 12px; }
.hp-price-header-icon {
    width: 36px; height: 36px; background: rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #fff; flex-shrink: 0;
}
.hp-price-header-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #fff; }
.hp-price-header-sub   { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 2px; }
.hp-price-header-actions { display: flex; gap: 8px; }
.hp-action-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px; background: rgba(255,255,255,0.12); color: #fff;
    border: 1px solid rgba(255,255,255,0.25); border-radius: 8px;
    font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
    transition: var(--transition);
}
.hp-action-btn:hover { background: rgba(255,255,255,0.22); }

/* Price cards */
.hp-price-card {
    padding: 20px 18px; border-bottom: none; transition: var(--transition);
    cursor: default;
}
.hp-price-card:hover { background: var(--gold-100); }
.hp-card-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 800;
    letter-spacing: .04em; margin-bottom: 8px;
}
.hp-badge-k22{background:#fff7d6;color:#9a6f08;}.hp-badge-k21{background:#fff3cc;color:#8a6008;}
.hp-badge-k18{background:#ffeebf;color:#7a5506;}.hp-badge-trad{background:#f5e8c8;color:#5a3e04;}
.hp-card-karat  { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 2px; }
.hp-card-purity { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; }
.hp-card-price  { font-family: var(--font-display); font-size: clamp(18px,2.2vw,26px); font-weight: 800; color: var(--dark-900); line-height: 1; }
.hp-card-unit   { font-size: 11px; color: var(--text-muted); margin-top: 4px; margin-bottom: 10px; }
.hp-card-change { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.hp-card-change.up   { background: var(--green-100); color: var(--green-500); }
.hp-card-change.down { background: var(--red-100); color: var(--red-500); }
.hp-card-change.unchanged { background: #f5f5f5; color: var(--text-muted); }

/* Unit tabs */
.hp-unit-tabs {
    display: flex; border-bottom: 1px solid var(--gold-100); overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.hp-unit-btn {
    flex: 1; min-width: 72px; padding: 11px 8px;
    border: none; background: transparent; color: var(--text-muted);
    font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
    transition: var(--transition); white-space: nowrap;
    border-right: 1px solid var(--gold-100); border-bottom: 2px solid transparent;
}
.hp-unit-btn:last-child { border-right: none; }
.hp-unit-btn:hover  { color: var(--gold-600); background: var(--gold-100); }
.hp-unit-btn.active { color: var(--gold-600); font-weight: 700; background: var(--gold-100); border-bottom-color: var(--gold-500); }
.hp-price-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px; font-size: 11px; color: var(--text-muted);
    flex-wrap: wrap; gap: 8px;
}
.hp-calc-link {
    color: var(--gold-600); font-weight: 600; font-size: 12px;
    display: flex; align-items: center; gap: 4px;
}
.hp-table-note {
    font-size: 12px; color: var(--text-muted); margin-top: 10px;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}

/* Section headers */
.hp-section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.hp-section-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px;
}
.hp-section-title {
    font-family: var(--font-display); font-size: clamp(20px,3vw,28px);
    font-weight: 700; color: var(--dark-900); line-height: 1.25; margin-bottom: 6px;
}
.hp-section-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Calculator block */
.hp-calc-block {
    background: #fff; border: 1px solid rgba(184,134,11,0.15);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(184,134,11,0.08);
}
.hp-calc-head {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
    padding: 18px 22px; display: flex; align-items: center;
    justify-content: space-between;
}
.hp-calc-head-title { font-size: 16px; font-weight: 700; color: #fff; }
.hp-calc-head-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.hp-calc-full-link {
    font-size: 12px; color: var(--gold-300); font-weight: 600;
    display: flex; align-items: center; gap: 5px; white-space: nowrap;
    text-decoration: none;
}
.hp-calc-body { padding: 20px; }
.hp-calc-karat { margin-bottom: 14px; }
.hp-calc-tabs {
    display: flex; background: #f0ebe0; border-radius: 10px;
    padding: 4px; margin-bottom: 16px; gap: 0;
}
.hp-calc-tabs .calc-tab {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    gap: 2px; padding: 10px; border: none; background: none;
    font-family: inherit; border-radius: 8px; cursor: pointer;
    transition: all .2s; color: var(--text-muted);
}
.hp-calc-tabs .calc-tab span { font-size: 15px; font-weight: 700; line-height: 1; }
.hp-calc-tabs .calc-tab small { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.hp-calc-tabs .calc-tab.active {
    background: #fff; color: var(--gold-600);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hp-gram-equiv { font-size: 11px; color: var(--gold-600); font-weight: 600; margin-top: 4px; min-height: 16px; }
.hp-calc-cta {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px; padding: 11px; background: var(--dark-900); color: var(--gold-300);
    font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none;
    transition: var(--transition);
}
.hp-calc-cta:hover { background: var(--dark-700); color: var(--gold-200); }

/* Sidebar stack */
.hp-sidebar-stack { display: flex; flex-direction: column; gap: 16px; }

/* Silver block */
.hp-silver-block {
    background: #fff; border: 1px solid var(--silver-200);
    border-radius: 14px; overflow: hidden;
}
.hp-silver-head {
    background: linear-gradient(135deg,#1a1a2e,#16213e);
    padding: 12px 16px; font-size: 13px; font-weight: 700; color: #c0c8f0;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.hp-silver-head i { color: #7084c0; }
.hp-silver-date { font-size: 10px; color: rgba(192,200,240,0.5); }
.hp-silver-row {
    display: grid; grid-template-columns: auto 1fr auto auto;
    align-items: center; gap: 8px; padding: 10px 16px;
    border-bottom: 1px solid var(--silver-100);
    font-size: 13px; cursor: default; transition: var(--transition);
}
.hp-silver-row:hover { background: var(--silver-100); }
.hp-silver-row:last-of-type { border-bottom: none; }
.hp-silver-badge {
    background: var(--silver-200); color: var(--silver-500);
    padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 800;
}
.hp-silver-name  { color: var(--text-secondary); font-size: 12px; }
.hp-silver-price { font-weight: 700; color: var(--dark-900); font-size: 13px; }
.hp-silver-gram  { font-size: 11px; color: var(--text-muted); }
.hp-silver-link {
    display: block; text-align: center; padding: 10px;
    font-size: 12px; font-weight: 600; color: var(--gold-600);
    border-top: 1px solid var(--silver-100);
}

/* Quick links */
.hp-quicklinks {
    background: #fff; border: 1px solid var(--gold-100);
    border-radius: 14px; overflow: hidden;
}
.hp-ql-item {
    display: flex; align-items: center; gap: 12px; padding: 13px 16px;
    border-bottom: 1px solid var(--gold-100); text-decoration: none;
    color: var(--dark-800); transition: var(--transition);
}
.hp-ql-item:hover { background: var(--gold-100); }
.hp-ql-item:last-child { border-bottom: none; }
.hp-ql-icon { color: var(--gold-500); width: 18px; flex-shrink: 0; font-size: 14px; }
.hp-ql-title { font-size: 13px; font-weight: 700; color: var(--dark-900); }
.hp-ql-sub   { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.hp-ql-arrow { color: var(--text-muted); font-size: 10px; margin-left: auto; }

/* Chart section */
.hp-chart-section { margin-bottom: 0; }

/* SEO section */
.hp-seo-section {
    background: var(--bg-section); border-radius: 14px;
    padding: 28px 32px; margin-bottom: 48px;
}
.hp-seo-section h2 {
    font-family: var(--font-display); font-size: 18px; font-weight: 700;
    color: var(--dark-900); margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 1px solid var(--gold-200);
}
.hp-seo-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.hp-seo-grid p {
    font-size: 14px; color: var(--text-secondary); line-height: 1.8;
    margin-bottom: 10px;
}
.hp-seo-grid p:last-child { margin-bottom: 0; }
.hp-seo-grid a { color: var(--gold-600); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES — ONE SET, NO DUPLICATES
   Structure: 1024px → 768px → 480px
   ═══════════════════════════════════════════════════════════ */

/* ── 1024px: Tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
    .rg-4            { grid-template-columns: 1fr 1fr; }
    .rg-sidebar      { grid-template-columns: 1fr; }
    .rg-sidebar-left { grid-template-columns: 1fr; }
    .lp-grid-4       { grid-template-columns: 1fr 1fr; }
    .calc-pg-layout  { grid-template-columns: 1fr; }
    .calc-pg-sidebar { position: static; }
    .gbd-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .gbd-price-grid  { grid-template-columns: 1fr 1fr; }
    .hp-hero-inner   { grid-template-columns: 1fr; gap: 32px; }
    .hp-hero-stats   { grid-template-columns: repeat(4, 1fr); }
    .hp-seo-grid     { grid-template-columns: 1fr 1fr; }
}

/* ── 768px: Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
    :root { --nav-height: 62px; }

    /* Navigation */
    .gbd-nav, .gbd-live-badge { display: none; }
    .gbd-menu-btn              { display: flex; }
    .gbd-mobile-menu           { display: block; }
    .gbd-bottom-nav            { display: flex; }

    /* ALL named grid classes → single column */
    .rg-2, .rg-3, .rg-4,
    .rg-sidebar, .rg-sidebar-left,
    .lp-grid-2, .lp-grid-4,
    .calc-pg-layout,
    .hp-seo-grid {
        grid-template-columns: 1fr !important;
    }
    .rg-auto-grid    { grid-template-columns: 1fr 1fr !important; }
    .calc-pg-sidebar { position: static !important; }

    /* Inline style grid overrides (safety net) */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 320px"],
    div[style*="grid-template-columns: 1fr 320px"],
    div[style*="grid-template-columns:1fr 340px"],
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns:1.4fr"],
    div[style*="grid-template-columns:1.5fr"],
    div[style*="grid-template-columns:2fr 1fr"],
    div[style*="grid-template-columns:1fr 1.5fr"],
    div[style*="grid-template-columns:1fr 440px"],
    div[style*="grid-template-columns:1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }
    div[style*="grid-template-columns:repeat(4"],
    div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr 1fr !important;
    }
    div[style*="grid-template-columns:repeat(3"],
    div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    div[style*="position:sticky"],
    div[style*="position: sticky"] { position: static !important; }

    /* Sections */
    .gbd-section    { padding: 36px 0; }
    .gbd-container  { padding: 0 14px; }

    /* Price cards */
    .gbd-price-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gbd-pc-bhori   { font-size: 20px; }

    /* Table */
    .gbd-price-table            { font-size: 12px; }
    .gbd-price-table thead th,
    .gbd-price-table tbody td   { padding: 10px 10px; }

    /* Blog/Info grids */
    .gbd-blog-grid { grid-template-columns: 1fr; }
    .gbd-info-grid { grid-template-columns: 1fr 1fr; }

    /* Footer */
    .gbd-footer-grid { grid-template-columns: 1fr; }
    .gbd-footer      { padding-bottom: calc(var(--mobile-nav-height) + 24px); }
    .gbd-footer-copy { flex-direction: column; align-items: center; text-align: center; }

    /* Calculator */
    .gbd-calc-body        { padding: 18px; }
    .gbd-result-breakdown { grid-template-columns: 1fr 1fr; }

    /* Chart */
    .gbd-chart-range { gap: 3px; }
    .gbd-range-btn   { padding: 4px 7px; font-size: 11px; }
    .gbd-chart-header { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* Source cards */
    .gbd-source-card { flex-direction: column; gap: 12px; }

    /* Main padding for mobile nav */
    .gbd-main { padding-bottom: calc(var(--mobile-nav-height) + 16px); }

    /* Ticker */
    .gbd-ticker-bar { display: none; }

    /* Homepage Hero */
    .hp-hero         { padding: 36px 0 28px; }
    .hp-hero-inner   { grid-template-columns: 1fr !important; }
    .hp-hero-stats   { grid-template-columns: 1fr 1fr !important; gap: 10px; }
    .hp-hero-btns    { flex-direction: column; }
    .hp-hero-btns .gbd-btn { justify-content: center; }
    .hp-hero-price   { font-size: 40px; }
    .hp-hero-title   { font-size: 26px; }
    .hp-hero-sub     { font-size: 14px; }

    /* Homepage sections */
    .hp-section-header { flex-direction: column; align-items: flex-start; }
    .hp-price-header   { flex-direction: column; align-items: flex-start; }
    .hp-seo-section    { padding: 20px; }
    .hp-seo-grid       { grid-template-columns: 1fr !important; }
    .hp-sidebar-stack  { margin-top: 0; }

    /* Admin */
    .adm-sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
        position: fixed; top: 0; left: 0; height: 100vh;
    }
    .adm-sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,.4); }
    .adm-main         { margin-left: 0 !important; }
    .adm-stats-grid   { grid-template-columns: 1fr 1fr !important; gap: 12px; }
    .adm-content      { padding: 14px !important; }
    .adm-topbar       { padding: 0 14px; }
    .adm-topbar-right .adm-bd-time { display: none; }
    .adm-overlay.show { display: block; }
}

/* ── 480px: Small Mobile ───────────────────────────────── */
@media (max-width: 480px) {
    .rg-auto-grid   { grid-template-columns: 1fr !important; }
    .gbd-price-grid { grid-template-columns: 1fr; }
    .gbd-info-grid  { grid-template-columns: 1fr; }
    .gbd-section-title { font-size: 22px; }
    .gbd-result-value  { font-size: 28px; }
    .gbd-faq-question  { font-size: 14px; padding: 14px 16px; }
    .gbd-mob-nav       { grid-template-columns: 1fr; }
    .hp-hero-stats     { grid-template-columns: 1fr 1fr !important; }
    .hp-stat-price     { font-size: 17px; }
    .hp-hero-price     { font-size: 34px; }
    .adm-stats-grid    { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
    div[style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr 1fr !important; }
    div[style*="gap:48px"] { gap: 24px !important; }
}

/* ── Print ─────────────────────────────────────────────── */
@media print {
    .gbd-header, .gbd-footer, .gbd-bottom-nav,
    .gbd-ticker-bar, .gbd-backtop, .gbd-bajus-bar,
    .gbd-btn-gold { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .gbd-price-table { font-size: 11pt; }
}

/* ── Nav justified ── */
.gbd-nav { justify-content: space-between; flex: 1; margin: 0 24px; }
.gbd-chev { font-size: 9px; margin-left: 2px; }
