/* Base styles – direction A "Galleri". Tokens: snippets/css-variables.liquid */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

html:has(dialog[open], details.menu-drawer[open], .facets__sheet.is-open) {
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  flex: 1;
}

[hidden] {
  display: none !important;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-weight: inherit;
  overflow-wrap: break-word;
  text-wrap: balance;
}

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

::selection {
  background: var(--ink);
  color: var(--on-ink);
}

/* ---------- Page transitions (cross-document View Transitions) ---------- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 280ms;
  animation-timing-function: var(--ease);
}

.site-header {
  view-transition-name: site-header;
}

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

/* ---------- Typography ---------- */
.display,
.h1,
.h2,
.h3-serif {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(52px, 10.5vw, 128px);
  line-height: 0.9;
}
.h1 {
  font-size: clamp(40px, 6vw, 72px);
}
.h2 {
  font-size: clamp(34px, 4.2vw, 56px);
}
.h3-serif {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
}

.display em,
.h1 em,
.h2 em {
  font-style: italic;
  color: var(--stone);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
}
@media (min-width: 990px) {
  .lead {
    font-size: 19px;
  }
}

.text-muted {
  color: var(--muted);
}
.text-small {
  font-size: 13px;
}

.rte > * + * {
  margin-top: var(--space-4);
}
.rte h2,
.rte h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin-top: var(--space-6);
}
.rte h2 {
  font-size: 32px;
}
.rte h3 {
  font-size: 24px;
}
.rte ul,
.rte ol {
  padding-left: 1.25em;
}
.rte a {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
}
.skip-link:focus {
  top: var(--space-2);
}

/* ---------- Layout ---------- */
.page-width {
  width: 100%;
  max-width: calc(var(--page-width) + var(--page-margin) * 2);
  margin-inline: auto;
  padding-inline: var(--page-margin);
}
.page-width--narrow {
  max-width: calc(760px + var(--page-margin) * 2);
}

.section {
  padding-block: var(--space-8);
}
@media (min-width: 990px) {
  .section {
    padding-block: var(--space-10);
  }
}
.section--tight {
  padding-block: var(--space-6);
}
@media (min-width: 990px) {
  .section--tight {
    padding-block: var(--space-8);
  }
}
.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section--tile {
  background: var(--tile);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
@media (min-width: 990px) {
  .section-head {
    margin-bottom: var(--space-7);
  }
}
.section-head p {
  margin-top: var(--space-3);
  color: var(--muted);
}
.section-head__end {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.link-underline {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-underline:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Buttons & fields ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.button:hover {
  background: #000;
}
.button:active {
  transform: scale(0.98);
}
.button .arrow {
  transition: transform var(--dur) var(--ease);
}
.button:hover .arrow {
  transform: translateX(3px);
}
.button--secondary {
  background: transparent;
  color: var(--ink);
}
.button--secondary:hover {
  background: var(--ink);
  color: var(--on-ink);
}
.button--light {
  background: var(--on-ink);
  border-color: var(--on-ink);
  color: var(--ink);
}
.button--light:hover {
  background: #fff;
}
.button--full {
  width: 100%;
}
.button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--muted);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
textarea.field {
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  min-height: 120px;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.form-message {
  font-size: 14px;
  margin-top: var(--space-2);
}
.form-message--error {
  color: var(--sale);
}

/* ---------- Utility bar ---------- */
.utility {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.utility__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 34px;
  text-align: center;
}
.utility a {
  text-decoration: none;
}
.utility__start,
.utility__end,
.utility__extra {
  display: none;
}
@media (min-width: 990px) {
  .utility__inner {
    grid-template-columns: 1fr auto 1fr;
    min-height: 40px;
  }
  .utility__start,
  .utility__end {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
  .utility__start {
    font-weight: 600;
  }
  .utility__end {
    justify-content: flex-end;
  }
  .utility__end a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
  }
  .utility__end svg {
    width: 18px;
    height: 18px;
  }
  .utility__extra {
    display: inline;
  }
}
.utility__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, transparent 5px, #FECC02 5px, #FECC02 8px, transparent 8px),
    linear-gradient(180deg, transparent 5.5px, #FECC02 5.5px, #FECC02 8.5px, transparent 8.5px),
    #006AA7;
}
.utility__sep {
  opacity: 0.4;
  margin-inline: var(--space-1);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
}
/* backdrop-filter makes the header a containing block for fixed children – drop it while the drawer is open */
.site-header:has(details.menu-drawer[open]) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  view-transition-name: none;
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
}
.site-header__start {
  display: flex;
  align-items: center;
}
.site-header__logo {
  justify-self: center;
}
.site-header__logo-desktop,
.site-header__nav {
  display: none;
}
.site-header__icons {
  justify-self: end;
  display: flex;
  align-items: center;
}
.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: none;
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease);
}
.icon-button:hover {
  background: var(--tile);
}
.icon-button svg {
  width: 22px;
  height: 22px;
}
.cart-count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.cart-count.is-bumped {
  animation: bump 420ms var(--ease-out);
}
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

