/* Catalog page: Душевые из стекла */

.brand-glass {
  width: 38px;
  height: 38px;
  border: 1px solid var(--black);
  display: grid;
  place-items: center;
}

.brand-glass svg { display: block; }

.cart-btn em {
  display: grid !important;
}

.breadcrumbs {
  padding: 8px 0 16px;
  background: var(--white);
  margin-bottom: 0;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #777;
  padding-bottom: 0;
}

.breadcrumbs a { color: #777; transition: color 0.25s var(--ease); }
.breadcrumbs a:hover { color: #222; }
.breadcrumbs strong { color: #222; font-weight: 500; }

.breadcrumbs--hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumbs--hero a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumbs--hero a:hover {
  color: #fff;
}

.breadcrumbs--hero strong {
  color: #fff;
  font-weight: 500;
}

.breadcrumbs--hero span {
  opacity: 0.55;
}

/* ===== HERO ===== */
.cat-hero {
  position: relative;
  min-height: 420px;
  height: auto;
  margin-top: 0;
  color: #fff;
  overflow: hidden;
}

.cat-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cat-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cat-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12,12,11,0.78) 0%, rgba(12,12,11,0.48) 42%, rgba(12,12,11,0.18) 72%, rgba(12,12,11,0.28) 100%);
  pointer-events: none;
}

.cat-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  padding-top: 0;
  padding-bottom: 0;
}

.cat-hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0;
  padding: 40px 36px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    12px 0 40px rgba(0, 0, 0, 0.12);
}

.cat-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  white-space: normal;
  max-width: min(100%, 18em);
}

.cat-hero-copy > p {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}

.cat-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 100%;
}

.cat-hero-benefits > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cat-hero-benefits svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cat-hero-benefits strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cat-hero-benefits span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  line-height: 1.3;
}

.cat-hero-vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0;
  align-self: center;
}

/* ===== TYPES ===== */
.cat-types {
  background: #fff;
  padding-top: 72px;
  padding-bottom: 72px;
}

.consult-link {
  text-align: right;
  line-height: 1.35;
  color: var(--graphite);
}

.consult-link span {
  color: var(--black);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.type-grid--railings {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
  .type-grid--railings { grid-template-columns: repeat(2, 1fr); }
}

.type-card {
  position: relative;
  height: 180px;
  overflow: hidden;
  color: #fff;
  display: block;
  border-radius: 2px;
}

.type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.34) 48%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 65%
  );
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
}

.type-card:hover::after {
  animation: typeCardShine 0.85s var(--ease) forwards;
}

@keyframes typeCardShine {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-18deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) skewX(-18deg);
  }
}

.type-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.type-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.72) 100%);
  transition: background 0.45s var(--ease);
}

.type-custom-bg {
  position: absolute;
  inset: 0;
  background: #2a2a28;
  display: grid;
  place-items: center;
  padding-bottom: 48px;
  color: #fff;
}

.type-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
}

.type-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.type-body p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.3;
}

.type-arrow {
  font-size: 16px;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.type-card:hover img { transform: scale(1.05); }
.type-card:hover .type-overlay {
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.82) 100%);
}
.type-card:hover .type-arrow { transform: translateX(4px); }

/* ===== SHOP ===== */
.cat-shop {
  background: #fff;
  padding-top: 8px;
  padding-bottom: 80px;
}

.cat-shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  position: relative;
}

/* Sticky left filter button — shown on mobile only */
.filters-fab {
  display: none;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 44px;
  min-height: 132px;
  padding: 16px 8px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--black, #111);
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, opacity 0.25s ease;
}

.filters-fab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filters-fab__count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
}

.filters-fab:hover,
.filters-fab[aria-expanded="true"] {
  background: #111;
  color: #fff;
  box-shadow: 10px 0 32px rgba(0, 0, 0, 0.22);
}

.filters-fab:hover .filters-fab__count,
.filters-fab[aria-expanded="true"] .filters-fab__count {
  background: #fff;
  color: #111;
}

body.filters-open {
  overflow: hidden;
}

body.filters-open .filters-fab {
  opacity: 0;
  pointer-events: none;
}

.cat-filters {
  position: sticky;
  top: calc(var(--header-h, 72px) + 12px);
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  transform: none;
  z-index: 1;
}

.filters-backdrop {
  display: none;
}

.filters-close {
  display: none;
}

.filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  position: sticky;
  top: -18px;
  z-index: 2;
  padding: 4px 0 12px;
  background: #fff;
}

.filters-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
}

.filters-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.filters-close {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #E5E5E5;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.filters-close:hover {
  background: #F5F4F0;
  border-color: #D0D0D0;
}

