/* ========================================
   Products Page
   ======================================== */

/* ---- Page Hero ---- */
.page-hero {
  padding-top: 72px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d2a4a 100%);
  padding-bottom: 56px;
}
.page-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.page-hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }

/* ---- Category Tab Nav ---- */
.product-cat-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 90;
}

.product-cat-tabs {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
}

.product-cat-tabs li a {
  display: block;
  padding: 16px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.product-cat-tabs li a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---- Product List ---- */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 56px;
}

/* ---- Product Item: horizontal card ---- */
.product-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition);
}

.product-item:hover {
  box-shadow: var(--shadow-hover);
}

/* ---- Product Image ---- */
.product-item-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-item-img.img-placeholder::after {
  content: '📷';
  font-size: 40px;
  opacity: 0.3;
}

.product-item-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ---- Product Body ---- */
.product-item-body {
  min-width: 0;
}

.product-item-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.product-item-type {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-item-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
}

/* ---- Specs Table ---- */
.product-item-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.product-item-specs li {
  display: flex;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text);
}

.product-item-specs li span {
  min-width: 120px;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ---- Section Divider ---- */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  max-width: 1100px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .product-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .product-item-img {
    aspect-ratio: 3 / 4;
    max-height: 400px;
  }

  .product-item-img img {
    object-fit: contain;
  }

  .product-cat-tabs li a {
    padding: 12px 14px;
    font-size: 13px;
  }

  .product-cat-nav {
    top: 64px;
  }
}
