/* Catalog + product — same design bar as home, not a copy of it */

.page-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  pointer-events: none;
}

.page-nav a {
  pointer-events: auto;
}

.page-nav__back {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-nav__back:hover {
  color: var(--white);
  border-color: rgba(250, 249, 247, 0.5);
}

.page-nav--light .page-nav__back {
  color: var(--gray-600);
}

.page-nav--light .page-nav__back:hover {
  color: var(--plum);
  border-color: var(--plum);
}

/* —— Catalog hero (panel energy, shorter) —— */
.cat-hero {
  position: relative;
  min-height: clamp(260px, 38svh, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.cat-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(0.92) contrast(1.02);
  animation: cat-hero-zoom 1.3s var(--panel-ease) both;
}

@keyframes cat-hero-zoom {
  from {
    transform: scale(1.14);
    opacity: 0.65;
  }
  to {
    transform: scale(1.06);
    opacity: 1;
  }
}

.cat-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 25, 24, 0.28) 0%,
    rgba(26, 25, 24, 0.12) 38%,
    rgba(26, 25, 24, 0.55) 72%,
    rgba(94, 44, 59, 0.72) 100%
  );
}

.cat-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 5rem) clamp(2rem, 5vw, 3rem);
  color: var(--white);
  animation: brand-in 0.9s var(--panel-ease) 0.12s both;
}

.cat-hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.55);
  margin-bottom: 0.75rem;
}

.cat-hero__title {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}

.cat-hero__lead {
  margin-top: 0.9rem;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(250, 249, 247, 0.72);
}

.cat-hero__line {
  width: 48px;
  height: 1px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--plum-soft), transparent);
}

/* Shared clean catalog body */
.page-keramo,
.page-laminat {
  background: var(--gray-50);
}

.cat-body {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--gray-50);
}

.cat-section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.empty-state {
  min-height: 36vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background:
    radial-gradient(ellipse 50% 60% at 50% 30%, rgba(94, 44, 59, 0.07), transparent 65%),
    transparent;
}

.empty-state[hidden] {
  display: none !important;
}

.empty-state h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.empty-state p {
  max-width: 36ch;
  margin: 0 auto;
  color: var(--gray-400);
}

.empty-state__date {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  margin-top: 3.5rem;
}

.related a {
  background: var(--gray-50);
  padding: 1.5rem 1.25rem;
  transition: background 0.35s ease, color 0.35s ease;
}

.related a:hover {
  background: var(--gray-900);
  color: var(--white);
}

.related span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.4rem;
}

.related a:hover span {
  color: var(--warm);
}

.related strong {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 400;
}

@media (max-width: 720px) {
  .related {
    grid-template-columns: 1fr;
  }
}

/* —— Coming soon: обои / сантехника —— */
.cat-hero--soon {
  min-height: clamp(240px, 34svh, 380px);
}

.page-oboi {
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(94, 44, 59, 0.06), transparent 60%),
    var(--gray-50);
}

.page-oboi .cat-hero__media {
  filter: saturate(0.75) contrast(1.05) brightness(0.78);
}

.page-santeh {
  background:
    radial-gradient(ellipse 60% 45% at 90% 10%, rgba(90, 120, 130, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(94, 44, 59, 0.05), transparent 50%),
    var(--gray-50);
}

.page-santeh .cat-hero__media {
  filter: saturate(0.7) contrast(1.08) brightness(0.72);
}

.soon {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  margin-bottom: 0.5rem;
}

.soon__stage {
  position: relative;
  min-height: clamp(320px, 48vh, 480px);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  background: #ebe7e1;
}

.soon--wallpaper .soon__stage {
  background:
    linear-gradient(135deg, rgba(94, 44, 59, 0.08), transparent 45%),
    #e8e2d8;
}

.soon__stage--bath {
  background:
    linear-gradient(160deg, #eef1f2 0%, #d7dde1 55%, #c9d0d5 100%);
}

.soon__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.25rem, 1vw, 0.75rem) 0;
  animation: brand-in 0.85s var(--panel-ease) both;
}

.soon__kicker {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.85rem;
}

.soon__title {
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--gray-900);
  margin-bottom: 0.9rem;
  max-width: 14ch;
}