@media (min-width: 990px) {
  .site-header__inner {
    gap: var(--space-6);
  }
  .site-header__logo {
    display: none;
  }
  .site-header__logo-desktop {
    display: block;
  }
  .site-header__nav {
    display: flex;
    gap: var(--space-5);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .site-header__nav a {
    position: relative;
    text-decoration: none;
    padding-block: var(--space-2);
  }
  .site-header__nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 320ms var(--ease-out);
  }
  .site-header__nav a:hover::after,
  .site-header__nav a[aria-current='page']::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .site-header__nav a.is-sale {
    color: var(--sale);
  }
  .menu-drawer {
    display: none;
  }
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.logo__text {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo img {
  width: var(--logo-width, 140px);
  height: auto;
}
.logo__mark {
  display: block;
  height: 26px;
  width: auto;
}
@media (min-width: 990px) {
  .logo__mark {
    height: 30px;
  }
}
@media (min-width: 990px) {
  .logo__text {
    font-size: 32px;
  }
}

/* Mobile menu drawer */
.menu-drawer > summary {
  list-style: none;
}
.menu-drawer > summary::-webkit-details-marker {
  display: none;
}
.menu-drawer__panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: var(--space-3) var(--page-margin) var(--space-7);
  overflow-y: auto;
}
.menu-drawer[open] .menu-drawer__panel {
  animation: drawer-in 360ms var(--ease-out);
}
@keyframes drawer-in {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: none; }
}
.menu-drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}
.menu-drawer__links {
  list-style: none;
  padding: 0;
}
.menu-drawer__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.05;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-drawer__links a::after {
  content: '→';
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
}
.menu-drawer__foot {
  margin-top: auto;
  padding-top: var(--space-6);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: var(--on-ink);
  padding-block: var(--space-8) var(--space-5);
}
.site-footer a {
  text-decoration: none;
  opacity: 0.85;
}
.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
.site-footer :focus-visible {
  outline-color: var(--on-ink);
}
.site-footer .logo,
.site-footer .logo__text {
  color: var(--on-ink);
  opacity: 1;
}
.site-footer .logo__text {
  font-size: 44px;
}
.site-footer .logo__mark {
  height: 44px;
}
.site-footer__grid {
  display: grid;
  gap: var(--space-7) var(--space-6);
}
@media (min-width: 750px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.site-footer__intro {
  margin-top: var(--space-4);
  max-width: 34ch;
  opacity: 0.75;
}
.site-footer h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  opacity: 0.6;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer li + li {
  margin-top: var(--space-2);
}
.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.site-footer__social svg {
  width: 22px;
  height: 22px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(247, 245, 241, 0.15);
  font-size: 13px;
  opacity: 0.8;
}
.site-footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}
.payment-icons svg {
  width: 38px;
  height: 24px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-5) var(--space-7);
}
.hero__text > * + * {
  margin-top: var(--space-5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__room {
  margin-inline: calc(var(--page-margin) * -1);
}
@media (min-width: 750px) {
  .hero__room {
    margin-inline: 0;
  }
}
/* Rotating hero: every slide is a full hero (text + room), stacked in one grid cell and cross-faded */
.hero--slides {
  display: block;
}
.hero__slides {
  display: grid;
}
.hero__slide {
  grid-area: 1 / 1;
  display: grid;
  gap: var(--space-7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0s;
}
.hero__slide .hero__room {
  display: block;
}
.hero__dots {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.hero__dot {
  flex: 0 0 44px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero__dot-bar {
  display: block;
  height: 3px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__dot-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active .hero__dot-bar::after {
  transform: scaleX(1);
}
.hero--slides.is-playing .hero__dot.is-active .hero__dot-bar::after {
  animation: hero-progress var(--hero-interval, 7000ms) linear forwards;
}
.hero--slides.is-paused .hero__dot.is-active .hero__dot-bar::after {
  animation-play-state: paused;
}
@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (min-width: 990px) {
  .hero__slide {
    grid-template-columns: 0.8fr 1.3fr;
    align-items: center;
  }
  .hero__dots {
    margin-top: calc(var(--space-6) * -1);
    position: relative;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-active {
    transition: none;
  }
}
.hero__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-items: start;
}
.hero__media .media-frame:nth-child(2) {
  margin-top: var(--space-8);
}
@media (min-width: 990px) {
  .hero {
    grid-template-columns: 0.8fr 1.3fr;
    gap: var(--space-7);
    align-items: center;
    padding-block: var(--space-6) var(--space-8);
  }
  .hero .display {
    font-size: clamp(56px, 6.4vw, 112px);
  }
  .hero__media {
    gap: var(--space-5);
  }
  .hero__media .media-frame:nth-child(2) {
    margin-top: var(--space-10);
  }
}

.media-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--tile);
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--poster {
  box-shadow: 0 1px 2px rgba(21, 21, 21, 0.08), 0 24px 48px -24px rgba(21, 21, 21, 0.45);
}

/* ---------- Top list grid (no inner scrolling – only the page scrolls) ---------- */
.rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-3);
  list-style: none;
  padding: 0;
}
@media (min-width: 750px) {
  .rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-7) var(--space-5);
  }
}
@media (min-width: 1200px) {
  .rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- Product grid & card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-3);
  list-style: none;
  padding: 0;
}
@media (min-width: 750px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-7) var(--space-5);
  }
}
@media (min-width: 1200px) {
  .product-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--tile);
}
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), opacity 500ms var(--ease);
}
.card__media .card__img--hover {
  opacity: 0;
}
@media (hover: hover) {
  .card:hover .card__media img {
    transform: scale(1.035);
  }
  .card:hover .card__media .card__img--hover {
    opacity: 1;
  }
}
.card__badges {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: var(--space-1);
}
.badge {
  display: inline-block;
  background: var(--surface);
  color: var(--ink);
  padding: 3px var(--space-2);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge--sale {
  background: var(--sale);
  color: #fff;
}
.card__rank {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
  padding: 9px 13px 10px;
}
@media (min-width: 990px) {
  .card__rank {
    font-size: 28px;
    padding: 11px 15px 12px;
  }
}
.card__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
@media (min-width: 990px) {
  .card__info {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
  }
  .card__price {
    text-align: right;
  }
}
.card__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.card__title a {
  text-decoration: none;
}
.card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.card__price {
  font-size: 14px;
  white-space: nowrap;
}
.price__from {
  color: var(--muted);
}
.price__sale {
  color: var(--sale);
}
.price__compare {
  color: var(--muted);
  text-decoration: line-through;
  margin-left: var(--space-1);
}

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  list-style: none;
  padding: 0;
}
@media (min-width: 750px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }
}
.cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--tile);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1100ms var(--ease-out);
  z-index: -2;
}
.cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.66), rgba(10, 10, 10, 0) 58%);
}
.cat-tile__label {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-2);
}
.cat-tile__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1;
}
.cat-tile__arrow {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
  flex: none;
}
@media (hover: hover) {
  .cat-tile:hover img {
    transform: scale(1.05);
  }
  .cat-tile:hover .cat-tile__arrow {
    background: #fff;
    color: var(--ink);
    transform: rotate(-45deg);
  }
}

/* ---------- Set promo ---------- */
.set-promo {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.set-promo__text > * + * {
  margin-top: var(--space-5);
}
.set-promo__wall {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #DCD6CB;
  overflow: hidden;
}
.set-promo__wall .set-promo__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.set-promo__frames {
  position: absolute;
  inset: 14% 9% 18%;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 5%;
  align-items: center;
}
.set-promo__frames .media-frame {
  outline: 5px solid #1b1b1b;
  outline-offset: -1px;
}
.set-promo__wall::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: #C9C1B3;
}
.set-promo__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
  font-size: 15px;
}
.set-promo__price strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
}
.set-promo__list {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.set-promo__list li {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.set-promo__list li::before {
  content: '—';
  color: var(--stone);
}
@media (min-width: 990px) {
  .set-promo {
    grid-template-columns: 1.25fr 1fr;
    gap: var(--space-9);
  }
}

/* ---------- Trust ---------- */
.trust {
  display: grid;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}
@media (min-width: 750px) {
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .trust {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust li {
  border-top: 1px solid rgba(247, 245, 241, 0.35);
  padding-top: var(--space-4);
}
.trust__num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.trust h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.trust p {
  font-size: 15px;
  opacity: 0.75;
}

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 990px) {
  .newsletter {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: var(--space-8);
  }
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.newsletter-form .field {
  flex: 1 1 220px;
  min-width: 0;
}
.newsletter__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--space-3);
}

/* ---------- Scroll reveal & parallax ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  @supports (animation-timeline: view()) {
    .parallax img {
      animation: parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
      scale: 1.12;
    }
    @keyframes parallax {
      from { translate: 0 -5%; }
      to { translate: 0 5%; }
    }
  }
}

/* Above-the-fold intro: plays immediately (no observer), images never start invisible. */
@media (prefers-reduced-motion: no-preference) {
  .intro {
    animation: intro-up 900ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 90ms);
  }
}

/* ---------- Generic pages ---------- */
.page-header {
  padding-block: var(--space-8) var(--space-6);
}
.page-content {
  padding-bottom: var(--space-9);
}
/* FAQ: <details> written in the page editor become an accordion */
.page-content details {
  border-bottom: 1px solid var(--line);
}
.page-content details:first-of-type,
.page-content h2 + details {
  border-top: 1px solid var(--line);
}
.page-content > details + details {
  margin-top: 0;
}
.page-content summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding-block: var(--space-3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.page-content summary::-webkit-details-marker {
  display: none;
}
.page-content summary::after {
  content: '+';
  flex: none;
  font-size: 22px;
  font-weight: 400;
}
.page-content details[open] summary::after {
  content: '−';
}
.page-content details > :not(summary) {
  padding-bottom: var(--space-4);
}
.page-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
}
@media (max-width: 749px) {
  .page-content table {
    font-size: 14px;
  }
  .page-content th,
  .page-content td {
    min-width: 8.5em;
  }
}
.page-content th,
.page-content td {
  text-align: left;
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.page-content:has(+ .contact-form) {
  padding-bottom: var(--space-6);
}
.contact-form {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-9);
}
.contact-form__row {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 750px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-form__field {
  display: block;
}
.contact-form__note {
  font-size: 14px;
  color: var(--muted);
}
.contact-form .button {
  justify-self: start;
}
.empty-state {
  text-align: center;
  padding-block: var(--space-9);
}
.empty-state > * + * {
  margin-top: var(--space-4);
}

/* ---------- Campaign band (below the main nav) ---------- */
.campaign {
  background: #3A1614;
  color: #FBF4EE;
  text-align: center;
}
.campaign__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-block: var(--space-3);
  text-decoration: none;
}
.campaign__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.campaign__terms {
  font-size: 12px;
  opacity: 0.82;
}
.campaign__clock {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 990px) {
  .campaign__inner {
    padding-block: var(--space-4);
  }
  .campaign__title {
    font-size: 14px;
  }
}

/* ---------- Room mockup (photographed frames, posters projected into them) ---------- */
.mockup {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #D8D0C4;
}
@media (min-width: 750px) {
  .mockup {
    aspect-ratio: 4 / 3;
  }
}
.mockup__stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 4 / 3;
  transform: translateX(-50%);
}
@media (max-width: 749px) {
  .mockup--vagg-lutande .mockup__stage {
    /* on square mobile crops keep both frames in view */
    left: 52%;
  }
}
.mockup__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mockup__glass {
  position: absolute;
  transform-origin: 0 0;
  pointer-events: none;
  /* faint reflection in the glass, lightening the art like a real glazed frame */
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.16) 34%, rgba(255, 255, 255, 0.05) 46%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 40%);
  mix-blend-mode: screen;
}

