/** Shopify CDN: Minification failed

Line 2161:0 Unexpected "}"

**/
/* SLOU — Mellow Hug. Brand manual: big logo, clean type, human imagery. */


:root {
  --milk: #f3f0e8;
  --paper: #f8f6f1;
  --stone: #e9e4d9;
  --chocolate: #4a2d26;
  --burgundy: #752e35;
  --sky: #afcde2;
  --butter: #e8d477;
  --ink: #242321;
  --muted: rgba(74, 45, 38, 0.72);
  --line: rgba(74, 45, 38, 0.16);

  --font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 24px;
  --header: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --display: clamp(3.1rem, 7.6vw, 8rem);
  --h2: clamp(2.25rem, 4.8vw, 4.6rem);
  --h3: clamp(1.2rem, 1.5vw, 1.4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header);
}
body {
  margin: 0;
  background: var(--milk);
  color: var(--chocolate);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type */
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}
h1 {
  font-size: var(--display);
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.eyebrow {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.section-head {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* Buttons & links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s var(--ease-out),
    background-color 0.2s ease;
}
.button-dark {
  background: var(--chocolate);
  color: var(--milk);
}
.button-dark:hover {
  background: var(--ink);
}
.button-milk {
  background: var(--milk);
  color: var(--chocolate);
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
.button .icon {
  width: 20px;
  height: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.text-link .icon {
  width: 18px;
  height: 18px;
}
.round-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--chocolate);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.round-button:hover {
  background: #fff;
}
.round-button .icon {
  width: 20px;
  height: 20px;
}
.round-button.flip .icon {
  transform: scaleX(-1);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--chocolate);
  color: var(--milk);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header);
  padding: 0 var(--gutter);
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(243, 240, 232, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wordmark {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}
.desktop-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.92rem;
}
.menu-toggle {
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.mobile-menu {
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  display: grid;
  padding: 8px var(--gutter) 28px;
  background: var(--milk);
  box-shadow: 0 1px 0 var(--line);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    'copy photo'
    'facts photo';
  grid-template-rows: 1fr auto;
  min-height: 100svh;
}
.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: calc(var(--header) + 40px) var(--gutter) 40px;
}
.hero h1 {
  max-width: 9ch;
}
.hero-lede {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.hero-photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.hero-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(74, 45, 38, 0.2);
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px var(--gutter) 24px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}
.hero-facts li + li {
  border-left: 1px solid rgba(74, 45, 38, 0.2);
  padding-left: 18px;
}
.hero-facts .icon {
  width: 22px;
  height: 22px;
}

/* Product */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(72px, 9vw, 128px);
}
.product-gallery {
  display: grid;
  gap: 14px;
}
.gallery-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.gallery-slide,
.gallery-slide .variant-image {
  position: absolute;
  inset: 0;
}
.gallery-slide[hidden],
.gallery-slide .variant-image:not(.is-active),
.gallery-thumbs .variant-image:not(.is-active) {
  display: none;
}
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(248, 246, 241, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
}
.zoom-button {
  position: absolute;
  top: 12px;
  right: 12px;
}
.gallery-nav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(248, 246, 241, 0.92);
  transform: translateX(-50%);
}
.gallery-nav .round-button {
  border: 0;
  background: transparent;
}
.gallery-nav .round-button:hover {
  background: var(--stone);
}
.gallery-count {
  min-width: 3.5em;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.gallery-thumbs button {
  flex: 0 0 auto;
  width: 76px;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.2s var(--ease);
}
.gallery-thumbs button:hover,
.gallery-thumbs .is-active {
  opacity: 1;
}
.gallery-thumbs .is-active {
  box-shadow: 0 0 0 2px var(--chocolate);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-panel {
  position: sticky;
  top: calc(var(--header) + 24px);
  display: grid;
  gap: 22px;
}
.product-panel h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
}
.product-kind {
  margin-top: -12px;
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--muted);
}
.product-price {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.product-intro {
  max-width: 30rem;
  color: var(--muted);
}
.colour-selector {
  margin: 0;
  padding: 0;
  border: 0;
}
.colour-selector legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.colour-selector legend strong {
  margin-left: 6px;
  color: var(--chocolate);
}
.colour-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.colour-swatches label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.colour-swatches label:has(input:checked) {
  border-color: var(--chocolate);
  box-shadow: inset 0 0 0 1px var(--chocolate);
}
.colour-swatches label:has(input:focus-visible) {
  outline: 2px solid var(--chocolate);
  outline-offset: 3px;
}
.colour-swatches input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.buy-button {
  width: 100%;
  min-height: 58px;
  font-size: 1.05rem;
}
.availability-note {
  margin-top: -12px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--line);
}
.product-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  font-size: 0.92rem;
  line-height: 1.3;
}
.product-facts .icon {
  flex: none;
}
.accordions details,
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.accordions details:first-child {
  border-top: 1px solid var(--line);
}
details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary .icon {
  flex: none;
  transition: transform 0.3s var(--ease);
}
details[open] summary .icon {
  transform: rotate(45deg);
}
details > :not(summary) {
  padding-bottom: 22px;
  color: var(--muted);
}
.shopify-description p + p {
  margin-top: 12px;
}
.plain-list {
  display: grid;
  gap: 8px;
}
.plain-list strong {
  color: var(--chocolate);
}

