/*
Theme Name: Gold Rate Today Dubai
Theme URI: https://goldratetodaydubai.com
Author: Gold Rate Dubai
Author URI: https://goldratetodaydubai.com
Description: Professional gold rate website theme. Marquee topbar, live rates, responsive tables, gold calculator, Zakat calculator. Built for goldratetodaydubai.com
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goldratetodaydubai
Tags: gold, finance, calculator, responsive, custom-menu
*/

/* =============================================================
   CSS CUSTOM PROPERTIES
============================================================= */
:root {
  --gold:      #C9962A;
  --gold-l:    #F5D97E;
  --gold-m:    #E8C060;
  --gold-d:    #8B6914;
  --gold-bg:   #FBF7EE;
  --gold-br:   #E8DBBF;
  --dark:      #1A1209;
  --dark2:     #120B04;
  --dark3:     #0A0602;
  --text:      #2C2416;
  --muted:     #7A6E5C;
  --white:     #FFFDF7;
  --card:      #FFFEF9;
  --grn:       #1a7a3c;
  --grn-bg:    #e8f5ee;
  --red:       #c0392b;
  --red-bg:    #fdf0ee;
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      16px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
  --shadow-g:  0 4px 20px rgba(201,150,42,.18);
  --trans:     all .2s ease;
  --maxw:      1200px;
}

