/* Shared page hero — matches products page layout */

.page-hero,
section.hero.page-hero-layout {
  display: flex;
  background: linear-gradient(to left, #bebebe, #242424f0) !important;
  color: #ffffff;
  padding: 120px 80px 40px 80px;
  min-height: 380px;
  align-items: center;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.page-hero__content,
.page-hero .hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

.page-hero__text,
.page-hero .hero-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 58%;
  padding-right: 24px;
}

.page-hero__text h1,
.page-hero .hero-text h1,
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  width: 100%;
}

.page-hero__text p,
.page-hero .hero-text p,
.page-hero .hero-description {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #f0f0f0;
  line-height: 1.65;
  margin: 0;
  max-width: 100%;
  font-weight: 400;
}

.page-hero__text p + p,
.page-hero .hero-text p + p {
  margin-top: 1em;
}

.page-hero__image,
.page-hero .hero-image-container {
  flex-shrink: 0;
  width: 320px;
  height: 320px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__image img,
.page-hero .hero-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .page-hero,
  section.hero.page-hero-layout {
    flex-direction: column;
    padding: 120px 20px 40px 20px;
    min-height: auto;
  }

  .page-hero__content,
  .page-hero .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .page-hero__text,
  .page-hero .hero-text {
    max-width: 100%;
    padding-right: 0;
    align-items: center;
  }

  .page-hero__text h1,
  .page-hero .hero-text h1,
  .page-hero h1 {
    font-size: 2rem;
    text-align: center;
  }

  .page-hero__text p,
  .page-hero .hero-text p,
  .page-hero .hero-description {
    font-size: 0.95rem;
    text-align: center;
  }

  .page-hero__image,
  .page-hero .hero-image-container {
    width: 240px;
    height: 240px;
  }
}
