/* CarWoods v7 — Premium logo, aligned grids, refined cards */

/* ── Premium Logo ── */
.logo {
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0;
}
.logo-icon svg { display: block; width: 42px; height: 42px; }
.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.logo-name em {
  font-style: normal;
  background: linear-gradient(135deg, #b8862a 0%, #e8a840 50%, #c8922a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.55); }
.footer-brand .logo-icon svg rect:first-child { fill: rgba(255,255,255,0.08); }

/* ── Category grid — 5 equal columns ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
.category-card-img img {
  object-fit: contain;
  padding: 12px;
  background: #f4f6f8;
}

/* ── Featured Products — strict 4-column grid ── */
#featured-products.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  #featured-products.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #featured-products.products-grid { grid-template-columns: 1fr; }
}

/* ── Product cards — equal height, tidy text ── */
.product-card {
  height: 100%;
}
.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.product-card-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 8px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.product-card-specs {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.product-card-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
}
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-card-actions .btn-quote {
  grid-column: 1 / -1;
}
.product-card-img {
  height: 220px;
  background: #f4f6f8;
}
.product-card-img img {
  object-fit: contain;
  padding: 12px;
}

/* ── Export Markets — uniform 3×2 grid ── */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .markets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .markets-grid { grid-template-columns: 1fr; max-width: 360px; }
}
.market-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  padding: 24px;
  border-radius: 12px;
}
.market-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary) 0%, #1a3a5c 100%);
  border-radius: 12px;
  color: #e8a840;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.15);
}
.market-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}
.market-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--primary);
}
.market-body p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 0;
}
.market-code { display: none; }

/* ── Section headers — centered alignment ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