.soon__text {
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 1.4rem;
}

.soon__list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.soon__list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.soon__list em {
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--warm);
}

.soon__list span {
  font-size: 0.92rem;
  color: var(--gray-800);
}

.soon__date {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.35rem;
}

.soon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.soon__actions .btn {
  margin-top: 0;
}

/* Wallpaper stage */
.wall-swatches {
  position: absolute;
  inset: 12% 10% 18%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  align-items: end;
}

.wall-swatch {
  position: relative;
  height: 78%;
  border: 1px solid rgba(46, 44, 42, 0.12);
  box-shadow: 0 18px 36px rgba(26, 25, 24, 0.1);
  overflow: hidden;
  transform-origin: 50% 100%;
  animation: swatch-rise 1.1s var(--panel-ease) both;
}

.wall-swatch:nth-child(1) { animation-delay: 0.08s; height: 70%; }
.wall-swatch:nth-child(2) { animation-delay: 0.18s; height: 86%; }
.wall-swatch:nth-child(3) { animation-delay: 0.28s; height: 74%; }

@keyframes swatch-rise {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.wall-swatch span {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.wall-swatch--linen {
  background: linear-gradient(180deg, #f4efe6, #ddd2c2);
}

.wall-swatch--linen span:nth-child(1) {
  background:
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(94, 44, 59, 0.05) 7px 8px),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(46, 44, 42, 0.04) 9px 10px);
  animation: pattern-drift 22s linear infinite;
}

.wall-swatch--botanical {
  background: linear-gradient(160deg, #efe8df, #d7c4b4 55%, #b89284);
}

.wall-swatch--botanical span:nth-child(1) {
  background-image:
    radial-gradient(circle at 30% 28%, rgba(94, 44, 59, 0.22) 0 10px, transparent 11px),
    radial-gradient(circle at 68% 62%, rgba(94, 44, 59, 0.16) 0 7px, transparent 8px),
    radial-gradient(circle at 48% 78%, rgba(201, 168, 130, 0.35) 0 12px, transparent 13px);
  background-size: 90px 110px;
  animation: pattern-drift 28s linear infinite reverse;
}

.wall-swatch--geom {
  background: linear-gradient(180deg, #f7f3ee, #e2d6c8);
}

.wall-swatch--geom span:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(94, 44, 59, 0.14) 25%, transparent 25%),
    linear-gradient(225deg, rgba(94, 44, 59, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, rgba(94, 44, 59, 0.08) 25%, transparent 25%),
    linear-gradient(315deg, rgba(46, 44, 42, 0.06) 25%, transparent 25%);
  background-size: 28px 28px;
  animation: pattern-drift 18s linear infinite;
}

@keyframes pattern-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 48px 36px, -36px 24px, 24px -18px, -18px 12px; }
}

.wall-roll {
  position: absolute;
  right: -4%;
  bottom: 8%;
  width: 42%;
  height: 18%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(46, 44, 42, 0.08), transparent 30%),
    repeating-linear-gradient(90deg, #d9cfc0 0 10px, #cfc3b2 10px 20px);
  box-shadow: 0 14px 28px rgba(26, 25, 24, 0.14);
  transform: rotate(-8deg);
  animation: roll-in 1.2s var(--panel-ease) 0.25s both;
}

.wall-roll::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 18%;
  bottom: 18%;
  width: 14%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b9a894, #efe8dc);
  box-shadow: inset -2px 0 0 rgba(46, 44, 42, 0.08);
}

@keyframes roll-in {
  from {
    opacity: 0;
    transform: rotate(-8deg) translateX(40px);
  }
  to {
    opacity: 1;
    transform: rotate(-8deg) translateX(0);
  }
}

/* Bath stage */
.bath-ripple {
  position: absolute;
  border: 1px solid rgba(94, 44, 59, 0.18);
  border-radius: 50%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  animation: ripple 6.5s ease-out infinite;
}

.bath-ripple--a {
  width: 18%;
  aspect-ratio: 1;
  animation-delay: 0s;
}

.bath-ripple--b {
  width: 34%;
  aspect-ratio: 1;
  border-color: rgba(90, 120, 130, 0.22);
  animation-delay: 1.4s;
}

