/* ============================================================
   Gold Bullion India — Main Stylesheet
   Professional gold price website. Clean, data-focused design.
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --gold:        #DAA520;
    --gold-light:  #FFD700;
    --gold-dark:   #B8860B;
    --silver:      #9E9E9E;
    --silver-light:#E0E0E0;
    --dark:        #1a1a2e;
    --dark-2:      #16213e;
    --text:        #333333;
    --text-muted:  #666666;
    --text-light:  #ffffff;
    --bg:          #f5f5f0;
    --bg-card:     #ffffff;
    --bg-dark:     #1a1a2e;
    --border:      #e0ddd5;
    --border-light:#f0ede5;
    --up-color:    #27ae60;
    --down-color:  #e74c3c;
    --flat-color:  #888888;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
    --shadow:      0 2px 12px rgba(0,0,0,0.1);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
    --radius:      8px;
    --radius-sm:   4px;
    --font:        'Inter', 'Noto Sans', 'Segoe UI', Arial, sans-serif;
    --transition:  0.2s ease;
    --container:   1240px;
    --sidebar-w:   300px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { line-height: 1.3; color: var(--dark); }

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

/* ── Top Bar ───────────────────────────────────────────────── */
.gbp-topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    padding: 7px 0;
    transition: transform var(--transition);
    position: relative;
    z-index: 1001;
}
.gbp-topbar-hidden { transform: translateY(-100%); }

.gbp-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.gbp-topbar-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.gbp-topbar-sep  { opacity: 0.4; }
.gbp-topbar-live { color: var(--up-color); font-weight: 600; }

.gbp-live-dot {
    width: 7px; height: 7px;
    background: var(--up-color);
    border-radius: 50%;
    animation: gbp-blink 1.4s infinite;
    flex-shrink: 0;
}
@keyframes gbp-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.gbp-topbar-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    flex-wrap: wrap;
}
.gbp-ticker-item { white-space: nowrap; }
.gbp-ticker-item strong { color: var(--gold-light); }
.gbp-ticker-sep { opacity: 0.35; }

/* ── Header ────────────────────────────────────────────────── */
.gbp-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.gbp-header-sticky { box-shadow: var(--shadow); }

.gbp-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

/* Logo */
.gbp-logo { display: flex; flex-direction: column; gap: 2px; }
.gbp-logo a { display: flex; align-items: center; gap: 8px; color: var(--dark); }
.gbp-logo a:hover { color: var(--gold); }
.gbp-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--dark); }
.gbp-logo-icon { color: var(--gold); font-size: 20px; }
.gbp-logo-tagline { font-size: 11px; color: var(--text-muted); }
.gbp-logo img { height: 55px; width: auto; }
.custom-logo { height: 55px; width: auto; }

/* Search */
.gbp-header-search { flex: 1; max-width: 380px; margin-left: auto; }
.gbp-header-search form { display: flex; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden; }
.gbp-header-search input {
    flex: 1;
    border: none;
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
    background: var(--bg);
}
.gbp-header-search button {
    background: var(--gold);
    border: none;
    padding: 9px 14px;
    cursor: pointer;
    color: var(--dark);
    display: flex;
    align-items: center;
    transition: background var(--transition);
}
.gbp-header-search button:hover { background: var(--gold-dark); color: white; }

/* Mobile toggle */
.gbp-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.gbp-nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}
.gbp-toggle-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.gbp-toggle-open span:nth-child(2) { opacity: 0; }
.gbp-toggle-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Navigation ────────────────────────────────────────────── */
.gbp-nav {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.gbp-nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
}
.gbp-nav-item > a {
    display: block;
    padding: 13px 18px;
    color: rgba(255,255,255,0.87);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}
.gbp-nav-item > a:hover,
.gbp-nav-item.current-menu-item > a {
    background: rgba(218,165,32,0.15);
    color: var(--gold-light);
}
.gbp-arrow { font-size: 10px; margin-left: 3px; opacity: 0.7; }

/* Dropdown */
.gbp-has-dropdown { position: relative; }
.gbp-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    min-width: 200px;
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
}
.gbp-has-dropdown:hover .gbp-dropdown { display: block; }
.gbp-dropdown li a {
    display: block;
    padding: 9px 16px;
    color: var(--text);
    font-size: 13.5px;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}
