* { box-sizing: border-box; }
body.migration-native {
  --paper: #f8f5ee;
  --ink: #242c22;
  --muted: #596052;
  --line: #d9dbd0;
  --accent: #284331;
  --accent-alt: #ad7958;
  --color-background: #fffdf7;
  --color-foreground: var(--ink);
  --color-primary-button-background: var(--accent);
  --color-primary-button-text: #fff;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.migration-native--sofadecoruk {
  --paper: #fbf7f2;
  --ink: #272038;
  --muted: #645a70;
  --line: #e4d9e2;
  --accent: #57406b;
  --accent-alt: #a55775;
  --color-background: #fffdfb;
}
body.migration-native--camblock {
  --paper: #f4f3f0;
  --ink: #1c2024;
  --muted: #5c6269;
  --line: #d8d9db;
  --accent: #1d252a;
  --accent-alt: #ce8929;
  --color-background: #fff;
}
body.migration-native--emfblock {
  --paper: #eff3ed;
  --ink: #202b28;
  --muted: #53645e;
  --line: #cfdad1;
  --accent: #2c514a;
  --accent-alt: #729471;
  --color-background: #fafcf9;
}
.migration-native a { color: inherit; text-underline-offset: .19em; }
.migration-native button, .migration-native input, .migration-native select { font: inherit; color: inherit; }
.migration-native img { display: block; max-width: 100%; }
.migration-native h1, .migration-native h2, .migration-native h3 { line-height: 1.12; }
.migration-native h1, .migration-native h2 { font-family: Georgia, serif; font-weight: 500; }
.migration-native h1 { font-size: clamp(2.15rem, 5.5vw, 5rem); margin: 0 0 .35em; letter-spacing: -.047em; }
.migration-native h2 { font-size: clamp(1.75rem, 3.15vw, 3.25rem); letter-spacing: -.035em; margin: 0 0 .65em; }
.migration-native--camblock :is(h1,h2,.mn-brand), .migration-native--emfblock :is(h1,h2,.mn-brand) {
  font-family: system-ui, sans-serif;
  font-weight: 700;
}
.migration-native--camblock .mn-header { border-top: .3rem solid #f3be54; }
.migration-native--emfblock .mn-header { border-top: .3rem solid #91a99a; }
.migration-native h3 { font-size: 1.03rem; margin: 0; }
.migration-native p { margin: .65em 0 1em; }
.migration-native :focus-visible { outline: 2px solid var(--accent-alt); outline-offset: 3px; }
.migration-native [hidden] { display: none !important; }

.mn-shell { width: min(100% - 2.5rem, 88rem); margin-inline: auto; }
.mn-promo { margin: 0; padding: .45rem 1rem; background: var(--accent); color: white; text-align: center; font-size: .83rem; }
.mn-header { position: relative; z-index: 5; background: var(--color-background); border-bottom: 1px solid var(--line); }
.mn-masthead { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(150px, 25rem) auto; gap: clamp(1rem, 3vw, 3rem); min-height: 5.25rem; align-items: center; }
.mn-brand { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: .55rem; text-decoration: none; font-family: Georgia, serif; font-size: 1.55rem; }
.mn-brand img { width: 7.1rem; max-height: 4rem; object-fit: contain; }
.mn-search, .mn-tools { display: flex; align-items: center; gap: .4rem; }
.mn-search input { width: min(100%, 26rem); min-width: 0; flex: 1; padding: .7rem .75rem; border: 1px solid var(--line); border-right: 0; border-radius: 0; color: var(--ink); background: transparent; }
.mn-search .mn-button { flex: 0 0 auto; padding: .7rem .85rem; white-space: nowrap; }
.mn-tools { gap: .85rem; white-space: nowrap; }
.mn-tools > button { min-height: 44px; cursor: pointer; padding: .4rem .65rem; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .15em; }
.mn-nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.8rem, 2.7vw, 2.5rem); min-height: 3.1rem; align-items: center; }
.mn-nav a { text-decoration: none; }
.mn-nav a:hover, .mn-nav a[aria-current] { text-decoration: underline; }
.mn-nav details { position: relative; }
.mn-nav summary, .mn-mobile summary { cursor: pointer; padding: .65rem 0; }
.mn-nav details ul { min-width: 14rem; padding: .65rem 1rem; margin: 0; list-style: none; position: absolute; background: var(--color-background); box-shadow: 0 .65rem 2rem #211e1922; border: 1px solid var(--line); }
.mn-nav details li a { display: block; padding-block: .42rem; }
.mn-mobile { display: none; }
.mn-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; width: fit-content; padding: .68rem 1.08rem; border: 0; background: var(--accent); color: #fff !important; text-align: center; text-decoration: none; font-weight: 650; cursor: pointer; }
.mn-button:hover { opacity: .88; }
.mn-button:disabled { opacity: .56; cursor: default; }
.mn-button--light { background: var(--color-background); color: var(--accent) !important; }

.mn-hero { display: grid; grid-template-columns: minmax(18rem, 4fr) minmax(0, 6fr); min-height: clamp(23rem, 39vw, 39rem); background: var(--accent); color: #fff; }
.mn-hero-copy { align-self: center; padding: clamp(2rem, 4vw, 4rem); }
.mn-hero-copy h1 { font-size: clamp(2.35rem, 4vw, 4.35rem); }
.mn-hero-copy p { max-width: 39ch; color: #fffc; }
.mn-hero > img { width: 100%; height: 100%; min-height: 19rem; max-height: min(45vw, 40rem); object-fit: cover; }
.mn-hero.mn-hero--text { grid-template-columns: 1fr; }
.mn-hero--text .mn-hero-copy { max-width: 61rem; }
.migration-native--camblock .mn-hero { background: #ecd9b1; color: var(--ink); }
.migration-native--camblock .mn-hero-copy p { color: var(--ink); }
.migration-native--camblock .mn-hero > img { object-fit: contain; background: #e0dedd; }
.migration-native--camblock .mn-shelf { grid-template-columns: repeat(2, minmax(0,1fr)); }
.migration-native--emfblock .mn-hero { background: #29443e; }
.migration-native--emfblock .mn-card-media img { object-fit: contain; }
.migration-native--sofadecoruk .mn-hero { grid-template-columns: minmax(0, 6fr) minmax(18rem, 5fr); background: #e9deeb; color: var(--ink); }
.migration-native--sofadecoruk .mn-hero-copy { order: 1; }
.migration-native--sofadecoruk .mn-hero-copy p { color: var(--muted); }
.migration-native--sofadecoruk .mn-hero .mn-button--light { background: var(--accent); color: #fff !important; }
.mn-section { padding-block: clamp(2.65rem, 5.2vw, 5.25rem); }
.mn-section + .mn-section { border-top: 1px solid var(--line); }
.mn-heading { max-width: 51rem; padding-block: clamp(2.25rem, 6vw, 5rem) 2rem; }
.mn-heading p, .mn-section-note { max-width: 62ch; color: var(--muted); }
.mn-flexhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.mn-shelf { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(.85rem,2vw,1.65rem); padding: 0; margin: 0; list-style: none; }
.mn-card { min-width: 0; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.mn-card > a { display: block; text-decoration: none; }
.mn-card > a:hover h3 { text-decoration: underline; }
.mn-card-media { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: .75rem; background: var(--line); }
.mn-card-media img { width: 100%; height: 100%; object-fit: cover; }
.mn-card > p, .mn-card a > p { margin-bottom: .3em; color: var(--muted); font-size: .93rem; }
.mn-card s { opacity: .64; margin-inline-start: .4rem; }
.mn-filters { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; align-items: end; }
.mn-filters label { display: grid; gap: .3rem; }
.mn-filters select { padding: .55rem .75rem; min-height: 44px; border: 1px solid var(--line); background: var(--color-background); }

.mn-crumbs { margin-block: 1.2rem; color: var(--muted); font-size: .9rem; }
.mn-product { display: grid; grid-template-columns: minmax(0, 3fr) minmax(18rem, 2fr); align-items: start; gap: clamp(1.6rem, 5vw, 5rem); }
.mn-product h1 { font-size: clamp(2.2rem, 4vw, 3.9rem); }
.mn-product-details { min-width: 0; }
.mn-gallery { position: sticky; top: 1.5rem; min-width: 0; }
.mn-media-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--line); scrollbar-width: thin; }
.mn-media-track > a { display: block; flex: 0 0 100%; aspect-ratio: 5/4; scroll-snap-align: start; }
.mn-media-track img { width: 100%; height: 100%; object-fit: contain; }
.mn-media-nav { display: flex; overflow-x: auto; gap: .45rem; padding: .55rem 0; margin: 0; list-style: none; }
.mn-media-nav a { display: grid; place-items: center; width: 4rem; height: 3.45rem; background: var(--line); }
.mn-media-nav img { width: 100%; height: 100%; object-fit: cover; }
.mn-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .75rem; margin: 1rem 0; font-size: 1.36rem; }
.mn-product-price s { font-size: .95rem; color: var(--muted); }
.mn-product-price small { font-size: .84rem; }
.mn-option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.mn-option-grid label, .mn-quantity { display: grid; gap: .25rem; font-size: .92rem; font-weight: 600; }
.mn-option-grid select, .mn-quantity input { min-height: 47px; width: 100%; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 0; background: var(--color-background); }
.mn-purchase { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 1rem 0; }
.mn-quantity { max-width: 5.5rem; }
.mn-purchase .mn-button { flex: 1; }
.mn-product [data-migration-payment] { margin: .45rem 0; }
.mn-product [data-migration-payment] .migration-commerce-buy-now { min-height: 44px; width: 100%; border: 1px solid var(--accent); background: transparent; cursor: pointer; }
.mn-product details { border-block-end: 1px solid var(--line); padding: .65rem 0; }
.mn-product details summary { cursor: pointer; }
.mn-bundle { margin-top: 1.6rem; border: 1px solid var(--line); padding: 1rem clamp(.85rem,3vw,1.6rem); background: var(--color-background); }
.mn-bundle summary { cursor: pointer; font-weight: 700; }
.mn-bundle label { align-content: end; }
.mn-bundle [role="status"]:empty { margin: .75rem 0 0; }

.mn-rich { max-width: 54rem; }
.mn-rich p, .mn-rich li { max-width: 75ch; }
.mn-rich a { color: var(--accent); }
.mn-rich img { max-width: 100%; height: auto; margin-block: 1rem; }
.mn-rich table { display: block; overflow: auto; border-spacing: 0; }
.mn-rich th, .mn-rich td { padding: .55rem; border-bottom: 1px solid var(--line); }
.mn-rich h2 { margin-top: 1.2em; }
.mn-article-image { width: 100%; max-height: 32rem; object-fit: cover; margin-block: 1rem 2rem; }
.mn-article-video { display: block; width: min(100%, 60rem); aspect-ratio: 16 / 9; margin-block: 1rem 2rem; background: var(--ink); }
.mn-contact { display: grid; gap: 1rem; width: min(100%,35rem); }
.mn-contact label { display: grid; gap: .3rem; }
.mn-contact input, .mn-contact textarea { padding: .65rem; font: inherit; border: 1px solid var(--line); border-radius: 0; background: var(--color-background); }
.mn-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.mn-footer { margin-top: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--line); padding: 2.65rem 0; background: var(--color-background); }
.mn-footer-row { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(12rem,1fr) minmax(0,2fr); }
.mn-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: start; }
.mn-footer-small { color: var(--muted); margin: 2rem 0 0; }

@media (max-width: 740px) {
  .mn-shell { width: calc(100% - 1.5rem); }
  .mn-masthead { display: flex; justify-content: space-between; min-height: 4.1rem; }
  .mn-brand { font-size: 1.22rem; }
  .mn-brand img { width: 5.8rem; max-height: 3.15rem; }
  .mn-masthead > .mn-search, .mn-header > .mn-nav { display: none; }
  .mn-mobile { display: block; }
  .mn-mobile > :not(summary) { margin-bottom: .7rem; }
  .mn-mobile .mn-nav { display: grid; gap: .45rem; padding-bottom: .7rem; }
  .mn-mobile .mn-nav details ul { position: static; border: 0; box-shadow: none; }
  .mn-mobile .mn-search input { max-width: none; }
  .mn-hero, .migration-native--sofadecoruk .mn-hero { display: flex; flex-direction: column; }
  .mn-hero-copy, .migration-native--sofadecoruk .mn-hero-copy { order: 0; width: 100%; padding: 2rem 1.15rem; }
  .mn-hero > img { height: min(56vw, 20rem); min-height: 0; max-height: none; }
  .mn-shelf { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mn-product { grid-template-columns: minmax(0,1fr); }
  .mn-gallery { position: static; }
  .mn-media-track > a { aspect-ratio: 1; }
  .mn-footer-row { grid-template-columns: minmax(0,1fr); }
}
