:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: #101010;
  --panel-soft: #171717;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f6f3ee;
  --muted: #a8a8a8;
  --gold: #f7c948;
  --red: #ff4545;
  --cyan: #48d6d2;
  --green: #23d366;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(3, 3, 3, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  max-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.brand-mark img {
  display: block;
  width: 100%;
  max-width: 42px;
  height: 100%;
  max-height: 42px;
  object-fit: contain;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  padding: 0;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu a,
.menu summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  font-size: 14px;
  font: inherit;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.submenu summary::after {
  margin-left: auto;
  transform: rotate(-45deg);
}

.menu a:hover,
.menu a:focus-visible,
.menu summary:hover,
.menu summary:focus-visible,
.menu details[open] > summary {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.menu-dropdown,
.submenu-dropdown {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: grid;
  min-width: 210px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-dropdown:hover > .submenu,
.menu-dropdown:focus-within > .submenu,
.menu-dropdown[open] > .submenu,
.submenu-dropdown:hover > .submenu,
.submenu-dropdown:focus-within > .submenu,
.submenu-dropdown[open] > .submenu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a,
.submenu summary {
  justify-content: flex-start;
  min-height: 36px;
  border-color: transparent;
  background: transparent;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu summary:hover,
.submenu summary:focus-visible,
.submenu details[open] > summary {
  background: rgba(247, 201, 72, 0.08);
}

.submenu-nested {
  top: 0;
  left: calc(100% + 8px);
}

.featured-logo {
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 46px) 16px clamp(18px, 4vw, 34px);
  background: #030303;
}

.featured-logo-glitch {
  --featured-logo-image: url("./assets/logo-lord-of-shirts.png?v=8");
  position: relative;
  isolation: isolate;
  width: min(420px, 78vw);
  aspect-ratio: 425 / 201;
  animation: logoGlitchEnter 700ms steps(1, end) both;
}

.featured-logo-glitch::before,
.featured-logo-glitch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--featured-logo-image) center / contain no-repeat;
  opacity: 0;
  mix-blend-mode: screen;
}

.featured-logo-glitch::before {
  filter: drop-shadow(-5px 0 0 #00e5ff);
  animation:
    logoCyanInterference 700ms steps(1, end) both,
    logoCyanFlicker 9.6s steps(1, end) 1.2s infinite;
}

.featured-logo-glitch::after {
  filter: drop-shadow(5px 0 0 #ff2a6d);
  animation:
    logoRedInterference 700ms steps(1, end) both,
    logoRedFlicker 11.3s steps(1, end) 1.6s infinite;
}

.featured-logo-glitch img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  animation: logoDigitalBlink 10.7s steps(1, end) 1s infinite;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #111, #261414 45%, #141d20);
}

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

.ticker span {
  padding: 12px 36px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@keyframes logoGlitchEnter {
  0% {
    opacity: 0;
    transform: translateX(-10px) skewX(2deg);
    filter: brightness(1.45) contrast(1.2);
  }
  8% {
    opacity: 1;
    transform: translateX(9px) skewX(-3deg);
    filter: drop-shadow(-5px 0 0 #00e5ff) drop-shadow(5px 0 0 #ff2a6d);
  }
  16% {
    transform: translateX(-7px);
  }
  24% {
    transform: translateX(5px);
    filter: drop-shadow(4px 0 0 #ff2a6d);
  }
  38% {
    transform: translateX(-3px);
    filter: drop-shadow(-3px 0 0 #00e5ff);
  }
  54% {
    transform: translateX(2px);
  }
  70%,
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0);
    filter: none;
  }
}

@keyframes logoCyanInterference {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
    clip-path: inset(0);
  }
  7% {
    opacity: 0.7;
    transform: translateX(-12px);
    clip-path: inset(6% 0 74% 0);
  }
  18% {
    opacity: 0.9;
    transform: translateX(8px);
    clip-path: inset(31% 0 51% 0);
  }
  31% {
    opacity: 0.65;
    transform: translateX(-6px);
    clip-path: inset(57% 0 28% 0);
  }
  47% {
    opacity: 0.85;
    transform: translateX(5px);
    clip-path: inset(17% 0 66% 0);
  }
  62% {
    opacity: 0.55;
    transform: translateX(-3px);
    clip-path: inset(76% 0 9% 0);
  }
  78% {
    opacity: 0.22;
    transform: translateX(2px);
    clip-path: inset(42% 0 43% 0);
  }
}

@keyframes logoRedInterference {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
    clip-path: inset(0);
  }
  10% {
    opacity: 0.75;
    transform: translateX(11px);
    clip-path: inset(73% 0 8% 0);
  }
  22% {
    opacity: 0.85;
    transform: translateX(-7px);
    clip-path: inset(21% 0 62% 0);
  }
  35% {
    opacity: 0.6;
    transform: translateX(6px);
    clip-path: inset(46% 0 39% 0);
  }
  51% {
    opacity: 0.8;
    transform: translateX(-5px);
    clip-path: inset(9% 0 78% 0);
  }
  66% {
    opacity: 0.45;
    transform: translateX(3px);
    clip-path: inset(64% 0 20% 0);
  }
  82% {
    opacity: 0.2;
    transform: translateX(-2px);
    clip-path: inset(35% 0 50% 0);
  }
}

@keyframes logoDigitalBlink {
  0%,
  4.8%,
  5.4%,
  29.8%,
  30.5%,
  63.4%,
  64%,
  83.3%,
  84%,
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: none;
  }
  5.1%,
  63.7% {
    opacity: 0.78;
    transform: translateX(1px);
    filter: brightness(1.35) contrast(1.18);
  }
  30.2%,
  83.6% {
    opacity: 0.92;
    transform: translateX(-1px);
    filter: brightness(1.15);
  }
}

