:root {
  --bg: #07111f;
  --bg-soft: #0d1a2c;
  --bg-dark: #050b14;
  --bg-panel: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: #e8e6e2;
  --text: #f4f7fb;
  --text-dark: #171717;
  --muted: #9aa8bc;
  --muted-dark: #7a7a7a;
  --accent: #d4b483;
  --accent-soft: rgba(212, 180, 131, 0.14);
  --danger: #c45c5c;
  --radius: 4px;
  --header-h: 64px;
  --topbar-h: 72px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Modern ambient FX — soft mesh + scroll depth + cursor spotlight */
#diamondBg,
.diamond-bg {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.fx {
  position: absolute;
  inset: -8%;
  --p: 0;
  --sy: 0px;
  --sx: 0px;
  color: rgba(210, 230, 255, 0.14);
  transform: translate3d(var(--sx), calc(var(--sy) * -1), 0);
  will-change: transform;
}

.fx__mesh {
  position: absolute;
  inset: 0;
}

.fx__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: screen;
}

.fx__blob--a {
  width: min(78vw, 820px);
  height: min(78vw, 820px);
  top: -8%;
  right: -18%;
  background: radial-gradient(circle, rgba(78, 130, 200, 0.42) 0%, transparent 68%);
  transform: translate3d(calc(var(--p) * -60px), calc(var(--p) * 90px), 0);
  opacity: calc(0.55 + var(--p) * 0.25);
}

.fx__blob--b {
  width: min(60vw, 620px);
  height: min(60vw, 620px);
  left: -16%;
  top: 34%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.16) 0%, transparent 70%);
  transform: translate3d(calc(var(--p) * 70px), calc(var(--p) * -50px), 0);
  opacity: calc(0.35 + var(--p) * 0.35);
}

.fx__blob--c {
  width: min(50vw, 500px);
  height: min(50vw, 500px);
  left: 42%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(120, 170, 230, 0.18) 0%, transparent 70%);
  transform: translate3d(calc(var(--p) * 20px), calc(var(--p) * -80px), 0);
}

.fx__beam {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 49%,
    rgba(255, 255, 255, 0.055) 50.5%,
    rgba(255, 255, 255, 0.03) 52%,
    transparent 60%
  );
  transform: translate3d(calc(var(--p) * -12%), calc(var(--p) * 4%), 0) rotate(8deg);
  opacity: 0.85;
}

.fx__horizon {
  position: absolute;
  left: -10%;
  right: -10%;
  top: calc(42% + var(--p) * 18%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(210, 230, 255, 0.08) 20%,
    rgba(212, 180, 131, 0.22) 50%,
    rgba(210, 230, 255, 0.08) 80%,
    transparent
  );
  box-shadow: 0 0 40px rgba(170, 200, 255, 0.12);
  opacity: calc(0.35 + var(--p) * 0.45);
}

.fx__spot {
  position: absolute;
  inset: 0;
  --mx: 65%;
  --my: 30%;
  --mo: 0.2;
  background: radial-gradient(
    480px circle at var(--mx) var(--my),
    rgba(170, 210, 255, var(--mo)),
    transparent 55%
  );
  transition: opacity 0.4s ease;
}

.fx__mark {
  position: absolute;
  height: auto;
  opacity: 0.5;
}

.fx__mark--a {
  right: 8%;
  top: 18%;
  width: min(28vw, 280px);
  transform: translate3d(calc(var(--p) * -30px), calc(var(--p) * 120px), 0) rotate(calc(var(--p) * 12deg));
}

.fx__mark--b {
  left: 4%;
  bottom: 12%;
  width: min(18vw, 170px);
  opacity: 0.28;
  transform: translate3d(calc(var(--p) * 40px), calc(var(--p) * -90px), 0) rotate(calc(var(--p) * -8deg));
}

.fx__grain {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.diamond-bg.is-static .fx {
  transform: none;
}

.diamond-bg.is-static .fx__spot {
  opacity: 0;
}

.fx--lite {
  inset: 0;
  transform: none;
}

.fx__lite-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 50% at 70% 15%, rgba(70, 120, 190, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(196, 165, 116, 0.1), transparent 55%);
}

@media (prefers-reduced-motion: reduce) {
  .fx { transform: none; }
  .fx__spot { display: none; }
}

@media (pointer: coarse) {
  .fx__spot { display: none; }
}

/* Soft card reveal on scroll */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body > *:not(.diamond-bg):not(#diamondBg):not(.cookie-bar):not(.fab):not(.product-modal):not(.filters-backdrop):not(.mega-backdrop):not(.mobile-nav) {
  position: relative;
  z-index: 1;
}