.bath-ripple--c {
  width: 52%;
  aspect-ratio: 1;
  border-color: rgba(46, 44, 42, 0.1);
  animation-delay: 2.8s;
}

@keyframes ripple {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.72);
  }
  70% {
    opacity: 0.12;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

.bath-fixtures {
  position: absolute;
  inset: auto 8% 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.bath-fixture {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  padding: 0.95rem 0.85rem;
  background: rgba(250, 249, 247, 0.72);
  border: 1px solid rgba(46, 44, 42, 0.1);
  backdrop-filter: blur(4px);
  animation: brand-in 0.8s var(--panel-ease) both;
}

.bath-fixture:nth-child(1) { animation-delay: 0.1s; }
.bath-fixture:nth-child(2) { animation-delay: 0.2s; }
.bath-fixture:nth-child(3) { animation-delay: 0.3s; }

.bath-fixture strong {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gray-900);
}

.bath-fixture em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.bath-fixture__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 0.35rem;
  position: relative;
  opacity: 0.85;
}

.bath-fixture__icon--tap::before,
.bath-fixture__icon--tap::after,
.bath-fixture__icon--basin::before,
.bath-fixture__icon--basin::after,
.bath-fixture__icon--shower::before,
.bath-fixture__icon--shower::after {
  content: "";
  position: absolute;
  background: var(--plum);
}

.bath-fixture__icon--tap::before {
  left: 6px;
  top: 4px;
  width: 22px;
  height: 4px;
  border-radius: 2px;
}

.bath-fixture__icon--tap::after {
  left: 20px;
  top: 8px;
  width: 4px;
  height: 20px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--plum), var(--warm));
}

.bath-fixture__icon--basin::before {
  left: 4px;
  top: 14px;
  width: 26px;
  height: 12px;
  border-radius: 0 0 14px 14px;
  background: transparent;
  border: 2px solid var(--plum);
  border-top: 0;
}

.bath-fixture__icon--basin::after {
  left: 14px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.bath-fixture__icon--shower::before {
  left: 14px;
  top: 2px;
  width: 3px;
  height: 16px;
  border-radius: 2px;
}

.bath-fixture__icon--shower::after {
  left: 6px;
  top: 16px;
  width: 20px;
  height: 10px;
  border-radius: 10px 10px 2px 2px;
  background:
    radial-gradient(circle at 30% 70%, var(--warm) 0 1.5px, transparent 2px),
    radial-gradient(circle at 50% 80%, var(--warm) 0 1.5px, transparent 2px),
    radial-gradient(circle at 70% 70%, var(--warm) 0 1.5px, transparent 2px),
    var(--plum);
}

@media (max-width: 900px) {
  .soon {
    grid-template-columns: 1fr;
  }

  .soon__stage {
    min-height: 300px;
  }

  .soon__title {
    max-width: none;
  }

  .bath-fixtures {
    inset: auto 6% 8%;
  }
}

@media (max-width: 560px) {
  .wall-swatches {
    inset: 14% 8% 22%;
    gap: 0.5rem;
  }

  .bath-fixtures {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .bath-fixture {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.65rem;
  }

  .bath-fixture__icon {
    margin: 0;
  }
}

/* —— Filters —— */
.catalog-panel {
  position: relative;
  margin-bottom: 2.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--gray-200);
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.92), rgba(243, 242, 240, 0.55)),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(94, 44, 59, 0.06), transparent 55%);
}

.catalog-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--plum), transparent 80%);
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.catalog-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.catalog-toolbar__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.8fr);
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  align-items: end;
}

.catalog-search {
  display: grid;
  gap: 0.4rem;
  max-width: none;
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-filter {
  display: grid;
  gap: 0.4rem;
}

.price-filter__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.price-filter__field {
  flex: 1 1 0;
  min-width: 0;
  display: block;
}

.price-filter__input,
.catalog-search__input {
  color-scheme: light;
  caret-color: #1a1918;
}

.price-filter__input {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--gray-200);
  background: rgba(250, 249, 247, 0.8);
  color: #1a1918;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.8rem 0.85rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.price-filter__input:hover,
.price-filter__input:focus,
.price-filter__input:active {
  color: #1a1918;
  caret-color: #1a1918;
  background: #faf9f7;
}

.price-filter__input:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(94, 44, 59, 0.08);
}

