:root {
  --steel: #263238;
  --steel-dark: #1a2327;
  --steel-light: #455a64;
  --orange: #f57c00;
  --orange-dark: #d96b00;
  --bg: #f4f5f6;
  --card: #ffffff;
  --gray-300: #dfe3e6;
  --text: #263238;
  --text-light: #607078;
  --green: #2e7d32;
  --red: #c62828;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--steel);
  color: #fff;
  padding: 16px 0;
  border-bottom: 4px solid var(--orange);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  text-transform: uppercase;
}
.brand span { color: var(--orange); }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a {
  color: #dbe3e6;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color .15s;
}
.main-nav a:hover { color: var(--orange); }
.cart-badge {
  background: var(--orange);
  color: #1a2327;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Category bar */
.category-bar {
  background: var(--steel-light);
  overflow-x: auto;
  white-space: nowrap;
}
.category-bar .container { display: flex; gap: 4px; padding-top: 0; padding-bottom: 0; }
.category-bar a {
  display: inline-block;
  color: #eef2f3;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.category-bar a:hover, .category-bar a.active { border-bottom-color: var(--orange); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--steel) 0%, var(--steel-light) 100%);
  color: #fff;
  padding: 42px 0;
}
.hero h1 { margin: 0 0 8px; font-size: 2rem; }
.hero p { margin: 0; font-size: 1rem; opacity: 0.9; max-width: 560px; }

/* Section titles */
.section-title {
  font-size: 1.3rem;
  margin: 32px 0 16px;
  color: var(--steel);
  border-left: 5px solid var(--orange);
  padding-left: 12px;
  font-weight: 700;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(38,50,56,0.12); }
.product-card img { width: 100%; height: 160px; object-fit: contain; background: #fafbfb; padding: 10px; }
.product-card .body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { margin: 0; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.category-tag { font-size: 0.72rem; color: var(--orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.price { font-weight: 800; color: var(--steel); font-size: 1.05rem; }
.stock-note { font-size: 0.78rem; color: var(--text-light); }

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  transition: opacity .15s;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-secondary { background: var(--steel); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--steel); color: var(--steel); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-danger { background: var(--red); color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Forms */
.form-group { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.88rem; color: var(--steel); }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}
textarea { resize: vertical; min-height: 90px; }
.error-text { color: var(--red); font-size: 0.82rem; margin-top: 4px; }
.radio-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.radio-row label { font-weight: 500; margin: 0; display: flex; align-items: center; gap: 6px; color: var(--text); }
.help-text { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #e8f5e9; color: var(--green); border: 1px solid #c3e6c5; }
.alert-error { background: #fdecea; color: var(--red); border: 1px solid #f5c6c2; }
.alert-info { background: #fff3e0; color: var(--orange-dark); border: 1px solid #ffe0b2; }

/* Cards / tables */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  padding: 22px;
  margin-bottom: 22px;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gray-300); font-size: 0.9rem; }
th { color: var(--text-light); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.badge-pending { background: #fff3e0; color: #b6791a; }
.badge-processing { background: #e3f2fd; color: #1565c0; }
.badge-delivered { background: #e8f5e9; color: var(--green); }
.badge-cancelled { background: #fdecea; color: var(--red); }
.badge-unpaid { background: #fdecea; color: var(--red); }
.badge-paid { background: #e8f5e9; color: var(--green); }
.badge-active { background: #e8f5e9; color: var(--green); }
.badge-inactive { background: #eceff1; color: var(--text-light); }

/* Footer */
.site-footer {
  background: var(--steel-dark);
  color: #c7d0d3;
  padding: 30px 0;
  margin-top: 50px;
  font-size: 0.88rem;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--orange); }
.license-note { opacity: 0.65; font-size: 0.76rem; margin-top: 6px; }

/* Admin layout */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 225px;
  background: var(--steel-dark);
  color: #cdd6d9;
  padding: 22px 0;
  flex-shrink: 0;
}
.admin-sidebar .brand { padding: 0 22px 22px; display: block; font-size: 1.25rem; }
.admin-sidebar nav a {
  display: block;
  padding: 10px 22px;
  color: #c7d0d3;
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,0.08); color: #fff; border-left: 3px solid var(--orange); }
.admin-main { flex: 1; padding: 28px; background: var(--bg); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 18px; }
.stat-card .value { font-size: 1.5rem; font-weight: 800; color: var(--orange-dark); }
.stat-card .label { font-size: 0.82rem; color: var(--text-light); }
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.login-box { width: 100%; max-width: 380px; }
.thumb-sm { width: 46px; height: 46px; object-fit: contain; border-radius: 6px; background: #fafbfb; border: 1px solid var(--gray-300); }
.pagination { margin-top: 16px; }
.pagination nav { display: flex; gap: 6px; flex-wrap: wrap; }
.ref-photo-note { font-size: 0.78rem; color: var(--text-light); background: #fff3e0; border: 1px dashed #ffcc80; padding: 8px 10px; border-radius: 6px; margin-bottom: 12px; }
.toggle-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.toggle-row input { width: auto; }

/* ===== Pagination fix ===== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}
.pagination a,
.pagination span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.pagination a:hover {
    background: #f8fafc;
    border-color: #d1d5db;
}
.pagination span[aria-current="page"] {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}
.pagination svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle;
}
.pagination a[rel="prev"],
.pagination a[rel="next"] {
    font-size: 14px;
}

/* ===== Hero slider ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    min-height: 320px;
}
.hero-slider .slides {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}
.hero-slider .slide {
    min-width: 100%;
    min-height: 320px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}
.hero-slider .slide h1 {
    font-size: clamp(24px, 4vw, 44px);
    margin: 0 0 12px;
    max-width: 900px;
    line-height: 1.15;
}
.hero-slider .slide p {
    font-size: clamp(14px, 1.5vw, 18px);
    margin: 0 0 24px;
    max-width: 700px;
    opacity: 0.92;
}
.hero-slider .slide-1 { background: linear-gradient(135deg, #ffffff 0%, #334155 100%); }
.hero-slider .slide-2 { background: linear-gradient(135deg, #0369a1 0%, #c2410c 100%); }
.hero-slider .slide-3 { background: linear-gradient(135deg, #0f766e 0%, #115e59 100%); }

.hero-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    font-size: 26px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.hero-slider .slider-nav:hover { background: rgba(0,0,0,0.7); }
.hero-slider .slider-nav.prev { left: 16px; }
.hero-slider .slider-nav.next { right: 16px; }

.hero-slider .slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-slider .slider-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.hero-slider .slider-dots button.active {
    background: #fff;
    transform: scale(1.2);
}
@media (max-width: 600px) {
    .hero-slider,
    .hero-slider .slide { min-height: 260px; }
    .hero-slider .slide { padding: 40px 16px; }
    .hero-slider .slider-nav { width: 36px; height: 36px; font-size: 20px; }
    .hero-slider .slider-nav.prev { left: 8px; }
    .hero-slider .slider-nav.next { right: 8px; }
}

/* ===== Simple pagination: Previous / Next only ===== */
.pagination nav {
    display: block;
    margin: 30px 0;
}
/* Hide the numbered desktop row */
.pagination nav > div:nth-child(2) {
    display: none !important;
}
/* Show and style the mobile Previous/Next row on all sizes */
.pagination nav > div:first-child {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
}
.pagination nav > div:first-child > span,
.pagination nav > div:first-child > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.pagination nav > div:first-child > a:hover {
    background: #f8fafc;
    border-color: #d1d5db;
}
.pagination nav > div:first-child > span {
    opacity: 0.45;
    cursor: not-allowed;
}
.pagination nav > div:first-child svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

/* ===== Category icons (home) ===== */
.category-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 20px 0 30px;
}
.category-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    width: 140px;
    transition: transform 0.2s;
}
.category-icon-link:hover { transform: translateY(-4px); }
.category-icon-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #0284c7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.category-icon-link:hover .category-icon-circle {
    border-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.category-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.category-icon-letter {
    font-size: 44px;
    font-weight: 900;
    color: #0284c7;
    line-height: 1;
}
.category-icon-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}
.category-icon-count {
    font-size: 12px;
    color: #6b7280;
}
@media (max-width: 600px) {
    .category-icons { gap: 16px; }
    .category-icon-link { width: 105px; }
    .category-icon-circle { width: 84px; height: 84px; }
    .category-icon-letter { font-size: 32px; }
    .category-icon-label { font-size: 12px; }
}

/* ============================================================
   FINAL OVERRIDES — Hero slider, category icons, pagination
   ============================================================ */

/* ----- Hero slider ----- */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.hero-slider .slides {
    display: flex;
    transition: transform 0.6s ease;
}
.hero-slider .slide {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 340px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}
.hero-slider .slide h1 {
    font-size: clamp(24px, 4vw, 44px);
    margin: 0 0 14px;
    max-width: 900px;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-slider .slide p {
    font-size: clamp(14px, 1.5vw, 18px);
    margin: 0 0 26px;
    max-width: 720px;
    opacity: 0.95;
    color: #fff;
}
.hero-slider .slide .btn {
    background: #fff;
    color: #0369a1;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
}
.hero-slider .slide .btn:hover { background: #f8fafc; }

.hero-slider .slide-1 { background: linear-gradient(135deg, #ffffff 0%, #334155 100%); }
.hero-slider .slide-2 { background: linear-gradient(135deg, #0369a1 0%, #c2410c 100%); }
.hero-slider .slide-3 { background: linear-gradient(135deg, #0f766e 0%, #115e59 100%); }

.hero-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: 0;
    width: 46px;
    height: 46px;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: sans-serif;
}
.hero-slider .slider-nav:hover { background: rgba(0,0,0,0.7); }
.hero-slider .slider-nav.prev { left: 16px; }
.hero-slider .slider-nav.next { right: 16px; }

.hero-slider .slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-slider .slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.hero-slider .slider-dots button.active {
    background: #fff;
    transform: scale(1.25);
}
@media (max-width: 600px) {
    .hero-slider .slide { min-height: 260px; padding: 40px 16px; }
    .hero-slider .slider-nav { width: 36px; height: 36px; font-size: 20px; }
    .hero-slider .slider-nav.prev { left: 8px; }
    .hero-slider .slider-nav.next { right: 8px; }
}

/* ----- Category icons ----- */
.category-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 20px 0 30px;
}
.category-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    width: 140px;
    transition: transform 0.2s;
}
.category-icon-link:hover { transform: translateY(-4px); }
.category-icon-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #0284c7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.category-icon-link:hover .category-icon-circle {
    border-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.category-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.category-icon-letter {
    font-size: 44px;
    font-weight: 900;
    color: #0284c7;
    line-height: 1;
}
.category-icon-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}
.category-icon-count {
    font-size: 12px;
    color: #6b7280;
}
@media (max-width: 600px) {
    .category-icons { gap: 16px; }
    .category-icon-link { width: 105px; }
    .category-icon-circle { width: 84px; height: 84px; }
    .category-icon-letter { font-size: 32px; }
    .category-icon-label { font-size: 12px; }
}

/* ----- Pagination: Previous/Next only ----- */
.pagination nav { display: block; margin: 30px 0; }
.pagination nav > div:nth-child(2) { display: none !important; }
.pagination nav > div:first-child {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
}
.pagination nav > div:first-child > span,
.pagination nav > div:first-child > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.pagination nav > div:first-child > a:hover {
    background: #f8fafc;
    border-color: #d1d5db;
}
.pagination nav > div:first-child > span { opacity: 0.45; cursor: not-allowed; }
.pagination nav > div:first-child svg {
    width: 16px !important;
    height: 16px !important;
}

/* ===== Image-based slider slides ===== */
.hero-slider .slide.slide-image {
    padding: 0;
    min-height: 400px;
    background: #e5e7eb;
    display: block;
}
.hero-slider .slide.slide-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 768px) {
    .hero-slider .slide.slide-image,
    .hero-slider .slide.slide-image img {
        min-height: 260px;
    }
}

/* ===== FIXED HEIGHT slider (override earlier rules) ===== */
.hero-slider {
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
    overflow: hidden;
    position: relative;
}
.hero-slider .slides {
    height: 100% !important;
    display: flex;
}
.hero-slider .slide,
.hero-slider .slide.slide-image,
.hero-slider .slide.slide-1,
.hero-slider .slide.slide-2,
.hero-slider .slide.slide-3 {
    min-height: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    flex: 0 0 100%;
    position: relative;
}
.hero-slider .slide img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}
@media (max-width: 768px) {
    .hero-slider {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
}
@media (max-width: 480px) {
    .hero-slider {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
}

/* =========================================
   SHAFI TRADERS - PROFESSIONAL CORPORATE THEME
   ========================================= */

:root {
    /* Change the orange accents to match the blue logo */
    --orange: #0284c7 !important; 
    --orange-dark: #0369a1 !important;
}

/* 1. Header Background & Text (Clean White) */
.site-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
}
.site-header .brand, 
.site-header .main-nav a {
    color: #ffffff !important; /* Dark Slate text */
}
.site-header .brand span {
    color: var(--orange) !important; /* "Traders" text becomes Blue */
}

/* 2. Category Bar (Light Gray) */
.category-bar {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.category-bar a {
    color: #475569 !important;
}
.category-bar a:hover, 
.category-bar a.active {
    color: var(--orange) !important;
    border-bottom-color: var(--orange) !important;
}

/* 3. Footer (Deep Navy for a grounded look) */
.site-footer {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    border-top: none !important;
}
.site-footer strong, 
.site-footer a {
    color: #ffffff !important;
}

/* =========================================
   SHAFI TRADERS - SEMI-HARD INDUSTRIAL THEME
   ========================================= */

:root {
    /* Keep the blue accent to match the logo */
    --orange: #0284c7 !important;
    --orange-dark: #0369a1 !important;
}

/* 1. Header Background (Deep Slate) */
.site-header {
    background-color: #1e293b !important;
    border-bottom: 1px solid #0f172a !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}
.site-header .brand,
.site-header .main-nav a {
    color: #f8fafc !important; /* White text for contrast */
}
.site-header .brand span {
    color: var(--orange) !important; /* "Traders" text stays Blue */
}

/* 2. Category Bar (Medium Slate for contrast) */
.category-bar {
    background-color: #334155 !important; 
    border-bottom: 1px solid #1e293b !important;
}
.category-bar a {
    color: #cbd5e1 !important;
}
.category-bar a:hover,
.category-bar a.active {
    color: #ffffff !important;
    border-bottom-color: var(--orange) !important;
}

/* 3. Footer (Very Dark Slate) */
.site-footer {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    border-top: none !important;
}
.site-footer strong,
.site-footer a {
    color: #ffffff !important;
}

/* 4. Subtle Body Background */
body {
    background-color: #f1f5f9 !important;
}