/* ---------- Collection ---------- */
.collection__head {
  padding-block: var(--space-6) var(--space-6);
}
.collection__head > * + * {
  margin-top: var(--space-4);
}
@media (min-width: 990px) {
  .collection__head {
    padding-block: var(--space-7) var(--space-7);
  }
}
.collection__title {
  font-size: clamp(48px, 8vw, 104px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--muted);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.collection__count {
  font-size: 14px;
  margin: var(--space-4) 0 var(--space-5);
}
.demo-tag {
  display: inline-block;
  margin-left: var(--space-2);
  padding: 1px var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--tile);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* Toolbar sticks to the top while browsing. The header scrolls away (its section wrapper ends), so the toolbar
   sits at 0 – an offset of the header height left a see-through gap above it on mobile (2026-10-19). */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.toolbar:has(details[open], .facets__sheet.is-open) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--bg);
}
.toolbar__inner {
  min-height: 60px;
  display: flex;
  align-items: center;
}
.facets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
}
.facets__open {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.facets__open::-webkit-details-marker,
.facet__summary::-webkit-details-marker {
  display: none;
}
.facets__open svg {
  width: 18px;
  height: 18px;
}
.sort {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sort__select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 40px;
  padding: 0 38px 0 var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.sort svg {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Mobile: full-height sheet */
.facets__panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.facets__sheet:not(.is-open) .facets__panel {
  display: none;
}
.facets__sheet.is-open .facets__panel {
  animation: sheet-up 380ms var(--ease-out);
}
@keyframes sheet-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.facets__panel-head,
.facets__panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--page-margin);
}
.facets__panel-head {
  border-bottom: 1px solid var(--line);
}
.facets__panel-foot {
  border-top: 1px solid var(--line);
  padding-block: var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
}
.facets__panel-foot .button {
  flex: 1;
}
.facets__groups {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--page-margin);
}
.facet {
  border-bottom: 1px solid var(--line);
}
.facet__summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 56px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.facet__summary svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
  transition: transform var(--dur) var(--ease);
}
.facet[open] .facet__summary svg {
  transform: rotate(180deg);
}
.facet__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 11px;
  font-weight: 700;
}
.facet__body {
  padding-bottom: var(--space-4);
}
.facet__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2px;
}
.facet__list--swatch {
  grid-template-columns: repeat(2, 1fr);
}
.facet__option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 40px;
  cursor: pointer;
  font-size: 15px;
}
.facet__option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.facet__check {
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: var(--surface);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.facet__option input:checked + .facet__check {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23F7F5F1' stroke-width='2'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--ink);
}
.facet__option input:focus-visible + .facet__check,
.facet__option input:focus-visible + .facet__swatch {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.facet__swatch {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.facet__option input:checked + .facet__swatch {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink);
}
.facet__n {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.facet__option.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.facet__price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

/* Desktop: inline pill dropdowns instead of a sheet */
@media (min-width: 990px) {
  .facets__sheet {
    flex: 1;
  }
  .facets__sheet > .facets__open {
    display: none;
  }
  .facets__sheet .facets__panel,
  .facets__sheet:not(.is-open) .facets__panel {
    position: static;
    display: flex;
    flex-direction: row;
    background: none;
    animation: none;
  }
  .facets__panel-head {
    display: none;
  }
  .facets__panel-foot {
    border: 0;
    padding: 0 0 0 var(--space-3);
  }
  .facets__panel-foot .button {
    flex: none;
    min-height: 40px;
    font-size: 14px;
  }
  .facets__panel-foot [data-show-results],
  .facets__panel-foot [data-close-sheet] {
    display: none;
  }
  .facets__groups {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    overflow: visible;
    padding: 0;
  }
  .facet {
    position: relative;
    border: 0;
  }
  .facet__summary {
    min-height: 40px;
    padding: 0 var(--space-3) 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 14px;
    transition: border-color var(--dur) var(--ease);
  }
  .facet__summary:hover,
  .facet[open] .facet__summary {
    border-color: var(--ink);
  }
  .facet__summary svg {
    margin-left: var(--space-1);
    width: 16px;
    height: 16px;
  }
  .facet__body {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 5;
    min-width: 260px;
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--space-4);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px -18px rgba(21, 21, 21, 0.35);
    animation: pop 220ms var(--ease-out);
  }
  @keyframes pop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }
}

/* Active filter chips */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
}
.active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 34px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13px;
  text-decoration: none;
}
.active-filters__clear {
  font-size: 13px;
  text-decoration: underline;
  margin-left: var(--space-2);
}

/* Results loading state */
[data-results].is-loading {
  opacity: 0.45;
  transition: opacity 160ms var(--ease);
  pointer-events: none;
}

/* Load more */
.load-more {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding-block: var(--space-8) var(--space-9);
}
.load-more__status {
  font-size: 14px;
}
.load-more__bar {
  width: min(240px, 60%);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.load-more__bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 500ms var(--ease-out);
}

