:root {
  --ink: #0b0a0a;
  --ink-soft: #13110f;
  --panel: #191714;
  --panel-light: #211e1a;
  --gold: #c9a85f;
  --gold-light: #ead38d;
  --cream: #f5efe4;
  --muted: #a49c90;
  --line: rgba(218, 194, 133, 0.18);
  --danger: #cf6f65;
  --success: #7eb489;
  --display: "Cormorant Garamond", serif;
  --body: "Manrope", sans-serif;
}

.profile-role-line {
  display: flex;
  gap: 8px;
  margin: 10px 0 4px;
  flex-wrap: wrap;
}

.profile-role-chip,
.profile-plan-chip,
.moderator-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--gold-light);
  background: rgba(201, 168, 95, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-plan-chip {
  color: var(--muted);
  background: transparent;
}

.plan-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(234, 211, 141, 0.28);
  background: linear-gradient(115deg, rgba(201, 168, 95, 0.15), rgba(201, 168, 95, 0.02));
  transition: border-color 180ms ease, transform 180ms ease;
}

.plan-ribbon:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.plan-ribbon > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-ribbon > span:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
}

.plan-ribbon > span:first-child > svg {
  grid-row: 1 / 3;
  width: 24px;
  color: var(--gold);
}

.plan-ribbon small {
  color: var(--muted);
}

.message-view-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.message-view-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--muted);
}

.message-view-tabs button.active {
  background: var(--gold);
  color: var(--ink);
}

.message-view-tabs button span {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 10, 10, 0.16);
  font-size: 11px;
  font-weight: 800;
}

.moderation-message-panel {
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, 0.012);
}

.moderation-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.moderation-inbox-head strong {
  font-family: var(--display);
  font-size: 30px;
}

.moderation-inbox-head p,
.moderation-details {
  margin: 2px 0 0;
  color: var(--muted);
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading h2 {
  font-size: 28px;
}

.compact-empty {
  min-height: 140px;
}

.moderation-reason {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.moderation-reason textarea {
  min-height: 100px;
  resize: vertical;
  border: 1px solid var(--line);
  background: var(--ink);
  padding: 13px;
  outline: none;
}

.moderation-reason textarea:focus {
  border-color: var(--gold);
}

.button-danger {
  border: 1px solid rgba(207, 111, 101, 0.55);
  background: rgba(207, 111, 101, 0.14);
  color: #f3b0aa;
}

.notification-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.notification-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
}

.notification-item > svg {
  margin-top: 2px;
}

.notification-item.approved > svg {
  color: var(--success);
}

.notification-item.rejected > svg {
  color: var(--danger);
}

.notification-item p {
  margin: 3px 0 0;
  color: var(--muted);
}

.auth-sent-card {
  display: grid;
  justify-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 24px;
  background: linear-gradient(145deg, rgba(201, 168, 95, 0.1), transparent 70%);
}

.auth-sent-card > svg {
  width: 38px;
  height: 38px;
  color: var(--gold-light);
}

.auth-sent-card h3,
.auth-sent-card p {
  margin: 0;
}

.auth-sent-card h3 {
  font-family: var(--display);
  font-size: 34px;
}

.auth-sent-steps {
  display: grid;
  gap: 8px;
  margin: 8px 0;
  padding-left: 22px;
  color: var(--muted);
}

.confirmation-page {
  min-height: 82vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(201, 168, 95, 0.13), transparent 34%);
}

.confirmation-shell {
  position: relative;
  width: min(720px, calc(100% - 32px));
  padding: 80px 0;
}

.confirmation-card {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  border: 1px solid rgba(234, 211, 141, 0.3);
  padding: 56px;
  background: linear-gradient(145deg, rgba(33, 30, 26, 0.98), rgba(11, 10, 10, 0.98));
  text-align: center;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.confirmation-card h1 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 70px);
  line-height: 0.96;
}

.confirmation-card > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.confirmation-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
}

.confirmation-icon svg {
  width: 34px;
  height: 34px;
}

