/* =========================================================
   Pink Mood Fitwear — catalog.css
   Estilos para páginas de catálogo e produto individual
   ========================================================= */

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-muted);
  padding: 20px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

/* --- Cabeçalho da página de catálogo --- */
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.catalog-title { font-size: 26px; font-weight: 700; }
.catalog-meta { font-size: 13px; color: var(--color-muted); }

.catalog-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-select, .search-input {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.filter-select:focus, .search-input:focus { border-color: var(--color-accent); }
.search-input { min-width: 200px; }

/* --- Grid catálogo --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 48px;
}
.catalog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  color: var(--color-muted);
  font-size: 15px;
}

/* --- Paginação --- */
.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 60px;
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
}
.page-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.page-btn.active { background: var(--color-text); border-color: var(--color-text); color: #fff; }

/* =========================================================
   PRODUTO INDIVIDUAL
   ========================================================= */
.product-page { padding: 0 0 80px; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 32px 0 0;
}

/* --- Galeria --- */
.product-gallery { position: sticky; top: 80px; height: fit-content; }
.gallery-main {
  aspect-ratio: 3/4;
  border-radius: var(--radius-banner);
  overflow: hidden;
  background: var(--color-card);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--color-text); }
.gallery-thumb:hover { border-color: var(--color-muted); }