@keyframes logoCyanFlicker {
  0%,
  6.8%,
  7.3%,
  38.5%,
  39%,
  74.4%,
  74.9%,
  100% {
    opacity: 0;
    transform: translateX(0);
    clip-path: inset(0);
  }
  7% {
    opacity: 0.42;
    transform: translateX(-3px);
    clip-path: inset(25% 0 61% 0);
  }
  38.7% {
    opacity: 0.3;
    transform: translateX(-2px);
    clip-path: inset(67% 0 18% 0);
  }
  74.6% {
    opacity: 0.36;
    transform: translateX(-2px);
    clip-path: inset(12% 0 73% 0);
  }
}

@keyframes logoRedFlicker {
  0%,
  12.4%,
  12.9%,
  52.1%,
  52.6%,
  91.2%,
  91.7%,
  100% {
    opacity: 0;
    transform: translateX(0);
    clip-path: inset(0);
  }
  12.6% {
    opacity: 0.38;
    transform: translateX(3px);
    clip-path: inset(53% 0 33% 0);
  }
  52.3% {
    opacity: 0.28;
    transform: translateX(2px);
    clip-path: inset(18% 0 68% 0);
  }
  91.4% {
    opacity: 0.34;
    transform: translateX(2px);
    clip-path: inset(72% 0 13% 0);
  }
}

@keyframes contactTitleGlitchEnter {
  0% {
    opacity: 0;
    transform: translateX(-8px) skewX(2deg);
    filter: brightness(1.45) contrast(1.18);
  }
  9% {
    opacity: 1;
    transform: translateX(7px) skewX(-3deg);
    filter: drop-shadow(-4px 0 0 #00e5ff) drop-shadow(4px 0 0 #ff2a6d);
  }
  20% {
    transform: translateX(-5px);
  }
  34% {
    transform: translateX(4px);
    filter: drop-shadow(3px 0 0 #ff2a6d);
  }
  52% {
    transform: translateX(-2px);
    filter: drop-shadow(-3px 0 0 #00e5ff);
  }
  70%,
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0);
    filter: none;
  }
}

@keyframes contactTitleCyanGlitch {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
    clip-path: inset(0);
  }
  8% {
    opacity: 0.7;
    transform: translateX(-9px);
    clip-path: inset(10% 0 72% 0);
  }
  25% {
    opacity: 0.85;
    transform: translateX(6px);
    clip-path: inset(37% 0 45% 0);
  }
  48% {
    opacity: 0.58;
    transform: translateX(-4px);
    clip-path: inset(66% 0 19% 0);
  }
  63% {
    opacity: 0.3;
    transform: translateX(2px);
    clip-path: inset(22% 0 63% 0);
  }
}