.confirmation-icon.checking svg {
  animation: confirmation-spin 1.2s linear infinite;
}

.confirmation-icon.success {
  color: var(--success);
}

.confirmation-icon.failed {
  color: var(--danger);
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.security-note svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.confirmation-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confirmation-orbit span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px var(--gold);
}

.confirmation-orbit span:nth-child(1) {
  top: 8%;
  left: 13%;
}

.confirmation-orbit span:nth-child(2) {
  right: 8%;
  bottom: 22%;
}

.confirmation-orbit span:nth-child(3) {
  bottom: 5%;
  left: 34%;
}

@keyframes confirmation-spin {
  to {
    transform: rotate(360deg);
  }
}

.pricing-page {
  background: radial-gradient(circle at 76% 8%, rgba(201, 168, 95, 0.12), transparent 28%);
}

.pricing-hero {
  padding: 94px 0 60px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 12px 0 18px;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 500;
  line-height: 0.92;
}

.pricing-hero h1 em {
  color: var(--gold-light);
  font-weight: 500;
}

.pricing-hero > .container > p:not(.eyebrow) {
  margin: 0 auto 30px;
  max-width: 650px;
  color: var(--muted);
}

.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.billing-switch input {
  position: absolute;
  opacity: 0;
}

.billing-switch i {
  position: relative;
  width: 54px;
  height: 29px;
  border: 1px solid var(--gold);
  border-radius: 999px;
}

.billing-switch i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 180ms ease;
}

.billing-switch input:checked + i::after {
  transform: translateX(25px);
}

.billing-switch b {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(126, 180, 137, 0.14);
  color: #9fd0a8;
  font-size: 11px;
}

