:root {
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-ui: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #15120f;
  --ink-soft: #28231e;
  --muted: #736d66;
  --paper: #f7f1ea;
  --surface: #fffdf9;
  --surface-warm: #eee2d6;
  --line: #ddd0c2;
  --rose: #c88378;
  --rose-dark: #8c4a42;
  --teal: #1f6570;
  --olive: #63704a;
  --gold: #b88b42;
  --charcoal: #201d1a;
  --shadow-soft: 0 14px 36px rgba(21, 18, 15, 0.11);
  --shadow-strong: 0 28px 70px rgba(21, 18, 15, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.84), rgba(247, 241, 234, 1) 38%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.drawer-open,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.announcement-bar {
  overflow: hidden;
  padding: 8px 0;
  background: var(--ink);
  color: #f8eadf;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.announcement-group {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(28px, 6vw, 64px);
  padding-right: clamp(28px, 6vw, 64px);
}

.announcement-group span {
  position: relative;
}

.announcement-group span::after {
  position: absolute;
  top: 50%;
  right: calc(clamp(28px, 6vw, 64px) / -2 - 3px);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--rose);
  content: "";
  transform: translateY(-50%);
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

@keyframes announcement-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid rgba(221, 208, 194, 0.76);
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-family: var(--font-ui);
  font-weight: 950;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  border: 1px solid rgba(21, 18, 15, 0.13);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(21, 18, 15, 0.1);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: #4b4540;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 750;
}

.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.nav-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.top-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.top-nav a:hover::after {
  transform: scaleX(1);
}

.shortlist-trigger,
.button,
.text-button,
.icon-button,
.segmented-control button,
.quick-view-button {
  border: 0;
  border-radius: 8px;
}

.shortlist-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px 9px 15px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(21, 18, 15, 0.15);
}

.shortlist-trigger strong {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
}

.hero {
  min-height: min(780px, calc(100vh - 54px));
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(54px, 7vw, 92px);
  background:
    linear-gradient(120deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.68) 42%, rgba(255, 253, 249, 0.08) 100%),
    var(--hero-image, url("assets/outfits/hero-casual.jpg")) center / cover no-repeat;
}

.hero-copy {
  width: min(650px, 100%);
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 6.35rem;
  font-weight: 600;
  line-height: 0.9;
}

.hero-copy p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 28px;
  color: #39332d;
  font-size: 1.14rem;
}

.hero-media {
  position: relative;
  min-height: clamp(420px, 51vw, 610px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 18, 15, 0.02), rgba(21, 18, 15, 0.34)),
    var(--hero-image, url("assets/outfits/hero-casual.jpg")) center / cover no-repeat;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 22px;
  left: 22px;
  width: clamp(86px, 11vw, 130px);
  height: clamp(86px, 11vw, 130px);
  display: block;
  border: 1px solid rgba(21, 18, 15, 0.14);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(21, 18, 15, 0.16);
}

.hero-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(270px, calc(100% - 44px));
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(21, 18, 15, 0.78);
  color: #fff;
  backdrop-filter: blur(18px);
}

.hero-badge span,
.hero-badge strong {
  display: block;
}

.hero-badge span {
  color: #e6d3c6;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-badge strong {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--rose-dark);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 3.65rem;
  font-weight: 600;
  line-height: 0.98;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 1.05rem;
}

.hero-actions,
.drawer-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-ui);
  font-weight: 900;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover,
.shortlist-trigger:hover {
  background: #2b2520;
}

.button-secondary {
  border: 1px solid rgba(21, 18, 15, 0.2);
  background: rgba(255, 253, 249, 0.86);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
}

.button:disabled,
.shortlist-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.inventory-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--charcoal);
  color: #fff;
}

.inventory-strip div {
  padding: clamp(20px, 3vw, 32px) clamp(18px, 5vw, 72px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.inventory-strip div:last-child {
  border-right: 0;
}

.inventory-strip strong {
  display: block;
  color: #e8c4bc;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.inventory-strip span {
  color: #d8ccc1;
}

.new-edit,
.catalog-section,
.order-flow,
.contact-section,
.editorial-band {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

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

.section-heading > p,
.result-row p {
  max-width: 430px;
  color: var(--muted);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}

.collection-tile {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
  box-shadow: var(--shadow-soft);
}

.collection-tile-large {
  min-height: 520px;
}

.collection-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.collection-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 18, 15, 0.04), rgba(21, 18, 15, 0.64));
  content: "";
}