@keyframes contactTitleRedGlitch {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
    clip-path: inset(0);
  }
  12% {
    opacity: 0.72;
    transform: translateX(9px);
    clip-path: inset(70% 0 9% 0);
  }
  31% {
    opacity: 0.8;
    transform: translateX(-6px);
    clip-path: inset(24% 0 58% 0);
  }
  55% {
    opacity: 0.6;
    transform: translateX(4px);
    clip-path: inset(47% 0 37% 0);
  }
  76% {
    opacity: 0.24;
    transform: translateX(-2px);
    clip-path: inset(12% 0 73% 0);
  }
}

@keyframes contactTitleBlink {
  0%,
  6.2%,
  6.8%,
  46.7%,
  47.3%,
  79.8%,
  80.4%,
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: none;
  }
  6.5%,
  47%,
  80.1% {
    opacity: 0.9;
    transform: translateX(1px);
    filter: brightness(1.18);
  }
}

@keyframes contactTitleCyanFlicker {
  0%,
  18.2%,
  18.7%,
  69.4%,
  69.9%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
  18.4% {
    opacity: 0.34;
    transform: translateX(-2px);
  }
  69.6% {
    opacity: 0.28;
    transform: translateX(-2px);
  }
}

@keyframes contactTitleRedFlicker {
  0%,
  31.1%,
  31.6%,
  87.3%,
  87.8%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
  31.3% {
    opacity: 0.31;
    transform: translateX(2px);
  }
  87.5% {
    opacity: 0.27;
    transform: translateX(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-logo-glitch,
  .featured-logo-glitch::before,
  .featured-logo-glitch::after,
  .featured-logo-glitch img,
  .contact-title-glitch,
  .contact-title-glitch::before,
  .contact-title-glitch::after,
  .clients-carousel .banner-slide.is-active {
    animation: none;
  }
}

.instagram-banner {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-bottom: 0;
  background: transparent;
}

.banner-stage {
  position: relative;
  background: transparent;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 900ms ease;
}

.banner-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.banner-slide::after {
  content: none;
}

.instagram-photo-set {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  padding: 0;
  background: transparent;
}

.instagram-photo-set::after {
  content: none;
}

.instagram-photo {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0b0b0b;
  line-height: 0;
}

.instagram-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 2600ms ease;
}

.instagram-photo-set.is-active .instagram-photo img {
  transform: none;
}

.content-section {
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 56px);
  scroll-margin-top: 90px;
  border-bottom: 1px solid var(--line);
}

.scroll-reveal {
  --section-x: 0px;
  --section-y: 0px;
  --section-rotate: 0deg;
  --section-opacity: 1;
  --section-scale: 1;
  transform-origin: center;
  will-change: transform, opacity;
}