.price-filter__sep {
  color: var(--gray-400);
}

@media (max-width: 720px) {
  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    align-items: flex-start;
  }

  .catalog-toolbar__actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 0.45rem;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .catalog-filters {
    display: none;
  }

  .catalog-filters.catalog-filters--open {
    display: grid;
  }

  .quick-filters {
    padding: 0.65rem;
  }
}

.catalog-search__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.catalog-search__input {
  appearance: none;
  width: 100%;
  border: 1px solid var(--gray-200);
  background: rgba(250, 249, 247, 0.8);
  color: #1a1918;
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.catalog-search__input::placeholder {
  color: var(--gray-400);
}

.catalog-search__input:hover,
.catalog-search__input:focus,
.catalog-search__input:active {
  color: #1a1918;
  caret-color: #1a1918;
  background: #faf9f7;
}

.catalog-search__input:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(94, 44, 59, 0.08);
}

.catalog-search__input::-webkit-search-cancel-button {
  cursor: pointer;
}

.catalog-filters {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.quick-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 1.05rem;
  padding: 0.75rem;
  border: 1px solid rgba(94, 44, 59, 0.12);
  background:
    linear-gradient(135deg, rgba(94, 44, 59, 0.06), rgba(255, 255, 255, 0.7)),
    var(--white);
}

.quick-filters__label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.quick-filter,
.filter-toggle {
  appearance: none;
  border: 1px solid rgba(94, 44, 59, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gray-700);
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.48rem 0.72rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.quick-filter:hover,
.filter-toggle:hover,
.quick-filter.is-active,
.filter-toggle[aria-expanded="true"] {
  background: var(--plum);
  color: var(--white);
  transform: translateY(-1px);
}

.filter-toggle {
  display: none;
}

.filter-group {
  animation: filter-in 0.35s var(--panel-ease) both;
}

@keyframes filter-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-group--scroll .filter-group__chips {
  max-height: 7.5rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.filter-group__title {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.filter-group__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-group__extra {
  margin-top: 0.35rem;
}

.filter-group__extra[hidden] {
  display: none !important;
}

.filter-more {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.45rem 0 0;
  margin-top: 0.15rem;
}

.filter-more:hover {
  color: var(--gray-800);
}

.filter-chip {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  color: var(--gray-600);
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.48rem 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--gray-200);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.filter-chip span {
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}

.filter-chip:hover {
  color: var(--plum);
  box-shadow: inset 0 0 0 1px var(--plum);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  background: var(--plum);
  color: var(--white);
  box-shadow: none;
}

.filter-chip.is-active span {
  color: rgba(250, 249, 247, 0.55);
}

.filter-reset {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.filter-reset:hover {
  border-color: var(--plum);
}

.catalog-meta {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-200);
}

.catalog-meta em {
  font-style: normal;
  color: var(--plum);
}

/* —— Product grid —— */
.product-grid {
  width: 100%;
}

.product-grid--cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 0.9rem;
}

/* —— Cards —— */
.pcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--panel-ease),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.pcard__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.pcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--plum);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--panel-ease);
  z-index: 3;
}

.pcard:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 44, 59, 0.28);
  box-shadow: 0 14px 28px rgba(26, 25, 24, 0.08);
}

.pcard:hover::before {
  transform: scaleY(1);
}

.pcard__actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 4;
  display: flex;
  gap: 0.3rem;
}

.pcard__action {
  appearance: none;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 249, 247, 0.92);
  color: var(--gray-600);
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(26, 25, 24, 0.12);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.pcard__action:hover {
  color: var(--plum);
  transform: translateY(-1px);
}

.pcard__action.is-active {
  background: var(--plum);
  color: var(--white);
}

.pcard__visual {
  position: relative;
  aspect-ratio: 1 / 1.08;
  background:
    linear-gradient(180deg, rgba(243, 242, 240, 0.35), rgba(232, 230, 227, 0.7)),
    var(--gray-100);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pcard__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 0.36rem;
  transition: transform 0.65s var(--panel-ease);
}

.pcard:hover .pcard__visual img {
  transform: scale(1.04);
}

.pcard__shade {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(26, 25, 24, 0.42));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pcard:hover .pcard__shade {
  opacity: 1;
}

