/* Extra home page sections (hx-*). Palette matches the rest of the site. */
.hx-section { padding: 72px 0; }
.hx-section .section-header { text-align: center; }
.hx-center { text-align: center; margin-top: 28px; }
.hx-link { color: #2563eb; font-weight: 600; font-size: 0.95rem; }
.hx-link:hover { color: #1d4ed8; }

/* Intro / H1 */
.hx-intro { background: #ffffff; border-bottom: 1px solid #e2e8f0; }
.hx-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hx-intro h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: #0f172a; margin: 0 0 8px; line-height: 1.25; }
.hx-intro p { margin: 0; color: #475569; max-width: 640px; line-height: 1.6; }
.hx-intro-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-shrink: 0; }
.hx-intro-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.hx-intro-stats strong { font-size: 1.15rem; color: #2563eb; }
.hx-intro-stats span { font-size: 0.8rem; color: #64748b; }

/* Shop by category */
.hx-categories { background: #f8fafc; }
.hx-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .hx-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hx-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hx-category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); border-color: #93c5fd; color: inherit; }
.hx-category-image { width: 100%; aspect-ratio: 1 / 1; max-width: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.hx-category-image img { width: 100%; height: 100%; object-fit: contain; }
.hx-category-name { font-weight: 600; color: #0f172a; font-size: 0.98rem; }
.hx-category-count { font-size: 0.82rem; color: #64748b; margin-top: 4px; }

/* Shop by brand */
.hx-brands { background: #ffffff; }
.hx-brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.hx-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 120px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.hx-brand-card:hover { border-color: #2563eb; box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12); color: inherit; }
.hx-brand-card img { max-width: 100%; max-height: 52px; object-fit: contain; filter: grayscale(0.15); }
.hx-brand-text { font-size: 1.4rem; font-weight: 700; color: #1e293b; }
.hx-brand-count { font-size: 0.78rem; color: #64748b; }

/* SEO guide */
.hx-guide { background: #f8fafc; }
.hx-guide-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.hx-guide-text h2 { font-size: 1.75rem; color: #0f172a; margin: 0 0 16px; line-height: 1.3; }
.hx-guide-text h3 { font-size: 1.15rem; color: #1e293b; margin: 24px 0 8px; }
.hx-guide-text p { color: #475569; line-height: 1.8; margin: 0 0 12px; }
.hx-guide-links { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; }
.hx-guide-links h3 { font-size: 1rem; color: #0f172a; margin: 0 0 10px; }
.hx-guide-links ul { list-style: none; margin: 0; padding: 0; }
.hx-guide-links li { border-top: 1px solid #f1f5f9; }
.hx-guide-links li:first-child { border-top: 0; }
.hx-guide-links a { display: block; padding: 9px 0; color: #2563eb; font-weight: 500; font-size: 0.93rem; }

/* FAQ */
.hx-faq { background: #ffffff; }
.hx-faq-inner { max-width: 880px; }
.hx-faq-list { display: grid; gap: 12px; }
.hx-faq-item { border: 1px solid #e2e8f0; border-radius: 12px; background: #ffffff; overflow: hidden; }
.hx-faq-item[open] { border-color: #bfdbfe; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08); }
.hx-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}
.hx-faq-item summary::-webkit-details-marker { display: none; }
.hx-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: #2563eb;
}
.hx-faq-item[open] summary::after { content: "−"; }
.hx-faq-item p { margin: 0; padding: 0 20px 18px; color: #475569; line-height: 1.7; }

/* Blogs */
.hx-blogs { background: #f8fafc; }
.hx-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hx-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hx-blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); color: inherit; }
.hx-blog-image { aspect-ratio: 16 / 9; overflow: hidden; background: #e2e8f0; }
.hx-blog-image img { width: 100%; height: 100%; object-fit: cover; }
.hx-blog-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.hx-blog-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #2563eb; background: #eff6ff; padding: 3px 10px; border-radius: 999px; }
.hx-blog-title { font-size: 1.1rem; font-weight: 600; color: #0f172a; line-height: 1.4; }
.hx-blog-excerpt { font-size: 0.92rem; color: #64748b; line-height: 1.6; }
.hx-blog-body .hx-link { margin-top: auto; }

/* CTA */
.hx-cta { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #dbeafe; }
.hx-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.hx-cta h2 { color: #ffffff; font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0 0 8px; }
.hx-cta p { margin: 0; color: #dbeafe; }
.hx-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; transition: background-color 0.2s ease, color 0.2s ease; }
.hx-btn-light { background: #ffffff; color: #1d4ed8; }
.hx-btn-light:hover { background: #eff6ff; color: #1e3a8a; }
.hx-btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #ffffff; }
.hx-btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }

@media (max-width: 900px) {
  .hx-intro-inner, .hx-cta-inner { flex-direction: column; align-items: flex-start; }
  .hx-guide-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hx-section { padding: 48px 0; }
  .hx-intro-stats { flex-wrap: wrap; }
  .hx-intro-stats li { min-width: 0; flex: 1 1 40%; }
  .hx-category-grid, .hx-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hx-cta-actions, .hx-cta-actions .hx-btn { width: 100%; }
}
