:root {
  --bg-page: #e8e2d9;
  --bg-card: #faf8f5;
  --bg-hero-dark: #4a5568;
  --bg-footer: #2d3238;
  --bg-strip: #4a5568;
  --text: #1c1c1c;
  --text-muted: #5c5c5c;
  --text-on-dark: #f5f3f0;
  --text-on-dark-muted: rgba(245, 243, 240, 0.85);
  --border: rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.08);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --container: min(1200px, calc(100% - 2rem));
  --header-h: 4.5rem;
  /* Админ (на базе общей палитры) */
  --admin-queue-bg: #ebe6df;
  --admin-radius-panel: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--bg-hero-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  top: 0.5rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: color-mix(in srgb, var(--bg-page) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}
.logo__mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 1.5px solid currentColor;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.logo__name {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo--footer {
  color: var(--text-on-dark);
}
.logo--footer .logo__mark {
  font-size: 1.5rem;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s;
}
.nav-toggle::before { top: 0.9rem; }
.nav-toggle::after { top: 1.3rem; box-shadow: 0 6px 0 var(--text); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}
.nav > a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav > a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
}
.icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--bg-card);
}
.btn--hero-outline {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
}
.btn--hero-outline:hover {
  background: var(--text-on-dark);
  color: var(--bg-hero-dark);
}
.btn--hero-solid {
  background: #fff;
  color: var(--bg-hero-dark);
  border-color: #fff;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
}
.btn--hero-solid:hover {
  background: var(--bg-hero-dark);
  color: #fff;
  border-color: var(--bg-hero-dark);
}
.hero .btn--hero-solid:hover,
.hero__actions .btn--hero-solid:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.hero__actions .btn--hero-catalog {
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero__actions .btn--seller-cta {
  padding: 0.95rem 2.1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ——— Hero ——— */
.hero {
  padding: 2.5rem 0 3rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--bg-hero-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: min(60vh, 720px);
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}
.hero__text {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  color: var(--text-on-dark);
  margin: 0;
  letter-spacing: 0.01em;
}
.hero__title span {
  display: block;
  margin-top: 0.1em;
}
.hero__tagline {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  max-width: 32ch;
  margin: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
}
.hero__visual {
  min-height: 240px;
  position: relative;
  background: #c4bdb4;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* ——— Categories ——— */
.section {
  padding: 3.5rem 0;
}
.section--tight {
  padding-top: 0;
  padding-bottom: 2rem;
}
.section__heading {
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}
.cat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: block;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.cat-card__media {
  position: relative;
  aspect-ratio: 4 / 3.35;
  background: #ddd8d0;
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 0.85rem 0.55rem;
  text-transform: capitalize;
  font-family: var(--font-serif);
  background: var(--bg-card);
  border-bottom: 1px solid rgba(36, 39, 45, 0.06);
}
.cat-card__img {
  display: none;
}

/* ——— Products ——— */
.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-inline: auto;
}
@media (max-width: 500px) {
  .product-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* Полки комнат: один горизонтальный ряд = 8 долей (узкая 1, стандарт 2, широкая 4; любые сочетания, ряд может быть неполным) */
.shelf-zone__grid.product-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: stretch;
}
.shelf-zone__grid.product-grid--2 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  max-width: none;
  margin-inline: 0;
}
.shelf-zone__grid > .shelf-slot--narrow {
  grid-column: span 1;
}
.shelf-zone__grid > .shelf-slot--standard {
  grid-column: span 2;
}
.shelf-zone__grid > .shelf-slot--wide {
  grid-column: span 4;
}
.shelf-zone__grid > li:not(.shelf-slot) {
  grid-column: span 2;
}

@media (max-width: 1000px) {
  .shelf-zone__grid.product-grid,
  .shelf-zone__grid.product-grid--2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .shelf-zone__grid > .shelf-slot--narrow {
    grid-column: span 1;
  }
  .shelf-zone__grid > .shelf-slot--standard {
    grid-column: span 2;
  }
  .shelf-zone__grid > .shelf-slot--wide {
    grid-column: span 4;
  }
  .shelf-zone__grid > li:not(.shelf-slot) {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .shelf-zone__grid.product-grid,
  .shelf-zone__grid.product-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shelf-zone__grid > .shelf-slot--narrow {
    grid-column: span 1;
  }
  .shelf-zone__grid > .shelf-slot--standard,
  .shelf-zone__grid > .shelf-slot--wide {
    grid-column: span 2;
  }
  .shelf-zone__grid > li:not(.shelf-slot) {
    grid-column: span 2;
  }
}

.home-picks__placeholder {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 1.35rem 1rem;
  font-size: 0.92rem;
  list-style: none;
}

.product-grid > li {
  min-width: 0;
  display: flex;
}
.product-grid > li > .product-card--link {
  flex: 1;
  width: 100%;
  height: 100%;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
a.product-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
a.product-card--link:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.11);
  transform: translateY(-3px);
  border-color: rgba(74, 85, 104, 0.22);
}
a.product-card--link:focus-visible {
  outline: 2px solid var(--bg-hero-dark);
  outline-offset: 3px;
}
.product-card__studio {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  padding: 0.75rem 1rem 0.25rem;
  text-align: center;
  font-style: italic;
}
.product-card__image {
  background: #ece8e2;
  aspect-ratio: 1;
  position: relative;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__body {
  padding: 0.85rem 1rem 1.1rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.product-card__type {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.product-card__price {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.35rem 0 0;
}
.ruble {
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.1em;
}

/* ——— Designers ——— */
.section--designers {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}
.section__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.section__row .section__heading {
  margin: 0;
  text-align: left;
}
.slider-nav {
  display: flex;
  gap: 0.5rem;
}
.slider-nav__btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 4px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.slider-nav__btn:hover {
  background: #e0dbd4;
}
.designer-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.designer-strip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.designer-card {
  flex: 0 0 min(100%, 320px);
  max-width: 360px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.designer-card__top {
  background: var(--bg-hero-dark);
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 55%;
  min-height: 220px;
}
.designer-card__top--logo {
  background: #3d4450;
}
.designer-card__avatar {
  width: min(200px, 80%);
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.2);
}
.designer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--text-on-dark);
  color: var(--bg-hero-dark);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
}
.designer-card__bottom {
  background: #efeae3;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}
.designer-card__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}
.designer-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}
.designer-card__link {
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  margin-top: 0.4rem;
}
.designer-card__link:hover {
  text-decoration: none;
}

/* ——— Strip ——— */
.section--strip {
  background: var(--bg-strip);
  color: var(--text-on-dark);
  padding: 2.5rem 0;
  margin: 0;
  border: none;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
  align-items: start;
}
@media (max-width: 800px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.5rem;
}
.feature__icon {
  color: var(--text-on-dark);
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__text {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  max-width: 14ch;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-on-dark-muted);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.4fr 0.4fr;
  gap: 2rem 3rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer__name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0.75rem 0 0.5rem;
  color: var(--text-on-dark);
}
.footer__address {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
  max-width: 22ch;
  opacity: 0.8;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-col a:hover {
  color: #fff;
}
.footer-line {
  padding-top: 1.25rem;
}
.footer__hint {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ——— Mobile nav ——— */
@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }
  .header-tools {
    margin-left: auto;
    order: 1;
  }
  .nav-toggle {
    order: 2;
  }
  .logo {
    order: 0;
  }
  .nav {
    order: 3;
    flex: 1 1 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    justify-content: flex-start;
  }
  .nav.is-open {
    display: flex;
  }
  .nav .btn--outline {
    text-align: center;
  }
  .header-inner {
    position: relative;
    padding-bottom: 0.5rem;
  }
}
/* Extra pages and fixes */
.cat-grid {
  max-width: 1240px;
  margin-inline: auto;
}
.inner-page {
  min-height: 65vh;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.page-lead {
  text-align: center;
  max-width: 680px;
  margin: -1rem auto 2rem;
  color: var(--text-muted);
}
.subheading {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 2rem 0 1rem;
}
.auth-form {
  max-width: 420px;
  margin: 0 auto;
}
.profile-image {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
/* Style parity for inner pages */
.inner-page .section {
  padding-top: 3rem;
}
.inner-page .checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.inner-page .checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: var(--text-muted);
  border: none;
}
.inner-page .checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bg-hero-dark);
}
.page-lead {
  text-align: center;
  max-width: 680px;
  margin: -0.75rem auto 1.75rem;
  color: var(--text-muted);
}
.subheading {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 1.25rem 0 0.9rem;
  letter-spacing: 0.01em;
}
.auth-form {
  max-width: 430px;
  margin: 0 auto;
}
.profile-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Страница «О нас» */
.about-hero {
  background: var(--bg-hero-dark);
  color: var(--text-on-dark);
  padding: clamp(2.25rem, 6vw, 3.75rem) 0;
}
.about-hero__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.about-hero__eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-on-dark-muted);
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.about-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 1.1rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.about-hero__lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}
.page-about .inner-page > section.section:nth-of-type(2) {
  padding-top: 2.5rem;
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem 2.75rem;
  align-items: center;
}
.about-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.about-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 600;
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.about-prose {
  margin: 0 0 1.05rem;
  color: var(--text);
  line-height: 1.65;
  max-width: 52ch;
}
.about-prose:last-child {
  margin-bottom: 0;
}
.about-intro__figure {
  margin: 0;
}
.about-intro__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.about-intro__caption {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.section--about-muted {
  background: color-mix(in srgb, var(--bg-card) 55%, var(--bg-page));
  border-block: 1px solid var(--border);
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.about-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
@media (max-width: 900px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}
.about-value-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 1.35rem 1.25rem 1.4rem;
}
.about-value-card__icon {
  color: var(--bg-hero-dark);
  margin-bottom: 0.85rem;
  display: flex;
}
.about-value-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
}
.about-value-card__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.about-quote {
  margin: 0 auto;
  max-width: 38rem;
  padding: 1.5rem 1rem 0;
  text-align: center;
  border: none;
}
.about-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 0.65rem;
  color: var(--text);
  line-height: 1.35;
}
.about-quote footer,
.about-quote cite {
  font-size: 0.86rem;
  font-style: normal;
  color: var(--text-muted);
}
.about-steps {
  list-style: none;
  counter-reset: about-step;
  padding: 0;
  margin: 0 auto;
  max-width: 46rem;
  display: grid;
  gap: 0.85rem;
}
.about-steps li {
  counter-increment: about-step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.2rem 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem 1.15rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.about-steps li::before {
  content: counter(about-step);
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-hero-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.about-steps__title {
  grid-column: 2;
  grid-row: 1;
  font-weight: 700;
  font-size: 0.95rem;
}
.about-steps__desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.about-cta {
  background: var(--bg-hero-dark);
  color: var(--text-on-dark);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  margin-top: 0;
}
.about-cta__inner {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}
.about-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}
.about-cta__text {
  margin: 0 0 1.5rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
  font-size: 0.98rem;
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
}
@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
}