.collection-tile:hover img {
  transform: scale(1.035);
}

.collection-tile span,
.collection-tile strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: 20px;
  color: #fff;
}

.collection-tile span {
  margin-bottom: 3px;
  color: #f0d7d0;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.collection-tile strong {
  width: calc(100% - 40px);
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1;
}

.catalog-section {
  background: #f2e9df;
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(230px, 300px) 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.catalog-panel {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.82);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.07);
}

.search-field,
.select-field {
  display: grid;
  gap: 6px;
}

.search-field span,
.select-field span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(31, 101, 112, 0.14);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-height: 46px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e6d9cd;
}

.segmented-control button {
  min-width: 0;
  padding: 9px 8px;
  background: transparent;
  color: #5d574f;
  font-family: var(--font-ui);
  font-weight: 900;
}

.segmented-control button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(21, 18, 15, 0.1);
}

.catalog-results {
  min-width: 0;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.result-row p {
  margin: 0;
}

.micro-note {
  text-align: right;
  font-size: 0.9rem;
}

.text-button {
  min-height: 42px;
  background: transparent;
  color: var(--teal);
  font-family: var(--font-ui);
  font-weight: 950;
  text-align: left;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9dfd5;
}

.product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 320ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.product-card:hover .product-overlay,
.product-card:focus-within .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-button {
  min-height: 42px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(21, 18, 15, 0.16);
}

.status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 950;
}

.status-badge.low {
  background: #fff1c9;
  color: #775000;
}

.status-badge.sold-out {
  background: #e8e5e1;
  color: #777;
}

.product-info {
  display: grid;
  gap: 12px;
  padding: 15px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-title-row {
  display: grid;
  gap: 7px;
}

.product-title-row h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.06rem;
  line-height: 1.2;
}

.price {
  min-width: max-content;
  color: var(--teal);
  font-family: var(--font-ui);
  font-weight: 950;
}

.tag-list,
.size-list,
.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span,
.size-list span,
.color-list span {
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 8px;
  padding: 5px 8px;
  background: #fbf7f2;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 850;
}

.color-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.color-dot::before {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(21, 18, 15, 0.15);
  border-radius: 999px;
  background: var(--swatch, #ddd);
  content: "";
}

.size-select {
  display: grid;
  gap: 5px;
}

.size-select label {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.size-select select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 8px 10px;
}

.product-actions .button {
  flex: 1 1 140px;
}

.empty-state {
  margin: 34px 0 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 253, 249, 0.7);
  color: var(--muted);
  text-align: center;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  background: var(--charcoal);
  color: #fff;
}

.editorial-image {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.editorial-copy .eyebrow,
.contact-section .eyebrow {
  color: #e7b5ac;
}

.editorial-copy p {
  max-width: 520px;
  color: #e0d6cd;
}

.editorial-copy .button-secondary {
  background: #fff;
}

.order-flow {
  background: var(--surface);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.flow-grid article {
  min-height: 205px;
  padding: clamp(20px, 3vw, 34px);
  background: #fbf7f2;
}

.flow-grid span {
  color: var(--rose-dark);
  font-family: var(--font-ui);
  font-weight: 950;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(90deg, rgba(21, 18, 15, 0.94), rgba(21, 18, 15, 0.76)),
    var(--hero-image, url("assets/outfits/hero-casual.jpg")) center / cover no-repeat;
  color: #fff;
}

.contact-section .button-primary {
  background: #fff;
  color: var(--ink);
}

.shortlist-drawer,
.quick-view {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: end;
  background: rgba(21, 18, 15, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.shortlist-drawer.is-open,
.quick-view.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: min(480px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow-strong);
  transform: translateX(24px);
  transition: transform 180ms ease;
}

.shortlist-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.drawer-header h2 {
  font-size: 2.2rem;
}

.icon-button {
  width: 38px;
  height: 38px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 950;
}

.drawer-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
}

.drawer-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.drawer-item img {
  width: 76px;
  height: 94px;
  border-radius: 8px;
  object-fit: cover;
}

.drawer-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.drawer-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.remove-item {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 950;
}

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

.drawer-actions {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.drawer-actions .button {
  width: 100%;
}

.quick-view {
  z-index: 70;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.quick-view-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
  transform: translateY(18px) scale(0.98);
  transition: transform 180ms ease;
}

.quick-view.is-open .quick-view-panel {
  transform: translateY(0) scale(1);
}

.quick-view-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(21, 18, 15, 0.13);
}

.quick-view-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1fr);
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(16px, 3vw, 32px);
}