/* Reasons */
.reasons {
  padding-block: clamp(24px, 3vw, 48px) clamp(72px, 9vw, 128px);
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.reason {
  display: grid;
  align-content: start;
  gap: 12px;
}
.reason-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: var(--stone);
}
.reason-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reason-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--burgundy);
}
.reason h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.reason p {
  color: var(--muted);
}
.reason .text-link {
  justify-self: start;
}

/* Temperature */
.temperature {
  padding-block: clamp(72px, 9vw, 128px);
  transition:
    background-color 0.6s var(--ease),
    color 0.6s var(--ease);
}

.temperature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.temperature-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.temperature-switch {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px currentColor;
}
.temperature-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 650;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.temperature-switch button .icon {
  width: 20px;
  height: 20px;
}
.temperature.tone-burgundy .temperature-switch button[aria-pressed='true'],
.temperature.tone-chocolate .temperature-switch button[aria-pressed='true'] {
  background: var(--butter);
  color: var(--chocolate);
}
.temperature.tone-sky .temperature-switch button[aria-pressed='true'],
.temperature.tone-butter .temperature-switch button[aria-pressed='true'] {
  background: var(--chocolate);
  color: var(--milk);
}
.temperature h2 {
  font-size: clamp(2.4rem, 5.2vw, 5rem);
}
.temperature-prep {
  max-width: 32rem;
  font-size: 1.15rem;
}
.temperature-subtitle {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 650;
}
.temperature-uses {
  display: grid;
  width: 100%;
  max-width: 34rem;
}
.temperature-uses li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid currentColor;
  font-size: 1.08rem;
  font-weight: 550;
}
.temperature-uses li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: currentColor;
}
.temperature.tone-burgundy .temperature-uses li::before,
.temperature.tone-chocolate .temperature-uses li::before {
  background: var(--butter);
}
.temperature-note {
  max-width: 32rem;
  font-size: 0.88rem;
  opacity: 0.8;
}
.temperature-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.temperature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Touch */
.touch {
  padding-top: clamp(72px, 9vw, 128px);
}
.touch-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.touch-copy h2 {
  max-width: 10ch;
  font-size: var(--display);
}
.touch-copy p {
  max-width: 18rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 550;
}
.touch-photo img {
  width: 100%;
  height: min(86svh, 60vw);
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 58%;
}

/* Moments */
.moments {
  padding-block: clamp(72px, 9vw, 128px);
}
.moments h2.eyebrow {
  margin-bottom: 28px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.3;
}
.moments li {
  padding: clamp(12px, 1.6vw, 20px) 0;
  border-top: 1.5px solid var(--chocolate);
  font-size: clamp(1.6rem, 4.2vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.moments li:last-child {
  border-bottom: 1.5px solid var(--chocolate);
}

/* Details */
.details {
  padding-block: clamp(72px, 9vw, 128px);
}
.layers {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.layers-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.layers-photo img {
  width: 100%;
}
.layers-list {
  display: grid;
}
.layers-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.layers-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.layers-list span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.7;
}
.layers-list p {
  margin-top: 4px;
  color: var(--muted);
}
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 7vw, 96px);
}
.detail-cards article {
  display: grid;
  gap: 10px;
}
.detail-photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: var(--stone);
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--focus, 50%);
}
.detail-cards h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.detail-cards p {
  color: var(--muted);
}

/* How */
.how {
  padding-block: clamp(72px, 9vw, 128px);
  background: var(--chocolate);
  color: var(--milk);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.how-steps li {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 24px;
  border-top: 1.5px solid rgba(243, 240, 232, 0.4);
}
.how-steps span {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--butter);
}
.how-steps h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.how-steps p {
  opacity: 0.8;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(72px, 9vw, 128px);
}
.faq .section-head {
  align-self: start;
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  min-height: 72px;
  font-size: 1.1rem;
}