.scroll-reveal-enabled .scroll-reveal {
  opacity: var(--section-opacity);
  transform: translate3d(var(--section-x), var(--section-y), 0) rotate(var(--section-rotate)) scale(var(--section-scale));
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-enabled .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.about-section {
  background:
    linear-gradient(135deg, rgba(247, 201, 72, 0.08), transparent 34%),
    linear-gradient(180deg, #030303 0%, #090909 48%, #030303 100%);
}

.about-panel {
  width: min(1180px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(247, 201, 72, 0.34);
  background:
    linear-gradient(135deg, rgba(247, 201, 72, 0.08), transparent 38%),
    rgba(12, 12, 12, 0.92);
}

.about-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: clamp(18px, 4vw, 30px);
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.about-toggle > span:first-child {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.about-toggle-title {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.about-toggle-icon {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #090909;
}

.about-toggle-icon::before,
.about-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.about-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease;
}

.about-section.is-open .about-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.about-section.is-open .about-toggle {
  border-bottom: 1px solid rgba(247, 201, 72, 0.24);
}

.about-shell {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(5, 5, 5, 0.36);
}

.about-section.is-collapsed .about-shell,
.about-shell[hidden],
.about-shell[aria-hidden="true"] {
  display: none;
}

.about-section.is-open .about-shell {
  display: grid;
}

.about-intro {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 940px;
  min-width: 0;
}

.about-kicker,
.about-pillars span,
.about-block-head span,
.why-choose span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-intro h2,
.about-block-head h3,
.why-choose h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.about-intro h2 {
  max-width: 760px;
  font-size: clamp(38px, 7vw, 86px);
}

.about-intro p,
.about-pillars p,
.values-grid p,
.why-choose li {
  margin: 0;
  color: #d1d1d1;
  line-height: 1.68;
  overflow-wrap: break-word;
}

.about-lead {
  max-width: 820px;
  color: var(--text) !important;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45 !important;
}

.about-signature {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-signature div {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
  min-height: 124px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(10, 10, 10, 0.96);
}

.about-signature span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-signature strong {
  color: var(--text);
  font-size: clamp(24px, 4vw, 44px);
  letter-spacing: 0;
  line-height: 1;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
  min-width: 0;
}

.about-pillars article,
.values-grid article,
.why-choose {
  border: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.86);
}

.about-pillars article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 3vw, 28px);
}

.about-values {
  display: grid;
  gap: 18px;
}

.about-block-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.about-block-head h3,
.why-choose h3 {
  font-size: clamp(26px, 4vw, 46px);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.values-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 18px;
}

.values-grid strong {
  color: var(--gold);
  font-size: 15px;
  line-height: 1.3;
}

.values-grid p {
  font-size: 14px;
}

.why-choose {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  max-width: 100%;
  min-width: 0;
  padding: clamp(20px, 4vw, 34px);
  border-color: rgba(247, 201, 72, 0.28);
  background:
    linear-gradient(135deg, rgba(247, 201, 72, 0.12), transparent 58%),
    #111;
}

.why-choose > div {
  display: grid;
  gap: 10px;
}

.why-choose ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-choose li {
  position: relative;
  padding-left: 18px;
}

.why-choose li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.why-choose li strong {
  color: var(--text);
}

.clients-section .section-head {
  justify-content: center;
  text-align: center;
}

.clients-carousel {
  width: 100%;
  background: transparent;
}

.clients-carousel .banner-slide {
  transition: opacity 1800ms ease;
}

.clients-carousel .banner-slide.is-active {
  animation: clientsSetFadeIn 1800ms ease both;
}

.clients-carousel .banner-slide.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.clients-media-set {
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 14px);
}

.clients-media-set.media-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

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

.clients-media-set.media-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clients-media-set.media-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clients-media-set.media-count-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clients-media {
  display: flex;
  aspect-ratio: 4 / 5;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0b0b;
}

.clients-media img,
.clients-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  transform: none;
  transform-origin: center;
}

.instagram-photo-set.is-active .instagram-photo.clients-media img,
.instagram-photo-set.is-active .instagram-photo.clients-media video {
  transform: none;
}

.clients-media video {
  aspect-ratio: auto;
}

@keyframes clientsSetFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.faq-section {
  background:
    linear-gradient(135deg, rgba(72, 214, 210, 0.08), transparent 36%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 52%, #040404 100%);
}

.faq-list {
  display: grid;
  gap: 10px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(15, 15, 15, 0.92);
}

.faq-item[open] {
  border-color: rgba(247, 201, 72, 0.34);
  background:
    linear-gradient(135deg, rgba(247, 201, 72, 0.1), transparent 42%),
    rgba(16, 16, 16, 0.96);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 18px clamp(16px, 3vw, 24px);
  color: var(--text);
  cursor: pointer;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 900;
  line-height: 1.28;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  background: #090909;
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 780px;
  margin: 0;
  padding: 0 clamp(16px, 3vw, 24px) 22px;
  color: #d1d1d1;
  line-height: 1.68;
  overflow-wrap: break-word;
}

.faq-size-guide {
  width: min(780px, calc(100% - 32px));
  margin: -4px auto 24px;
}

.faq-size-guide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(247, 201, 72, 0.28);
  background: #ffffff;
}

.products-section {
  padding-inline: 0;
  padding-bottom: 0;
}

.products-section > .section-head,
.product-subnav {
  padding-inline: clamp(16px, 4vw, 56px);
}

.product-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-subnav a,
.contact-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.product-subnav a:hover,
.product-subnav a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.store-tools {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #080808;
}

.products-section .store-tools {
  border-top: 1px solid var(--line);
}

.search-box {
  display: grid;
  gap: 6px;
  width: min(430px, 100%);
}

.search-box span,
.stock-note span {
  color: var(--muted);
  font-size: 13px;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #111;
  color: var(--text);
  font: inherit;
}