#billing-period-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 30px;
  background: rgba(19, 17, 15, 0.88);
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: translateY(-14px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.pricing-card.black {
  border-color: rgba(245, 239, 228, 0.3);
  background: linear-gradient(155deg, #27231e, #090909 60%);
}

.pricing-card.current {
  border-color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(234, 211, 141, 0.25), 0 24px 80px rgba(0, 0, 0, 0.25);
}

.pricing-card.current::after {
  content: "Ваш тариф";
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card button:disabled {
  cursor: default;
  opacity: 0.75;
}

.pricing-ribbon {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 7px 12px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-name {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pricing-name > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 20px;
}

.pricing-name p,
.pricing-name h2 {
  margin: 0;
}

.pricing-name p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-name h2 {
  font-family: var(--display);
  font-size: 40px;
}

.pricing-price {
  display: grid;
  gap: 2px;
  margin: 34px 0;
}

.pricing-price strong {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
}

.pricing-price span,
.pricing-card > small {
  color: var(--muted);
  font-size: 11px;
}

.pricing-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: #d7d0c5;
}

.pricing-card li svg {
  width: 17px;
  color: var(--gold);
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-card > small {
  margin-top: 12px;
  text-align: center;
}

.button-light {
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--ink);
}

.pricing-trust {
  padding: 30px 0 90px;
}

.pricing-trust .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-trust .container > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  border: 1px solid var(--line);
  padding: 24px;
}

.pricing-trust svg {
  grid-row: 1 / 3;
  color: var(--gold);
}

.pricing-trust p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .pricing-card {
    min-height: auto;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .plan-ribbon,
  .moderation-inbox-head,
  .confirmation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-ribbon > span:last-child {
    justify-content: space-between;
  }

  .message-view-tabs {
    display: grid;
    width: 100%;
  }

  .moderation-message-panel {
    padding: 15px;
  }

  .confirmation-card {
    padding: 38px 22px;
  }

  .confirmation-actions,
  .confirmation-actions .button {
    width: 100%;
  }

  .pricing-hero {
    padding-top: 64px;
  }

  .billing-switch {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-trust .container {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

.hidden {
  display: none !important;
}

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

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.announcement {
  padding: 7px 20px;
  background: var(--gold);
  color: #17120a;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement span {
  margin-left: 7px;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 10, 0.94);
  backdrop-filter: blur(16px);
}

.site-header.sticky {
  position: sticky;
  top: 0;
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 15px;
}

.brand em {
  color: var(--gold);
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  color: #d5cec3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cream);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.header-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #d7cfc2;
  transition: 180ms ease;
}

.icon-button:hover,
.icon-button.active,
.header-icon:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.icon-button svg,
.header-icon svg {
  width: 17px;
}

.menu-button {
  display: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.button svg {
  width: 17px;
}

.button-gold {
  background: var(--gold);
  color: #16110a;
}

.button-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--cream);
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button-light {
  background: var(--cream);
  color: #17120a;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.96;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: 500;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 7, 7, 0.98) 0%, rgba(8, 7, 7, 0.78) 44%, rgba(8, 7, 7, 0.18) 72%, rgba(8, 7, 7, 0.58) 100%), linear-gradient(0deg, #0b0a0a 0%, transparent 28%), url("https://images.unsplash.com/photo-1545959570-a94084071b5d?auto=format&fit=crop&w=2000&q=88") center 34% / cover;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.01);
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 38%, rgba(211, 167, 80, 0.13), transparent 28%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 210px;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1,
.services-hero h1,
.create-hero h1 {
  margin-bottom: 25px;
  font-size: clamp(58px, 6.6vw, 96px);
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 30px;
  color: #c6bfb4;
  font-size: 16px;
}

.hero-search {
  max-width: 670px;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 7px;
  padding-left: 20px;
  border: 1px solid rgba(222, 198, 141, 0.36);
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(12px);
}

.hero-search svg {
  width: 19px;
  color: var(--gold);
}

.hero-search input,
.newsletter input,
.service-toolbar input,
.service-toolbar select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
}

.hero-search input::placeholder,
.newsletter input::placeholder,
.service-toolbar input::placeholder {
  color: #8d877e;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 14px;
  color: #807a72;
  font-size: 11px;
}

.hero-tags button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #c4bdb2;
}

.hero-stats {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stats div {
  padding: 22px 20px;
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 30px;
}

.hero-stats span {
  color: #aaa197;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a8278;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section {
  padding: 100px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section-heading h2,
.newsletter h2,
.editorial-content h2,
.consultation-inner h2,
.listing-form h2,
.profile-content h2 {
  margin: 0;
  font-size: clamp(42px, 4vw, 60px);
  letter-spacing: -0.025em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link svg {
  width: 15px;
}

.category-section {
  background: var(--ink-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  transition: 180ms ease;
}

.category-card:hover {
  background: var(--panel);
  transform: translateY(-3px);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}

.category-card strong {
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
}

.category-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.trust-band {
  border-block: 1px solid var(--line);
  background: #0e0d0c;
}

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

.trust-grid article {
  position: relative;
  min-height: 158px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 30px 42px;
  border-right: 1px solid var(--line);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid article > span {
  position: absolute;
  top: 14px;
  right: 17px;
  color: rgba(201, 168, 95, 0.24);
  font-family: var(--display);
  font-size: 30px;
}

.trust-grid svg {
  width: 28px;
  color: var(--gold);
}

.trust-grid strong,
.trust-grid p {
  display: block;
  margin: 0;
}

.trust-grid strong {
  font-size: 13px;
  text-transform: uppercase;
}

.trust-grid p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.marketplace-section {
  background: #0b0a0a;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-controls > span {
  margin-right: 10px;
  color: var(--muted);
  font-size: 11px;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: #aba49a;
  font-size: 11px;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--gold);
  background: rgba(201, 168, 95, 0.09);
  color: var(--gold-light);
}

.market-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
}

.filters-panel {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.filters-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.filters-title strong {
  font-family: var(--display);
  font-size: 22px;
}

.filters-title button,
.detail-heading button,
.rating-line button,
.card-heading button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 10px;
}

.field-label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #c9c1b5;
  font-size: 11px;
  font-weight: 600;
}

.field-label input,
.field-label select,
.field-label textarea,
.service-toolbar label,
.newsletter form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.field-label input,
.field-label select,
.field-label textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  outline: none;
}

.field-label textarea {
  min-height: 126px;
  resize: vertical;
}

.field-label input:focus,
.field-label select:focus,
.field-label textarea:focus {
  border-color: var(--gold);
}

select option {
  background: var(--panel);
}

.filters-panel fieldset {
  display: grid;
  gap: 9px;
  margin: 20px 0;
  padding: 0;
  border: 0;
  color: #aaa297;
  font-size: 11px;
}

.filters-panel legend {
  margin-bottom: 9px;
  color: #c9c1b5;
  font-weight: 600;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--gold);
}

.check-line,
.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  color: #aaa297;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.check-line input[type="checkbox"],
.check-field input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
}

.range-label {
  display: flex;
  justify-content: space-between;
  color: #c9c1b5;
  font-size: 11px;
}

.range-label output {
  color: var(--gold);
}

.dual-range {
  display: grid;
  margin: 10px 0 22px;
}

.dual-range input {
  width: 100%;
  margin: 0;
  accent-color: var(--gold);
}

.mobile-filter-button,
.mobile-filter-close {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}

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

.product-card {
  min-width: 0;
  padding: 8px 8px 14px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 0.78;
  overflow: hidden;
  background: var(--panel);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card-image .empty-state,
.service-card-image .empty-state {
  min-height: 100%;
  height: 100%;
  padding: 20px;
  border: 0;
}

.product-card-image .empty-state h3,
.service-card-image .empty-state h3 {
  font-size: 20px;
}

.product-card-image .empty-state p,
.service-card-image .empty-state p {
  display: none;
}

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

.product-card-badge,
.warning-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  background: rgba(10, 9, 8, 0.82);
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.promotion-badge {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 7px 10px;
  border: 1px solid rgba(234, 211, 141, 0.44);
  background: rgba(15, 12, 9, 0.88);
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.warning-badge {
  top: auto;
  bottom: 13px;
  background: rgba(126, 45, 38, 0.92);
  color: #ffe8e5;
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.72);
  color: white;
  backdrop-filter: blur(8px);
}

.favorite-button.active {
  color: var(--gold-light);
}

.favorite-button.active svg {
  fill: currentColor;
}

.product-card-body {
  padding: 14px 2px 0;
}

.product-card-meta,
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card-meta {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.08;
}

.product-price-small {
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
}

.product-location-small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
}

.product-location-small svg {
  width: 12px;
}

.list-view .product-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
}

.list-view .product-card-image {
  aspect-ratio: 1;
}

.list-view .product-card-body {
  display: grid;
  align-content: center;
  padding: 24px;
}

.empty-state {
  min-height: 390px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 50px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  text-align: center;
}

.empty-state svg {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--gold);
}

