:root {
  --bg: #f4efe7;
  --bg-accent: #ebe1d2;
  --panel: rgba(255, 252, 248, 0.92);
  --panel-strong: #fffdf9;
  --card: #fffefb;
  --heading: #000;
  --line: rgba(80, 57, 37, 0.12);
  --line-strong: rgba(80, 57, 37, 0.2);
  --text: #2f241c;
  --muted: #756354;
  --accent: #8d4d28;
  --accent-strong: #a86132;
  --accent-soft: #f5d8bf;
  --accent-olive: #6d7a4d;
  --success: #43663f;
  --shadow: 0 20px 50px rgba(63, 43, 28, 0.12);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.84);
  --surface-muted: rgba(255, 255, 255, 0.78);
  --surface-accent: rgba(141, 77, 40, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html[data-theme="dark"] {
  --bg: #121419;
  --bg-accent: #1a1d23;
  --panel: rgba(24, 27, 32, 0.9);
  --panel-strong: #1d2128;
  --card: #20242b;
  --heading: #fff8f2;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3ede5;
  --muted: #c7b8ac;
  --accent: #d07f48;
  --accent-strong: #e28f57;
  --accent-soft: rgba(208, 127, 72, 0.16);
  --accent-olive: #9dac70;
  --success: #88b682;
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  --surface-soft: rgba(31, 35, 42, 0.86);
  --surface-strong: rgba(27, 31, 38, 0.92);
  --surface-muted: rgba(28, 32, 39, 0.88);
  --surface-accent: rgba(208, 127, 72, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 190, 156, 0.42), transparent 28%),
    radial-gradient(circle at bottom right, rgba(109, 122, 77, 0.18), transparent 20%),
    linear-gradient(180deg, #f7f1e8 0%, #f3ebe0 52%, #efe5d8 100%);
  min-height: 100vh;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(208, 127, 72, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(157, 172, 112, 0.12), transparent 22%),
    linear-gradient(180deg, #12151a 0%, #181c22 52%, #1d2128 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background:
    linear-gradient(rgba(141, 77, 40, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 77, 40, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
}

html[data-theme="dark"] body::before {
  opacity: 0.18;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

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

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(1400px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 60px;
}

.topbar,
.hero,
.promo-strip,
.popular,
.filters-panel__sticky,
.results-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
}

.topbar__brand {
  display: grid;
  gap: 2px;
}

.topbar__brand-name {
  color: var(--heading);
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.topbar__brand-trail {
  color: var(--muted);
  font-size: 13px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(141, 77, 40, 0.16);
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.topbar__link--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fffaf4;
  border-color: transparent;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(141, 77, 40, 0.18);
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #f5c27f);
  box-shadow: 0 0 0 4px rgba(141, 77, 40, 0.14);
}

.catalog-page {
  margin-top: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.hero__content,
.hero__notice {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  padding: 26px;
}

.hero__content {
  background:
    radial-gradient(circle at top right, rgba(141, 77, 40, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(249, 242, 233, 0.94));
  border: 1px solid rgba(141, 77, 40, 0.12);
}

.hero__notice {
  background:
    radial-gradient(circle at top left, rgba(245, 216, 191, 0.65), transparent 36%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(250, 244, 237, 0.96));
  border: 1px solid rgba(141, 77, 40, 0.14);
}

html[data-theme="dark"] .hero__content {
  background:
    radial-gradient(circle at top right, rgba(208, 127, 72, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(29, 33, 39, 0.98), rgba(22, 25, 31, 0.96));
}

html[data-theme="dark"] .hero__notice,
html[data-theme="dark"] .product-gallery__stage {
  background:
    radial-gradient(circle at top left, rgba(208, 127, 72, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(30, 34, 40, 0.98), rgba(22, 25, 31, 0.96));
}

.hero__eyebrow,
.section-heading__eyebrow,
.filters-panel__eyebrow,
.results-toolbar__eyebrow,
.promo-strip__label,
.hero__notice-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.hero__notice h2,
.section-heading h2,
.filters-panel h2,
.results-toolbar h2,
.empty-state h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.hero__lead,
.hero__notice p,
.promo-strip__text {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid rgba(141, 77, 40, 0.12);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}

.hero__notice-points,
.chip-row,
.category-tabs,
.active-filters,
.card-badges,
.card-specs,
.thumb-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__notice-points {
  margin-top: 18px;
}

.hero__notice-points span,
.chip,
.tab-button,
.filter-pill,
.card-badge,
.note-pill,
.gallery-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(141, 77, 40, 0.16);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.contact-link--accent,
.cta-link,
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fffaf4;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(141, 77, 40, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 77, 40, 0.28);
  background: var(--panel-strong);
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(141, 77, 40, 0.16);
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 800;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.card-link:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 77, 40, 0.28);
  background: rgba(255, 255, 255, 0.96);
}

.card-link--wide {
  width: 100%;
}

.contact-link--accent:hover,
.cta-link:hover,
.card-cta:hover,
.promo-strip__reset:hover,
.filter-reset:hover {
  transform: translateY(-1px);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-actions--stack {
  margin-top: 22px;
}

.promo-strip,
.popular,
.workspace {
  margin-top: 18px;
}

.promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
}

.promo-strip__text {
  margin-top: 6px;
}

.promo-strip__reset,
.filter-reset {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(141, 77, 40, 0.18);
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.popular {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.section-heading {
  margin-bottom: 16px;
}

.chip-row {
  gap: 12px;
}

.chip {
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.chip.active,
.tab-button.active,
.filter-pill {
  background: rgba(141, 77, 40, 0.12);
  border-color: rgba(141, 77, 40, 0.28);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.filters-panel__sticky {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.filters-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.filters-panel__head .promo-strip__reset {
  min-width: fit-content;
}

.search-field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.search-field span {
  font-weight: 700;
}

.search-field input,
.price-range input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(141, 77, 40, 0.18);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
}

.category-tabs {
  margin-top: 18px;
}

.tab-button {
  cursor: pointer;
  font-weight: 700;
}

.active-filters {
  margin-top: 18px;
}

.filter-pill {
  padding-right: 10px;
}

.filter-pill button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(141, 77, 40, 0.12);
  color: var(--accent);
  cursor: pointer;
}

.filters-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.filter-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "+";
  color: var(--accent);
}

.filter-group[open] summary::after {
  content: "−";
}

.filter-group__body {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.filter-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.filter-option input {
  margin-top: 4px;
}

.price-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.results-panel {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.results-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.results-toolbar__count {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  align-items: start;
}

.product-card {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 38px rgba(59, 40, 26, 0.08);
}

.product-card__media-link,
.product-card__title-link {
  display: block;
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(245, 216, 191, 0.64), rgba(255, 250, 245, 0.95)),
    #f8f1e7;
  border: 1px solid rgba(141, 77, 40, 0.08);
}

html[data-theme="dark"] .product-card__media {
  background:
    linear-gradient(135deg, rgba(208, 127, 72, 0.16), rgba(25, 28, 33, 0.96)),
    #1a1e24;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.24s ease;
}

.product-card__media-link:hover .product-card__media img {
  transform: scale(1.03);
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  padding-inline: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.product-card__title {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.product-card__title-link:hover {
  color: var(--accent);
}

.product-card__header {
  display: grid;
  gap: 10px;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card__price strong {
  font-size: 28px;
  line-height: 1;
}

.product-card__price span {
  color: var(--muted);
  font-weight: 700;
}

.card-specs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-specs li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(141, 77, 40, 0.06);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.card-specs strong {
  color: var(--text);
}

.product-card__summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-card__hint {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 800;
  line-height: 1.5;
}

.note-pill {
  justify-content: center;
  color: var(--success);
  background: rgba(67, 102, 63, 0.08);
  border-color: rgba(67, 102, 63, 0.18);
  font-weight: 700;
}

.product-card__actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.thumb-strip img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(141, 77, 40, 0.12);
  background: #fff;
}

.empty-state {
  padding: 40px 24px;
  border: 1px dashed rgba(141, 77, 40, 0.24);
  border-radius: 24px;
  text-align: center;
  background: var(--surface-soft);
}

.empty-state p {
  margin: 10px 0 0;
  color: var(--muted);
}

.catalog-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.catalog-pagination__info {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.catalog-pagination__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.catalog-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex: 0 1 auto;
}

.pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--heading);
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.pagination-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--line);
  background: var(--surface-soft);
}

.pagination-button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.pagination-button--number {
  font-size: 18px;
  line-height: 1;
}

.pagination-button--arrow {
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  color: var(--muted);
  font-size: 34px;
  font-weight: 500;
}

.pagination-button--arrow span {
  transform: translateY(-1px);
}

.pagination-button.is-active {
  min-width: 72px;
  min-height: 72px;
  border-radius: 22px;
  background: #101114;
  border-color: #101114;
  color: #fffaf4;
  box-shadow: 0 18px 34px rgba(16, 17, 20, 0.2);
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  color: var(--heading);
  font-size: 30px;
  font-weight: 800;
  flex: 0 0 auto;
}

html[data-theme="dark"] .pagination-button.is-active {
  background: #fff8f2;
  border-color: #fff8f2;
  color: #121419;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.product-page {
  display: grid;
  gap: 18px;
}

.product-breadcrumbs,
.product-detail-card,
.product-purchase,
.product-section-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
}

.product-breadcrumbs p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.product-detail-card,
.product-purchase,
.product-section-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.product-detail-card__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.96fr) minmax(0, 1.04fr);
  gap: 24px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery__stage {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(245, 216, 191, 0.74), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(246, 238, 228, 0.96));
  border: 1px solid rgba(141, 77, 40, 0.12);
}

.product-gallery__stage img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

.product-gallery__empty {
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb-button {
  width: 84px;
  height: 84px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(141, 77, 40, 0.12);
  background: var(--surface-strong);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.thumb-button:hover,
.thumb-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(141, 77, 40, 0.34);
  box-shadow: 0 18px 28px rgba(141, 77, 40, 0.12);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-copy {
  display: grid;
  gap: 16px;
}

.product-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
}

.product-copy__summary {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.detail-specs {
  display: grid;
  gap: 10px;
}

.detail-specs li {
  background: var(--surface-accent);
}

.product-purchase {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.product-price-block {
  display: grid;
  gap: 8px;
}

.product-price-block strong {
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1;
}

.product-price-block span {
  color: var(--muted);
  font-weight: 800;
}

.product-purchase__notice {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-purchase__points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-purchase__points span,
.detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
}

.purchase-meta {
  display: grid;
  gap: 12px;
}

.purchase-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-accent);
}

.purchase-meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.purchase-meta strong,
.purchase-meta a {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.detail-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-section-card {
  display: grid;
  gap: 18px;
}

.product-prose {
  display: grid;
  gap: 14px;
}

.product-prose p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.characteristics-stack {
  display: grid;
  gap: 22px;
}

.section-heading--compact {
  margin-bottom: 12px;
}

.characteristics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.characteristic-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-accent);
  border: 1px solid rgba(141, 77, 40, 0.08);
}

.characteristic-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.characteristic-card strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.product-empty-state {
  border-radius: var(--radius-lg);
}

@media (max-width: 1100px) {
  .workspace,
  .hero,
  .product-page-layout,
  .product-detail-card__grid {
    grid-template-columns: 1fr;
  }

  .filters-panel__sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .product-purchase {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 18px));
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .topbar,
  .hero,
  .promo-strip,
  .popular,
  .results-panel,
  .filters-panel__sticky,
  .product-breadcrumbs,
  .product-detail-card,
  .product-purchase,
  .product-section-card {
    border-radius: 22px;
  }

  .topbar,
  .promo-strip,
  .results-toolbar,
  .product-breadcrumbs {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__actions,
  .topbar__contacts,
  .contact-actions--compact {
    grid-template-columns: 1fr;
    display: grid;
  }

  .theme-toggle,
  .topbar__link,
  .contact-link {
    width: 100%;
  }

  .topbar__brand-name {
    font-size: 30px;
  }

  .hero,
  .popular,
  .results-panel,
  .filters-panel__sticky,
  .product-detail-card,
  .product-purchase,
  .product-section-card {
    padding: 18px;
  }

  .hero__content,
  .hero__notice {
    padding: 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .catalog-pagination {
    margin-top: 18px;
  }

  .catalog-pagination__controls {
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-inline: 4px;
    scrollbar-width: none;
  }

  .catalog-pagination__pages {
    gap: 4px;
  }

  .catalog-pagination__controls::-webkit-scrollbar {
    display: none;
  }

  .pagination-button {
    min-width: 34px;
    min-height: 36px;
    padding: 0 6px;
  }

  .pagination-button--number {
    font-size: 15px;
  }

  .pagination-button--arrow {
    min-width: 34px;
    min-height: 36px;
    font-size: 26px;
  }

  .pagination-button.is-active {
    min-width: 46px;
    min-height: 46px;
    border-radius: 16px;
  }

  .pagination-ellipsis {
    min-width: 20px;
    min-height: 36px;
    font-size: 20px;
  }

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

  .product-gallery__stage {
    min-height: 300px;
    padding: 14px;
  }

  .thumb-button {
    width: 72px;
    height: 72px;
  }
}