.catalog-sort {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.catalog-sort > span {
  color: var(--muted);
  font-size: 13px;
}

.catalog-sort-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-sort-button {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #111;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.catalog-sort-button:hover,
.catalog-sort-button:focus-visible,
.catalog-sort-button.is-active {
  border-color: rgba(247, 201, 72, 0.58);
  background: #18130a;
  color: var(--gold);
}

.stock-note {
  display: grid;
  align-content: center;
  gap: 4px;
  max-width: 500px;
  text-align: right;
}

#catalog {
  display: grid;
}

.catalog-family {
  padding: clamp(30px, 5vw, 58px) clamp(16px, 4vw, 56px);
  scroll-margin-top: 90px;
  border-top: 1px solid var(--line);
}

.catalog-section {
  padding: 0;
  scroll-margin-top: 110px;
  border-bottom: 0;
}

.product-category-list {
  display: grid;
  gap: 24px;
}

.product-category {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-category:first-child {
  padding-top: 0;
  border-top: 0;
}

.category-head {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 14px;
  text-align: center;
}

.category-head h3,
.category-head p {
  margin: 0;
}

.category-head h3 {
  color: var(--gold);
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
}

.category-head p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.5;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-bottom: 22px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  margin-inline: auto;
  color: var(--muted);
}

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

.contact-title-glitch {
  position: relative;
  display: inline-block;
  isolation: isolate;
  animation:
    contactTitleGlitchEnter 700ms steps(1, end) both,
    contactTitleBlink 9.8s steps(1, end) 1.1s infinite;
}

.contact-title-glitch::before,
.contact-title-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.contact-title-glitch::before {
  color: #00e5ff;
  clip-path: inset(0 0 52% 0);
  animation:
    contactTitleCyanGlitch 700ms steps(1, end) both,
    contactTitleCyanFlicker 10.4s steps(1, end) 1.5s infinite;
}

.contact-title-glitch::after {
  color: #ff2a6d;
  clip-path: inset(48% 0 0 0);
  animation:
    contactTitleRedGlitch 700ms steps(1, end) both,
    contactTitleRedFlicker 11.2s steps(1, end) 1.7s infinite;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 540px));
  align-items: start;
  justify-content: center;
  justify-items: stretch;
  gap: 16px clamp(16px, 3vw, 28px);
}

.contact-map {
  display: grid;
  gap: 10px;
  width: min(100%, 540px);
  min-width: 0;
  justify-self: end;
}

.contact-map-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.08) brightness(0.78);
}

.map-link {
  justify-self: center;
}

.contact-panel {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  width: min(100%, 540px);
  min-width: 0;
  justify-self: center;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(5, clamp(44px, 14vw, 62px));
  justify-content: center;
  gap: clamp(6px, 2vw, 12px);
}

.social-button {
  display: inline-grid;
  width: clamp(44px, 14vw, 62px);
  height: clamp(44px, 14vw, 62px);
  place-items: center;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: var(--text);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-button:hover,
.social-button:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.social-button svg {
  display: block;
  width: clamp(23px, 7vw, 31px);
  height: clamp(23px, 7vw, 31px);
  fill: currentColor;
}

.social-button-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.wholesale-form {
  display: grid;
  gap: 12px;
  width: min(100%, 540px);
  min-width: 0;
  scroll-margin-top: 96px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid var(--line);
  background: var(--panel);
  justify-self: start;
}

.wholesale-form h3 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0;
}

.form-field textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
  line-height: 1.45;
}

.wholesale-submit {
  min-height: 44px;
  border: 1px solid rgba(247, 201, 72, 0.5);
  background: #18130a;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.wholesale-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: var(--red);
}

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

