/* =========================================================
   EVON SPACES — CATEGORY / CATALOG
========================================================= */

.cat-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}

.cat-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .08) 0%,
      rgba(47, 64, 50, .18) 35%,
      rgba(47, 64, 50, .94) 100%
    );
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 140px var(--gutter) 70px;
}

.cat-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(70px, 12vw, 150px);
}

.cat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 9px var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.cat-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.cat-index {
  font: 500 9px var(--font-display);
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .55);
}

.cat-name {
  max-width: 1100px;
  margin: 0;
  font: 600 clamp(3.5rem, 9vw, 9rem) var(--font-display);
  line-height: .84;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.cat-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-top: 45px;
}

.cat-tagline {
  max-width: 560px;
  margin: 0;
  font: 300 clamp(15px, 1.3vw, 19px)/1.65 var(--font-body);
  color: rgba(255, 255, 255, .72);
}

.cat-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 3px;
  font: 600 9px var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.cat-scroll i {
  color: var(--gold);
}


/* =========================================================
   INTRO
========================================================= */

.cat-intro {
  background: var(--white);
  padding: 2em;
}

.cat-intro-inner {
  max-width: 1500px;
  margin: auto;
}

.cat-intro-label,
.cat-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 9px var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.cat-intro-label span {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.cat-intro-content {
  max-width: 900px;
}

.cat-intro-content h2 {
  margin: 0 0 35px;
  font: 500 clamp(2.5rem, 3vw, 5.2rem) var(--font-display);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
  color: var(--green);
}

.cat-intro-content h2 em {
  font-style: normal;
  color: var(--gold);
}

.cat-intro-content p {
  max-width: 650px;
  margin: 0;
  font: 400 15px/1.9 var(--font-body);
  color: rgba(47, 64, 50, .6);
}


/* =========================================================
   PRODUCTS
========================================================= */

.cat-products {
  padding: 0 var(--gutter) clamp(120px, 14vw, 200px);
  background: var(--white);
}

.cat-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1500px;
  margin: auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(47, 64, 50, .14);
}

.cat-products-head h2 {
  margin: 18px 0 0;
  font: 600 clamp(2.5rem, 5vw, 5rem) var(--font-display);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
  color: var(--green);
}

.cat-products-head h2 em {
  font-style: normal;
  color: var(--gold);
}

.cat-products-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cat-products-count span {
  font: 500 30px var(--font-display);
  color: var(--green);
}

.cat-products-count small {
  font: 500 9px var(--font-display);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(47, 64, 50, .4);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1500px;
  margin: 35px auto 0;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.cat-card,
.cat-products-grid .service-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 500px;
  background: var(--green);
  text-decoration: none;
}

.cat-card:nth-child(3n + 2) {
  margin-top: 70px;
}

.cat-card-image,
.cat-products-grid .service-img {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
}

.cat-card-image img,
.cat-products-grid .service-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}

.cat-card::after,
.cat-products-grid .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, .8) 100%
    );
  pointer-events: none;
}

.cat-card:hover img,
.cat-products-grid .service-card:hover img {
  transform: scale(1.06);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.cat-card-content,
.cat-products-grid .service-info {
  position: absolute;
  z-index: 3;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  color: var(--white);
}

.cat-card-number {
  font: 500 9px var(--font-display);
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .55);
}

.cat-card-title,
.cat-products-grid .service-info h3 {
  margin: 0;
  font: 500 clamp(20px, 2vw, 30px) var(--font-display);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--white);
}

.cat-card-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: var(--white);
  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.cat-card:hover .cat-card-arrow {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
  transform: rotate(45deg);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.cat-empty {
  grid-column: 1 / -1;
  padding: 100px 0;
  text-align: center;
  font: 400 15px var(--font-body);
  color: rgba(47, 64, 50, .55);
}

.cat-empty a {
  color: var(--green);
  text-decoration: underline;
}


/* =========================================================
   CTA
========================================================= */

.cat-cta {
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  background: var(--green);
  color: var(--white);
}

.cat-cta-inner {
  max-width: 1500px;
  margin: auto;
}

.cat-cta h2 {
  max-width: 900px;
  margin: 25px 0 50px;
  font: 500 clamp(3rem, 7vw, 7rem) var(--font-display);
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.cat-cta h2 em {
  font-style: normal;
  color: var(--gold);
}

.cat-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 16px 20px 16px 25px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  text-decoration: none;
  font: 600 10px var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: .3s ease;
}

.cat-cta-button i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green);
}

