/* 13 Oysters — site styles */
:root {
  --bg: #06121a;
  --bg-2: #091c26;
  --panel: #0c2530;
  --panel-2: #10333f;
  --ink: #f3efe6;
  --muted: rgba(238, 245, 243, 0.68);
  --muted-2: rgba(238, 245, 243, 0.46);
  --gold: #d4af5a;
  --gold-2: #f0d99b;
  --line: rgba(212, 175, 90, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(23, 63, 75, 0.4), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
::selection { background: rgba(212, 175, 90, 0.28); color: #fff; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------------- header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.header.is-scrolled {
  background: rgba(6, 18, 26, 0.82);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px);
}
.header__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 90, 0.34);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}
.brand__sub {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nav { display: flex; align-items: center; gap: 26px; margin-left: 22px; }
.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header__phone { font-size: 13px; color: var(--ink); white-space: nowrap; }
.header__phone:hover { color: var(--gold-2); }
.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cart-btn:hover { border-color: rgba(212, 175, 90, 0.55); background: rgba(212, 175, 90, 0.08); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #08141a;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 6px auto; transition: transform 0.2s ease; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: linear-gradient(135deg, #f1dda7, var(--gold));
  color: #07141b;
  box-shadow: 0 10px 30px rgba(212, 175, 90, 0.18);
}
.btn--gold:hover { background: linear-gradient(135deg, #f7e7b8, #dfbb67); }
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn--gold:hover::before { left: 130%; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.16); color: var(--ink); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: rgba(212, 175, 90, 0.5); color: var(--gold-2); }
.btn--wide { width: 100%; }
.text-link { color: var(--gold-2); font-size: 12px; letter-spacing: 0.04em; white-space: nowrap; }
.text-link span { display: inline-block; transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 0; }
.hero__glow {
  position: absolute;
  width: 720px;
  height: 720px;
  top: -260px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 90, 0.13), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  min-height: 650px;
  padding: 40px 0 56px;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.hero__title em { color: var(--gold-2); font-style: italic; }
.hero__lead {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 38px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.hero__stats div { display: flex; flex-direction: column; gap: 5px; }
.hero__stats b { font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -0.02em; }
.hero__stats span { color: var(--muted-2); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__visual { position: relative; z-index: 1; }
.hero__image-wrap {
  position: relative;
  aspect-ratio: 0.82;
  max-height: 590px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 90, 0.2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 22, 0.05) 0%, rgba(4, 16, 22, 0.18) 55%, rgba(4, 16, 22, 0.72) 100%);
}
.hero__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(4, 16, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px var(--gold-2); }
.hero__marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 13px 0;
  opacity: 0.75;
}
.hero__marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
  will-change: transform;
}
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }
.hero__marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.04em;
}
.hero__marquee-group i { color: var(--gold); font-style: normal; font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
.section { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 88px 0 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section__title {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section__head-note { color: var(--muted-2); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

/* category cards */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 16px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.04); }
.category-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 16, 22, 0.05) 0%, rgba(4, 16, 22, 0.3) 45%, rgba(4, 16, 22, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 16, 22, 0.45), transparent 65%);
}
.category-card__top { display: flex; justify-content: flex-end; }
.category-card__count {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(4, 16, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.category-card__body { display: flex; flex-direction: column; gap: 12px; }
.category-card__title { font-family: var(--serif); font-size: 27px; line-height: 1.02; letter-spacing: -0.01em; text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.category-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.category-card__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(4, 16, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-2);
}

/* ---------------- product grid ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(19, 51, 62, 0.72), rgba(7, 22, 30, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.055);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 90, 0.22); }
.product-card__media { position: relative; display: block; aspect-ratio: 0.94; overflow: hidden; background: #0a2029; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 16, 22, 0.5) 100%);
}
.product-card__badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(4, 16, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--gold-2);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 15px; }
.product-card__cat { color: var(--gold); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.product-card__name {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.product-card__name a:hover { color: var(--gold-2); }
.product-card__meta { margin-top: 6px; color: var(--muted-2); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; }
.product-card__price { color: var(--gold-2); font-size: 17px; font-weight: 700; white-space: nowrap; }
.product-card__price small { color: var(--muted-2); font-size: 9px; font-weight: 400; margin-left: 2px; }
.product-card__ask { color: var(--muted); font-size: 12px; font-weight: 500; }
.add-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 90, 0.5);
  background: rgba(212, 175, 90, 0.12);
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.add-btn:hover { background: var(--gold); color: #07141b; }

/* ---------------- why ---------------- */
.section--why { padding-top: 92px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); }
.why-card__num { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.why-card h3 { margin: 14px 0 8px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.why-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }

/* ---------------- CTA ---------------- */
.cta { width: min(100% - 40px, var(--max)); margin: 88px auto 0; }
.cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: 26px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(212, 175, 90, 0.16), transparent 55%),
    linear-gradient(135deg, #0e2b35, #071820);
  border: 1px solid rgba(212, 175, 90, 0.16);
}
.cta h2 { margin: 9px 0 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1; }
.cta p { max-width: 480px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- footer ---------------- */
.footer { width: min(100% - 40px, var(--max)); margin: 90px auto 0; padding: 42px 0 24px; border-top: 1px solid var(--line-soft); }
.footer__top { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr; gap: 34px; }
.footer__brand { display: flex; align-items: flex-start; gap: 12px; }
.footer__logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.footer__name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.12em; color: var(--gold-2); }
.footer__tag { margin-top: 6px; max-width: 230px; color: var(--muted-2); font-size: 10px; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; }
.footer__col a:hover { color: var(--gold-2); }
.footer__label { margin-bottom: 5px; color: var(--gold); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }
.footer__phone { font-size: 16px; color: var(--ink); }
.footer__muted { color: var(--muted-2); font-size: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: 10px; }

/* ---------------- page head ---------------- */
.page-head { padding: 66px 0 0; }
.page-head--compact { padding-top: 50px; }
.page-head__inner { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.page-title { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(46px, 6vw, 76px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.page-lead { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }

/* ---------------- catalog ---------------- */
.catalog { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 34px 0 0; }
.catalog--category { padding-top: 26px; }
.catalog__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  padding: 0 6px 0 16px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
}
.search svg { width: 18px; height: 18px; color: var(--muted-2); flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search input::placeholder { color: var(--muted-2); }
.search button { height: 38px; padding: 0 17px; border: 0; border-radius: 999px; background: rgba(212, 175, 90, 0.14); color: var(--gold-2); font-size: 11px; font-weight: 600; }
.search button:hover { background: var(--gold); color: #07141b; }
.sort { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 10px; white-space: nowrap; }
.sort select { border: 1px solid var(--line-soft); background: rgba(255,255,255,0.03); color: var(--ink); border-radius: 9px; padding: 8px 10px; outline: 0; font-size: 11px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11px;
  transition: all 0.2s ease;
}
.chip:hover { border-color: rgba(212, 175, 90, 0.4); color: var(--gold-2); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #07141b; font-weight: 700; }
.section-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.section-chip { padding: 6px 11px; border-radius: 8px; color: var(--muted-2); font-size: 10.5px; border: 1px solid transparent; }
.section-chip span { margin-left: 5px; color: var(--muted-2); font-size: 9px; }
.section-chip:hover { color: var(--gold-2); }
.section-chip.is-active { color: var(--gold-2); border-color: rgba(212, 175, 90, 0.3); background: rgba(212, 175, 90, 0.07); }
.catalog__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 14px; color: var(--muted-2); font-size: 11px; }
.catalog__meta-cat { color: var(--gold); }
.product-grid--catalog { grid-template-columns: repeat(4, 1fr); }
.empty-state { padding: 64px 20px; text-align: center; }
.empty-state__icon { font-size: 34px; }
.empty-state h3 { margin: 12px 0 6px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }

/* ---------------- category hero ---------------- */
.category-hero { position: relative; min-height: 390px; display: flex; align-items: flex-end; overflow: hidden; }
.category-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 16, 22, 0.15) 0%, rgba(4, 16, 22, 0.45) 45%, rgba(4, 16, 22, 0.95) 100%); }
.category-hero__inner { position: relative; z-index: 2; width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 46px 0 38px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: var(--muted-2); font-size: 10px; }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs--light { margin-bottom: 24px; color: rgba(255,255,255,0.55); }
.category-hero h1 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 86px); font-weight: 400; line-height: 0.95; letter-spacing: -0.03em; }
.category-hero p { margin: 12px 0 0; color: rgba(238,245,243,0.8); font-size: 12px; }

