:root {
  --bg: #f5f0eb;
  --bg-alt: #ece4d9;
  --bg-card: #ffffff;
  --text: #1a1410;
  --text-secondary: #6b5c4e;
  --text-tertiary: #9a8a7a;
  --accent: #c13535;
  --accent-hover: #a32d2d;
  --accent-light: rgba(193, 53, 53, 0.08);
  --border: #d4c9b8;
  --border-light: #e5ddd2;
  --success: #2d5a3d;
  --error: #c13535;

  --font-heading: "Oswald", "Impact", sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;

  --nav-h: 64px;
  --radius: 4px;
  --max-w: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
body {
  font-family: var(--font-body);
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(212, 201, 184, 0.22) 40px,
      rgba(212, 201, 184, 0.22) 41px
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}
input,
textarea,
select {
  font: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.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;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ---- nav ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}
.nav-logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2px;
}
.nav-links a {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: all 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--accent);
}
.theme-btn {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.theme-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 0;
  border-top: 1.5px dashed var(--border);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.5;
}
.theme-btn.dark {
  background: var(--accent);
  border-color: var(--accent);
}
.theme-btn.dark::before {
  border-color: rgba(255, 255, 255, 0.25);
}
.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  color: var(--text-secondary);
}
.theme-btn.dark .theme-knob {
  left: 27px;
  color: var(--accent);
}
.theme-btn:hover .theme-knob {
  transform: scale(1.08);
}
.theme-btn:active .theme-knob {
  width: 24px;
}
.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}
.mobile-toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}
.mobile-toggle span::before {
  content: "";
  top: -6px;
  left: 0;
  transform: none;
}
.mobile-toggle span::after {
  content: "";
  top: 6px;
  left: 0;
  transform: none;
}
.mobile-toggle[aria-expanded="true"] span {
  background: transparent;
}
.mobile-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    padding: 8px;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 20px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---- footer ---- */
footer {
  border-top: 2px solid var(--text);
  margin-top: 160px;
  padding: 48px 0 24px;
  background: var(--bg-card);
}
.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 481px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}
footer h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 16px;
}
footer p,
footer a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2.2;
}
footer a:hover {
  color: var(--accent);
}
.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.footer-brand .logo span {
  color: var(--accent);
}
.footer-brand .tagline {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 300px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
}
.footer-social h4 {
  margin-bottom: 12px;
}
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
}
.social-link svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
}
@media (min-width: 481px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-production {
  position: relative;
  cursor: default;
}
.footer-production[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
  animation: footerTooltipFade 0.3s ease;
}
@keyframes footerTooltipFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 768px) {
  footer {
    margin-top: 80px;
  }
}
@media (max-width: 480px) {
  footer {
    margin-top: 80px;
    padding: 40px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }
  .footer-nav {
    align-items: center;
  }
  .footer-nav:not(.footer-info) {
    display: none;
  }
  .footer-nav a {
    padding: 6px 0;
  }
  .footer-info h4 {
    display: none;
  }
  .footer-info {
    align-items: center;
    gap: 2px;
  }
  .footer-info a {
    line-height: 1.4;
    font-size: 12px;
  }
  .footer-social h4 {
    text-align: center;
  }
  .social-links {
    justify-content: center;
    gap: 14px;
  }
  .social-link {
    width: 48px;
    height: 48px;
  }
  .social-link svg {
    width: 22px;
    height: 22px;
  }
  .footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
  }

  /* Container: tighter padding */
  .container {
    padding: 0 16px;
  }

  /* Configurator grids: single column */
  .cfg-choice-grid,
  .cfg-type-grid {
    grid-template-columns: 1fr;
  }

  /* Config preview: reduce padding */
  .config-preview {
    padding: 32px 16px;
    min-height: 250px;
  }

  /* Configurator add-dropdown: full width */
  .cfg-add-dropdown {
    min-width: 0;
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* ---- hero ---- */
.hero {
  margin-top: calc(calc(var(--nav-h) + 32px) * -1);
  padding: calc(60px + var(--nav-h) + 32px) 0 80px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(212, 201, 184, 0.18) 40px,
      rgba(212, 201, 184, 0.18) 41px
    ),
    url("../assets/wallpaper.jpg") center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 900px;
  color: #fff;
}
.hero h1 .line {
  display: block;
}
.hero h1 .highlight {
  color: var(--accent);
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}
.hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- sections ---- */
.section {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 48px;
}
.section-header .label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

.tl-side {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tl-img {
  position: absolute;
  bottom: 0;
  right: -60px;
  height: 440px;
  width: auto;
  max-width: none;
  display: block;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .tl-side {
    display: none;
  }
}

/* ---- cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: all 0.2s;
}
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover {
  box-shadow: 0 4px 20px rgba(26, 20, 16, 0.06);
}
.card .num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- solution path (timeline) ---- */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 0;
  background: var(--accent);
  transform: translateX(-50%);
  transition: height 0.8s ease;
  z-index: 1;
}
.timeline.line-drawn::after {
  height: 100%;
}

.tl-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.tl-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.tl-item:last-child {
  margin-bottom: 0;
}

.tl-card {
  width: 44%;
  flex-shrink: 0;
}
.tl-card .card {
  margin: 0;
  padding-block: 36px;
}

.tl-node {
  width: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tl-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-alt);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 2;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tl-item.visible .tl-num {
  transform: scale(1);
  box-shadow: 0 0 0 4px rgba(193, 53, 53, 0.12);
}

.tl-item:nth-child(odd) .tl-card {
  order: 0;
}
.tl-item:nth-child(odd) .tl-node {
  order: 1;
}
.tl-item:nth-child(odd) .tl-side {
  order: 2;
}
.tl-item:nth-child(even) .tl-card {
  order: 2;
}
.tl-item:nth-child(even) .tl-node {
  order: 1;
}
.tl-item:nth-child(even) .tl-side {
  order: 0;
}