.topbar { z-index: 5; }
.header { z-index: 50; }
.mobile-nav { z-index: 45; }
.mega { z-index: 40; }
.fab { z-index: 60; }
.cookie-bar { z-index: 90; }
.product-modal { z-index: 80; }
.filters-backdrop { z-index: 55; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 11px; }
.btn--soft { background: #ebe3d6; color: #1a1a1a; }
.btn--dark { background: #fff; color: #0b1524; border-radius: var(--radius); }
.btn--light { background: #fff; color: #111; border-radius: var(--radius); }
.btn--outline,
.btn--outline-dark {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: #fff;
  border-radius: var(--radius);
}
.btn--outline-dark:hover { border-color: #fff; color: #fff; }

.section-title--dark { color: #fff; }

.topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(14px);
}

.topbar__inner,
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.topbar__left,
.topbar__right,
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 160px;
}

.topbar__right { justify-content: flex-end; }

.topbar__phone,
.topbar__link,
.city-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.logo--top { width: 180px; }
.logo--top img { width: 100%; filter: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.header.is-scrolled {
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.nav > a,
.nav__trigger {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: rgba(244, 247, 251, 0.86);
  cursor: pointer;
  position: relative;
}

.nav__trigger.is-active::after,
.nav > a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
}

.nav__item { position: static; }

.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--topbar-h) + var(--header-h));
  background: #0b1830;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 36px 0 42px;
  color: #fff;
}

.mega.is-open { display: block; }

.mega__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
}

.mega h4 {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega__spaced { margin-top: 28px; }

.mega__shapes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.mega__shape,
.mega__link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
}

.mega__shape img {
  width: 28px;
  height: 28px;
  opacity: .85;
}

.mega__shape:hover,
.mega__link:hover { color: var(--accent); }

.mega__banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 240px;
  display: block;
}

.mega__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.mega__banner div {
  position: absolute;
  inset: auto 20px 20px 20px;
  color: #fff;
  z-index: 1;
}

.mega__banner span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: .85;
}

.mega__banner strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}

.mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,.18);
}

.mega-backdrop.is-open { display: block; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.header__menu { display: none; flex-direction: column; gap: 6px; }
.header__menu span { display: block; width: 18px; height: 1.5px; background: currentColor; }

.mobile-nav {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 45;
  flex-direction: column;
  padding: 12px 24px 20px;
  background: #0b1830;
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.hero {
  position: relative;
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(56, 110, 180, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(10, 24, 48, 0.55) 0%, rgba(7, 17, 31, 0.2) 55%, transparent 100%);
  overflow: hidden;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  color: #fff;
}

.hero__text {
  margin: 0 0 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 16px;
}

.hero__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  overflow: hidden;
  border-radius: 16px;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.06);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0 max(24px, calc((100% - 1240px) / 2 + 24px));
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll span {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--accent), transparent);
}

.shapes {
  padding: 72px 0 40px;
  background: transparent;
}

.catalog {
  padding: 48px 0 88px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 17, 31, 0.55) 18%, rgba(7, 17, 31, 0.75) 100%);
}

.shapes .section-title--dark,
.catalog .section-title--dark,
.about .section-title--dark,
.guide .section-title--dark { color: #fff; }

.shapes__note {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 14px;
}

.shapes__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.shapes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shape-card {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.shape-card:hover { transform: translateY(-6px); }

.shape-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1;
  background: #0a1524;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 40px rgba(0, 0, 0, 0.22);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.shape-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-130%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.shape-card:hover .shape-card__media::after {
  transform: translateX(130%);
}

.shape-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.shape-card:hover .shape-card__media img {
  transform: scale(1.05);
}

.shape-card:hover .shape-card__media {
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 24px 50px rgba(0, 0, 0, 0.3);
}

.shape-card strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.shape-card span {
  color: var(--muted);
  font-size: 12px;
}

.catalog .filters,
.catalog .product {
  color: var(--text-dark);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--muted);
}

.catalog__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.catalog__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
}

.catalog__title span {
  margin-left: 8px;
  font-size: 0.42em;
  vertical-align: super;
  color: var(--muted);
  font-family: var(--font-sans);
}

.catalog__subtitle { margin: 0; color: var(--muted); }

.shape-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.shape-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}

.shape-tabs button img { width: 18px; height: 18px; filter: invert(1) brightness(1.2); }
.shape-tabs button.is-active,
.shape-tabs button:hover {
  color: #fff;
  border-color: rgba(212, 180, 131, 0.7);
  background: rgba(212, 180, 131, 0.12);
}

.catalog__layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.96);
  color: var(--text-dark);
}

.filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.filters__head h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filters__reset {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
}

