:root {
  --ink: #15171a;
  --text: #323b45;
  --muted: #65717f;
  --line: #d9e0e8;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --cream: #fff5dc;
  --blue: #105f91;
  --blue-dark: #0c395c;
  --red: #df432d;
  --red-dark: #b93422;
  --teal: #1c7c78;
  --teal-dark: #115653;
  --coral: #e95b45;
  --green: #22855d;
  --yellow: #ffd84d;
  --orange: #ff8a1d;
  --shadow: 0 14px 34px rgba(21, 31, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.market-de {
  --accent: var(--red);
  --accent-dark: var(--red-dark);
  --accent-soft: #fff1ec;
  --hero-position: center;
}

body.market-fr {
  --accent: var(--teal);
  --accent-dark: var(--teal-dark);
  --accent-soft: #eaf8f5;
  --hero-position: 58% center;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
}

h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: 48px;
  font-weight: 900;
}

h2 {
  font-size: 34px;
  font-weight: 900;
}

h3 {
  font-size: 21px;
  font-weight: 900;
}

.notice-inner,
.site-header,
.container,
.hero-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.notice-bar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 13px;
}

.market-fr .notice-bar {
  background: #123d47;
}

.notice-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notice-inner strong {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.market-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.market-switch a {
  min-width: 42px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.market-switch a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

.market-fr .market-switch a[aria-current="page"] {
  background: var(--teal);
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 255, 255, 0.66) 72%, rgba(255, 255, 255, 0.24) 100%),
    url("assets/realistic/hero-living-room.jpg") var(--hero-position) / cover no-repeat;
}

.market-fr .hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(232, 248, 245, 0.72) 76%, rgba(232, 248, 245, 0.28) 100%),
    url("assets/realistic/review-bedroom.jpg") var(--hero-position) / cover no-repeat;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: center;
  padding: 56px 0 52px;
}

.hero-copy-block {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 3px;
  padding: 0 10px;
  background: var(--cream);
  color: #704200;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-fr .kicker {
  background: #e9f8f5;
  color: #0f5d58;
}

.hero-copy {
  max-width: 720px;
  margin: 20px 0 22px;
  color: #394653;
  font-size: 19px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.byline span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(16, 95, 145, 0.16);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-actions,
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 20px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.btn-primary,
.header-cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 9px 18px rgba(223, 67, 45, 0.2);
}

