:root {
  --ink: #332a31;
  --muted: #756a70;
  --paper: #fffdf9;
  --white: #ffffff;
  --pink: #d94d82;
  --pink-dark: #b93b6d;
  --violet: #76649a;
  --violet-dark: #54466f;
  --beige: #e8d9c9;
  --beige-soft: #f6eee6;
  --line: #e8ded5;
  --soft-pink: #faedf2;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

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

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.announcement {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  font-size: 0.67rem;
  font-weight: 700;
  gap: 1rem;
  justify-content: center;
  letter-spacing: 0.09em;
  min-height: 32px;
  overflow: hidden;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header {
  align-items: center;
  background: rgba(248, 246, 245, 0.96);
  border-bottom: 1px solid rgba(23, 21, 26, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-height);
  padding: 0 4vw;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: flex;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  width: fit-content;
}

.brand img {
  border-radius: 50%;
  height: 54px;
  margin-right: 0.55rem;
  object-fit: cover;
  width: 54px;
}

.main-nav {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a,
.text-button {
  position: relative;
}

.main-nav a::after,
.text-button::after {
  background: var(--pink);
  bottom: -0.35rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  width: 100%;
}

.main-nav a:hover::after,
.text-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.text-button,
.site-footer button {
  background: none;
  border: 0;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.cart-button {
  background: var(--pink);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 0.75rem 0.85rem 0.75rem 1.1rem;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.cart-button:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.cart-button span {
  align-items: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--pink);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  margin-left: 0.55rem;
  width: 24px;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  justify-content: center;
}

.mobile-menu-button {
  display: none;
}

.hero {
  color: var(--white);
  min-height: calc(100svh - var(--header-height) - 32px);
  overflow: hidden;
  position: relative;
}

.hero-carousel {
  height: 100%;
  inset: 0;
  overflow: hidden;
  position: absolute;
  transform: scale(1.04);
  width: 100%;
}

.hero-slide {
  animation: heroCarousel 25s infinite;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 60% 49%;
  opacity: 0;
  position: absolute;
  transform: scale(1.035);
  width: 100%;
}

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

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

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

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

@keyframes heroCarousel {
  0% {
    opacity: 0;
    transform: scale(1.075);
  }

  4%,
  20% {
    opacity: 1;
  }

  24%,
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

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

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(23, 14, 26, 0.95) 0%, rgba(63, 31, 67, 0.78) 35%, rgba(33, 18, 34, 0.18) 68%),
    linear-gradient(0deg, rgba(23, 14, 26, 0.35), transparent 50%);
  inset: 0;
  position: absolute;
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 750px;
  min-height: calc(100svh - var(--header-height) - 32px);
  padding: 8vh 6vw;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--violet);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f5a4c8;
}

.hero h1,
.section-heading h2,
.wholesale-copy h2,
.story-copy h2,
.final-cta h2,
.product-dialog-info h2,
.drawer-header h2,
.checkout-dialog h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.5rem, 9.5vw, 9.5rem);
}

.hero h1 em {
  color: #f66ca7;
  font-style: normal;
}

.hero-copy {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  margin: 1.6rem 0 2rem;
  max-width: 510px;
}

.hero-actions,
.wholesale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.09em;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button.primary {
  background: var(--pink);
  color: var(--white);
}

.button.primary:hover {
  background: var(--pink-dark);
}

.button.light {
  background: var(--white);
  color: var(--pink);
}

.button.ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button.ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button.full {
  width: 100%;
}

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

.hero-note {
  align-items: center;
  bottom: 2rem;
  display: flex;
  gap: 0.8rem;
  position: absolute;
  right: 4vw;
  z-index: 2;
}

