/* ============================================================
   PAGES.CSS — Estilos exclusivos para subpáginas de productos
   ============================================================ */

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--t);
}
.breadcrumb a:hover { color: var(--orange); }
.bc-sep { color: var(--gray-400); }
.bc-current { color: var(--blue); font-weight: 600; }

/* Page Hero */
.page-hero {
  background-size: cover;
  background-position: center;
  padding: 72px 0;
  position: relative;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 14px;
}
.page-hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

/* Products section */
.page-products { background: var(--gray-50); }

.page-products-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-products-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.page-products-header p {
  color: var(--text-muted);
  font-size: .97rem;
}

/* Products grid — 3 columns */
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Product card */
.page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

/* Card image area */
.page-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #f0f4f8;
}
.page-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.page-card:hover .page-card-img img { transform: scale(1.05); }
.bg-1 { background: linear-gradient(135deg, #e8f0fb, #d0e4ff); }
.bg-2 { background: linear-gradient(135deg, #fff3eb, #ffe0cc); }
.bg-3 { background: linear-gradient(135deg, #edf7f0, #c9eed7); }
.bg-4 { background: linear-gradient(135deg, #f3f0ff, #e0d5ff); }

/* Top accent bar */
.page-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.page-card:hover .page-card-img::after { transform: scaleX(1); }

/* Card body */
.page-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.page-card-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(255,102,0,.2);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
  width: fit-content;
}

.page-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  margin: 0;
}

.page-card-body > p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Specs list */
.page-card-specs {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.page-card-specs li {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-card-specs li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.page-card-body .btn {
  margin-top: 14px;
  padding: 10px 20px;
  font-size: .85rem;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0; }
}
