/* ============================================================
   DIESEL PARTS SHOP — Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --dark-3:     #222222;
  --dark-4:     #2a2a2a;
  --orange:     #e8720c;
  --orange-2:   #ff8c2a;
  --orange-glow:#e8720c33;
  --white:      #f5f5f5;
  --gray:       #999999;
  --gray-2:     #666666;
  --border:     #2e2e2e;
  --font-sans:  'Inter', 'Barlow', system-ui, sans-serif;
  --font-display:'Barlow Condensed', 'Inter', sans-serif;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-orange: 0 4px 32px rgba(232,114,12,0.18);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-2); }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { color: #c0c0c0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  font-family: var(--font-display);
}
.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.site-logo .logo-text span { color: var(--orange); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  color: #bbb;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s;
}
.site-nav a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover {
  background: var(--orange-2) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0f00 50%, #0a0a0a 100%);
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.25;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 40%, rgba(10,10,10,0.3) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-glow);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,114,12,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 500;
}
.trust-item .ti-icon {
  font-size: 1.2rem;
  color: var(--orange);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-heading .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-heading h2 { color: var(--white); margin-bottom: 14px; }
.section-heading p  { color: var(--gray); max-width: 540px; margin: 0 auto; font-size: 1rem; }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.categories { background: var(--dark); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  cursor: pointer;
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}
.cat-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--dark-3);
}
.cat-card-img-placeholder {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.cat-card-body {
  padding: 18px 20px;
}
.cat-card-body h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}
.cat-card-body p {
  font-size: 0.8rem;
  color: var(--gray);
}
.cat-card-arrow {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 10px;
  display: inline-block;
  transition: transform .2s;
}
.cat-card:hover .cat-card-arrow { transform: translateX(4px); }

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-products { background: var(--black); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--dark-3);
}
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-img-wrap {
  position: relative;
}
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.product-card-body h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.price-current {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
}
.price-original {
  font-size: 0.9rem;
  color: var(--gray-2);
  text-decoration: line-through;
}
.product-card-actions {
  display: flex;
  gap: 10px;
}
.product-card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.82rem;
}

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.why-us { background: var(--dark); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .25s;
}
.feature-card:hover { border-color: var(--orange); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-glow);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.875rem; line-height: 1.7; }

/* ============================================================
   BRANDS STRIP
   ============================================================ */
.brands { background: var(--black); }
.brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-pill {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: all .2s;
}
.brand-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1a0f00 0%, #2a1500 50%, #1a0f00 100%);
  border-top: 1px solid #3a2000;
  border-bottom: 1px solid #3a2000;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 8px; }
.cta-inner p  { color: #aaa; max-width: 480px; }
.cta-actions  { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.latest-articles { background: var(--dark); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
}
.article-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.article-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--dark-3);
}
.article-card-body { padding: 22px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.article-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.article-date { font-size: 0.75rem; color: var(--gray-2); }
.article-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--orange); }
.article-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}
.footer-brand .logo-text span { color: var(--orange); }
.footer-brand p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray-2); }
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--orange); }
.affiliate-disclosure {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 24px;
  line-height: 1.6;
}

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.post-header { padding: 120px 0 60px; background: var(--dark); }
.post-header h1 { max-width: 800px; }
.post-content { padding: 60px 0; }
.post-body {
  max-width: 800px;
  margin: 0 auto;
}
.post-body h2 { color: var(--white); margin: 36px 0 14px; }
.post-body h3 { color: var(--white); margin: 28px 0 10px; }
.post-body p  { margin-bottom: 18px; color: #c0c0c0; line-height: 1.8; }
.post-body ul, .post-body ol {
  margin: 0 0 18px 24px;
  color: #c0c0c0;
}
.post-body ul li, .post-body ol li { margin-bottom: 8px; line-height: 1.7; }
.post-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--dark-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #bbb;
}
.post-body img {
  border-radius: var(--radius);
  margin: 24px 0;
}
.post-body a { color: var(--orange); }
.post-body a:hover { color: var(--orange-2); }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.875rem;
}
.post-body table th {
  background: var(--dark-3);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border);
}
.post-body table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: #bbb;
}
.post-body table tr:nth-child(even) td { background: var(--dark-2); }

/* ============================================================
   DISCLOSURE BOX
   ============================================================ */
.disclosure-box {
  background: var(--dark-3);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 32px;
  font-style: italic;
}

/* ============================================================
   BUY BUTTONS
   ============================================================ */
.buy-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.buy-btn-mpr {
  background: var(--orange);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.buy-btn-mpr:hover {
  background: var(--orange-2);
  color: #fff;
  transform: translateY(-2px);
}
.buy-btn-amazon {
  background: #f90;
  color: #111;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.buy-btn-amazon:hover {
  background: #ffaa22;
  color: #111;
  transform: translateY(-2px);
}

/* ============================================================
   ARCHIVE / SHOP PAGE
   ============================================================ */
.archive-header {
  padding: 100px 0 48px;
  background: var(--dark);
}
.archive-header h1 { margin-bottom: 8px; }
.archive-header p  { color: var(--gray); }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 48px 0;
}
.shop-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}
.sidebar-widget {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  font-size: 0.875rem;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-widget ul li a:hover { color: var(--orange); }
.sidebar-widget ul li a span {
  background: var(--dark-3);
  color: var(--gray);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 100px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--dark-2);
  border: 1px solid var(--border);
  color: #aaa;
  transition: all .2s;
}
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .current { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .site-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--dark); flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 20px; overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 1rem; }
  .nav-toggle { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .products-grid, .cat-grid, .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid, .cat-grid, .articles-grid, .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
