/* ==========================================================================
   ZAROCHK - COMPONENTES ESPECÍFICOS DE E-COMMERCE & PÁGINAS
   Acabamento de Agência para Moda Masculina de Luxo
   ========================================================================== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  color: var(--color-silver-muted);
  margin-bottom: 2rem;
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Categorias Horizontais / Filtros em Pílula */
.category-pills {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.pill-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-sub);
  font-size: 0.825rem;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-silver);
  transition: all var(--transition-fast);
}

.pill-btn:hover, .pill-btn.active {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* ==========================================================================
   PÁGINA DO PRODUTO (produto.html)
   ========================================================================== */
.product-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 992px) {
  .product-single-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4.5rem;
  }
}

.product-gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #101116;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--glass-border);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs-strip {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.thumb-item {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  opacity: 0.65;
  transition: all var(--transition-fast);
}

.thumb-item.active, .thumb-item:hover {
  opacity: 1;
  border-color: var(--color-gold);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-selector-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 0.75rem;
  transition: all var(--transition-fast);
}

.size-btn:hover, .size-btn.active {
  border-color: var(--color-gold);
  background: rgba(197, 160, 89, 0.15);
  color: var(--color-gold-light);
}

.color-swatch-group {
  display: flex;
  gap: 0.75rem;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.color-swatch.active {
  border-color: var(--color-gold);
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

/* Accordion de Detalhes Técnicos */
.sartorial-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: left;
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
  color: var(--color-gold);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.925rem;
  color: var(--color-silver-muted);
}

.accordion-item.open .accordion-body {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   CARRINHO & TABELAS (carrinho.html)
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .cart-layout {
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
  }
}

.cart-item-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

@media (min-width: 640px) {
  .cart-item-row {
    grid-template-columns: 100px 2fr 1fr auto;
    gap: 1.75rem;
  }
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.03);
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-silver);
  font-size: 1rem;
}

.qty-btn:hover {
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.06);
}

.qty-input {
  width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 0.875rem;
  font-family: var(--font-sub);
}

/* ==========================================================================
   CHECKOUT STEPPER & DEMO NOTICE (checkout.html)
   ========================================================================== */
.checkout-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.checkout-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111218;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--color-silver-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.step-node.active .step-circle {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #0c0d10;
  box-shadow: 0 0 16px var(--color-gold-glow);
}

.step-node.completed .step-circle {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.step-label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--color-silver-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-node.active .step-label {
  color: var(--color-white);
  font-weight: 600;
}

/* Notificação Visual de Demonstração Conforme Briefing */
.demo-disclaimer-box {
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   RASTREAMENTO DE FRETE (rastreio.html)
   ========================================================================== */
.tracking-timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2rem;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-step {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #14151c;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step.completed .timeline-dot {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #0b0c10;
}

.timeline-step.current .timeline-dot {
  border-color: var(--color-gold);
  box-shadow: 0 0 14px var(--color-gold-glow);
}

.timeline-time {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.timeline-status {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.timeline-location {
  font-size: 0.85rem;
  color: var(--color-silver-muted);
}

/* ==========================================================================
   ÁREA DE MEMBROS (membros.html)
   ========================================================================== */
.member-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .member-dashboard-grid {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}

.member-sidebar-card {
  padding: 2rem;
  text-align: center;
}

.member-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  margin: 0 auto 1.25rem;
  object-fit: cover;
  box-shadow: 0 0 20px var(--color-gold-glow);
}

.member-nav {
  list-style: none;
  margin-top: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  color: var(--color-silver-muted);
  font-family: var(--font-sub);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.member-nav-link:hover, .member-nav-link.active {
  background: rgba(197, 160, 89, 0.12);
  color: var(--color-gold-light);
  border-left: 2px solid var(--color-gold);
}

/* ==========================================================================
   BLOG EDITORIAL (blog.html & artigo.html)
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.article-hero {
  padding: 5rem 0 3rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--color-silver);
}

.article-body h2 {
  font-size: 1.85rem;
  margin: 2.5rem 0 1rem;
  color: var(--color-white);
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.85rem;
  color: var(--color-gold-light);
}

.article-body blockquote {
  border-left: 3px solid var(--color-gold);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: rgba(197, 160, 89, 0.05);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-white);
}

.article-body figure {
  margin: 2.5rem 0;
}

.article-body figure img {
  border-radius: var(--radius-md);
  border: var(--glass-border);
}

.article-body figcaption {
  font-size: 0.8rem;
  color: var(--color-silver-muted);
  text-align: center;
  margin-top: 0.65rem;
  font-family: var(--font-sub);
}