.empty-state h3 {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 30px;
}

.empty-state p {
  max-width: 390px;
  color: var(--muted);
}

.editorial-section {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #18130d;
}

.editorial-image {
  min-height: 570px;
  background: linear-gradient(90deg, transparent 70%, #18130d), url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1400&q=86") center 30% / cover;
  filter: saturate(0.65);
}

.editorial-content {
  max-width: 520px;
  align-self: center;
  padding: 70px 8vw 70px 60px;
}

.editorial-content p:not(.eyebrow) {
  margin: 25px 0 30px;
  color: #bdb3a4;
}

.maker-preview,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.service-card-image {
  position: relative;
  aspect-ratio: 1.25;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 23px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
}

.service-card p {
  color: var(--muted);
  font-size: 11px;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.newsletter {
  padding: 75px 0;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: end;
  gap: 70px;
}

.newsletter p:not(.eyebrow) {
  margin: 15px 0 0;
  color: var(--muted);
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 7px;
  padding-left: 18px;
}

.site-footer {
  padding: 60px 0 22px;
  background: #080707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 55px;
  padding-bottom: 45px;
}

.footer-about p {
  max-width: 320px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}

.footer-column strong {
  display: block;
  margin-bottom: 15px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 8px 0;
  color: #aaa298;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #665f58;
  font-size: 9px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 10px;
}

.breadcrumbs svg {
  width: 12px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 60px;
}

.gallery-main {
  position: relative;
  aspect-ratio: 0.92;
  overflow: hidden;
  background: var(--panel);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-favorite {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 8, 7, 0.72);
}

.gallery-counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 5px 9px;
  background: rgba(9, 8, 7, 0.72);
  font-size: 9px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumb {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--panel);
}

.gallery-thumb.active {
  border-color: var(--gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  padding-top: 24px;
}

.product-info-panel h1 {
  margin: 8px 0 18px;
  font-size: clamp(48px, 5vw, 70px);
}

.product-price {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 700;
}

.product-meta-line,
.product-meta-line span {
  display: flex;
  align-items: center;
}

.product-meta-line {
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.product-meta-line span {
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}

.product-meta-line svg {
  width: 13px;
}

.measurement-block,
.product-description {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.detail-heading h2,
.product-description h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.measurement-block dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
}

.measurement-block dl div {
  padding: 12px;
  border: 1px solid var(--line);
}

.measurement-block dt {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.measurement-block dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.product-description p {
  color: #b8afa3;
  font-size: 12px;
  white-space: pre-line;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 9px;
  margin-top: 24px;
}

.share-listing svg {
  width: 17px;
}

.safety-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  color: #887f74;
  font-size: 9px;
}

.safety-note svg {
  flex: 0 0 auto;
  width: 16px;
  color: var(--gold);
}

.seller-section {
  padding: 45px 0;
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
}

.seller-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
}

.seller-card,
.trust-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
}

.seller-avatar,
.profile-avatar-large {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 24px;
}

.seller-main {
  flex: 1;
}

.seller-main h2 {
  margin: 0;
  font-size: 34px;
}

.seller-name-line,
.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(201, 168, 95, 0.33);
  color: var(--gold-light);
  font-size: 8px;
  text-transform: uppercase;
}

