:root {
  --catalog-gold: #b68a44;
  --catalog-dark-gold: #8f682f;
  --catalog-brown: #3d281d;
  --catalog-espresso: #21140f;
  --catalog-ivory: #fbf8f1;
  --catalog-line: rgba(90, 62, 39, 0.18);
}

.catalogue-page,
.product-page {
  background: var(--catalog-ivory);
  color: var(--catalog-brown);
}

.catalogue-header {
  background: rgba(251, 248, 241, 0.96);
}

.catalogue-hero {
  min-height: 460px;
  padding: clamp(70px, 9vw, 130px) clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.55fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 35%, rgba(214, 177, 111, 0.26), transparent 27%),
    linear-gradient(135deg, #f7f0e4, #fffdf8);
  border-bottom: 1px solid var(--catalog-line);
}

.catalogue-hero h1 {
  margin: 8px 0 24px;
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.catalogue-hero h1 em {
  color: var(--catalog-gold);
  font-weight: inherit;
}

.catalogue-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.catalogue-hero img {
  justify-self: center;
  width: min(100%, 380px);
  filter: drop-shadow(0 24px 35px rgba(64, 41, 24, 0.18));
}

.catalogue-shell {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 110px;
}

.catalogue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.catalogue-heading h2,
.product-content-section h2,
.product-support-banner h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.catalogue-status {
  margin-bottom: 25px;
  padding: 15px 18px;
  border: 1px solid var(--catalog-line);
  background: #fff;
  font-size: 0.9rem;
}

.catalogue-status-ready {
  color: #65513e;
}

.catalogue-status-error {
  color: #8c2828;
  border-color: rgba(140, 40, 40, 0.3);
  background: #fff8f8;
}

.catalogue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.catalogue-filter {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--catalog-line);
  border-radius: 999px;
  background: transparent;
  color: var(--catalog-brown);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalogue-filter:hover,
.catalogue-filter.active {
  background: var(--catalog-brown);
  border-color: var(--catalog-brown);
  color: #fff;
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(280px, 1fr);
  gap: 18px;
  margin-bottom: 42px;
  padding: 22px;
  background: #f1eadf;
}

.catalogue-toolbar label {
  display: grid;
  gap: 8px;
}

.catalogue-toolbar label span {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

.catalogue-toolbar input,
.catalogue-toolbar select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(75, 50, 31, 0.25);
  background: #fff;
  color: var(--catalog-brown);
  font: inherit;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--catalog-line);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(70, 45, 27, 0.11);
}

.product-card-image {
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, #fff, #f2ebdf);
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  transition: transform 300ms ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.025);
}

.product-card-body {
  padding: 25px 25px 28px;
}