/* Closing */
.closing {
  padding-block: clamp(88px, 11vw, 160px);
}
.closing .section-shell {
  display: grid;
  gap: 32px;
  justify-items: start;
}
.closing-lede {
  max-width: 38rem;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  opacity: 0.85;
}
.closing h2 {
  max-width: 11ch;
  font-size: var(--display);
}

/* Footer */
.site-footer {
  overflow: hidden;
  padding-top: 48px;
  background: var(--chocolate);
  color: var(--milk);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.footer-top p {
  font-weight: 600;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.footer-top nav a {
  min-height: 44px;
  text-decoration: none;
  opacity: 0.8;
}
.footer-top nav a:hover {
  opacity: 1;
}
.footer-wordmark {
  display: block;
  margin-bottom: -0.17em;
  font-size: 30vw;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

/* Mobile bar */
.mobile-bar {
  display: none;
}

/* Zoom dialog */
.image-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--chocolate);
}
.image-dialog[open] {
  display: grid;
  grid-template-rows: 1fr auto;
}
.image-dialog::backdrop {
  background: rgba(36, 35, 33, 0.6);
}
.image-dialog img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.image-dialog .round-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}
.image-dialog p {
  padding: 16px;
  font-weight: 600;
  text-align: center;
}

/* Tablet */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-facts li:nth-child(3) {
    border-left: 0;
    padding-left: var(--gutter);
  }
  .hero-facts li:nth-child(n + 3) {
    border-top: 1px solid rgba(74, 45, 38, 0.2);
  }
}

