:root {
  --bg: #070a12;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --blue: #2b6bff;
  --sky: #7bdcff;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius-sm: 14px;
  /** Alto aproximado del header sticky para llenar el primer viewport con el hero */
  --header-offset: 84px;
}

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

html {
  background-color: var(--bg);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: transparent;
  color: var(--text);
}

.siteBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #121826;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  transition: opacity 0.75s ease;
}

.siteBg.siteBg--fade {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .siteBg {
    transition: none;
  }
}

.welcomeSplash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  overflow-x: hidden;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: var(--bg);
  transition: opacity 0.55s ease, visibility 0.55s ease;
  -webkit-tap-highlight-color: transparent;
}

.welcomeSplash--out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcomeSplash__logo {
  display: block;
  width: min(200px, 48vw);
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  /* El PNG trae fondo negro en un cuadrado: unimos ese negro al fondo de la portada */
  mix-blend-mode: lighten;
}

.welcomeSplash__title {
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-size: clamp(22px, 6.2vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.welcomeSplash__title:focus,
.welcomeSplash__title:focus-visible {
  outline: none;
  box-shadow: none;
}

.welcomeSplash__brand {
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
}

@media (max-width: 520px) {
  .welcomeSplash__title {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcomeSplash {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 18, 0.68);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.brand__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 18px;
}

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

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 160ms ease, transform 160ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.cartBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}

.cartBtn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.cartBtn__icon {
  font-size: 16px;
}

.cartBtn__text {
  font-size: 13px;
}

.cartBtn__count {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(43, 107, 255, 0.22);
  border: 1px solid rgba(43, 107, 255, 0.34);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100svh - var(--header-offset));
  min-height: calc(100dvh - var(--header-offset));
  padding: clamp(20px, 5vh, 48px) 0;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
}

@media (max-width: 720px) {
  :root {
    --header-offset: 120px;
  }
}

.hero__copy {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.hero__copy h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero__copy p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
  justify-content: center;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  justify-content: center;
}

.chip {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(43, 107, 255, 0.18);
  border: 1px solid rgba(43, 107, 255, 0.30);
  color: rgba(255, 255, 255, 0.92);
}

.badge--soft {
  background: rgba(123, 220, 255, 0.14);
  border-color: rgba(123, 220, 255, 0.26);
}

/* Franja clara solo para el teaser del diseñador (un solo fondo #fff) */
.heroDesignerStrip {
  position: relative;
  z-index: 1;
  background: #f6f8fc;
  color: #0c1224;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(12, 18, 36, 0.08);
  border-bottom: 1px solid rgba(12, 18, 36, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.heroDesignerBanner {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.heroDesignerBanner__inner {
  position: relative;
  padding: 0;
  text-align: left;
}

.heroDesignerBanner__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.heroDesignerBanner__eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2b6bff;
  line-height: 1.3;
}

.heroDesignerBanner__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.heroDesignerBanner__pill {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #1a3a8a;
  border: 1px solid rgba(43, 107, 255, 0.22);
}

.heroDesignerBanner__pill--sky {
  background: #e3f7ff;
  color: #0b4a66;
  border-color: rgba(123, 220, 255, 0.45);
}

.heroDesignerBanner__title {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #050816;
}

.heroDesignerBanner__title::after {
  content: "";
  display: block;
  width: min(11rem, 55%);
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2b6bff, #7bdcff);
}

.heroDesignerBanner__steps {
  display: block;
  margin: 0 0 18px;
  padding: 0 0 0 1.35rem;
  max-width: min(40rem, 100%);
  text-align: left;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(12, 18, 36, 0.78);
}

.heroDesignerBanner__steps li {
  margin-bottom: 8px;
}

.heroDesignerBanner__steps li:last-child {
  margin-bottom: 0;
}

.heroDesignerBanner__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.previewTile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.heroDesignerBanner__grid .previewTile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 36, 0.1);
  background: #f3f5f9;
  box-shadow: 0 2px 10px rgba(12, 18, 36, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.heroDesignerBanner__grid .previewTile img:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(43, 107, 255, 0.4);
  box-shadow: 0 10px 24px rgba(43, 107, 255, 0.18);
}

.heroDesignerBanner__meta {
  font-size: 13px;
  font-weight: 700;
  color: rgba(12, 18, 36, 0.78);
  margin-bottom: 14px;
  line-height: 1.45;
}

.heroDesignerBanner__price {
  color: #1f52d6;
  font-weight: 900;
}

.heroDesignerBanner__sep {
  margin: 0 6px;
  color: rgba(12, 18, 36, 0.35);
  font-weight: 400;
}

.heroDesignerBanner__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.heroDesignerBanner__trust {
  font-size: 12px;
  color: rgba(12, 18, 36, 0.52);
  font-weight: 600;
}

.btn--bannerCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
  border: none;
  color: #fff;
  background: linear-gradient(165deg, #3d7aff 0%, #2b6bff 45%, #1f52d6 100%);
  box-shadow: 0 10px 28px rgba(43, 107, 255, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}

.btn--bannerCta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(43, 107, 255, 0.42);
}

.btn--bannerCta:active {
  transform: translateY(0);
}

.section {
  padding: 44px 0;
}

#disenos.section,
#como-comprar.section {
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.catalogIntro {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(123, 220, 255, 0.22);
  background: linear-gradient(135deg, rgba(43, 107, 255, 0.12), rgba(123, 220, 255, 0.06));
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.section--soft {
  background: rgba(8, 12, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section__head {
  margin-bottom: 18px;
}

.section__head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  line-height: 1.6;
}

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

#disenos .grid {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
}

.card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.card__body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}

.card__titleRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card__title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card__pill {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 6px 10px;
}

.card__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.btn--primary {
  background: linear-gradient(180deg, rgba(43, 107, 255, 1), rgba(24, 79, 216, 1));
  border-color: rgba(123, 220, 255, 0.28);
  box-shadow: 0 12px 26px rgba(43, 107, 255, 0.18);
  color: var(--white);
}

.btn--primary:hover {
  box-shadow: 0 16px 34px rgba(43, 107, 255, 0.24);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--full {
  width: 100%;
}

.sizeChart {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.40);
}

.sizeChart img {
  width: 100%;
  height: auto;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.steps li {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.steps__title {
  font-weight: 900;
  margin-bottom: 6px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 12, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__brand {
  font-weight: 900;
  letter-spacing: 0.08em;
}

.toastHost {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: none;
  width: min(420px, calc(100vw - 32px));
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 18, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  opacity: 0;
  animation: toast-in 180ms ease forwards;
}

.toast__title {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.toast__body {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.toast--out {
  animation: toast-out 220ms ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.dialog {
  width: min(980px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 0;
  background: rgba(7, 10, 18, 0.84);
  color: var(--text);
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
}

.dialog__panel {
  padding: 16px;
}

.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
}

.dialog__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.iconBtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 900;
}

.iconBtn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dialog__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.dialog__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.shirtPreview {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.shirtPreview__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.shirtPreview__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Marca de agua en previews de diseños (no evita capturas; dificulta reutilizar el arte limpio) */
.shirtPreview::after,
.card__media::after,
.designerThumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Ctext x='48' y='54' text-anchor='middle' font-family='system-ui,sans-serif' font-size='11' font-weight='900' fill='%23ffffff' fill-opacity='0.14' transform='rotate(-32 48 48)'%3EDEVRIM%3C/text%3E%3C/svg%3E");
  background-size: 96px 96px;
}

.previewTile--light::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Ctext x='44' y='50' text-anchor='middle' font-family='system-ui,sans-serif' font-size='10' font-weight='900' fill='%23070a12' fill-opacity='0.12' transform='rotate(-30 44 44)'%3EDEVRIM%3C/text%3E%3C/svg%3E");
  background-size: 88px 88px;
}

.layerItem {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36%;
  z-index: 3;
  cursor: default;
  touch-action: none;
  user-select: none;
}

.layerItem:active {
  cursor: default;
}

.layerItem img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.layerItem--selected {
  outline: 2px solid rgba(123, 220, 255, 0.85);
  outline-offset: 3px;
  border-radius: 10px;
}

.layerToolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
}

.layerToolbar__range {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  flex: 1;
}

.layerToolbar__label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.layerToolbar__range input[type="range"] {
  width: 100%;
}

.designerThumbGrid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: min(72vh, 720px);
  overflow-y: auto;
  padding: 12px 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.designerThumbGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.designerGroupLabel {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  padding: 0 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.designerThumbRow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px 10px;
  align-content: start;
}

.shirtPreview--lg {
  max-width: 520px;
  margin: 0 auto;
}

.shirtPreview--dialog {
  border-radius: var(--radius);
}

.shirtPreview--sm {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
}

.is-hidden {
  display: none !important;
}

.sidePick {
  max-width: 720px;
  margin: 0 auto 8px;
}

.sidePick__title {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

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

.sidePick__card {
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px 16px;
  cursor: pointer;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.sidePick__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(123, 220, 255, 0.35);
  transform: translateY(-2px);
}

.sidePick__cardTitle {
  display: block;
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 6px;
}

.sidePick__cardDesc {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.sidePick__footer {
  text-align: center;
  margin: 14px 0 0;
}

.designerWorkspace {
  margin-top: 8px;
}

.designer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.designer__previewCol {
  display: grid;
  gap: 10px;
}

.designer__hint {
  max-width: 520px;
  margin: 0 auto;
}

.designer__controls {
  display: grid;
  gap: 16px;
}

.designer__block {
  display: grid;
  gap: 10px;
}

.designer__h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

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

.colorSwatch {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.colorSwatch--active {
  border-color: rgba(123, 220, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.12);
}

.designerThumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.10);
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  aspect-ratio: 1 / 1;
}

.designerThumb:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.designerThumb--active {
  border-color: rgba(43, 107, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(43, 107, 255, 0.12);
}

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

.dialog__options {
  display: grid;
  gap: 12px;
  align-content: start;
}

.field label {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.field__label {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

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

.catalogSideBtns .btn.catalogSideBtn--on {
  border-color: rgba(123, 220, 255, 0.45);
  background: rgba(43, 107, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

.field select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.field select:focus {
  border-color: rgba(123, 220, 255, 0.40);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.10);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
  font: inherit;
}

.field input[type="text"]:focus,
.field input[type="tel"]:focus,
.field input[type="email"]:focus {
  border-color: rgba(123, 220, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.1);
}

.dialog--contact {
  width: min(440px, calc(100% - 28px));
}

.contactFields {
  display: grid;
  gap: 14px;
  padding-bottom: 4px;
}

.contactPhoneRow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.contactPhonePrefix {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.contactPhoneRow input[type="tel"] {
  flex: 1;
  min-width: 140px;
}

.hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.dialog__cta {
  margin-top: 4px;
  display: grid;
  gap: 8px;
}

.cart {
  display: grid;
  gap: 14px;
}

.cart__list {
  display: grid;
  gap: 10px;
}

.cartEmpty {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.cartItem {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.cartItem__img {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.cartItem__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cartItem__title {
  font-weight: 900;
}

.cartItem__meta {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
}

.cartItem__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qtyBtn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 900;
}

.qtyBtn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qtyValue {
  min-width: 26px;
  text-align: center;
  font-weight: 900;
}

.linkBtn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 12px;
}

.linkBtn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cart__footer {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  gap: 12px;
}

.cart__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0 0;
}

.cart__summaryLabel {
  color: rgba(255, 255, 255, 0.70);
  font-weight: 900;
}

.cart__summaryValue {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.cart__actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 980px) {
  .heroDesignerBanner__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .designer {
    grid-template-columns: 1fr;
  }
  .sidePick__grid {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .dialog__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .container {
    width: min(1120px, calc(100% - 28px));
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .heroDesignerBanner__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