.gbp-dropdown li a:hover { background: #fdf8ec; color: var(--gold-dark); }
.gbp-dropdown-header {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg);
}
.gbp-dropdown-divider { border-top: 2px solid var(--border); margin: 4px 0; }

.gbp-mega-dropdown {
    display: none;
    min-width: 500px;
    columns: 3;
    gap: 0;
}
.gbp-mega-dropdown li { break-inside: avoid; }
.gbp-has-dropdown:hover .gbp-mega-dropdown { display: block; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.gbp-breadcrumb-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 9px 0;
    font-size: 13px;
}
.gbp-breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 6px;
    margin: 0;
}
.gbp-breadcrumbs li a { color: var(--text-muted); }
.gbp-breadcrumbs li a:hover { color: var(--gold-dark); }
.gbp-breadcrumbs li:last-child span { color: var(--text); font-weight: 500; }
.gbp-bc-sep { color: var(--border); font-size: 16px; }

/* ── Hero Section ───────────────────────────────────────────── */
.gbp-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: white;
    padding: 36px 0 40px;
    border-bottom: 3px solid var(--gold);
}
.gbp-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.gbp-hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 28px;
}
.gbp-hero-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gbp-hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(218,165,32,0.25);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.gbp-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(218,165,32,0.2);
}
.gbp-hero-card-gold { border-color: rgba(218,165,32,0.4); }
.gbp-hero-card-silver { border-color: rgba(192,192,192,0.4); }
.gbp-hero-card-label { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.gbp-hero-card-price { margin-bottom: 8px; }
.gbp-hero-10g {
    font-size: 26px;
    font-weight: 800;
    color: var(--gold-light);
    display: block;
}
.gbp-hero-card-price small { color: rgba(255,255,255,0.5); font-size: 11px; }
.gbp-hero-card-sub { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.65); margin-bottom: 6px; }
.gbp-hero-card-hl { font-size: 11.5px; color: rgba(255,255,255,0.45); }

/* Hero meta bar */
.gbp-hero-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.gbp-hero-source-badges { display: flex; gap: 8px; }
.gbp-source-badge {
    background: rgba(218,165,32,0.15);
    border: 1px solid rgba(218,165,32,0.35);
    color: var(--gold-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.gbp-hero-time-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
}
.gbp-hero-sep { opacity: 0.4; }
.gbp-next-update-text { color: rgba(255,255,255,0.4); font-size: 12px; }

/* Purity badge on card label */
.gbp-purity-badge {
    display: inline-block;
    background: rgba(218,165,32,0.25);
    color: var(--gold-light);
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 5px;
}
.gbp-purity-silver { background: rgba(192,192,192,0.2); color: #e0e0e0; }
.gbp-jewellery-tag { font-size: 11px; color: rgba(255,255,255,0.5); }

/* High / Low badges */
.gbp-hero-hl-row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.gbp-hl-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}
.gbp-hl-high { background: rgba(39,174,96,0.2); color: #5ddc8a; }
.gbp-hl-low  { background: rgba(231,76,60,0.2);  color: #ff8070; }

/* City Hero */
.gbp-city-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 28px 0;
    border-bottom: 3px solid var(--gold);
}
.gbp-city-hero-silver {
    background: linear-gradient(135deg, #1a1a2e 0%, #1e2a3a 100%);
    border-bottom-color: var(--silver);
}
.gbp-toggle-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}
.gbp-toggle-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }
.gbp-city-hero-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 8px;
}
.gbp-city-state-badge {
    display: inline-block;
    background: rgba(218,165,32,0.2);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
}
.gbp-city-hero-sub { color: rgba(255,255,255,0.75); font-size: 14px; }

/* ── Layout: Content + Sidebar ─────────────────────────────── */
.gbp-content-sidebar {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: 28px;
    align-items: start;
    padding-top: 28px;
    padding-bottom: 40px;
}
.gbp-sidebar { position: sticky; top: 80px; }

