/* =======================================
   PRODUCT HERO – ALUMINUM MAIN ONLY
   ======================================= */

/* ---------- Layout shell ---------- */
.product-hero {
  padding: 100px 172px;
  background-color: #ffffff;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 150px;
  align-items: flex-start;
}

/* ---------- Left: main image ---------- */
.product-hero__media {
  display: flex;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.image-with-hotspots {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.image-with-hotspots img {
  width: 100%;
  max-width: 776px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hotspots */
.hotspot {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.hotspot--1 {
  top: 4.5%;
  right: 3.5%;
}
.hotspot--2 {
  top: 16.5%;
  right: 3.5%;
}
.hotspot--3 {
  top: 28.5%;
  right: 3.5%;
}
.hotspot--4 {
  top: 40.5%;
  right: 3.5%;
}

/* ---------- Right: content ---------- */
.product-hero__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-hero__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-hero__title-main {
  color: #151515;
  font-family: Poppins;
  font-size: 50px;
  font-weight: 700;
  line-height: normal;
}

.product-hero__intro {
  color: #4a4a4a;
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* ---------- Share Section ---------- */
.product-hero__share-main {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 30px;
}

.product-hero__share-label {
  font-weight: 700;
  font-size: 16px;
  color: #151515;
  font-family: "Lato";
  line-height: 24px;
}

.product-hero__share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.socmed {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-hero__share-links a {
  color: #4a4a4a;
  font-family: Lato;
  font-size: 16px;
  text-decoration: none;
}

/* ---------- CTA Row (text left, buttons right) ---------- */
.product-hero__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e5e5e5;
  padding-top: 30px;
  white-space: nowrap;
}

.product-hero__cta p {
  margin: 0;
  padding-top: 0;
  color: #151515;
  font-family: Lato;
  font-size: 16px;
  font-weight: 700;
  flex: 1 1 auto;
}

.product-hero__cta-buttons {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: flex-end;
}

/* Buttons */
.btn-main,
.btn--primary,
.btn--outline-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: #ed1c24;
  color: #fff;
  border: 1px solid #ed1c24;
  font-family: "Lato";
}

.btn--primary:hover {
  background: transparent;
  color: #e02626;
  border-color: #e02626;
}

.btn--outline-red {
  background: #fff;
  color: #ed1c24;
  border: 1px solid #ed1c24;
  font-family: "Lato";
}

.btn--outline-red:hover {
  background: #ed1c24;
  color: #fff;
  border: 1px solid #e02626;
}

/* =======================================
   RESPONSIVE – Aluminum Main
   ======================================= */

@media (max-width: 1600px) {
  .product-hero {
    padding: 70px;
  }
  .product-hero__grid {
    column-gap: 110px;
  }
}

@media (max-width: 1200px) {
  .product-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 70px;
  }
  .image-with-hotspots img {
    max-width: 580px;
  }
}

@media (max-width: 991px) {
  .product-hero {
    padding: 50px 20px;
  }
  .product-hero__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .product-hero__media {
    position: static;
    justify-content: center;
  }
  .image-with-hotspots {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .product-hero {
    padding: 40px 16px;
  }
  .product-hero__title-main {
    font-size: 32px;
  }
  .hotspot {
    width: 40px;
    height: 40px;
  }
}

/* CTA responsive */
@media (max-width: 1199px) {
  .product-hero__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .product-hero__cta-buttons {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-hero__cta-buttons a {
    padding: 12px 26px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .product-hero__cta {
    gap: 14px;
  }

  .product-hero__cta-buttons {
    width: 100%;
    gap: 10px;
  }
}

/* =======================================
   POLYCARBONATE CTA – BASE
   ======================================= */

.poly-cta {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.poly-cta__text {
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #151515;
  max-width: 520px;
}

.poly-cta__buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* make sure global .btn styles don't get weird here */
.poly-cta .btn {
  padding: 10px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

/* ≤ 1199px – tablet / small desktop */
@media (max-width: 1199px) {
  .poly-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .poly-cta__text {
    max-width: 100%;
  }

  .poly-cta__buttons {
    gap: 12px;
  }

  .poly-cta .btn {
    padding: 12px 24px;
    font-size: 15px;
    white-space: normal;
  }
}

/* =======================================
   1920px+: lock main image to 776x600
   ======================================= */
@media (min-width: 1920px) {
  .product-hero__grid {
    grid-template-columns: 776px minmax(0, 1fr);
    column-gap: 150px;
  }

  .image-with-hotspots {
    width: 776px;
    height: 600px;
  }

  .image-with-hotspots img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
}

/* =========================
  PRODUCT LINES (CAROUSEL)
========================= */

.product-lines .row {
  max-width: 1560px; /* matches your pattern */
  margin: 0 auto;
}

.product-lines__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.product-lines__title .red_text {
  display: inline-block;
  color: #e30613;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-lines__title h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  color: #111;
}

.product-lines__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.pl-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(227, 6, 19, 0.35);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.pl-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(227, 6, 19, 0.7);
}

.pl-nav span {
  color: #e30613;
  font-size: 14px;
  line-height: 1;
}

.product-lines__slider {
  width: 100%;
  overflow: hidden;
}

/* Card */
.pl-card {
  position: relative;
  height: 500px;
  border-radius: 14px;
  overflow: hidden;
}

.pl-card__media {
  position: absolute;
  inset: 0;
}

.pl-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content pinned bottom */
.pl-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 20px;

  padding: 30px;
  color: #fff;
}

.pl-card__content h3 {
  color: #fff;

  /* H3 */
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.pl-card__content p {
  color: #fff;

  /* P */
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.pl-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e30613;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  width: 25%;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.pl-card__btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

/* Swiper spacing */
.product-lines .swiper-wrapper {
  align-items: stretch;
}

.product-lines .swiper-slide {
  height: auto;
}

@media (max-width: 991px) {
  .pl-card {
    height: 340px;
  }
}

@media (max-width: 767px) {
  .product-lines__top {
    align-items: flex-start;
  }
}
