:root {
  color-scheme: light;
  --ink: #171414;
  --muted: #6a5d57;
  --paper: #fbf4ec;
  --cream: #fffaf4;
  --line: #dfcfc1;
  --rose: #bf8586;
  --sage: #6e9189;
  --gold: #b99a5f;
  --plum: #34242b;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body.mft-shop-body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.mft-shop-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 244, .9);
  border-bottom: 1px solid rgba(23, 20, 20, .08);
  backdrop-filter: blur(18px);
}

.mft-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.mft-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.mft-shop-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #312a26;
  font-size: 14px;
  font-weight: 850;
}

.mft-shop-header nav a {
  text-decoration: none;
}

.shop-hero {
  position: relative;
  min-height: clamp(570px, 70vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 405px);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(32px, 5vw, 66px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.shop-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(.95);
  opacity: .25;
  transform: scale(1.07);
}

.shop-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 244, 236, .97), rgba(251, 244, 236, .74) 52%, rgba(251, 244, 236, .91)),
    radial-gradient(circle at 78% 22%, rgba(191, 133, 134, .18), transparent 32%),
    radial-gradient(circle at 16% 88%, rgba(185, 154, 95, .16), transparent 28%);
}

.shop-kicker {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.shop-hero h1,
.shop-lane h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.shop-hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: .88;
}

.shop-hero p {
  max-width: 560px;
  color: #514741;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.shop-hero-actions,
.shop-footer,
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.shop-hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.shop-button,
.shop-checkout-fallback,
.release-form button {
  min-height: 48px;
  border: 1px solid rgba(23, 20, 20, .16);
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.shop-button-dark,
.shop-checkout-fallback {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.hero-product-card {
  margin: 0;
  justify-self: center;
  width: min(100%, 370px);
  padding: 12px;
  background: rgba(255, 250, 244, .74);
  border: 1px solid rgba(23, 20, 20, .12);
  box-shadow: 0 30px 90px rgba(78, 58, 44, .18);
}

.hero-product-card img,
.guide-cover {
  display: block;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  object-fit: cover;
  transform-origin: center;
  animation: coverHeartbeat 1.8s ease-out .35s 1 both;
}

.shop-lanes {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.shop-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: 520px;
  padding: clamp(22px, 4vw, 48px);
  background: var(--cream);
  border: 1px solid var(--line);
}

.shop-lane-feature {
  min-height: 650px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, .99), rgba(244, 230, 221, .95)),
    var(--cream);
}

.shop-lane h2 {
  max-width: 740px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .97;
}

.shop-lane p {
  max-width: 530px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.lane-product {
  display: grid;
  gap: 16px;
  align-content: start;
}

.guide-cover,
.skin-product {
  width: min(100%, 350px);
  justify-self: center;
  filter: drop-shadow(0 24px 42px rgba(68, 45, 35, .22));
}

.price-row {
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.price-row span {
  max-width: 285px;
  color: #4b423c;
}

.price-row strong {
  font-size: 22px;
}

.wallet-express-slot {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  animation: payBounce 2.8s ease-in-out infinite;
}

.wallet-express-slot::before,
.shop-checkout-fallback:not(.disabled)::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(185, 154, 95, .42), transparent 70%);
  opacity: .86;
  filter: blur(10px);
}

.wallet-express-slot span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #0f0f10;
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}

.wallet-express-slot iframe {
  min-height: 52px;
  border-radius: 10px;
}

.shop-checkout-fallback {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  animation: payBounce 2.8s ease-in-out infinite;
}

.shop-checkout-fallback.disabled,
.shop-checkout-fallback:disabled {
  background: #e9ded2;
  color: #766a62;
  border-color: #e9ded2;
  cursor: default;
  animation: none;
}

.checkout-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.coming-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

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

.placement-card {
  min-height: 188px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 250, 244, .76);
  border: 1px solid rgba(23, 20, 20, .1);
  box-shadow: 0 18px 44px rgba(68, 45, 35, .1);
}

.placement-card span {
  color: #413833;
  font-size: 14px;
  font-weight: 950;
}

.placement-card strong {
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-coming {
  background:
    linear-gradient(160deg, rgba(255, 250, 244, .92), rgba(238, 224, 210, .82)),
    linear-gradient(90deg, transparent 0 28%, rgba(185, 154, 95, .26) 28% 32%, transparent 32%);
}

.skin-lane {
  background:
    linear-gradient(135deg, rgba(238, 226, 221, .97), rgba(246, 238, 229, .96)),
    var(--cream);
}

.coming-stack {
  gap: 18px;
}

.skin-product-card {
  justify-items: center;
  text-align: center;
}

.skin-product {
  width: min(86%, 170px);
  aspect-ratio: 1 / 1.2;
  object-fit: contain;
}

.skin-orb {
  width: 118px;
  height: 150px;
  justify-self: center;
  border-radius: 42% 42% 46% 46%;
  box-shadow: inset 0 20px 40px rgba(255, 255, 255, .38), 0 22px 46px rgba(78, 58, 44, .16);
}

.skin-orb-rose {
  background: linear-gradient(160deg, #f6d8d5, #b97d80 58%, #8d5c62);
}

.skin-orb-gold {
  background: linear-gradient(160deg, #f8e1a9, #b99a5f 58%, #6d5531);
}

.release-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
}

.release-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  font: inherit;
}

.release-form button {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

.release-form button:disabled {
  opacity: .72;
  cursor: default;
}

.release-form [data-newsletter-status] {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.release-form [data-status-tone="error"] {
  color: #9a3d37;
}

.release-form [data-status-tone="success"] {
  color: #3c766b;
}

.merch-lane {
  background:
    linear-gradient(135deg, rgba(248, 239, 228, .98), rgba(241, 225, 213, .96)),
    #f8efe4;
}

.merch-placeholder {
  justify-items: center;
  text-align: center;
}

.folded-shirt {
  width: min(100%, 152px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid #d8c7b7;
  box-shadow: 0 24px 52px rgba(68, 45, 35, .14);
}

.folded-tee {
  background:
    linear-gradient(135deg, #efe1d2, #fff8ef 46%, #c9a978 47%, #f7ede0 49%, #ead8c5),
    #ead8c5;
}

.folded-hoodie {
  background:
    linear-gradient(135deg, #32252a, #5f4448 46%, #d4b16d 47%, #6f4f51 49%, #2b2025),
    #34242b;
}

.folded-tote {
  background:
    linear-gradient(135deg, #f6eadb, #cfad73 44%, #fff6ea 45%, #e4cfae),
    #e4cfae;
}

.folded-shirt span {
  color: rgba(255, 250, 244, .88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  text-align: center;
}

.folded-tee span,
.folded-tote span {
  color: #544a43;
}

.shop-footer {
  justify-content: center;
  gap: 18px;
  padding: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.shop-footer a {
  text-decoration: none;
}

@keyframes payBounce {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 42px rgba(185, 154, 95, .18);
  }
  44% {
    transform: translateY(-3px);
    box-shadow: 0 26px 58px rgba(185, 154, 95, .28);
  }
}

@keyframes coverHeartbeat {
  0% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.018);
  }
  32% {
    transform: scale(.997);
  }
  48% {
    transform: scale(1.012);
  }
  70%,
  100% {
    transform: scale(1);
  }
}

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

@media (max-width: 980px) {
  .placement-grid,
  .coming-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mft-shop-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mft-shop-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .shop-hero,
  .shop-lane {
    grid-template-columns: 1fr;
  }

  .shop-hero {
    min-height: auto;
  }

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