/* Designer profile screens (close to Figma profile mockups) */
.profile-shell {
  padding-top: 1.25rem;
}

.profile-top {
  background: #4a5568;
  color: #eef0f4;
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 120px 1fr 170px;
  gap: 1rem;
  align-items: center;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.profile-meta {
  margin: 0;
  color: rgba(238, 240, 244, 0.88);
  font-size: 0.92rem;
  max-width: 64ch;
}

.profile-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.profile-actions .btn {
  font-size: 0.72rem;
  padding: 0.45rem 0.85rem;
}

.profile-stats {
  display: grid;
  gap: 0.5rem;
}

.profile-stat {
  background: #f5f3ee;
  color: #2a2f36;
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  text-align: center;
}

.profile-stat strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
}

.profile-stat span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.profile-tabs {
  margin: 1rem 0 0.7rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.profile-tab {
  border: 1px solid var(--border);
  color: #1f232a;
  background: #ede8df;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.profile-tab.is-active {
  background: #4a5568;
  border-color: #4a5568;
  color: #f3f5f8;
}

.profile-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1rem;
  align-items: start;
}

.profile-sidebar {
  background: #f1ece4;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.profile-filter-title {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4f5663;
}

.profile-filter {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.profile-filter button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  text-align: left;
  padding: 0.42rem 0.55rem;
  font-size: 0.77rem;
  cursor: pointer;
}