@media (max-width: 1024px) {
  .tl-card {
    width: 38%;
  }
}

@media (max-width: 768px) {
  .timeline::before,
  .timeline::after {
    left: 22px;
    transform: none;
  }
  .tl-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 8px;
  }
  .tl-card {
    width: 100%;
  }
  .tl-node {
    width: 44px;
  }
  .tl-num {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(odd) .tl-node,
  .tl-item:nth-child(odd) .tl-side,
  .tl-item:nth-child(even) .tl-card,
  .tl-item:nth-child(even) .tl-node,
  .tl-item:nth-child(even) .tl-side {
    order: unset;
  }
}

/* ---- problem card ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
}
.problem-item .icon {
  font-size: 20px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  width: 28px;
  text-align: center;
}

/* ---- vision ---- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.vision-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--bg-card);
}
.vision-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.vision-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- about inline ---- */
.about-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .about-inline {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}
.about-inline h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.about-inline p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.about-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-tags a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.about-tags a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-secondary);
  flex-shrink: 0;
}
.about-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s;
}
.about-tags a:hover span {
  opacity: 0.85;
}
.about-social {
  margin-top: 16px;
}
.about-social h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--text);
}
.tag-ig {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  border-color: transparent;
  color: #fff;
}
.tag-ig:hover {
  opacity: 0.9;
}
.tag-tt {
  background: #000;
  border-color: #000;
  color: #fff;
}
.tag-tt:hover {
  opacity: 0.85;
}
.tag-yt {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}
.tag-yt:hover {
  opacity: 0.85;
}
.tag-gh {
  background: #24292e;
  border-color: #24292e;
  color: #fff;
}
.tag-gh:hover {
  opacity: 0.85;
}
.tag-li {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}
.tag-li:hover {
  opacity: 0.85;
}
.tag-portfolio {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #f5f5f5;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
}
.tag-portfolio:hover {
  background: #333;
  border-color: #333;
}

/* ---- horizontal steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}
.steps-line {
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.step:hover {
  color: var(--accent);
}
.step:hover .step-dot {
  background: var(--accent);
  color: #fff;
}
.step-content h3 {
  color: inherit;
  transition: color 0.2s;
}
.step:hover .step-content h3 {
  color: var(--accent);
}
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-alt);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.step-content {
  padding: 0 4px;
}
.step-content h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-line {
    display: none;
  }
  .step {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    padding: 12px 0;
  }
  .step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}
.roadmap-item {
  position: relative;
  padding: 8px 0 8px 48px;
  border-left: 2px solid var(--border);
}
.roadmap-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.roadmap-item:last-child {
  border-left-color: transparent;
}
.roadmap-item h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.roadmap-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- configurator ---- */
.config-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .config-layout {
    grid-template-columns: 1fr;
  }
}
.config-preview {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}
@media (max-width: 900px) {
  .config-preview {
    position: static;
    min-height: 300px;
  }
}
.config-preview svg {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
}
.config-section {
  margin-bottom: 32px;
}
.config-section h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.opt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.opt-btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all 0.15s;
  cursor: pointer;
}
.opt-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.opt-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ---- riepilogo ---- */
.riepilogo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 28px;
  margin-top: 24px;
}
.riep-preview {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 30px 20px;
}
.riep-preview svg {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
}
.riepilogo h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.riep-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.riep-row .l {
  color: var(--text-secondary);
}
.riep-row .v {
  font-weight: 600;
}
.riep-totale {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 700;
  padding-top: 16px;
  border-top: 2px solid var(--text);
  margin-top: 16px;
}
.riep-totale .amt {
  color: var(--accent);
  font-family: var(--font-heading);
}
.riep-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.riep-form input,
.riep-form textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.riep-form input:focus,
.riep-form textarea:focus {
  border-color: var(--accent);
}
.riep-form button {
  padding: 12px;
  border: none;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.riep-form button:hover {
  background: var(--accent);
}
.riep-form button:disabled {
  opacity: 0.5;
}
.err-msg {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
}

/* ---- mode selector ---- */
.mode-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.mode-selector .opt-btn {
  flex: 1;
  min-width: 200px;
  padding: 14px 24px;
  text-align: center;
  font-size: 13px;
}

/* ---- seller search ---- */
.seller-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  max-width: 600px;
}
.seller-search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.seller-search-bar input:focus {
  border-color: var(--accent);
}
.seller-search-bar .btn {
  white-space: nowrap;
}
.seller-search-results {
  max-width: 600px;
  margin-bottom: 32px;
}
.seller-search-empty {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.seller-search-item {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.seller-search-item:first-child {
  border-top: 1px solid var(--border);
}
.seller-search-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}
.seller-search-item strong {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.seller-search-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---- seller badge ---- */
.seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  background: var(--accent-light);
  margin-bottom: 20px;
  font-size: 14px;
}
.seller-badge-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.seller-badge-change {
  font-size: 12px;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ---- color dot ---- */
.color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--border);
  margin-right: 6px;
  vertical-align: middle;
}

/* ---- option price tag ---- */
.opt-price {
  color: var(--accent);
  font-weight: 400;
  font-size: 11px;
}