.filter { border-bottom: 1px solid #e8e6e2; }

.filter summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 14px;
}

.filter summary::-webkit-details-marker { display: none; }
.filter summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
}
.filter[open] summary::after { transform: rotate(-135deg); }

.filter__body { padding: 0 0 16px; }

.filter__price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filter__price label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter__price input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.filter__chips,
.filter__shapes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter__chips button,
.filter__shapes button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

.filter__shapes button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter__shapes button img { width: 16px; height: 16px; }

.filter__chips button.is-active,
.filter__chips button:hover,
.filter__shapes button.is-active,
.filter__shapes button:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-soft);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.toolbar__left { display: flex; align-items: center; gap: 14px; }

.toolbar__filters-btn {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.toolbar__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.toolbar__sort select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.toolbar__views { display: flex; gap: 4px; }

.view-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.view-btn.is-active,
.view-btn:hover {
  color: var(--text);
  border-color: var(--line);
}

.table-head {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.55fr 0.7fr 0.6fr 1fr 0.9fr;
  gap: 10px;
  padding: 0 12px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.products[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.products[data-view="list"] {
  display: flex;
  flex-direction: column;
}

.product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  color: var(--text-dark);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.product__media {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 220, 255, 0.35), transparent 55%),
    linear-gradient(160deg, #eef2f7 0%, #f7f7f5 100%);
  overflow: hidden;
}

.product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.product:hover .product__media::after {
  transform: translateX(120%);
}

.products[data-view="grid"] .product {
  display: flex;
  flex-direction: column;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product:hover .product__media img {
  transform: scale(1.04);
}

.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.product__body { padding: 16px 16px 18px; }

.product__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.product__meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.product__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.product__price-row strong {
  font-size: 18px;
  font-weight: 700;
}

.product__price-row s {
  color: var(--muted);
  font-size: 13px;
}

.product__discount {
  padding: 2px 6px;
  background: #f6e4e4;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
}

.btn--order {
  background: #0b1524;
  color: #fff;
  border: 1px solid #0b1524;
  border-radius: 2px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(11, 21, 36, 0.18);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.btn--order span {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.btn--order:hover {
  background: #152847;
  color: #fff;
  border-color: #c4a574;
  box-shadow: 0 10px 26px rgba(11, 21, 36, 0.28);
  transform: translateY(-1px);
  filter: none;
}

.btn--order:hover span {
  transform: translateX(4px);
}

.product__actions .btn {
  width: 100%;
}

.product__actions .btn:hover {
  filter: none;
}

.products[data-view="list"] .product {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.55fr 0.7fr 0.6fr 1fr 0.9fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  border-top: 0;
}

.products[data-view="list"] .product:first-child { border-top: 1px solid var(--line); }

.products[data-view="list"] .product__media {
  width: 84px;
  height: 84px;
  aspect-ratio: auto;
  border-radius: 8px;
}

.products[data-view="list"] .product__body,
.products[data-view="list"] .product__stone {
  display: contents;
}

.products[data-view="list"] .product__badge { display: none; }
.products[data-view="list"] .product__title { grid-column: auto; }
.products[data-view="list"] .product__meta { margin: 0; }
.products[data-view="list"] .product__price-row { margin: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.products[data-view="list"] .product__actions .btn { width: auto; padding: 0 12px; font-size: 11px; }
.products[data-view="list"] .list-only { display: block; color: var(--muted); font-size: 14px; }
.products[data-view="grid"] .list-only { display: none; }

.catalog__empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
}

.benefits,
.services { padding: 80px 0; background: var(--bg-soft); }
.about { padding: 88px 0; background: var(--bg); }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  min-height: 220px;
  transition: transform 0.25s ease;
  color: var(--text);
}

.benefit:hover { transform: translateY(-4px); }
.benefit__icon {
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent);
}
.benefit h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about__copy p { color: var(--muted); max-width: 58ch; }
.about__tagline {
  margin-top: 24px !important;
  color: var(--text) !important;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
}

.about__panel { display: grid; gap: 12px; }
.about__stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.about__stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
}
.about__stat span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.services__list li {
  position: relative;
  padding: 20px 20px 20px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.services__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.cta {
  padding: 72px 0;
  background: var(--bg-dark);
  color: #fff;
}

.cta__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.cta__inner p { margin: 0; color: rgba(255,255,255,.65); max-width: 42ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer {
  padding: 64px 0 24px;
  background: #07111f;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer__brand img {
  width: 160px;
  margin-bottom: 16px;
}

.footer__brand p,
.footer span,
.footer a {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer a:hover { color: #fff; }
.footer__note,
.footer__disclaimer {
  margin-top: 10px !important;
  font-size: 11px !important;
  line-height: 1.45;
  opacity: .75;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow);
}

.cookie-bar {
  position: fixed !important;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9d5cf;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: 18px;
  color: #171717;
}

/* Leave room so fixed cookie bar doesn't cover footer/copyright */
body.has-cookie-bar {
  padding-bottom: 140px;
}

body.has-cookie-bar .fab {
  bottom: 150px;
}

.cookie-bar__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar__text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #111111;
}

.cookie-bar__text p {
  margin: 0;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-bar__text a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-bar__btn {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-bar__btn--ghost {
  background: #f3f1ec;
  color: #111111;
  border: 1px solid #bdb7ae;
}

.cookie-bar__btn--ghost:hover {
  background: #ebe7df;
  border-color: #8f877c;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
}

.footer__legal a {
  font-size: 12px !important;
}

.footer__bottom {
  flex-wrap: wrap;
}

.legal-inline {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  max-width: 52ch;
  width: 100%;
  flex-basis: 100%;
}

.legal-inline a { text-decoration: underline; }

@media (max-width: 760px) {
  .cookie-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }
  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-bar__actions {
    width: 100%;
  }
  .cookie-bar__btn {
    flex: 1;
  }
  body.has-cookie-bar {
    padding-bottom: 220px;
  }
  body.has-cookie-bar .fab {
    bottom: 230px;
  }
  .fab { bottom: 96px; }
}


.product__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.products[data-view="grid"] .product__actions {
  padding: 0 16px 18px;
}

.products[data-view="grid"] .product__body {
  padding-bottom: 10px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.55);
}

.product-modal[hidden] { display: none !important; }

.product-modal__dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  color: #171717;
}

.product-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

.product-modal__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.product-modal__media {
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f8;
}

.product-modal__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-modal__info h3 {
  margin: 10px 0 12px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: #111;
}

.product-modal__info .product__price-row strong {
  color: #111;
}

.product-modal__info .product__price-row s {
  color: #777;
}

.product-modal__desc {
  color: #4a5563;
  line-height: 1.6;
  margin: 0 0 18px;
}

.product-modal__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0 0 22px;
}

.product-modal__specs div {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e6e6;
}

.product-modal__specs dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.product-modal__specs dd {
  margin: 0;
  font-size: 14px;
  color: #111;
  font-weight: 600;
}

.product-modal__legal {
  margin: 12px 0 0;
  font-size: 12px;
  color: #5b6470;
  line-height: 1.4;
}

.product-modal__legal a {
  color: #111;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .product-modal__grid,
  .product-modal__specs {
    grid-template-columns: 1fr;
  }
}

.filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0,0,0,.35);
}