/* Top list: big placements, top 3 larger on desktop */
.product-grid--ranked .card__rank {
  font-size: 26px;
}
@media (min-width: 990px) {
  .product-grid--ranked {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .product-grid--ranked > li {
    grid-column: span 2;
  }
  .product-grid--ranked > li:nth-child(n + 4) {
    grid-column: span 2;
  }
  .product-grid--ranked > li:nth-child(-n + 3) .card__rank {
    font-size: 44px;
    padding: 14px 20px 16px;
  }
}
@media (min-width: 1200px) {
  .product-grid--ranked > li:nth-child(n + 4) {
    grid-column: span 1;
  }
  .product-grid--ranked {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ---------- Quick add on cards ---------- */
.quick-add {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -14px rgba(21, 21, 21, 0.5);
}
.quick-add__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.quick-add__sizes {
  display: flex;
  gap: var(--space-1);
}
.quick-add__btn {
  min-height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.quick-add__btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.quick-add__btn--wide {
  flex: 1;
}
.quick-add__btn[disabled] {
  opacity: 0.4;
  text-decoration: line-through;
}
.quick-add__btn.is-added {
  background: var(--ink);
  color: var(--on-ink);
}
.quick-plus {
  position: absolute;
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(21, 21, 21, 0.5);
}
.quick-plus svg {
  width: 20px;
  height: 20px;
}
@media (hover: hover) and (min-width: 990px) {
  .quick-plus {
    display: none;
  }
  .quick-add {
    display: flex;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--dur) var(--ease), transform 320ms var(--ease-out);
  }
  .card:hover .quick-add,
  .card:focus-within .quick-add {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Quick view dialog ---------- */
.qv-dialog {
  margin: auto;
  width: min(880px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  overflow: auto;
}
.qv-dialog::backdrop {
  background: rgba(21, 21, 21, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.qv-dialog[open] {
  animation: pop-in 320ms var(--ease-out);
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.qv-dialog__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 2;
  background: var(--surface);
}
.qv {
  display: grid;
}
@media (min-width: 750px) {
  .qv {
    grid-template-columns: 1fr 1fr;
  }
}
.qv__media {
  background: var(--tile);
  aspect-ratio: 3 / 4;
}
.qv__media img,
.qv__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qv__info {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-5);
}
.qv__info form {
  display: grid;
  gap: var(--space-4);
}
.qv__price {
  font-size: 20px;
}
.qv-dialog__loading {
  padding: var(--space-9);
  text-align: center;
  color: var(--muted);
}

/* Variant pills (product page + quick view) */
.option-group {
  border: 0;
  padding: 0;
}
.option-group legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.option-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.option-pill input:checked + span {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  font-weight: 600;
}
.option-pill input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Toast + fly-to-cart ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: calc(100% - 32px);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  animation: toast-in 420ms var(--ease-out);
}
.toast[hidden] {
  display: none;
}
.toast__link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--on-ink);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.fly {
  position: fixed;
  z-index: 95;
  pointer-events: none;
  border-radius: 6px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* ---------- Moved from legacy.css (qty, accordion, pagination, password, search) ---------- */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.qty button {
  width: 40px;
  height: 46px;
  border: 0;
  background: none;
  font-size: 18px;
}
.qty input {
  width: 36px;
  border: 0;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  background: none;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.accordion {
  border-top: 1px solid var(--color-line);
}
.accordion details {
  border-bottom: 1px solid var(--color-line);
}
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--color-primary);
}
.accordion details[open] summary::after {
  content: '−';
}
.accordion__body {
  padding-bottom: var(--space-4);
}


.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-7);
  list-style: none;
  padding: 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 var(--space-2);
  text-decoration: none;
}
.pagination .current {
  border-bottom: 2px solid var(--color-primary);
  font-weight: 600;
}


/* ---------- Password page ---------- */
.password {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--color-surface-alt);
}
.password__top {
  display: flex;
  justify-content: flex-end;
  padding: var(--space-4) var(--page-margin);
}
.password__main {
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-6) var(--page-margin);
}
.password__main > div > * + * {
  margin-top: var(--space-5);
}
.password__logo .logo__mark {
  width: 48px;
  height: 58px;
}
.password__logo {
  flex-direction: column;
  gap: var(--space-4);
}
.password__logo .logo__word {
  font-size: 40px;
}
.password dialog {
  border: 0;
  padding: var(--space-6);
  width: min(420px, calc(100% - 32px));
}
.password dialog::backdrop {
  background: rgba(31, 58, 95, 0.4);
}
.password dialog form > * + * {
  margin-top: var(--space-3);
}
.password__foot {
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  padding: var(--space-4);
}

/* ---------- Search ---------- */
.search-form {
  display: flex;
  gap: var(--space-2);
  max-width: 560px;
  margin-top: var(--space-4);
}
.search-form .field {
  flex: 1;
}
.search-results {
  list-style: none;
  padding: 0;
}

/* ---------- Product page ---------- */
.pdp {
  padding-block: var(--space-4) var(--space-8);
}
.pdp__crumbs {
  margin-bottom: var(--space-4);
}
.pdp__grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 990px) {
  .pdp__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }
  .pdp__info {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }
}
/* Gallery: swipe on mobile, stacked grid on desktop */
.pdp__slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  padding: 0;
  margin-inline: calc(var(--page-margin) * -1);
}
.pdp__slides::-webkit-scrollbar {
  display: none;
}
.pdp__slide {
  position: relative;
  scroll-snap-align: center;
  background: var(--tile);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.pdp__slide .pdp__img {
  width: 100%;
  height: 100%;
  /* never crop artwork */
  object-fit: contain;
}
/* Main slide: the poster is always shown whole, at its own 3:4 ratio, centred in the slide */
.pdp__slide--main {
  display: grid;
  place-items: center;
  container-type: size;
}
.pdp__poster {
  width: min(76cqw, 84cqh * 0.75);
  aspect-ratio: 3 / 4;
  box-shadow: 0 2px 4px rgba(21, 21, 21, 0.1), 0 30px 50px -26px rgba(21, 21, 21, 0.55);
}
.pdp__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp__slide--room .mockup {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: 100%;
}
.pdp__slide-tag {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  padding: 4px var(--space-3);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  font-size: 12px;
  font-weight: 600;
}
.pdp__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-3);
}
.pdp__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pdp__dots span.is-active {
  background: var(--ink);
  transform: scale(1.3);
}
@media (min-width: 990px) {
  .pdp__slides {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: auto;
    gap: var(--space-3);
    overflow: visible;
    margin: 0;
  }
  .pdp__slide--main,
  .pdp__slide--room {
    grid-column: 1 / -1;
  }
  .pdp__slide--main {
    aspect-ratio: 5 / 5.4;
  }
  .pdp__slide--room {
    aspect-ratio: 4 / 3;
  }
  .pdp__dots {
    display: none;
  }
}

.pdp__info {
  display: grid;
  gap: var(--space-3);
}
.pdp__title {
  font-size: clamp(40px, 4.4vw, 64px);
}
.pdp__price {
  font-size: 24px;
  margin-top: var(--space-2);
}
.pdp__form {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.pdp__legend {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}
.pdp__guide-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
}
.pdp__sizes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.option-pill--priced span {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 60px;
  border-radius: 10px;
  font-weight: 600;
}
.option-pill--priced small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.pdp__buy {
  display: flex;
  gap: var(--space-2);
}
.pdp__add {
  flex: 1;
  min-height: 52px;
  font-size: 16px;
}
.pdp__buy .qty {
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.pdp__usps {
  list-style: none;
  padding: var(--space-4) 0;
  margin-top: var(--space-2);
  display: grid;
  gap: var(--space-3);
  border-block: 1px solid var(--line);
  font-size: 14px;
}
.pdp__usps li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.pdp__usps svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.pdp__accordion {
  margin-top: var(--space-2);
}
.pdp__rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
}
.stars {
  --r: 0;
  width: 84px;
  height: 16px;
  background: linear-gradient(90deg, var(--ink) calc(var(--r) / 5 * 100%), var(--line) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 16'%3E%3Cg%3E%3Cpath id='s' d='M8 1l2 4.5 5 .5-3.8 3.3 1.1 4.9L8 11.7 3.7 14.2l1.1-4.9L1 6l5-.5z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 16'%3E%3Cg%3E%3Cpath id='s' d='M8 1l2 4.5 5 .5-3.8 3.3 1.1 4.9L8 11.7 3.7 14.2l1.1-4.9L1 6l5-.5z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

/* Sticky buy bar (mobile) */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--page-margin) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out);
}
.sticky-buy.is-visible {
  transform: none;
}
.sticky-buy__info {
  flex: 1;
  min-width: 0;
  display: grid;
  font-size: 13px;
}
.sticky-buy__title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy .button {
  flex: none;
}
@media (min-width: 990px) {
  .sticky-buy {
    display: none !important;
  }
}

/* Size guide dialog */
.size-dialog {
  width: min(640px, calc(100% - 24px));
}
.size-guide {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-5) var(--space-5);
}
.size-guide svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.size-guide__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  font-size: 15px;
}
.size-guide__list strong {
  display: block;
}

