/*
Theme Name: Hashir Rice Directory
Theme URI: https://hashirricedirectory.com/
Author: Muhammad Amir Shahzad
Author URI: https://hashirricedirectory.com/about/
Description: Final International B2B Rice Trade & Directory WordPress Theme (v3.0.0). Features Auto-Seeded 6 Verified Pakistan Rice Lots, Frontend Post Free Ad Modal, Interactive Weekly Trade Price Trend Chart, 250g-500g Sample Request System ($5 EasyPaisa), Featured Ads Spotlight, and 100% Free Unlimited Access via Google Account Sign-In.
Version: 3.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hashir-rice
Tags: b2b, directory, rice-mills, trade-rates, featured-ads, schema-org, subdomain-ready
*/

:root {
  --primary-red: #d32323;
  --primary-dark: #1d2327;
  --accent-gold: #f59e0b;
  --accent-emerald: #059669;
  --bg-slate: #f5f5f5;
  --text-main: #171717;
}

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

html, body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-slate);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.hashir-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Native Fallback Utility Classes (works even before Tailwind CDN loads) */
.hashir-top-bar {
  background-color: #111827;
  color: #ffffff;
  font-size: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid #1f2937;
}
.hashir-site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.hashir-btn-red {
  background-color: #dc2626;
  color: #ffffff !important;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.hashir-btn-red:hover {
  background-color: #b91c1c;
}
.hashir-btn-green {
  background-color: #059669;
  color: #ffffff !important;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.hashir-btn-amber {
  background-color: #f59e0b;
  color: #111827 !important;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.hashir-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .hashir-container {
    padding: 0 12px;
  }
  .hashir-rate-pkr {
    font-size: 1rem;
  }
}

/* Featured Ads Golden Spotlight */
.hashir-featured-card {
  border: 2px solid var(--accent-gold);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hashir-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.25);
}

.hashir-featured-badge {
  background-color: #b45309;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Tabular Numerals for Trade Rates */
.hashir-rate-pkr {
  color: var(--primary-red);
  font-weight: 900;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.hashir-rate-usd {
  background-color: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