.pcard__brand {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.28rem 0.45rem;
  background: rgba(94, 44, 59, 0.9);
}

.pcard__badges {
  position: absolute;
  top: auto;
  bottom: 0.55rem;
  right: auto;
  left: 0.55rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  max-width: calc(100% - 1.1rem);
}

.pcard__badge,
.pcard__grade {
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.28rem 0.4rem;
  background: rgba(26, 25, 24, 0.72);
}

.pcard__badge.is-order {
  background: rgba(94, 44, 59, 0.86);
}

.pcard__panel {
  padding: 0.75rem 0.8rem 0.85rem;
  display: grid;
  gap: 0.28rem;
  flex: 1;
  border-top: 1px solid var(--gray-100);
}

.pcard__title {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.2;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.pcard__meta {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--gray-400);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: hidden;
}

.pcard__sku {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.pcard__foot {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--gray-100);
}

.pcard__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum);
}

.pcard__unit {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.pcard__availability {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: -0.05rem 0 0;
}

.pcard__availability.is-order {
  color: var(--plum);
}

.pcard__more {
  width: fit-content;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-bottom: 1px solid rgba(94, 44, 59, 0.24);
}

.pcard:hover .pcard__more {
  color: var(--plum);
}

@media (max-width: 1100px) {
  .product-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 420px) {
  .product-grid--cards {
    grid-template-columns: 1fr;
  }

  .page-nav {
    padding: 1rem 1.15rem;
  }
}

/* —— Pagination —— */
.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
}

.catalog-pager__btn {
  appearance: none;
  border: 1px solid var(--gray-200);
  background: transparent;
  color: var(--gray-600);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-width: 2.4rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.catalog-pager__btn:hover:not(:disabled) {
  border-color: var(--plum);
  color: var(--plum);
}

.catalog-pager__btn.is-active {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
}

.catalog-pager__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.catalog-pager__dots {
  color: var(--gray-400);
  padding: 0 0.2rem;
}

/* —— Product detail —— */
.page-product {
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(94, 44, 59, 0.05), transparent 60%),
    var(--gray-50);
  min-height: 100svh;
}

.product-page {
  padding-top: 1.25rem;
}

.product-topnav {
  position: relative;
  inset: auto;
  padding: 0 0 1.5rem;
  justify-content: flex-start;
}

.product-sheet {
  border: 1px solid var(--gray-200);
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.95), rgba(243, 242, 240, 0.65)),
    var(--white);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 1.25rem;
}

.product-gallery__stage {
  position: relative;
  background:
    linear-gradient(160deg, rgba(243, 242, 240, 0.9), rgba(232, 230, 227, 0.85)),
    var(--gray-100);
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-height: min(62vh, 560px);
  overflow: hidden;
}

.product-gallery__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--plum), transparent 70%);
}

.product-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  cursor: zoom-in;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.product-thumb {
  appearance: none;
  border: 1px solid var(--gray-200);
  padding: 0;
  background: var(--white);
  cursor: pointer;
  width: 58px;
  height: 58px;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-50);
  padding: 0.2rem;
}

.product-thumb:hover,
.product-thumb.is-active {
  opacity: 1;
  border-color: var(--plum);
  transform: translateY(-1px);
}

.product-info__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.product-info__brand {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--plum);
  padding: 0.35rem 0.55rem;
}

.product-info__cat {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.product-info__title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--gray-900);
  margin-bottom: 0.9rem;
  max-width: 16ch;
}

.product-info__line {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--plum), transparent);
  margin-bottom: 1.15rem;
}

.product-info__pricebox {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.65);
}

.product-info__price {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--plum);
  margin: 0;
}