.product-card {
  min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-card.is-best-seller {
  border-color: transparent;
}

.product-card:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.product-image-frame {
  position: relative;
  overflow: hidden;
  background: transparent;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.best-seller-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border: 1px solid rgba(247, 201, 72, 0.72);
  background: rgba(8, 8, 8, 0.86);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-info h3,
.product-info p {
  margin: 0;
}

.product-info h3 {
  font-size: 17px;
}

.product-info-upload {
  gap: 0;
}

.product-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-meta span {
  padding: 5px 8px;
  background: #1d1d1d;
  color: #d9d9d9;
  font-size: 12px;
}

.price {
  color: var(--gold);
  font-weight: 900;
}

.empty-state {
  display: none;
  padding: 40px 16px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px clamp(16px, 4vw, 56px) 22px;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-width: 0;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #c7c7c7;
}

.admin-link {
  margin-left: auto;
}

.legal-page {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 60px) 0 80px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.legal-back:hover,
.legal-back:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.legal-brand {
  display: inline-flex;
  width: 84px;
  height: 40px;
  align-items: center;
  justify-content: flex-end;
}

.legal-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-panel {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  padding: clamp(22px, 5vw, 50px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 201, 72, 0.08), transparent 280px),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.legal-panel h1,
.legal-panel h2,
.legal-panel p,
.legal-panel ul {
  margin: 0;
}

.legal-hero {
  display: grid;
  gap: 16px;
  padding-bottom: clamp(22px, 4vw, 34px);
  border-bottom: 1px solid var(--line);
}

.legal-eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-panel h1 {
  max-width: 820px;
  color: var(--text);
  font-size: clamp(34px, 7vw, 76px);
  letter-spacing: 0;
  line-height: 0.95;
}

.legal-lead {
  max-width: 820px;
  color: #d8d3cb;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.legal-meta,
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-meta span,
.legal-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.legal-toc a {
  color: #d6d6d6;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  border-color: var(--gold);
  background: rgba(247, 201, 72, 0.08);
  color: var(--gold);
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.legal-summary-card,
.legal-section {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.legal-summary-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
}

.legal-summary-card strong {
  color: var(--gold);
  font-size: 15px;
}

.legal-summary-card span {
  color: #c8c8c8;
  font-size: 13px;
  line-height: 1.5;
}

.legal-section-grid {
  display: grid;
  gap: 14px;
}

.legal-section {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  scroll-margin-top: 24px;
}

.legal-section h2,
.legal-cta-panel h2 {
  color: var(--text);
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
  line-height: 1.05;
}

.legal-section p,
.legal-section li,
.legal-cta-panel p {
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.7;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.legal-section a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-contact-section {
  border-color: rgba(247, 201, 72, 0.26);
}

.legal-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.legal-contact-list a,
.legal-contact-list div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.legal-contact-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-contact-list strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.legal-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(247, 201, 72, 0.32);
  background: #15110a;
}

.legal-cta-panel div {
  display: grid;
  gap: 10px;
}

.legal-cta-panel p {
  max-width: 700px;
}

.legal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #050505;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: filter 160ms ease, transform 160ms ease;
}

.legal-cta:hover,
.legal-cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.admin-body {
  min-height: 100vh;
}

.admin-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0 80px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.admin-topbar a {
  color: var(--muted);
  font-weight: 800;
}

.admin-title h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 0;
}

.admin-title p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.login-panel,
.admin-tabs,
.upload-panel,
.admin-product-tools,
.uploads-list,
.wholesale-admin-panel,
.settings-admin-panel,
.site-editor-panel,
.wholesale-leads-list {
  border: 1px solid var(--line);
  background: var(--panel);
}

.login-panel {
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  padding: 18px;
}

.login-panel label,
.form-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.login-panel input,
.form-field input,
.form-field select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
}

.login-panel button,
.upload-panel button,
.edit-upload,
.delete-upload,
.admin-action {
  min-height: 44px;
  border: 1px solid rgba(247, 201, 72, 0.5);
  background: #18130a;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-action:disabled {
  cursor: wait;
  opacity: 0.58;
}

.admin-error {
  min-height: 20px;
  margin: 0;
  color: var(--red);
}

.admin-workspace {
  display: none;
  gap: 18px;
}

.admin-workspace.is-unlocked {
  display: grid;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.admin-tab {
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  background: #0b0b0b;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-tab.is-active {
  background: #18130a;
  color: var(--gold);
}

.admin-tab-panel {
  display: grid;
  gap: 18px;
}

.admin-tab-panel[hidden] {
  display: none;
}

.upload-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.upload-panel button {
  align-self: end;
}

.upload-status {
  grid-column: 1 / -1;
}

.checkbox-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  accent-color: var(--gold);
}

.admin-product-tools {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.upload-search {
  display: grid;
  gap: 6px;
  width: min(460px, 100%);
}

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

.upload-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #111;
  color: var(--text);
  font: inherit;
}

.file-input {
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  padding: 14px;
  cursor: pointer;
}

.file-input::after {
  content: attr(data-file-label);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(247, 201, 72, 0.5);
  background: #18130a;
  color: var(--gold);
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.file-input.has-selected-file::after {
  border-color: rgba(35, 211, 102, 0.72);
  background: #0f2f1c;
  color: #8ff0ad;
}

.file-input input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.uploads-list {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.upload-category-group {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #080808;
}

.upload-category-group-head,
.upload-category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.upload-category-group-head h3,
.upload-category-heading h4 {
  margin: 0;
  letter-spacing: 0;
}

.upload-category-group-head h3 {
  color: var(--gold);
  font-size: clamp(19px, 2vw, 26px);
}

.upload-category-heading h4 {
  color: var(--text);
  font-size: 15px;
}

.upload-category-group-head span,
.upload-category-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.upload-category-section {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.upload-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.upload-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: #0b0b0b;
  border: 1px solid var(--line);
}

.upload-card.is-best-seller {
  border-color: rgba(247, 201, 72, 0.55);
}

.upload-card-media {
  position: relative;
  overflow: hidden;
  background: var(--panel-soft);
}

.upload-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.upload-card strong,
.upload-card span {
  overflow-wrap: anywhere;
}

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

.upload-card-meta {
  line-height: 1.35;
}

.upload-card .upload-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border: 1px solid rgba(247, 201, 72, 0.72);
  background: rgba(8, 8, 8, 0.86);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.upload-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upload-card-actions button {
  flex: 1 1 92px;
  padding-inline: 10px;
}

.edit-upload {
  min-height: 36px;
}

.delete-upload {
  min-height: 36px;
  border-color: rgba(255, 69, 69, 0.5);
  background: #1b0c0c;
  color: #ff8989;
}

.upload-card-editor {
  align-content: start;
}

.wholesale-admin-panel,
.settings-admin-panel,
.site-editor-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.wholesale-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #080808;
}

.wholesale-toolbar .admin-action {
  min-width: 180px;
}

.wholesale-select-all {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.wholesale-toolbar-status {
  flex: 1 1 220px;
}

.settings-form {
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
}

.settings-form h3 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0;
}

.settings-form .admin-action {
  justify-self: start;
}

.site-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.site-section-form,
.logo-editor-form {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #080808;
}

.logo-editor-preview {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #050505;
}

.logo-editor-preview img {
  display: block;
  max-width: min(100%, 260px);
  max-height: 130px;
  object-fit: contain;
}

.site-sections-list-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #080808;
}

.site-sections-list {
  display: grid;
  gap: 10px;
}

.site-section-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.site-section-card > div:first-child {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.site-section-card strong {
  color: var(--gold);
}

.site-section-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-subsection-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.site-subsection-list span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: #111;
  color: #d7d7d7;
  font-weight: 800;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.admin-section-head h2,
.admin-section-head p {
  margin: 0;
}

.admin-section-head h2 {
  color: var(--gold);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0;
}

.admin-section-head p,
.admin-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-action {
  min-width: 118px;
  padding-inline: 14px;
}

.wholesale-leads-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.wholesale-lead-card {
  --lead-status: var(--muted);
  --lead-status-bg: rgba(168, 168, 168, 0.12);
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--lead-status);
  background: #0b0b0b;
}

.wholesale-lead-card[data-status="pending"] {
  --lead-status: #ff5b5b;
  --lead-status-bg: rgba(255, 91, 91, 0.14);
}

.wholesale-lead-card[data-status="attended"] {
  --lead-status: #48d6d2;
  --lead-status-bg: rgba(72, 214, 210, 0.14);
}

.wholesale-lead-card[data-status="in_process"] {
  --lead-status: #f7c948;
  --lead-status-bg: rgba(247, 201, 72, 0.15);
}

.wholesale-lead-card[data-status="completed"] {
  --lead-status: #23d366;
  --lead-status-bg: rgba(35, 211, 102, 0.15);
}

.wholesale-lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wholesale-lead-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.wholesale-lead-head strong,
.wholesale-lead-card p,
.wholesale-lead-actions a {
  overflow-wrap: anywhere;
}

.wholesale-lead-head span {
  color: var(--muted);
  font-size: 12px;
}

.wholesale-lead-card .wholesale-status-badge,
.wholesale-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--lead-status);
  background: var(--lead-status-bg);
  color: var(--lead-status);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.wholesale-entry-select {
  display: inline-grid;
  width: auto;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #080808;
  color: var(--muted);
}

