:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #666666;
  --paper: #f7f7f4;
  --panel: #ffffff;
  --line: #dddddd;
  --coral: #111111;
  --teal: #111111;
  --blue: #555555;
  --gold: #999999;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px clamp(18px, 5vw, 42px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 247, 244, 0.78);
  border-bottom: 1px solid rgba(221, 221, 221, 0.75);
}

.brand,
.site-nav,
.hero-actions,
.category-tabs,
.product-info,
.license-band,
.footer {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 0.92rem;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  color: var(--muted);
  font-size: 0.92rem;
  gap: clamp(14px, 3vw, 32px);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-active {
  color: var(--ink);
  font-weight: 800;
}

.hero {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100svh - 78px);
  padding: clamp(26px, 6vw, 74px) clamp(18px, 5vw, 42px) 58px;
}

.hero-copy {
  align-self: center;
  max-width: 560px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.25rem, 8vw, 7.8rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 24px;
  max-width: 7ch;
}

.commerce-hero h1 {
  font-size: clamp(3.1rem, 6.7vw, 6.7rem);
  line-height: 1.08;
  max-width: 9.5ch;
}

.hero-text {
  color: #333333;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 29rem;
}

.button,
.tab,
.buy-button,
.preview-button,
.mockup-tab,
.modal-close {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.tab:hover,
.buy-button:hover,
.preview-button:hover,
.mockup-tab:hover,
.modal-close:hover {
  transform: translateY(-2px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 13px 20px;
}

.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-board {
  align-self: center;
  display: grid;
  min-height: 0;
  position: relative;
}

.workspace-visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(240, 240, 236, 0.88)),
    #f0f0ec;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.workspace-visual img {
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    #f7f7f4;
  background-size: 24px 24px;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}

.workspace-visual figcaption {
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  color: #333333;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 13px 16px;
}

.file-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  left: 18px;
  position: absolute;
  top: 18px;
  z-index: 2;
}

.file-stickers span {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  color: #333333;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 8px 10px;
}

.page-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 42px) 28px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: none;
}

.page-hero p:last-child {
  color: #4b464f;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.catalog {
  margin: 0 auto;
  max-width: 1180px;
  padding: 32px clamp(18px, 5vw, 42px) 72px;
}

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

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

.section-heading h2,
.license-band h2,
.footer h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 0;
}

.section-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 360px;
}