/* ---- seller profile ---- */
.seller-profile {
  border: 1px solid var(--border);
  padding: 28px;
  background: var(--bg-card);
  margin-bottom: 24px;
}
.seller-profile-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.seller-profile-tagline {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.seller-profile-section {
  margin-bottom: 16px;
}
.seller-profile-section h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.seller-profile-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- contact page ---- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
.contact-form .frm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b5c4e' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.contact-channel:hover {
  border-color: var(--accent);
}
.contact-channel .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.contact-channel .desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---- seller features ---- */
.seller-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.sf-card {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--bg-card);
  position: relative;
}
.sf-card .marker {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}
.sf-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.sf-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- page base ---- */
.page {
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 0;
  margin-bottom: 0;
  min-height: auto;
}

/* ---- utilities ---- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

/* ---- done state ---- */
.done-box {
  text-align: center;
  padding: 60px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.done-box .check {
  font-size: 56px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 8px;
  line-height: 1;
}
.done-box h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.done-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
}
.mockup {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 40px;
}

/* ---- configurator v2 ---- */
.cfg-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}
@media (max-width: 960px) {
  .cfg-layout {
    grid-template-columns: 1fr;
  }
}

/* search */
.cfg-search {
  position: relative;
  margin-bottom: 40px;
}

.cfg-search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 2px solid var(--border);
  padding: 0 20px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cfg-search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.cfg-search-icon {
  flex-shrink: 0;
  color: var(--text-tertiary);
  margin-right: 12px;
}
.cfg-search-bar input {
  flex: 1;
  border: none;
  background: none;
  padding: 16px 0;
  font-size: 16px;
  color: var(--text);
  outline: none;
}
.cfg-search-bar input::placeholder {
  color: var(--text-tertiary);
}
.cfg-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}
.cfg-search-results.open {
  display: block;
}
.cfg-search-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.cfg-search-item:hover {
  background: var(--accent-light);
}
.cfg-search-empty {
  padding: 20px;
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
}

/* progress */
.cfg-progress {
  margin-bottom: 32px;
  padding-top: 8px;
}
.cfg-progress-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfg-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 48px;
}
.cfg-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  background: var(--bg);
  transition: all 0.2s;
  z-index: 1;
}
.cfg-progress-step.done .cfg-progress-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  font-size: 11px;
}
.cfg-progress-step.active .cfg-progress-dot {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.cfg-progress-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s;
}
.cfg-progress-line.done {
  background: var(--accent);
}
.cfg-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 4px;
}
.cfg-progress-label {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: center;
  flex: 1;
  transition: color 0.2s;
}
.cfg-progress-label.active {
  color: var(--accent);
}
@media (max-width: 600px) {
  .cfg-progress {
    margin-bottom: 24px;
  }
  .cfg-progress-line {
    width: 28px;
  }
  .cfg-progress-labels {
    display: none;
  }
}

/* steps */
.cfg-step {
  animation: cfgFadeIn 0.25s ease;
}
@keyframes cfgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cfg-step-header {
  margin-bottom: 32px;
}
.cfg-step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cfg-step-header h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.cfg-step-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.7;
}

/* choice cards */
.cfg-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cfg-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.cfg-choice-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.cfg-choice-card.active {
  border-color: var(--accent);
  background: var(--accent-light);
}
.cfg-choice-icon {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}
.cfg-choice-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cfg-choice-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* type cards */
.cfg-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.cfg-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.cfg-type-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.cfg-type-card.active {
  border-color: var(--accent);
  background: var(--accent-light);
}
.cfg-type-icon {
  font-size: 40px;
}
.cfg-type-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* sections */
.cfg-section {
  margin-bottom: 28px;
}
.cfg-section-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.cfg-optional {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-tertiary);
  text-transform: none;
  letter-spacing: 0;
}

/* buttons / options */
.cfg-opt-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cfg-opt {
  padding: 8px 18px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s;
}
.cfg-opt:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cfg-opt.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* input */
.cfg-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cfg-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.cfg-input::placeholder {
  color: var(--text-tertiary);
}
.cfg-textarea {
  resize: vertical;
  min-height: 80px;
}

/* buttons */
.cfg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}
.cfg-btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.cfg-btn-primary:hover {
  background: var(--accent-hover);
}
.cfg-btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}
.cfg-btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.cfg-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cfg-btn-ghost {
  background: none;
  color: var(--text-secondary);
}
.cfg-btn-ghost:hover {
  color: var(--accent);
}
.cfg-btn-small {
  padding: 8px 16px;
  font-size: 11px;
}
.cfg-btn-next {
  margin-top: 8px;
}

.cfg-step-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

/* color swatches */
.cfg-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cfg-color-swatch {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  background: var(--swatch);
}
.cfg-color-swatch:hover {
  border-color: var(--text);
}
.cfg-color-swatch.active {
  border-color: var(--text);
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px var(--text);
}
.cfg-color-dot {
  display: block;
  width: 100%;
  height: 100%;
}

/* customization items */
.cfg-cust-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.cfg-cust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.cfg-cust-header:hover {
  background: var(--accent-light);
}
.cfg-cust-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cfg-cust-name {
  font-size: 14px;
  font-weight: 600;
}
.cfg-cust-price {
  font-size: 13px;
  color: var(--text-secondary);
}
.cfg-cust-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cfg-cust-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.cfg-cust-toggle:hover {
  color: var(--text);
}
.cfg-cust-remove {
  font-size: 14px;
  color: var(--text-tertiary);
  padding: 4px;
  transition: color 0.15s;
}
.cfg-cust-remove:hover {
  color: var(--accent);
}
.cfg-cust-settings {
  padding: 0 16px 16px;
  border-top: 1px solid var(--border-light);
}
.cfg-setting {
  margin-top: 14px;
}
.cfg-setting-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* toggle */
.cfg-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.cfg-toggle input {
  display: none;
}
.cfg-toggle-track {
  width: 36px;
  height: 20px;
  background: var(--border);
  border-radius: 10px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cfg-toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--bg-card);
  border-radius: 50%;
  transition: transform 0.2s;
}
.cfg-toggle input:checked + .cfg-toggle-track {
  background: var(--accent);
}
.cfg-toggle input:checked + .cfg-toggle-track::after {
  transform: translateX(16px);
}
.cfg-toggle-label {
  font-size: 14px;
  color: var(--text);
}

