/* ============================================================
   TURNO FINAL BOARD GAME - PAGES & SECTIONS STYLES
   ============================================================ */

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 64px 0 72px;
  background-color: var(--color-hero-background);
  background-image: var(--color-hero-radiance);
  border-bottom: 1px solid var(--color-gold-border);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}

.hero-content {
  flex: 1 1 520px;
  max-width: 660px;
  position: relative;
  z-index: 2;
}

.hero-badge, .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 162, 55, 0.12);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-hero-text);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero-title span {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--color-hero-text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-group, .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-features-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--color-hero-divider);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--color-hero-text-secondary);
}

.hero-feat-item strong {
  color: var(--color-hero-text);
}

.hero-visual {
  flex: 0 1 380px;
  width: 100%;
  max-width: 400px;
}

.hero-card-featured {
  background: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6);
}

.hero-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--color-gold-gradient);
  color: #0E1015;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.hero-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.hero-card-body h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.hero-card-body p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gold);
}

.category-quick-card:hover {
  border-color: var(--color-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212, 162, 55, 0.15);
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-features-list {
    justify-content: center;
  }
  .hero-visual {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* --- CATEGORIAS GRID --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
}

.category-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.category-card:hover {
  border-color: var(--color-gold);
  background: var(--color-surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.category-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 4px;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-card:hover .category-name {
  color: var(--color-gold);
}

/* --- ENCONTRE O JOGO CERTO (ATALHOS & QUIZ) --- */
.turn-finder-banner {
  background: linear-gradient(135deg, #181D26 0%, #11141B 100%);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.turn-finder-banner::after {
  content: '🎲';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 14rem;
  opacity: 0.04;
  pointer-events: none;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.shortcut-btn {
  background: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.shortcut-btn:hover {
  border-color: var(--color-gold);
  background: rgba(212, 162, 55, 0.1);
  color: var(--color-gold);
  transform: translateX(4px);
}

/* --- PRODUTOS GRID --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .product-content {
    padding: var(--space-sm);
  }
  .product-title {
    font-size: 0.92rem;
  }
  .price-current {
    font-size: 1.15rem;
  }
}

/* --- COMUNIDADE MANIFESTO --- */
.community-manifesto {
  background: radial-gradient(circle at 50% 50%, rgba(212, 162, 55, 0.06) 0%, transparent 70%), #0D0F14;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.manifesto-box {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}

.manifesto-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* --- VIZINHANÇA SECTION --- */
.vizinhanca-card {
  background: linear-gradient(135deg, #171C25 0%, #11141A 100%);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 860px) {
  .vizinhanca-card {
    grid-template-columns: 1fr;
  }
}

.vizinhanca-content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vizinhanca-media {
  position: relative;
  min-height: 320px;
  background: #14171E;
}

.vizinhanca-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vizinhanca-media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(14, 16, 21, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
}

/* --- CATÁLOGO & FILTROS --- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters-sidebar {
    display: none; /* Ativado via gaveta no mobile */
  }
}

.filters-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.filter-group {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.catalog-count {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.catalog-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- PÁGINA DE PRODUTO DETALHADA --- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.gallery-main {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

@media (max-width: 600px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spec-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  text-align: center;
}

.spec-box-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.spec-box-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold);
}

/* Barra de Complexidade */
.complexity-meter {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.complexity-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.complexity-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.complexity-bar-fill {
  height: 100%;
  background: var(--color-gold-gradient);
  border-radius: var(--radius-pill);
}

/* Relatório de Inspeção para Usados e Seminovos */
.used-condition-report {
  background: rgba(168, 137, 77, 0.08);
  border: 1px solid var(--color-gold-muted);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.used-report-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.used-specs-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.used-specs-list strong {
  color: var(--color-text);
}

/* --- RECOMENDADOR 'ENCONTRE SEU JOGO' (QUIZ) --- */
.quiz-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.quiz-step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.quiz-option-card {
  background: var(--color-surface-secondary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.quiz-option-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  background: var(--color-surface-hover);
}

.quiz-option-card.selected {
  border-color: var(--color-gold);
  background: rgba(212, 162, 55, 0.12);
  box-shadow: var(--shadow-gold);
}

.quiz-option-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.quiz-option-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.quiz-option-desc {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

/* --- CHECKOUT GUIADO EM 6 ETAPAS --- */
.checkout-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.checkout-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.progress-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface-secondary);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--color-text-secondary);
}

.progress-step.active .progress-step-circle {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0E1015;
  box-shadow: var(--shadow-gold);
}

.progress-step.completed .progress-step-circle {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #FFF;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* Caixa de Pagamento PIX */
.pix-payment-box {
  background: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}

.pix-qrcode-wrap {
  width: 200px;
  height: 200px;
  margin: var(--space-md) auto;
  background: #FFF;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-copy-paste-box {
  display: flex;
  gap: 8px;
  margin-top: var(--space-md);
}

/* Painel Administrativo */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-height));
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-menu-item:hover, .admin-menu-item.active {
  color: var(--color-gold);
  background: rgba(212, 162, 55, 0.08);
  border-left-color: var(--color-gold);
}

.admin-content {
  padding: var(--space-2xl);
  overflow-x: auto;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.kpi-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  margin: 6px 0;
}

.kpi-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.data-table th {
  background: var(--color-surface-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* --- HOME: EXPERIÊNCIA DE DESCOBERTA --- */
.page-home {
  padding-bottom: var(--space-4xl);
}

.page-home .hero-section {
  isolation: isolate;
  min-height: clamp(440px, 52vw, 620px);
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4.75rem, 8vw, 7.5rem);
  background-color: var(--color-hero-background);
  background-image: var(--color-hero-radiance);
  border-bottom: 0;
}

.hero-scene,
.hero-scene::before,
.hero-scene::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-scene {
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--color-hero-background) 0%, transparent 67%),
    radial-gradient(ellipse at 78% 46%, var(--color-gold-glow) 0%, transparent 42%);
}

.hero-scene::before {
  content: '';
  opacity: 0.45;
  background-image:
    linear-gradient(115deg, transparent 0 48%, var(--color-home-ornament) 48.2% 48.45%, transparent 48.65% 100%),
    linear-gradient(25deg, transparent 0 68%, var(--color-home-ornament) 68.1% 68.35%, transparent 68.55% 100%);
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.hero-scene::after {
  content: '';
  background: linear-gradient(180deg, transparent 55%, var(--color-hero-background) 100%);
}

.page-home .hero-inner {
  justify-content: flex-start;
}

.page-home .hero-content {
  max-width: 680px;
}

.page-home .hero-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.page-home .hero-title {
  max-width: 680px;
  font-size: clamp(2.5rem, 5.1vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.page-home .hero-subtitle {
  max-width: 590px;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.page-home .hero-cta-group {
  margin-bottom: 0;
}

.page-home .hero-cta-group .btn {
  min-height: 52px;
}

.page-home .btn {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-benefits {
  position: relative;
  z-index: 3;
  margin-top: -26px;
}

.home-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: var(--color-home-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.home-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  min-width: 0;
  padding: 1.15rem 1rem;
  border-right: 1px solid var(--color-border);
}

.home-benefit-item:last-child {
  border-right: 0;
}

.home-benefit-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  color: var(--color-gold);
  font-weight: 800;
  line-height: 1;
}

.home-benefit-item strong,
.home-benefit-item span:not(.home-benefit-icon) {
  display: block;
  font-family: var(--font-body);
}

.home-benefit-item strong {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-benefit-item span:not(.home-benefit-icon) {
  margin-top: 0.22rem;
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  line-height: 1.35;
}

.page-home .home-section {
  padding: var(--space-4xl) 0 0;
}

.page-home .home-categories-section {
  padding-top: var(--space-3xl);
}

.home-section-heading {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.home-section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: left;
}

.page-home .section-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.page-home .section-title {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.13;
  text-transform: none;
  text-wrap: balance;
}

.section-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.55rem 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 750;
}

.section-view-all:hover span {
  transform: translateX(3px);
}

.section-view-all span {
  transition: transform var(--transition-fast);
}

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.home-category-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 78px;
  padding: 1rem 1.1rem;
  color: var(--color-text);
  background: var(--color-home-benefit);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal), color var(--transition-fast);
}

.home-category-card:hover {
  color: var(--color-gold);
  background: var(--color-surface-hover);
  border-color: var(--color-gold-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.home-category-icon,
.home-category-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-gold);
  background: var(--color-gold-glow);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.home-category-name {
  overflow: hidden;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.home-category-arrow {
  color: var(--color-text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.home-category-card:hover .home-category-arrow {
  color: var(--color-gold);
  transform: translateX(3px);
}

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

.home-products-grid .card-product {
  background: var(--color-surface-card);
}

.home-products-grid .product-media-wrap {
  position: relative;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  background: var(--color-home-panel-strong);
}

.home-products-grid .product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.home-products-grid .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-products-grid .wishlist-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--color-text);
  background: var(--color-overlay);
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
}

.home-products-grid .wishlist-toggle-btn:hover,
.home-products-grid .wishlist-toggle-btn.active {
  color: var(--color-accent-red);
  border-color: var(--color-accent-red);
}

.home-products-grid .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.25rem 0 0.65rem;
  color: var(--color-text-secondary);
  font-size: 0.76rem;
}

.home-products-grid .product-title,
.home-products-grid .price-current {
  font-family: var(--font-body);
}

.home-products-grid .product-title {
  font-weight: 800;
}

.home-products-grid .price-current {
  font-size: 1.25rem;
}

.home-products-grid .meta-item {
  display: inline-flex;
  gap: 0.22rem;
  align-items: center;
}

.home-products-grid .price-pix {
  display: none;
}

.home-products-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-xl);
  color: var(--color-text-secondary);
  text-align: center;
  background: var(--color-home-benefit);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
}

.page-home .turn-finder-banner {
  display: flex;
  align-items: center;
  min-height: 280px;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(125deg, var(--color-home-panel-strong), var(--color-surface));
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.page-home .turn-finder-banner::after {
  display: none;
}

.turn-finder-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.turn-finder-content h2 {
  max-width: 620px;
  margin-bottom: 0.8rem;
  color: var(--color-gold);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  text-transform: none;
}

.turn-finder-content p {
  max-width: 600px;
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.turn-finder-ornament {
  position: absolute;
  right: clamp(1.25rem, 6vw, 5rem);
  bottom: -1.5rem;
  color: var(--color-home-ornament);
  font-family: var(--font-heading);
  font-size: clamp(9rem, 20vw, 18rem);
  line-height: 1;
  user-select: none;
}

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

  .home-benefit-item:nth-child(3) {
    border-right: 0;
  }

  .home-benefit-item:nth-child(n + 4) {
    border-top: 1px solid var(--color-border);
  }

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

@media (max-width: 768px) {
  .page-home {
    padding-bottom: var(--space-3xl);
  }

  .page-home .hero-section {
    min-height: 0;
    padding: 4.25rem 0 4.75rem;
  }

  .page-home .hero-title {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .page-home .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 390px);
  }

  .page-home .hero-cta-group .btn {
    width: 100%;
  }

  .home-benefits {
    margin-top: -18px;
  }

  .home-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-benefit-item,
  .home-benefit-item:nth-child(3) {
    border-right: 1px solid var(--color-border);
  }

  .home-benefit-item:nth-child(even) {
    border-right: 0;
  }

  .home-benefit-item:nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }

  .home-benefit-item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .page-home .home-section {
    padding-top: var(--space-3xl);
  }

  .home-section-heading-split {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .home-categories-grid {
    grid-template-columns: 1fr;
  }

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

  .turn-finder-ornament {
    right: -0.45rem;
    bottom: -0.65rem;
    font-size: 10rem;
  }
}

@media (max-width: 440px) {
  .home-benefit-item {
    gap: 0.55rem;
    padding: 0.9rem 0.75rem;
  }

  .home-benefit-icon {
    width: 25px;
    height: 25px;
  }

  .home-benefit-item strong {
    font-size: 0.72rem;
  }

  .home-benefit-item span:not(.home-benefit-icon) {
    font-size: 0.66rem;
  }

  .home-products-grid .product-content {
    padding: var(--space-sm);
  }

  .home-products-grid .product-title {
    font-size: 0.95rem;
  }

  .home-products-grid .add-to-cart-btn span {
    display: none;
  }
}