/* Mobile */
@media (max-width: 860px) {
  :root {
    --header: 64px;
    --radius: 20px;
  }
  body {
    font-size: 16px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .wordmark {
    font-size: 1.7rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'photo' 'facts';
    grid-template-rows: auto;
    min-height: 0;
  }
  .hero-copy {
    gap: 20px;
    padding-top: calc(var(--header) + 28px);
    padding-bottom: 32px;
  }
  .hero-photo {
    aspect-ratio: 4 / 5;
  }
  .hero-facts li {
    padding: 16px var(--gutter);
  }
  .hero-facts li + li {
    padding-left: var(--gutter);
  }

  .product {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-panel {
    position: static;
  }

  .temperature-inner,
  .layers,
  .faq {
    grid-template-columns: 1fr;
  }
  .temperature-photo {
    aspect-ratio: 5 / 4;
  }
  .temperature-switch {
    width: 100%;
  }
  .temperature-switch button {
    flex: 1;
    justify-content: center;
  }

  .reason-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reason-grid::-webkit-scrollbar {
    display: none;
  }
  .reason {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .touch-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-position: 20% 50%;
  }
  .touch-copy h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .detail-cards,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 240, 232, 0.96);
    box-shadow: 0 -1px 0 var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .mobile-bar.is-visible {
    transform: none;
  }
  .mobile-bar span {
    display: grid;
    font-weight: 700;
    line-height: 1.2;
  }
  .mobile-bar small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
  }
  .mobile-bar .button {
    min-height: 48px;
  }
  .site-footer {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* Keep colour and opacity changes; drop travel and scaling. */
  .button:active:not(:disabled),
  .round-button:active,
  .colour-swatches label:active,
  .tabs-list button:active,
  .temperature-switch button:active,
  .gallery-thumbs button:active,
  .cart-link:active,
  .menu-toggle:active,
  .text-link:hover .icon,
  .reason:hover .reason-photo img,
  .detail-cards article:hover .detail-photo img {
    transform: none;
  }
}

/* Theme additions */
slou-header,
slou-gallery,
slou-product-form,
slou-temperature {
  display: block;
}
.tone-sky {
  background: var(--sky);
  color: var(--chocolate);
}
.tone-milk {
  background: var(--milk);
  color: var(--chocolate);
}
.tone-butter {
  background: var(--butter);
  color: var(--chocolate);
}
.tone-burgundy {
  background: var(--burgundy);
  color: var(--milk);
}
.tone-chocolate {
  background: var(--chocolate);
  color: var(--milk);
}
.tone-burgundy .button-dark,
.tone-chocolate .button-dark {
  background: var(--milk);
  color: var(--chocolate);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.desktop-nav + .header-actions {
  margin-left: 0;
}
.site-header .header-actions {
  margin-left: auto;
}
.desktop-nav {
  margin-left: auto;
  margin-right: 12px;
}
.cart-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
}
.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--milk);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.site-header.is-solid {
  background: rgba(243, 240, 232, 0.94);
  box-shadow: 0 1px 0 var(--line);
}
body:not(.template-index):not(.template-product) main {
  padding-top: var(--header);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--stone);
}
.temperature-image,
.temperature-image img {
  width: 100%;
  height: 100%;
}
.temperature-image img {
  object-fit: cover;
}
.temperature-panel {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.temperature-panel[hidden],
.temperature-image[hidden] {
  display: none;
}
.temperature-copy > .temperature-panel h2 {
  font-size: clamp(2.4rem, 5.2vw, 5rem);
}

.dynamic-checkout {
  margin-top: 10px;
}
.dynamic-checkout .shopify-payment-button__button {
  min-height: 52px;
  border-radius: 999px;
  overflow: hidden;
}
.product-form {
  display: grid;
  gap: 18px;
}
.buy-button {
  margin-top: 4px;
}

.rte > * + * {
  margin-top: 12px;
}
.rte ul {
  display: grid;
  gap: 8px;
  padding-left: 1.1em;
  list-style: disc;
}
.rte strong {
  color: var(--chocolate);
}
.product-facts b {
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid rgba(243, 240, 232, 0.2);
  font-size: 0.85rem;
  opacity: 0.85;
}
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.payment-icons svg {
  width: 38px;
  height: 24px;
}
.footer-wordmark {
  margin-bottom: 0;
  line-height: 0.82;
}

/* Cart */
.cart {
  padding-block: clamp(48px, 7vw, 96px);
}
.cart h1 {
  margin-bottom: 32px;
  font-size: var(--h2);
}
.cart-empty {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.cart-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.cart-items {
  border-top: 1px solid var(--line);
}
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-image {
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
}
.cart-item-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.cart-item-title {
  font-weight: 700;
  text-decoration: none;
}
.cart-item-variant,
.cart-note {
  color: var(--muted);
  font-size: 0.92rem;
}
.cart-item-price {
  margin-top: 6px;
  font-weight: 600;
}
.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.cart-qty {
  width: 72px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: inherit;
  font: inherit;
}
.cart-summary {
  position: sticky;
  top: calc(var(--header) + 24px);
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}
.cart-update {
  justify-self: center;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Password page */
.password-page {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: 64px;
}
.password-page .section-shell {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.password-page h1 {
  max-width: 10ch;
}
.password-login summary {
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.password-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.password-row input {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--chocolate);
  border-radius: 999px;
  background: var(--paper);
  color: var(--chocolate);
  font: inherit;
}

/* Generic pages (policies, 404, search…) */
.page-width,
.shopify-policy__container {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}

@media (max-width: 860px) {
  .cart-form {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 72px 1fr;
  }
  .cart-item-actions {
    grid-column: 2;
    justify-items: start;
    grid-auto-flow: column;
    align-items: center;
    gap: 16px;
  }
}

/* Page: Por qué SLOU */
slou-tabs {
  display: block;
}
.intro {
  padding-block: clamp(48px, 7vw, 104px);
}
.intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.intro-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.intro h1 {
  max-width: 10ch;
}
.intro-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts {
  padding-block: clamp(72px, 9vw, 128px);
}
.facts-head {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.facts-lede,
.tabs-lede,
.seasons-lede {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  opacity: 0.85;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1.5px solid currentColor;
}
.fact {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 24px 8px 0;
}
.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.fact dt {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.fact dd {
  display: grid;
  gap: 6px;
  margin: 0;
}
.fact strong {
  font-size: 1.15rem;
  font-weight: 700;
}
.fact span {
  color: var(--muted);
}
.tone-burgundy .fact span,
.tone-chocolate .fact span {
  color: inherit;
  opacity: 0.8;
}

.tabs-section {
  padding-block: clamp(72px, 9vw, 128px);
}
.tabs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.tabs-list {
  display: grid;
  border-top: 1.5px solid currentColor;
}
.tabs-list button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 64px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(74, 45, 38, 0.2);
  background: none;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: left;
  cursor: pointer;
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.16s var(--ease-out);
}
.tabs-list button:hover,
.tabs-list button[aria-selected='true'] {
  opacity: 1;
}
.tab-index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}
.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}
.tab-panel[hidden] {
  display: none;
}
.tab-panel:focus-visible {
  outline-offset: 8px;
}
.tab-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.tab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tab-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-bottom: 8px;
}
.tab-copy h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.seasons {
  padding-block: clamp(72px, 9vw, 128px);
  overflow: hidden;
}
.seasons-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.seasons-track::-webkit-scrollbar {
  display: none;
}
.season {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 340px;
  padding: 24px;
  border-radius: var(--radius);
  scroll-snap-align: start;
}
.season.tone-milk {
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.season-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.season-label {
  font-size: 1rem;
  font-weight: 700;
}
.season h3 {
  align-self: end;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.season p {
  opacity: 0.85;
}

@media (max-width: 1080px) {
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .tab-panel {
    grid-template-columns: 1fr;
  }
  .tab-photo {
    aspect-ratio: 5 / 4;
  }
}
@media (max-width: 860px) {
  .intro-inner,
  .tabs-layout {
    grid-template-columns: 1fr;
  }
  .intro-photo {
    aspect-ratio: 5 / 4;
  }
  .tabs-list {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    border-top: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs-list::-webkit-scrollbar {
    display: none;
  }
  .tabs-list button {
    flex: none;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0.85;
  }
  .tabs-list button[aria-selected='true'] {
    background: var(--chocolate);
    border-color: var(--chocolate);
    color: var(--milk);
    opacity: 1;
  }
  .tab-index {
    display: none;
  }
  .seasons-track {
    grid-auto-columns: 78%;
  }
}
@media (max-width: 520px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact,
  .fact + .fact {
    padding: 22px 0 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

.moments li.is-highlight {
  color: var(--burgundy);
}
.tone-burgundy .moments li.is-highlight,
.moments.tone-burgundy li.is-highlight {
  color: var(--butter);
}

/* ---------- Feedback (emil-design-eng) ---------- */
.button:active:not(:disabled),
.round-button:active,
.colour-swatches label:active,
.tabs-list button:active,
.temperature-switch button:active,
.gallery-thumbs button:active,
.cart-link:active,
.menu-toggle:active {
  transform: scale(0.97);
}
.round-button,
.colour-swatches label,
.temperature-switch button,
.gallery-thumbs button,
.cart-link {
  transition:
    transform 0.16s var(--ease-out),
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .button-dark:hover {
    background: var(--ink);
  }
  .text-link:hover .icon {
    transform: translateX(3px);
  }
  .reason:hover .reason-photo img,
  .detail-cards article:hover .detail-photo img {
    transform: scale(1.03);
  }
}
.text-link .icon,
.reason-photo img,
.detail-photo img {
  transition: transform 0.5s var(--ease-out);
}

/* ---------- Grain: the manual asks for it ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.18 0 0 0 0 0.15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Motion (only when the visitor allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Signature move: one orchestrated hero entrance */
  .hero-copy > *,
  .intro-copy > * {
    animation: slou-rise 0.9s var(--ease-out) both;
  }
  .hero-copy > :nth-child(2),
  .intro-copy > :nth-child(2) {
    animation-delay: 80ms;
  }
  .hero-copy > :nth-child(3),
  .intro-copy > :nth-child(3) {
    animation-delay: 160ms;
  }
  .hero-copy > :nth-child(4),
  .intro-copy > :nth-child(4) {
    animation-delay: 240ms;
  }
  .hero-photo img,
  .intro-photo img {
    animation: slou-settle 1.6s var(--ease-out) both;
  }
  .hero-facts li {
    animation: slou-rise 0.8s var(--ease-out) both;
    animation-delay: calc(320ms + var(--i, 0) * 70ms);
  }

  /* Section entrances, staggered, once (script adds .motion) */
  .motion [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .motion [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  /* Photos open like a curtain rather than fade */
  .motion [data-reveal='photo'] {
    opacity: 1;
    transform: none;
    clip-path: inset(10% 6% 10% 6% round var(--radius));
    transition: clip-path 1s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .motion [data-reveal='photo'] img {
    transform: scale(1.08);
    transition: transform 1.2s var(--ease-out);
  }
  .motion [data-reveal='photo'].is-in {
    clip-path: inset(0 0 0 0 round var(--radius));
  }
  .motion [data-reveal='photo'].is-in img {
    transform: none;
  }

  /* One moving picture: the sofa drifts with the scroll */
  @supports (animation-timeline: view()) {
    .touch-photo {
      overflow: hidden;
    }
    .touch-photo img {
      animation: slou-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }

  /* State changes: blur bridges the crossfade */
  .is-entering {
    animation: slou-swap 0.36s var(--ease-out);
  }
}

@keyframes slou-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes slou-settle {
  from {
    transform: scale(1.08);
  }
}
@keyframes slou-drift {
  from {
    transform: scale(1.14) translateY(-4%);
  }
  to {
    transform: scale(1.04) translateY(4%);
  }
}
@keyframes slou-swap {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(6px);
  }
}

/* ---------- Layers: drawn exploded view (hug-layers) ---------- */
.hug-layers {
  --e: clamp(0, calc(var(--p, 0) * 1.7 - 0.15), 1);
  height: 240svh;
  background: var(--paper);
}
.hug-layers-stage {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 32px);
  align-items: center;
  height: 100svh;
  padding: var(--header) var(--gutter) 0;
  overflow: hidden;
}
.hug-layers-copy {
  grid-column: 1 / span 5;
  display: grid;
  gap: clamp(28px, 4vh, 48px);
}
.hug-layers-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}
.hug-layers-list {
  display: grid;
  gap: clamp(14px, 2.4vh, 24px);
  counter-reset: layer;
}
.hug-layers-list li {
  display: grid;
  grid-template-columns: 2.2em 1fr;
  column-gap: 8px;
  counter-increment: layer;
}
.hug-layers-list li::before {
  content: counter(layer);
  grid-row: span 2;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}
.hug-layers-list h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hug-layers-list p {
  color: var(--muted);
}

.hug-explode {
  grid-column: 6 / span 7;
  display: grid;
  place-items: center;
  height: 100%;
  perspective: 2600px;
}
.hug-explode-space {
  position: relative;
  width: min(44vw, 640px);
  aspect-ratio: 1618 / 882;
  transform: translateY(16%) rotateX(56deg) rotateZ(-30deg);
  transform-style: preserve-3d;
}
.slab {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc((3 - var(--n)) * var(--e) * clamp(70px, 9vw, 130px) - var(--n) * 6px));
}
.slab > i,
.slab > b {
  position: absolute;
  left: 2.6%;
  top: 5%;
  width: 81.5%;
  height: 79.5%;
  border-radius: 17% / 31%;
}
.slab > i {
  transform: translateZ(calc(var(--k) * -3px));
}
.slab > b {
  transform: translateZ(0);
}
.slab-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(1px);
}
.slab-top > i { background: #8e8c88; }
.slab-foam > b { background: #efe3c8; }
.slab-foam > i { background: #d8c7a2; }
.slab-cotton > b { background: #faf8f3; }
.slab-cotton > i { background: #ddd7cc; }
.slab-back > b { background: #57544f; }
.slab-back > i { background: #3d3a36; }

@media (max-width: 860px) {
  .hug-layers {
    height: auto;
  }
  .hug-layers-stage {
    position: relative;
    grid-template-columns: 1fr;
    height: auto;
    padding: clamp(72px, 9vw, 128px) var(--gutter);
    gap: 24px;
  }
  .hug-layers-copy,
  .hug-explode {
    grid-column: 1;
  }
  .hug-explode {
    grid-row: 2;
    height: 92vw;
    align-items: end;
  }
  .hug-explode-space {
    width: 64vw;
    transform: translateY(-10%) rotateX(56deg) rotateZ(-30deg);
  }
  .slab {
    transform: translateZ(calc((3 - var(--n)) * var(--e) * 46px - var(--n) * 4px));
  }
  .hug-layers-list {
    grid-row: auto;
  }
}
}

/* Cards left in the old layers section, now without their own heading */
.details:not(:has(.section-head)) {
  padding-top: clamp(48px, 6vw, 80px);
}

/* ---------- Catalogue: several products ---------- */
slou-disclosure,
slou-carousel {
  display: block;
}
.tone-stone {
  background: var(--stone);
  color: var(--chocolate);
}
.tone-paper {
  background: var(--paper);
  color: var(--chocolate);
}

/* Header products menu */
.nav-products-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  cursor: pointer;
}
.nav-products-toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease-out);
}
.nav-products-toggle[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}
.products-panel {
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  display: grid;
  gap: 20px;
  padding: 24px var(--gutter) 32px;
  background: var(--milk);
  box-shadow: 0 1px 0 var(--line);
}
.products-panel[hidden] {
  display: none;
}
.products-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}
.products-panel .text-link {
  justify-self: start;
  max-width: var(--max);
}
.site-header.products-open {
  background: var(--milk);
  box-shadow: 0 1px 0 var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .products-panel:not([hidden]) {
    animation: slou-panel 0.28s var(--ease-out);
  }
}
@keyframes slou-panel {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.mobile-menu-label {
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.mobile-products {
  display: grid;
  margin-bottom: 8px;
}
.mobile-products a {
  min-height: 48px;
  font-size: 1.15rem;
}
.mobile-products small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Product card */
.product-card {
  display: grid;
  align-content: start;
  gap: 4px;
}
.product-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: var(--radius);
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-media .product-art {
  width: 84%;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}
.product-card-media .product-art-photo {
  width: 92%;
}
.product-card h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.product-card h3 a {
  text-decoration: none;
}
.product-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.product-card {
  position: relative;
}
.product-card-kind {
  color: var(--muted);
  font-size: 0.95rem;
}
.product-card-price {
  font-weight: 600;
}
.product-card-form,
.product-card > .product-card-body > .button {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}
.product-card-body > .button,
.product-card-form .button {
  width: 100%;
  min-height: 46px;
}
.product-card.is-compact {
  gap: 2px;
}
.product-card.is-compact .product-card-media {
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: 16px;
}
.product-card.is-compact h3 {
  font-size: 1rem;
  letter-spacing: -0.015em;
}
.product-card.is-compact .product-card-kind {
  display: none;
}
.product-card.is-compact .product-card-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.tone-burgundy .product-card-price,
.tone-chocolate .product-card-price {
  color: inherit;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-art {
    transform: scale(1.04);
  }
  .product-card:hover h3 a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* Carousel */
.carousel {
  padding-block: clamp(72px, 9vw, 128px);
}
.carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.carousel-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}
.carousel-nav {
  display: flex;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.carousel-nav .round-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 3.4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline-offset: 6px;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track > * {
  scroll-snap-align: start;
}

/* Rituals: products grouped by need */
.rituals {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  padding-bottom: clamp(72px, 9vw, 128px);
}
.rituals .section-head {
  margin-bottom: clamp(20px, 3vw, 40px);
}
.ritual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
}
.ritual-copy {
  display: grid;
  gap: 14px;
}
.ritual-copy .icon {
  width: 32px;
  height: 32px;
}
.ritual-copy h3 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.ritual-copy p {
  max-width: 34ch;
  font-size: 1.05rem;
}
.ritual-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.ritual .product-card-media {
  border-radius: 16px;
}
.ritual .product-card-price {
  color: inherit;
  opacity: 0.8;
}

/* Featured product */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(92svh, 900px);
}
.feature-photo {
  overflow: hidden;
}
.feature-photo img,
.feature-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(40px, 6vw, 96px) var(--gutter);
}
.feature-text {
  max-width: 48ch;
  font-size: 1.1rem;
}
.feature-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  max-width: 520px;
}
.feature-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-facts .icon {
  flex: none;
}
.feature-buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.feature-price {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Product page: drawing while there are no photos */
.gallery-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.gallery-art .product-art {
  width: 78%;
  height: auto;
}

/* Product story */
.story-intro {
  padding-block: clamp(72px, 9vw, 128px);
}
.story-intro h2 {
  max-width: 14ch;
}
.story-lede {
  max-width: 56ch;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}
.story-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
}
.story-highlights li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 18px;
  border-top: 1.5px solid currentColor;
}
.story-highlights h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.story-highlights p {
  opacity: 0.82;
}
.story-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(72px, 9vw, 128px);
}
.story-specs h2 {
  grid-row: span 2;
}
.story-specs dl {
  display: grid;
  margin: 0;
}
.story-specs dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.story-specs dt {
  font-weight: 650;
}
.story-specs dd {
  margin: 0;
  color: var(--muted);
}
.story-note {
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 24px) / 2.3);
  }
  .story-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .carousel-head {
    display: block;
  }
  .carousel-nav {
    display: none;
  }
  .carousel-track {
    grid-auto-columns: 74%;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .ritual {
    grid-template-columns: 1fr;
  }
  .ritual-products {
    display: flex;
    gap: 12px;
    margin-inline: calc(clamp(24px, 4vw, 56px) * -1);
    padding-inline: clamp(24px, 4vw, 56px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ritual-products::-webkit-scrollbar {
    display: none;
  }
  .ritual-products > li {
    flex: 0 0 44%;
    scroll-snap-align: start;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-photo {
    aspect-ratio: 4 / 5;
  }
  .story-specs {
    grid-template-columns: 1fr;
  }
  .story-specs h2 {
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .story-highlights {
    grid-template-columns: 1fr;
  }
  .feature-facts {
    grid-template-columns: 1fr;
  }
}
.ritual .product-card-media {
  background: rgba(248, 246, 241, 0.88);
  color: var(--chocolate);
}

/* ---------- Blog ---------- */
.blog-head {
  padding-block: clamp(48px, 7vw, 104px) clamp(36px, 5vw, 64px);
}
.blog-head-inner {
  display: grid;
  gap: 22px;
}
.blog-head h1 {
  max-width: 14ch;
}
.blog-intro {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
}
.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.blog-topics a {
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.blog-topics a[aria-current='page'],
.blog-topics a:hover {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--milk);
}
.blog-list {
  padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 128px);
}
.blog-empty {
  color: var(--muted);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
}
.blog-grid > .is-featured {
  grid-column: 1 / -1;
}
.blog-list .blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.blog-pagination {
  margin-top: clamp(48px, 6vw, 80px);
  font-weight: 600;
}
.blog-pagination .page,
.blog-pagination .next,
.blog-pagination .prev {
  margin-right: 14px;
}

/* Article card */
.article-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
}
.article-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.article-card-body {
  display: grid;
  gap: 10px;
}
.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.article-card h2 {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.article-card h2 a {
  text-decoration: none;
}
.article-card h2 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.article-card-excerpt {
  color: var(--muted);
}
.article-card.is-featured {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.article-card.is-featured h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
}
.article-card.is-featured .article-card-excerpt {
  font-size: 1.1rem;
}
@media (hover: hover) and (pointer: fine) {
  .article-card:hover .article-card-media img {
    transform: scale(1.03);
  }
  .article-card:hover h2 a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}

/* Article */
.article-head {
  display: grid;
  justify-items: start;
  gap: 22px;
  max-width: 1100px;
  padding-block: clamp(36px, 5vw, 72px) clamp(32px, 4vw, 56px);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-head h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  max-width: 18ch;
}
.article-lede {
  max-width: 44ch;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--stone);
}

.article-body {
  max-width: 700px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  font-size: 1.12rem;
  line-height: 1.65;
}
.article-body > * + * {
  margin-top: 1.1em;
}
.article-body h2 {
  margin-top: 2.2em;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.article-body h3 {
  margin-top: 1.8em;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.article-body h2 + *,
.article-body h3 + * {
  margin-top: 0.6em;
}
.article-body a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover {
  text-decoration-thickness: 2px;
}
.article-body strong {
  font-weight: 650;
}
.article-body ul,
.article-body ol {
  display: grid;
  gap: 0.5em;
  padding-left: 1.3em;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li::marker {
  color: var(--burgundy);
  font-weight: 700;
}
.article-body blockquote {
  margin: 1.8em 0;
  padding: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--burgundy);
}
.article-body blockquote p {
  margin: 0;
}
.article-body figure {
  margin: 2em 0;
}
.article-body figure img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--stone);
}
.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.article-body .consejo,
.article-body .aviso {
  margin: 2em 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  font-size: 1.02rem;
}
.article-body .consejo {
  background: var(--butter);
}
.article-body .aviso {
  background: var(--sky);
}
.article-body .consejo > * + *,
.article-body .aviso > * + * {
  margin-top: 0.7em;
}
.article-body .consejo h3,
.article-body .aviso h3 {
  margin-top: 0;
  font-size: 1.2rem;
}
.article-body .fuentes {
  margin-top: 3em;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.article-body .fuentes h2 {
  margin: 0 0 12px;
  color: var(--chocolate);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.article-body .fuentes ol {
  gap: 0.6em;
}
.article-body .fuentes li::marker {
  color: var(--muted);
}

.article-author {
  display: grid;
  gap: 4px;
  max-width: 700px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 28px var(--gutter) 0;
}
.article-author::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 24px;
  background: var(--line);
}
.article-author-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.article-author-role {
  color: var(--muted);
  font-weight: 600;
}
.article-author-text {
  margin-top: 10px;
  color: var(--muted);
}

.article-products,
.article-related {
  padding-top: clamp(72px, 9vw, 128px);
}
.article-related {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.article-products > h2,
.article-related > h2 {
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}
.article-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

@media (max-width: 1080px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .blog-grid,
  .blog-list .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-card.is-featured {
    grid-template-columns: 1fr;
  }
  .article-body {
    font-size: 1.05rem;
  }
  .article-cover img {
    aspect-ratio: 4 / 3;
  }
  .article-products-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .article-products-grid > li {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .article-card-media img {
    transition: none;
  }
}
