/* ШМОТ ПРИЕСПОДНИ — чёрно-белая типографика, жёсткая сетка, без полутонов */

:root {
  --black: #000;
  --white: #fff;
  --paper: #fff;
  --ink: #000;
  --muted: #5b5b5b;
  --soft: #8a8a8a;
  --line: #000;
  --line-soft: #d7d7d7;
  --font-display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --pad: clamp(1rem, 4vw, 4.5rem);
  --max: 1520px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
dt,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--black);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------- header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-main {
  color: var(--white);
}

.brand-slash {
  color: #777;
  font-weight: 400;
}

.brand-second {
  color: #9a9a9a;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.header-status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f8f8f;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9c9c9;
  transition: color 0.15s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------- ticker */

.ticker {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--white);
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span {
  padding: 0 1.15rem;
}

.ticker-sep {
  color: #666;
  padding: 0 !important;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------- common */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
}

.eyebrow-light {
  color: #b8b8b8;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--white);
  vertical-align: 0.05em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn:active {
  transform: translateY(1px);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
}

.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
}

.btn-big {
  min-height: 54px;
  padding: 1.15rem 1.6rem;
  font-size: 11px;
}

.text-link {
  display: inline-block;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--black);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.text-link:hover {
  background: var(--black);
  color: var(--white);
  padding-inline: 0.35rem;
  margin-inline: -0.35rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.hero + .section,
.page-head + .section {
  border-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin: 0.35rem 0 0;
}

/* --------------------------------------------------------------- home hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--white);
}

.hero-top {
  padding-top: clamp(2.2rem, 4vw, 3.8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9.25vw, 8.8rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
}

.hero-line-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.hero-lead {
  max-width: 48ch;
  margin: 0 0 2rem;
  color: #c7c7c7;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.hero-figure {
  position: relative;
  border: 1px solid var(--white);
  background: #0a0a0a;
  box-shadow: 10px 10px 0 var(--white);
  margin: 0 10px 10px 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-sticker {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.5rem 0.6rem;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(5deg);
}

.hero-index {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--white);
  background: var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-index span {
  color: #777;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #3a3a3a;
  padding-top: 1rem;
  gap: 0.5rem;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 0.3rem 0 0;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #909090;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid #333;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.hero-foot span:nth-child(2) {
  font-size: 13px;
  color: var(--white);
}

/* --------------------------------------------------------------- chips */

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.chip:hover,
.chip.is-active {
  background: var(--black);
  color: var(--white);
}

.chip-count {
  font-size: 8px;
  opacity: 0.55;
}

/* --------------------------------------------------------------- cards */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--black);
  border: 1px solid var(--black);
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  transition: background 0.15s ease;
}

.card:hover {
  background: #f4f4f4;
}

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0a0a0a;
  border-bottom: 1px solid var(--black);
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.card-number,
.card-tag {
  position: absolute;
  z-index: 2;
  padding: 0.45rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-number {
  top: 0;
  left: 0;
  background: var(--black);
  color: var(--white);
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.card-tag {
  top: 0;
  right: 0;
  background: var(--white);
  color: var(--black);
  border-left: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.card-hover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(101%);
  transition: transform 0.22s ease;
}

.card:hover .card-hover {
  transform: translateY(0);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.05rem 1.2rem;
}

.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.42rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.card-title a {
  background-image: linear-gradient(var(--black), var(--black));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.2s ease;
}

.card-title a:hover {
  background-size: 100% 1px;
}

.card-desc {
  color: #454545;
  font-size: 0.8rem;
  line-height: 1.42;
}

.card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-old {
  color: #777;
  font-size: 0.68rem;
  font-weight: 400;
  text-decoration: line-through;
}

/* --------------------------------------------------------------- manifesto */

.manifesto {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  background: var(--black);
  color: var(--white);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #333;
  border: 1px solid #333;
}

.manifesto-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 17rem;
  padding: clamp(1.4rem, 2.8vw, 2.4rem);
  background: var(--black);
  transition: background 0.2s ease, color 0.2s ease;
}

.manifesto-item:hover {
  background: var(--white);
  color: var(--black);
}

.manifesto-num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #777;
}