/* add customization */
.cfg-add-section {
  margin-top: 16px;
  position: relative;
}
.cfg-add-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-width: 300px;
  margin-top: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.cfg-add-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  transition: background 0.15s;
}
.cfg-add-opt:last-child {
  border-bottom: none;
}
.cfg-add-opt:hover {
  background: var(--accent-light);
}
.cfg-price {
  color: var(--text-secondary);
  font-size: 13px;
}

/* sidebar / summary */
.cfg-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.cfg-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 24px;
}
.cfg-summary-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border-light);
  padding: 20px;
  margin-bottom: 20px;
}
.cfg-summary-preview svg {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
}
.cfg-summary-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.cfg-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.cfg-summary-label {
  color: var(--text-secondary);
}
.cfg-summary-value {
  font-weight: 600;
  text-align: right;
}
.cfg-summary-cust .cfg-summary-value {
  color: var(--accent);
}
.cfg-summary-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.cfg-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cfg-summary-amount {
  color: var(--accent);
  font-family: var(--font-heading);
}
.cfg-summary-edit {
  text-align: center;
}

/* form */
.cfg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .cfg-form-grid {
    grid-template-columns: 1fr;
  }
}
.cfg-form-err {
  font-size: 13px;
  color: var(--accent);
  margin-top: 8px;
}
.cfg-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.cfg-checkbox input {
  display: none;
}
.cfg-checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.cfg-checkbox input:checked + .cfg-checkbox-mark {
  background: var(--accent);
  border-color: var(--accent);
}
.cfg-checkbox input:checked + .cfg-checkbox-mark::after {
  content: "✓";
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
}

/* done */
.cfg-done {
  text-align: center;
  padding: 80px 20px;
  animation: cfgFadeIn 0.3s ease;
}
.cfg-done-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--success);
  color: var(--bg);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfg-done h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cfg-done p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* vendor CTA */
.cfg-vendor-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
}

/* ---- type card desc ---- */
.cfg-type-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ---- creator badge in configurator ---- */
.cfg-creator-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.cfg-creator-badge-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cfg-creator-badge-info {
  display: flex;
  flex-direction: column;
}
.cfg-creator-badge-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.cfg-creator-badge-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- customization cards ---- */
.cfg-cust-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cfg-cust-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px;
  gap: 16px;
  transition: border-color 0.15s;
}
.cfg-cust-card:hover {
  border-color: var(--accent);
}
.cfg-cust-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.cfg-cust-card-name {
  font-size: 14px;
  font-weight: 600;
}
.cfg-cust-card-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}
.cfg-cust-card-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cfg-cust-card-price {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}
.cfg-cust-card-add {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cfg-cust-card-add:hover {
  background: var(--accent);
}

/* ---- active customization checkmark ---- */
.cfg-cust-check {
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}

/* ---- active customizations section ---- */
.cfg-active-custs {
  display: flex;
  flex-direction: column;
}

/* ---- project card (review) ---- */
.cfg-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.cfg-project-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.cfg-project-card-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.cfg-project-card-body {
  padding: 20px;
}
.cfg-project-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.cfg-project-row:last-of-type {
  border-bottom: none;
}
.cfg-project-label {
  color: var(--text-secondary);
}
.cfg-project-value {
  font-weight: 600;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cfg-project-color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cfg-project-section {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.cfg-project-section .cfg-project-label {
  display: block;
  margin-bottom: 8px;
}
.cfg-project-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cfg-project-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cfg-project-list li::before {
  content: "—";
  color: var(--accent);
  font-weight: 600;
}
.cfg-project-price {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.cfg-project-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
}
.cfg-project-total-amount {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 22px;
}

/* ---- creator profile page ---- */
.creator-profile {
  padding: 40px 0;
}
.creator-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.creator-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  overflow: hidden;
}
.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
}
.creator-name {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.creator-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}
.creator-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .creator-grid {
    grid-template-columns: 1fr;
  }
  .creator-profile-header {
    flex-direction: column;
    text-align: center;
  }
}
.creator-section {
  margin-bottom: 32px;
}
.creator-section h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.creator-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.creator-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.creator-examples {
  list-style: none;
  padding: 0;
  margin: 0;
}
.creator-examples li {
  padding: 10px 16px;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.creator-sidebar-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--bg-card);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.creator-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.creator-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.creator-contact-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.creator-contact-value {
  color: var(--accent);
  font-weight: 600;
}
.creator-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.creator-cta-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}
.creator-back {
  margin-top: 24px;
}

/* ---- creator list (discover) ---- */
.creator-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 0;
}
.creator-list-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
}
.creator-list-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.creator-list-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  overflow: hidden;
}
.creator-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-list-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-list-info h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.creator-list-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.creator-list-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.creator-list-tags span {
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* ==================== ENHANCED CREATOR PROFILE ==================== */

/* --- Hero --- */
.creator-hero {
  position: relative;
  margin: -24px -24px 0 -24px;
  padding: 0;
  width: calc(100% + 48px);
}
.creator-cover {
  width: 100%;
  height: 260px;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.creator-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-cover-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--text-tertiary);
  opacity: 0.4;
}
.creator-hero-body {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 0 24px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}
.creator-avatar-lg {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border: 3px solid var(--bg);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.creator-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-avatar-lg-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-hero-info {
  flex: 1;
  padding-bottom: 8px;
}
.creator-hero-info .creator-name {
  font-size: 32px;
  margin-bottom: 2px;
}
.creator-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
}
.creator-location {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.creator-hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.creator-hero-actions .cfg-btn {
  font-size: 12px;
  padding: 10px 20px;
}

/* --- Layout main + sidebar --- */
.creator-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}
.creator-main-col {
  min-width: 0;
}
.creator-sidebar-col {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

/* --- Section titles --- */
.creator-section-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--text);
  display: inline-block;
}