.market-fr .btn-primary,
.market-fr .header-cta {
  box-shadow: 0 9px 18px rgba(28, 124, 120, 0.22);
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn.full {
  width: 100%;
}

.hero-product {
  display: grid;
  gap: 14px;
  align-self: stretch;
  border: 1px solid rgba(216, 224, 232, 0.9);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-product .badge {
  width: max-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-product img {
  width: min(230px, 100%);
  margin: 0 auto;
  object-fit: contain;
}

.hero-product h2 {
  font-size: 28px;
}

.hero-product p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-specs span {
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 112px;
  border-right: 1px solid var(--line);
  padding: 20px;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.market-fr .proof-item strong {
  color: var(--teal);
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 66px 0;
  scroll-margin-top: 96px;
}

.section-title {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.problem-grid,
.scenario-grid,
.method-grid {
  display: grid;
  gap: 16px;
}

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

.problem-card,
.method-item,
.scenario-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.problem-card,
.method-item {
  padding: 22px;
}

.problem-card .number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.market-fr .problem-card .number {
  background: var(--teal);
}

.problem-card p,
.method-item p,
.scenario-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.ranking-wrap {
  border-top: 4px solid var(--blue);
  background: var(--soft);
}

.shortlist-wrap {
  border-top: 4px solid var(--teal);
  background: #f3fbf9;
}

.product-list {
  display: grid;
  gap: 16px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 170px minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(24, 32, 43, 0.06);
}

.winner-card {
  border: 2px solid var(--accent);
}

.rank-box {
  display: grid;
  place-items: center;
  min-height: 128px;
  border-radius: 5px;
  background: #f1f5f9;
  text-align: center;
}

.rank-box strong {
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.market-fr .rank-box strong {
  color: var(--teal);
}

.rank-box span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.best-label {
  position: absolute;
  top: -14px;
  left: 18px;
  min-height: 28px;
  border-radius: 3px;
  padding: 5px 10px;
  background: var(--yellow);
  color: #4b2b00;
  font-size: 13px;
  font-weight: 900;
}

.product-photo {
  display: grid;
  min-height: 154px;
  place-items: center;
}

.product-photo img {
  max-height: 154px;
  object-fit: contain;
}

.product-copy h3 {
  margin-bottom: 8px;
}

.product-copy p {
  margin: 0 0 10px;
  color: var(--muted);
}

.pros-cons {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3e4650;
  font-size: 14px;
}

.pros-cons li {
  position: relative;
  padding-left: 22px;
}

.pros-cons li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.pros-cons li.con::before {
  color: var(--accent);
  content: "!";
}

.score-panel {
  display: grid;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.score-number {
  color: var(--blue);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.market-fr .score-number {
  color: var(--teal);
}

.stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 0;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.now {
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
}

.was {
  color: #89929d;
  font-weight: 800;
  text-decoration: line-through;
}

.review-section {
  background: #fff;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.article-copy p {
  color: #3c4652;
  font-size: 18px;
}

.article-copy ul {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.article-copy li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
}

.article-copy li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-size: 20px;
  font-weight: 900;
}

.review-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.review-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.review-photo figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.scenario-card {
  overflow: hidden;
}

.scenario-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.scenario-card:nth-child(3) img {
  object-fit: contain;
  padding: 18px;
}

.scenario-card div {
  padding: 18px;
}

.offer-box {
  scroll-margin-top: 96px;
  margin-top: 28px;
  border: 2px solid #f0c43c;
  border-radius: 6px;
  background: #fffdf2;
}

.market-fr .offer-box {
  border-color: #94d8ce;
  background: #f1fbf9;
}

.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--yellow);
  color: #3a2500;
  font-weight: 900;
}

.market-fr .offer-head {
  background: #c7f0e9;
  color: #0c4946;
}

.offer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.timer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.timer span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
}

.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-item span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.market-fr .method-item span {
  color: var(--teal);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

summary {
  position: relative;
  min-height: 60px;
  padding: 18px 52px 18px 18px;
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--blue);
  content: "+";
  font-size: 26px;
}

.market-fr summary::after {
  color: var(--teal);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 16px 18px 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 16px 84px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer p {
  width: min(900px, 100%);
  margin: 0 auto;
}

.mobile-sticky {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 6px;
  padding: 10px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}

.mobile-sticky span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sticky a {
  display: inline-flex;
  min-height: 38px;
  min-width: 110px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .product-card {
    grid-template-columns: 88px 130px minmax(0, 1fr);
  }

  .score-panel {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 14px;
    padding-left: 0;
  }

  .review-layout,
  .offer-body {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .scenario-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 68px;
  }

  .notice-inner,
  .site-header,
  .container,
  .hero-shell {
    width: calc(100% - 28px);
  }

  .notice-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .market-switch {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .market-fr .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 64%, rgba(255, 255, 255, 0.76) 100%),
      url("assets/realistic/hero-living-room.jpg") 60% center / cover no-repeat;
  }

  .market-fr .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 64%, rgba(232, 248, 245, 0.78) 100%),
      url("assets/realistic/review-bedroom.jpg") 58% center / cover no-repeat;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 42px 0 36px;
  }

  .hero-product {
    max-width: 360px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .proof-item {
    min-height: 96px;
    padding: 15px;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item strong {
    font-size: 21px;
  }

  .section {
    padding: 48px 0;
  }

  .problem-grid,
  .scenario-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .rank-box {
    min-height: 82px;
  }

  .rank-box strong {
    font-size: 28px;
  }

  .product-photo {
    min-height: 118px;
  }

  .product-photo img {
    max-height: 118px;
  }

  .product-copy {
    grid-column: 1 / -1;
  }

  .score-panel {
    grid-template-columns: 1fr;
  }

  .score-number {
    font-size: 36px;
  }

  .now {
    font-size: 25px;
  }

  .offer-head,
  .offer-body {
    padding: 16px;
  }

  .offer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky {
    display: flex;
  }
}

@media (max-width: 430px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .brand span:last-child {
    max-width: 118px;
  }

  .btn,
  .header-cta {
    padding: 0 14px;
  }
}