/* ---------------- product page ---------------- */
.product-page { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 34px 0 0; }
.product-page__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 54px; margin-top: 22px; align-items: start; }
.product-page__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line-soft); }
.product-page__media img { width: 100%; height: 100%; object-fit: cover; }
.product-page__media-note { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(4,16,22,0.5); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); color: var(--gold-2); font-size: 8px; letter-spacing: 0.16em; }
.product-page__info { padding-top: 8px; }
.product-page__info h1 { margin: 9px 0 0; font-family: var(--serif); font-size: clamp(40px, 4.7vw, 62px); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; }
.product-page__meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
.product-page__meta span + span::before { content: "·"; margin-right: 10px; color: var(--muted-2); }
.status--waiting { color: #e5b36b; }
.product-page__price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.product-page__price b { font-family: var(--serif); font-size: 38px; font-weight: 500; color: var(--gold-2); }
.product-page__price span { color: var(--muted-2); font-size: 11px; }
.product-page__lead { max-width: 470px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.product-page__buy { display: flex; align-items: stretch; gap: 10px; margin-top: 28px; max-width: 470px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; flex: 0 0 auto; }
.qty button { width: 36px; height: 48px; border: 0; background: transparent; color: var(--muted); font-size: 17px; }
.qty button:hover { color: var(--gold-2); }
.qty input { width: 34px; height: 48px; border: 0; background: transparent; color: var(--ink); text-align: center; font-size: 13px; outline: 0; }
.product-page__buy .btn { flex: 1; }
.product-page__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 30px; }
.product-page__facts > div { display: flex; align-items: flex-start; gap: 8px; padding: 12px 10px; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line-soft); }
.fact-icon { color: var(--gold); font-size: 15px; line-height: 1; }
.product-page__facts b { display: block; font-size: 10px; font-weight: 600; }
.product-page__facts span:not(.fact-icon) { display: block; margin-top: 2px; color: var(--muted-2); font-size: 8.5px; line-height: 1.35; }
.section--related { padding-top: 76px; }