.profile-filter button.is-active {
  background: #4a5568;
  color: #f4f6f9;
  border-color: #4a5568;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.profile-grid__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #666d78;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.profile-product {
  background: #f7f3eb;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.profile-product--qv {
  cursor: zoom-in;
}

.profile-product__image-wrap {
  position: relative;
  background: #ece8e2;
  aspect-ratio: 1;
}

.profile-product__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.profile-product__body {
  padding: 0.45rem 0.6rem 0.65rem;
}

.profile-product__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
}

.profile-product__meta {
  margin: 0;
  color: #666d78;
  font-size: 0.72rem;
}

.profile-product__price {
  margin: 0.22rem 0 0;
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .profile-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-avatar {
    margin: 0 auto;
  }
  .profile-actions {
    justify-content: center;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

/* Login screen quality pass */
.auth-screen {
  padding-top: 2rem;
}

.auth-hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  background: #f6f1e9;
}

.auth-hero__left {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.auth-kicker {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5f6672;
  font-size: 0.72rem;
  font-weight: 700;
}

.auth-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.auth-subtitle {
  margin: 0.7rem 0 1.2rem;
  color: #606874;
  max-width: 42ch;
  font-size: 0.95rem;
}

.auth-form--card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  max-width: 420px;
  margin: 0;
}

.auth-form--card .form__row span {
  color: #4f5663;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.auth-submit {
  width: 100%;
  margin-top: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.auth-hero__right {
  min-height: 420px;
  background: #d4c7b6;
}

.auth-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .auth-hero {
    grid-template-columns: 1fr;
  }
  .auth-hero__right {
    min-height: 220px;
  }
}

/* Unified text boxes and forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__row span {
  font-weight: 600;
  color: #4d5460;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.form__row .form__hint {
  display: block;
  margin-top: 0.15rem;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form__row input[type="file"] {
  padding: 0.5rem 0;
  border-style: dashed;
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(36, 39, 45, 0.2);
  border-radius: 10px;
  background: #fffdfa;
  color: #1f232a;
  padding: 0.7rem 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: #8a909b;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(36, 39, 45, 0.35);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #4a5568;
  box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.18);
  background: #ffffff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  margin: 0.15rem 0 0;
  min-height: 1.25rem;
  font-size: 0.82rem;
  color: #5b6370;
}

.form-message.is-success {
  color: #2f6b43;
}

.form-message.is-error {
  color: #a82020;
}

.header-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #4a5568;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s, transform 0.15s;
}

.header-cart-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

@keyframes av-header-cart-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.header-cart--pulse {
  animation: av-header-cart-pulse 0.48s ease;
}

.av-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 1.35rem;
  z-index: 10060;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(36, 39, 45, 0.94);
  color: #f4f6f9;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translate3d(-50%, 120%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.av-cart-toast--visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
}

.av-cart-toast--out {
  transform: translate3d(-50%, 80%, 0);
  opacity: 0;
}

.av-cart-fly {
  position: fixed;
  z-index: 10055;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .av-cart-toast {
    transition-duration: 0.12s;
  }
  .header-cart--pulse {
    animation: none;
  }
}

.product-card__add,
.profile-product .product-card__add {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  padding: 0.4rem 0.75rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.profile-product__body .product-card__add {
  width: 100%;
  max-width: 12rem;
}

.catalog-search {
  display: block;
  max-width: 28rem;
  margin: 0 0 1.5rem;
}

.catalog-search input {
  width: 100%;
}

.cart-panel {
  max-width: 800px;
  margin: 0 auto;
}

.cart-order-email {
  max-width: 24rem;
  margin-bottom: 0.35rem;
}

.cart-order-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-line__media img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-line__ph {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #ece8e2;
}

.cart-line__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0;
}

.cart-line__price {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.cart-line__qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-qty-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.cart-line__sum {
  font-weight: 600;
  white-space: nowrap;
}

.cart-remove {
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  text-transform: none;
}

.cart-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.cart-total {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

@media (max-width: 640px) {
  .cart-line {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }

  .cart-line__qty,
  .cart-line__sum,
  .cart-remove {
    grid-column: 2;
  }

  .cart-remove {
    justify-self: start;
  }
}

.nav a.nav-logout {
  border-color: rgba(168, 32, 32, 0.35);
  color: #7a2a2a;
}

/* Единый стиль внутренних страниц */
.section__heading--inline {
  margin-bottom: 0;
  text-align: left;
}

.inner-page .section.section--designers {
  padding-top: 2.5rem;
}

.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 auto 1.75rem;
  max-width: 720px;
}