/* --- About --- */
.creator-about-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-line;
}

/* --- Skills --- */
.creator-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.creator-skill {
  font-size: 11px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition:
    border-color 0.15s,
    color 0.15s;
}
.creator-skill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Services --- */
.creator-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.creator-service-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 20px;
  transition: border-color 0.15s;
}
.creator-service-card:hover {
  border-color: var(--accent);
}
.creator-service-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.creator-service-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.creator-service-price {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* --- Catalog --- */
.creator-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.creator-catalog-item {
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.15s;
}
.creator-catalog-item:hover {
  border-color: var(--accent);
}
.creator-catalog-image {
  width: 100%;
  height: 160px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 32px;
  opacity: 0.5;
}
.creator-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-catalog-body {
  padding: 14px;
}
.creator-catalog-body h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.creator-catalog-body p {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.creator-catalog-body .cfg-btn {
  font-size: 10px;
  padding: 6px 14px;
}

/* --- Portfolio --- */
.creator-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.creator-portfolio-item {
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.15s;
  cursor: pointer;
}
.creator-portfolio-item:hover {
  border-color: var(--accent);
}
.creator-portfolio-image {
  width: 100%;
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 28px;
  opacity: 0.5;
}
.creator-portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-portfolio-body {
  padding: 16px;
}
.creator-portfolio-body h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.creator-portfolio-body h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.creator-portfolio-body h4 a:hover {
  color: var(--accent);
}
.creator-portfolio-body p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 10px;
}
.creator-portfolio-techniques {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.creator-portfolio-techniques span {
  font-size: 9px;
  padding: 3px 8px;
  border: 1px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* --- Process --- */
.creator-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.creator-process::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.creator-process-step {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.creator-process-step:last-child {
  padding-bottom: 0;
}
.creator-process-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.creator-process-content {
  flex: 1;
  padding-top: 6px;
}
.creator-process-content h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.creator-process-content p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* --- Reviews --- */
.creator-reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.creator-review {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 20px;
}
.creator-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.creator-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.creator-review-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.creator-review-name {
  font-size: 14px;
  font-weight: 600;
}
.creator-review-date {
  font-size: 11px;
  color: var(--text-tertiary);
}
.creator-review-stars {
  display: flex;
  gap: 2px;
  color: #d4a017;
  font-size: 16px;
  letter-spacing: 2px;
}
.creator-review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

/* --- Social --- */
.creator-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.creator-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s;
  background: var(--bg-card);
}
.creator-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Sidebar CTA --- */
.creator-sidebar-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--bg-card);
  padding: 24px;
}
.creator-sidebar-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border: 2px solid var(--border);
  overflow: hidden;
}
.creator-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-sidebar-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-sidebar-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 2px;
}
.creator-sidebar-city {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 16px;
}
.creator-sidebar-cta {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 12px;
}
.creator-sidebar-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.creator-sidebar-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 6px 0;
}
.creator-sidebar-info-label {
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.creator-sidebar-info-value {
  color: var(--accent);
  font-weight: 600;
}
.creator-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  text-decoration: none;
  margin-top: 24px;
  transition: color 0.15s;
}
.creator-back-link:hover {
  color: var(--accent);
}

/* --- Responsive profile --- */
@media (max-width: 900px) {
  .creator-hero-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -40px;
  }
  .creator-avatar-lg {
    width: 90px;
    height: 90px;
  }
  .creator-hero-info .creator-name {
    font-size: 26px;
  }
  .creator-location {
    justify-content: center;
  }
  .creator-hero-actions {
    justify-content: center;
  }
  .creator-layout {
    grid-template-columns: 1fr;
  }
  .creator-sidebar-col {
    position: static;
    order: -1;
  }
  .creator-sidebar-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }
  .creator-sidebar-avatar {
    margin: 0;
    width: 48px;
    height: 48px;
  }
  .creator-sidebar-name {
    text-align: left;
    margin-bottom: 0;
  }
  .creator-sidebar-city {
    text-align: left;
    margin-bottom: 0;
  }
  .creator-sidebar-info {
    display: none;
  }
  .creator-sidebar-cta {
    width: auto;
  }
  .creator-services {
    grid-template-columns: 1fr;
  }
  .creator-catalog {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .creator-portfolio {
    grid-template-columns: 1fr;
  }
}

/* ==================== ENHANCED CREATOR LIST ==================== */

/* --- Search --- */
.creator-list-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.creator-list-search {
  flex: 1;
  min-width: 0;
}
.creator-list-search-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.creator-list-search-input:focus {
  border-color: var(--accent);
}
.creator-list-search-input::placeholder {
  color: var(--text-tertiary);
}
.creator-filter-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
}
.creator-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.creator-filter-chip {
  font-size: 10px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.creator-filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.creator-filter-chip.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* --- Filter bar row (quick filters) --- */
.creator-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
}

/* --- Empty state --- */
.creator-list-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
}
.creator-list-empty h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.creator-list-empty p {
  font-size: 14px;
}

