
@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-thin-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-extra-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-extra-light-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-light-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-medium-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-semi-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-semi-bold-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-bold-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-extra-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-extra-bold-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("./archivo-expanded-black-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

:root {
  --brand: #47004f;
  --brand-deep: #25002a;
  --brand-dark: #330039;
  --brand-mid: #7b3a83;
  --brand-soft: #d9bddc;
  --brand-mist: #eee1f0;
  --brand-pale: #fbf5fc;
  --ink: #300037;
  --paper: #f7eff8;
  --surface: #fffaff;
  --acid: #c89bce;
  --page-edge: clamp(14px, 1.65vw, 28px);
  --line: rgba(71, 0, 79, 0.18);
  --font-site: "Archivo Expanded", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-site);
}

::selection {
  background: var(--brand);
  color: var(--brand-pale);
}

main {
  width: 100%;
  min-width: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

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

.promo-strip {
  position: relative;
  z-index: 110;
  height: 28px;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--brand-pale);
}

.promo-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: promo-pass 24s linear infinite;
  will-change: transform;
}

.promo-sequence {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
}

.promo-sequence span {
  font-family: var(--font-site);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.promo-sequence span::after {
  margin: 0 16px;
  content: "·";
}

.promo-sequence a {
  transition: font-weight 180ms ease;
}

.promo-sequence a:hover,
.promo-sequence a:focus-visible {
  font-weight: 800;
  outline: none;
}

.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  min-height: 58px;
  align-items: center;
  background: var(--brand-deep);
}

.header-inner {
  display: flex;
  width: 100%;
  align-items: center;
  gap: clamp(28px, 4vw, 74px);
  padding: 0 clamp(18px, 2.4vw, 42px);
}

.header-brand {
  flex: 0 0 auto;
  width: clamp(82px, 7vw, 112px);
}

.header-brand img {
  width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.site-header .desktop-nav {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.8vw, 34px);
}

.site-header a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.site-header .desktop-nav a {
  flex: 0 0 auto;
  color: var(--brand-soft);
  font-size: clamp(11px, 0.88vw, 14px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  transform-origin: center;
  transition: color 160ms ease, transform 160ms ease;
}

.site-header .header-brand {
  min-height: 0;
  color: var(--brand-pale);
}

.site-header .desktop-nav a:hover,
.site-header .desktop-nav a:focus-visible {
  outline: none;
  color: var(--brand-pale);
  font-weight: 800;
  transform: scale(1.025);
}

.site-header .desktop-nav a[aria-current="page"] {
  color: var(--brand-pale);
  font-weight: 800;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  min-height: 58px;
  align-items: center;
  gap: 11px;
  color: var(--brand-pale);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  list-style: none;
  text-transform: uppercase;
}

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

.mobile-menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 12px;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
  transition: top 160ms ease, transform 160ms ease;
}

.mobile-menu-icon::before {
  top: 1px;
}

.mobile-menu-icon::after {
  top: 9px;
}

.mobile-menu[open] .mobile-menu-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.mobile-menu[open] .mobile-menu-icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-menu-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  padding: 8px 14px 18px;
  border-top: 1px solid rgba(251, 245, 252, 0.18);
  background: var(--brand-deep);
  box-shadow: 0 18px 34px rgba(37, 0, 42, 0.28);
}

.site-header .mobile-menu-panel a {
  min-height: 48px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(251, 245, 252, 0.16);
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 500;
}

.site-header .mobile-menu-panel a::after {
  content: "→";
  font-size: 12px;
}

.site-header .mobile-menu-panel a:hover,
.site-header .mobile-menu-panel a:focus-visible,
.site-header .mobile-menu-panel a[aria-current="page"] {
  color: var(--brand-pale);
  font-weight: 800;
  outline: none;
}

/* Categorías sin prendas: se ven en el menú pero no se pueden clickear. */
.site-header .desktop-nav a.nav-inactive,
.site-header .mobile-menu-panel a.nav-inactive {
  color: var(--brand-soft);
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.site-header .mobile-menu-panel a.nav-inactive::after {
  content: none;
}

.floating-hero {
  position: relative;
  min-height: max(590px, calc(100svh - 92px));
  overflow: hidden;
  background: var(--brand-deep);
  isolation: isolate;
}

.floating-hero::before,
.floating-hero::after {
  display: none;
}

.hero-slideshow {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--brand-deep);
}