.catalog-pills__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(36, 39, 45, 0.22);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.catalog-pills__link:hover {
  border-color: var(--bg-hero-dark);
  background: color-mix(in srgb, var(--bg-card) 85%, var(--bg-hero-dark));
}

.product-grid--5 {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (min-width: 1100px) {
  .product-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer__hint code {
  font-size: 0.78em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-line .footer__hint code {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
}

.login-admin-hint {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 0 1.25rem;
}

.login-admin-hint code {
  font-size: 0.85em;
}

/* ——— Админ-панель (в общем стиле сайта) ——— */
body.page-admin,
body.page-seller {
  background: var(--bg-page);
}

.admin-mod-server-pending {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-mod-server-pending__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seller-server-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.seller-server-card {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.seller-server-card__media {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: #ece8e2;
}

.seller-server-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-server-card__body {
  flex: 1;
  min-width: 200px;
}

.seller-server-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.seller-server-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.seller-server-card__status {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bg-hero-dark);
}

.admin-page-shell {
  padding: 1.5rem 0 2.5rem;
}

.admin-app {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: min(70vh, 960px);
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  padding: 1.5rem 1.15rem 1.35rem;
  border-radius: 0 var(--admin-radius-panel) var(--admin-radius-panel) 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.admin-sidebar__brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-sidebar__logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
}

.admin-sidebar__logo-link .logo__name {
  font-size: 0.82rem;
}

.admin-sidebar__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-sidebar__link {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}

.admin-sidebar__link:hover {
  background: rgba(74, 85, 104, 0.08);
}

.admin-sidebar__link.is-active {
  background: rgba(74, 85, 104, 0.14);
  color: var(--bg-hero-dark);
}

.admin-sidebar__user {
  margin: auto 0 0;
  padding-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  word-break: break-all;
  border-top: 1px solid var(--border);
}

.admin-main {
  flex: 1;
  padding: 0.25rem 0 1rem 1.75rem;
  max-width: none;
}

.admin-main--wide {
  max-width: none;
}

.admin-main__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.admin-main__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.admin-main__period {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
}

@media (max-width: 900px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }
}

.admin-stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.admin-stat-card__label {
  margin: 0 0 0.45rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-stat-card__value {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  font-family: var(--font-serif);
}

.admin-chart-block {
  background: var(--bg-card);
  border-radius: var(--admin-radius-panel);
  padding: 1.15rem 1.25rem 1.25rem;
  margin-bottom: 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.admin-chart-block__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.admin-chart-placeholder {
  height: 190px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    var(--bg-page) 0%,
    #d8d2c9 42%,
    var(--bg-hero-dark) 100%
  );
  opacity: 0.92;
}

.admin-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

@media (max-width: 720px) {
  .admin-widgets {
    grid-template-columns: 1fr;
  }
}

.admin-widget {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.admin-widget--action {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-widget__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.admin-widget__empty {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.admin-widget__queue {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

/* Кнопки админки = те же приёмы, что на витрине */
.page-admin .btn--admin-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bg-hero-dark);
  background: var(--bg-hero-dark);
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.page-admin .btn--admin-solid:hover {
  background: #3d4654;
  border-color: #3d4654;
  color: #fff !important;
}

.page-admin .btn--admin-reject {
  border: none;
  background: none;
  color: #b83232 !important;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-family: var(--font-sans);
  padding: 0.4rem 0;
}

.page-admin .btn--admin-reject:hover {
  color: #8b2424 !important;
}

/* Модерация */
.admin-mod-head {
  margin-bottom: 1.35rem;
}

.admin-mod-head__title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.admin-mod-head__lead {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 42rem;
}

.seller-cabinet-notice {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 42rem;
}

.seller-cabinet-notice a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-mod-create {
  background: var(--admin-queue-bg);
  border-radius: var(--admin-radius-panel);
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.admin-mod-create__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-family: var(--font-serif);
}

.admin-mod-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-mod-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: var(--text);
}

.admin-mod-form input,
.admin-mod-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
}

.admin-mod-form__wide {
  grid-column: 1 / -1;
}

.admin-mod-form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-mod-form__actions .form-message {
  margin: 0;
}

.admin-mod-create__hint {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-mod-queue {
  background: var(--admin-queue-bg);
  border-radius: var(--admin-radius-panel);
  padding: 1.15rem 1.25rem 1.4rem;
  border: 1px solid var(--border);
}

.admin-mod-queue__meta {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.admin-mod-card {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.05rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 0.75rem;
}

.admin-mod-card__media {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ece8e2;
}

.admin-mod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-mod-card__body {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admin-mod-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-sans);
}

.admin-mod-card__studio {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.admin-mod-card__price {
  margin: 0.2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-hero-dark);
  font-family: var(--font-serif);
}

.admin-mod-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  align-items: center;
  margin-top: auto;
}

.admin-mod-empty {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

@media (max-width: 900px) {
  .admin-app {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    border-radius: var(--admin-radius-panel);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1rem;
  }

  .admin-sidebar__brand {
    flex: 1;
    min-width: 160px;
  }

  .admin-sidebar__nav {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-sidebar__link {
    flex: 1 1 auto;
    text-align: center;
    min-width: 100px;
  }

  .admin-sidebar__user {
    margin: 0;
    padding-top: 0;
    flex: 1 1 100%;
    text-align: center;
    border-top: none;
  }

  .admin-main {
    padding: 1rem 0 0;
  }

  .admin-mod-form {
    grid-template-columns: 1fr;
  }
}

/* ——— Комнаты витрины и полки («Твоя полка») ——— */
.room-hero {
  background: var(--bg-hero-dark);
  color: var(--text-on-dark);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.room-hero__inner {
  display: grid;
  gap: 0.65rem;
  max-width: 38rem;
}
.room-hero__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.room-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
}
.room-hero__lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}
.room-hero__links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}
.room-hero__links a {
  color: var(--text-on-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-underline-offset: 0.15em;
}
.room-hero__links a:hover {
  color: #fff;
}

.shelf-zone {
  margin-bottom: 2.25rem;
}
.shelf-zone:last-child {
  margin-bottom: 0;
}
.shelf-zone__head {
  margin-bottom: 0.65rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid rgba(74, 85, 104, 0.2);
}
.shelf-zone--top .shelf-zone__head {
  border-bottom-color: rgba(155, 130, 95, 0.45);
}
.shelf-zone__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
}
.shelf-zone__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 46ch;
}
.shelf-zone__note {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}
.shelf-zone--top {
  padding: 1rem 1.1rem 0.25rem;
  margin-left: -1.1rem;
  margin-right: -1.1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-card) 88%, #c4a574 12%);
  border: 1px solid rgba(155, 130, 95, 0.25);
}
@media (max-width: 600px) {
  .shelf-zone--top {
    margin-left: 0;
    margin-right: 0;
    padding: 0.85rem 0.75rem 0;
  }
}

.product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.45rem 0.65rem 0;
}
.shelf-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border-radius: 4px;
  border: 1px solid transparent;
}
.shelf-badge--tier-top {
  background: rgba(74, 85, 104, 0.12);
  border-color: rgba(74, 85, 104, 0.25);
  color: var(--bg-hero-dark);
}
.shelf-badge--tier-mid {
  background: rgba(92, 92, 92, 0.08);
  color: var(--text-muted);
  border-color: var(--border);
}
.shelf-badge--tier-low {
  background: rgba(120, 110, 95, 0.1);
  color: #5c5348;
  border-color: rgba(120, 110, 95, 0.2);
}
.shelf-badge--width-narrow {
  background: #faf8f5;
  color: var(--text-muted);
  border-color: var(--border);
}
.shelf-badge--width-standard {
  background: rgba(74, 85, 104, 0.06);
  color: var(--text);
  border-color: rgba(74, 85, 104, 0.15);
}
.shelf-badge--width-wide {
  background: rgba(74, 85, 104, 0.14);
  color: var(--bg-hero-dark);
  border-color: rgba(74, 85, 104, 0.28);
}

.catalog-hub-lead {
  text-align: center;
  max-width: 40rem;
  margin: -0.5rem auto 1.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.catalog-hub-strip {
  background: color-mix(in srgb, var(--bg-card) 70%, var(--bg-page));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.catalog-hub-strip p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  max-width: 42ch;
}
.catalog-hub-strip .btn {
  flex-shrink: 0;
}

.polki-page .polki-section {
  margin-bottom: 2rem;
}
.polki-page .polki-section h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
}
.polki-page .polki-section p,
.polki-page .polki-section li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}
.polki-page .polki-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.polki-page .polki-section li {
  margin-bottom: 0.35rem;
}
.polki-diagram {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.82rem;
}
.polki-diagram__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.polki-diagram__row strong {
  min-width: 7rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-hero-dark);
}
.polki-diagram__row span {
  color: var(--text-muted);
}