.manifesto-item h2 {
  margin: auto 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.manifesto-item p {
  max-width: 34ch;
  color: #b5b5b5;
  font-size: 0.86rem;
  line-height: 1.55;
}

.manifesto-item:hover p {
  color: #333;
}

/* --------------------------------------------------------------- cta */

.section-contact-cta {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-title {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.8vw, 5.8rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.cta-text {
  max-width: 52ch;
  color: #444;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------- page head */

.page-head {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(1.8rem, 3vw, 2.5rem);
}

.page-title {
  margin: 0.45rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8.4rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.page-lead {
  max-width: 62ch;
  color: #444;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.page-head-contact {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-title {
  margin: 0.45rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.contact-title-mark {
  display: inline-block;
  margin-left: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
  vertical-align: 0.18em;
}

/* --------------------------------------------------------------- catalog */

.section-catalog-list {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.5fr) minmax(190px, 0.55fr) auto;
  gap: 1px;
  margin: 0 0 1.25rem;
  border: 1px solid var(--black);
  background: var(--black);
}

.filter-field {
  display: flex;
  min-width: 0;
  background: var(--white);
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-width: 0;
  padding: 1rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-field input::placeholder {
  color: #777;
  opacity: 1;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid var(--black);
  outline-offset: -2px;
}

.filter-submit {
  padding: 1rem 1.5rem;
  border: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-submit:hover {
  background: var(--white);
  color: var(--black);
}

.catalog-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-count {
  font-weight: 700;
}

.catalog-note {
  color: #777;
}

.empty {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  border: 1px solid var(--black);
  text-align: center;
}

.empty-code {
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.empty-code span {
  -webkit-text-stroke: 1px var(--black);
  color: var(--black);
  font-size: 0.4em;
  vertical-align: 0.4em;
}

.empty-title {
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.empty-text {
  max-width: 52ch;
  margin: 0 auto 1.5rem;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.55;
}

.empty .actions {
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid transparent;
  font-weight: 700;
  transition: border-color 0.15s ease;
}

.page-link:hover {
  border-bottom-color: var(--black);
}

.page-link.is-disabled {
  color: #aaa;
  cursor: not-allowed;
}

.page-status {
  color: #777;
}

/* --------------------------------------------------------------- breadcrumbs */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
}

.breadcrumbs a:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.breadcrumbs span[aria-current] {
  color: var(--black);
}

/* --------------------------------------------------------------- product */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: min(calc(100% - var(--pad) * 2), var(--max));
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 6rem);
}

.product-media {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--black);
  background: #0a0a0a;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-media-code {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.product-info {
  min-width: 0;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-topline .eyebrow {
  margin: 0;
}

.product-tag {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-title {
  margin: 0.8rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.product-lead {
  max-width: 55ch;
  padding-left: 1rem;
  border-left: 3px solid var(--black);
  color: #444;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.5;
}

.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-family: var(--font-mono);
}

.product-now {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-old {
  color: #777;
  font-size: 0.9rem;
  text-decoration: line-through;
}

.product-description p {
  max-width: 62ch;
  margin: 0 0 0.9rem;
  color: #222;
  font-size: 0.96rem;
  line-height: 1.65;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-specs {
  margin-top: 2rem;
}

.spec-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-row dt {
  color: #666;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-row dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: right;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.product-notes {
  max-width: 60ch;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--black);
  color: #666;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.product-notes p + p {
  margin-top: 0.5rem;
}

.section-related {
  border-top: 1px solid var(--black);
}

/* --------------------------------------------------------------- contacts */

.section-contact {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-block {
  padding-top: 0.7rem;
  border-top: 1px solid var(--black);
}

.contact-label {
  margin: 0 0 0.4rem;
  color: #666;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-link {
  display: inline-block;
  max-width: 100%;
  border-bottom: 1px solid transparent;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  transition: border-color 0.15s ease;
}

.contact-link:hover {
  border-bottom-color: var(--black);
}

.contact-text {
  color: #333;
  font-size: 0.86rem;
  line-height: 1.6;
}

.contact-block-note {
  padding: 1.1rem;
  border: 0;
  background: var(--black);
  color: var(--white);
}

.contact-block-note .contact-label {
  color: #888;
}

.contact-block-note .contact-text {
  color: #b8b8b8;
}

.contact-form-wrap {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--black);
  margin: 0 10px 10px 0;
}

.form-success {
  margin-bottom: 1.35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
}

.form-success-title {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.form-success p:last-child {
  color: #c4c4c4;
  font-size: 0.84rem;
  line-height: 1.5;
}

.form-errors {
  margin-bottom: 1.35rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
}

.form-errors-title {
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-errors ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-errors li::before {
  content: "— ";
  color: #888;
}

.form-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  padding: 0.7rem 0.85rem;
  border: 1px dashed var(--black);
  font-size: 0.82rem;
  line-height: 1.4;
}

.form-context-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}

.form-context a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  margin-bottom: 1.05rem;
}

.field label,
.label-row label {
  color: #333;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.counter {
  color: #777;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.4;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #888;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.checkbox input:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}

.field [aria-invalid="true"],
.checkbox [aria-invalid="true"] {
  background: #f3f3f3;
  box-shadow: inset 4px 0 0 var(--black);
}

.field-error {
  margin: 0.1rem 0 0;
  padding: 0.4rem 0.55rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0.4rem;
  color: #333;
  font-size: 0.78rem;
  line-height: 1.45;
  cursor: pointer;
}

.checkbox input {
  display: grid;
  place-content: center;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin: 0.08rem 0 0;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  appearance: none;
}

.checkbox input::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  background: var(--black);
  transform: scale(0);
  transition: transform 0.1s ease;
}

.checkbox input:checked::before {
  transform: scale(1);
}

.btn-submit {
  width: 100%;
  margin-top: 0.9rem;
}

.form-note {
  margin-top: 0.8rem;
  color: #666;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.55;
}

/* --------------------------------------------------------------- footer */

.footer {
  padding: clamp(2.5rem, 5vw, 5rem) 0 1.5rem;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--white);
}

.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid #333;
}

.footer-cta .eyebrow {
  color: #888;
}

.footer-mail {
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.footer-mail:hover {
  color: #999;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.48fr) minmax(210px, 0.52fr);
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid #333;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 5.4rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.07em;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.footer-brand-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.footer-title {
  margin: 0 0 0.8rem;
  color: #888;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.footer-list a {
  color: #d2d2d2;
  transition: color 0.15s ease;
}

.footer-list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-list li:last-child {
  color: #888;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.15rem;
  color: #777;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------- error */

.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: clamp(3rem, 7vw, 6rem) 0;
  text-align: center;
}

.error-code {
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 19rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.09em;
}

.error-title {
  margin: 1.25rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.error-text {
  max-width: 52ch;
  margin: 0 auto 1.6rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.error-actions {
  justify-content: center;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .header-status {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  }

  .hero-title {
    font-size: clamp(3rem, 9.6vw, 8.2rem);
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .filter-search {
    grid-column: 1 / -1;
  }

  .filter-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-side {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 1.5rem;
  }

  .hero-figure {
    max-width: 430px;
    width: 100%;
  }

  .hero-stats {
    align-self: end;
  }

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

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-item {
    min-height: auto;
  }

  .manifesto-item h2 {
    margin-top: 2.5rem;
  }

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

  .product-media {
    position: relative;
    top: auto;
    max-width: 620px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .contact-block-note {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18em;
    font-size: 13px;
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .brand-slash {
    display: none;
  }

  .brand-second {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .nav {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-grid {
    padding-top: 2.4rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 9vw, 4.4rem);
    letter-spacing: -0.07em;
    margin: 0.9rem 0 0;
  }

  .hero-line-outline {
    -webkit-text-stroke-width: 1.3px;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    max-width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-foot {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .hero-foot span:nth-child(2) {
    display: none;
  }

  .section {
    padding: 2.8rem 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .cta {
    align-items: flex-start;
  }

  .cta-title {
    font-size: clamp(2rem, 10.5vw, 3.4rem);
  }

  .page-head {
    padding-top: 2.5rem;
  }

  .page-title {
    font-size: clamp(2.8rem, 15vw, 5rem);
  }

  .contact-title {
    font-size: clamp(3.8rem, 18vw, 7rem);
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filter-search,
  .filter-submit {
    grid-column: auto;
  }

  .catalog-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

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

  .card-hover {
    display: none;
  }

  .product {
    padding-top: 1.2rem;
  }

  .product-title {
    font-size: clamp(1.35rem, 7.2vw, 3.4rem);
  }

  .product-actions .btn {
    width: 100%;
  }

  .spec-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .spec-row dd {
    text-align: left;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-block-note {
    grid-column: auto;
  }

  .contact-form-wrap {
    box-shadow: none;
    margin: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    min-width: 0;
    font-size: clamp(1.6rem, 9vw, 3.5rem);
  }

  .footer-mail {
    font-size: clamp(1.8rem, 9.5vw, 3.6rem);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.35rem;
  }

  .pagination {
    font-size: 8px;
  }

  .breadcrumbs {
    font-size: 7px;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 12px;
  }

  .nav-link {
    font-size: 8px;
  }

  .hero-title {
    font-size: 9vw;
  }

  .hero-stats dt {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-track {
    animation: none;
  }
}

/* ------------------------------------------------------- галерея и размеры */

.card-media img {
  filter: none;
}

.card-sizes {
  margin-top: -0.15rem;
  color: #666;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-media .product-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f2f2f2;
}

.product-photo-link {
  display: block;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--white);
  background: #0a0a0a;
}

.product-thumb {
  display: block;
  width: 76px;
  border: 1px solid #444;
  background: #000;
  transition: border-color 0.15s ease;
}

.product-thumb:hover {
  border-color: var(--white);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-sizes {
  margin: 0 0 1.6rem;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.size-chip {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-empty {
  color: #666;
  font-size: 0.84rem;
}

/* -------------------------------------------------------------- админка */

.admin {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 6rem);
}

.admin-narrow {
  max-width: 560px;
}

.admin-login-section {
  min-height: 60vh;
  padding-top: clamp(3rem, 8vw, 7rem);
}

.admin-login {
  margin-top: 1.5rem;
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--black);
}

.admin-head .page-lead {
  max-width: 60ch;
}

.admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-head-actions form {
  display: flex;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}

.admin-count {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}

.admin-notice {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--black);
  background: #f4f4f4;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--black);
  background: var(--white);
}

.admin-item-thumb {
  overflow: hidden;
  border: 1px solid var(--black);
  background: #f2f2f2;
}

.admin-item-thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.admin-item-meta {
  color: #666;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-item-title {
  margin: 0.3rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.admin-item-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.admin-item-price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-item-info,
.admin-item-links {
  margin-top: 0.25rem;
  color: #555;
  font-size: 0.78rem;
}

.admin-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 130px;
}

.admin-item-actions form {
  display: flex;
}

.admin-item-actions .btn {
  width: 100%;
}

.btn-danger {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-danger:hover {
  background: var(--white);
  color: var(--black);
}

.admin-form-container {
  max-width: 960px;
}

.admin .page-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  overflow-wrap: break-word;
}

.admin-form {
  margin-top: 1.75rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--black);
}

.admin-form .form-row {
  gap: 1rem;
}

.admin-photos {
  margin: 0.5rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--black);
}

.admin-photos legend {
  padding: 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-photo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 120px;
  padding: 0.35rem;
  border: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  cursor: pointer;
}

.admin-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.admin-photo span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.admin-upload {
  display: block;
  padding: 1rem;
  border: 1px dashed #777;
  cursor: pointer;
}

.admin-upload input {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 9px;
}

.admin-upload span {
  color: #555;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.field-hint {
  color: #777;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.45;
}

.form-note code {
  padding: 0.1rem 0.25rem;
  background: #eee;
  font-size: 8px;
}

@media (max-width: 760px) {
  .admin-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .admin-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .admin-item-actions .btn {
    width: auto;
  }

  .admin-photo {
    width: 96px;
  }

  .admin-form-actions .btn {
    width: 100%;
  }
}