.refresh-recommend {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.refresh-recommend:hover {
  background: #2b2926;
  border-color: #2b2926;
  transform: translateY(-1px);
}

.refresh-recommend span[aria-hidden="true"] {
  font-size: 1.05rem;
  line-height: 1;
}

.category-tabs {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 6px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding: 6px;
  width: fit-content;
}

.tab {
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  white-space: nowrap;
}

.tab.is-active {
  background: var(--ink);
  color: white;
}

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

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
  display: grid;
  gap: 14px;
  padding: 12px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: #b8b8b0;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.product-card > img,
.product-image-link {
  cursor: zoom-in;
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.product-image-link {
  background: #f1f1ed;
  border-radius: 6px;
  display: block;
  overflow: hidden;
  position: relative;
}

.product-image-link img {
  transition: transform 260ms ease;
}

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

.product-info {
  align-items: start;
  justify-content: space-between;
}

.product-type {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.product-card h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.price {
  color: var(--coral);
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.meta {
  color: var(--muted);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

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

.product-badges span {
  background: #f0f0ec;
  border: 1px solid #e1e1dc;
  border-radius: 999px;
  color: #333333;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 9px;
}

.preview-button,
.buy-button {
  background: #eeeeea;
  color: var(--ink);
  width: 100%;
}

.preview-button {
  background: transparent;
  border: 1px solid var(--line);
}

.buy-button:hover {
  background: var(--ink);
  color: white;
}

.preview-button:hover {
  background: #f7f7f4;
  border-color: #9f9f98;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 50;
}

.product-modal.is-open {
  display: block;
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.54);
  inset: 0;
  position: absolute;
}

.modal-dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.68fr);
  left: 50%;
  max-height: calc(100svh - 32px);
  max-width: min(1080px, calc(100vw - 28px));
  overflow: auto;
  padding: clamp(16px, 2.4vw, 24px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.modal-close {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-size: 1.4rem;
  height: 42px;
  justify-content: center;
  min-height: 42px;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  z-index: 2;
}

.modal-media {
  display: grid;
  gap: 12px;
}

.mockup-tabs {
  background: #eeeeea;
  border-radius: 8px;
  display: flex;
  gap: 6px;
  padding: 6px;
  width: fit-content;
}

.mockup-tab {
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  padding: 8px 14px;
}

.mockup-tab.is-active {
  background: var(--ink);
  color: white;
}

.mockup-stage {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(240, 240, 236, 0.92)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.mockup-look {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.reference-mockup {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 18px;
}

.reference-mockup > img {
  border-radius: 8px;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.product-image-link::after,
.reference-mockup::after,
.detail-main-preview::after,
.detail-mockups figure::after,
.modal-pattern-wrap::after,
.image-lightbox-view::after {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.54);
  content: "LAYER PATTERN";
  display: flex;
  font-size: clamp(0.82rem, 1.5vw, 1.15rem);
  font-weight: 900;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.18em;
  mix-blend-mode: screen;
  opacity: 0.82;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
  transform: rotate(-18deg);
  z-index: 3;
}

.product-image-link::before,
.reference-mockup::before,
.detail-main-preview::before,
.detail-mockups figure::before,
.modal-pattern-wrap::before,
.image-lightbox-view::before {
  background-image: repeating-linear-gradient(
    -28deg,
    transparent 0 84px,
    rgba(255, 255, 255, 0.16) 84px 85px,
    transparent 85px 170px
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.fabric-reference > img {
  object-fit: cover;
}

.mockup-pattern-note {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 12px 30px rgba(24, 23, 25, 0.12);
  padding: 8px;
  position: absolute;
  right: 18px;
  width: 112px;
}

.mockup-pattern-note img {
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.mockup-label {
  background: rgba(24, 23, 25, 0.9);
  border-radius: 8px;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  left: 18px;
  padding: 9px 12px;
  position: absolute;
  top: 18px;
}

.wear-look {
  background:
    linear-gradient(90deg, rgba(24, 23, 25, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(24, 23, 25, 0.05) 1px, transparent 1px),
    #f8f4ee;
  background-size: 32px 32px;
}

.person {
  bottom: 34px;
  height: 430px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 300px;
}

.person::before {
  background: rgba(24, 23, 25, 0.13);
  border-radius: 50%;
  bottom: -14px;
  content: "";
  height: 34px;
  left: 20px;
  position: absolute;
  width: 260px;
}

.head {
  background: #d8aa86;
  border-radius: 48% 52% 44% 56%;
  height: 84px;
  left: 109px;
  position: absolute;
  top: 0;
  width: 82px;
  z-index: 4;
}

.hair {
  background: #181719;
  border-radius: 50% 48% 42% 56%;
  height: 84px;
  left: 102px;
  position: absolute;
  top: -8px;
  transform: rotate(-8deg);
  width: 88px;
  z-index: 5;
}

.hair::after {
  background: #181719;
  border-radius: 999px;
  content: "";
  height: 118px;
  left: 42px;
  position: absolute;
  top: 48px;
  transform: rotate(10deg);
  width: 36px;
}

.neck {
  background: #d8aa86;
  height: 56px;
  left: 126px;
  position: absolute;
  top: 72px;
  width: 48px;
  z-index: 2;
}

.arm {
  background: #cf9876;
  border-radius: 999px;
  height: 210px;
  position: absolute;
  top: 156px;
  width: 36px;
  z-index: 1;
}

.arm.left {
  left: 44px;
  transform: rotate(10deg);
}

.arm.right {
  right: 44px;
  transform: rotate(-10deg);
}

.torso {
  background-color: #fff;
  background-image: var(--pattern);
  background-position: center;
  background-repeat: repeat;
  background-size: var(--pattern-size, 142px);
  border: 1px solid rgba(24, 23, 25, 0.18);
  clip-path: polygon(18% 0, 82% 0, 96% 35%, 83% 100%, 17% 100%, 4% 35%);
  height: 282px;
  left: 50px;
  position: absolute;
  top: 116px;
  width: 200px;
  z-index: 3;
}

.torso::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 25%, rgba(255, 255, 255, 0.28) 54%, transparent 76%, rgba(0, 0, 0, 0.16)),
    linear-gradient(rgba(255, 255, 255, 0.3), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.pants {
  background: #181719;
  border-radius: 0 0 42px 42px;
  height: 72px;
  left: 78px;
  position: absolute;
  top: 374px;
  width: 144px;
  z-index: 2;
}

.fabric-look {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, #f9f6f0, #ebe5dc);
}

.fabric-sheet {
  background-color: #fff;
  background-image: var(--pattern);
  background-position: center;
  background-repeat: repeat;
  background-size: var(--fabric-size, 160px);
  border-radius: 8px;
  box-shadow: 0 26px 64px rgba(24, 23, 25, 0.2);
  height: 310px;
  left: 11%;
  position: absolute;
  top: 130px;
  transform: perspective(760px) rotateX(58deg) rotateZ(-8deg);
  transform-origin: center;
  width: 78%;
}

.fabric-sheet::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 12%, rgba(255, 255, 255, 0.28) 22%, transparent 36%, rgba(0, 0, 0, 0.16) 52%, transparent 68%, rgba(255, 255, 255, 0.26) 82%, rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.42) 55px 62px);
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.fabric-roll {
  background-color: #fff;
  background-image: var(--pattern);
  background-position: center;
  background-repeat: repeat;
  background-size: var(--fabric-size, 160px);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(24, 23, 25, 0.18);
  height: 88px;
  left: 18%;
  position: absolute;
  top: 78px;
  transform: rotate(-4deg);
  width: 64%;
}

.fabric-roll::before,
.fabric-roll::after {
  background: #f6f1e9;
  border: 10px solid rgba(24, 23, 25, 0.12);
  border-radius: 50%;
  content: "";
  height: 88px;
  position: absolute;
  top: 0;
  width: 88px;
}

.fabric-roll::before {
  left: -28px;
}

.fabric-roll::after {
  right: -28px;
}

.fabric-swatch {
  background-color: #fff;
  background-image: var(--pattern);
  background-position: center;
  background-repeat: repeat;
  background-size: calc(var(--fabric-size, 160px) * 0.74);
  border: 8px solid #fff;
  border-radius: 8px;
  bottom: 32px;
  box-shadow: 0 16px 36px rgba(24, 23, 25, 0.15);
  height: 130px;
  position: absolute;
  right: 34px;
  transform: rotate(7deg);
  width: 160px;
}

.studio-look {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(120deg, #fffaf6 0%, #f1e6dd 100%);
}

.photo-top-look {
  background: #fffaf6;
}

.top-photo-reference {
  background-image: url("assets/mockup-top-reference.png");
  background-position: 50% 2%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(24, 23, 25, 0.16);
  height: 100%;
  left: 50%;
  max-width: 420px;
  overflow: hidden;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 68%;
}

.top-photo-reference::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 34%, rgba(0, 0, 0, 0.12)),
    radial-gradient(ellipse at 46% 58%, transparent 0 22%, rgba(0, 0, 0, 0.26) 42%, transparent 64%);
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  position: absolute;
}

.top-pattern-overlay {
  background-color: #fffaf4;
  box-shadow:
    inset 0 28px 42px rgba(255, 255, 255, 0.24),
    inset 0 -34px 52px rgba(0, 0, 0, 0.22);
  clip-path: polygon(12% 0, 88% 0, 100% 19%, 93% 82%, 76% 100%, 24% 100%, 6% 82%, 0 19%);
  height: 300px;
  left: 33px;
  opacity: 0.9;
  top: 214px;
  width: 354px;
  z-index: 2;
}

.top-pattern-overlay::before {
  background:
    repeating-linear-gradient(90deg, rgba(24, 23, 25, 0.22) 0 1px, transparent 1px 19px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 22%, rgba(255, 255, 255, 0.34) 43%, transparent 68%, rgba(0, 0, 0, 0.18));
  mix-blend-mode: multiply;
  opacity: 0.48;
}

.top-pattern-overlay::after {
  background:
    radial-gradient(ellipse at 18% 44%, rgba(0, 0, 0, 0.28), transparent 22%),
    radial-gradient(ellipse at 84% 45%, rgba(0, 0, 0, 0.22), transparent 20%),
    linear-gradient(180deg, transparent 0 58%, rgba(0, 0, 0, 0.18) 100%);
  opacity: 0.72;
}

.model {
  bottom: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.model-shadow {
  background: rgba(24, 23, 25, 0.16);
  border-radius: 50%;
  bottom: 12px;
  filter: blur(6px);
  height: 34px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 82%;
}

.garment {
  background-color: #fff;
  background-image: var(--pattern);
  background-position: center;
  background-repeat: repeat;
  background-size: var(--mockup-scale);
  overflow: hidden;
  position: absolute;
}

.garment::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 16%, rgba(255, 255, 255, 0.3) 35%, transparent 56%, rgba(0, 0, 0, 0.19)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 3px, transparent 3px 22px);
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.48;
  position: absolute;
}

.garment::after {
  background:
    radial-gradient(ellipse at 18% 52%, rgba(0, 0, 0, 0.24), transparent 19%),
    radial-gradient(ellipse at 76% 40%, rgba(255, 255, 255, 0.38), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 32%, rgba(0, 0, 0, 0.2));
  content: "";
  inset: 0;
  opacity: 0.62;
  position: absolute;
}

.top-model {
  height: 480px;
  width: 380px;
}

.top-model::before {
  background: linear-gradient(120deg, #d9aa86, #b97b5f);
  border-radius: 18px 18px 6px 6px;
  content: "";
  height: 66px;
  left: 164px;
  position: absolute;
  top: 36px;
  width: 52px;
  z-index: 2;
}

.top-model .model-face,
.top-model .model-hair,
.top-model .model-sunglasses {
  display: none;
}

.model-face {
  background:
    radial-gradient(circle at 38% 47%, rgba(210, 105, 82, 0.2), transparent 14%),
    linear-gradient(145deg, #e6bd9d, #c98968);
  border-radius: 45% 55% 48% 52%;
  height: 112px;
  left: 132px;
  position: absolute;
  top: 12px;
  width: 92px;
  z-index: 4;
}

.model-hair {
  background:
    radial-gradient(circle at 30% 30%, #7f4d31, transparent 34%),
    linear-gradient(140deg, #2a1a17, #8a5737);
  border-radius: 48% 52% 45% 55%;
  height: 154px;
  left: 104px;
  position: absolute;
  top: 0;
  transform: rotate(-8deg);
  width: 136px;
  z-index: 5;
}

.model-hair::after {
  background: linear-gradient(180deg, #7c4b33, #3a211b);
  border-radius: 999px;
  content: "";
  height: 198px;
  left: 92px;
  position: absolute;
  top: 60px;
  transform: rotate(-9deg);
  width: 42px;
}

.model-neck {
  background: linear-gradient(120deg, #d9aa86, #b97b5f);
  height: 62px;
  left: 164px;
  position: absolute;
  top: 40px;
  width: 52px;
  z-index: 2;
}

.model-sunglasses {
  background:
    radial-gradient(ellipse at 30% 50%, #0d1a2a 0 28px, transparent 29px),
    radial-gradient(ellipse at 72% 50%, #0d1a2a 0 28px, transparent 29px),
    linear-gradient(#111, #111);
  background-size: 70px 44px, 70px 44px, 86px 6px;
  background-position: left center, right center, 50% 50%;
  background-repeat: no-repeat;
  height: 45px;
  left: 104px;
  position: absolute;
  top: 52px;
  transform: rotate(2deg);
  width: 148px;
  z-index: 7;
}

.model-arm {
  background: linear-gradient(90deg, #cb8d6b, #e2b796);
  border-radius: 999px;
  height: 238px;
  position: absolute;
  top: 176px;
  width: 38px;
  z-index: 1;
}

.model-arm.left {
  left: 34px;
  transform: rotate(9deg);
}

.model-arm.right {
  right: 36px;
  transform: rotate(-9deg);
}

.photo-blouse {
  border: 1px solid rgba(24, 23, 25, 0.12);
  box-shadow:
    inset 0 28px 42px rgba(255, 255, 255, 0.26),
    inset 0 -26px 42px rgba(0, 0, 0, 0.16),
    0 18px 30px rgba(24, 23, 25, 0.13);
  clip-path: polygon(16% 3%, 84% 3%, 98% 23%, 92% 76%, 80% 98%, 20% 98%, 8% 76%, 2% 23%);
  height: 312px;
  left: 25px;
  top: 92px;
  width: 330px;
  z-index: 3;
}

.photo-blouse::before {
  background:
    radial-gradient(ellipse at 50% 7%, rgba(0, 0, 0, 0.34), transparent 12%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 19px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 21%, rgba(255, 255, 255, 0.32) 46%, transparent 70%, rgba(0, 0, 0, 0.2));
  mix-blend-mode: multiply;
  opacity: 0.42;
}

.photo-blouse::after {
  background:
    linear-gradient(180deg, transparent 0 38%, rgba(255, 255, 255, 0.34) 41%, transparent 45%),
    radial-gradient(ellipse at 14% 38%, rgba(0, 0, 0, 0.18), transparent 22%),
    radial-gradient(ellipse at 86% 39%, rgba(0, 0, 0, 0.18), transparent 22%);
  opacity: 0.78;
}

.photo-waistband {
  background: linear-gradient(90deg, #26313c, #6e8795 48%, #24303a);
  border-radius: 10px 10px 0 0;
  bottom: 16px;
  height: 100px;
  left: 66px;
  position: absolute;
  width: 248px;
  z-index: 2;
}

.photo-waistband::before {
  background: rgba(255, 255, 255, 0.34);
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  width: 2px;
}

.pants-model {
  height: 480px;
  width: 340px;
}

.pants-body {
  display: none;
}

.plain-top {
  background: linear-gradient(140deg, #171618, #313034);
  border-radius: 32px 32px 8px 8px;
  box-shadow: inset 0 18px 34px rgba(255, 255, 255, 0.08);
  height: 158px;
  left: 76px;
  position: absolute;
  top: 42px;
  width: 188px;
  z-index: 2;
}

.pants-arm {
  background: linear-gradient(90deg, #be8163, #e4b692);
  border-radius: 999px;
  height: 214px;
  position: absolute;
  top: 82px;
  width: 32px;
  z-index: 1;
}

.pants-arm.left {
  left: 52px;
  transform: rotate(13deg);
}

.pants-arm.right {
  right: 52px;
  transform: rotate(-13deg);
}

.waist-detail {
  background: rgba(24, 23, 25, 0.84);
  border-radius: 8px;
  height: 30px;
  left: 70px;
  position: absolute;
  top: 184px;
  width: 200px;
  z-index: 5;
}

.pant-leg {
  border: 1px solid rgba(24, 23, 25, 0.1);
  box-shadow: inset 0 -28px 50px rgba(0, 0, 0, 0.18);
  height: 276px;
  top: 208px;
  width: 106px;
  z-index: 4;
}

.pant-leg.left {
  border-radius: 22px 10px 18px 28px;
  clip-path: polygon(6% 0, 100% 0, 88% 100%, 0 100%);
  left: 72px;
}

.pant-leg.right {
  border-radius: 10px 22px 28px 18px;
  clip-path: polygon(0 0, 94% 0, 100% 100%, 12% 100%);
  right: 72px;
}

.pant-leg::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 34%, rgba(255, 255, 255, 0.36) 52%, transparent 72%, rgba(0, 0, 0, 0.2)),
    linear-gradient(90deg, transparent 47%, rgba(24, 23, 25, 0.35) 48% 50%, transparent 51%);
  opacity: 0.58;
}

.shoe {
  background: #171618;
  border-radius: 999px 999px 18px 18px;
  bottom: 0;
  height: 24px;
  position: absolute;
  width: 76px;
  z-index: 6;
}

.shoe.left {
  left: 62px;
}

.shoe.right {
  right: 62px;
}

.dress-model {
  height: 480px;
  width: 340px;
}

.dress-model::before {
  background: linear-gradient(120deg, #d9aa86, #b97b5f);
  border-radius: 18px 18px 6px 6px;
  content: "";
  height: 56px;
  left: 148px;
  position: absolute;
  top: 24px;
  width: 44px;
  z-index: 2;
}

.dress-face {
  display: none;
}

.dress-hair {
  display: none;
}

.dress-arm {
  background: linear-gradient(90deg, #c48768, #e3b694);
  border-radius: 999px;
  height: 246px;
  position: absolute;
  top: 105px;
  width: 32px;
  z-index: 1;
}

.dress-arm.left {
  left: 54px;
  transform: rotate(10deg);
}

.dress-arm.right {
  right: 55px;
  transform: rotate(-10deg);
}

.dress-upper {
  border-radius: 42px 42px 20px 20px;
  clip-path: polygon(24% 0, 76% 0, 88% 100%, 12% 100%);
  height: 142px;
  left: 91px;
  top: 64px;
  width: 158px;
  z-index: 3;
}

.dress-skirt {
  border-radius: 0 0 70px 70px;
  box-shadow: 0 18px 32px rgba(24, 23, 25, 0.14);
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  height: 270px;
  left: 42px;
  top: 188px;
  width: 256px;
  z-index: 3;
}

.dress-leg {
  background: linear-gradient(90deg, #bd7e62, #e2b493);
  border-radius: 999px;
  bottom: 0;
  height: 86px;
  position: absolute;
  width: 28px;
  z-index: 1;
}

.dress-leg.left {
  left: 132px;
}

.dress-leg.right {
  right: 132px;
}

.fabric-photo-look {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(135deg, #fffaf2, #e7ddd1);
}

.drape {
  background-color: #fff;
  background-image: var(--pattern);
  background-position: center;
  background-repeat: repeat;
  background-size: var(--mockup-scale);
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(24, 23, 25, 0.18);
  overflow: hidden;
  position: absolute;
}

.drape::before {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.26), transparent 12%, rgba(255, 255, 255, 0.48) 24%, transparent 36%, rgba(0, 0, 0, 0.28) 50%, transparent 62%, rgba(255, 255, 255, 0.42) 74%, rgba(0, 0, 0, 0.18)),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(255, 255, 255, 0.36) 49px 60px);
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.62;
  position: absolute;
}

.drape::after {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 255, 255, 0.72), transparent 23%),
    radial-gradient(ellipse at 68% 84%, rgba(0, 0, 0, 0.34), transparent 28%);
  content: "";
  inset: 0;
  opacity: 0.68;
  position: absolute;
}

.drape.back {
  height: 210px;
  left: 7%;
  top: 48px;
  transform: perspective(800px) rotateX(54deg) rotateZ(-5deg);
  width: 86%;
}

.drape.middle {
  height: 300px;
  left: -6%;
  top: 150px;
  transform: perspective(820px) rotateX(58deg) rotateZ(4deg);
  width: 110%;
}

.drape.front {
  clip-path: polygon(0 14%, 100% 0, 94% 100%, 6% 88%);
  height: 230px;
  left: 8%;
  top: 286px;
  transform: perspective(760px) rotateX(46deg) rotateZ(-7deg);
  width: 86%;
}

.fabric-grain {
  background:
    repeating-linear-gradient(90deg, rgba(24, 23, 25, 0.04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(24, 23, 25, 0.035) 0 1px, transparent 1px 5px);
  inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  position: absolute;
}

.modal-copy {
  align-content: center;
  display: grid;
  gap: 16px;
  padding: 48px 8px 8px 0;
}

.modal-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
  margin-bottom: 0;
}

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

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

.modal-specs span {
  background: #f0f0ec;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 10px;
}

.modal-pattern {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.modal-pattern-wrap {
  border-radius: 8px;
  display: block;
  overflow: hidden;
  position: relative;
  width: min(260px, 100%);
}

.modal-buy {
  width: fit-content;
}

.license-band {
  background: var(--ink);
  color: white;
  justify-content: space-between;
  margin: 0;
  min-height: 220px;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 8vw, 86px);
}

.license-band .eyebrow {
  color: #d6d6cf;
}

.license-band ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.license-band li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 800;
  padding: 12px 14px;
}

.footer {
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 44px clamp(18px, 5vw, 42px) 54px;
}

.footer a {
  color: var(--muted);
  font-weight: 900;
}

.footer a:hover {
  color: var(--ink);
}

.footer-qr-group {
  display: flex;
  gap: 12px;
}

.footer-qr-group figure {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin: 0;
}

.footer-qr-group figcaption {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.footer-qr {
  aspect-ratio: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  padding: 8px;
  width: 96px;
}

.image-lightbox {
  align-items: center;
  background: rgba(18, 18, 16, 0.88);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  position: fixed;
  z-index: 80;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-view {
  border-radius: 8px;
  max-height: 92vh;
  max-width: min(1100px, 94vw);
  overflow: hidden;
  position: relative;
}

.image-lightbox-view img {
  display: block;
  max-height: 92vh;
  max-width: 94vw;
  object-fit: contain;
}

.image-lightbox-close {
  background: #ffffff;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  min-height: 42px;
  padding: 9px 14px;
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 81;
}

.toast {
  background: var(--ink);
  border-radius: 8px;
  bottom: 22px;
  color: white;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 13px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 20;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cart-fab {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  bottom: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  color: white;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  position: fixed;
  right: 22px;
  z-index: 30;
}

.cart-fab span {
  align-items: center;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 7px;
}

.cart-drawer,
.checkout-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 70;
}

.cart-drawer.is-open,
.checkout-modal.is-open {
  display: block;
}

.cart-drawer::before,
.checkout-backdrop {
  background: rgba(0, 0, 0, 0.42);
  content: "";
  inset: 0;
  position: absolute;
}

.cart-panel,
.checkout-dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  position: absolute;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100svh - 28px);
  max-width: calc(100vw - 24px);
  right: 14px;
  top: 14px;
  width: 420px;
}

.cart-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.cart-head h2 {
  font-size: 1.25rem;
  margin: 0;
}

.cart-icon-button {
  background: #eeeeea;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 12px;
}

.cart-lines {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 16px;
}

.cart-empty {
  color: var(--muted);
  margin: 0;
}

.cart-line {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 76px 1fr;
  padding-bottom: 12px;
}

.cart-line img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  width: 76px;
}

.cart-line strong,
.cart-line small {
  display: block;
}

.cart-line small {
  color: var(--muted);
  margin-top: 4px;
}

.quantity-control {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
}

.quantity-control button {
  background: #eeeeea;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  height: 32px;
  width: 32px;
}

.cart-foot {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.cart-total,
.cart-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-total strong {
  color: var(--coral);
  font-size: 1.2rem;
}

.cart-actions {
  gap: 10px;
}

.cart-clear,
.cart-checkout {
  border: 0;
  flex: 1;
  font: inherit;
  font-weight: 900;
  min-height: 44px;
}

.checkout-dialog {
  display: grid;
  gap: 16px;
  left: 50%;
  max-width: min(620px, calc(100vw - 28px));
  padding: 0 18px 18px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

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

.checkout-grid label,
.payment-options {
  display: grid;
  gap: 7px;
}

.checkout-grid span,
.payment-options legend {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.checkout-grid input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.payment-options {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 12px;
}

.payment-options label {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 8px;
}

.payment-note {
  background: #f0f0ec;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #333333;
  line-height: 1.6;
  padding: 12px;
}

.checkout-submit {
  justify-self: end;
  min-width: 160px;
}

.shop-filters {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 14px;
}

.shop-filters label {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 7px;
}

.shop-filters select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 18px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 13px) 52% / 6px 6px no-repeat,
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 34px 10px 12px;
}

.product-detail,
.info-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(26px, 5vw, 56px) clamp(18px, 5vw, 42px) 72px;
}

.detail-back {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  margin-bottom: 18px;
  min-height: 42px;
  padding: 9px 14px;
  transition: border-color 0.18s ease, transform 0.18s ease;
  width: fit-content;
}

.detail-back:hover {
  border-color: #9f9f98;
  transform: translateX(-2px);
}

.detail-hero {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
}

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

.detail-main-image,
.detail-mockups figure,
.policy-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
}

.detail-main-preview {
  cursor: zoom-in;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.detail-main-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

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

.detail-mockups figure {
  cursor: zoom-in;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.detail-mockups img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.detail-mockups figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 9px 10px;
}

.detail-copy {
  align-self: start;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  position: sticky;
  top: 96px;
}

.detail-copy h1,
.info-page h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
  max-width: 10ch;
}

.detail-price {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
}

.detail-specs,
.policy-grid,
.contact-grid {
  display: grid;
  gap: 12px;
}

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

.detail-specs div,
.license-note {
  background: #f0f0ec;
  border: 1px solid #e1e1dc;
  border-radius: 8px;
  padding: 12px;
}

.detail-specs span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.detail-specs strong,
.license-note strong {
  display: block;
  line-height: 1.45;
}

.license-note {
  color: #333333;
  line-height: 1.7;
}

.detail-buy {
  min-height: 52px;
}

.detail-buy.is-added,
.detail-buy:disabled {
  background: #2f5d45;
  color: #ffffff;
  cursor: default;
  transform: none;
}

.info-page {
  display: grid;
  gap: 28px;
}

.info-page > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 760px;
}

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

.policy-card,
.contact-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.policy-card h2,
.contact-card h2 {
  font-size: 1.15rem;
  margin: 0;
}

.policy-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.contact-card a {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-card .email-link {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  justify-content: center;
  margin-top: 6px;
  min-height: 48px;
  padding: 12px 16px;
  width: fit-content;
}

.contact-card .email-link:hover {
  background: #2b2926;
  transform: translateY(-1px);
}

.contact-grid-compact {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  max-width: 1080px;
}

.qr-image {
  aspect-ratio: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 260px;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

.qr-placeholder {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    #f0f0ec;
  background-size: 16px 16px;
  border: 1px dashed #9f9f98;
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  font-weight: 900;
  justify-items: center;
  padding: 18px;
  text-align: center;
}

.process-strip {
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 860px;
  overflow: hidden;
}

.process-strip span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 68px;
  padding: 14px;
  text-align: center;
}

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

  .shop-filters,
  .detail-hero,
  .policy-grid,
  .contact-grid,
  .contact-grid-compact,
  .process-strip {
    grid-template-columns: 1fr 1fr;
  }

  .detail-copy {
    position: static;
  }

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

  h1 {
    max-width: 10ch;
  }

  .hero-board {
    width: 100%;
  }

  .workspace-visual img {
    min-height: 360px;
  }

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

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-copy {
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-heading,
  .license-band,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 15px;
    position: relative;
  }

  .site-nav {
    justify-content: space-between;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5.1rem);
  }

  .commerce-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
    line-height: 1.12;
    max-width: 8.5ch;
  }

  .hero-board {
    width: 100%;
  }

  .workspace-visual img {
    min-height: 260px;
  }

  .workspace-visual figcaption {
    font-size: 0.76rem;
    padding: 11px 12px;
  }

  .file-stickers {
    gap: 6px;
    left: 12px;
    top: 12px;
  }

  .file-stickers span {
    font-size: 0.68rem;
    padding: 6px 8px;
  }

  .category-tabs {
    width: 100%;
  }

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

  .shop-filters,
  .detail-hero,
  .detail-specs,
  .policy-grid,
  .contact-grid,
  .contact-grid-compact,
  .process-strip {
    grid-template-columns: 1fr;
  }

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

  .modal-dialog {
    max-height: calc(100svh - 18px);
    max-width: calc(100vw - 18px);
    padding: 12px;
  }

  .modal-close {
    right: 12px;
    top: 12px;
  }

  .modal-media {
    padding-top: 48px;
  }

  .mockup-tabs {
    width: 100%;
  }

  .mockup-tab {
    flex: 1;
    font-size: 0.9rem;
    padding: 8px 6px;
  }

  .mockup-stage,
  .mockup-look {
    min-height: 430px;
  }

  .person,
  .top-model,
  .pants-model,
  .dress-model {
    bottom: 10px;
    transform: translateX(-50%) scale(0.82);
    transform-origin: bottom center;
  }

  .top-photo-reference {
    height: 430px;
    max-width: 330px;
    width: 100%;
  }

  .top-pattern-overlay {
    height: 242px;
    left: 26px;
    top: 174px;
    width: 278px;
  }

  .drape.back {
    top: 58px;
  }

  .drape.middle {
    top: 146px;
  }

  .drape.front {
    top: 266px;
  }

  .fabric-roll {
    top: 64px;
  }

  .fabric-sheet {
    height: 250px;
    top: 112px;
  }

  .fabric-swatch {
    bottom: 20px;
    height: 98px;
    right: 18px;
    width: 124px;
  }

  .license-band,
  .footer {
    gap: 22px;
  }

  .cart-fab {
    bottom: 14px;
    right: 14px;
  }

  .cart-panel {
    height: 100svh;
    max-width: none;
    right: 0;
    top: 0;
    width: 100vw;
  }

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