.polki-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  -webkit-overflow-scrolling: touch;
}
.polki-combo-table {
  width: 100%;
  max-width: 42rem;
  border-collapse: collapse;
  font-size: 0.82rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.polki-combo-table th,
.polki-combo-table td {
  padding: 0.45rem 0.65rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.polki-combo-table th {
  background: color-mix(in srgb, var(--bg-card) 75%, var(--bg-hero-dark) 8%);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg-hero-dark);
}
.polki-combo-table td:last-child {
  text-align: left;
  color: var(--text-muted);
}
.polki-combo-table tbody tr:last-child td {
  border-bottom: none;
}

.polki-slot-figure {
  margin: 1rem 0 0;
  padding: 0;
}
.polki-slot-figure__cap {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.polki-slot-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
  height: 32px;
  max-width: 22rem;
}
.polki-slot-cell--narrow {
  grid-column: span 1;
  border-radius: 4px;
  background: rgba(74, 85, 104, 0.35);
  border: 1px solid rgba(74, 85, 104, 0.45);
}
.polki-slot-cell--wide {
  grid-column: span 4;
  border-radius: 4px;
  background: rgba(74, 85, 104, 0.22);
  border: 1px solid rgba(74, 85, 104, 0.35);
}
.polki-rent-calc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem 1.25rem;
  align-items: end;
  margin-top: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.polki-rent-calc__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.polki-rent-calc__field span {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
.polki-rent-calc__field select,
.polki-rent-calc__field input {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.polki-rent-calc__result {
  grid-column: 1 / -1;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}
.polki-rent-calc__rate,
.polki-rent-calc__total {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}
.polki-rent-calc__total strong {
  font-size: 1.35rem;
  font-family: var(--font-serif);
}

.polki-slot-cell--empty {
  grid-column: span 1;
  border-radius: 4px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(74, 85, 104, 0.06),
    rgba(74, 85, 104, 0.06) 4px,
    rgba(74, 85, 104, 0.02) 4px,
    rgba(74, 85, 104, 0.02) 8px
  );
  border: 1px dashed rgba(74, 85, 104, 0.22);
}

.admin-mod-form .form-field-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0.65rem;
  line-height: 1.45;
  max-width: 38rem;
}
.admin-mod-form .form-field-hint a {
  color: var(--bg-hero-dark);
  font-weight: 600;
}

.admin-mod-form textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  font-family: inherit;
  line-height: 1.45;
}