.cat-cta-button:hover {
  background: var(--white);
  color: var(--green);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .cat-hero {
    min-height: 70vh;
  }

  .cat-hero-content {
    padding-bottom: 55px;
  }

  .cat-hero-top {
    margin-bottom: 100px;
  }

  .cat-intro-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .cat-card:nth-child(even) {
    margin-top: 50px;
  }

  .cat-card,
  .cat-products-grid .service-card {
    min-height: 480px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .cat-hero {
    min-height: 75vh;
  }

  .cat-hero-content {
    padding: 120px 20px 40px;
  }

  .cat-hero-top {
    margin-bottom: 80px;
  }

  .cat-index {
    display: none;
  }

  .cat-name {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .cat-hero-bottom {
    display: block;
    margin-top: 35px;
  }

  .cat-scroll {
    margin-top: 30px;
  }

  .cat-intro {
    padding: 90px 20px;
  }

  .cat-intro-content h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .cat-products {
    padding: 0 20px 100px;
  }

  .cat-products-head {
    align-items: flex-end;
  }

  .cat-products-head h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .cat-products-count {
    display: none;
  }

  .cat-products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cat-card:nth-child(even) {
    margin-top: 0;
  }

  .cat-card,
  .cat-products-grid .service-card {
    min-height: 460px;
  }

  .cat-card-content,
  .cat-products-grid .service-info {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .cat-card-title,
  .cat-products-grid .service-info h3 {
    font-size: 24px;
  }

  .cat-cta {
    padding: 100px 20px;
  }

  .cat-cta h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }
}




 /* =========================================================
   EVON SPACES — PRODUCT PAGE
========================================================= */

/* =========================================================
   BREADCRUMB
========================================================= */

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 125px var(--gutter) 25px;
  font: 600 9px var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(47, 64, 50, .4);
}

.pd-breadcrumb a {
  color: rgba(47, 64, 50, .4);
  text-decoration: none;
  transition: color .3s ease;
}

.pd-breadcrumb a:hover {
  color: var(--gold);
}

.pd-breadcrumb span:last-child {
  color: var(--green);
}


/* =========================================================
   PRODUCT SECTION
========================================================= */

.pd-section {
  padding: 35px var(--gutter) clamp(100px, 12vw, 170px);
}

.pd-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(50px, 8vw, 130px);
  max-width: 1500px;
  margin: auto;
  align-items: center;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.pd-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-soft);
}

.pd-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}

.pd-media:hover img {
  transform: scale(1.025);
}

.pd-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 65%,
    rgba(47, 64, 50, .4)
  );
}

.pd-media-label {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 22px;
  font: 600 8px var(--font-display);
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .75);
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.pd-info {
  max-width: 620px;
}

.pd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font: 700 9px var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.pd-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.pd-title {
  margin: 0 0 28px;
  font: 600 clamp(2.8rem, 5vw, 5.5rem) var(--font-display);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
  color: var(--green);
}

.pd-desc {
  max-width: 540px;
  margin: 0 0 40px;
  font: 400 15px/1.9 var(--font-body);
  color: rgba(47, 64, 50, .62);
}


/* =========================================================
   SWATCHES
========================================================= */

.pd-swatches {
  margin-bottom: 40px;
}

.pd-swatches-label {
  display: block;
  margin-bottom: 16px;
  font: 600 9px var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(47, 64, 50, .45);
}

.pd-swatches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-swatch {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(47, 64, 50, .2);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.pd-swatch:hover,
.pd-swatch:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--gold);
  outline: none;
}

.pd-swatch-name {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 10px;
  background: var(--green);
  color: var(--white);
  font: 600 9px var(--font-display);
  letter-spacing: .05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.pd-swatch:hover .pd-swatch-name,
.pd-swatch:focus-visible .pd-swatch-name {
  opacity: 1;
}


/* =========================================================
   ACTION
========================================================= */

.pd-actions {
  margin-top: 10px;
}

.pd-actions .button-1 {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
}

.pd-actions .button-1 i {
  font-size: 11px;
  transition: transform .3s ease;
}

.pd-actions .button-1:hover i {
  transform: translate(3px, -3px);
}


/* =========================================================
   MORE PRODUCTS
========================================================= */

.pd-more-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(100px, 12vw, 170px);
}

.pd-more-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(47, 64, 50, .14);
}

.pd-more-head h2 {
  margin: 18px 0 0;
  font: 500 clamp(2.5rem, 5vw, 5rem) var(--font-display);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
  color: var(--green);
}

.pd-more-head h2 em {
  font-style: normal;
  color: var(--gold);
}

.pd-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font: 600 9px var(--font-display);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s ease, border-color .3s ease;
}

.pd-view-all:hover {
  color: var(--gold);
  border-color: var(--gold);
}


/* =========================================================
   MORE PRODUCT GRID
========================================================= */

.pd-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.pd-more-card {
  display: block;
  overflow: hidden;
  background: var(--green);
  text-decoration: none;
}

.pd-more-card img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.pd-more-card:hover img {
  transform: scale(1.05);
}

.pd-more-card span {
  display: block;
  padding: 18px 20px;
  background: var(--white);
  color: var(--green);
  font: 500 14px var(--font-display);
  text-transform: uppercase;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.pd-empty {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter);
  text-align: center;
}

.pd-empty p {
  margin: 0 0 25px;
  font: 400 15px var(--font-body);
  color: rgba(47, 64, 50, .6);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .pd-breadcrumb {
    padding-top: 110px;
  }

  .pd-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .pd-media {
    max-width: 750px;
  }

  .pd-info {
    max-width: 700px;
  }

  .pd-title {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .pd-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .pd-breadcrumb {
    padding: 100px 20px 20px;
    font-size: 8px;
  }

  .pd-section {
    padding: 25px 20px 100px;
  }

  .pd-grid {
    gap: 45px;
  }

  .pd-media {
    aspect-ratio: 4 / 5;
  }

  .pd-title {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .pd-desc {
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.8;
  }

  .pd-swatches {
    margin-bottom: 35px;
  }

  .pd-more-section {
    padding: 0 20px 100px;
  }

  .pd-more-head {
    display: block;
  }

  .pd-more-head h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .pd-view-all {
    margin-top: 25px;
  }

  .pd-more-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pd-more-card img {
    height: 280px;
  }

  .pd-media-label {
    left: 20px;
    bottom: 18px;
  }

}

/* =========================================================
   FIX: equal-height cards
   The stagger used margin-top, which a grid counts as part of the
   card's height, so every second card came out shorter.
   translate moves the card visually without changing its size.
   (Keep this block at the END of the file so it overrides the above.)
========================================================= */
/* =========================================================
   Same size, same line — no stagger
========================================================= */
.cat-card:nth-child(n) { margin-top: 0; }