/* ══════════════════════════════════════
   product-pages.css — Product category pages
   ══════════════════════════════════════ */

/* ── Catalog Hero ── */
.catalog-hero {
  background-color: #eef1fb;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0 0;
  text-align: center;
}
.catalog-hero__breadcrumb {
  margin-bottom: 16px;
}
.catalog-hero__breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}
.catalog-hero__breadcrumb a:hover {
  text-decoration: underline;
}
.catalog-hero__sep {
  margin: 0 6px;
  color: #999;
}
.catalog-hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.catalog-hero__subtitle {
  margin: 0 auto 32px;
  color: #1F1F1F;
}
.catalog-hero__image-wrap {
  margin-top: 40px;
  text-align: center;
}
.catalog-hero__image-wrap img {
  max-width: 100%;
  width: 58%;
  height: auto;
  display: inline-block;
  margin-top: -6%;
  margin-right: 5%;
}

@media (max-width: 1024px) {
  .catalog-hero__image-wrap {
    margin-left: 0;
    margin-right: 0;
  }
  .catalog-hero__image-wrap img {
    width: 100%;
  }
}

/* ── Product Hero ── */
.product-hero {
  background: linear-gradient(135deg, #eef0ff 0%, #e8eafc 40%, #f0ecff 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.product-hero .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.product-hero__content {
  flex: 1 1 60%;
  min-width: 0;
}

.product-hero__breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.product-hero__breadcrumb a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.product-hero__breadcrumb a:hover {
  color: var(--color-primary);
}
.product-hero__breadcrumb span {
  color: var(--color-text-secondary);
}

.product-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.product-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.product-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.product-hero__image {
  flex: 0 0 40%;
  max-width: 40%;
}
.product-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .product-hero {
    padding: 40px 0;
  }
  .product-hero .container {
    flex-direction: column;
    gap: 32px;
  }
  .product-hero__content {
    flex: none;
    width: 100%;
  }
  .product-hero__title {
    font-size: 2rem;
  }
  .product-hero__subtitle {
    max-width: none;
  }
  .product-hero__image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .product-hero__cta {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .product-hero__title {
    font-size: 1.65rem;
  }
  .product-hero__cta {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