/* ── Section ────────────────────────────────────────────────── */
.gbp-section { padding: 32px 0; }
.gbp-section-light { background: var(--bg); }
.gbp-section-dark { background: var(--dark); }
.gbp-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.gbp-section-header h2 { color: white; font-size: 22px; }
.gbp-view-all-link { font-size: 14px; color: var(--gold-light); font-weight: 500; }
.gbp-view-all-link.gbp-light { color: var(--gold-light); }
.gbp-view-all-link:hover { color: var(--gold-light); text-decoration: underline; }

/* ── Card ───────────────────────────────────────────────────── */
.gbp-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.gbp-mt { margin-top: 20px; }

.gbp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(to right, #fffdf5, var(--bg-card));
}
.gbp-card-header h1,
.gbp-card-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.gbp-updated-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    white-space: nowrap;
}
.gbp-card-body { padding: 20px 22px; }

/* ── Rate Tables ────────────────────────────────────────────── */
.gbp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gbp-sc-table-wrap { overflow-x: auto; }

.gbp-rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 500px;
}
.gbp-rate-table th {
    background: var(--dark);
    color: var(--gold-light);
    padding: 11px 14px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.gbp-rate-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    white-space: nowrap;
}
.gbp-rate-table tbody tr:hover { background: #fffdf5; }
.gbp-rate-table tbody tr.today-row td { background: #fffbea; font-weight: 600; }
.gbp-rate-table .gbp-table-link {
    color: var(--gold-dark);
    font-size: 12.5px;
    font-weight: 500;
}

/* Price change indicators */
.change-up   { color: var(--up-color);   font-weight: 600; }
.change-down { color: var(--down-color); font-weight: 600; }
.change-flat { color: var(--flat-color); font-weight: 600; }

/* ── City Summary Cards ─────────────────────────────────────── */
.gbp-city-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 0;
}
.gbp-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-align: center;
}
.gbp-sc-gold { border-top: 3px solid var(--gold); }
.gbp-sc-silver { border-top: 3px solid var(--silver); }
.gbp-sc-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.gbp-sc-price { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.gbp-sc-change { font-size: 12px; color: var(--text-muted); }

/* ── City Rate Cards Grid (Homepage) ───────────────────────── */
.gbp-city-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gbp-city-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: var(--bg-card);
    transition: box-shadow var(--transition), transform var(--transition);
}
.gbp-city-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.gbp-city-card h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.gbp-city-card h3 a { color: var(--dark); }
.gbp-city-card-rates { display: flex; gap: 14px; margin-bottom: 10px; }
.gbp-city-card-rates div { flex: 1; }
.gbp-k-label { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.gbp-city-card-rates strong { font-size: 15px; font-weight: 700; color: var(--dark); }
.gbp-city-card-link { font-size: 12.5px; color: var(--gold-dark); font-weight: 500; }

/* ── States Grid ────────────────────────────────────────────── */
.gbp-states-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gbp-state-link {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
    transition: all var(--transition);
}
.gbp-state-link:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ── News Grid ──────────────────────────────────────────────── */
.gbp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gbp-news-grid-3 { grid-template-columns: repeat(3, 1fr); }

.gbp-news-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition);
}
.gbp-section-light .gbp-news-card {
    background: var(--bg-card);
    border-color: var(--border);
}
.gbp-news-card:hover { transform: translateY(-3px); }
.gbp-news-card-img img { width: 100%; height: 170px; object-fit: cover; }
.gbp-news-card-body { padding: 14px 16px; }
.gbp-news-date { font-size: 11.5px; color: var(--gold); font-weight: 600; display: block; margin-bottom: 6px; }
.gbp-news-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.gbp-news-card-title a { color: white; }
.gbp-section-light .gbp-news-card-title a { color: var(--dark); }
.gbp-news-card-excerpt { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.gbp-section-light .gbp-news-card-excerpt { color: var(--text-muted); }
.gbp-read-more { font-size: 13px; color: var(--gold); font-weight: 600; }

/* News single */
.gbp-news-single-title { font-size: 26px; font-weight: 800; margin: 16px 0; }
.gbp-news-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; }
.gbp-news-featured-img { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.gbp-news-featured-img img { width: 100%; max-height: 450px; object-fit: cover; }
.gbp-news-price-bar {
    background: #fffbea;
    border: 1px solid #e8d48b;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    margin: 20px 0;
}

/* News list (archive) */
.gbp-news-list { display: flex; flex-direction: column; gap: 24px; }
.gbp-news-list-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.gbp-news-list-img img { width: 180px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); }
.gbp-news-list-title { font-size: 17px; font-weight: 700; margin: 6px 0 8px; }
.gbp-news-list-excerpt { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }

/* ── Widget Styles ──────────────────────────────────────────── */
.gbp-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.gbp-widget-title {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    background: var(--dark);
    color: var(--gold-light);
    margin: 0;
    border-radius: 0;
}

/* Live price widget */
.gbp-live-price-widget { padding: 12px 14px; }
.gbp-lp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 8px;
}
.gbp-lp-row:last-of-type { border-bottom: none; }
.gbp-lp-label { font-size: 13px; color: var(--text-muted); }
.gbp-lp-label small { display: block; font-size: 11px; }
.gbp-lp-gold .gbp-lp-price { color: var(--gold-dark); }
.gbp-lp-silver .gbp-lp-price { color: var(--silver); }
.gbp-lp-price { font-weight: 700; font-size: 14.5px; color: var(--dark); text-align: right; }
.gbp-lp-divider { border-top: 2px dashed var(--border); margin: 6px 0; }
.gbp-lp-footer { padding-top: 8px; font-size: 11.5px; color: var(--text-muted); }

/* Calculator widget */
.gbp-calc-widget, .gbp-calc-full { padding: 14px; }
.gbp-calc-row { margin-bottom: 12px; }
.gbp-calc-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; }
.gbp-calc-row input, .gbp-calc-row select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}
.gbp-calc-row input:focus, .gbp-calc-row select:focus { border-color: var(--gold); }
.gbp-calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}
.gbp-calc-grid label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; }
.gbp-calc-grid input, .gbp-calc-grid select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition);
}
.gbp-calc-grid input:focus, .gbp-calc-grid select:focus { border-color: var(--gold); }
.gbp-calc-weight-row { display: flex; gap: 8px; }
.gbp-calc-weight-row input { flex: 1; }
.gbp-calc-weight-row select { width: 120px; }

.gbp-calc-btn {
    width: 100%;
    padding: 11px;
    background: var(--gold);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    font-family: var(--font);
    transition: background var(--transition), transform var(--transition);
}
.gbp-calc-btn:hover { background: var(--gold-dark); color: white; }
.gbp-calc-btn:active { transform: scale(0.98); }
.gbp-btn-full { width: 100%; }
.gbp-btn-large { padding: 13px 24px; font-size: 15px; }