/* =============================================================
   RESET & BASE
============================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--white); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--gold-d); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--gold); }
ul   { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(26px, 5vw, 46px); }
h2 { font-size: clamp(20px, 3.5vw, 32px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); }
h4 { font-size: 18px; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =============================================================
   LAYOUT UTILITIES
============================================================= */
.wrap    { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.sec       { padding: 56px 0; }
.sec-sm    { padding: 36px 0; }
.sec-alt   { background: var(--gold-bg); border-top: 1px solid var(--gold-br); border-bottom: 1px solid var(--gold-br); }
.sec-dark  { background: var(--dark); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ga { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.flex-b { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.flex-c { display: flex; align-items: center; }
.flex-w { flex-wrap: wrap; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
.sec-lbl  { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 8px; display: block; font-family: 'DM Sans', sans-serif; }
.sec-ttl  { margin-bottom: 8px; }
.sec-dsc  { color: var(--muted); font-size: 15px; max-width: 600px; margin-bottom: 28px; }

/* =============================================================
   MARQUEE TOPBAR  — matches live site exactly
   Scrolling: 🥇 GOLD DUBAI LIVE · 24K: AED xxx/gram · ...
============================================================= */
.topbar-marquee {
  background: #1a1209;
  border-bottom: 1px solid #2e1f08;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 50s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  font-size: 13px;
  color: #C8B894;
  white-space: nowrap;
  border-right: 1px solid #2e1f08;
  height: 38px;
}
.mk-label { color: #8B7A5A; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.mk-val   { color: #F5D97E; font-weight: 700; font-size: 14px; }
.mk-unit  { color: #7A6A4A; font-size: 11px; }
.mk-up    { color: #2ECC71; font-weight: 700; }
.mk-dn    { color: #FF6B5B; font-weight: 700; }
.mk-icon  { font-size: 15px; }

/* =============================================================
   FOREX STRIP
============================================================= */
.fx-strip { background: #0F0A04; border-bottom: 1px solid #1A1006; padding: 8px 0; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.fx-inner { display: flex; gap: 20px; align-items: center; padding: 0 20px; min-width: max-content; }
.fx-item  { font-size: 13px; color: #A89470; }
.fx-item strong { color: #F5D97E; }
.fx-up  { color: #2ECC71; }
.fx-dn  { color: #FF6B5B; }

/* =============================================================
   NAVIGATION
============================================================= */
.sitenav {
  background: #fff;
  border-bottom: 2px solid var(--gold-br);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.nav-in {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, #C9962A 0%, #F5D97E 100%); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.logo-t { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--dark); font-weight: 700; line-height: 1.2; }
.logo-s { font-size: 10px; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-menu > li { position: relative; }
.nav-menu a { display: block; padding: 8px 11px; font-size: 13.5px; font-weight: 500; color: var(--text); border-radius: var(--r-sm); white-space: nowrap; transition: var(--trans); text-decoration: none; }
.nav-menu a:hover { background: var(--gold-bg); color: var(--gold-d); }
.nav-menu .has-dd > a::after { content: " \25BE"; font-size: 10px; color: var(--muted); }
.dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-md); min-width: 210px; box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 6px; z-index: 300; }
.has-dd:hover .dropdown { display: block; }
.dropdown a { font-size: 13px; padding: 9px 14px; border-radius: 6px; display: block; }
.dropdown a:hover { background: var(--gold-bg); color: var(--gold-d); }
.nav-cta { background: var(--gold) !important; color: #fff !important; padding: 9px 18px !important; border-radius: 20px !important; font-weight: 600 !important; margin-left: 8px; }
.nav-cta:hover { background: var(--gold-d) !important; color: #fff !important; }
.nav-tog { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--dark); padding: 4px 8px; line-height: 1; }
/* Mobile menu */
.mob-menu { display: none; position: fixed; inset: 0; background: rgba(15,10,4,.97); z-index: 1000; overflow-y: auto; flex-direction: column; }
.mob-menu.open { display: flex; }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(201,150,42,.15); }
.mob-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; padding: 4px; line-height: 1; }
.mob-rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 16px 20px; }
.mob-rc { background: rgba(255,255,255,.05); border: 1px solid rgba(201,150,42,.15); border-radius: 8px; padding: 12px; text-align: center; }
.mob-rc-k { font-size: 10px; color: #8B7A5A; text-transform: uppercase; margin-bottom: 4px; }
.mob-rc-v { font-family: 'Playfair Display', serif; font-size: 18px; color: #F5D97E; font-weight: 700; }
.mob-rc-u { font-size: 10px; color: #5A4E3A; }
.mob-nav { padding: 8px 20px 24px; }
.mob-nav .sub-lbl { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 18px 0 6px; font-weight: 600; display: block; }
.mob-nav a { display: block; color: #C8B894; font-size: 16px; padding: 11px 0; border-bottom: 1px solid rgba(201,150,42,.08); text-decoration: none; }
.mob-nav .sub a { font-size: 14px; padding: 9px 0 9px 14px; }
.mob-nav a:hover { color: #F5D97E; }

/* =============================================================
   HERO — dark background matching current live site
============================================================= */
.hero {
  background: linear-gradient(180deg, #1C1208 0%, #120B04 50%, #0A0602 100%);
  padding: 52px 20px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,150,42,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-in { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(201,150,42,.12); border: 1px solid rgba(201,150,42,.25); border-radius: 30px; padding: 7px 16px; font-size: 12px; color: #E8D090; margin-bottom: 22px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; animation: livepulse 2s infinite; flex-shrink: 0; display: inline-block; }
@keyframes livepulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { color: #F5D97E; font-style: italic; }
.hero-sub { color: #B0946A; font-size: 15px; font-weight: 300; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-sub strong { color: #D4B070; font-weight: 500; }
/* Hero rate cards */
.hero-rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 740px; margin: 0 auto 36px; }
.hrc { background: rgba(255,255,255,.04); border: 1px solid rgba(201,150,42,.2); border-radius: 12px; padding: 18px 12px; text-align: center; transition: var(--trans); }
.hrc:hover { border-color: rgba(201,150,42,.45); background: rgba(201,150,42,.08); }
.hrc.feat { background: rgba(201,150,42,.14); border: 1.5px solid rgba(201,150,42,.5); box-shadow: 0 4px 24px rgba(201,150,42,.15); }
.hrc-star { font-size: 13px; margin-bottom: 4px; color: #C9962A; }
.hrc-k    { font-size: 11px; color: #9A8460; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 6px; }
.hrc-p    { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.8vw, 28px); color: #fff; font-weight: 700; line-height: 1; }
.hrc.feat .hrc-p { color: #F5D97E; }
.hrc-aed  { font-size: 11px; color: #6A5A40; margin-top: 4px; }
.hrc-chg  { font-size: 12px; margin-top: 6px; font-weight: 500; }
.rate-up  { color: #2ECC71; }
.rate-dn  { color: #FF6B5B; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-src  { font-size: 12px; color: #4A3A20; }
.hero-src span { color: #7A6040; }

/* =============================================================
   BUTTONS
============================================================= */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: var(--trans); border: none; cursor: pointer; text-decoration: none; line-height: 1; }
.btn-gold    { background: var(--gold); color: #fff; }
.btn-gold:hover    { background: var(--gold-d); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-g); }
.btn-outline { background: transparent; color: #D4B070; border: 1px solid rgba(201,150,42,.35); }
.btn-outline:hover { background: rgba(201,150,42,.1); border-color: var(--gold); color: #F5D97E; }
.btn-green   { background: #27AE60; color: #fff; }
.btn-green:hover   { background: #1E8449; color: #fff; }
.btn-ghost   { background: transparent; color: var(--gold-d); border: 1px solid var(--gold-br); }
.btn-ghost:hover   { background: var(--gold-bg); color: var(--gold-d); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================================
   RATE TABLES — FULLY RESPONSIVE
============================================================= */
.tbl-outer {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-br) transparent;
}
.tbl-outer::-webkit-scrollbar { height: 4px; }
.tbl-outer::-webkit-scrollbar-thumb { background: var(--gold-br); border-radius: 4px; }
.grd-tbl {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.grd-tbl th {
  background: var(--dark);
  color: #F5D97E;
  font-size: 12px;
  font-weight: 500;
  padding: 13px 16px;
  text-align: left;
  letter-spacing: .3px;
  white-space: nowrap;
}
.grd-tbl td { padding: 13px 16px; border-bottom: 1px solid #F5EDD8; vertical-align: middle; white-space: nowrap; }
.grd-tbl tbody tr:last-child td { border-bottom: none; }
.grd-tbl tbody tr:hover td { background: #FFFBF0; }
.price-main { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--dark); }
.kp { display: inline-flex; align-items: center; gap: 7px; }
.kd { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.d24 { background: #C9962A; }
.d22 { background: #B8860B; }
.d21 { background: #8B6914; }
.d18 { background: #6B5A3E; }
.d14 { background: #8B7355; }
.ch-up { color: var(--grn); font-weight: 600; font-size: 13px; }
.ch-dn { color: var(--red); font-weight: 600; font-size: 13px; }
.src-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
/* Responsive hide columns progressively */
@media (max-width: 700px) {
  .grd-tbl .col-oz,
  .grd-tbl .col-kg { display: none; }
  .grd-tbl td, .grd-tbl th { padding: 11px 12px; }
  .price-main { font-size: 17px; }
}
@media (max-width: 500px) {
  .grd-tbl .col-tola { display: none; }
  .grd-tbl { min-width: 320px; }
}

/* =============================================================
   CARDS
============================================================= */
.card     { background: var(--card); border: 1px solid var(--gold-br); border-radius: var(--r-lg); padding: 24px; }
.card-sm  { padding: 16px; border-radius: var(--r-md); }
.card-hov { transition: var(--trans); }
.card-hov:hover { border-color: var(--gold); box-shadow: var(--shadow-g); transform: translateY(-2px); }
.stat-card { background: var(--gold-bg); border-radius: var(--r-md); padding: 16px; text-align: center; }
.stat-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--dark); }

/* =============================================================
   FORMS
============================================================= */
.f-lbl { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.f-inp { width: 100%; padding: 11px 14px; font-size: 15px; border: 1.5px solid var(--gold-br); border-radius: 8px; background: #fff; color: var(--text); transition: var(--trans); -webkit-appearance: none; appearance: none; }
select.f-inp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E5C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.f-inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,150,42,.12); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-grp { margin-bottom: 16px; }
.cb-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; cursor: pointer; }
.cb-row input { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.calc-res { background: linear-gradient(135deg, #120B04 0%, #1C1208 100%); border-radius: var(--r-md); padding: 20px; border: 1px solid rgba(201,150,42,.2); margin-top: 4px; }
.cr-lbl { font-size: 12px; color: #8B7A5A; margin-bottom: 4px; }
.cr-val { font-family: 'Playfair Display', serif; font-size: 32px; color: #F5D97E; font-weight: 700; }
.cr-sub { font-size: 12px; color: #6B5E44; margin-top: 8px; line-height: 1.5; }

/* =============================================================
   GCC / COUNTRY CARDS
============================================================= */
.gcc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.gcc-card { padding: 18px; display: block; color: inherit; text-decoration: none; }
.gcc-feat { border-color: var(--gold) !important; box-shadow: var(--shadow-g) !important; }
.gcc-flag { font-size: 30px; margin-bottom: 10px; }
.gcc-nm   { font-weight: 600; font-size: 14px; color: var(--dark); margin-bottom: 2px; }
.gcc-cur  { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.gcc-rate { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold-d); font-weight: 700; }
.gcc-rl   { font-size: 11px; color: var(--muted); }
.gcc-note { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* =============================================================
   FAQ ACCORDION
============================================================= */
.faq-item { background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-md); overflow: hidden; margin-bottom: 8px; }
.faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; line-height: 1.4; }
.faq-icon { font-size: 20px; color: var(--gold); flex-shrink: 0; transition: transform .25s; font-weight: 300; }
.faq-btn.open .faq-icon { transform: rotate(45deg); }
.faq-body { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--gold-br); }
.faq-body.open { display: block; }
.faq-body a { color: var(--gold-d); }

/* =============================================================
   NEWS / BLOG CARDS
============================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nc { display: block; color: inherit; background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-lg); overflow: hidden; transition: var(--trans); text-decoration: none; }
.nc:hover { border-color: var(--gold); box-shadow: var(--shadow-g); transform: translateY(-2px); }
.nc-img  { height: 140px; background: var(--gold-bg); display: flex; align-items: center; justify-content: center; font-size: 44px; }
.nc-body { padding: 16px; }
.nc-tag  { display: inline-block; font-size: 11px; background: var(--gold-bg); color: var(--gold-d); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.nc-ttl  { font-weight: 600; font-size: 15px; margin: 10px 0 6px; color: var(--dark); line-height: 1.4; font-family: inherit; }
.nc-dt   { font-size: 12px; color: var(--muted); }

/* =============================================================
   BREADCRUMB
============================================================= */
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 14px 0; }
.breadcrumb a { color: var(--gold-d); }
.breadcrumb a:hover { color: var(--gold); }
.bc-sep { color: var(--gold); margin: 0 2px; }

/* =============================================================
   PAGE HERO (inner pages)
============================================================= */
.pg-hero { background: linear-gradient(160deg, #1C1208 0%, #0F0A04 100%); padding: 40px 20px 44px; }
.pg-hero h1 { color: #fff; font-size: clamp(22px, 4vw, 36px); margin-bottom: 8px; }
.pg-hero p  { color: #C8B894; font-size: 15px; max-width: 600px; margin: 0; }
.rate-pill  { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,150,42,.15); border: 1px solid rgba(201,150,42,.3); border-radius: 20px; padding: 6px 14px; font-size: 13px; color: #F5D97E; margin-top: 14px; }

/* =============================================================
   CHART
============================================================= */
.chart-wrap { background: #fff; border: 1px solid var(--gold-br); border-radius: var(--r-lg); padding: 24px; }
.chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.chart-canvas-wrap { position: relative; width: 100%; }
canvas.grd-chart { display: block; width: 100% !important; height: 260px !important; }

/* =============================================================
   ZAKAT BANNER
============================================================= */
.zakat-ban { background: linear-gradient(135deg, #0A2818 0%, #143D22 100%); border-radius: var(--r-lg); padding: 36px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; border: 1px solid rgba(39,174,96,.2); }
.zk-txt h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; margin-bottom: 8px; }
.zk-txt p  { color: #9BCDB0; font-size: 14px; margin-bottom: 18px; }
.zk-stats  { display: flex; gap: 24px; flex-wrap: wrap; }
.zk-sl { font-size: 10px; color: #6BAF88; text-transform: uppercase; letter-spacing: .8px; }
.zk-sv { font-family: 'Playfair Display', serif; font-size: 19px; color: #fff; font-weight: 700; }

/* =============================================================
   TRUST BAR
============================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.ti-icon { font-size: 28px; margin-bottom: 8px; }
.ti-ttl  { color: #F5D97E; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ti-dsc  { color: #6B5E44; font-size: 13px; }

/* =============================================================
   CONTENT PAGES (legal, info, about)
============================================================= */
.content-body h2 { font-size: 22px; margin: 30px 0 12px; }
.content-body h3 { font-size: 18px; margin: 22px 0 10px; }
.content-body p  { font-size: 15px; margin-bottom: 14px; line-height: 1.75; }
.content-body ul, .content-body ol { margin: 0 0 16px 20px; }
.content-body li { font-size: 15px; margin-bottom: 6px; line-height: 1.65; list-style: disc; }
.content-body .tbl-outer { margin: 20px 0; }
.content-body table { width: 100%; min-width: 380px; font-size: 14px; border-collapse: collapse; }
.content-body table th { background: var(--gold-bg); padding: 10px 14px; font-weight: 600; border: 1px solid var(--gold-br); text-align: left; white-space: nowrap; }
.content-body table td { padding: 10px 14px; border: 1px solid var(--gold-br); }
.content-body table tr:nth-child(even) td { background: #FFFBF3; }
.info-box { background: var(--gold-bg); border-left: 4px solid var(--gold); padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.info-box p { margin: 0; font-size: 14px; }

/* =============================================================
   FOOTER
============================================================= */
.footer { background: #0F0A04; color: #7A6E5C; padding: 56px 0 32px; border-top: 1px solid #1A1006; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ft-brand h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: #F5D97E; margin-bottom: 10px; }
.ft-brand p  { font-size: 13px; color: #5A4E3A; line-height: 1.7; }
.ft-col h4   { color: #F5D97E; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.ft-col a    { display: block; color: #5A4E3A; font-size: 13px; margin-bottom: 8px; transition: var(--trans); }
.ft-col a:hover { color: #F5D97E; }
.ft-bot { border-top: 1px solid #1A1006; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #3A3020; }
.ft-bot a { color: #4A3E2A; }
.ft-bot a:hover { color: #F5D97E; }
.ft-social { display: flex; gap: 10px; margin-top: 14px; }
.ft-social a { color: #5A4E3A; font-size: 13px; background: rgba(201,150,42,.08); padding: 6px 12px; border-radius: 6px; }
.ft-social a:hover { color: #F5D97E; background: rgba(201,150,42,.18); }

/* =============================================================
   RESPONSIVE BREAKPOINTS
============================================================= */
@media (max-width: 1024px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .g2 { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero-rates { grid-template-columns: repeat(2, 1fr); }
  .chart-stats { grid-template-columns: repeat(2, 1fr); }
  .gcc-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu  { display: none; }
  .nav-tog   { display: block; }
  .hero      { padding: 40px 16px 52px; }
  .hero-rates { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sec       { padding: 40px 0; }
  .ft-grid   { grid-template-columns: 1fr; gap: 24px; }
  .g3        { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .f-row     { grid-template-columns: 1fr; }
  .zakat-ban { padding: 24px; gap: 20px; }
  .pg-hero   { padding: 32px 16px 36px; }
}
@media (max-width: 640px) {
  .gcc-grid   { grid-template-columns: repeat(2, 1fr); }
  .chart-stats { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hrc-p  { font-size: 18px; }
  .g4     { grid-template-columns: 1fr 1fr; }
  .gcc-grid { grid-template-columns: 1fr 1fr; }
}
@media print {
  .topbar-marquee, .fx-strip, .sitenav, .footer, .hero-btns, .mob-menu { display: none; }
  .hero { padding: 16px; }
  body { background: #fff; color: #000; }
}

/* =============================================================
   KARAT PAGE SPECIFIC RESPONSIVE
============================================================= */
.karat-hero-stats {
  grid-template-columns: repeat(3,1fr);
}
@media (max-width: 600px) {
  .karat-hero-stats {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

/* Meta info strip wrap on mobile */
@media (max-width: 640px) {
  .pg-hero .rate-pill { font-size: 12px; padding: 5px 12px; }
  .sec-lbl { font-size: 11px; }
}

/* Fix: calculator grid on mobile */
@media (max-width: 480px) {
  .f-row { grid-template-columns: 1fr; }
  .calc-res .cr-val { font-size: 24px; }
  .zakat-ban { flex-direction: column; gap: 16px; padding: 20px; }
  .zk-stats  { gap: 16px; }
  .chart-stats { grid-template-columns: 1fr 1fr; }
}

/* Fix: tables don't break layouts */
.tbl-outer { display: block; }
.grd-tbl   { display: table; }

/* Fix: card grid on mobile */
@media (max-width: 480px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .gcc-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

/* Fix: footer on very small screens */
@media (max-width: 400px) {
  .ft-bot { flex-direction: column; text-align: center; gap: 8px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
}

/* Ensure tbl-outer doesn't hide on mobile */
@media (max-width: 480px) {
  .tbl-outer { overflow-x: auto; }
  .grd-tbl   { min-width: 300px; }
}

/* Fix price-main on very small screens */
@media (max-width: 360px) {
  .price-main { font-size: 15px; }
  .grd-tbl th, .grd-tbl td { padding: 9px 8px; font-size: 12px; }
}

/* Fix btn-ghost color (was missing) */
.btn-ghost {
  background: transparent;
  color: var(--gold-d);
  border: 1px solid var(--gold-br);
}
.btn-ghost:hover {
  background: var(--gold-bg);
  color: var(--gold-d);
}

/* =============================================================
   SINGLE POST / BLOG PAGE RESPONSIVE
============================================================= */
@media (max-width: 768px) {
  .single-sidebar { display: none; }
}

/* =============================================================
   GCC / CURRENCY / CITY PAGE RESPONSIVE
============================================================= */
@media (max-width: 600px) {
  .gcc-grid { grid-template-columns: 1fr; }
}