.filters-backdrop.is-open { display: block; }

@media (max-width: 1100px) {
  .mega__inner { grid-template-columns: 1fr 1fr; }
  .mega__banner { grid-column: 1 / -1; min-height: 180px; }
  .shapes__grid,
  .products[data-view="grid"],
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 70;
    width: min(360px, 92vw);
    padding: 24px;
    background: #fff;
    overflow: auto;
    transform: translateX(-105%);
    transition: transform .3s ease;
  }
  .filters.is-open { transform: translateX(0); }
  .toolbar__filters-btn { display: inline-flex; align-items: center; }
  .table-head { display: none; }
  .products[data-view="list"] .product {
    grid-template-columns: 84px 1fr auto;
    gap: 12px;
  }
  .products[data-view="list"] .list-only,
  .products[data-view="list"] .product__meta { display: none; }
}

@media (max-width: 760px) {
  :root {
    --topbar-h: auto;
  }

  .container { width: min(100% - 32px, 1240px); }
  .topbar__left,
  .topbar__link,
  .nav,
  .city-btn { display: none; }
  .header__menu { display: inline-flex; }

  .topbar {
    height: auto;
    min-height: 0;
  }

  .topbar__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 12px;
    height: auto;
  }

  .topbar__left,
  .topbar__right {
    min-width: 0;
  }

  .logo--top {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: min(78vw, 300px);
    order: 1;
  }

  .logo--top img {
    width: 100%;
    height: auto;
  }

  .topbar__right {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .topbar__right .btn--sm {
    min-height: 38px;
    padding: 0 18px;
    font-size: 11px;
  }

  .hero__layout,
  .shapes__head,
  .catalog__head,
  .about__grid,
  .footer__grid,
  .services__list,
  .cta__inner { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .shapes__grid,
  .products[data-view="grid"],
  .benefits__grid { grid-template-columns: 1fr; }
  .hero__visual,
  .hero__visual img { min-height: 280px; }
  .mega { top: var(--header-h); }
}
