
/* =========================================
   ADEL PRODUCTS PAGE
   Theme: Navy Blue, Cyan and White
========================================= */

.products-page {
  margin: 0;
  background: #f4f7fa;
  color: #0b2338;
  font-family: "Manrope", sans-serif;
}

.products-page *,
.products-page *::before,
.products-page *::after {
  box-sizing: border-box;
}

.products-page img {
  max-width: 100%;
}

.products-container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.products-page .site-header {
  z-index: 1000;
}

/* Hero */

.products-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(3, 22, 38, 0.97) 0%,
      rgba(3, 22, 38, 0.88) 42%,
      rgba(3, 22, 38, 0.35) 100%
    ),
    url("../images/products/products-hero.jpg")
    center 45% / cover no-repeat,
    #071d30;
}

.products-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      rgba(0, 174, 239, 0.12),
      transparent 45%
    );
}

.products-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 174, 239, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.products-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 75px;
  padding-bottom: 80px;
}

.products-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: #9cddf5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.products-eyebrow > span {
  display: inline-block;
  width: 35px;
  height: 2px;
  background: #00aeef;
}

.products-hero h1,
.products-intro h2,
.product-enquiry-layout h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.7px;
}

.products-hero h1 em,
.products-intro h2 em,
.product-enquiry-layout h2 em {
  color: #00aeef;
  font-style: normal;
}

.products-hero-content > p {
  max-width: 550px;
  margin: 22px 0 28px;
  color: #d3e0eb;
  font-size: 14px;
  line-height: 1.9;
}

.products-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #00aeef;
  border-radius: 2px;
  background: #0798ef;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.products-button:hover {
  background: #00aeef;
  transform: translateY(-2px);
}

.products-button span {
  font-size: 17px;
}

.products-hero-index {
  position: absolute;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 25px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.products-hero-index span {
  color: #8acfe9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.products-hero-index strong {
  font-size: 12px;
  letter-spacing: 1px;
}

/* Intro */

.products-intro {
  padding: 58px 0 34px;
  background: #f4f7fa;
}

.products-intro-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 48px;
}

.products-eyebrow-dark {
  color: #526e84;
}

.products-intro h2 {
  color: #0b2338;
  font-size: clamp(34px, 4vw, 48px);
}

.products-intro-layout > p {
  max-width: 500px;
  margin: 0 0 4px auto;
  color: #62778a;
  font-size: 13px;
  line-height: 1.9;
}

/* Catalogue */

.products-catalog {
  padding: 10px 0 76px;
  background: #f4f7fa;
}

.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9e4ed;
}

.product-filter {
  padding: 10px 16px;
  border: 1px solid #d5e0e9;
  border-radius: 2px;
  background: #fff;
  color: #385269;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.product-filter:hover,
.product-filter.active {
  border-color: #00aeef;
  background: #071d30;
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe7ee;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(9, 34, 54, 0.045);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 174, 239, 0.7);
  box-shadow: 0 12px 28px rgba(9, 34, 54, 0.12);
}

.product-card[hidden] {
  display: none;
}

.product-card-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 215px;
  overflow: hidden;
  border-bottom: 1px solid #e5edf3;
  background: #e9eef3;
}

.product-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image > img {
  transform: scale(1.045);
}

.product-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(0, 174, 239, 0.45);
  background: rgba(7, 29, 48, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.product-image-fallback {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 174, 239, 0.17),
      transparent 60%
    ),
    #e8eef4;
  color: #0b2338;
  text-align: center;
}

.product-image-fallback > span {
  color: #009fdb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
}

.product-image-fallback > strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.product-image-fallback > small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.product-card-content {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
}

.product-category-label {
  margin-bottom: 10px;
  color: #009fdc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.product-card-content h3 {
  margin: 0 0 10px;
  color: #0b2338;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.product-card-content p {
  margin: 0 0 20px;
  color: #647a8e;
  font-size: 12px;
  line-height: 1.8;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: #008fd0;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.product-link span {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.product-link:hover {
  color: #006ca3;
}

.product-link:hover span {
  transform: translateX(4px);
}

.products-disclaimer {
  margin: 28px 0 0;
  color: #718397;
  font-size: 11px;
  line-height: 1.8;
}

/* Enquiry CTA */

.product-enquiry-section {
  position: relative;
  overflow: hidden;
  padding: 66px 0;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(0, 174, 239, 0.15),
      transparent 35%
    ),
    #071d30;
  color: #fff;
}

.product-enquiry-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.product-enquiry-layout h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.product-enquiry-layout > div > p {
  max-width: 600px;
  margin: 18px 0 0;
  color: #c2d2df;
  font-size: 13px;
  line-height: 1.9;
}

.products-button-light {
  flex-shrink: 0;
  background: transparent;
  color: #fff;
}

.products-button-light:hover {
  background: #0798ef;
}

/* Footer */

.products-footer {
  padding: 30px 0;
  background: #041522;
  color: #c3d1dc;
}

.products-footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.products-footer-brand {
  display: inline-flex;
  align-items: center;
  max-width: 175px;
}

.products-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.products-footer-layout > p {
  max-width: 330px;
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
}

.products-footer-layout > a:not(.products-footer-brand) {
  color: #00aeef;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.products-footer-layout > span {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #91a5b5;
  font-size: 10px;
}

/* Responsive */

@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-intro-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .products-intro-layout > p {
    margin-left: 0;
  }

  .product-enquiry-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .products-container {
    width: min(100% - 32px, 600px);
  }

  .products-hero {
    min-height: 390px;
    background-position: 58% center;
  }

  .products-hero-content {
    padding-top: 60px;
    padding-bottom: 65px;
  }

  .products-hero h1 {
    font-size: clamp(39px, 10vw, 55px);
  }

  .products-hero-content > p {
    font-size: 13px;
  }

  .products-hero-index {
    right: 16px;
    bottom: 16px;
  }

  .products-intro {
    padding-top: 42px;
  }

  .products-intro h2 {
    font-size: 36px;
  }

  .products-catalog {
    padding-bottom: 50px;
  }

  .product-filter-bar {
    gap: 8px;
  }

  .product-filter {
    padding: 9px 11px;
    font-size: 10px;
  }

  .product-card-image {
    height: 175px;
  }

  .product-card-content {
    padding: 17px 14px;
  }

  .product-card-content h3 {
    font-size: 14px;
  }

  .product-card-content p {
    font-size: 11px;
  }

  .products-footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card-image {
    height: 230px;
  }

  .product-card-content {
    min-height: 195px;
    padding: 20px;
  }

  .products-hero h1 {
    font-size: 40px;
  }

  .products-intro h2 {
    font-size: 32px;
  }

  .products-hero-index {
    display: none;
  }
}