.gbp-calc-result, .gbp-calc-result-full {
    margin-top: 14px;
    background: #fffbea;
    border: 1px solid #e8d48b;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 14px;
}
.gbp-calc-breakdown h3 { font-size: 15px; margin-bottom: 12px; color: var(--dark); }
.gbp-calc-table { width: 100%; border-collapse: collapse; }
.gbp-calc-table td { padding: 7px 0; border-bottom: 1px solid #e8d48b; }
.gbp-calc-table td:last-child { text-align: right; font-weight: 600; }
.gbp-calc-table tr.total-row td { border-top: 2px solid var(--gold); border-bottom: none; padding-top: 10px; font-size: 15px; }
.gbp-calc-mini-result { font-size: 14px; }
.gbp-calc-mini-result > div { margin-bottom: 6px; }
.gbp-calc-total { font-size: 16px; font-weight: 700; color: var(--gold-dark); padding-top: 8px; border-top: 1px solid #e8d48b; margin-top: 8px; }
.gbp-calc-note { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; }
.gbp-calc-row-full { margin-bottom: 14px; }
.gbp-calc-row-full label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; display: block; }
.gbp-radio-group { display: flex; gap: 16px; }
.gbp-radio-group label { font-size: 14px; display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* Unit converter */
.gbp-conv-result-grid { margin-top: 14px; }
.gbp-conv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gbp-conv-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.gbp-conv-val { font-size: 17px; font-weight: 700; color: var(--dark); }
.gbp-conv-unit { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* City widget table */
.gbp-city-widget-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gbp-city-widget-table th { background: #f5f5f0; padding: 8px 12px; font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: left; border-bottom: 1px solid var(--border); }
.gbp-city-widget-table td { padding: 8px 12px; border-bottom: 1px solid var(--border-light); }
.gbp-city-widget-table td:last-child { font-weight: 600; text-align: right; color: var(--gold-dark); }
.gbp-city-widget-table a { color: var(--text); }
.gbp-city-widget-table tr:hover td { background: #fffdf5; }

/* News widget */
.gbp-news-widget-list { list-style: none; padding: 12px 14px; }
.gbp-news-widget-list li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.gbp-news-widget-list li:last-child { border-bottom: none; }
.gbp-news-widget-list a { font-size: 13.5px; color: var(--text); font-weight: 500; line-height: 1.4; display: block; margin-bottom: 3px; }
.gbp-news-widget-list a:hover { color: var(--gold-dark); }
.gbp-news-date { font-size: 11.5px; color: var(--text-muted); }

/* Unit reference table */
.gbp-unit-ref-table { width: 100%; border-collapse: collapse; font-size: 13px; padding: 12px; }
.gbp-unit-ref-table td { padding: 7px 12px; border-bottom: 1px solid var(--border-light); }
.gbp-unit-ref-table tr:last-child td { border-bottom: none; }
.gbp-unit-ref-table td:nth-child(2) { color: var(--text-muted); text-align: center; }
.gbp-unit-ref-table td:last-child { font-weight: 600; text-align: right; }

/* Ad widget */
.gbp-ad-widget { background: #fafafa; border: 2px dashed var(--border); }
.gbp-ad-placeholder {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gbp-ad-strip { padding: 14px 0; background: #f5f5f0; border-top: 1px solid var(--border); }

/* View all link */
.gbp-view-all {
    display: block;
    text-align: center;
    padding: 9px;
    font-size: 13px;
    color: var(--gold-dark);
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    transition: background var(--transition);
}
.gbp-view-all:hover { background: #fffbea; }

/* ── FAQ ────────────────────────────────────────────────────── */
.gbp-faq-heading { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.gbp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.gbp-faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.gbp-faq-q {
    width: 100%;
    text-align: left;
    background: var(--bg);
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font);
    line-height: 1.4;
    transition: background var(--transition);
}
.gbp-faq-q:hover { background: #fffbea; }
.gbp-faq-q[aria-expanded="true"] { background: #fffbea; color: var(--gold-dark); }
.gbp-faq-icon { font-size: 20px; color: var(--gold-dark); flex-shrink: 0; margin-left: 12px; }
.gbp-faq-a { padding: 14px 18px; font-size: 14.5px; color: var(--text); line-height: 1.65; border-top: 1px solid var(--border-light); background: white; }
.gbp-faq-a p { margin: 0; }

/* ── State/City List ────────────────────────────────────────── */
.gbp-state-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.gbp-state-heading a { color: var(--dark); }
.gbp-state-heading a:hover { color: var(--gold-dark); }

/* Nearby cities */
.gbp-nearby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gbp-nearby-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
    color: var(--dark);
    transition: all var(--transition);
    display: block;
}
.gbp-nearby-card:hover { border-color: var(--gold); background: #fffbea; color: var(--gold-dark); }
.gbp-nearby-city { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.gbp-nearby-price { font-size: 18px; font-weight: 800; color: var(--gold-dark); }
.gbp-nearby-unit { font-size: 11px; color: var(--text-muted); }

/* ── Prose Content ──────────────────────────────────────────── */
.gbp-prose { font-size: 15px; line-height: 1.7; color: var(--text); }
.gbp-prose h2 { font-size: 20px; font-weight: 700; margin: 22px 0 12px; color: var(--dark); }
.gbp-prose h3 { font-size: 17px; font-weight: 700; margin: 18px 0 10px; }
.gbp-prose p { margin-bottom: 14px; }
.gbp-prose ul { margin: 12px 0 14px 20px; }
.gbp-prose ul li { margin-bottom: 6px; }
.gbp-prose strong { color: var(--dark); }

/* ── Share Buttons ──────────────────────────────────────────── */
.gbp-share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.gbp-share-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.gbp-share-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
    transition: opacity 0.2s;
}
.gbp-share-btn:hover { opacity: 0.85; }
.gbp-share-wa  { background: #25D366; color: #fff; }
.gbp-share-tg  { background: #0088cc; color: #fff; }
.gbp-share-tw  { background: #000; color: #fff; }

/* ── Print Bar ───────────────────────────────────────────────── */
.gbp-print-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.gbp-print-btn {
    background: var(--light-bg, #f5f5f5);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background 0.2s;
}
.gbp-print-btn:hover { background: #e8e8e8; }

/* ── Print Styles ────────────────────────────────────────────── */
@media print {
    .gbp-topbar, .gbp-header, .gbp-nav, .gbp-mobile-bar,
    .gbp-sidebar, .gbp-footer, .gbp-print-bar, .gbp-share-bar,
    .gbp-breadcrumb-bar, .gbp-post-nav, .gbp-news-grid { display: none !important; }
    .gbp-content-sidebar { display: block !important; }
    .gbp-card { box-shadow: none !important; border: 1px solid #ddd !important; }
    .gbp-city-hero { background: #fff !important; color: #000 !important; padding: 10px 0 !important; }
    body { font-size: 12px; }
}

/* ── City Search Autocomplete ───────────────────────────────── */
.gbp-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
}
.gbp-search-dropdown li a {
    display: block;
    padding: 9px 14px;
    color: var(--dark);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.gbp-search-dropdown li a:hover,
.gbp-search-dropdown li.gbp-ac-active a {
    background: var(--gold-pale, #fffbf0);
    color: var(--gold-dark);
}

/* ── Price Chart ────────────────────────────────────────────── */
.gbp-chart-wrap { position: relative; margin-bottom: 24px; }
.gbp-chart-wrap canvas { max-height: 260px; }

/* ── Footer ─────────────────────────────────────────────────── */
.gbp-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 40px 0 0;
}
.gbp-footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gbp-footer-widget-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(218,165,32,0.3);
}
.gbp-footer p { font-size: 13.5px; margin-bottom: 8px; line-height: 1.6; }
.gbp-footer-links, .gbp-footer-city-links, .gbp-footer-state-links { list-style: none; }
.gbp-footer-links li, .gbp-footer-city-links li, .gbp-footer-state-links li { margin-bottom: 6px; }
.gbp-footer-links a, .gbp-footer-city-links a, .gbp-footer-state-links a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.gbp-footer-links a:hover, .gbp-footer-city-links a:hover, .gbp-footer-state-links a:hover { color: var(--gold-light); }

.gbp-footer-disclaimer {
    padding: 16px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gbp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.gbp-footer-nav ul { list-style: none; display: flex; gap: 16px; }
.gbp-footer-nav a { color: rgba(255,255,255,0.5); font-size: 13px; }
.gbp-footer-nav a:hover { color: var(--gold-light); }

/* ── Price Flash Animation ──────────────────────────────────── */
@keyframes gbp-flash {
    0%   { background: rgba(218,165,32,0.3); }
    100% { background: transparent; }
}
.gbp-price-flash { animation: gbp-flash 1.5s ease-out; }

/* ── Post Nav ───────────────────────────────────────────────── */
.gbp-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.gbp-post-nav a { font-size: 13.5px; color: var(--gold-dark); font-weight: 500; max-width: 45%; }

/* ── Pagination ─────────────────────────────────────────────── */
.gbp-pagination { margin-top: 24px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); font-family: var(--font); }
.page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 700; }
.page-numbers:hover { border-color: var(--gold); color: var(--gold-dark); background: #fffbea; }

/* ── Buttons ────────────────────────────────────────────────── */
.gbp-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: background var(--transition);
}
.gbp-btn:hover { background: var(--gold-dark); color: white; }

/* ── 404 Page ───────────────────────────────────────────────── */
.gbp-404-card { max-width: 600px; margin: 60px auto; }
.gbp-text-center { text-align: center; }
.gbp-404-icon { font-size: 64px; color: var(--gold); margin-bottom: 20px; }
.gbp-404-card h1 { font-size: 24px; margin-bottom: 12px; }
.gbp-404-search { margin: 24px 0; display: flex; justify-content: center; }
.gbp-404-search input { padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm) 0 0 var(--radius-sm); width: 300px; font-size: 14px; outline: none; font-family: var(--font); }
.gbp-404-search button { padding: 11px 18px; background: var(--gold); border: none; cursor: pointer; font-weight: 700; font-size: 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font); }
.gbp-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ── Index Items ────────────────────────────────────────────── */
.gbp-index-item { margin-bottom: 4px; }
.gbp-index-item h2 { font-size: 18px; margin-bottom: 4px; }
.gbp-divider { border: none; border-top: 1px solid var(--border-light); margin: 18px 0; }

/* ── Back to Top ────────────────────────────────────────────── */
#gbp-btt {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow);
    transition: background var(--transition), transform var(--transition);
}
#gbp-btt:hover { background: var(--gold-dark); color: white; transform: translateY(-2px); }

/* ── Misc ───────────────────────────────────────────────────── */
.gbp-view-all-link { font-size: 14px; color: var(--gold-dark); font-weight: 600; }
.gbp-city-list-table { min-width: 600px; }

/* ── Sticky Mobile Bottom Bar ───────────────────────────────── */
.gbp-mobile-bar {
    display: none; /* shown only on mobile via media query */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--dark);
    border-top: 2px solid var(--gold);
    padding: 8px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
.gbp-mobile-bar-prices {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.gbp-mobile-bar-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.gbp-mobile-bar-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gbp-mobile-bar-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--gold-light);
}
.gbp-mobile-bar-sep {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.15);
}
.gbp-mobile-bar-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.gbp-mobile-bar-btn {
    background: rgba(218,165,32,0.15);
    border: 1px solid rgba(218,165,32,0.4);
    color: var(--gold-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--transition);
}
.gbp-mobile-bar-btn:hover { background: var(--gold); color: var(--dark); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 1100px) {
    :root { --sidebar-w: 260px; }
    .gbp-hero-price-grid { grid-template-columns: repeat(2, 1fr); }
    .gbp-footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .gbp-city-rates-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .gbp-content-sidebar {
        grid-template-columns: 1fr;
    }
    .gbp-sidebar { position: static; }
    .gbp-city-summary-cards { grid-template-columns: repeat(2, 1fr); }
    .gbp-nearby-grid { grid-template-columns: repeat(3, 1fr); }
    .gbp-news-grid { grid-template-columns: repeat(2, 1fr); }
    .gbp-calc-grid { grid-template-columns: repeat(2, 1fr); }
    .gbp-mega-dropdown { min-width: 300px; columns: 2; }
}

@media (max-width: 768px) {
    .gbp-mobile-bar { display: flex; }
    .gbp-main { padding-bottom: 58px; }
    .gbp-nav-toggle { display: flex; }
    .gbp-header-search { display: none; }
    .gbp-nav { display: none; }
    .gbp-nav.gbp-nav-open { display: block; }
    .gbp-nav-menu { flex-direction: column; }
    .gbp-nav-item > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .gbp-dropdown { display: none !important; position: static; box-shadow: none; border: none; border-radius: 0; background: rgba(0,0,0,0.3); }
    .gbp-dropdown.gbp-dropdown-open { display: block !important; }
    .gbp-mega-dropdown { columns: 1; min-width: auto; }

    .gbp-hero-price-grid { grid-template-columns: repeat(2, 1fr); }
    .gbp-hero-title { font-size: 22px; }
    .gbp-hero-10g { font-size: 21px; }

    .gbp-city-rates-grid { grid-template-columns: repeat(2, 1fr); }
    .gbp-news-grid { grid-template-columns: 1fr; }
    .gbp-footer-widgets { grid-template-columns: 1fr 1fr; }

    .gbp-topbar-ticker { display: none; }
    .gbp-topbar-left { gap: 6px; }

    .gbp-news-list-item { grid-template-columns: 1fr; }

    .gbp-rate-table th, .gbp-rate-table td { padding: 8px 10px; font-size: 13px; }
}

@media (max-width: 480px) {
    .gbp-hero-price-grid { grid-template-columns: 1fr; }
    .gbp-city-summary-cards { grid-template-columns: 1fr 1fr; }
    .gbp-city-rates-grid { grid-template-columns: 1fr 1fr; }
    .gbp-nearby-grid { grid-template-columns: repeat(2, 1fr); }
    .gbp-footer-widgets { grid-template-columns: 1fr; }
    .gbp-calc-grid { grid-template-columns: 1fr; }
    .gbp-hero-title { font-size: 19px; }
    .gbp-conv-grid { grid-template-columns: repeat(2, 1fr); }

    /* Responsive table cards on mobile */
    .gbp-rate-table, .gbp-rate-table thead, .gbp-rate-table tbody,
    .gbp-rate-table th, .gbp-rate-table td, .gbp-rate-table tr {
        display: block;
    }
    .gbp-rate-table thead { display: none; }
    .gbp-rate-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        overflow: hidden;
    }
    .gbp-rate-table td {
        display: flex;
        justify-content: space-between;
        white-space: normal;
        font-size: 13.5px;
    }
    .gbp-rate-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 12px;
        flex-shrink: 0;
        margin-right: 8px;
    }
}

/* ─── Calculator Tool Grid ────────────────────────────────────────────────── */

.gbp-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.gbp-tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.gbp-tool-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(218,165,32,.15);
    transform: translateY(-2px);
    text-decoration: none;
}
.gbp-tool-icon {
    font-size: 28px;
    line-height: 1;
}
.gbp-tool-name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--dark);
}
.gbp-tool-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
}
.gbp-related-tools {
    margin-top: 24px;
}
.gbp-related-tools h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
}

/* Formula box */
.gbp-formula-box {
    background: #fdf6e3;
    border-left: 4px solid var(--gold);
    padding: 14px 18px;
    margin: 16px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px;
    color: var(--dark);
}

/* Hub quick rates bar */
.gbp-hub-quickrates {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--gold-dark, #1a1a2e);
    border-radius: var(--radius-sm);
    color: #e0c96e;
    font-size: 13.5px;
}
.gbp-hub-quickrates strong { color: #FFD700; }

/* Price direction classes used in return calc */
.gbp-up { color: var(--up-color); font-weight: 600; }
.gbp-down { color: var(--down-color); font-weight: 600; }

@media (max-width: 600px) {
    .gbp-tool-grid { grid-template-columns: 1fr 1fr; }
    .gbp-tool-card { padding: 14px 12px; }
    .gbp-tool-icon { font-size: 22px; }
    .gbp-hub-quickrates { flex-direction: column; gap: 8px; }
}

/* ── Rate Source / Manual Override Widget ────────────────────────────────── */
.gbp-rate-source {
    background: #f8f6ef;
    border: 1px solid #e8d89a;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13.5px;
}
.gbp-rs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.gbp-rs-label {
    font-weight: 600;
    color: var(--dark);
    margin-right: 4px;
}
.gbp-rs-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1.5px solid #d4b84a;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: var(--dark);
    transition: background .15s, color .15s, border-color .15s;
}
.gbp-rs-btn:hover { border-color: var(--gold); background: #fdf6e3; }
.gbp-rs-btn.active {
    background: var(--gold);
    color: #1a1a2e;
    border-color: var(--gold);
    font-weight: 700;
}
.gbp-rs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.gbp-rs-dot-live {
    background: #27ae60;
    box-shadow: 0 0 0 2px rgba(39,174,96,.25);
    animation: gbp-pulse 1.8s infinite;
}
.gbp-rs-live-area, .gbp-rs-manual-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e8d89a;
    flex-wrap: wrap;
}
.gbp-rs-live-price { font-size: 13px; color: var(--text); }
.gbp-rs-live-price strong { color: var(--dark); }
.gbp-rs-refresh { font-size: 11px; color: var(--text-muted); }
.gbp-rs-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}
.gbp-rs-field span {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.gbp-rs-field input {
    padding: 7px 10px;
    border: 1.5px solid #d4b84a;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    color: var(--dark);
    background: #fff;
    max-width: 200px;
}
.gbp-rs-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(218,165,32,.15);
}
.gbp-rate-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.gbp-rate-live { background: #e8f8ef; color: #1a7a40; border: 1px solid #a8e2bc; }
.gbp-rate-manual { background: #fff4e3; color: #8a5c00; border: 1px solid #f5d48a; }

/* Print styles */
@media print {
    .gbp-topbar, .gbp-header, .gbp-nav, .gbp-breadcrumb-bar,
    .gbp-sidebar, .gbp-footer, #gbp-btt, .gbp-ad-widget { display: none !important; }
    .gbp-content-sidebar { grid-template-columns: 1fr; }
    body { font-size: 12pt; }
    a::after { content: ' (' attr(href) ')'; }
}