/* --- Info do produto --- */
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-info-name {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.product-info-price { font-size: 28px; font-weight: 700; }
.product-info-install { font-size: 14px; color: var(--color-muted); }
.product-info-pix { font-size: 14px; color: var(--color-accent); font-weight: 600; }

/* --- Seletor de tamanho --- */
.size-label { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.size-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 48px; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--color-text);
  background: #fff;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.size-btn:hover { border-color: var(--color-text); }
.size-btn.selected { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.size-btn.out-of-stock {
  color: #ccc; border-color: #e8e8e8; cursor: not-allowed;
  position: relative; overflow: hidden;
}
.size-btn.out-of-stock::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 140%;
  height: 1px;
  background: #ccc;
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* --- Botões de ação --- */
.action-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-outline-dark {
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: #fff;
  font-family: var(--font-body);
  transition: background var(--transition), color var(--transition);
}
.btn-outline-dark:hover { background: var(--color-text); color: #fff; }

/* --- Acordeões --- */
.accordion { border-top: 1px solid var(--color-border); }
.accordion:last-child { border-bottom: 1px solid var(--color-border); }
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 14px; font-weight: 600; cursor: pointer; background: none; border: none; font-family: var(--font-body);
}
.accordion-btn .acc-arrow { transition: transform var(--transition); font-size: 18px; color: var(--color-muted); }
.accordion-btn.open .acc-arrow { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body.open { max-height: 300px; }
.accordion-body p { font-size: 13.5px; color: var(--color-muted); line-height: 1.8; padding-bottom: 16px; }

/* --- Seção "Você também pode gostar" --- */
.similar-section { padding: 60px 0 0; }
.similar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* =========================================================
   CATÁLOGO — HERO BANNER (Aesthetic, Coleções)
   ========================================================= */
.catalog-hero {
  background: var(--color-hero-bg);
  padding: 60px 0;
  margin-bottom: 0;
}
.catalog-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.catalog-hero h1 { font-family: var(--font-headline); font-size: 52px; font-weight: 700; line-height: 1.15; }
.catalog-hero p { font-size: 16px; color: var(--color-muted); margin-top: 16px; max-width: 360px; line-height: 1.7; }
.catalog-hero-right {
  background: linear-gradient(135deg,#e8c4d0,#d4a0b8);
  border-radius: 20px;
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* =========================================================
   PÁGINA QUEM SOMOS
   ========================================================= */
.about-hero { background: var(--color-hero-bg); padding: 80px 0; text-align: center; }
.about-hero h1 { font-family: var(--font-headline); font-size: 52px; font-weight: 700; }
.about-hero p { font-size: 16px; color: var(--color-muted); max-width: 520px; margin: 20px auto 0; line-height: 1.7; }
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(135deg,#ebd0dc,#d4a0b8);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-deco); font-size: 80px; color: rgba(255,255,255,.4); font-weight: 700;
}
.about-text h2 { font-family: var(--font-headline); font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--color-muted); line-height: 1.8; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.value-card { background: var(--color-card); border-radius: 12px; padding: 20px; }
.value-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--color-muted); line-height: 1.6; }
.showroom-section { background: var(--color-hero-bg); padding: 80px 0; }
.showroom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showroom-info h2 { font-family: var(--font-headline); font-size: 36px; margin-bottom: 16px; }
.showroom-info p { font-size: 15px; color: var(--color-muted); line-height: 1.8; margin-bottom: 12px; }
.showroom-map {
  border-radius: 16px; overflow: hidden; height: 280px;
  background: linear-gradient(135deg,#c8d8e8,#98b8d0);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(255,255,255,.5);
}

/* =========================================================
   PÁGINA 404
   ========================================================= */
.page-404 { text-align: center; padding: 120px 0; }
.page-404 .err-code { font-family: var(--font-headline); font-size: 120px; font-weight: 700; color: var(--color-card); line-height: 1; }
.page-404 h1 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.page-404 p { font-size: 15px; color: var(--color-muted); margin-bottom: 32px; }

/* =========================================================
   POLÍTICA DE PRIVACIDADE
   ========================================================= */
/* Legal page layout */
.legal-page { padding: 60px 0 100px; }
.legal-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 40px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 60px;
  position: sticky;
  top: 62px;
  background: #fff;
  z-index: 10;
}
.legal-nav a {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid #e8e8e8;
  transition: all var(--transition);
}
.legal-nav a:hover, .legal-nav a.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.legal-section { max-width: 780px; scroll-margin-top: 140px; }
.legal-section h1 { font-family: var(--font-headline); font-size: 40px; margin-bottom: 6px; }
.legal-updated { font-size: 12px; color: var(--color-muted); margin-bottom: 32px; }
.legal-section h2 { font-size: 17px; font-weight: 700; margin: 36px 0 12px; color: var(--color-text); }
.legal-section p, .legal-section li { font-size: 14px; color: #444; line-height: 1.9; }
.legal-section ul, .legal-section ol { padding-left: 20px; margin-bottom: 16px; }
.legal-section li { margin-bottom: 6px; }
.legal-section a { color: var(--color-accent); }
.legal-divider { border: none; border-top: 2px solid #f0f0f0; margin: 72px 0; max-width: 780px; }
.legal-highlight {
  background: #fdf2f7;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-top: 32px;
  font-size: 14px;
  color: #444;
}
/* Measure table */
.size-table-wrap { overflow-x: auto; margin: 20px 0; }
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th { background: #f5f5f5; font-weight: 600; padding: 10px 14px; text-align: left; border-bottom: 2px solid #e8e8e8; }
.size-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.size-table tbody tr:hover { background: #fdf9fb; }
.measure-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.measure-card .measure-icon { font-size: 28px; margin-bottom: 8px; }
.measure-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.measure-card p { font-size: 12px; color: #888; line-height: 1.6; margin: 0; }
/* Shipping cards */
.shipping-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
}
.shipping-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.shipping-card p { font-size: 13px; color: #888; line-height: 1.6; margin: 0; }

/* 404 page */
.not-found-page {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.not-found-deco {
  position: absolute;
  font-size: 300px;
  font-weight: 900;
  color: #f5f5f5;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-headline);
}
.not-found-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.not-found-content h1 { font-family: var(--font-headline); font-size: 42px; margin-bottom: 16px; }
.not-found-content > p { font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 32px; }
.not-found-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.not-found-links p { font-size: 12px; color: #999; margin-bottom: 16px; }
.not-found-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.not-found-grid a {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  padding: 10px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: all var(--transition);
}
.not-found-grid a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================================
   RESPONSIVIDADE CATÁLOGO
   ========================================================= */
@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .similar-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .product-info-name { font-size: 24px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-hero-inner { grid-template-columns: 1fr; }
  .catalog-hero-right { display: none; }
  .catalog-hero h1 { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .showroom-inner { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .catalog-filters { gap: 8px; }
  .search-input { min-width: 140px; }
}