/* ---------------- checkout ---------------- */
.checkout { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 38px 0 0; }
.checkout__grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 44px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 26px; }
.form-section { display: flex; gap: 16px; }
.form-section__num { flex: 0 0 30px; padding-top: 3px; color: var(--gold); font-family: var(--serif); font-size: 16px; }
.form-section__body { flex: 1; min-width: 0; }
.form-section h2 { margin: 0 0 15px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { color: var(--muted-2); font-size: 10px; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
  font-size: 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(212, 175, 90, 0.5); background: rgba(212, 175, 90, 0.04); }
.field textarea { resize: vertical; min-height: 94px; }
.field select option { background: #0c2530; }
.delivery-note { display: flex; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 10px; background: rgba(212, 175, 90, 0.06); border: 1px solid rgba(212, 175, 90, 0.14); color: var(--muted); font-size: 10.5px; }
.delivery-note span { color: var(--gold); }
.delivery-note p { margin: 0; }
.btn--submit { margin-top: 2px; }
.form-hint { margin: 0; color: var(--muted-2); font-size: 9.5px; text-align: center; }
.form-error { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(192, 90, 77, 0.4); background: rgba(192, 90, 77, 0.1); color: #f1b7ae; font-size: 12px; }
.checkout__summary { position: sticky; top: 100px; }
.summary-card { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); }
.summary-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.summary-card__edit { color: var(--muted-2); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.summary-card__edit:hover { color: var(--gold-2); }
.summary-items { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; max-height: 44vh; overflow-y: auto; }
.summary-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; }
.summary-item img { width: 54px; height: 54px; border-radius: 9px; object-fit: cover; }
.summary-item__name { font-size: 11px; line-height: 1.3; }
.summary-item__meta { margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.summary-item__price { color: var(--gold-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.summary-empty { padding: 20px 0; color: var(--muted-2); font-size: 12px; }
.summary-empty .btn { margin-top: 10px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 12px; }
.summary-total b { color: var(--gold-2); font-family: var(--serif); font-size: 27px; font-weight: 500; }
.summary-note { margin-top: 12px; color: var(--muted-2); font-size: 9.5px; line-height: 1.5; }

/* ---------------- info pages ---------------- */
.info { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 42px 0 0; }
.info__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 42px; align-items: start; }
.info-block { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.info-block__num { flex: 0 0 32px; color: var(--gold); font-family: var(--serif); font-size: 18px; }
.info-block h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.info-block p { margin: 0; max-width: 560px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.info-card { padding: 24px; border-radius: 20px; background: linear-gradient(145deg, #0f2e39, #071820); border: 1px solid rgba(212,175,90,0.16); }
.info-card__phone { display: block; margin-top: 12px; font-family: var(--serif); font-size: 29px; color: var(--gold-2); }
.info-card p { margin: 12px 0 18px; color: var(--muted); font-size: 12px; }
.info-card .btn { width: 100%; }
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.about__lead h2 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); font-weight: 400; line-height: 0.98; }
.about__lead p { max-width: 480px; margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.about__values { display: flex; flex-direction: column; gap: 10px; }
.value-card { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,0.025); border: 1px solid var(--line-soft); }
.value-card > span { color: var(--gold); font-family: var(--serif); font-size: 15px; }
.value-card h3 { margin: 5px 0 5px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.value-card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.contacts-page { display: grid; grid-template-columns: 1fr 0.7fr; gap: 50px; align-items: start; }
.contacts-page h2 { margin: 10px 0 24px; font-family: var(--serif); font-size: 44px; font-weight: 400; }
.contact-lines { display: flex; flex-direction: column; gap: 13px; }
.contact-lines div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.contact-lines span { color: var(--muted-2); font-size: 11px; }
.contact-lines a { font-family: var(--serif); font-size: 24px; color: var(--gold-2); }
.contact-details { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.contact-details div { display: flex; justify-content: space-between; gap: 20px; color: var(--muted-2); font-size: 11px; }
.contact-details b { color: var(--ink); font-weight: 500; }
.contacts-page__card { padding: 26px; border-radius: 20px; background: linear-gradient(145deg, #0f2e39, #071820); border: 1px solid var(--line-soft); }
.contacts-page__card h3 { margin: 9px 0 8px; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.contacts-page__card p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }

/* ---------------- cart drawer ---------------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 8, 12, 0.68);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(420px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 24px 20px env(safe-area-inset-bottom);
  background: #091c26;
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.cart-drawer__head h2 { margin: 5px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.icon-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-soft); background: transparent; color: var(--muted); font-size: 22px; line-height: 1; }
.icon-close:hover { color: var(--gold-2); border-color: var(--line); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 16px 0; display: flex; flex-direction: column; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; animation: cartLine 0.3s ease both; }
@keyframes cartLine { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.cart-btn.is-bump { animation: cartBump 0.45s cubic-bezier(0.2,0.8,0.2,1); }
@keyframes cartBump { 0%,100% { transform: scale(1); } 35% { transform: scale(1.12); } 65% { transform: scale(0.96); } }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-line__name { font-size: 12px; line-height: 1.3; }
.cart-line__cat { margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.cart-line__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cart-line__qty { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-soft); border-radius: 7px; padding: 1px 4px; }
.cart-line__qty button { width: 19px; height: 22px; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
.cart-line__qty span { min-width: 14px; text-align: center; font-size: 10px; }
.cart-line__price { color: var(--gold-2); font-size: 11px; font-weight: 600; }
.cart-line__remove { border: 0; background: transparent; color: var(--muted-2); font-size: 9px; text-decoration: underline; text-underline-offset: 2px; }
.cart-line__remove:hover { color: #e1a59b; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center; }
.cart-drawer__empty-icon { font-size: 40px; }
.cart-drawer__empty p { max-width: 220px; margin: 0; color: var(--muted-2); font-size: 12px; }
.cart-drawer__foot { padding-top: 15px; border-top: 1px solid var(--line-soft); }
.cart-progress { margin-bottom: 14px; }
.cart-progress__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--muted-2); font-size: 9.5px; }
.cart-progress__head b { color: var(--gold-2); font-weight: 500; }
.cart-progress__track { height: 4px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.07); }
.cart-progress__track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b88f3d, var(--gold-2)); transition: width 0.4s cubic-bezier(0.2,0.8,0.2,1); }
.cart-progress.is-complete .cart-progress__track i { background: linear-gradient(90deg, #86a96a, #d4e2a4); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.cart-total b { color: var(--gold-2); font-family: var(--serif); font-size: 28px; font-weight: 500; }
.cart-drawer__note { margin-top: 10px; color: var(--muted-2); font-size: 9.5px; text-align: center; }

/* ---------------- success / toast / 404 ---------------- */
.success-screen { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(3, 12, 17, 0.82); backdrop-filter: blur(12px); }
.success-card { width: min(440px, 100%); padding: 34px 28px; border-radius: 24px; background: #0b2530; border: 1px solid rgba(212, 175, 90, 0.24); text-align: center; }
.success-card__icon { font-size: 44px; }
.success-card h2 { margin: 9px 0 8px; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.success-card p { margin: 0 auto 18px; max-width: 320px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.success-card__order { margin: 0 0 18px; color: var(--gold-2); font-size: 11px; letter-spacing: 0.08em; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 160;
  max-width: min(380px, calc(100% - 30px));
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(8, 30, 39, 0.92);
  border: 1px solid rgba(212, 175, 90, 0.32);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  color: var(--ink);
  font-size: 11px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.notfound { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 100px 0; }
.notfound h1 { margin: 10px 0; font-family: var(--serif); font-size: 64px; font-weight: 400; }
.notfound p { color: var(--muted); margin: 0 0 22px; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------------- reveal / motion ---------------- */
.js-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2,0.8,0.2,1); }
.js-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .hero__marquee-track { animation: none; }
  .hero__marquee { overflow-x: auto; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 0.85fr; gap: 30px; }
  .hero__title { font-size: clamp(54px, 7vw, 86px); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.2fr 0.7fr 0.8fr 0.9fr; gap: 20px; }
}
@media (max-width: 860px) {
  .header__inner { min-height: 70px; width: min(100% - 28px, var(--max)); }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 20px 18px; background: rgba(6, 18, 26, 0.97); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(18px); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .header__phone { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 26px 0 42px; }
  .hero__visual { order: -1; }
  .hero__image-wrap { aspect-ratio: 1.2; max-height: 380px; }
  .hero__title { font-size: clamp(52px, 12vw, 78px); }
  .hero__stats { gap: 22px; }
  .hero__stats b { font-size: 24px; }
  .section { padding-top: 64px; width: min(100% - 28px, var(--max)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 220px; }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta { width: min(100% - 28px, var(--max)); margin-top: 64px; }
  .cta__inner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer { width: min(100% - 28px, var(--max)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .checkout__grid { grid-template-columns: 1fr; gap: 34px; }
  .checkout__summary { position: static; order: -1; }
  .product-page { width: min(100% - 28px, var(--max)); }
  .product-page__grid { grid-template-columns: 1fr; gap: 26px; }
  .product-page__media { aspect-ratio: 1.1; }
  .product-page__facts { grid-template-columns: 1fr; }
  .info__grid, .about, .contacts-page { grid-template-columns: 1fr; gap: 30px; }
  .catalog, .info, .page-head__inner, .category-hero__inner { width: min(100% - 28px, var(--max)); }
  .catalog__toolbar { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }
  .sort { justify-content: space-between; }
  .category-hero { min-height: 300px; }
  .category-hero h1 { font-size: clamp(44px, 10vw, 64px); }
  .page-title { font-size: clamp(42px, 10vw, 60px); }
}
@media (max-width: 560px) {
  .hero__image-wrap { aspect-ratio: 1; max-height: 330px; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero__stats b { font-size: 22px; }
  .hero__stats span { font-size: 8px; }
  .category-grid { gap: 8px; }
  .category-card { min-height: 190px; padding: 12px; border-radius: 15px; }
  .category-card__title { font-size: 21px; }
  .category-card__bottom { font-size: 9px; }
  .category-card__count { font-size: 8px; }
  .section__head { align-items: flex-start; }
  .section__title { font-size: 38px; }
  .product-grid, .product-grid--catalog { gap: 8px; }
  .product-card { border-radius: 13px; }
  .product-card__body { padding: 10px 10px 11px; }
  .product-card__name { font-size: 12.5px; min-height: 34px; }
  .product-card__cat { font-size: 8px; }
  .product-card__meta { font-size: 9px; }
  .product-card__price { font-size: 14px; }
  .add-btn { width: 30px; height: 30px; border-radius: 8px; }
  .cta__inner { padding: 22px; border-radius: 20px; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-section { gap: 10px; }
  .form-section__num { flex-basis: 24px; font-size: 14px; }
  .form-section h2 { font-size: 24px; }
  .product-page__price b { font-size: 32px; }
  .checkout { width: min(100% - 28px, var(--max)); }
  .cart-drawer { width: 100%; }
}