.wholesale-lead-controls {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.wholesale-status-field select {
  min-height: 38px;
  border-color: var(--lead-status);
  background: #0b0b0b;
  color: var(--lead-status);
  font-weight: 900;
}

.wholesale-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wholesale-lead-actions a,
.wholesale-lead-actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.wholesale-lead-actions button {
  min-width: 104px;
}

.wholesale-lead-card p,
.admin-note {
  margin: 0;
}

.wholesale-lead-card p,
.wholesale-lead-details {
  color: #d9d9d9;
  font-size: 14px;
  line-height: 1.5;
}

.wholesale-lead-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.wholesale-lead-details div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  background: #080808;
}

.wholesale-lead-details .wholesale-lead-message {
  grid-column: 1 / -1;
}

.wholesale-lead-details dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wholesale-lead-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.whatsapp-float {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  max-width: calc(100vw - 28px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7fff9;
  box-shadow: none;
  animation: floatPulse 2.4s ease-in-out infinite;
  transition: opacity 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline: 2px solid rgba(35, 211, 102, 0.8);
  outline-offset: 4px;
}

body.footer-in-view .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  animation: none;
}

.whatsapp-float-image {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.48));
}

.whatsapp-float-label {
  max-width: 150px;
  color: currentColor;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
  overflow-wrap: break-word;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 820px) {
  .store-tools,
  .section-head,
  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    position: absolute;
    top: 14px;
    right: clamp(16px, 4vw, 56px);
    display: grid;
    margin-left: auto;
  }

  .menu {
    display: none;
    width: 100%;
    align-items: stretch;
    margin-inline: 0;
    margin-top: 4px;
    padding-inline: 0;
    overflow: visible;
  }

  .site-header.is-menu-open .menu {
    display: grid;
  }

  .menu-dropdown,
  .submenu-dropdown {
    display: grid;
    width: 100%;
  }

  .menu a,
  .menu summary {
    justify-content: flex-start;
    width: 100%;
  }

  .submenu,
  .submenu-nested {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    margin-left: 12px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-dropdown[open] > .submenu,
  .submenu-dropdown[open] > .submenu {
    display: grid;
  }

  .submenu summary::after {
    transform: translateY(-2px) rotate(45deg);
  }

  .about-signature,
  .about-pillars,
  .values-grid,
  .why-choose,
  .wholesale-lead-controls,
  .wholesale-lead-details {
    grid-template-columns: 1fr;
  }

  .about-toggle {
    min-height: 82px;
  }

  .about-signature div {
    min-height: 96px;
  }

  .faq-item summary {
    grid-template-columns: minmax(0, 1fr) 30px;
    min-height: 62px;
    padding: 16px;
  }

  .faq-item summary::after {
    width: 30px;
    height: 30px;
  }

  .faq-item p {
    padding: 0 16px 18px;
  }

  .whatsapp-float {
    gap: 7px;
    min-height: 44px;
  }

  .whatsapp-float-image {
    width: 44px;
    height: 44px;
  }

  .whatsapp-float-label {
    max-width: 118px;
    font-size: 12px;
  }

  .stock-note {
    text-align: left;
  }

  .catalog-sort,
  .catalog-sort-options,
  .admin-product-tools,
  .upload-search {
    width: 100%;
  }

  .catalog-sort-options {
    display: grid;
  }

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

  .contact-panel,
  .contact-map,
  .wholesale-form {
    grid-column: auto;
    justify-self: center;
  }

  .legal-summary-grid,
  .legal-contact-list {
    grid-template-columns: 1fr 1fr;
  }

  .legal-cta-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .site-editor-grid,
  .site-section-card {
    grid-template-columns: 1fr;
  }

  .upload-category-group-head,
  .upload-category-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .wholesale-toolbar,
  .wholesale-lead-head {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
  }

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

@media (max-width: 520px) {
  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    max-width: 38px;
    height: 38px;
  }

  .brand-mark img {
    max-width: 38px;
    max-height: 38px;
  }

  .brand small {
    display: none;
  }

  .legal-page {
    width: calc(100% - 24px);
    max-width: 1120px;
    padding-top: 18px;
  }

  .legal-topbar {
    align-items: flex-start;
  }

  .legal-brand {
    width: 70px;
    height: 34px;
  }

  .legal-panel {
    padding: 18px;
  }

  .legal-meta span,
  .legal-toc a {
    width: 100%;
  }

  .legal-summary-grid,
  .legal-contact-list {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding: 18px;
  }

  .instagram-banner {
    min-height: 0;
  }

  .instagram-photo-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }

  .clients-media-set.media-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .clients-media-set.media-count-2,
  .clients-media-set.media-count-3,
  .clients-media-set.media-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-logo-glitch {
    width: min(280px, 76vw);
  }

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

  .product-info {
    padding: 10px;
  }

}