.product-info__price span {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.product-info__availability {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.product-info__availability.is-order {
  color: var(--plum);
}

.product-info__price-note {
  font-size: 0.68rem;
  color: var(--gray-500);
  margin: 0;
}

.product-info__specs {
  list-style: none;
  display: grid;
  gap: 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.product-info__specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.product-info__specs span {
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.product-info__specs strong {
  font-weight: 500;
  text-align: right;
  color: var(--gray-800);
}

.product-info__cta {
  padding-top: 0.25rem;
}

.product-info__note {
  color: var(--gray-600);
  margin-bottom: 1.1rem;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-info__actions .btn {
  margin-top: 0;
}

.recent-products {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  background:
    linear-gradient(135deg, rgba(94, 44, 59, 0.05), transparent 55%),
    rgba(255, 255, 255, 0.68);
}

.recent-products__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.recent-products__head p {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  color: var(--gray-900);
}

.recent-products__head span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.recent-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.recent-card {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.recent-card:hover {
  transform: translateY(-1px);
  border-color: rgba(94, 44, 59, 0.26);
}

.recent-card img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
  background: var(--gray-100);
}

.recent-card span {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--gray-700);
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(26, 25, 24, 0.82);
  backdrop-filter: blur(8px);
}

.product-lightbox[hidden] {
  display: none !important;
}

.product-lightbox img {
  max-width: min(92vw, 980px);
  max-height: 86vh;
  object-fit: contain;
  background: rgba(250, 249, 247, 0.96);
  padding: 1rem;
}

.product-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-900);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}

.btn--ghost {
  background: transparent;
  color: var(--plum);
  border: 1px solid rgba(94, 44, 59, 0.35);
}

.btn--ghost:hover {
  background: rgba(94, 44, 59, 0.06);
  color: var(--plum-deep);
  transform: translateY(-1px);
}

.product-missing {
  padding: 3rem 0;
  color: var(--gray-600);
}

.product-missing a {
  color: var(--plum);
  border-bottom: 1px solid rgba(94, 44, 59, 0.35);
}

@media (max-width: 860px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .product-gallery__stage {
    max-height: min(48vh, 420px);
  }

  .product-info__title {
    max-width: none;
  }

  .recent-products__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .recent-products__head {
    display: block;
  }

  .recent-products__grid {
    grid-template-columns: 1fr;
  }

  .product-lightbox {
    padding: 1rem;
  }
}

/* —— Lists nav / dock / favorites / compare —— */
.lists-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lists-nav a {
  color: var(--gray-600);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.lists-nav a:hover,
.lists-nav a.is-active {
  color: var(--plum);
  border-color: rgba(94, 44, 59, 0.35);
}

.lists-nav span,
.lists-nav em {
  font-style: normal;
  color: var(--gray-400);
  margin-left: 0.25rem;
}

.lists-nav--hero a {
  color: rgba(250, 249, 247, 0.78);
}

.lists-nav--hero a:hover,
.lists-nav--hero a.is-active {
  color: var(--white);
  border-color: rgba(250, 249, 247, 0.45);
}

.lists-nav--hero span {
  color: rgba(250, 249, 247, 0.45);
}

.product-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lists-dock {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem;
  background: rgba(26, 25, 24, 0.92);
  border: 1px solid rgba(250, 249, 247, 0.12);
  box-shadow: 0 16px 40px rgba(26, 25, 24, 0.28);
}

.lists-dock a {
  color: rgba(250, 249, 247, 0.88);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.lists-dock a:hover {
  background: rgba(250, 249, 247, 0.08);
  color: var(--white);
}

.lists-dock em {
  font-style: normal;
  color: var(--warm);
  margin-left: 0.3rem;
}

.page-lists {
  background:
    radial-gradient(ellipse 50% 35% at 100% 0%, rgba(94, 44, 59, 0.05), transparent 55%),
    var(--gray-50);
  min-height: 100svh;
}

.lists-page {
  padding-top: 1.25rem;
}

.lists-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.lists-head__lead {
  max-width: 42ch;
  color: var(--gray-600);
  margin: 0.65rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.compare-wrap {
  margin-bottom: 2rem;
}

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
  text-align: left;
}

.compare-table th {
  width: 8.5rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  background: rgba(243, 242, 240, 0.65);
  font-weight: 500;
}

.compare-table td {
  font-size: 0.92rem;
  color: var(--gray-800);
  min-width: 10rem;
}

.compare-table a {
  color: var(--plum);
  border-bottom: 1px solid rgba(94, 44, 59, 0.25);
}

.compare-thumb {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: var(--gray-100);
  padding: 0.35rem;
}

.btn.is-active-btn {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.btn.is-active-btn:hover {
  background: var(--plum-soft);
  color: var(--white);
}