/* --- Enhanced list card --- */
.creator-list-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
}
.creator-list-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.creator-list-card-city {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.creator-list-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.creator-list-card-tags span {
  font-size: 9px;
  padding: 2px 7px;
  border: 1px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .creator-list-card {
    flex-direction: column;
    text-align: center;
  }
  .creator-list-card-city {
    justify-content: center;
  }
  .creator-list-card-tags {
    justify-content: center;
  }
}

/* ==================== FILTER TOOLBAR ==================== */

.creator-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.creator-filter-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.creator-clear-all {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  transition: color 0.15s;
}

.creator-clear-all:hover {
  color: var(--accent);
}

/* ==================== FILTER OVERLAY / PANEL ==================== */

.creator-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.creator-filter-panel {
  width: 100%;
  max-width: 520px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
}

.creator-filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.creator-filter-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.creator-filter-panel-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  font-family: inherit;
}

.creator-filter-panel-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.creator-filter-panel-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.creator-filter-panel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* ==================== FILTER GROUPS ==================== */

.creator-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.creator-filter-group:last-child {
  margin-bottom: 0;
}

.creator-filter-group-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.creator-filter-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.creator-filter-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.creator-filter-checkbox:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.creator-filter-checkbox.checked {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.creator-filter-checkbox input[type="checkbox"] {
  display: none;
}

.creator-filter-checkbox-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: all 0.15s;
}

.creator-filter-checkbox.checked .creator-filter-checkbox-mark {
  background: currentColor;
}

.creator-filter-checkbox.checked .creator-filter-checkbox-mark::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* ==================== ACTIVE FILTER CHIPS ==================== */

.creator-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.creator-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.creator-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: none;
  border: none;
  color: var(--bg);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
  font-family: inherit;
}

.creator-chip-remove:hover {
  opacity: 1;
}

/* ==================== PRODUCTS SHOP ==================== */

.creator-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.creator-product-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
}

.creator-product-card:hover {
  border-color: var(--accent);
}

.creator-product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-tertiary);
  overflow: hidden;
}

.creator-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.creator-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.creator-product-header h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  flex: 1;
}

.creator-product-status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.creator-product-status--available {
  background: #1a3a2a;
  color: #6fcf97;
}

.creator-product-status--sold {
  background: #2a2a2a;
  color: #888;
}

.creator-product-status--in-trattativa {
  background: #3a3520;
  color: #f2c94c;
}

/* In trattativa: visible but not clickable */
.creator-product-card[data-product-id] {
  cursor: pointer;
}
.creator-product-card[data-product-id]:has(
    .creator-product-status--in-trattativa
  ) {
  cursor: default;
  opacity: 0.7;
}
.creator-product-card[data-product-id]:has(
    .creator-product-status--in-trattativa
  ):hover {
  border-color: var(--border);
}

/* Sold items in portfolio */
.creator-portfolio-item--sold {
  position: relative;
  cursor: pointer;
}
.creator-portfolio-item--sold:hover {
  border-color: var(--accent);
}
.creator-portfolio-item--sold .creator-portfolio-image {
  position: relative;
}
.creator-sold-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  z-index: 1;
}
.creator-sold-price {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.creator-product-body > p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}

.creator-product-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.creator-product-admin {
  padding: 8px 16px 12px;
}

.creator-product-admin select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 11px;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.creator-product-price {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* ==================== BOTTOM CTA ==================== */

.creator-section-cta {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--bg-card);
  text-align: center;
  padding: 48px 32px;
}

.creator-cta-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.creator-cta-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.creator-cta-content .cfg-btn {
  font-size: 13px;
  padding: 14px 32px;
}

/* ==================== RESPONSIVE FILTER PANEL ==================== */

@media (max-width: 600px) {
  .creator-filter-overlay {
    padding: 0;
  }
  .creator-filter-panel {
    max-height: 100vh;
    max-width: 100%;
    border: none;
  }
  .creator-filter-panel-header {
    padding: 16px;
  }
  .creator-filter-panel-body {
    padding: 16px;
  }
  .creator-filter-panel-footer {
    padding: 12px 16px;
  }
  .creator-products {
    grid-template-columns: 1fr;
  }
}

/* ==================== NO-GARMENT ITEMS ==================== */

.cfg-no-garment-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.cfg-no-garment-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  text-align: left;
  font-family: inherit;
  width: 100%;
  color: inherit;
}

.cfg-no-garment-item:hover {
  border-color: var(--accent);
}

.cfg-no-garment-item-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.cfg-no-garment-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cfg-no-garment-item-info strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cfg-no-garment-item-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

.cfg-no-garment-item-price {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
}

@media (max-width: 600px) {
  .cfg-no-garment-item {
    flex-wrap: wrap;
  }
  .cfg-no-garment-item-price {
    width: 100%;
    text-align: center;
  }
}

/* ==================== CONFIGURATOR MODAL ==================== */

.cfg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.cfg-modal-panel {
  width: 100%;
  max-width: 600px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
  margin: auto;
}

.cfg-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cfg-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.cfg-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  font-family: inherit;
}

.cfg-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cfg-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.cfg-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  display: inline;
}

.cfg-link-btn:hover {
  color: var(--accent);
}