.quick-view-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-warm);
}

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

.quick-view-details {
  display: grid;
  align-content: start;
  gap: 16px;
}

.quick-view-title {
  display: grid;
  gap: 10px;
}

.quick-view-title h2 {
  font-size: 3.45rem;
}

.quick-view-title .status-badge {
  position: static;
  justify-self: start;
}

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

.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f2;
  padding: 12px;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-grid strong {
  display: block;
  margin-top: 3px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 36px));
  transform: translateY(20px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 13px 15px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.collection-tile.reveal-on-scroll,
.product-card.reveal-on-scroll,
.editorial-image.reveal-on-scroll {
  transform: translateY(30px) scale(0.985);
}

.collection-tile.reveal-on-scroll.is-visible,
.product-card.reveal-on-scroll.is-visible,
.editorial-image.reveal-on-scroll.is-visible {
  transform: translateY(0) scale(1);
}

body,
body * {
  letter-spacing: 0;
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.74) 55%, rgba(255, 253, 249, 0.12) 100%),
      var(--hero-image, url("assets/outfits/hero-casual.jpg")) center / cover no-repeat;
  }

  .hero-media {
    min-height: 430px;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-panel .search-field,
  .catalog-panel .segmented-control {
    grid-column: 1 / -1;
  }

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

@media (max-width: 840px) {
  .announcement-bar {
    padding: 6px 0;
    font-size: 0.7rem;
  }

  .announcement-track {
    animation-duration: 18s;
  }

  .site-header {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 10px 14px;
  }

  .top-nav {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 8px;
    overflow: auto;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .collection-grid,
  .editorial-band,
  .flow-grid,
  .quick-view-layout {
    grid-template-columns: 1fr;
  }

  .collection-tile,
  .collection-tile-large {
    min-height: 360px;
  }

  .product-overlay {
    opacity: 1;
    transform: none;
  }

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

@media (max-width: 620px) {
  .announcement-bar {
    padding: 5px 0;
    font-size: 0.66rem;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 7px 10px;
    padding: 8px 12px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shortlist-trigger span {
    display: none;
  }

  .top-nav {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(21, 18, 15, 0.08);
    padding-top: 7px;
    font-size: 0.76rem;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    padding: 4px 0;
  }

  .shortlist-trigger {
    min-height: 36px;
    padding: 7px 9px;
  }

  .hero {
    min-height: auto;
    padding: 44px 16px 42px;
  }

  .hero-copy h1 {
    font-size: 3.85rem;
  }

  .hero-media {
    min-height: 360px;
  }

  .inventory-strip,
  .product-grid,
  .catalog-panel,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .inventory-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .inventory-strip div:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .contact-section,
  .result-row {
    align-items: start;
    flex-direction: column;
  }

  .drawer-item {
    grid-template-columns: 64px 1fr auto;
  }

  .drawer-item img {
    width: 64px;
    height: 80px;
  }

  .quick-view {
    padding: 10px;
  }
}

@media (max-width: 1100px) and (min-width: 621px) {
  .hero-copy h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3.1rem;
  }
}

@media (max-width: 620px) {
  h2 {
    font-size: 2.55rem;
  }

  .inventory-strip strong,
  .quick-view-title h2 {
    font-size: 2.45rem;
  }

  .collection-tile strong {
    font-size: 2rem;
  }
}