/* Recommendations reserve no space until loaded */
.recs:empty {
  display: none;
}

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 21, 0.4);
  opacity: 0;
  transition: opacity 320ms var(--ease);
}
.drawer.is-open .drawer__overlay {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 420ms var(--ease-out);
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--line);
}
.drawer__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.drawer__body.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Cart contents (drawer + page) */
.cart-c {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.cart-c--drawer .cart-c__items,
.cart-c--drawer .cart-c__recs {
  padding-inline: var(--space-5);
}
.cart-c--drawer {
  overflow-y: auto;
}
.cart-c__empty {
  display: grid;
  justify-items: start;
  gap: var(--space-4);
  padding: var(--space-7) var(--space-5);
}
.cart-c--page .cart-c__empty {
  padding-inline: 0;
}
.ship-meter {
  padding: var(--space-4) var(--space-5);
  background: var(--tile);
  font-size: 14px;
}
.cart-c--page .ship-meter {
  border-radius: 10px;
  margin-bottom: var(--space-4);
}
.ship-meter__bar {
  height: 4px;
  margin-top: var(--space-2);
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  overflow: hidden;
}
.ship-meter__bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 600ms var(--ease-out);
}
.cart-c__items {
  list-style: none;
  padding: 0;
}
.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.cart-line__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--tile);
  overflow: hidden;
}
.cart-line__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-line__title {
  font-weight: 600;
  text-decoration: none;
}
.cart-line__variant,
.cart-line__discount {
  font-size: 13px;
  color: var(--muted);
}
.cart-line__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.qty--sm {
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.qty--sm button {
  width: 34px;
  height: 34px;
}
.qty__value {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cart-line__remove {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  color: var(--muted);
  border-radius: 50%;
}
.cart-line__remove:hover {
  color: var(--ink);
  background: var(--tile);
}
.cart-line__remove svg {
  width: 18px;
  height: 18px;
}
.cart-line__price {
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}
.cart-c__upsell {
  margin: var(--space-4) var(--space-5) 0;
  padding: var(--space-3) var(--space-4);
  border-radius: 10px;
  background: #3A1614;
  color: #FBF4EE;
  font-size: 14px;
  font-weight: 600;
}
.cart-c--page .cart-c__upsell {
  margin-inline: 0;
}
.cart-c__recs {
  padding-block: var(--space-5);
}
.cart-c__recs-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.cart-c__recs ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.mini-rec {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  font-size: 14px;
}
.mini-rec__media {
  aspect-ratio: 3 / 4;
  background: var(--tile);
  overflow: hidden;
}
.mini-rec__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-rec__info {
  display: grid;
}
.mini-rec__info a {
  text-decoration: none;
  font-weight: 500;
}
.mini-rec__add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: none;
  font-size: 18px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mini-rec__add:hover {
  background: var(--ink);
  color: var(--on-ink);
}
.cart-c__summary {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.cart-c__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.cart-c__total {
  font-size: 18px;
  font-weight: 600;
}
.cart-c__checkout {
  min-height: 54px;
  margin-top: var(--space-2);
}
.cart-c__view {
  justify-self: center;
  font-size: 13px;
}
.cart-c__pay {
  justify-content: center;
  margin-top: var(--space-2);
}
/* Cart page layout */
.cart-page {
  padding-bottom: var(--space-9);
}
@media (min-width: 990px) {
  .cart-c--page {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: var(--space-8);
    align-items: start;
  }
  .cart-c--page > .ship-meter,
  .cart-c--page > .cart-c__items,
  .cart-c--page > .cart-c__upsell,
  .cart-c--page > .cart-c__recs {
    grid-column: 1;
  }
  .cart-c--page > .cart-c__summary {
    grid-column: 2;
    grid-row: 1 / span 4;
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
    border: 1px solid var(--line);
    border-radius: 12px;
  }
}

/* Collection: breathing room above the footer; "Rensa" only in the mobile sheet (chips have "Rensa alla") */
[data-results] {
  padding-bottom: var(--space-9);
}
[data-results]:has(.load-more) {
  padding-bottom: 0;
}
@media (min-width: 990px) {
  .facets__panel-foot {
    display: none;
  }
}

/* ---------- Search panel (predictive) ---------- */
.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 35;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(21, 21, 21, 0.45);
  max-height: calc(100svh - var(--header-height));
  overflow-y: auto;
  animation: pop 240ms var(--ease-out);
}
.search-panel__form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.search-panel__form > svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.search-panel__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  padding: var(--space-2) 0;
}
.search-panel__input:focus {
  outline: none;
}
.search-panel__input::-webkit-search-cancel-button,
.search-panel__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-panel__results:empty {
  display: none;
}
.ps {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-5) var(--space-6);
}
@media (min-width: 990px) {
  .ps {
    grid-template-columns: 220px 1fr;
    gap: var(--space-8);
  }
}
.ps__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.ps__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.ps__list a {
  text-decoration: none;
}
.ps__list a:hover,
.ps__list mark {
  text-decoration: underline;
}
.ps__list mark {
  background: none;
  color: inherit;
  font-weight: 600;
}
.ps__products {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  margin-bottom: var(--space-5);
}
@media (min-width: 750px) {
  .ps__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .ps__products {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.ps__product {
  display: grid;
  gap: var(--space-2);
  text-decoration: none;
  font-size: 14px;
}
.ps__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--tile);
  overflow: hidden;
}
.ps__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ps__name {
  font-weight: 500;
}
.ps__price {
  color: var(--muted);
}
.ps__empty {
  color: var(--muted);
}
.search-page {
  padding-bottom: var(--space-9);
}
.search-page .search-form {
  display: flex;
  gap: var(--space-2);
  max-width: 640px;
}
.search-page .search-form .field {
  flex: 1;
  min-width: 0;
}
.search-page__empty {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-6);
}
.search-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Set page intro ---------- */
.set-intro {
  padding-block: var(--space-5) var(--space-7);
}
.set-intro__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.set-intro__text > * + * {
  margin-top: var(--space-5);
}
@media (min-width: 990px) {
  .set-intro__grid {
    grid-template-columns: 0.9fr 1.2fr;
    gap: var(--space-8);
  }
}
.set-intro__media {
  margin-inline: calc(var(--page-margin) * -1);
}
@media (min-width: 750px) {
  .set-intro__media {
    margin-inline: 0;
  }
}
.set-steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}
.set-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.set-steps__n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 700;
}
.set-steps h2 {
  margin-bottom: 2px;
}