/* ---- creator connect badges ---- */
.creator-connect-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.creator-connect-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.creator-connect-badge:hover {
  opacity: 0.85;
}
.creator-connect-badge.tag-ig {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.creator-connect-badge.tag-tt {
  background: #000;
}
.creator-connect-badge.tag-yt {
  background: #ff0000;
}
.creator-connect-badge.tag-gh {
  background: #24292e;
}
.creator-connect-badge.tag-li {
  background: #0a66c2;
}
.creator-connect-badge.tag-portfolio {
  background: #1a1a1a;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}
.creator-connect-badge.tag-email {
  background: #555;
}

/* ---- product modal ---- */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}
.product-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  z-index: 2;
  line-height: 1;
}
.product-modal-close:hover {
  color: var(--text);
}
.product-modal-grid {
  display: flex;
  flex-direction: column;
}
.product-modal-images {
  position: relative;
  padding: 24px 24px 0;
}
.product-modal-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
.product-modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-modal-main-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-modal-placeholder {
  font-size: 48px;
  color: var(--text-secondary);
}
.product-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.15s;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.product-modal-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}
.product-modal-arrow--left {
  left: 36px;
}
.product-modal-arrow--right {
  right: 36px;
}
.product-modal-gallery {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.product-modal-gallery::-webkit-scrollbar {
  display: none;
}
.product-modal-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
}
.product-modal-thumb:hover {
  border-color: var(--text-secondary);
}
.product-modal-thumb.active {
  border-color: var(--accent);
}
.product-modal-thumb img,
.product-modal-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-modal-info {
  padding: 24px;
}
.product-modal-info .creator-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.product-modal-info .creator-product-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  flex: 1;
}
.product-modal-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin: 12px 0;
}
.product-modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.product-modal-details {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-modal-sizes {
  margin-bottom: 20px;
}
.product-modal-sizes strong {
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}
.product-modal-size-options {
  display: flex;
  gap: 8px;
}
.product-modal-size {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  color: var(--text);
  transition: all 0.2s;
}
.product-modal-size:hover {
  border-color: var(--accent);
}
.product-modal-size.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.product-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}
.product-sold-out-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 20px;
  background: #2a2a2a;
  color: #888;
  border-radius: 8px;
}

/* ---- product form modal ---- */
.product-form-modal {
  max-width: 500px;
  padding: 32px;
}
.product-form-modal h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.product-form-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.product-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-form-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 12px 0 0;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .product-modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
  }
  .product-modal-overlay {
    padding: 12px;
  }
  .product-modal-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .product-modal-arrow--left {
    left: 24px;
  }
  .product-modal-arrow--right {
    right: 24px;
  }
  .product-modal-thumb {
    width: 52px;
    height: 52px;
  }
  .product-form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- image gallery responsive ---- */
@media (max-width: 600px) {
  .image-gallery-content {
    padding: 40px 16px 70px;
  }
  .image-gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .image-gallery-arrow--left {
    left: 4px;
  }
  .image-gallery-arrow--right {
    right: 4px;
  }
  .image-gallery-thumb {
    width: 44px;
    height: 44px;
  }
}

/* ==================== IMAGE GALLERY MODAL ==================== */
.image-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-gallery-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.image-gallery-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #fff;
  z-index: 1052;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.image-gallery-close:hover {
  opacity: 1;
}
.image-gallery-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 48px 60px 80px;
  pointer-events: none;
}
.image-gallery-content > * {
  pointer-events: auto;
}
.image-gallery-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.image-gallery-main img,
.image-gallery-main video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.image-gallery-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1051;
  transition: background 0.15s;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.image-gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}
.image-gallery-arrow--left {
  left: 12px;
}
.image-gallery-arrow--right {
  right: 12px;
}
.image-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
  max-width: 100%;
}
.image-gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.image-gallery-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
}
.image-gallery-thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.image-gallery-thumb.active {
  border-color: var(--accent);
}
.image-gallery-thumb img,
.image-gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==================== FULLSCREEN IMAGE OVERLAY ==================== */
.fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fullscreen-overlay img,
.fullscreen-overlay video {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
}

/* Fullscreen trigger cursor */
.product-modal-main-image[data-fullscreen-trigger] {
  cursor: zoom-in;
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== TOUCH TARGETS (WCAG 2.5.5) ==================== */
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.theme-btn {
  margin: -8px 0;
}
.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
}

/* ==================== FAQ ==================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: left;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==================== DARK MODE ==================== */
html.dark-mode {
  --bg: #1a1410;
  --bg-alt: #221c15;
  --bg-card: #2a2318;
  --text: #f5f0eb;
  --text-secondary: #b8a99a;
  --text-tertiary: #7a6b5c;
  --border: #3d342a;
  --border-light: #332a20;
}
html.dark-mode body {
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(61, 52, 42, 0.22) 40px,
      rgba(61, 52, 42, 0.22) 41px
    ),
    var(--bg);
}
html.dark-mode nav {
  background: rgba(26, 20, 16, 0.92);
}
html.dark-mode footer {
  background: var(--bg-card);
}
html.dark-mode .card,
html.dark-mode .cfg-done,
html.dark-mode .cfg-summary,
html.dark-mode .cfg-summary-preview,
html.dark-mode .cfg-project-card-body,
html.dark-mode .creator-section-cta,
html.dark-mode .project-card,
html.dark-mode .product-modal {
  background: var(--bg-card);
}
html.dark-mode .cfg-opt {
  background: var(--bg-alt);
}
html.dark-mode .cfg-search-bar input {
  background: var(--bg-alt);
  border-color: var(--border);
}
html.dark-mode .cfg-search-bar input::placeholder {
  color: var(--text-tertiary);
}