.verified-badge svg {
  width: 12px;
}

.rating-line {
  margin: 6px 0;
  font-size: 10px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.seller-main > p:last-child,
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.trust-card svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.review-card p {
  margin: 13px 0;
  color: #bbb2a5;
  font-size: 11px;
}

.review-card footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.services-hero,
.create-hero,
.profile-hero {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 78% 26%, rgba(201, 168, 95, 0.15), transparent 28%), #0d0c0b;
}

.services-hero-inner {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.services-hero-inner > div:first-child {
  max-width: 870px;
}

.services-hero p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.services-hero-mark {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.services-hero-mark span,
.services-hero-mark small {
  display: block;
  text-align: center;
}

.services-hero-mark span {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 52px;
}

.services-hero-mark small {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-switch-section {
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.service-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.service-switch button.active {
  background: rgba(201, 168, 95, 0.07);
  color: var(--cream);
}

.service-switch svg {
  color: var(--gold);
}

.service-switch strong,
.service-switch small {
  display: block;
}

.service-switch small {
  color: var(--muted);
  font-size: 9px;
}

.service-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 8px;
  margin-bottom: 60px;
}

.service-toolbar label {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.service-toolbar svg {
  width: 17px;
  color: var(--gold);
}

.consultation-banner {
  padding: 70px 0;
  background: var(--gold);
  color: #17120a;
}

.consultation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.consultation-inner .eyebrow {
  color: #594619;
}

.consultation-inner p:not(.eyebrow) {
  margin: 13px 0 0;
}

.create-hero {
  padding: 90px 0 70px;
}

.create-section {
  background: var(--ink-soft);
}

.create-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.stepper {
  display: grid;
  position: sticky;
  top: 105px;
}

.stepper button {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 13px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.stepper button > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--display);
}

.stepper button.active {
  color: var(--cream);
}

.stepper button.active > span {
  border-color: var(--gold);
  background: var(--gold);
  color: #17120a;
}

.stepper strong,
.stepper small {
  display: block;
}

.stepper strong {
  font-size: 11px;
}

.stepper small {
  font-size: 8px;
}

.listing-form {
  min-height: 600px;
  padding: 46px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-intro {
  margin: 14px 0 32px;
  color: var(--muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choice-card {
  position: relative;
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 25px;
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 168, 95, 0.07);
}

.choice-card input {
  position: absolute;
  top: 15px;
  right: 15px;
}

.choice-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.choice-card strong {
  font-family: var(--display);
  font-size: 27px;
}

.choice-card small {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.span-2 {
  grid-column: 1 / -1;
}

.upload-zone {
  min-height: 310px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  border: 1px dashed rgba(201, 168, 95, 0.42);
  background: rgba(201, 168, 95, 0.035);
  cursor: pointer;
}

.upload-zone.dragging {
  border-color: var(--gold-light);
  background: rgba(201, 168, 95, 0.08);
}

.upload-zone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-zone svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.upload-zone strong {
  font-family: var(--display);
  font-size: 26px;
}

.upload-zone span {
  color: var(--muted);
  font-size: 11px;
}

.upload-previews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.upload-preview {
  position: relative;
  aspect-ratio: 1;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publish-summary {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(126, 180, 137, 0.32);
  background: rgba(126, 180, 137, 0.05);
}

.publish-summary svg {
  flex: 0 0 auto;
  color: var(--success);
}

.publish-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.publish-summary small,
.plan-limit-note {
  display: block;
  margin-top: 7px;
  color: var(--gold-light);
  font-size: 11px;
}

.plan-limit-note {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201, 168, 95, 0.07);
}

.contact-access-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(201, 168, 95, 0.34);
  border-radius: 10px;
  background: rgba(201, 168, 95, 0.07);
  color: var(--gold-light);
  font-size: 11px;
  line-height: 1.55;
}

.contact-access-note.locked {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

[data-contact-field]:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.deal-confirmation {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-block: 1px solid var(--line);
  background: rgba(201, 168, 95, 0.07);
}

.deal-confirmation > svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.deal-confirmation div {
  min-width: 0;
  flex: 1;
}

.deal-confirmation p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.deal-confirmation .button {
  min-height: 38px;
  padding-inline: 12px;
  white-space: nowrap;
}

.review-modal {
  width: min(620px, calc(100vw - 32px));
}

.review-form textarea {
  min-height: 130px;
}

.review-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.review-images img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.compact-button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 9px;
}

.moderator-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.moderator-tool {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.moderator-tool h3,
.moderator-tool .auth-status {
  grid-column: 1 / -1;
  margin: 0;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-actions .button-gold {
  margin-left: auto;
}

.form-status {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.profile-hero {
  padding: 65px 0;
}

.profile-hero-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.profile-avatar-large {
  width: 96px;
  height: 96px;
  font-size: 30px;
}

.profile-identity {
  flex: 1;
}

.profile-identity h1 {
  display: inline;
  margin: 0;
  font-size: 52px;
}

.profile-identity p:not(.eyebrow) {
  margin: 5px 0;
  color: var(--muted);
}

.profile-section {
  background: var(--ink-soft);
}

.profile-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
}

.profile-nav {
  align-self: start;
  display: grid;
  position: sticky;
  top: 105px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.profile-nav button {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}

.profile-nav-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  color: var(--gold-light);
  font-size: 11px;
}

.profile-nav-link svg {
  width: 16px;
}

.profile-nav button.active {
  background: rgba(201, 168, 95, 0.09);
  color: var(--gold-light);
}

.profile-nav svg {
  width: 16px;
}

.profile-nav button > span {
  margin-left: auto;
}

.nav-alert {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  color: #17120a;
  font-size: 8px;
}

.profile-panel {
  display: none;
}

.profile-panel.active {
  display: block;
}

.dashboard-head,
.panel-heading,
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.dashboard-stats article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.dashboard-stats svg {
  color: var(--gold);
}

.dashboard-stats strong,
.dashboard-stats span {
  display: block;
}

.dashboard-stats strong {
  font-family: var(--display);
  font-size: 30px;
}

.dashboard-stats span,
.dashboard-stats small {
  color: var(--muted);
  font-size: 9px;
}

.membership-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: -12px 0 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(201, 168, 95, 0.1), rgba(201, 168, 95, 0.02));
}

.membership-summary > svg {
  color: var(--gold);
}

.membership-summary strong,
.membership-summary p {
  display: block;
  margin: 0;
}

.membership-summary p,
.membership-summary a {
  color: var(--muted);
  font-size: 11px;
}

.membership-summary a {
  color: var(--gold-light);
}

.membership-summary.unlimited {
  border-color: rgba(234, 211, 141, 0.5);
  background: linear-gradient(110deg, rgba(201, 168, 95, 0.2), rgba(255, 255, 255, 0.025));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.dashboard-card {
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.dashboard-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
}

.management-item,
.message-preview,
.inbox-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.management-item img {
  width: 64px;
  height: 74px;
  object-fit: cover;
}

.management-item div,
.message-preview div,
.inbox-item div {
  flex: 1;
}

.management-item strong,
.management-item small,
.message-preview strong,
.message-preview small,
.inbox-item strong,
.inbox-item small {
  display: block;
}

.management-item small,
.message-preview small,
.inbox-item small {
  color: var(--muted);
  font-size: 9px;
}

.message-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 10px;
}

.inbox-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 580px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.inbox-list {
  border-right: 1px solid var(--line);
}

.inbox-item {
  width: 100%;
  padding: 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.inbox-item.active {
  background: rgba(201, 168, 95, 0.07);
}

.settings-form {
  max-width: 670px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.auth-overlay,
.chat-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 4, 4, 0.8);
  backdrop-filter: blur(8px);
}

.auth-modal,
.chat-modal {
  width: min(470px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  background: #12100e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.auth-modal {
  padding: 34px;
}

.modal-head,
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.modal-head h2,
.chat-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 36px;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 24px 0;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  padding: 12px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.auth-tabs button.active {
  border-color: var(--gold);
  color: var(--gold-light);
}

.auth-form {
  display: grid;
}

.auth-form .button {
  width: 100%;
  margin-top: 8px;
}

.auth-switch {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.auth-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
}

.auth-status {
  min-height: 20px;
  color: var(--danger);
  font-size: 10px;
}

.button-google {
  width: 100%;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel-light);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.verification-box,
.seller-status {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(201, 168, 95, 0.35);
  background: rgba(201, 168, 95, 0.08);
  color: var(--cream);
  font-size: 11px;
}

.verification-box p {
  margin: 0 0 10px;
}

.official-atelier {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 34px;
  align-items: center;
  margin-bottom: 40px;
  padding: 34px;
  border: 1px solid rgba(201, 168, 95, 0.45);
  background: radial-gradient(circle at top right, rgba(201, 168, 95, 0.13), transparent 45%), var(--ink-soft);
}

.official-atelier h2 {
  margin: 12px 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.official-atelier p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.official-atelier > img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
}

.official-price-actions,
.moderation-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-links > strong {
  width: 100%;
}

.contact-links.compact {
  margin-top: 14px;
}

.contact-links.compact .button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 9px;
}

.price-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
}

.price-modal img {
  max-height: calc(100vh - 48px);
  border: 1px solid var(--line);
}

.price-modal button {
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
}

.moderation-section + .moderation-section {
  margin-top: 56px;
}

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

.moderation-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.moderation-card h3 {
  margin: 18px 0 8px;
  font-family: var(--display);
  font-size: 30px;
}

.moderation-card p {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.chat-modal {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: min(680px, calc(100vh - 40px));
}

.chat-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.chat-head h3 {
  font-size: 25px;
}

.chat-head p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 20px;
}

.chat-empty {
  margin: auto;
  color: var(--muted);
  text-align: center;
}

.chat-message {
  max-width: 78%;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 11px;
}

.chat-message.mine {
  align-self: flex-end;
  border-color: rgba(201, 168, 95, 0.32);
  background: rgba(201, 168, 95, 0.09);
}

.chat-message time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  padding: 0 13px;
  border: 1px solid var(--line);
  outline: none;
  background: rgba(255, 255, 255, 0.025);
}

.embedded-chat .chat-modal {
  width: 100%;
  height: 580px;
  max-height: none;
  border: 0;
  box-shadow: none;
}

.toast {
  position: fixed;
  z-index: 130;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #201c17;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.4);
  color: var(--cream);
  font-size: 11px;
}

@media (max-width: 1060px) {
  .main-nav {
    gap: 16px;
  }

  .header-inner {
    gap: 20px;
  }

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

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

  .maker-preview,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-detail {
    gap: 35px;
  }

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

  .create-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .stepper,
  .profile-nav {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .announcement {
    font-size: 8px;
  }

  .header-inner {
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: #0d0c0b;
  }

  .main-nav.open {
    display: grid;
  }

  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 690px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
  }

  .hero h1,
  .services-hero h1,
  .create-hero h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

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

  .hero-stats div {
    padding: 14px;
  }

  .hero-stats strong {
    font-size: 23px;
  }

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

  .trust-grid article {
    min-height: 125px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .filters-panel {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: none;
    overflow-y: auto;
    padding: 34px 24px;
  }

  .filters-panel.open {
    display: block;
  }

  .mobile-filter-button,
  .mobile-filter-close {
    display: inline-flex;
    width: 100%;
    margin-bottom: 18px;
  }

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

  .editorial-image {
    min-height: 420px;
  }

  .editorial-content {
    padding: 60px 28px;
  }

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

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

  .services-hero-inner {
    min-height: 520px;
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .services-hero-mark {
    display: none;
  }

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

  .official-atelier,
  .moderation-grid {
    grid-template-columns: 1fr;
  }

  .consultation-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .stepper {
    grid-template-columns: repeat(4, 1fr);
  }

  .stepper button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .stepper button div {
    display: none;
  }

  .listing-form {
    padding: 28px;
  }

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

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

  .inbox-list {
    max-height: 260px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 580px) {
  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 38px);
  }

  .section {
    padding: 64px 0;
  }

  .create-hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    overflow-wrap: anywhere;
  }

  .brand {
    font-size: 21px;
  }

  .header-actions .header-icon:first-child {
    display: none;
  }

  .hero-search {
    grid-template-columns: auto 1fr;
    padding: 12px 14px;
  }

  .hero-search .button {
    grid-column: 1 / -1;
  }

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

  .scroll-cue {
    display: none;
  }

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

  .category-card {
    min-height: 165px;
    padding: 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .maker-preview,
  .service-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom,
  .newsletter form,
  .service-switch,
  .service-toolbar,
  .form-grid,
  .choice-grid,
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .seller-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .seller-card .button {
    width: 100%;
  }

  .measurement-block dl {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-info-panel h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .button {
    min-height: 44px;
    padding-inline: 16px;
  }

  .service-switch button {
    justify-content: flex-start;
  }

  .listing-form {
    padding: 22px 18px;
  }

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

  .profile-hero-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .profile-identity h1 {
    font-size: 40px;
  }

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

  .profile-nav > * {
    min-width: 0;
  }

  .dashboard-head,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-modal {
    padding: 24px 18px;
  }

  .deal-confirmation {
    align-items: flex-start;
    flex-direction: column;
  }

  .deal-confirmation .button {
    width: 100%;
  }

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

  .moderator-tool-grid,
  .moderator-tool {
    grid-template-columns: 1fr;
  }
}