.hero-slideshow::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(71, 0, 79, 0.28), rgba(71, 0, 79, 0.08) 50%, rgba(37, 0, 42, 0.5));
  content: "";
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 10%;
  opacity: 0;
  animation: hero-slide-cycle 90s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
  z-index: 1;
  animation-delay: 0s;
  object-position: center 0%;
}

.hero-slide:nth-child(2) {
  animation-delay: -72s;
}

.hero-slide:nth-child(3) {
  animation-delay: -54s;
}

.hero-slide:nth-child(4) {
  animation-delay: -36s;
}

.hero-slide:nth-child(5) {
  animation-delay: -18s;
}

.hero-slide:nth-child(2),
.hero-slide:nth-child(4) {
  object-position: center 10%;
}

.hero-index {
  position: absolute;
  z-index: 40;
  margin: 0;
  font-family: var(--font-site);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.category-page {
  min-height: 70svh;
  padding: clamp(50px, 6vw, 92px) clamp(18px, 2.4vw, 42px) clamp(72px, 8vw, 126px);
  background: var(--brand-mist);
}

.category-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px 30px;
  margin-bottom: clamp(32px, 4vw, 58px);
}

.category-heading p,
.category-heading span {
  margin: 0;
  color: rgba(71, 0, 79, 0.55);
  font-family: var(--font-site);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.category-heading h1 {
  grid-column: 1 / -1;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(58px, 10vw, 158px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.category-heading .category-description {
  grid-column: 1 / -1;
  max-width: 520px;
  margin-top: 10px;
  color: rgba(71, 0, 79, 0.74);
  font-family: var(--font-site);
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.category-heading a {
  transition: color 180ms ease, font-weight 180ms ease;
}

.category-heading a:hover,
.category-heading a:focus-visible {
  color: var(--ink);
  font-weight: 800;
  outline: none;
}

.category-page .product-info h2 {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.category-page .product-info h2 a {
  transition: font-weight 180ms ease;
}

.category-page .product-info h2 a:hover,
.category-page .product-info h2 a:focus-visible {
  font-weight: 800;
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 24px);
}

.product-card {
  min-width: 0;
}

.product-image {
  position: relative;
  display: flex;
  aspect-ratio: 0.78;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
}

.product-image img {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 16px 12px rgba(71, 0, 79, 0.12));
  transition: opacity 240ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card--stussy-tee .product-image img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.14);
}

.product-card--stussy-tee .product-image:hover img,
.product-card--stussy-tee .product-image:focus-visible img {
  transform: scale(1.2) rotate(-1.2deg);
}

.product-image:hover img,
.product-image:focus-visible img {
  transform: scale(1.055) rotate(-1.2deg);
}

.product-hover {
  opacity: 0;
}

.has-product-hover:hover .product-primary,
.has-product-hover:focus-visible .product-primary {
  opacity: 0;
}

.has-product-hover:hover .product-hover,
.has-product-hover:focus-visible .product-hover {
  opacity: 1;
}

.product-image:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.product-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
}

.product-brand,
.product-price,
.product-size,
.product-info h3 {
  margin: 0;
}

.product-brand,
.product-size {
  color: rgba(71, 0, 79, 0.55);
  font-family: var(--font-site);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-info h3,
.product-price {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.product-price {
  flex: 0 0 auto;
}

.product-size {
  margin-top: 7px;
}

/* Prendas agotadas: se ven en la vidriera, pero no se pueden abrir. */
.product-image.is-sold-out {
  cursor: default;
}

.product-badge,
.garment-badge {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 5px 11px;
  background: var(--brand-deep);
  color: var(--brand-pale);
  font-family: var(--font-site);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-badge {
  top: 10px;
  left: 10px;
}

.garment-badge {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.moving-garment.is-sold-out {
  cursor: default;
}

.garment-cloud {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.moving-garment {
  position: absolute;
  z-index: 4;
  display: block;
  top: 0;
  left: 0;
  width: calc(clamp(175px, 13.5vw, 230px) * var(--cloud-scale, 1));
  transform-origin: center;
  animation: garment-random-wander var(--duration, 24s) ease-in-out var(--delay, 0s) infinite alternate;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  -webkit-touch-callout: none;
  user-select: none;
  will-change: top, left, transform;
}

.garment-cloud:not(.is-ready) .moving-garment {
  opacity: 0;
}

.moving-garment.is-placed {
  animation: none;
  transform: none;
}

.moving-garment.is-dragging {
  z-index: 50;
  cursor: grabbing;
}

.moving-garment img {
  width: 100%;
  max-height: min(520px, 48svh);
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(37, 0, 42, 0.2));
  pointer-events: none;
  transition: transform 430ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms ease;
  user-select: none;
}

.moving-garment:hover {
  z-index: 30;
  animation-play-state: paused;
}

.moving-garment:focus-visible {
  z-index: 30;
  animation-play-state: paused;
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

.moving-garment:hover img,
.moving-garment:focus-visible img {
  filter: drop-shadow(0 28px 20px rgba(37, 0, 42, 0.28));
  transform: rotate(var(--hover-r)) scale(1.075);
}

.moving-garment.is-dragging img {
  filter: drop-shadow(0 32px 24px rgba(37, 0, 42, 0.34));
  transform: scale(1.08);
}

.floating-product-name {
  display: block;
  padding: 18px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-family: var(--font-site);
  font-size: 12px;
  text-align: center;
}

.hero-index {
  bottom: 20px;
  left: var(--page-edge);
  display: flex;
  color: var(--brand-pale);
  text-shadow: 0 2px 10px rgba(37, 0, 42, 0.65);
}

.site-footer {
  padding: 32px var(--page-edge) 18px;
  background: var(--brand-deep);
  color: var(--brand-pale);
}

.footer-main {
  display: flex;
  min-height: 112px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: block;
  width: min(50vw, 650px);
}

.footer-brand img {
  width: 100%;
}

.footer-social {
  flex: 0 0 auto;
}

.footer-social p {
  margin: 0 0 12px;
  color: rgba(251, 245, 252, 0.48);
  font-family: var(--font-site);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  transition: color 180ms ease, font-weight 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--brand-soft);
  font-weight: 800;
  outline: none;
  transform: translateY(-1px);
}

.social-links img {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 245, 252, 0.22);
  color: rgba(251, 245, 252, 0.52);
  font-family: var(--font-site);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.product-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(24px, 3vw, 48px);
  background: var(--brand-mist);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 20px);
}

.product-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.product-photo img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 14px rgba(71, 0, 79, 0.12));
}

.product-photo-detail-top img {
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.product-photo-detail-back img {
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.product-summary {
  position: sticky;
  top: 30px;
  align-self: start;
  padding-top: clamp(8px, 1.5vw, 24px);
}

.product-back-link,
.product-detail-brand,
.product-specs dt,
.buy-note {
  font-family: var(--font-site);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-back-link {
  display: inline-block;
  margin-bottom: clamp(54px, 9vw, 130px);
  color: rgba(71, 0, 79, 0.6);
  font-size: 10px;
  transition: color 180ms ease, font-weight 180ms ease;
}

.product-back-link:hover,
.product-back-link:focus-visible {
  color: var(--ink);
  font-weight: 800;
  outline: none;
}

.product-detail-brand {
  margin: 0 0 10px;
  color: rgba(71, 0, 79, 0.57);
  font-size: 11px;
}

.product-summary h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.product-detail-price {
  margin: 24px 0 38px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 720;
}

.product-specs {
  margin: 0 0 30px;
  border-top: 1px solid rgba(71, 0, 79, 0.22);
}

.product-specs > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(71, 0, 79, 0.22);
}

.product-specs dt {
  color: rgba(71, 0, 79, 0.55);
  font-size: 9px;
}

.product-specs dd {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.buy-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: var(--brand);
  color: var(--brand-pale);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.buy-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.buy-error {
  margin: 10px 0 0;
  color: var(--brand);
  font-size: 11px;
  line-height: 1.4;
}

.buy-button:hover,
.buy-button:focus-visible {
  background: var(--acid);
  color: var(--brand-deep);
  outline: none;
  transform: translateY(-2px);
}

.buy-note {
  margin: 10px 0 0;
  color: rgba(71, 0, 79, 0.52);
  font-size: 8px;
}

@keyframes promo-pass {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes hero-slide-cycle {
  0%,
  18% {
    opacity: 1;
    transform: scale(1);
  }
  20%,
  98.2% {
    opacity: 0;
    transform: scale(1.025);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes garment-random-wander {
  0% { transform: translate3d(0, 0, 0) rotate(var(--rotate-start, 0deg)); }
  25% { transform: translate3d(var(--drift-x1, 0px), var(--drift-y1, 0px), 0) rotate(var(--rotate-one, 0deg)); }
  50% { transform: translate3d(var(--drift-x2, 0px), var(--drift-y2, 0px), 0) rotate(var(--rotate-two, 0deg)); }
  75% { transform: translate3d(var(--drift-x3, 0px), var(--drift-y3, 0px), 0) rotate(var(--rotate-three, 0deg)); }
  100% { transform: translate3d(var(--drift-x4, 0px), var(--drift-y4, 0px), 0) rotate(var(--rotate-end, 0deg)); }
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-page {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.72fr);
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 14px;
    padding: 0 14px;
  }

  .site-header .desktop-nav {
    gap: 4px;
  }

  .site-header .desktop-nav a {
    font-size: clamp(9px, 1.25vw, 11px);
  }

  .site-header .header-brand {
    min-width: 108px;
    width: 108px;
    padding: 0;
  }

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

  .product-detail-page {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-summary {
    position: static;
    padding: 18px 0 30px;
  }

  .product-back-link {
    margin-bottom: 46px;
  }
}

@media (max-width: 720px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    width: 100%;
    min-width: 100%;
    justify-content: space-between;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    display: flex;
  }
}

@media (max-width: 620px) {
  .promo-strip {
    height: 26px;
  }

  .promo-sequence span {
    font-size: 8px;
  }

  .promo-sequence span::after {
    margin: 0 11px;
  }

  .site-header {
    min-height: 52px;
  }

  .header-inner {
    gap: 14px;
    padding: 0 14px;
  }

  .site-header .header-brand {
    min-width: 102px;
    width: 102px;
  }

  .mobile-menu summary {
    min-height: 52px;
  }

  .floating-hero {
    min-height: max(540px, calc(100svh - 78px));
    background-size: 25vw 100%, 100% 20%;
  }

  .hero-index {
    bottom: 14px;
    left: 14px;
  }

  .moving-garment {
    width: calc(31vw * var(--cloud-scale, 1));
  }

  .category-page {
    padding: 42px 14px 72px;
  }

  .category-heading {
    gap: 10px 18px;
    margin-bottom: 34px;
  }

  .category-heading h1 {
    font-size: clamp(32px, 10.5vw, 56px);
    letter-spacing: -0.06em;
    line-height: 0.9;
  }

  .category-heading .category-description {
    max-width: 100%;
    margin-top: 6px;
    font-size: 12px;
  }

  .product-grid {
    gap: 26px 9px;
  }

  .product-info {
    display: block;
    padding-top: 9px;
  }

  .product-price {
    margin-top: 7px;
  }

  .footer-main {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-brand {
    width: 100%;
  }

  .site-footer {
    padding: 28px 14px 18px;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .footer-bottom {
    gap: 18px;
  }

  .footer-bottom span:last-child {
    text-align: right;
  }

  .product-detail-page {
    gap: 18px;
    padding: 14px;
  }

  .product-gallery {
    gap: 8px;
  }

  .product-summary h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

}

@media (max-width: 440px) {
  .promo-sequence span {
    font-size: 7px;
  }

  .site-header .header-brand {
    min-width: 94px;
    width: 94px;
  }

  .mobile-menu summary {
    gap: 9px;
    font-size: 10px;
  }

  .moving-garment {
    width: calc(32vw * var(--cloud-scale, 1));
  }

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

  .product-image {
    aspect-ratio: 0.82;
  }

  .product-info {
    display: block;
    padding-top: 8px;
  }

  .category-page .product-info h2,
  .product-price {
    font-size: 12px;
    line-height: 1.15;
  }

  .product-brand,
  .product-size {
    font-size: 8px;
  }

  .product-price {
    margin-top: 7px;
  }

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

  .product-photo {
    aspect-ratio: auto;
  }

  .product-photo img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .product-summary {
    padding-top: 8px;
  }

  .product-back-link {
    margin-bottom: 34px;
  }

  .product-specs > div {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }
}

@media (hover: none) {
  .moving-garment:active img {
    filter: drop-shadow(0 22px 18px rgba(37, 0, 42, 0.26));
    transform: rotate(var(--hover-r)) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .promo-track,
  .moving-garment {
    animation-play-state: paused;
  }

  .hero-slide {
    animation: none;
    opacity: 0;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}