/* ---- cust card image ---- */
.cfg-cust-card {
  flex-wrap: wrap;
}
.cfg-cust-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfg-cust-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Waitlist ---- */
.waitlist-full {
  padding: 0;
}
.customizer-cta {
  padding: 28px 0 24px;
  margin: 0;
}
.customizer-cta-inner {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.customizer-cta-inner {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.customizer-cta-inner h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.customizer-cta-inner p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}
.waitlist {
  max-width: 900px;
  margin: 0 auto;
}
.waitlist-hero {
  text-align: center;
  padding: 30px 0 40px;
}
.waitlist-hero h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.waitlist-hero p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 8px;
}
.waitlist-hero-desc {
  max-width: 700px;
  margin: 0 auto 24px !important;
  font-size: 15px !important;
  line-height: 1.6;
}
.waitlist-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.waitlist-section.waitlist-bg {
  background: var(--bg-alt);
  margin: 0 -24px;
  padding: 48px 24px;
}
.waitlist-section h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.waitlist-section h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
}
.waitlist-section h4:first-child {
  margin-top: 0;
}
.waitlist-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.waitlist-subtitle {
  font-weight: 600;
  color: var(--text) !important;
  font-size: 16px;
  margin-bottom: 16px !important;
}
.waitlist-note {
  font-style: italic;
  font-size: 14px;
}
.waitlist-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.waitlist-how-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.waitlist-how-card .waitlist-step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.waitlist-how-card h4 {
  margin-top: 0;
}
.waitlist-how-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.waitlist-how-card li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 14px;
}
.waitlist-how-card li::before {
  content: "- ";
  color: var(--accent);
}
.waitlist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.waitlist-tags span {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: var(--bg);
}
.waitlist-flow {
  padding-left: 20px;
  margin: 16px 0;
}
.waitlist-flow li {
  padding: 8px 0;
  color: var(--text-secondary);
  line-height: 1.5;
}
.waitlist-flow li::marker {
  color: var(--accent);
  font-weight: 700;
}
.waitlist-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.waitlist-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.waitlist-card h4 {
  margin-top: 0;
}
.waitlist-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.waitlist-checklist li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.5;
}
.waitlist-checklist li::before {
  content: "\\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}
.waitlist-section ul:not(.waitlist-checklist):not(.faq-list) {
  padding-left: 20px;
  margin: 12px 0;
}
.waitlist-section ul:not(.waitlist-checklist):not(.faq-list) li {
  padding: 4px 0;
  font-size: 14px;
}
/* Waitlist form */
.waitlist-form-section {
  padding-bottom: 80px;
}
.waitlist-form {
  margin-top: 24px;
}
.waitlist-form-group {
  margin-bottom: 32px;
}
.waitlist-form-group h4 {
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.waitlist-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.waitlist-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.waitlist-form .cfg-input,
.waitlist-form .cfg-textarea {
  width: 100%;
  margin-bottom: 12px;
}
.waitlist-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.waitlist-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.15s;
}
.waitlist-checkbox:hover {
  border-color: var(--accent);
}
.waitlist-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.waitlist-form-group > .waitlist-checkbox {
  border: none;
  padding: 4px 0;
  background: none;
  margin-bottom: 8px;
}
.waitlist-file-input {
  display: block;
  width: 100%;
  padding: 12px;
  border: 2px dashed var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 12px;
}
.waitlist-file-input:hover {
  border-color: var(--accent);
}
.waitlist-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
}
/* Waitlist popup links */
.waitlist-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.waitlist-link:hover {
  opacity: 0.8;
}
.waitlist-link-inline {
  background: none;
  border: none;
  color: var(--accent);
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.waitlist-link-inline:hover {
  opacity: 0.8;
}
/* Waitlist popup overlay */
.waitlist-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.waitlist-popup {
  background: var(--bg);
  border: 1px solid var(--border);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
}
.waitlist-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waitlist-popup-close:hover {
  color: var(--text);
}
.waitlist-popup-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.waitlist-popup-content h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}
.waitlist-popup-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 14px;
}
.waitlist-popup-content ul {
  padding-left: 20px;
  margin: 12px 0;
}
.waitlist-popup-content li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.waitlist-popup-content .waitlist-checklist {
  list-style: none;
  padding: 0;
}
.waitlist-popup-content .waitlist-checklist li {
  padding-left: 28px;
  position: relative;
}
.waitlist-popup-content .waitlist-checklist li::before {
  content: "\\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.waitlist-popup-content .waitlist-note {
  font-style: italic;
  font-size: 13px;
}
@media (max-width: 768px) {
  .waitlist-how-grid {
    grid-template-columns: 1fr;
  }
  .waitlist-form-row {
    grid-template-columns: 1fr;
  }
  .waitlist-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .waitlist-popup {
    padding: 24px;
    max-height: 90vh;
  }

  /* About section: roadmap first, developer after */
  .about-inline {
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
    padding: 24px;
  }
  .about-tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Search row: stack on mobile */
  .creator-list-search-row {
    flex-wrap: wrap;
  }

  /* Card customizer: centered, narrower */
  .creator-grid-list {
    grid-template-columns: 1fr;
  }
  .creator-list-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
  .creator-list-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .creator-list-card-city {
    justify-content: center;
  }
  .creator-list-card-tags {
    justify-content: center;
  }

  /* Waitlist how-cards: accordion on mobile */
  .waitlist-how-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .waitlist-how-card {
    border-bottom: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    cursor: pointer;
    position: relative;
  }
  .waitlist-how-card:first-child {
    border-top: none;
  }
  .waitlist-how-card .waitlist-step-num {
    pointer-events: none;
  }
  .waitlist-how-card h4 {
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .waitlist-how-card h4::after {
    content: "\\25BC";
    font-size: 10px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
  }
  .waitlist-how-card.open h4::after {
    transform: rotate(180deg);
  }
  .waitlist-how-card > p,
  .waitlist-how-card > ul,
  .waitlist-how-card > .waitlist-tags,
  .waitlist-how-card > .waitlist-note {
    display: none;
  }
  .waitlist-how-card.open > p,
  .waitlist-how-card.open > ul,
  .waitlist-how-card.open > .waitlist-tags,
  .waitlist-how-card.open > .waitlist-note {
    display: block;
  }

  /* Contact channels */
  .contact-channels {
    margin-top: 16px;
  }
}