.site-footer__cookie-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Campaign badge + sale details */
.badge--promo {
  background: var(--ink);
  color: var(--bg);
}
.pdp__promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-3);
  font-size: 14px;
}
.pdp__promo .badge {
  font-size: 12px;
  padding: 4px var(--space-3);
}
.price__lowest {
  display: block;
  margin-top: var(--space-1);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

/* =====================================================================
   Brand v2 – "Min vägg. Min sak." (docs/designsystem.md, docs/affiche-brand-identity.md)
   Bold shell (utility bar, header, hero, buttons, headings, campaign);
   calm product pages so the posters stay the main character.
   Rule of the system: the dot makes a point. Max two devices per composition.
   ===================================================================== */
::selection {
  background: var(--acid);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Headings: Anton, uppercase, tracking -0.02em, accent word never italic */
.display,
.h1,
.h2,
.h3-serif {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.display,
.h1 {
  font-size: clamp(3.5rem, 2.25rem + 5vw, 7rem);
  line-height: 1.08;
}
.h2 {
  font-size: clamp(2.25rem, 1.7rem + 2vw, 3.5rem);
  line-height: 1.1;
}
.h3-serif {
  font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem);
}
.display em,
.h1 em,
.h2 em {
  font-style: normal;
  color: var(--point);
}
.rte h2,
.rte h3 {
  text-transform: uppercase;
  line-height: 1.12;
}
.rte h2 {
  font-size: 40px;
}
.rte h3 {
  font-size: 28px;
}

/* Printer's note: metadata in IBM Plex Mono */
.eyebrow,
.card__meta {
  font-family: var(--font-accent);
  font-weight: 500;
}
.eyebrow {
  letter-spacing: 0.04em;
}
.card__meta {
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Buttons: acid, 2 px radius, 1 px ink border, hard 4 px shadow, sentence case.
   Pressed sheet: translateY(2px), shadow 4px -> 2px, 100 ms. */
.button {
  border-radius: var(--radius-control);
  background: var(--acid);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: var(--shadow-press);
  transition: transform 100ms var(--ease-point), box-shadow 100ms var(--ease-point), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.button:hover {
  background: var(--acid);
}
.button:active {
  transform: translateY(2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.button--secondary {
  background: transparent;
  box-shadow: none;
}
.button--secondary:hover {
  background: var(--ink);
  color: var(--on-ink);
}
.button--secondary:active {
  box-shadow: none;
}
.button--light {
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 var(--acid);
}
.button--light:hover {
  background: var(--paper);
}
.button--light:active {
  box-shadow: 2px 2px 0 var(--acid);
}

/* Utility bar: ink strip, printer's-note type */
.utility {
  background: var(--ink);
  border-bottom: 0;
  color: var(--paper);
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Header: ivory with a hard ink rule. Menu in sentence case (UI controls are never uppercase). */
.site-header {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--ink);
}
.site-header.is-scrolled {
  border-color: var(--ink);
}
@media (min-width: 990px) {
  .site-header__nav {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
  }
}

/* Logo: the master is never recoloured. On dark it sits on a light rectangular carrier. */
.site-footer .logo {
  background: var(--paper);
  color: var(--ink);
  padding: 14px 20px;
}
.site-footer .logo__mark {
  height: 34px;
}

/* Hero: split banner. Flat electric-blue panel with the headline on the left, the room full-bleed on the right.
   Seam: one terracotta circle bridges the two halves. Mobile order: headline -> room -> CTA. */
.hero--slides {
  position: relative;
  background: var(--blue);
  color: var(--paper);
  padding: 0;
  --hero-pad: max(var(--page-margin), calc((100vw - var(--page-width)) / 2 + var(--page-margin)));
}
.hero--slides .eyebrow {
  color: var(--paper);
}
.hero--slides .display {
  color: var(--paper);
  font-size: clamp(4rem, 3rem + 6vw, 9.5rem);
  line-height: 1.06;
}
.hero--slides .display em {
  color: var(--paper);
}
.hero--slides .lead {
  color: var(--paper);
  max-width: 34ch;
}
.hero--slides .button--secondary {
  color: var(--paper);
  border-color: var(--paper);
}
.hero--slides .button--secondary:hover {
  background: var(--paper);
  color: var(--blue);
}
.hero--slides .hero__dot-bar {
  background: rgb(247 245 241 / 0.3);
}
.hero--slides .hero__dot-bar::after {
  background: var(--acid);
}
.hero--slides :focus-visible {
  outline-color: var(--paper);
}
.hero--slides .hero__slide {
  position: relative;
  gap: 0;
}
.hero--slides .hero__room {
  margin: 0;
  padding: 0;
  display: block;
  min-width: 0;
}
/* The photo covers its box (like object-fit: cover) while the poster quads stay locked to the photo */
.hero--slides .hero__room .mockup {
  container-type: size;
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: #D8D0C4;
  border: 0;
  transform: none;
}
.hero--slides .mockup__stage {
  /* cover the box, then zoom in on the group of frames: --hero-zoom; --fx/--fy = where the frames are (0-1); --fy-at = where in the box they sit */
  --cover: max(100cqw, calc(100cqh * 4 / 3));
  /* zoom in on the frames, but never so far that the group (--gw = its width as a share of the photo) is cut off */
  --sw: max(var(--cover), min(calc(var(--cover) * var(--hero-zoom, 1)), calc(100cqw * 0.92 / var(--gw, 1))));
  bottom: auto;
  height: auto;
  width: var(--sw);
  --sh: calc(var(--sw) * 0.75);
  /* placed on the focus point, but clamped so the photo always covers the whole box */
  left: clamp(calc(100cqw - var(--sw) / 2), calc(50% + (0.5 - var(--fx, 0.5)) * var(--sw)), calc(var(--sw) / 2));
  top: clamp(calc(100cqh - var(--sh) / 2), calc(var(--fy-at, 50%) + (0.5 - var(--fy, 0.5)) * var(--sh)), calc(var(--sh) / 2));
  transform: translate(-50%, -50%);
}
/* --gw = width of the frame group incl. frames (fgbox in room-mockup) + ~4 % air, so no frame is ever cut by the panel (2026-10-19) */
.hero--slides .mockup--hero-soffa-tva { --hero-zoom: 2; --gw: 0.38; --fx: 0.506; --fy: 0.3; --fy-at: 40%; }
.hero--slides .mockup--hero-sovrum-tva { --hero-zoom: 2; --gw: 0.45; --fx: 0.501; --fy: 0.3; --fy-at: 40%; }
.hero--slides .mockup--hero-hall-tre { --hero-zoom: 1.7; --gw: 0.54; --fx: 0.513; --fy: 0.28; --fy-at: 40%; }
.hero--slides .mockup--hero-kontor-tre { --hero-zoom: 1.6; --gw: 0.61; --fx: 0.502; --fy: 0.28; --fy-at: 40%; }
.hero--slides .hero__slide::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: clamp(72px, 9vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--point);
  pointer-events: none;
}
.hero--slides .hero__slide.is-active::after {
  animation: point-arrives 240ms var(--ease-point) both;
}
@keyframes point-arrives {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero--slides .hero__slide.is-active::after {
    animation: none;
  }
}
@media (min-width: 990px) {
  .hero--slides .hero__slide {
    grid-template-columns: 1fr 1fr;
    min-height: clamp(520px, 46vw, 720px);
    align-items: stretch;
  }
  .hero--slides .hero__text {
    align-self: center;
    padding: var(--space-8) var(--space-7) calc(var(--space-8) + var(--space-5)) var(--hero-pad);
  }
  .hero--slides .hero__dots {
    position: absolute;
    left: var(--hero-pad);
    bottom: var(--space-5);
    margin: 0;
  }
  /* the seam circle sits on the join of the two halves */
  .hero--slides .hero__slide::after {
    left: 50%;
    bottom: 10%;
    margin-left: calc(clamp(72px, 9vw, 150px) / -2);
  }
}
@media (min-width: 1280px) {
  .hero--slides {
    --hero-zoom: 1.2;
  }
}
/* Small laptops: the room half is narrow, so a tall text column would force the photo to zoom in and cut the outer
   frames of three-frame rooms. A smaller headline keeps the room box at most ~1.1 × as tall as it is wide (2026-10-19). */
@media (min-width: 990px) and (max-width: 1279px) {
  .hero--slides .display {
    font-size: clamp(4rem, 0.5rem + 6vw, 6.5rem);
  }
}
@media (max-width: 989px) {
  .hero--slides .hero__slide {
    padding-top: var(--space-6);
    padding-bottom: var(--space-7);
    row-gap: var(--space-5);
  }
  .hero--slides .hero__text {
    display: contents;
  }
  .hero--slides .hero__text > * {
    position: relative;
    z-index: 1;
    margin: 0 var(--page-margin);
  }
  .hero--slides .hero__room {
    order: 3;
  }
  .hero--slides .hero__room .mockup {
    height: 78vw;
    min-height: 300px;
  }
  .hero--slides .hero__actions {
    order: 4;
  }
  .hero--slides .hero__dots {
    margin: var(--space-4) var(--page-margin) 0;
  }
  .hero--slides .hero__slide::after {
    right: var(--page-margin);
    top: calc(var(--space-6) + 4px);
    width: 56px;
  }
}

/* Campaign band: acid with ink type */
.campaign {
  background: var(--acid);
  color: var(--ink);
}
.campaign__terms {
  opacity: 1;
}

/* Hover: the poster shown in a lively scene (person holding or hanging it). Injected on first hover from <template data-room>. */
.card__room {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease);
}
.card__room .mockup {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.mockup--portrait .mockup__stage {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
}
@media (hover: hover) {
  .card:hover .card__room,
  .card:focus-within .card__room {
    opacity: 1;
  }
  .card:hover .card__media .card__room img {
    transform: none;
  }
}
@media (hover: none) {
  .card__room {
    display: none;
  }
}

/* Room mockup: art sits between the photo and a foreground copy of it (frame and rim on top). */
.mockup__art {
  position: absolute;
  overflow: hidden;
  transform-origin: 0 0;
  /* the blank paper in the photo carries the light, shade and tone – multiply keeps all of it on top of the art */
  mix-blend-mode: multiply;
  /* sharp by default; theme.js adds a hint of softness only where the room photo itself is upscaled */
  filter: blur(var(--art-blur, 0px));
}
.mockup .mockup__art img {
  display: block;
  position: absolute;
  inset: auto;
  left: calc((100% - var(--iw, 100%)) / 2);
  top: calc((100% - var(--ih, 100%)) / 2);
  width: var(--iw, 100%);
  height: var(--ih, 100%);
  max-width: none;
  object-fit: fill;
  /* matte print: a touch less contrast and saturation than a screen image – kept subtle so the poster never looks hazy */
  filter: contrast(0.97) saturate(0.95);
}
/* fine paper grain over the art so it shares the photo's texture */
.mockup__art::after {
  content: '';
  position: absolute;
  inset: 0;
  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 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.06;
}
.mockup__fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Product page: lively room photos are portrait (3:4) and sit two across on desktop */
.pdp__slide.pdp__slide--scene {
  aspect-ratio: 3 / 4;
}
@media (min-width: 990px) {
  .pdp__slide.pdp__slide--scene {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 4;
  }
}

/* the art fades in once its room photo and frame layer are ready */
.mockup__art,
.mockup__glass {
  transition: opacity 280ms var(--ease);
}
.js .mockup:not(.is-ready) .mockup__art,
.js .mockup:not(.is-ready) .mockup__glass {
  opacity: 0;
}

/* =====================================================================
   Design critique 2026-10-14 (Designkritik/AFFICHE-designkritik-Claude.md)
   Commerce surfaces are calm: the artwork leads, the interface steps back.
   One rule for colour: ink = action (buy, checkout); terracotta = the point (logo dot, accent word);
   neon and blue only in the shell's campaign surfaces (hero, campaign band), never next to a product.
   One rule for shape: every control is a 2 px rectangle with a 1 px border. No pills, no hard shadows here.
   ===================================================================== */
.button--ink,
.pdp .button,
.sticky-buy .button,
.qv-dialog .button,
#cart-drawer .button,
.cart-page .button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  box-shadow: none;
}
.button--ink:hover,
.pdp .button:hover,
.sticky-buy .button:hover,
.qv-dialog .button:hover,
#cart-drawer .button:hover,
.cart-page .button:hover {
  background: #000;
  color: var(--on-ink);
}
.button--ink:active,
.pdp .button:active,
.sticky-buy .button:active,
.qv-dialog .button:active,
#cart-drawer .button:active,
.cart-page .button:active {
  transform: translateY(1px);
  box-shadow: none;
}
.pdp .button--secondary,
.qv-dialog .button--secondary,
#cart-drawer .button--secondary {
  background: transparent;
  color: var(--ink);
}

/* Controls share one shape */
.option-pill span,
.option-pill--priced span,
.qty,
.pdp__buy .qty,
.qty--sm,
.pdp__slide-tag {
  border-radius: var(--radius-control);
}

/* Title: clearly smaller than the artwork (about 40 % down from the shell's H1) */
.pdp .pdp__title {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3.25rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.pdp__price {
  margin-top: var(--space-1);
}
.pdp__price-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
}
.pdp__price-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* Sizes: roomier, with a short placement hint */
.pdp .pdp__sizes {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
}
.pdp .option-pill--priced span {
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 72px;
  padding: var(--space-3) var(--space-4);
  border-color: var(--line);
  font-weight: 400;
}
.option-pill__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
}
.option-pill__name {
  font-weight: 700;
}
.pdp .option-pill--priced .option-pill__price {
  font-size: 14px;
  color: var(--ink);
}
.option-pill__hint {
  font-size: 13px;
  color: var(--muted);
}
.pdp .option-pill input:checked + span {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  font-weight: 400;
}

/* Quantity steps back: compact, quiet border */
.pdp__buy {
  align-items: stretch;
}
.pdp__buy .qty {
  background: transparent;
  border-color: var(--line);
}
.pdp__buy .qty button {
  width: 32px;
  height: auto;
  font-size: 16px;
  color: var(--muted);
}
.pdp__buy .qty input {
  width: 28px;
  font-size: 15px;
}
.pdp__add {
  min-height: 54px;
}

.pdp__usps a {
  margin-left: 4px;
}

/* Gallery: the artwork itself fills the main slide – no stage shadow, small margin only */
.pdp__slide--main {
  background: var(--tile);
}
.pdp__poster {
  width: min(88cqw, 92cqh * 0.75);
  box-shadow: 0 1px 2px rgba(21, 21, 21, 0.12);
}
@media (min-width: 990px) {
  .pdp__slide--main {
    aspect-ratio: 4 / 4.6;
  }
}
.pdp__zoom {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.pdp__zoom-hint {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.pdp__zoom-hint svg {
  width: 14px;
  height: 14px;
}
/* Detail: a close crop of the artwork's centre */
.pdp__slide--detail {
  aspect-ratio: 3 / 4;
}
.pdp__detail {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pdp__detail img {
  position: absolute;
  width: 230%;
  max-width: none;
  height: auto;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
}
@media (min-width: 990px) {
  .pdp__slide.pdp__slide--scene,
  .pdp__slide--detail {
    grid-column: auto;
    aspect-ratio: 3 / 4;
  }
}
.pdp__slide-tag {
  max-width: calc(100% - 2 * var(--space-3));
  font-weight: 500;
}

/* Zoom dialog: the full artwork, as large as the screen allows */
.zoom-dialog {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--space-5);
  border: 0;
  background: rgba(21, 21, 21, 0.92);
  cursor: zoom-out;
}
.zoom-dialog[open] {
  display: grid;
  place-items: center;
}
.zoom-dialog img {
  max-width: 100%;
  max-height: calc(100dvh - 2 * var(--space-5));
  width: auto;
  height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.zoom-dialog::backdrop {
  background: transparent;
}
.zoom-dialog__close {
  position: fixed;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-control);
}

/* Size guide */
.size-guide svg {
  border-radius: var(--radius-control);
}

/* Footer: logo drawn for a dark surface, quieter payment marks */
.site-footer .logo {
  background: none;
  padding: 0;
  color: var(--on-ink);
}
.site-footer .payment-icons {
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.site-footer .payment-icons:hover {
  opacity: 1;
  filter: none;
}

/* Utility bar: one honest line (shipping and delivery). No fake market selector, no second cart link. */
@media (min-width: 990px) {
  .utility__inner--center {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 750px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* size choice: only the outer span is the box; inner text spans stay plain */
.option-pill span .option-pill__row,
.option-pill span .option-pill__name {
  display: flex;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.option-pill span .option-pill__name {
  display: inline;
}
/* Gallery on desktop: artwork full width, then detail + two rooms in one row */
@media (min-width: 990px) {
  .pdp__slides {
    grid-template-columns: repeat(3, 1fr);
  }
  .pdp__slide--main {
    grid-column: 1 / -1;
  }
}
.pdp__detail img {
  width: 200%;
  top: 50%;
}
.pdp__gallery-note {
  margin-top: var(--space-3);
}
.pdp .option-pill--priced > span {
  grid-template-columns: 1fr;
  justify-content: stretch;
}
.option-pill span .option-pill__row {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

/* =====================================================================
   Whole shop, same strategy (2026-10-14): the critique's product-page rules applied everywhere.
   - Buttons are ink everywhere; acid + hard shadow only in the hero (the loud shell) and the campaign band.
   - Every control is a 2 px rectangle (--radius-pill is 2 px now); round only for dots.
   - No soft floating shadows on controls: a 1 px line instead.
   - Page titles on shopping pages (collections, search, cart, pages) are calmer than the shell's display size.
   ===================================================================== */
.button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  box-shadow: none;
}
.button:hover {
  background: #000;
  color: var(--on-ink);
}
.button:active {
  transform: translateY(1px);
  box-shadow: none;
}
.button--secondary {
  background: transparent;
  color: var(--ink);
}
.button--secondary:hover {
  background: var(--ink);
  color: var(--on-ink);
}
/* the loud shell keeps its acid "pressed sheet" buttons */
.hero--slides .button:not(.button--secondary),
.campaign .button:not(.button--secondary) {
  background: var(--acid);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-press);
}
.hero--slides .button:not(.button--secondary):hover,
.campaign .button:not(.button--secondary):hover {
  background: var(--acid);
  color: var(--ink);
}
.hero--slides .button:not(.button--secondary):active,
.campaign .button:not(.button--secondary):active {
  transform: translateY(2px);
  box-shadow: 2px 2px 0 var(--ink);
}

/* small round controls become quiet squares with a hairline */
.quick-plus,
.cat-tile__arrow,
.mini-rec__add,
.cart-line__remove {
  border-radius: var(--radius-control);
}
.quick-plus {
  border: 1px solid var(--line);
  box-shadow: none;
}
.quick-add {
  border: 1px solid var(--line);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--surface);
}
.toast {
  border-radius: var(--radius-control);
  box-shadow: none;
}
.fly {
  border-radius: 0;
}

/* calmer page titles on shopping pages */
.collection__title.display,
.page-header .h1,
.contact-form .h1,
.cart-page .collection__title {
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 4rem);
  line-height: 1.04;
}
/* remaining soft corners → the one control shape */
.facet__count,
.facet__check,
.facet__body,
.qv-dialog,
.cart-c--page .ship-meter,
.cart-c__upsell,
.cart-c--page > .cart-c__summary,
.ship-meter,
.cart-c__summary {
  border-radius: var(--radius-control);
}
.icon-button,
.mini-rec__add,
.cart-line__remove {
  border-radius: var(--radius-control);
}
/* payment marks near checkout: present but quiet */
.cart-c .payment-icons {
  opacity: 0.6;
  filter: grayscale(1);
}

/* ---------- Collections (critique 2026-10-14): smaller head, a short intro, products sooner ---------- */
.collection__head {
  padding-block: var(--space-5) var(--space-4);
}
.collection .collection__title.h1 {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem);
  line-height: 1.04;
  margin-top: var(--space-3);
}
.collection__intro {
  max-width: 62ch;
  margin-top: var(--space-3);
  color: var(--ink-soft);
}
.collection__intro p {
  margin: 0;
}
.collection__intro p + p {
  margin-top: var(--space-2);
}
.collection__intro a {
  font-weight: 600;
}
.toolbar--hidden {
  display: none;
}

/* Cards: name and price on their own rows, so long names never crowd the price */
.card__info--stacked {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
}
.card__info--stacked .card__price {
  text-align: left;
}
/* Favourites: 4 across = two calm rows of 8 */
@media (min-width: 990px) {
  .rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Quick add: show the price per size and that no frame is included */
.quick-add__note {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.quick-add__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  min-height: 40px;
}
.quick-add__price {
  font-weight: 400;
  font-size: 11px;
}
.quick-add__btn:hover .quick-add__price {
  color: inherit;
}

/* Category overview: grouped, compact tiles */
.collections-page {
  padding-bottom: var(--space-9);
}
.collections-group + .collections-group {
  margin-top: var(--space-7);
}
.collections-group__title {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
@media (min-width: 990px) {
  .cat-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.cat-grid--compact .cat-tile__name {
  font-size: clamp(22px, 2.2vw, 32px);
}
.cat-tile__count {
  margin-top: 6px;
}
.anchor-offset {
  display: block;
  position: relative;
  top: calc(var(--header-height) * -1 - var(--space-4));
  visibility: hidden;
}
.set-intro .set-intro__title {
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 4rem);
  line-height: 1.04;
}

/* ---------- Home rhythm (critique 2026-10-14): less vertical padding, quicker reveals ---------- */
@media (min-width: 990px) {
  .section {
    padding-block: var(--space-8);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transform: translateY(10px);
    transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 40ms);
  }
}

/* Trust: a compact, light strip of verified facts (no big numbers on black) */
.section--trust {
  padding-block: var(--space-6);
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.trust__heading {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section--trust .trust {
  gap: var(--space-5);
}
.section--trust .trust li {
  border-top: 0;
  padding-top: 0;
}
.section--trust .trust p {
  font-size: 14px;
  color: var(--muted);
  opacity: 1;
}

/* Newsletter: small and concrete */
.newsletter {
  align-items: center;
}
.newsletter .h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
}
.newsletter__text {
  margin-bottom: var(--space-3);
}

/* Help pages: calm reading template */
.page-header .h1 {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
}
.page-content {
  max-width: 68ch;
}
.page-content h2 {
  font-size: 24px;
  margin-top: var(--space-6);
}
.page-content .summary {
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
}
.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-4) 0 var(--space-5);
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.page-toc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-lead {
  margin-bottom: var(--space-5);
}
.contact-info {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.contact-info h2 {
  font-size: 16px;
}
.search-page__start {
  padding-bottom: var(--space-9);
}
.search-page__label {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: var(--space-5) 0 var(--space-3);
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.chip:hover {
  border-color: var(--ink);
}
.collections-page .collection__title,
.search-page .collection__title {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem);
  line-height: 1.04;
}
/* Set page: compact steps so the sets come sooner */
.set-intro .set-steps h2 {
  font-size: 16px;
  font-weight: 700;
}
.set-intro .set-steps p {
  font-size: 14px;
}
.set-intro .set-steps {
  gap: var(--space-3);
}

/* =====================================================================
   Toned-down hero (founder's choice 2026-10-14, critique 4.1–4.3):
   one static slide, blue panel kept, smaller headline, no terracotta circle,
   flat buttons without the offset shadow.
   ===================================================================== */
.hero--static .hero__slide::after {
  display: none;
}
.hero--static.hero--slides .display {
  font-size: clamp(3rem, 2.2rem + 3.6vw, 6rem);
  line-height: 1.04;
}
.hero--static.hero--slides .lead {
  max-width: 38ch;
}
.hero--static .button:not(.button--secondary) {
  box-shadow: none;
}
.hero--static .button:not(.button--secondary):active {
  transform: translateY(1px);
  box-shadow: none;
}
@media (min-width: 990px) {
  .hero--static.hero--slides .hero__slide {
    min-height: clamp(460px, 40vw, 620px);
  }
}

/* Until the frame layer has loaded, clip the art to the frame opening (the art is grown by the bleed and tucked
   under the frame layer, which is not there yet). theme.js sets --bleed-px and .has-fg. */
.js .mockup:not(.has-fg) .mockup__art {
  clip-path: inset(var(--bleed-px, 0px));
}
.mockup__fg {
  object-fit: fill;
}

/* Utility bar ticker (2026-10-19): one message at a time, sliding up. Reduced motion: all messages on one line. */
.utility__ticker {
  display: grid;
  overflow: hidden;
}
.utility__msg {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease;
}
.utility__msg.is-active {
  opacity: 1;
  transform: none;
}
.utility__msg.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
  .utility__ticker {
    display: block;
  }
  .utility__msg {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .utility__msg + .utility__msg::before {
    content: ' • ';
  }
}


/* "Ta två – fri frakt" on the product page (2026-10-19) */
.pdp-two {
  margin-top: var(--space-4);
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg) 60%, #fff);
}
.pdp-two__title {
  margin: 0 0 var(--space-3);
  font-size: 14px;
  line-height: 1.4;
}
.pdp-two__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.pdp-two__item {
  display: grid;
  gap: 4px;
  align-content: start;
  font-size: 13px;
}
.pdp-two__img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.pdp-two__name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: inherit;
}
.pdp-two__price {
  color: var(--muted, #6b6b6b);
}
.pdp-two__add {
  justify-self: start;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.pdp-two__add.is-added {
  background: var(--ink, #151515);
  color: #fff;
}

/* Shopify's cookie banner: a compact strip on phones instead of half the screen (same choices, same text) */
@media (max-width: 749px) {
  #shopify-pc__banner.shopify-pc__banner__dialog {
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 46vh !important;
    padding: 14px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 0 !important;
  }
  #shopify-pc__banner .shopify-pc__banner__body { margin-bottom: 4px !important; }
  #shopify-pc__banner .shopify-pc__banner__body h2 { font-size: 14px !important; margin: 0 0 4px !important; }
  #shopify-pc__banner .shopify-pc__banner__body p { font-size: 12px !important; line-height: 1.35 !important; }
  #shopify-pc__banner .shopify-pc__banner__btns { flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; }
  #shopify-pc__banner .shopify-pc__banner__btns button { margin: 6px 0 0 !important; padding: 9px 12px !important; flex: 1 1 40% !important; font-size: 14px !important; }
  #shopify-pc__banner .shopify-pc__banner__btn-manage-prefs { order: 3 !important; flex-basis: 100% !important; padding: 2px 0 !important; font-size: 12px !important; }
  #shopify-pc__banner .shopify-pc__banner__btn-accept { order: 1 !important; }
  #shopify-pc__banner .shopify-pc__banner__btn-decline { order: 2 !important; }
}
