/* =========================================================
   SPIZA PRODUCTS PAGE
========================================================= */

.products-page {
  background: #f7f3ea;
}

.products-container {
  width: min(1200px, 88%);
  margin: 0 auto;
}

.products-page h1,
.products-page h2,
.products-page h3 {
  font-family: "Playfair Display", serif;
}

.products-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.products-eyebrow.dark {
  color: #b56a32;
}


/* =========================================================
   HEADER ON PRODUCTS PAGE
========================================================= */

body:has(.products-page) .site-header {
  background: rgba(16, 44, 37, 0.98);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}


/* =========================================================
   HERO
========================================================= */

.products-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #173c32;
}

.products-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("images/O.jpg")
    center center / cover no-repeat;
  transform: scale(1.03);
}

.products-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8,25,20,0.90) 0%,
      rgba(8,25,20,0.60) 48%,
      rgba(8,25,20,0.22) 100%
    );
}

.products-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 100px;
}

.products-hero-content {
  max-width: 850px;
}

.products-hero-content h1 {
  margin: 0 0 28px;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 1.05;
}

.products-hero-content h1 span {
  display: block;
  color: #e8b783;
}

.products-hero-content p {
  max-width: 650px;
  color: rgba(255,255,255,0.82);
  font-size: 1.06rem;
  line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.products-intro {
  padding: 120px 0;
  background: #fff;
}

.products-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.products-intro-heading h2 {
  color: #173c32;
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  line-height: 1.1;
}

.products-intro-heading h2 span {
  display: block;
  color: #b56a32;
}

.products-intro-copy {
  max-width: 650px;
}

.products-intro-copy p {
  margin-bottom: 18px;
  color: #67736d;
  line-height: 1.85;
}


/* =========================================================
   FILTER
========================================================= */

.products-filter-section {
  padding: 85px 0 35px;
  background: #f7f3ea;
}

.products-filter-header {
  max-width: 700px;
  margin-bottom: 35px;
}

.products-filter-header h2 {
  color: #173c32;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.products-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.products-filter-bar .filter-btn {
  border: 1px solid rgba(23,60,50,0.16);
  background: transparent;
  color: #173c32;
  padding: 11px 18px;
  border-radius: 30px;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
}

.products-filter-bar .filter-btn:hover,
.products-filter-bar .filter-btn.active {
  background: #173c32;
  color: #fff;
  border-color: #173c32;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.products-grid-section {
  padding: 40px 0 120px;
  background: #f7f3ea;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(23,60,50,0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(23,60,50,0.11);
}

.product-image {
  height: 320px;
  overflow: hidden;
  background: #ece9e2;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 30px;
}

.product-category {
  display: block;
  margin-bottom: 10px;
  color: #b56a32;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.product-content h3 {
  color: #173c32;
  font-size: 1.65rem;
  margin-bottom: 14px;
}

.product-content > p {
  color: #67736d;
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  margin-bottom: 23px;
  border-top: 1px solid rgba(23,60,50,0.10);
}

.product-meta span {
  padding: 6px 10px;
  background: #f7f3ea;
  color: #53615b;
  font-size: 0.72rem;
  border-radius: 20px;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.product-btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 17px;
  background: #b56a32;
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  transition: 0.3s ease;
}

.product-btn-primary:hover {
  background: #934f22;
}

.product-link {
  color: #173c32;
  font-size: 0.83rem;
  font-weight: 600;
}


/* =========================================================
   B2B
========================================================= */

.products-b2b {
  padding: 120px 0;
  background: #173c32;
  color: #fff;
}

.products-b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.products-b2b-content h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  margin-bottom: 25px;
}

.products-b2b-content h2 span {
  display: block;
  color: #e8b783;
}

.products-b2b-content p {
  max-width: 600px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 30px;
}

.products-b2b-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.products-b2b-points {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
}

.b2b-point {
  padding: 32px;
  background: #173c32;
}

.b2b-point span {
  color: #e8b783;
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.b2b-point h3 {
  margin: 15px 0 10px;
  font-size: 1.3rem;
}

.b2b-point p {
  color: rgba(255,255,255,0.64);
  font-size: 0.86rem;
}


/* =========================================================
   FINAL CTA
========================================================= */

.products-final-cta {
  position: relative;
  padding: 130px 0;
  background:
    url("images/N.jpg")
    center center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.products-final-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,25,20,0.88);
}

.products-final-cta .products-container {
  position: relative;
  z-index: 2;
}

.products-final-content {
  max-width: 850px;
  margin: auto;
}

.products-final-content h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  margin-bottom: 25px;
}

.products-final-content h2 span {
  color: #e8b783;
}

.products-final-content p {
  max-width: 650px;
  margin: 0 auto 35px;
  color: rgba(255,255,255,0.74);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

  .products-intro-grid,
  .products-b2b-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

}

@media (max-width: 600px) {

  .products-container {
    width: 88%;
  }

  .products-hero {
    min-height: 700px;
  }

  .products-hero-inner {
    padding-top: 155px;
    padding-bottom: 80px;
  }

  .products-hero-content h1 {
    font-size: 3rem;
  }

  .products-intro {
    padding: 80px 0;
  }

  .products-filter-section {
    padding-top: 70px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 300px;
  }

  .products-b2b {
    padding: 90px 0;
  }

  .products-b2b-points {
    grid-template-columns: 1fr;
  }

  .products-b2b-actions {
    flex-direction: column;
  }

  .products-b2b-actions .btn {
    width: 100%;
  }

  .products-final-cta {
    padding: 90px 0;
  }

}

/* =========================================================
   STEP 13 - PRODUCTS MOBILE POLISH
========================================================= */

@media (max-width: 900px) {

  .products-hero-inner {
    padding-top: 185px;
  }

  .products-intro-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .products-b2b-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

}


@media (max-width: 600px) {

  .products-container {
    width: 88%;
  }

  .products-hero {
    min-height: 700px;
  }

  .products-hero-inner {
    padding-top: 175px;
    padding-bottom: 75px;
  }

  .products-hero-content h1 {
    font-size: 3rem;
  }

  .products-hero-content p {
    font-size: 0.95rem;
  }

  .products-intro {
    padding: 75px 0;
  }

  .products-filter-section {
    padding-top: 65px;
  }

  .products-filter-bar {
    gap: 8px;
  }

  .products-filter-bar .filter-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 290px;
  }

  .product-content {
    padding: 26px 22px;
  }

  .products-b2b {
    padding: 80px 0;
  }

  .products-b2b-points {
    grid-template-columns: 1fr;
  }

  .products-b2b-actions {
    flex-direction: column;
  }

  .products-b2b-actions .btn {
    width: 100%;
  }

  .products-final-cta {
    padding: 85px 0;
  }

}

.products-empty {
    max-width: 750px;
    margin: 40px auto;
    padding: 70px 40px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 15px 45px rgba(23, 60, 50, 0.06);
}

.products-empty h2 {
    margin-bottom: 20px;
    color: #173c32;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.products-empty p {
    max-width: 550px;
    margin: 0 auto 30px;
    color: #67736d;
}