.link-reset {
  font-size: 12px;
  color: #777;
}

.link-reset:hover { color: var(--black); }

.filter-block {
  padding: 14px 0;
  border-top: 1px solid #EBEBEB;
}

.filter-block h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.price-range {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.price-range input[type="range"] {
  width: 100%;
  accent-color: #111;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-inputs label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #777;
}

.price-inputs input {
  width: 100%;
  height: 34px;
  border: 1px solid #E5E5E5;
  background: #fff;
  padding: 0 8px;
  font-size: 13px;
  color: var(--black);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--graphite);
  margin-bottom: 8px;
  cursor: pointer;
}

.check input {
  width: 15px;
  height: 15px;
  accent-color: #111;
  flex-shrink: 0;
}

.check em {
  margin-left: auto;
  font-style: normal;
  color: #999;
  font-size: 12px;
}

.check-swatch { gap: 8px; }

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #D0D0D0;
  display: inline-block;
  flex-shrink: 0;
}

.swatch-clear { background: #F4F4F4; }
.swatch-matte { background: #D8D8D4; }
.swatch-graphite { background: #4A4A48; }
.swatch-bronze { background: #8B6B45; }
.swatch-clearer { background: #EEF5FA; border-color: #C9D8E4; }

.products-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.products-toolbar h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  margin-right: auto;
}

.products-toolbar .product-tabs {
  gap: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.products-toolbar .product-tabs button,
.products-toolbar .product-tabs a {
  font-size: 13px;
  padding-bottom: 3px;
  color: #777;
  border-bottom: 1px solid transparent;
}

.products-toolbar .product-tabs a.is-active,
.products-toolbar .product-tabs button.is-active {
  color: #111;
  border-bottom-color: #111;
}

.muted-count {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

.sort-select select {
  height: 36px;
  border: 1px solid #E5E5E5;
  background: #fff;
  padding: 0 28px 0 12px;
  font-size: 13px;
  color: var(--graphite);
  min-width: 160px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.shop-media-btn {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.shop-title-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  line-height: inherit;
}

.shop-title-btn:hover {
  color: var(--graphite, #343432);
}

.shop-card {
  background: transparent;
  border: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover {
  transform: translateY(-3px);
}

.shop-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #F4F3EF 0%, #EBEAE4 100%);
}

.shop-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(17,17,17,0.06) 100%);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover .shop-media::after { opacity: 1; }

.shop-media-link,
.shop-media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover .shop-media img { transform: scale(1.045); }

.shop-media .fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #222;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover .fav-btn,
.shop-media .fav-btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-media .fav-btn:hover {
  background: #111;
  color: #fff;
}

.shop-body {
  padding: 16px 2px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #737373;
}

.shop-stock i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.shop-stock.is-in i { background: #3FA66A; }
.shop-stock.is-in { color: #3A7A52; }
.shop-stock.is-order i { background: #C9954A; }
.shop-stock.is-order { color: #9A6B2E; }

.shop-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-body h3 a,
.shop-body h3 .shop-title-btn {
  color: #1a1a1a;
  text-decoration: none;
}

.shop-meta {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.45;
  color: #8A8A84;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0 0 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111;
  border-bottom: 1px solid #111;
  transition: gap 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-more span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover .shop-more span { transform: translateX(3px); }
.shop-more:hover { opacity: 0.72; }

.shop-buttons {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-price {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.shop-button-block {
  display: flex;
  width: 100%;
  border: 1px solid var(--black, #111);
  background: var(--black, #111);
  overflow: hidden;
}

.shop-btn {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.shop-btn--order {
  background: var(--black, #111);
  color: #fff;
}

.shop-btn--order:hover {
  background: #000;
  color: #fff;
}

.shop-btn--custom {
  background: #fff;
  color: var(--black, #111);
  box-shadow: inset 1px 0 0 var(--black, #111);
}

.shop-btn--custom:hover {
  background: #f5f5f5;
  color: var(--black, #111);
}

.shop-btn--solo {
  flex: 1 1 100%;
}

.shop-actions,
.shop-more,
.btn-detail,
.btn-cart { display: none !important; }

/* ===== CTA ===== */
.cat-cta {
  background: #F1EFE9;
  padding: 36px 0;
}

.cat-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cat-cta-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #D9D5CB;
  display: grid;
  place-items: center;
  color: var(--graphite);
  flex-shrink: 0;
}

.cat-cta h2 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}

.cat-cta p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.cat-projects {
  padding-top: 36px;
  padding-bottom: 40px;
  background: #fff;
}

.cat-projects__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cat-projects__head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--graphite, #343432);
}

.cat-projects__head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cat-projects__head a {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.cat-projects__head a:hover {
  color: #111;
}

.cat-projects__nav {
  display: flex;
  gap: 6px;
}

.cat-projects__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #E4E1DA;
  background: #fff;
  color: #1C1C1A;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.cat-projects__arrow:hover:not(:disabled) {
  background: #111;
  color: #fff;
  border-color: #111;
}

.cat-projects__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.cat-projects__carousel {
  position: relative;
}

.cat-projects__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.cat-projects__track::-webkit-scrollbar {
  display: none;
}

.cat-projects__item {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EDEBE4;
  scroll-snap-align: start;
}

.cat-projects__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.cat-projects__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .cat-projects__track { grid-auto-columns: calc((100% - 24px) / 3); }
}

@media (max-width: 767px) {
  .cat-projects__track { grid-auto-columns: calc((100% - 8px) / 2); gap: 8px; }
  .cat-projects__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.cat-seo {
  padding-top: 12px;
  padding-bottom: 56px;
  background: #fff;
}

.cat-seo-full {
  width: 100%;
}

.cat-seo-wrap.container,
.cat-seo-wrap {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  max-width: none;
  margin-inline: auto;
  box-sizing: border-box;
}

.cat-seo-inner {
  max-width: none;
  width: 100%;
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.7;
}

.cat-seo-inner h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--graphite);
  line-height: 1.25;
  max-width: none;
}

.cat-seo-inner h3 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.3;
  max-width: none;
}

.cat-seo-inner p {
  margin: 0 0 14px;
  max-width: none;
}

.cat-seo-inner ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  max-width: none;
}

.cat-seo-inner li {
  margin: 0 0 8px;
}

.cat-seo-media,
.cat-seo-figure,
.cat-seo-faq,
.seo-faq {
  width: 100%;
  max-width: none;
}

.cat-seo-media,
.cat-seo-figure {
  margin: 20px 0 24px;
}

.cat-seo-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.cat-seo-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted, #6F6E69);
}

.cat-seo-faq {
  margin: 36px 0 8px;
  padding: 28px 0 0;
  border-top: 1px solid var(--border, #D9D8D2);
}

.cat-seo-faq__head {
  margin-bottom: 18px;
}

.cat-seo-faq__head h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
}

.cat-seo-faq__head p {
  margin: 0;
  color: var(--muted, #6F6E69);
  font-size: 15px;
}

.seo-faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border, #D9D8D2);
}

.seo-faq__item {
  border-bottom: 1px solid var(--border, #D9D8D2);
}

.seo-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--black, #111);
  background: none;
  border: 0;
  cursor: pointer;
}

.seo-faq__q span {
  flex: 1;
}

.seo-faq__icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border, #D9D8D2);
  border-radius: 50%;
}

.seo-faq__icon::before,
.seo-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.seo-faq__icon::before {
  width: 10px;
  height: 1.5px;
}

.seo-faq__icon::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.25s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)), opacity 0.25s;
}

.seo-faq__item.is-open .seo-faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.seo-faq__a {
  overflow: hidden;
}

.seo-faq__a[hidden] {
  display: none;
}

.seo-faq__a-inner {
  padding: 0 36px 18px 0;
}

.seo-faq__a-inner p {
  margin: 0;
  color: var(--muted, #6F6E69);
  font-size: 15px;
  line-height: 1.55;
}

.seo-faq__q:hover {
  color: var(--graphite, #343432);
}

/* ===== CATALOG HUB ===== */
.catalog-hub {
  background: #fff;
  padding-top: 40px;
}

.catalog-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.catalog-hub-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: #fff;
  display: block;
}

.catalog-hub-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.catalog-hub-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 12, 12, 0.78) 0%, rgba(12, 12, 12, 0.35) 48%, rgba(12, 12, 12, 0.18) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 45%);
}

.catalog-hub-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-hub-count {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 10px;
  margin-bottom: 8px;
}

.catalog-hub-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.1;
}

.catalog-hub-card p {
  margin: 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.catalog-hub-go {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.35s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.catalog-hub-card:hover img {
  transform: scale(1.06);
}

.catalog-hub-card:hover .catalog-hub-go {
  transform: translateX(4px);
}

/* ===== 404 ===== */
.error-404 {
  position: relative;
  min-height: calc(100vh - var(--header-h, 72px));
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(166, 159, 145, 0.22), transparent 60%),
    linear-gradient(160deg, #f7f6f2 0%, #ebe8e1 45%, #d9d5cb 100%);
  display: grid;
  align-items: center;
  padding: 72px 0 96px;
}

.error-404-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.error-404-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 68%);
  filter: blur(8px);
  animation: error-glow 6s ease-in-out infinite alternate;
}

.error-404-shard {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.error-404-shard--a {
  width: 180px;
  height: 240px;
  right: 12%;
  top: 18%;
  transform: rotate(18deg) skewY(-6deg);
  animation: error-float-a 7s ease-in-out infinite;
}

.error-404-shard--b {
  width: 110px;
  height: 150px;
  right: 28%;
  bottom: 18%;
  transform: rotate(-12deg) skewY(4deg);
  animation: error-float-b 8s ease-in-out infinite;
}

.error-404-shard--c {
  width: 70px;
  height: 90px;
  right: 6%;
  bottom: 28%;
  transform: rotate(28deg);
  animation: error-float-c 6.5s ease-in-out infinite;
}

.error-404-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.error-404-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.error-404-code {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 500;
  line-height: 0.85;
  color: transparent;
  background: linear-gradient(180deg, rgba(52, 52, 50, 0.18), rgba(52, 52, 50, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.04em;
}

.error-404 h1 {
  margin: 8px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--graphite);
}

.error-404-text {
  margin: 0 0 28px;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}

.error-404-links a {
  font-size: 14px;
  color: var(--graphite);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.error-404-links a:hover {
  border-bottom-color: currentColor;
}

@keyframes error-glow {
  from { opacity: 0.55; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.05); }
}

@keyframes error-float-a {
  0%, 100% { transform: rotate(18deg) skewY(-6deg) translateY(0); }
  50% { transform: rotate(20deg) skewY(-6deg) translateY(-12px); }
}

@keyframes error-float-b {
  0%, 100% { transform: rotate(-12deg) skewY(4deg) translateY(0); }
  50% { transform: rotate(-10deg) skewY(4deg) translateY(10px); }
}

@keyframes error-float-c {
  0%, 100% { transform: rotate(28deg) translateY(0); }
  50% { transform: rotate(32deg) translateY(-8px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .catalog-hub-grid { grid-template-columns: 1fr; }
  .catalog-hub-card,
  .catalog-hub-body { min-height: 280px; }
  .error-404-shard--a { right: -4%; opacity: 0.55; }
}

@media (max-width: 767px) {
  .error-404 { padding: 48px 0 72px; }
  .error-404-actions { flex-direction: column; align-items: stretch; }
  .error-404-shard { display: none; }
}

@media (max-width: 1200px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .type-grid { grid-template-columns: repeat(5, 1fr); }
  .type-card { height: 160px; }
}

@media (max-width: 1024px) {
  .cat-shop-layout { grid-template-columns: 1fr; }

  .filters-fab {
    display: inline-flex;
  }

  .filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 114;
    background: rgba(17, 17, 17, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  body.filters-open .filters-backdrop[hidden] {
    display: block;
  }

  body.filters-open .filters-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .cat-filters {
    position: fixed;
    top: 0;
    left: 0;
    order: unset;
    width: min(100%, 360px);
    height: 100%;
    z-index: 116;
    margin: 0;
    padding: 18px 18px 28px;
    background: #fff;
    border-right: 1px solid #E5E5E5;
    box-shadow: 18px 0 48px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-104%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  body.filters-open .cat-filters {
    transform: translateX(0);
    pointer-events: auto;
  }

  .filters-head {
    top: -18px;
    background: #fff;
  }

  .filters-close {
    display: grid;
  }

  .cat-hero {
    min-height: 0;
    height: auto;
  }
  .cat-hero-inner {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .cat-hero-copy {
    width: min(100%, 560px);
    max-width: 560px;
    padding: 28px 24px;
    border-right: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
  .cat-hero-vert { display: none; }
  .cat-hero-benefits { grid-template-columns: 1fr; gap: 16px; }
  .cat-hero h1 { max-width: none; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .type-grid,
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .products-toolbar { flex-direction: column; align-items: flex-start; }
  .cat-cta-inner { flex-direction: column; align-items: flex-start; }
  .cat-hero {
    min-height: 0;
    height: auto;
  }
  .cat-hero-inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .cat-hero-copy {
    width: 100%;
    max-width: none;
    padding: 22px 18px;
  }
  .cat-hero h1 {
    font-size: clamp(26px, 7vw, 34px);
    max-width: none;
    margin-bottom: 12px;
  }
  .cat-hero-copy > p {
    margin-bottom: 18px;
    font-size: 14px;
  }
  .shop-media .fav-btn {
    opacity: 1;
    transform: none;
  }
}
