/* Brand collection landing pages: focused SEO entry points that reuse the
   existing Gearwell shell without changing product detail templates. */
.brand-focus-section {
  background: #fff;
}

.brand-focus-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.brand-focus-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: #2f2f2f;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brand-focus-card:hover,
.brand-focus-card:focus-visible {
  border-color: rgba(243, 151, 0, 0.6);
  box-shadow: 0 10px 24px rgba(47, 47, 47, 0.08);
  transform: translateY(-2px);
}

.brand-focus-card span {
  color: #a46200;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-focus-card strong {
  line-height: 1.35;
}

.brand-focus-card small {
  align-self: end;
  color: #6b7280;
  font-weight: 700;
}

.brand-detail-page {
  background: #fff;
}

.brand-detail-hero {
  min-height: 310px;
}

.brand-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.brand-detail-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(243, 151, 0, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #595757;
  font-size: 0.92rem;
  font-weight: 700;
}

.brand-detail-stats strong {
  margin-right: 6px;
  color: #a46200;
}

.brand-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  color: #6b7280;
  font-size: 0.95rem;
}

.brand-breadcrumb a {
  color: #595757;
  font-weight: 700;
  text-decoration: none;
}

.brand-breadcrumb strong {
  color: #a46200;
}

.brand-detail-grid,
.brand-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  gap: 28px;
  align-items: start;
}

.brand-detail-intro h2,
.brand-faq-section h2 {
  margin: 0 0 14px;
  color: #242424;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.brand-detail-intro p,
.brand-faq-section p {
  max-width: 760px;
  color: #5f646c;
  line-height: 1.72;
}

.brand-detail-panel {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #f39700;
  border-radius: 8px;
  background: #f8fafc;
}

.brand-detail-panel h3 {
  margin: 0 0 12px;
  color: #242424;
}

.brand-detail-panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: #4b5563;
}

.brand-products-section {
  background: #f5f7fa;
}

.brand-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand-product-card {
  display: grid;
  grid-template-rows: 210px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.brand-product-image {
  display: grid;
  place-items: center;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}

.brand-product-image img {
  max-width: 100%;
  max-height: 178px;
  object-fit: contain;
}

.brand-product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.brand-product-meta {
  margin: 0;
  color: #a46200;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-product-card h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.brand-product-card h3 a {
  color: #242424;
  text-decoration: none;
}

.brand-product-card h3 a:hover,
.brand-product-card h3 a:focus-visible {
  color: #a46200;
}

.brand-product-card p {
  margin: 0;
  color: #68717d;
  line-height: 1.58;
}

.brand-product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.brand-product-facts span {
  padding: 6px 9px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #595757;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-faq-section {
  background: #fff;
}

.brand-faq-list {
  display: grid;
  gap: 12px;
}

.brand-faq-list details {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.brand-faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #242424;
  font-weight: 800;
}

.brand-faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: #5f646c;
}

.brand-logo-card .brand-logo-mark {
  width: min(112px, 100%);
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(20, 37, 55, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  color: #172230;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 1100px) {
  .brand-focus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-focus-grid,
  .brand-detail-grid,
  .brand-products-grid,
  .brand-faq-grid {
    grid-template-columns: 1fr;
  }

  .brand-focus-card {
    min-height: 0;
  }

  .brand-detail-hero {
    min-height: 260px;
  }

  .brand-detail-stats span {
    width: 100%;
  }

  .brand-product-card {
    grid-template-rows: 190px minmax(0, 1fr);
  }

  .brand-product-image img {
    max-height: 158px;
  }
}