.product-card-collection {
  margin: 0 0 9px;
  color: var(--catalog-dark-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 1.05;
}

.product-card h2 a {
  color: inherit;
  text-decoration: none;
}

.product-card-series {
  margin: 9px 0 16px;
  color: #7c6756;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-description {
  min-height: 80px;
  margin: 0;
  color: #5e5147;
  line-height: 1.58;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 21px 0;
}

.product-card-badge {
  padding: 7px 9px;
  background: #f5efe6;
  color: #594536;
  font-size: 0.72rem;
}

.product-card-link {
  color: var(--catalog-dark-gold);
  font-weight: 700;
  text-decoration: none;
}

.catalogue-empty {
  padding: 80px 25px;
  text-align: center;
}

.catalogue-empty img {
  width: min(190px, 55vw);
}

.product-loading {
  width: min(1400px, calc(100% - 48px));
  margin: 60px auto;
}

.product-breadcrumb {
  width: min(1400px, calc(100% - 48px));
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #796654;
  font-size: 0.82rem;
}

.product-breadcrumb a {
  color: inherit;
}

.product-overview {
  width: min(1400px, calc(100% - 48px));
  margin: 34px auto 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(42px, 7vw, 105px);
  align-items: start;
}

.product-main-image-wrap {
  min-height: 600px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 55px);
  background:
    radial-gradient(circle at center, #fff, #eee4d5);
  border: 1px solid var(--catalog-line);
}

.product-main-image {
  width: 100%;
  max-height: 570px;
  object-fit: contain;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.product-thumbnail {
  min-height: 92px;
  padding: 5px;
  border: 1px solid var(--catalog-line);
  background: #fff;
  cursor: pointer;
}

.product-thumbnail.active {
  border-color: var(--catalog-gold);
  box-shadow: inset 0 0 0 1px var(--catalog-gold);
}

.product-thumbnail img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.product-summary {
  padding-top: 30px;
}

.product-summary h1 {
  margin: 12px 0;
  font-size: clamp(3rem, 6vw, 6.3rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.product-series {
  color: var(--catalog-dark-gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-introduction {
  margin: 26px 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.specification-pills {
  display: grid;
  gap: 1px;
  margin: 30px 0;
  border: 1px solid var(--catalog-line);
  background: var(--catalog-line);
}

.specification-pill {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 20px;
  padding: 16px 18px;
  background: #fff;
}

.specification-pill span {
  color: #806c59;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-price-note {
  margin-top: 20px;
  color: #7b6a5d;
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-content-section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
  border-top: 1px solid var(--catalog-line);
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.product-highlight {
  min-height: 230px;
  padding: 28px;
  background: var(--catalog-brown);
  color: #fff;
}

.product-highlight-number {
  color: #d9b675;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.product-highlight h3 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.product-highlight p {
  margin: 0;
  color: #eadfd5;
  line-height: 1.6;
}

.product-description {
  max-width: 980px;
  margin-top: 35px;
  color: #4f433a;
  line-height: 1.78;
}

.product-description h1,
.product-description h2,
.product-description h3 {
  margin-top: 38px;
  color: var(--catalog-brown);
}

.product-description p:empty,
.product-description p:has(br:only-child) {
  display: none;
}

.product-description li {
  margin-bottom: 10px;
}

.product-support-banner {
  margin-top: 40px;
  padding: 75px clamp(24px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px) auto;
  align-items: center;
  gap: 40px;
  background: var(--catalog-espresso);
  color: #fff;
}

.product-support-banner img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.product-support-banner .product-actions {
  display: grid;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-support-banner {
    grid-template-columns: 1fr minmax(140px, 220px);
  }

  .product-support-banner .product-actions {
    grid-column: 1 / -1;
    display: flex;
  }
}

@media (max-width: 720px) {
  .catalogue-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .catalogue-hero img {
    width: min(260px, 68vw);
  }

  .catalogue-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalogue-toolbar {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-highlights {
    grid-template-columns: 1fr;
  }

  .product-card-description {
    min-height: auto;
  }

  .product-main-image-wrap {
    min-height: 360px;
  }

  .product-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-thumbnail {
    min-height: 72px;
  }

  .product-thumbnail img {
    height: 60px;
  }

  .specification-pill {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-support-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-support-banner img {
    width: min(220px, 70vw);
    margin: auto;
  }

  .product-support-banner .product-actions {
    justify-content: center;
  }
}

/* CLOUDE seven-point Comfort Code */

.comfort-code-card {
  margin: 28px 0 30px;
  padding: 25px;
  border: 1px solid rgba(182, 138, 68, 0.42);
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(214, 177, 111, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #fffdf8, #f4ecdf);
}

.comfort-code-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 20px;
}

.comfort-code-kicker {
  grid-column: 1 / -1;
  margin: 0 0 11px;
  color: var(--catalog-dark-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.comfort-code-result {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.comfort-code-result strong {
  color: var(--catalog-brown);
  font-size: clamp(3.7rem, 6vw, 5.8rem);
  letter-spacing: -0.07em;
}

.comfort-code-result span {
  margin-left: 7px;
  color: var(--catalog-dark-gold);
  font-size: 1.1rem;
  font-weight: 700;
}

.comfort-code-copy h2 {
  margin: 0 0 9px;
  color: var(--catalog-brown);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.comfort-code-scale {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin: 23px 0;
}

.comfort-code-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  color: #887565;
  text-align: center;
}

.comfort-code-step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  z-index: 0;
  width: 100%;
  height: 2px;
  background: #ded1c0;
}

.comfort-code-step:first-child::before {
  display: none;
}

.comfort-code-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #cdbda9;
  border-radius: 50%;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.comfort-code-step small {
  max-width: 70px;
  font-size: 0.6rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.comfort-code-step.active {
  color: var(--catalog-brown);
}

.comfort-code-step.active .comfort-code-dot {
  border-color: var(--catalog-gold);
  background: var(--catalog-gold);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(182, 138, 68, 0.15);
}

.button-comfort-code {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--catalog-brown);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.button-comfort-code:hover {
  background: var(--catalog-espresso);
}

/* Premium line icons for product highlights */

.product-highlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(217, 182, 117, 0.14),
      transparent 32%
    ),
    var(--catalog-brown);
}

.product-highlight-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(217, 182, 117, 0.65);
  border-radius: 50%;
}

.product-highlight-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #d9b675;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-highlight h3 {
  margin-top: 18px;
}

@media (max-width: 720px) {
  .comfort-code-card {
    padding: 21px 17px;
  }

  .comfort-code-copy {
    grid-template-columns: 1fr;
  }

  .comfort-code-copy h2 {
    margin-top: 5px;
  }

  .comfort-code-scale {
    overflow-x: auto;
    grid-template-columns: repeat(7, 74px);
    padding: 8px 3px 10px;
  }
}


/* V6-F11A-R2 premium product structure */

.product-main-image-wrap {
  position: relative;
  width: 100%;
  height: clamp(430px, 42vw, 620px);
  min-height: 0;
  overflow: hidden;
}

.product-main-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 220ms ease,
    transform 320ms ease;
}

.product-main-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.product-image-label {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(182, 138, 68, 0.38);
  background: rgba(255, 253, 248, 0.94);
  color: var(--catalog-dark-gold);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.product-thumbnails {
  grid-template-columns:
    repeat(auto-fit, minmax(90px, 1fr));
}

.product-thumbnail {
  position: relative;
  height: 112px;
  min-height: 112px;
  overflow: hidden;
  padding: 6px 6px 24px;
}

.product-thumbnail img {
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.product-thumbnail-label {
  position: absolute;
  right: 4px;
  bottom: 5px;
  left: 4px;
  overflow: hidden;
  color: #756354;
  font-size: 0.54rem;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-thumbnail.active .product-thumbnail-label {
  color: var(--catalog-dark-gold);
}

.smart-feature-section {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--catalog-line);
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(216, 181, 117, 0.18),
      transparent 28%
    ),
    #fffdf9;
}

.smart-feature-heading {
  margin-bottom: 22px;
}

.smart-feature-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.smart-feature-icons {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.smart-feature-card {
  min-width: 0;
  min-height: 155px;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: start;
  gap: 15px;
  border: 1px solid rgba(182, 138, 68, 0.24);
  background:
    linear-gradient(145deg, #fff, #f4ebdd);
  box-shadow:
    0 14px 30px rgba(65, 42, 25, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.smart-feature-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 22px 38px rgba(65, 42, 25, 0.14);
}

.smart-feature-icon-shell {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(182, 138, 68, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff, #efe0c8);
  box-shadow:
    0 9px 18px rgba(92, 60, 34, 0.12);
}

.smart-feature-icon-shell svg,
.specification-card-icon svg {
  fill: none;
  stroke: var(--catalog-dark-gold);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smart-feature-icon-shell svg {
  width: 33px;
  height: 33px;
}

.smart-feature-copy h3 {
  margin: 4px 0 8px;
  font-size: 1rem;
  line-height: 1.15;
}

.smart-feature-copy p {
  margin: 0;
  color: #6d5b4c;
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-decision-specs {
  margin: 24px 0;
}

.decision-specs-heading {
  margin-bottom: 15px;
}

.decision-specs-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  line-height: 1.05;
}

.product-decision-specs .specification-pills {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 0;
  background: transparent;
}

.specification-card {
  min-width: 0;
  min-height: 145px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid var(--catalog-line);
  background: #fff;
}

.specification-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3eadc;
}

.specification-card-icon svg {
  width: 25px;
  height: 25px;
}

.specification-card-copy {
  display: grid;
  gap: 7px;
}

.specification-card-copy span {
  color: #8a7562;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.specification-card-copy strong {
  color: var(--catalog-brown);
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .product-decision-specs .specification-pills {
    grid-template-columns: 1fr;
  }

  .specification-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .product-main-image-wrap {
    height: min(88vw, 430px);
  }

  .product-thumbnails {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .product-thumbnail {
    flex: 0 0 92px;
    scroll-snap-align: start;
  }

  .smart-feature-section {
    margin-top: 25px;
    padding: 21px 16px;
  }

  .smart-feature-icons {
    grid-template-columns: 1fr;
  }

  .smart-feature-card {
    min-height: auto;
  }
}

/* V6-F11B interactive gallery and mobile actions */

.product-main-image {
  cursor: zoom-in;
}

.product-image-zoom {
  position: absolute;
  right: 17px;
  bottom: 17px;
  z-index: 3;
  min-height: 39px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(182, 138, 68, 0.45);
  background: rgba(255, 253, 248, 0.94);
  color: var(--catalog-brown);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.product-image-zoom span {
  font-size: 1.2rem;
  line-height: 0;
}

.product-image-zoom:hover {
  transform: translateY(-2px);
  border-color: var(--catalog-gold);
  background: #fff;
}

.lightbox-open {
  overflow: hidden;
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-lightbox.open {
  opacity: 1;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 13, 8, 0.88);
  backdrop-filter: blur(8px);
}

.product-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 94vw);
  height: min(860px, 92vh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(217, 182, 117, 0.48);
  background: #f8f2e8;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(12px) scale(0.985);
  transition: transform 220ms ease;
}

.product-lightbox.open .product-lightbox-panel {
  transform: translateY(0) scale(1);
}

.product-lightbox-header,
.product-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-color: rgba(94, 65, 43, 0.16);
}

.product-lightbox-header {
  border-bottom: 1px solid rgba(94, 65, 43, 0.16);
}

.product-lightbox-footer {
  border-top: 1px solid rgba(94, 65, 43, 0.16);
  color: #6d5b4c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-lightbox-title {
  margin: 0;
  color: var(--catalog-brown);
  font-weight: 800;
}

.product-lightbox-meta {
  margin: 3px 0 0;
  color: #806b59;
  font-size: 0.73rem;
}

.product-lightbox-close {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(94, 65, 43, 0.25);
  border-radius: 50%;
  background: #fff;
  color: var(--catalog-brown);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.product-lightbox-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px 76px;
  touch-action: pan-y;
}

.product-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.product-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(182, 138, 68, 0.42);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.95);
  color: var(--catalog-brown);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.product-lightbox-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.product-lightbox-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-lightbox-previous {
  left: 18px;
}

.product-lightbox-next {
  right: 18px;
}

.product-mobile-actions {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .product-image-zoom {
    right: 11px;
    bottom: 11px;
  }

  .product-lightbox {
    padding: 0;
  }

  .product-lightbox-panel {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }

  .product-lightbox-header,
  .product-lightbox-footer {
    padding: 14px 15px;
  }

  .product-lightbox-stage {
    padding: 12px 8px 72px;
  }

  .product-lightbox-arrow {
    top: auto;
    bottom: 12px;
    width: 45px;
    height: 45px;
    transform: none;
  }

  .product-lightbox-arrow:hover {
    transform: scale(1.04);
  }

  .product-lightbox-previous {
    left: calc(50% - 58px);
  }

  .product-lightbox-next {
    right: calc(50% - 58px);
  }

  .product-mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9800;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 62px;
    padding:
      7px
      max(8px, env(safe-area-inset-right))
      calc(7px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    gap: 7px;
    border-top: 1px solid rgba(182, 138, 68, 0.28);
    background: rgba(255, 253, 248, 0.97);
    box-shadow: 0 -10px 30px rgba(52, 31, 19, 0.12);
    backdrop-filter: blur(12px);
  }

  .product-mobile-action {
    min-width: 0;
    min-height: 47px;
    display: grid;
    place-items: center;
    padding: 8px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  .product-mobile-action-gold {
    background: var(--catalog-gold);
  }

  .product-mobile-action-brown {
    background: var(--catalog-brown);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-lightbox,
  .product-lightbox-panel,
  .product-image-zoom,
  .product-lightbox-arrow {
    transition: none;
  }
}


/* V6-F11B-R3 mobile gallery polish */

/* Accessible CLOUDE-branded focus treatment */
.product-main-image:focus,
.product-image-zoom:focus,
.product-lightbox-close:focus,
.product-lightbox-arrow:focus {
  outline: none;
}

.product-main-image:focus-visible,
.product-image-zoom:focus-visible,
.product-lightbox-close:focus-visible,
.product-lightbox-arrow:focus-visible {
  outline: 2px solid var(--catalog-gold);
  outline-offset: 3px;
}

/* Prevent grid children and media from forcing horizontal overflow */
.product-overview,
.product-gallery,
.product-summary,
.product-main-image-wrap,
.product-thumbnails {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .product-overview {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-gallery,
  .product-summary {
    width: 100%;
    min-width: 0;
  }

  .product-main-image-wrap {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .product-main-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .product-thumbnails {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .product-thumbnail {
    flex: 0 0 108px;
  }

  .product-lightbox-stage {
    min-height: 0;
    padding:
      16px
      10px
      78px;
  }

  .product-lightbox-image {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 250px);
    object-fit: contain;
  }

  .product-lightbox-header {
    min-height: 90px;
  }

  .product-lightbox-footer {
    min-height: 58px;
  }
}

/* V6-F11C Product Story accordions */

.product-description-section {
  max-width: 1120px;
}

.product-story-intro {
  max-width: 920px;
  margin: 28px 0 34px;
  color: #58483c;
  font-size: 1rem;
  line-height: 1.75;
}

.product-story-intro p {
  margin: 0 0 15px;
}

.product-story-intro p:first-child {
  color: var(--catalog-brown);
  font-weight: 700;
}

.product-story-accordions {
  display: grid;
  gap: 12px;
  max-width: 1020px;
}

.product-story-accordion {
  overflow: hidden;
  border: 1px solid rgba(182, 138, 68, 0.3);
  background: #fffdf9;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-story-accordion:has(
  .product-story-accordion-button[aria-expanded="true"]
) {
  border-color: rgba(182, 138, 68, 0.58);
  box-shadow: 0 14px 34px rgba(68, 43, 27, 0.08);
}

.product-story-accordion-button {
  width: 100%;
  min-height: 72px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--catalog-brown);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-story-accordion-button:hover {
  background: rgba(242, 231, 213, 0.48);
}

.product-story-accordion-button:focus {
  outline: none;
}

.product-story-accordion-button:focus-visible {
  outline: 2px solid var(--catalog-gold);
  outline-offset: -3px;
}

.product-story-accordion-title {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 800;
}

.product-story-accordion-symbol {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(182, 138, 68, 0.48);
  border-radius: 50%;
  color: var(--catalog-dark-gold);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.product-story-accordion-button[aria-expanded="true"]
.product-story-accordion-symbol {
  background: var(--catalog-brown);
  color: #fff;
}

.product-story-accordion-panel {
  padding: 4px 24px 28px;
  color: #56473c;
  line-height: 1.7;
}

.product-story-accordion-panel[hidden] {
  display: none;
}

.product-story-accordion-panel p {
  margin: 0 0 16px;
}

.product-story-accordion-panel ol,
.product-story-accordion-panel ul {
  margin: 10px 0 0;
  padding-left: 1.5rem;
}

.product-story-accordion-panel li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.product-story-accordion-panel strong {
  color: var(--catalog-brown);
}

.product-description-source {
  display: none !important;
}

/* Repeated product-highlight cards are no longer required */
#product-highlights-section {
  display: none !important;
}

@media (max-width: 720px) {
  .product-description-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .product-description-section > h2 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
    line-height: 0.98;
  }

  .product-story-intro {
    margin-top: 22px;
    margin-bottom: 26px;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .product-story-accordion-button {
    min-height: 65px;
    padding: 15px 16px;
  }

  .product-story-accordion-title {
    font-size: 1rem;
  }

  .product-story-accordion-symbol {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .product-story-accordion-panel {
    padding: 2px 17px 22px;
    font-size: 0.91rem;
    line-height: 1.65;
  }

  .product-story-accordion-panel ol,
  .product-story-accordion-panel ul {
    padding-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-story-accordion {
    transition: none;
  }
}

/* V6-F11C-R1 compact accordion panels */

.product-story-accordion-panel {
  min-height: 0 !important;
  height: auto !important;
}

.product-story-accordion-panel > :first-child {
  margin-top: 0 !important;
}

.product-story-accordion-panel > :last-child {
  margin-bottom: 0 !important;
}

.product-story-accordion-panel p:empty,
.product-story-accordion-panel br:first-child {
  display: none;
}

.product-story-accordion-panel ol,
.product-story-accordion-panel ul {
  min-height: 0;
  height: auto;
  margin-top: 4px;
  margin-bottom: 0;
}

.product-story-accordion-panel li:last-child {
  margin-bottom: 0;
}

.product-story-accordion-button[aria-expanded="true"]
  + .product-story-accordion-panel {
  padding-top: 8px;
}

@media (max-width: 720px) {
  .product-story-accordion-button[aria-expanded="true"]
    + .product-story-accordion-panel {
    padding-top: 5px;
  }
}


/* V6-F11D-A Clo support banner */

.product-support-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  padding: 45px 48px;
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(220px, 0.7fr)
    minmax(190px, 0.55fr);
  align-items: center;
  gap: 30px;
  background:
    radial-gradient(
      circle at 70% 25%,
      rgba(221, 187, 126, 0.22),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #4a2a19,
      #321b11
    );
}

.product-support-banner::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(220, 183, 113, 0.28);
  pointer-events: none;
}

.product-support-banner > div:first-child {
  position: relative;
  z-index: 2;
}

.product-support-banner h2 {
  max-width: 650px;
  margin-top: 8px;
  margin-bottom: 15px;
  color: #fff8ec;
}

.product-support-banner p {
  max-width: 650px;
  color: rgba(255, 248, 236, 0.8);
}

.product-support-banner .eyebrow {
  color: #dab77b;
}

.product-support-clo {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(290px, 100%);
  margin-bottom: -45px;
  filter:
    drop-shadow(0 22px 25px rgba(19, 8, 3, 0.28));
  transform-origin: bottom center;
  animation: clo-gentle-arrival 700ms ease both;
}

.product-support-clo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-support-banner .product-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 11px;
}

.product-support-banner .button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@keyframes clo-gentle-arrival {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .product-support-banner {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .product-support-banner .product-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-support-clo {
    width: 210px;
  }
}

@media (max-width: 620px) {
  .product-support-banner {
    min-height: 0;
    padding: 34px 24px 0;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .product-support-banner h2,
  .product-support-banner p {
    margin-right: auto;
    margin-left: auto;
  }

  .product-support-clo {
    grid-row: 2;
    width: min(235px, 80vw);
    margin-bottom: -5px;
  }

  .product-support-banner .product-actions {
    grid-column: auto;
    grid-row: 3;
    grid-template-columns: 1fr;
    width: 100%;
    padding-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-support-clo {
    animation: none;
  }
}


/* V6-F11D-A1 Clo desktop balance */

@media (min-width: 901px) {
  .product-support-banner {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(300px, 0.8fr)
      minmax(250px, 0.48fr);
    gap: 24px;
  }

  .product-support-clo {
    width: min(390px, 100%);
    margin-bottom: -58px;
    transform: translateY(4px);
  }

  .product-support-banner h2 {
    max-width: 560px;
  }

  .product-support-banner .product-actions {
    width: 100%;
    max-width: 370px;
    justify-self: end;
  }
}

@media (min-width: 1200px) {
  .product-support-clo {
    width: min(430px, 100%);
  }
}

@media (max-width: 620px) {
  .product-support-clo {
    width: min(255px, 82vw);
  }
}


/* V6-F11D-A2-R1 cropped Clo presentation */

@media (min-width: 901px) {
  .product-support-clo {
    width: min(300px, 100%);
    margin-bottom: -52px;
  }

  .product-support-clo img {
    width: 100%;
    max-height: 305px;
    object-fit: contain;
  }
}

@media (min-width: 1200px) {
  .product-support-clo {
    width: min(335px, 100%);
  }
}

@media (max-width: 620px) {
  .product-support-clo {
    width: min(220px, 72vw);
  }

  .product-support-clo img {
    max-height: 300px;
  }
}


/* V6-F11D-B related products and trust strip */

.related-products-section {
  padding: 76px max(28px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--catalog-line);
  background: #f7f1e7;
}

.related-products-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.related-products-heading h2 {
  margin: 7px 0 0;
  color: var(--catalog-brown);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.related-products-view-all {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(182, 138, 68, 0.5);
  color: var(--catalog-dark-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.related-products-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.related-product-card {
  background: #fffdf9;
}

.related-product-card .product-card-image {
  aspect-ratio: 4 / 3;
}

.related-product-card .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .related-products-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .related-product-card:last-child {
    display: none;
  }
}

@media (max-width: 720px) {
  /* Keep all three product benefits readable without clipping */
  .product-page .trust-bar {
    min-height: 42px;
    height: auto;
    padding: 0 14px;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .product-page .trust-bar::-webkit-scrollbar {
    display: none;
  }

  .product-page .trust-bar span {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 13px 25px;
    font-size: 0.67rem;
    letter-spacing: 0.04em;
  }

  .product-page .trust-bar span + span {
    border-left: 1px solid rgba(216, 181, 117, 0.4);
  }

  .related-products-section {
    padding: 54px 0 62px;
    overflow: hidden;
  }

  .related-products-heading {
    padding: 0 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .related-products-heading h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .related-products-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 20px 18px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .related-products-grid::-webkit-scrollbar {
    display: none;
  }

  .related-product-card,
  .related-product-card:last-child {
    display: block;
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .related-product-card .product-card-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}


/* V6-F11D-B1 mobile related-product polish */

@media (max-width: 720px) {
  .related-products-section {
    padding-bottom: 105px;
  }

  .related-products-grid {
    gap: 12px;
    padding-right: 30px;
  }

  .related-product-card,
  .related-product-card:last-child {
    flex-basis: min(77vw, 320px);
  }

  .related-product-card .product-card-image {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .related-product-card .product-card-image img {
    object-fit: contain;
  }

  .related-product-card .product-card-body {
    padding: 23px 20px 25px;
  }

  .related-product-card h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1;
  }

  .related-product-card .product-card-description {
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-line-clamp: 4;
  }

  .related-product-card .product-card-meta {
    margin-top: 17px;
  }

  .related-product-card .product-card-link {
    display: inline-block;
    margin-top: 17px;
  }
}

/* V6-N2-D2 guided comfort filter */

.comfort-filter-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(177, 132, 65, 0.35);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #fffaf1,
      #f8efdf
    );
  color: #45291d;
}

.comfort-filter-notice[hidden] {
  display: none;
}

.comfort-filter-notice span {
  font-weight: 650;
  letter-spacing: 0.01em;
}

.comfort-filter-clear {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #93601f;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.comfort-filter-clear:hover {
  color: #45291d;
}

.comfort-filter-clear:focus-visible {
  outline: 2px solid #b88a43;
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .comfort-filter-notice {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V6-N2-D2D comfort-results landing point */

.catalogue-results-start {
  position: relative;
  scroll-margin-top: 112px;
}

@media (max-width: 900px) {
  .catalogue-results-start {
    scroll-margin-top: 92px;
  }
}