.hero-note span {
  align-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  display: flex;
  font-family: var(--display);
  font-size: 2rem;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.hero-note p {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.benefit-strip {
  background: var(--pink);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.benefit-strip p {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 1.1rem;
  text-align: center;
  text-transform: uppercase;
}

.shop-section,
.faq-section {
  padding: 8rem 5vw;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr minmax(220px, 340px);
  margin-bottom: 3.5rem;
}

.section-heading h2,
.story-copy h2 {
  font-size: clamp(3.7rem, 6.4vw, 6.8rem);
}

.section-heading > p,
.story-copy > p,
.wholesale-copy > p {
  color: var(--muted);
  margin: 0;
}

.shop-controls {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
}

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

.search-box {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: flex;
  gap: 0.6rem;
  min-width: 220px;
}

.search-box input {
  background: transparent;
  border: 0;
  color: var(--ink);
  outline: 0;
  padding: 0.65rem 0;
  width: 100%;
}

.product-grid {
  display: grid;
  gap: 4rem 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}

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

.product-media {
  background: #efebeb;
  border: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.product-media::after {
  background: linear-gradient(180deg, transparent 65%, rgba(23, 21, 26, 0.28));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
}

.product-media img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.3, 1);
  width: 100%;
}

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

.product-media:hover::after {
  opacity: 1;
}

.product-badge {
  background: var(--white);
  border-radius: 999px;
  color: var(--pink);
  font-size: 0.58rem;
  font-weight: 800;
  left: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.65rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.8rem;
  z-index: 2;
}

.quick-add {
  background: var(--white);
  border: 0;
  border-radius: 999px;
  bottom: 0.75rem;
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0.08em;
  opacity: 0;
  padding: 0.75rem 1rem;
  position: absolute;
  text-transform: uppercase;
  transform: translate(-50%, 15px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
  z-index: 2;
}

.product-media:hover .quick-add,
.quick-add:focus-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-info {
  display: grid;
  gap: 0.25rem 1rem;
  grid-template-columns: 1fr auto;
  padding-top: 0.85rem;
}

.product-info h3 {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}

.product-info p {
  color: var(--muted);
  font-size: 0.72rem;
  grid-column: 1 / 2;
  margin: 0;
}

.product-info strong {
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1 / 3;
  text-align: right;
}

.empty-state {
  color: var(--muted);
  padding: 3rem 0;
  text-align: center;
}

.wholesale-section {
  align-items: end;
  background: var(--violet-dark);
  color: var(--white);
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  overflow: hidden;
  padding: 7rem 6vw;
  position: relative;
}

.wholesale-section::before {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
  height: 460px;
  position: absolute;
  right: -160px;
  top: -220px;
  width: 460px;
}

.wholesale-copy {
  max-width: 790px;
  position: relative;
  z-index: 2;
}

.wholesale-copy h2 {
  font-size: clamp(4.4rem, 8vw, 8.5rem);
  margin-bottom: 1.5rem;
}

.wholesale-copy > p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 590px;
}

.wholesale-number {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  z-index: 2;
}

.wholesale-number strong {
  color: #f76fab;
  font-family: var(--display);
  font-size: clamp(10rem, 20vw, 20rem);
  font-weight: 400;
  line-height: 0.72;
}

.wholesale-number span {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 1.4rem;
  text-transform: uppercase;
}

.story-section {
  align-items: center;
  display: grid;
  gap: 8vw;
  grid-template-columns: minmax(300px, 0.85fr) minmax(300px, 1.15fr);
  padding: 9rem 8vw;
}

.story-image-wrap {
  position: relative;
}

.story-image-wrap img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.stitch-circle {
  border: 3px dashed var(--pink);
  border-radius: 50%;
  bottom: -2rem;
  height: 120px;
  position: absolute;
  right: -2rem;
  width: 120px;
}

.story-copy {
  max-width: 670px;
}

.story-copy > p {
  margin: 2rem 0;
  max-width: 590px;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 1rem;
  letter-spacing: 0.09em;
  padding-bottom: 0.4rem;
  text-transform: uppercase;
}

.text-link span {
  color: var(--pink);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  border-top: 1px solid var(--line);
  margin-left: auto;
  max-width: 1000px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.84rem;
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  padding: 1.5rem 0;
  text-transform: uppercase;
}

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

.faq-list summary span {
  color: var(--pink);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--muted);
  margin: -0.4rem 0 1.5rem;
  max-width: 680px;
}

.final-cta {
  align-items: center;
  background: var(--pink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 8rem 1.5rem;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(4.5rem, 10vw, 10rem);
  margin-bottom: 2rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  padding: 5rem 5vw 2rem;
}

.footer-brand img {
  border-radius: 50%;
  height: 110px;
  margin-bottom: 1.2rem;
  object-fit: cover;
  width: 110px;
}

.footer-brand p {
  max-width: 260px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer button {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-align: left;
  text-transform: none;
}

.site-footer a:hover,
.site-footer button:hover {
  color: #f46ca6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.66rem;
  grid-column: 1 / -1;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
}

.drawer-backdrop {
  background: rgba(23, 21, 26, 0.56);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 220ms ease;
  z-index: 40;
}

.drawer-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 500px;
  padding: 1.5rem;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 280ms cubic-bezier(0.2, 0.75, 0.3, 1);
  width: min(100%, 500px);
  z-index: 50;
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.drawer-header h2,
.checkout-dialog h2 {
  font-size: 3.6rem;
}

.close-button {
  font-size: 2rem;
  height: 42px;
  width: 42px;
}

.purchase-mode {
  background: #ebe6e8;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1rem 0;
  padding: 0.25rem;
}

.purchase-mode button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.75rem;
  text-transform: uppercase;
}

.purchase-mode button.active {
  background: var(--white);
  color: var(--ink);
}

.wholesale-progress {
  margin-bottom: 1rem;
}

.wholesale-progress > div:first-child {
  display: flex;
  font-size: 0.66rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-track {
  background: #e5dde1;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.progress-track span {
  background: var(--pink);
  display: block;
  height: 100%;
  transition: width 250ms ease;
  width: 0;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 82px 1fr auto;
  padding: 1rem 0;
}

.cart-item img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 82px;
}

.cart-item h3 {
  font-size: 0.72rem;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.cart-item p {
  color: var(--muted);
  font-size: 0.66rem;
  margin: 0 0 0.6rem;
}

.cart-item-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cart-size-select {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem 0.45rem;
}

.cart-size-select span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-size-select select {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  outline: 0;
}

.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
}

.quantity-control button {
  background: transparent;
  border: 0;
  height: 28px;
  width: 28px;
}

.quantity-control input {
  appearance: textfield;
  background: transparent;
  border: 0;
  font-size: 0.67rem;
  min-width: 26px;
  outline: 0;
  text-align: center;
  width: 42px;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.remove-item {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.1rem;
  padding: 0;
}

.cart-empty {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.cart-summary {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
}

.cart-summary p {
  color: var(--muted);
  font-size: 0.66rem;
  margin: 0.6rem 0 1rem;
}

dialog {
  border: 0;
  box-shadow: 0 24px 70px rgba(23, 21, 26, 0.24);
  color: var(--ink);
  margin: auto;
  max-height: min(92svh, 900px);
  max-width: 1160px;
  overflow: auto;
  padding: 0;
  width: calc(100% - 2rem);
}

dialog::backdrop {
  background: rgba(23, 21, 26, 0.68);
}

.dialog-close {
  color: var(--ink);
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 3;
}

.product-dialog-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.product-gallery {
  background: #efe9eb;
  padding: 1.5rem;
}

.product-gallery > img {
  aspect-ratio: 4 / 5;
  height: min(67svh, 650px);
  object-fit: contain;
  width: 100%;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
  overflow-x: auto;
}

.gallery-thumbnails button {
  background: transparent;
  border: 2px solid transparent;
  padding: 0;
}

.gallery-thumbnails button.active {
  border-color: var(--pink);
}

.gallery-thumbnails img {
  height: 62px;
  object-fit: cover;
  width: 62px;
}

.product-dialog-info {
  align-self: center;
  padding: 4rem;
}

.product-dialog-info h2 {
  font-size: clamp(3.6rem, 6vw, 6rem);
}

.dialog-price {
  color: var(--violet);
  font-weight: 800;
  margin: 1rem 0 1.6rem;
}

.product-dialog-info > p:not(.eyebrow, .dialog-price) {
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.product-dialog-info label,
.checkout-dialog label {
  display: block;
  margin-bottom: 1rem;
}

.product-dialog-info label span,
.checkout-dialog label > span,
.checkout-dialog legend {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.product-dialog-info select,
.product-dialog-info input,
.checkout-dialog input {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 46px;
  padding: 0.7rem;
  width: 100%;
}

.product-notes {
  color: var(--muted);
  font-size: 0.66rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.product-notes li {
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}

.checkout-dialog {
  padding: 3rem;
}

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

.checkout-intro {
  color: var(--muted);
  max-width: 660px;
}

.form-grid {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: 1fr 1fr;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.checkout-dialog fieldset {
  border: 0;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.payment-options {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.payment-options label {
  margin: 0;
  position: relative;
}

.payment-options input {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

.payment-options span {
  align-items: center;
  border: 1px solid var(--line);
  display: flex !important;
  justify-content: center;
  margin: 0 !important;
  min-height: 50px;
  padding: 0.6rem;
}

.payment-options input:checked + span {
  border-color: var(--pink);
  color: var(--pink);
}

.payment-note {
  color: var(--muted);
  font-size: 0.68rem;
  margin: 0.8rem 0 0;
}

.terms-check {
  align-items: flex-start;
  display: flex !important;
  font-size: 0.66rem;
  gap: 0.6rem;
  line-height: 1.5;
}

.terms-check input {
  min-height: auto !important;
  margin-top: 0.2rem;
  width: auto !important;
}

.terms-check span {
  display: inline !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  text-transform: none !important;
}

.terms-check a {
  color: var(--pink);
  text-decoration: underline;
}

.checkout-summary {
  background: var(--paper);
  padding: 1.5rem;
}

.checkout-summary h3 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.checkout-line {
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 0.7rem;
  gap: 0.6rem;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.checkout-total {
  display: flex;
  font-size: 0.76rem;
  justify-content: space-between;
  padding-top: 1rem;
}

.toast {
  background: var(--ink);
  bottom: 1.4rem;
  color: var(--white);
  font-size: 0.72rem;
  left: 50%;
  opacity: 0;
  padding: 0.9rem 1.2rem;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 15px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 80;
}

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

.policy-main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 6rem 5vw 9rem;
}

.policy-back {
  justify-self: end;
}

.policy-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 4rem;
  padding-bottom: 3rem;
}

.policy-hero h1 {
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.policy-hero p {
  color: var(--muted);
  max-width: 680px;
}

.policy-notice {
  background: #fff5de;
  border-left: 4px solid #e8ae2e;
  font-size: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
}

.policy-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: 240px 1fr;
  padding: 3rem 0;
}

.policy-section + .policy-section {
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    left: 0;
    padding: 2rem;
    position: absolute;
    top: 100%;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 40px;
    margin-left: auto;
    width: 40px;
  }

  .mobile-menu-button span {
    background: var(--ink);
    display: block;
    height: 2px;
    width: 22px;
  }

  .header-actions {
    display: none;
  }

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

  .story-section {
    gap: 5vw;
    padding-inline: 5vw;
  }

  .product-dialog-info {
    padding: 2.5rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .announcement {
    justify-content: flex-start;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand img {
    height: 46px;
    width: 46px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 32px);
  }

  .hero-slide {
    object-position: 56% center;
  }

  .hero-scrim {
    background: linear-gradient(0deg, rgba(23, 14, 26, 0.94) 0%, rgba(32, 18, 34, 0.62) 58%, rgba(23, 14, 26, 0.12));
  }

  .hero-content {
    justify-content: flex-end;
    min-height: calc(100svh - var(--header-height) - 32px);
    padding: 4rem 1.2rem 6rem;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 22vw, 6.5rem);
  }

  .hero-note {
    bottom: 1rem;
    display: none;
  }

  .benefit-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-strip p:nth-child(2) {
    border-right: 0;
  }

  .shop-section,
  .faq-section {
    padding: 5.5rem 1rem;
  }

  .section-heading {
    align-items: start;
    gap: 1.3rem;
    grid-template-columns: 1fr;
    margin-bottom: 2.4rem;
  }

  .section-heading h2,
  .story-copy h2 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .shop-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .search-box {
    min-width: 0;
  }

  .product-grid {
    gap: 2.6rem 0.75rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-info {
    display: block;
  }

  .product-info strong {
    display: block;
    margin-top: 0.3rem;
    text-align: left;
  }

  .quick-add {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .wholesale-section {
    gap: 3rem;
    grid-template-columns: 1fr;
    padding: 5.5rem 1.2rem;
  }

  .wholesale-copy h2 {
    font-size: clamp(4rem, 20vw, 6.5rem);
  }

  .wholesale-number strong {
    font-size: 12rem;
  }

  .story-section {
    gap: 5rem;
    grid-template-columns: 1fr;
    padding: 6rem 1rem;
  }

  .story-image-wrap {
    margin-right: 1rem;
  }

  .stitch-circle {
    right: -1rem;
  }

  .final-cta {
    padding: 6rem 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .product-gallery {
    padding: 1rem;
  }

  .product-gallery > img {
    height: min(49svh, 500px);
  }

  .product-dialog-info {
    padding: 2rem 1.2rem;
  }

  .checkout-dialog {
    padding: 2rem 1rem;
  }

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

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

  .form-grid .wide {
    grid-column: auto;
  }

  .payment-options {
    grid-template-columns: 1fr 1fr;
  }

  .policy-main {
    padding: 4rem 1rem 6rem;
  }

  .policy-section {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
}

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

/* Boutique visual refresh */
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(218, 199, 179, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 199, 179, 0.2) 1px, transparent 1px);
  background-size: 112px 112px;
}

.announcement {
  background: var(--beige-soft);
  border-bottom: 1px solid var(--beige);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 253, 249, 0.94);
  border-bottom-color: var(--beige);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border: 1px solid var(--beige);
  box-shadow: 0 8px 24px rgba(77, 58, 68, 0.08);
}

.hero {
  color: var(--ink);
  min-height: calc(100svh - var(--header-height) - 32px);
}

.hero-carousel {
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 46% 46% 32px 32px;
  bottom: 5vh;
  box-shadow: 0 30px 80px rgba(82, 61, 72, 0.16);
  height: calc(100% - 10vh);
  inset: auto 5vw 5vh auto;
  transform: none;
  width: min(47vw, 700px);
}

.hero-carousel .hero-slide {
  object-position: center;
}

.hero-scrim {
  display: none;
}

.hero-content {
  max-width: 52vw;
  padding-left: 7vw;
}

.hero h1,
.section-heading h2,
.wholesale-copy h2,
.story-copy h2,
.final-cta h2,
.product-dialog-info h2,
.drawer-header h2,
.checkout-dialog h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
}

.hero h1 {
  font-size: clamp(4.8rem, 7.8vw, 8rem);
  line-height: 0.88;
}

.hero h1 em {
  color: var(--pink);
}

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

.hero .eyebrow.light,
.wholesale-section .eyebrow.light,
.final-cta .eyebrow.light {
  color: var(--pink);
}

.hero .button.ghost-light,
.wholesale-section .button.ghost-light {
  border-color: var(--beige);
  color: var(--ink);
}

.hero .button.ghost-light:hover,
.wholesale-section .button.ghost-light:hover {
  background: var(--white);
}

.hero-note {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--beige);
  border-radius: 24px;
  bottom: 7vh;
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  right: 6vw;
}

.hero-note span {
  border-color: var(--pink);
  color: var(--pink);
}

.benefit-strip {
  background: rgba(246, 238, 230, 0.95);
  border: 1px solid var(--beige);
  border-radius: 999px;
  color: var(--ink);
  margin: 1.5rem 4vw 0;
  overflow: hidden;
}

.benefit-strip p {
  border-right-color: var(--beige);
}

.benefit-strip strong {
  color: var(--pink);
}

.shop-section,
.faq-section {
  background: transparent;
  margin: 0 auto;
  max-width: 1600px;
}

.section-heading h2,
.story-copy h2 {
  font-size: clamp(4.2rem, 6.4vw, 7rem);
  line-height: 0.9;
}

.shop-controls {
  border-bottom-color: var(--beige);
}

.filter {
  border-color: var(--beige);
  color: var(--ink);
}

.filter.active {
  background: var(--violet-dark);
}

.search-box {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--beige);
  border-radius: 999px;
  padding: 0 0.85rem;
}

.product-grid {
  gap: 4.5rem 1.8rem;
}

.product-media {
  background: var(--beige-soft);
  border: 1px solid rgba(220, 200, 180, 0.8);
  border-radius: 34px 34px 18px 18px;
  box-shadow: 0 18px 45px rgba(82, 61, 72, 0.08);
}

.product-media img {
  aspect-ratio: 3 / 4;
}

.product-badge {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--beige);
}

.quick-add {
  box-shadow: 0 10px 28px rgba(82, 61, 72, 0.16);
}

.product-info {
  padding: 1rem 0.35rem 0;
}

.product-info h3 {
  font-size: 0.78rem;
}

.wholesale-section {
  background-color: var(--beige-soft);
  background-image:
    linear-gradient(rgba(218, 199, 179, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 199, 179, 0.42) 1px, transparent 1px);
  background-size: 72px 72px;
  border: 1px solid var(--beige);
  border-radius: 50px;
  color: var(--ink);
  margin: 1rem 4vw;
  overflow: hidden;
}

.wholesale-section::before {
  border-color: rgba(217, 77, 130, 0.3);
}

.wholesale-copy h2 {
  font-size: clamp(5rem, 8vw, 8rem);
  line-height: 0.86;
}

.wholesale-copy > p {
  color: var(--muted);
}

.wholesale-section .button.light {
  background: var(--pink);
  color: var(--white);
}

.wholesale-number strong {
  color: var(--pink);
}

.story-section {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--beige);
  border-top: 1px solid var(--beige);
  margin: 8rem 0 0;
}

.story-image-wrap img {
  border: 8px solid var(--white);
  border-radius: 46% 46% 28px 28px;
  box-shadow: 0 24px 60px rgba(82, 61, 72, 0.13);
}

.stitch-circle {
  border-color: var(--beige);
}

.faq-list {
  border-top: 0;
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--beige);
  border-radius: 18px;
  padding: 0 1.2rem;
}

.faq-list summary {
  text-transform: none;
}

.final-cta {
  background-color: var(--soft-pink);
  background-image:
    linear-gradient(rgba(218, 199, 179, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 199, 179, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  border: 1px solid var(--beige);
  border-radius: 50px;
  color: var(--ink);
  margin: 1rem 4vw 4vw;
}

.final-cta h2 {
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 0.86;
}

.final-cta .button.light {
  background: var(--pink);
  color: var(--white);
}

.site-footer {
  background: #362d34;
  border-radius: 48px 48px 0 0;
}

.footer-brand img {
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.cart-drawer {
  background: var(--paper);
  border-radius: 34px 0 0 34px;
}

.cart-item img {
  border-radius: 16px;
}

dialog {
  border-radius: 30px;
}

.product-gallery {
  background: var(--beige-soft);
}

.product-gallery > img {
  border-radius: 28px;
}

.gallery-thumbnails img {
  border-radius: 10px;
}

.checkout-summary {
  border: 1px solid var(--beige);
  border-radius: 24px;
}

.policy-hero,
.policy-section + .policy-section {
  border-color: var(--beige);
}

@media (max-width: 760px) {
  body {
    background-size: 72px 72px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 1rem 1rem 4rem;
  }

  .hero-carousel {
    border-width: 6px;
    bottom: auto;
    height: 56svh;
    inset: auto;
    order: 1;
    position: relative;
    width: 100%;
  }

  .hero-content {
    min-height: auto;
    max-width: none;
    order: 2;
    padding: 2rem 0 0;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 19vw, 5.7rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1;
    padding-inline: 0.8rem;
  }

  .benefit-strip {
    border-radius: 28px;
    margin: 0 1rem;
  }

  .product-media {
    border-radius: 22px 22px 12px 12px;
  }

  .wholesale-section {
    border-radius: 30px;
    margin: 1rem;
  }

  .story-section {
    margin-top: 5rem;
  }

  .final-cta {
    border-radius: 30px;
    margin: 1rem;
  }

  .cart-drawer {
    border-radius: 24px 0 0 24px;
  }
}