.admin-designers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 960px) {
  .admin-designers-layout {
    grid-template-columns: 1fr;
  }
}
.admin-designers-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.admin-designers-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.admin-designers-list__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.profile-meta--sub {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ——— Карточка товара (модалка) + корзина на превью ——— */
.product-card--qv {
  cursor: zoom-in;
}
.product-card__cart-float {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.94);
  color: var(--bg-hero-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card__cart-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}
.product-card__cart-float:focus-visible {
  outline: 2px solid var(--bg-hero-dark);
  outline-offset: 2px;
}

body.av-product-sheet-open {
  overflow: hidden;
}

.av-product-sheet[hidden] {
  display: none !important;
}

.av-product-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.av-product-sheet--fullscreen {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.av-product-sheet--fullscreen .av-product-sheet__dialog {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.av-product-sheet--fullscreen .av-product-sheet__grid {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}

.av-product-sheet--fullscreen .av-product-sheet__gallery {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-content: stretch;
}

.av-product-sheet--fullscreen .av-product-sheet__stage-wrap {
  position: relative;
  min-height: 0;
  height: 100%;
  max-height: none;
  aspect-ratio: unset;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-product-sheet--fullscreen .av-product-sheet__stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-product-sheet--fullscreen .av-product-sheet__media {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.av-product-sheet--fullscreen .av-product-sheet__thumbs {
  flex-shrink: 0;
}

.av-product-sheet--fullscreen .av-product-sheet__info {
  min-height: 0;
  overflow: auto;
}

.av-product-sheet--fullscreen .av-product-sheet__desc {
  max-height: min(38vh, 22rem);
}

.av-product-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 26, 30, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.av-product-sheet--open .av-product-sheet__backdrop {
  opacity: 1;
}

.av-product-sheet__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  transform: scale(0.9) translateY(12px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.av-product-sheet--open .av-product-sheet__dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.av-product-sheet__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}
.av-product-sheet__close:hover {
  background: #fff;
}

.av-product-sheet__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 0;
}
@media (max-width: 820px) {
  .av-product-sheet__grid {
    grid-template-columns: 1fr;
  }
}

.av-product-sheet__gallery {
  padding: 1rem 0.75rem 1rem 1rem;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-page) 55%, var(--bg-card));
}
@media (max-width: 820px) {
  .av-product-sheet__gallery {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.av-product-sheet__stage-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ece8e2;
  aspect-ratio: 1;
}

.av-product-sheet__stage {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-product-sheet__media {
  width: 100%;
  height: 100%;
  max-height: min(62vh, 560px);
  object-fit: contain;
  display: block;
  background: #ece8e2;
}

.av-product-sheet__empty-media {
  margin: 0;
  padding: 2rem;
  color: var(--text-muted);
}

.av-product-sheet__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--bg-hero-dark);
}
.av-product-sheet__nav--prev {
  left: 0.5rem;
}
.av-product-sheet__nav--next {
  right: 0.5rem;
}

.av-product-sheet__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.av-product-sheet__thumb {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-card);
}
.av-product-sheet__thumb.is-active {
  border-color: var(--bg-hero-dark);
}
.av-product-sheet__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.av-product-sheet__thumb-fake {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  background: #2a2f36;
  color: #fff;
}

.av-product-sheet__info {
  padding: 1.35rem 1.25rem 1.5rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (max-width: 820px) {
  .av-product-sheet__info {
    padding-top: 0.75rem;
  }
}

.av-product-sheet__studio {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}
.av-product-sheet__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
}
.av-product-sheet__type {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.av-product-sheet__price {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.av-product-sheet__desc {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  max-height: 14rem;
  overflow: auto;
}

.av-product-sheet__desc.av-rich {
  white-space: normal;
}

.av-rich p {
  margin: 0 0 0.55em;
}

.av-rich p:last-child {
  margin-bottom: 0;
}

.av-rich ul,
.av-rich ol {
  margin: 0.35em 0 0.65em;
  padding-left: 1.25rem;
}

.av-rich li {
  margin: 0.2em 0;
}

.av-rich hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.75rem 0;
}

.av-rich strong {
  font-weight: 700;
}

.av-rich em {
  font-style: italic;
}

.av-product-sheet__actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.av-product-sheet__actions .btn {
  flex: 1 1 auto;
  min-width: 8rem;
  text-align: center;
  justify-content: center;
}

/* ——— Отзывы в модалке товара ——— */
.av-sheet-reviews {
  flex-shrink: 0;
  min-height: 0;
  max-height: min(34vh, 16rem);
  overflow-y: auto;
  margin-top: 0.65rem;
  padding: 0.85rem 0.75rem 0.25rem;
  border-top: 1px solid var(--border);
  background: #f7f4ef;
  border-radius: 0 0 var(--radius) var(--radius);
}
.av-sheet-reviews__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.av-sheet-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.av-sheet-reviews__empty,
.av-sheet-reviews__hint {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.av-sheet-reviews__write {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.72rem;
}
.av-sheet-reviews__form {
  margin: 0.5rem 0;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.av-sheet-reviews__form-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.av-sheet-reviews__textarea-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.av-sheet-reviews__textarea-label textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
}
.av-sheet-reviews__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.av-sheet-reviews__form-actions .btn {
  flex: 1 1 auto;
  font-size: 0.72rem;
}
.av-review-stars__star {
  color: #c8c0b6;
  font-size: 0.95rem;
}
.av-review-stars__star.is-on {
  color: #c9a227;
}
.av-review-stars-input {
  display: flex;
  gap: 0.15rem;
}
.av-review-stars-input__btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: #c8c0b6;
  cursor: pointer;
}
.av-review-stars-input__btn.is-on {
  color: #c9a227;
}
.av-review-card {
  padding: 0.65rem 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.av-review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.av-review-card__date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.av-review-card__author {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
}
.av-review-card__product {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.av-review-card__text {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
}
.av-review-card__delete {
  margin-top: 0.45rem;
  border: none;
  background: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b83232;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

/* ——— Карусель отзывов на профиле автора ——— */
.profile-author-reviews {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.author-reviews-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.author-reviews-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.author-reviews-strip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.author-review-card {
  flex: 0 0 min(100%, 300px);
  max-width: 340px;
  scroll-snap-align: start;
}
.author-review-card .av-review-card {
  height: 100%;
}

@media (max-width: 900px) {
  .av-product-sheet--fullscreen .av-product-sheet__gallery {
    grid-template-rows: minmax(12rem, 50vh) auto auto;
  }
  .av-product-sheet--fullscreen .av-sheet-reviews {
    max-height: min(40vh, 18rem);
  }
}
