
:root {
  --navy: #062b55;
  --navy-dark: #041f3e;
  --blue-soft: #eaf3fb;
  --blue-mid: #d7e9f7;
  --text: #263445;
  --muted: #627286;
  --border: #d8e2ec;
  --white: #ffffff;
  --offwhite: #f7fbfe;
  --green: #0b7a53;
  --yellow: #ffd45a;
  --shadow: 0 10px 30px rgba(6, 43, 85, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

.top-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 8px 0;
}

.top-strip-email {
  color: #fff;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.top-strip-email a {
  color: #fff;
  text-decoration: none;
}

.top-strip-email a:hover {
  text-decoration: underline;
}

.top-strip-offer {
  color: #ff4b4b;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.top-strip-delivery {
  color: #fff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  color: var(--navy);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.7px;
  line-height: 1;
  text-transform: uppercase;
}

.logo span {
  display: block;
  font-size: 14px;
  letter-spacing: 7px;
  margin-top: 7px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-weight: 800;
}

.nav a {
  padding: 29px 0;
  border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav a.active {
  border-bottom-color: var(--navy);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--blue-soft);
  color: var(--navy);
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.hero {
  background: linear-gradient(135deg, #f7fbff 0%, #e7f3fb 100%);
  padding: 68px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -1.8px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
}

h3 { font-size: 22px; }

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 740px;
  margin: 0 0 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(6, 43, 85, 0.06);
}

.trust-box strong {
  color: var(--navy);
  display: block;
}

.hero-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-visual-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
}

.hero-mattress-image {
  width: 100%;
  max-width: 680px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  display: block;
}

.homepage-mattress {
  position: relative;
  height: 330px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fcff 0%, #e4f1fa 100%);
  border: 4px solid #fff;
  box-shadow: inset 0 -18px 36px rgba(6, 43, 85, 0.08);
  overflow: hidden;
}

.foam-layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  box-shadow: 0 16px 28px rgba(6, 43, 85, 0.16);
}

.foam-layer-top {
  top: 55px;
  width: 72%;
  height: 56px;
  background: linear-gradient(to bottom, #ffffff 0%, #f2f8fc 100%);
  border: 2px solid #d9e7f2;
}

.foam-layer-middle {
  top: 130px;
  width: 78%;
  height: 62px;
  background: linear-gradient(to bottom, #dceffc 0%, #bcdcf1 100%);
  border: 2px solid #a9cade;
}

.foam-layer-bottom {
  top: 215px;
  width: 84%;
  height: 68px;
  background: linear-gradient(to bottom, #0f4a84 0%, #062b55 100%);
  border: 2px solid #052344;
}

.mattress-art {
  height: 330px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.94) 0 2px, transparent 3px),
    linear-gradient(to bottom, #ffffff 0 34%, #dbeefa 35% 50%, #ffffff 51% 59%, #b9d9ee 60% 76%, #0b3b70 77% 100%);
  background-size: 36px 36px, auto;
  border: 4px solid #fff;
  box-shadow: inset 0 -22px 40px rgba(6,43,85,0.16);
  position: relative;
}

.mattress-art::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 30px;
  height: 96px;
  border-radius: 28px;
  border: 3px solid var(--navy);
  background: rgba(255,255,255,0.72);
}

.section {
  padding: 70px 0;
}

.section-soft {
  background: var(--offwhite);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 690px;
  color: var(--muted);
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(6,43,85,0.06);
}

.card p {
  color: var(--muted);
  margin-top: 0;
}

.category-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-icon {
  height: 78px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  position: relative;
}

.category-icon::before,
.category-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  border-radius: 12px;
}

.category-icon::before {
  top: 17px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--navy);
}

.category-icon::after {
  top: 43px;
  height: 12px;
  background: #c7e1f4;
  border-bottom: 8px solid var(--navy);
}

.text-link {
  color: var(--navy);
  font-weight: 900;
}

.text-link:hover { text-decoration: underline; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  padding: 0;
  overflow: hidden;
}

.product-image {
  height: 195px;
  background: linear-gradient(180deg, #f9fdff, #dcecf8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.product-shape {
  width: 78%;
  height: 86px;
  border-radius: 18px;
  background:
    linear-gradient(to bottom, #fff 0 42%, #dceffc 43% 60%, #fff 61% 66%, #0b3b70 67% 100%);
  border: 3px solid #fff;
  box-shadow: 0 18px 32px rgba(6,43,85,0.18);
}

.product-content {
  padding: 22px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.price {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  margin: 10px 0 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.product-meta span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), #0e4b85);
  color: #fff;
  padding: 60px 0;
}

.page-hero h1 { color: #fff; }

.page-hero p {
  color: rgba(255,255,255,0.86);
  max-width: 820px;
  font-size: 19px;
}

.breadcrumbs {
  opacity: 0.85;
  font-size: 14px;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.feature-list li {
  border-bottom: 1px solid var(--border);
  padding: 10px 0 10px 28px;
  position: relative;
}

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

.info-box {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 34px;
}

.info-box h2,
.info-box h3 {
  color: #fff;
}

.info-box p {
  color: rgba(255,255,255,0.84);
}

.notice {
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  color: #664600;
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  display: none;
  color: var(--muted);
  padding-bottom: 22px;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta {
  background: linear-gradient(135deg, var(--navy), #0e4b85);
  color: #fff;
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.cta h2 { color: #fff; }

.cta p {
  color: rgba(255,255,255,0.86);
  margin: 0;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  color: var(--navy);
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
}

.form textarea { min-height: 130px; }

.footer {
  background: #031a34;
  color: #fff;
  padding: 54px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h3 {
  color: #fff;
  font-size: 18px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.74);
}

.footer a:hover { color: #fff; }

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li { margin: 8px 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 34px;
  padding-top: 18px;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}

@media (max-width: 940px) {
  .menu-toggle { display: block; }

  .header-actions { display: none; }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border);
  }

  .hero-grid,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .trust-row,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head { display: block; }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .trust-row,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 44px 0; }

  .section { padding: 48px 0; }

  .logo { font-size: 24px; }

  .logo span {
    font-size: 12px;
    letter-spacing: 5px;
  }

  .cta { padding: 28px; }
}

.quick-links {
  background: var(--navy);
  color: #fff;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-links a {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.quick-links strong,
.quick-links span {
  display: block;
}

.quick-links strong {
  font-size: 18px;
}

.quick-links span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.product-category-grid .category-card {
  border-top: 4px solid var(--navy);
}

.category-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.comparison-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(6, 43, 85, 0.06);
}

.comparison-card .text-link {
  display: inline-block;
  margin-top: 20px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list strong {
  color: #fff;
}

.quality-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, var(--blue-soft) 100%);
  box-shadow: var(--shadow);
}

.quality-intro p {
  color: var(--muted);
}

.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.credential {
  min-height: 130px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.credential strong {
  color: var(--navy);
  font-size: 19px;
}

.credential span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 5px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 46px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.final-shop-section {
  padding-top: 50px;
}

@media (max-width: 940px) {
  .quick-links-grid,
  .comparison-grid,
  .quality-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .quick-links a:last-child {
    border-bottom: 0;
  }

  .faq-intro {
    position: static;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .quality-panel {
    padding: 26px;
  }
}

.trust-badges-section {
  padding: 22px 0 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badges-section .container {
  max-width: 1320px;
}

.trust-badges-heading {
  margin-bottom: 14px;
  text-align: center;
}

.trust-badges-kicker {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

.trust-badge {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 104px;
  height: 100%;
  padding: 14px 16px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(6, 43, 85, 0.05);
}

.trust-badge-mark,
.trust-logo-wrap {
  width: 68px;
  min-width: 68px;
  height: 68px;
}

.trust-badge-mark {
  border: 3px solid var(--navy);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  line-height: 1;
  text-align: center;
}

.trust-badge-mark span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.trust-badge-mark strong {
  margin-top: 5px;
  font-size: 16px;
  color: var(--navy);
}

.trust-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
}

.trust-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.trust-logo-iso {
  max-width: 60px;
  max-height: 60px;
}

.trust-logo-made {
  max-width: 64px;
  max-height: 48px;
}

.trust-badge-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.trust-badge-copy strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.2;
}

.trust-badge-copy span,
.trust-badge-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.trust-badge-copy span {
  margin-top: 5px;
  font-size: 13px;
}

.trust-badge-copy small {
  margin-top: 4px;
  font-size: 11px;
}

.trust-badge-warranty {
  background: var(--offwhite);
  border-color: var(--border);
}

.warranty-mark {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
}

.warranty-mark strong {
  color: var(--navy);
  font-size: 26px;
}

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

@media (max-width: 900px) {
  .trust-badges-section .container {
    max-width: 840px;
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .trust-badges-section {
    padding: 18px 0 20px;
  }

  .trust-badges-section .container {
    max-width: 460px;
  }

  .trust-badges-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    justify-content: center;
  }

  .trust-badge {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    min-height: 96px;
    padding: 14px;
  }

  .trust-badge-mark,
  .trust-logo-wrap {
    width: 62px;
    min-width: 62px;
    height: 62px;
  }

  .trust-badge-copy strong {
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .top-strip-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 9px 0;
    text-align: center;
  }

  .top-strip-spacer {
    display: none;
  }

  .top-strip-offer,
  .top-strip-delivery,
  .top-strip-email {
    text-align: center;
    white-space: normal;
  }

  .top-strip-offer {
    font-size: 15px;
  }

  .top-strip-delivery {
    font-size: 13px;
  }
}

.mattress-range-section {
  background: #fff;
}

.mattress-range-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.mattress-range-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.mattress-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 43, 85, 0.08);
}

.mattress-product-main {
  min-width: 0;
}

.mattress-product-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.mattress-product-topline h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 32px);
}

.mattress-warranty-label {
  flex: 0 0 auto;
  min-width: 148px;
  padding: 10px 12px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}

.mattress-warranty-label strong,
.mattress-warranty-label span {
  display: block;
}

.mattress-warranty-label strong {
  font-size: 14px;
  font-weight: 900;
}

.mattress-warranty-label span {
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.mattress-product-intro {
  max-width: 760px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.mattress-product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 20px;
}

.mattress-detail-column h4 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 16px;
}

.mattress-layer-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.mattress-layer-list li {
  margin: 4px 0;
  padding-left: 2px;
}

.mattress-layer-list li::marker {
  color: var(--green);
}

.mattress-product-image-wrap {
  align-self: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: linear-gradient(180deg, #f8fcff, #edf6fc);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mattress-product-image {
  width: 225px;
  height: 225px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(6, 43, 85, 0.14);
}

.mattress-buying-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 2fr) minmax(140px, 0.8fr) 90px minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  background: var(--navy);
}

.mattress-option,
.mattress-price-panel {
  min-width: 0;
}

.mattress-option label,
.mattress-price-panel > span {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mattress-option select,
.mattress-option input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.mattress-option select:disabled {
  opacity: 1;
  color: var(--text);
  cursor: default;
}

.mattress-price-panel strong,
.mattress-price-panel small {
  display: block;
}

.mattress-price-panel strong {
  color: #fff;
  font-size: 21px;
  line-height: 1.05;
}

.mattress-price-panel small {
  margin-top: 3px;
  color: rgba(255,255,255,0.72);
  font-size: 10px;
  line-height: 1.2;
}

.mattress-add-button {
  min-height: 40px;
  padding: 9px 15px;
  border-color: #fff;
  background: #fff;
  color: var(--navy);
  white-space: nowrap;
}

.mattress-add-button:hover {
  background: var(--blue-soft);
  color: var(--navy);
}

.mattress-basket-note {
  display: none;
}

@media (max-width: 1050px) {
  .mattress-product-row {
    grid-template-columns: 1fr 230px;
  }

  .mattress-buying-panel {
    grid-template-columns: 1.4fr 0.7fr 80px 0.8fr;
  }

  .mattress-add-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 780px) {
  .mattress-product-row {
    grid-template-columns: 1fr;
  }

  .mattress-product-image-wrap {
    grid-row: 1;
  }

  .mattress-product-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .mattress-add-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .mattress-product-row {
    padding: 18px;
  }

  .mattress-product-topline {
    display: block;
  }

  .mattress-warranty-label {
    width: fit-content;
    margin: 12px 0 0;
  }

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

  .mattress-add-button {
    grid-column: auto;
  }
}

.mattress-quantity-option input {
  text-align: center;
  font-weight: 800;
}

.mattress-price-panel {
  min-width: 155px;
}

.mattress-price-panel small {
  min-height: 24px;
}

.mattress-price-panel {
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 64px;
}

.mattress-price-panel > span {
  margin-bottom: 4px;
}

.mattress-price-panel strong {
  line-height: 1;
}

.mattress-option input[readonly] {
  cursor: default;
  background: #fff;
}

.mattress-option input[readonly]::-ms-expand {
  display: none;
}

.mattress-product-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.mattress-product-side .mattress-warranty-label {
  align-self: flex-end;
  width: 100%;
  max-width: 180px;
}

.mattress-product-side .mattress-product-image-wrap {
  width: 100%;
}

.mattress-buying-panel {
  align-items: end;
}

.mattress-price-panel {
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 58px;
  padding-bottom: 1px;
}

.mattress-price-panel > span {
  margin-bottom: 3px;
  line-height: 1;
}

.mattress-price-panel strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.mattress-price-panel small {
  display: block;
  margin-top: 5px;
  min-height: 12px;
  line-height: 1.1;
}

.mattress-add-button {
  align-self: end;
  min-height: 40px;
}

.mattress-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: start;
}

.mattress-product-main {
  min-width: 0;
}

.mattress-product-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.mattress-product-side .mattress-warranty-label {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  align-self: stretch;
}

.mattress-product-side .mattress-product-image-wrap {
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
}

.mattress-buying-panel {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns:
    minmax(300px, 2fr)
    minmax(150px, 0.8fr)
    110px
    minmax(180px, 0.95fr)
    auto;
  gap: 12px;
  align-items: end;
}

.mattress-price-panel {
  align-self: end;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: end;
  min-height: 64px;
  padding: 0;
}

.mattress-price-panel > span {
  margin: 0 0 4px;
  line-height: 1;
}

.mattress-price-panel strong {
  margin: 0;
  line-height: 1;
}

.mattress-price-panel small {
  margin-top: 5px;
  line-height: 1.1;
}

.mattress-add-button {
  align-self: end;
  min-height: 40px;
}

@media (max-width: 1050px) {
  .mattress-product-row {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .mattress-buying-panel {
    grid-template-columns: 1.4fr 0.8fr 100px 0.9fr;
  }

  .mattress-add-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 780px) {
  .mattress-product-row {
    grid-template-columns: 1fr;
  }

  .mattress-product-side {
    grid-row: 1;
  }

  .mattress-buying-panel {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
  }

  .mattress-add-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .mattress-buying-panel {
    grid-template-columns: 1fr;
  }

  .mattress-add-button {
    grid-column: auto;
  }
}

.mattress-price-panel {
  align-self: end;
  justify-self: center;
  width: 100%;
  max-width: 190px;
  text-align: center;
  align-items: center;
}

.mattress-price-panel > span,
.mattress-price-panel strong,
.mattress-price-panel small {
  text-align: center;
}

.mattress-price-panel {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 64px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mattress-price-panel > span {
  margin: 0 0 5px;
  line-height: 1;
  text-align: center;
}

.mattress-price-panel strong {
  margin: 0;
  line-height: 1;
  text-align: center;
}

.mattress-price-panel small,
.mattress-selected-size {
  display: none !important;
}

.mattress-buying-panel {
  grid-template-columns:
    minmax(300px, 1fr)
    210px
    135px
    180px
    165px;
  column-gap: 14px;
  align-items: end;
}

.mattress-price-panel {
  width: 180px;
  max-width: 180px;
  min-width: 180px;
  justify-self: center;
  align-self: end;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mattress-add-button {
  width: 165px;
  min-width: 165px;
  justify-self: end;
}

@media (max-width: 1050px) {
  .mattress-buying-panel {
    grid-template-columns:
      minmax(260px, 1fr)
      180px
      110px
      170px;
  }

  .mattress-add-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 780px) {
  .mattress-buying-panel {
    grid-template-columns: 1fr 1fr;
  }

  .mattress-price-panel {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .mattress-buying-panel {
    grid-template-columns: 1fr;
  }
}

.mattress-product-row {
  row-gap: 14px;
}

.mattress-product-details {
  margin-bottom: 4px;
}

.mattress-buying-panel {
  margin-top: 0;
}

.mattress-product-main {
  padding-bottom: 0;
}

.mattress-product-row + .mattress-product-row {
  margin-top: 24px;
}

.mattress-product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-bar {
  background: #fff;
}

.brand-bar-inner {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-centred {
  display: inline-block;
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
}

.nav-bar {
  background: #fff;
  border-top: 1px solid var(--border);
}

.nav-bar .container {
  width: min(1240px, calc(100% - 32px));
}

.nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  color: var(--navy);
  font-weight: 800;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 10px;
  border-right: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  text-align: center;
  line-height: 1.25;
}

.nav a:first-child {
  border-left: 1px solid var(--border);
}

.nav a:hover,
.nav a.active {
  background: var(--blue-soft);
  border-bottom-color: var(--navy);
}

.brand-bar .menu-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-logo {
  font-size: 30px;
  letter-spacing: 0.2px;
}

.quick-links-grid {
  grid-template-columns: repeat(4, 1fr);
}

.foam-sheets-placeholder {
  max-width: 760px;
  border-top: 4px solid var(--navy);
}

@media (max-width: 940px) {
  .brand-bar-inner {
    min-height: 74px;
  }

  .logo-centred {
    font-size: 30px;
  }

  .brand-bar .menu-toggle {
    display: block;
  }

  .nav-bar .container {
    width: min(100% - 24px, 760px);
  }

  .nav {
    display: none;
    position: static;
    grid-template-columns: 1fr;
    margin: 0 0 12px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .nav a,
  .nav a:first-child {
    min-height: 46px;
    padding: 11px 14px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
    text-align: left;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .quick-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .logo-centred {
    font-size: 26px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --navy: #082f5f;
  --navy-dark: #052344;
  --blue-soft: #edf5fb;
  --blue-mid: #dcebf7;
  --text: #1f2f40;
  --muted: #5d6f82;
  --border: #d7e3ed;
  --offwhite: #f7fafc;
  --green: #087b56;
  --shadow: 0 18px 45px rgba(8, 47, 95, 0.10);
  --radius: 18px;
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}

.container {
  width: min(1240px, calc(100% - 48px));
}

.top-strip {
  font-size: 13px;
  box-shadow: inset 0 -1px rgba(255,255,255,0.08);
}

.top-strip-inner {
  min-height: 38px;
  padding: 5px 0;
}

.top-strip-offer {
  color: #ff6a6a;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.top-strip-delivery {
  font-size: 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 22px rgba(8, 47, 95, 0.06);
}

.brand-bar-inner {
  min-height: 92px;
}

.logo-centred {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  text-align: center;
}

.logo-centred .brand-name {
  display: block;
  margin: 0;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 1.6px;
  font-weight: 900;
}

.logo-centred .brand-tagline {
  display: block;
  margin: 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 2.1px;
  font-weight: 800;
  color: #58708a;
  text-transform: uppercase;
}

.nav-bar {
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid var(--border);
}

.nav-bar .container {
  width: min(1160px, calc(100% - 48px));
}

.nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}

.nav a,
.nav a:first-child {
  min-height: 52px;
  padding: 14px 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.25;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav a:hover,
.nav a.active {
  background: transparent;
  color: var(--navy-dark);
  border-bottom-color: var(--navy);
}

.hero {
  padding: 78px 0 72px;
  background: linear-gradient(135deg, #f8fbfe 0%, #eaf4fb 100%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr);
  gap: 64px;
}

.hero .eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -2.2px;
}

.hero .lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-buttons {
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  padding: 13px 23px;
  font-size: 15px;
}

.hero-visual {
  padding: 22px;
  border-radius: 24px;
  box-shadow: 0 22px 52px rgba(8,47,95,.14);
}

.hero-mattress-image {
  border-radius: 16px;
}

.trust-badges-section {
  padding: 38px 0 42px;
  background: #fff;
}

.trust-badges-heading {
  margin-bottom: 22px;
}

.trust-badges-kicker {
  font-size: 13px;
  letter-spacing: 1.1px;
}

.trust-badge {
  min-height: 132px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,47,95,.07);
}

.trust-logo-wrap {
  width: 72px;
  min-width: 72px;
  height: 72px;
  padding: 6px;
}

.trust-badge-copy strong {
  font-size: 15px;
}

.trust-badge-copy span {
  font-size: 13px;
}

.quick-links {
  padding: 0;
  background: var(--navy);
}

.quick-links-grid {
  grid-template-columns: repeat(4, 1fr);
}

.quick-links a {
  min-height: 92px;
  padding: 23px 26px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.quick-links strong {
  font-size: 17px;
}

.quick-links span {
  margin-top: 3px;
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: #f5f9fc;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head > div {
  width: 100%;
}

.section-head p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.3px;
}

.product-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  min-height: 270px;
  padding: 30px;
}

.product-category-grid .category-card {
  border-top-width: 5px;
}

.category-card h3 {
  font-size: 24px;
}

.category-card p {
  font-size: 16px;
  line-height: 1.7;
}

.comparison-grid {
  gap: 24px;
}

.comparison-card {
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(8,47,95,.07);
}

.product-grid {
  gap: 24px;
}

.product-card {
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(8,47,95,.08);
}

.product-image {
  height: 220px;
}

.product-content {
  padding: 26px;
}

.split {
  gap: 58px;
  align-items: start;
}

.info-box {
  padding: 38px;
  border-radius: 22px;
}

.quality-panel {
  gap: 52px;
  padding: 48px;
  border-radius: 24px;
}

.credential {
  min-height: 145px;
}

.faq-layout {
  gap: 64px;
}

.cta {
  padding: 42px 46px;
  border-radius: 24px;
}

.footer {
  padding: 66px 0 26px;
}

.footer-grid {
  gap: 44px;
}

.footer-logo {
  font-size: 32px;
}

.footer p,
.footer a,
.footer li {
  font-size: 14px;
}

@media (max-width: 1120px) {
  .trust-badges-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 42px;
  }
}

@media (max-width: 940px) {
  .container,
  .nav-bar .container {
    width: min(100% - 32px, 760px);
  }

  .brand-bar-inner {
    min-height: 78px;
  }

  .logo-centred .brand-name {
    font-size: 34px;
  }

  .logo-centred .brand-tagline {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 14px;
    padding: 8px;
  }

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

  .hero-visual {
    max-width: 620px;
  }

  .quick-links-grid,
  .product-category-grid,
  .comparison-grid,
  .product-grid,
  .quality-panel,
  .faq-layout {
    grid-template-columns: 1fr 1fr;
  }

  .quick-links a:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-bar .container {
    width: min(100% - 24px, 620px);
  }

  .top-strip-inner {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 7px 0;
  }

  .top-strip-spacer {
    display: none;
  }

  .top-strip-offer,
  .top-strip-delivery,
  .top-strip-email {
    text-align: center;
    white-space: normal;
  }

  .brand-bar-inner {
    min-height: 70px;
  }

  .logo-centred .brand-name {
    font-size: 29px;
  }

  .logo-centred .brand-tagline {
    display: none;
  }

  .hero {
    padding: 54px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 62px 0;
  }

  .trust-badges-grid,
  .quick-links-grid,
  .product-category-grid,
  .comparison-grid,
  .product-grid,
  .quality-panel,
  .faq-layout,
  .credential-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .quality-panel {
    padding: 28px;
  }

  .cta {
    padding: 30px;
  }
}

:root {
  --shadow: 0 8px 24px rgba(6, 43, 85, 0.09);
  --radius: 14px;
}

body {
  font-size: 15px;
}

.container {
  width: min(1320px, calc(100% - 40px));
}

.top-strip-inner {
  min-height: 42px;
  padding: 6px 0;
}

.top-strip-offer {
  font-size: 14px;
}

.top-strip-delivery {
  font-size: 13px;
}

.header-inner {
  min-height: 66px;
}

.logo {
  font-size: 28px;
}

.logo span {
  font-size: 11px;
  letter-spacing: 5px;
  margin-top: 5px;
}

.nav a {
  padding: 16px 12px;
}

.btn {
  padding: 10px 17px;
  font-size: 14px;
}

.hero {
  padding: 46px 0;
}

.hero-grid {
  gap: 34px;
}

h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -1.2px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.7px;
}

h3 {
  font-size: 20px;
}

.lead {
  font-size: 17px;
  line-height: 1.55;
}

.hero-buttons {
  margin-top: 20px;
}

.hero-visual {
  padding: 14px;
  border-radius: 22px;
}

.section {
  padding: 52px 0;
}

.section-head {
  gap: 10px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 720px;
}

.card,
.comparison-card {
  padding: 20px;
}

.category-card {
  min-height: 220px;
}

.product-image {
  height: 170px;
}

.product-content {
  padding: 18px;
}

.quality-panel {
  gap: 30px;
  padding: 32px;
  border-radius: 22px;
}

.credential {
  min-height: 110px;
  padding: 17px;
}

.faq-layout {
  gap: 34px;
}

.cta {
  padding: 34px;
  border-radius: 24px;
}

.footer {
  padding: 44px 0 18px;
}

.footer-grid {
  gap: 24px;
}

.trust-badges-section {
  padding: 22px 0;
}

.trust-badge {
  min-height: 96px;
  padding: 13px;
}

.trust-logo-wrap {
  width: 72px;
  min-width: 72px;
  height: 72px;
}

.quick-links a {
  padding: 16px 20px;
}

.quick-links strong {
  font-size: 16px;
}

@media (max-width: 940px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 40px 0;
  }

  .section {
    padding: 46px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .hero {
    padding: 36px 0;
  }

  .section {
    padding: 40px 0;
  }

  .quality-panel,
  .cta {
    padding: 24px;
  }
}

body {
  font-size: 14px;
  line-height: 1.5;
}

.container {
  width: min(1440px, calc(100% - 48px));
}

.top-strip-inner {
  min-height: 34px;
  padding: 4px 0;
}

.top-strip-offer,
.top-strip-delivery,
.top-strip-email {
  font-size: 12px;
}

.header-inner {
  min-height: 54px;
}

.logo {
  font-size: 24px;
}

.logo span {
  font-size: 9px;
  letter-spacing: 4px;
  margin-top: 3px;
}

.nav {
  gap: 10px;
}

.nav a {
  padding: 11px 14px;
  font-size: 13px;
}

.btn {
  padding: 8px 14px;
  font-size: 13px;
}

.hero {
  padding: 34px 0;
}

.hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
}

h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.9px;
}

h2 {
  font-size: clamp(23px, 2.4vw, 32px);
  letter-spacing: -0.5px;
}

h3 {
  font-size: 18px;
}

.eyebrow {
  font-size: 11px;
  margin-bottom: 8px;
}

.lead {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.hero-buttons {
  gap: 10px;
  margin-top: 16px;
}

.hero-visual {
  padding: 10px;
  border-radius: 18px;
}

.hero-mattress-image {
  max-width: 520px;
}

.section {
  padding: 38px 0;
}

.section-head {
  gap: 8px;
  margin-bottom: 20px;
}

.section-head p {
  font-size: 14px;
  max-width: 680px;
}

.quick-links a {
  padding: 12px 16px;
}

.quick-links strong {
  font-size: 14px;
}

.quick-links span {
  font-size: 11px;
}

.card,
.comparison-card {
  padding: 16px;
}

.category-card {
  min-height: 180px;
}

.category-number {
  height: 26px;
  min-width: 34px;
  font-size: 11px;
  margin-bottom: 12px;
}

.product-grid {
  gap: 16px;
}

.product-image {
  height: 140px;
}

.product-content {
  padding: 15px;
}

.product-content h3 {
  font-size: 17px;
}

.badge {
  font-size: 11px;
  padding: 4px 8px;
}

.price {
  font-size: 17px;
  margin: 7px 0 12px;
}

.comparison-grid {
  gap: 16px;
}

.comparison-card {
  min-height: 0;
}

.quality-panel {
  gap: 24px;
  padding: 24px;
  border-radius: 18px;
}

.credential-grid {
  gap: 10px;
}

.credential {
  min-height: 88px;
  padding: 13px;
}

.credential strong {
  font-size: 15px;
}

.credential span {
  font-size: 12px;
}

.faq-layout {
  gap: 26px;
}

.faq-question {
  padding: 16px 0;
  font-size: 15px;
}

.faq-answer {
  padding-bottom: 16px;
}

.info-box {
  padding: 24px;
  border-radius: 20px;
}

.cta {
  padding: 24px;
  border-radius: 18px;
}

.footer {
  padding: 34px 0 14px;
}

.footer-grid {
  gap: 18px;
}

.footer h3 {
  font-size: 15px;
}

.footer p,
.footer a,
.footer li {
  font-size: 12px;
}

.trust-badges-section {
  padding: 16px 0;
}

.trust-badges-heading {
  margin-bottom: 10px;
}

.trust-badges-kicker {
  font-size: 11px;
}

.trust-badge {
  min-height: 78px;
  padding: 10px;
  gap: 10px;
}

.trust-logo-wrap {
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 5px;
}

.trust-badge-copy strong {
  font-size: 12px;
}

.trust-badge-copy span {
  font-size: 10px;
}

.trust-badge-copy small {
  font-size: 9px;
}

.trust-badge-mark {
  width: 56px;
  min-width: 56px;
  height: 56px;
}

.trust-badge-mark strong {
  font-size: 13px;
}

.trust-badge-mark span {
  font-size: 9px;
}

@media (min-width: 1200px) {
  .product-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .trust-badges-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 940px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 32px 0;
  }

  .section {
    padding: 36px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  h2 {
    font-size: clamp(23px, 7vw, 30px);
  }

  .hero {
    padding: 30px 0;
  }

  .section {
    padding: 34px 0;
  }
}

body {
  font-size: 13px;
  line-height: 1.45;
}

.container {
  width: min(1500px, calc(100% - 56px));
}

.top-strip-inner {
  min-height: 30px;
  padding: 3px 0;
}

.top-strip-offer,
.top-strip-delivery,
.top-strip-email {
  font-size: 11px;
}

.header-inner {
  min-height: 46px;
}

.logo {
  font-size: 21px;
  letter-spacing: -0.3px;
}

.logo span {
  font-size: 8px;
  letter-spacing: 3px;
  margin-top: 2px;
}

.nav {
  gap: 6px;
}

.nav a {
  padding: 9px 12px;
  font-size: 12px;
}

.header-actions {
  gap: 6px;
}

.btn {
  padding: 7px 12px;
  font-size: 12px;
}

.hero {
  padding: 28px 0;
}

.hero-grid {
  gap: 24px;
}

h1 {
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(21px, 2vw, 29px);
  letter-spacing: -0.35px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.eyebrow {
  font-size: 10px;
  margin-bottom: 6px;
}

.lead {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.hero-buttons {
  margin-top: 12px;
}

.hero-visual {
  padding: 8px;
  border-radius: 16px;
}

.hero-mattress-image {
  max-width: 460px;
}

.page-hero {
  padding: 36px 0;
}

.page-hero p {
  font-size: 15px;
}

.section {
  padding: 30px 0;
}

.section-head {
  gap: 6px;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 13px;
}

.quick-links a {
  padding: 10px 14px;
}

.quick-links strong {
  font-size: 13px;
}

.quick-links span {
  font-size: 10px;
}

.card,
.comparison-card {
  padding: 14px;
}

.category-card {
  min-height: 160px;
}

.product-image {
  height: 125px;
}

.product-content {
  padding: 13px;
}

.product-content h3 {
  font-size: 15px;
}

.price {
  font-size: 16px;
}

.quality-panel {
  padding: 20px;
  gap: 20px;
}

.credential {
  min-height: 76px;
  padding: 11px;
}

.faq-layout {
  gap: 20px;
}

.faq-question {
  padding: 13px 0;
  font-size: 14px;
}

.info-box {
  padding: 20px;
}

.cta {
  padding: 20px;
}

.footer {
  padding: 28px 0 12px;
}

.footer-grid {
  gap: 14px;
}

.trust-badges-section {
  padding: 12px 0;
}

.trust-badge {
  min-height: 68px;
  padding: 8px;
}

.trust-logo-wrap {
  width: 50px;
  min-width: 50px;
  height: 50px;
}

.trust-badge-copy strong {
  font-size: 11px;
}

.trust-badge-copy span {
  font-size: 9px;
}

.trust-badge-copy small {
  font-size: 8px;
}

@media (max-width: 940px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  body {
    font-size: 13px;
  }

  .hero {
    padding: 26px 0;
  }

  .section {
    padding: 28px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 13px;
  }

  .container {
    width: min(100% - 18px, 1180px);
  }

  h1 {
    font-size: clamp(27px, 8vw, 36px);
  }

  h2 {
    font-size: clamp(21px, 6.5vw, 28px);
  }

  .hero {
    padding: 24px 0;
  }

  .section {
    padding: 26px 0;
  }
}

.hero-grid-no-image {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.hero-grid-no-image > div {
  max-width: 900px;
}

.hero-grid-no-image .lead {
  max-width: 820px;
}

.hero-carousel {
  padding: 24px 0;
}

.hero-carousel-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff 0%, #e7f3fb 100%);
  box-shadow: var(--shadow);
}

.hero-slide {
  display: none;
  padding: 28px 58px 42px;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: 300px;
}

.hero-slide-content {
  min-width: 0;
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 780px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-slide .lead {
  max-width: 720px;
  margin-bottom: 18px;
}

.hero-slide-image-wrap {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 43, 85, 0.08);
}

.hero-slide-image {
  width: 100%;
  max-width: 430px;
  max-height: 270px;
  object-fit: contain;
  display: block;
}

.hero-slide-image-sheets {
  max-width: 430px;
  max-height: 270px;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.hero-carousel-prev {
  left: 14px;
}

.hero-carousel-next {
  right: 14px;
}

.hero-carousel-arrow:hover {
  background: var(--navy);
  color: #fff;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a9bfd2;
  cursor: pointer;
}

.hero-carousel-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--navy);
}

@media (max-width: 900px) {
  .hero-slide {
    padding: 26px 50px 40px;
  }

  .hero-slide-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  .hero-slide-content {
    text-align: left;
  }

  .hero-slide-image-wrap {
    min-height: 190px;
  }

  .hero-slide-image {
    max-width: 360px;
    max-height: 210px;
  }
}

@media (max-width: 640px) {
  .hero-carousel {
    padding: 18px 0;
  }

  .hero-slide {
    padding: 24px 34px 42px;
  }

  .hero-slide h1,
  .hero-slide h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero-slide-image-wrap {
    min-height: 160px;
    padding: 10px;
  }

  .hero-slide-image {
    max-width: 290px;
    max-height: 170px;
  }

  .hero-slide-image-sheets {
    max-width: 190px;
    max-height: 190px;
  }

  .hero-carousel-arrow {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    font-size: 22px;
  }

  .hero-carousel-prev {
    left: 6px;
  }

  .hero-carousel-next {
    right: 6px;
  }

  .hero-buttons {
    gap: 8px;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-slide {
    padding: 22px 28px 40px;
  }

  .hero-slide-image-wrap {
    min-height: 140px;
  }

  .hero-slide-image {
    max-height: 150px;
  }
}

.trust-badges-section {
  padding: 18px 0 16px;
}

.trust-badges-heading {
  margin-bottom: 14px;
}

.trust-badges-kicker {
  font-size: 12px;
  letter-spacing: 0.45px;
}

.trust-badge {
  min-width: 0;
  min-height: 112px;
  padding: 14px 16px;
  gap: 14px;
  align-items: center;
  background: #fff;
}

.trust-logo-wrap {
  width: 92px;
  min-width: 92px;
  height: 92px;
  padding: 6px;
  border-radius: 14px;
  overflow: hidden;
}

.trust-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.trust-logo-iso,

.trust-logo-made {
  width: 100%;
  height: auto;
  max-width: 88px;
  max-height: 54px;
}

.trust-badge-mark {
  width: 86px;
  min-width: 86px;
  height: 86px;
}

.trust-badge-mark strong {
  font-size: 18px;
}

.trust-badge-mark span {
  font-size: 10px;
}

.trust-badge-copy {
  min-width: 0;
}

.trust-badge-copy strong {
  font-size: 15px;
  line-height: 1.25;
}

.trust-badge-copy span {
  font-size: 12px;
  line-height: 1.35;
}

.trust-badge-copy small {
  font-size: 10px;
  line-height: 1.3;
}

@media (max-width: 1320px) {
  .trust-badges-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .trust-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-badge {
    min-height: 104px;
  }

  .trust-logo-wrap {
    width: 82px;
    min-width: 82px;
    height: 82px;
  }

  .trust-badge-mark {
    width: 76px;
    min-width: 76px;
    height: 76px;
  }
}

@media (max-width: 620px) {
  .trust-badges-section {
    padding: 14px 0;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-badge {
    min-height: 92px;
    padding: 12px 14px;
  }

  .trust-logo-wrap {
    width: 72px;
    min-width: 72px;
    height: 72px;
  }

  .trust-badge-mark {
    width: 68px;
    min-width: 68px;
    height: 68px;
  }

  .trust-badge-copy strong {
    font-size: 14px;
  }

  .trust-badge-copy span {
    font-size: 11px;
  }

  .trust-badge-copy small {
    font-size: 9px;
  }
}

.homepage-offer-note {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.homepage-offer-note-inner {
  padding: 9px 0;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
}
.homepage-offer-note-inner strong {
  color: #c90000;
  margin-right: 6px;
}
.quick-links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.comparison-grid,
.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px) {
  .quick-links-grid,
  .product-category-grid,
  .comparison-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .homepage-offer-note-inner {
    padding: 8px 12px;
    font-size: 12px;
  }
}

.foam-sheet-range-heading {
  max-width: 900px;
}

.foam-sheet-range-heading p {
  max-width: 840px;
  font-size: 15px;
  line-height: 1.55;
}

.foam-sheet-product-row {
  position: relative;
}

.foam-sheet-product-image {
  width: 225px;
  height: 225px;
  object-fit: contain;
}

.foam-fire-label {
  text-align: center;
}

.foam-sheet-buying-panel {
  grid-template-columns:
    minmax(260px, 1.45fr)
    minmax(230px, 1.3fr)
    100px
    180px
    165px;
}

.foam-sheet-buying-panel .mattress-price-panel {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

@media (max-width: 1080px) {
  .foam-sheet-buying-panel {
    grid-template-columns:
      minmax(230px, 1.35fr)
      minmax(210px, 1.2fr)
      90px
      170px;
  }

  .foam-sheet-buying-panel .mattress-add-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .foam-sheet-buying-panel {
    grid-template-columns: 1fr 1fr;
  }

  .foam-sheet-buying-panel .mattress-price-panel {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .foam-sheet-buying-panel {
    grid-template-columns: 1fr;
  }
}

.foam-sheet-product-row + .foam-sheet-product-row {
  margin-top: 24px;
}

.foam-grade-label {
  text-align: center;
}

.topper-range-section .mattress-range-heading {
  max-width: 940px;
}

.topper-range-section .mattress-range-heading p {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.55;
}

.topper-product-row .mattress-product-image {
  width: 225px;
  height: 225px;
  object-fit: contain;
}

.topper-quality-label {
  text-align: center;
}

.topper-buying-panel {
  grid-template-columns:
    minmax(120px, 0.65fr)
    minmax(260px, 1.55fr)
    minmax(160px, 0.85fr)
    100px
    170px
    165px;
}

.topper-buying-panel .mattress-price-panel {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

@media (max-width: 1180px) {
  .topper-buying-panel {
    grid-template-columns:
      minmax(120px, 0.7fr)
      minmax(240px, 1.5fr)
      minmax(150px, 0.8fr)
      90px
      160px;
  }

  .topper-buying-panel .mattress-add-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .topper-buying-panel {
    grid-template-columns: 1fr 1fr;
  }

  .topper-buying-panel .mattress-price-panel {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .topper-buying-panel {
    grid-template-columns: 1fr;
  }
}

.egg-crate-range-section {
  padding-top: 18px;
}

.egg-crate-range-section .mattress-range-heading {
  max-width: 940px;
}

.egg-crate-range-section .mattress-range-heading p {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.55;
}

.egg-crate-buying-panel {
  grid-template-columns:
    minmax(260px, 1.55fr)
    minmax(130px, 0.7fr)
    minmax(170px, 0.9fr)
    100px
    170px
    165px;
}

@media (max-width: 1180px) {
  .egg-crate-buying-panel {
    grid-template-columns:
      minmax(240px, 1.45fr)
      minmax(125px, 0.7fr)
      minmax(160px, 0.85fr)
      90px
      160px;
  }

  .egg-crate-buying-panel .mattress-add-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .egg-crate-buying-panel {
    grid-template-columns: 1fr 1fr;
  }

  .egg-crate-buying-panel .mattress-price-panel {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .egg-crate-buying-panel {
    grid-template-columns: 1fr;
  }
}

.topper-product-row + .topper-product-row {
  margin-top: 24px;
}

.topper-product-row + .topper-product-row {
  margin-top: 24px;
}

.site-header,
.main-header,
.header,
.header-wrap,
.navigation-row,
.nav-wrap,
.main-nav,
.nav {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

.site-header,
.main-header,
.header,
.header-wrap,
.navigation-row,
.nav-wrap {
  z-index: auto !important;
}

body {
  padding-top: 0 !important;
}

.foam-non-fr-label {
  border-color: #b42318;
  background: #fff5f4;
}

.foam-non-fr-label strong {
  color: #b42318;
}

.foam-non-fr-label span {
  color: #8a2c24;
}

[data-product="closed-cell-polyethylene-sheet-efp30"] .foam-sheet-buying-panel {
  grid-template-columns:
    minmax(180px, 1.15fr)
    minmax(150px, 1fr)
    minmax(120px, 0.8fr)
    minmax(220px, 1.25fr)
    100px
    160px
    165px;
}

[data-product="closed-cell-polyethylene-sheet-efp30"] .mattress-price-panel {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

@media (max-width: 1280px) {
  [data-product="closed-cell-polyethylene-sheet-efp30"] .foam-sheet-buying-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  [data-product="closed-cell-polyethylene-sheet-efp30"] .mattress-price-panel,
  [data-product="closed-cell-polyethylene-sheet-efp30"] .mattress-add-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  [data-product="closed-cell-polyethylene-sheet-efp30"] .foam-sheet-buying-panel {
    grid-template-columns: 1fr;
  }
}

[data-product="closed-cell-polyethylene-sheet-efp45"] .foam-sheet-buying-panel {
  grid-template-columns:
    minmax(180px, 1.15fr)
    minmax(150px, 1fr)
    minmax(120px, 0.8fr)
    minmax(220px, 1.25fr)
    100px
    160px
    165px;
}

[data-product="closed-cell-polyethylene-sheet-efp45"] .mattress-price-panel {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

@media (max-width: 1280px) {
  [data-product="closed-cell-polyethylene-sheet-efp45"] .foam-sheet-buying-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  [data-product="closed-cell-polyethylene-sheet-efp45"] .mattress-price-panel,
  [data-product="closed-cell-polyethylene-sheet-efp45"] .mattress-add-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  [data-product="closed-cell-polyethylene-sheet-efp45"] .foam-sheet-buying-panel {
    grid-template-columns: 1fr;
  }
}

[data-product="plastazote-ld33-closed-cell-sheet"] .foam-sheet-buying-panel {
  grid-template-columns:
    minmax(180px, 1.15fr)
    minmax(150px, 1fr)
    minmax(130px, 0.9fr)
    minmax(220px, 1.25fr)
    100px
    160px
    165px;
}

[data-product="plastazote-ld33-closed-cell-sheet"] .mattress-price-panel {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.plastazote-quality-label {
  text-align: center;
}

@media (max-width: 1280px) {
  [data-product="plastazote-ld33-closed-cell-sheet"] .foam-sheet-buying-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  [data-product="plastazote-ld33-closed-cell-sheet"] .mattress-price-panel,
  [data-product="plastazote-ld33-closed-cell-sheet"] .mattress-add-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  [data-product="plastazote-ld33-closed-cell-sheet"] .foam-sheet-buying-panel {
    grid-template-columns: 1fr;
  }
}

.ethafoam-stpe200-buying-panel {
  grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 1fr) minmax(130px, 0.9fr) 100px 160px 165px;
}

@media (max-width: 1200px) {
  .ethafoam-stpe200-buying-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 767px) {
  .ethafoam-stpe200-buying-panel {
    grid-template-columns: 1fr;
  }
}

[data-product="epdm-closed-cell-rubber-sheet"] .foam-sheet-buying-panel {
  grid-template-columns:
    minmax(180px, 1.15fr)
    minmax(150px, 1fr)
    minmax(220px, 1.25fr)
    100px
    160px
    165px;
}

[data-product="epdm-closed-cell-rubber-sheet"] .mattress-price-panel {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

@media (max-width: 1280px) {
  [data-product="epdm-closed-cell-rubber-sheet"] .foam-sheet-buying-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  [data-product="epdm-closed-cell-rubber-sheet"] .mattress-price-panel,
  [data-product="epdm-closed-cell-rubber-sheet"] .mattress-add-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  [data-product="epdm-closed-cell-rubber-sheet"] .foam-sheet-buying-panel {
    grid-template-columns: 1fr;
  }
}

.acoustic-foam-buying-panel {
  grid-template-columns:
    minmax(210px, 1.25fr)
    minmax(190px, 1.1fr)
    minmax(240px, 1.35fr)
    100px
    170px
    165px;
}

.acoustic-foam-buying-panel .mattress-price-panel {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

@media (max-width: 1280px) {
  .acoustic-foam-buying-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .acoustic-foam-buying-panel .mattress-price-panel,
  .acoustic-foam-buying-panel .mattress-add-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .acoustic-foam-buying-panel {
    grid-template-columns: 1fr;
  }
}

.mattress-product-image-wrap {
  position: relative;
}

.mattress-product-image.is-zoomable,
.featured-product-image.is-zoomable {
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mattress-product-image.is-zoomable:hover,
.featured-product-image.is-zoomable:hover {
  transform: scale(1.025);
  box-shadow: 0 14px 28px rgba(6, 43, 85, 0.2);
}

.mattress-product-image.is-zoomable:focus-visible,
.featured-product-image.is-zoomable:focus-visible {
  outline: 3px solid #1f73b7;
  outline-offset: 4px;
}

body.product-image-lightbox-open {
  overflow: hidden;
}

.product-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2, 18, 38, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.product-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-image-lightbox[hidden] {
  display: none;
}

.product-image-lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(94vw, 1050px);
  max-height: 92vh;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  transform: scale(0.96);
  transition: transform 180ms ease;
}

.product-image-lightbox.is-open .product-image-lightbox__content {
  transform: scale(1);
}

.product-image-lightbox__image {
  display: block;
  width: min(88vw, 900px);
  height: min(78vh, 720px);
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.product-image-lightbox__caption {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.product-image-lightbox__close {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.product-image-lightbox__close:hover,
.product-image-lightbox__close:focus-visible {
  background: #0d4f91;
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .product-image-lightbox {
    padding: 14px;
  }

  .product-image-lightbox__content {
    width: 96vw;
    max-height: 90vh;
    padding: 12px;
    border-radius: 14px;
  }

  .product-image-lightbox__image {
    width: 92vw;
    height: 74vh;
  }

  .product-image-lightbox__close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mattress-product-image.is-zoomable,
  .featured-product-image.is-zoomable,
  .product-image-lightbox,
  .product-image-lightbox__content {
    transition: none;
  }
}

.data-sheets-hero {
  padding: 54px 0;
}

.data-sheets-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.data-sheets-hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 260px;
}

.data-sheets-hero-action span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.data-sheets-intro-section {
  padding-top: 30px;
  padding-bottom: 20px;
}

.data-sheets-notice {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid #b9ddce;
  border-left: 5px solid var(--green);
  border-radius: 14px;
  background: #eef8f3;
}

.data-sheets-notice strong {
  color: var(--navy);
  font-size: 16px;
}

.data-sheets-notice p {
  margin: 0;
}

.data-sheet-group {
  padding-top: 34px;
  padding-bottom: 34px;
}

.data-sheet-group:nth-of-type(even) {
  background: var(--offwhite);
}

.data-sheet-group-heading {
  margin-bottom: 22px;
}

.data-sheet-group-heading h2 {
  margin-bottom: 0;
}

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

.data-sheet-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 23px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 47, 95, 0.07);
}

.data-sheet-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.data-sheet-code,
.data-sheet-format {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.data-sheet-code {
  background: var(--blue-soft);
  color: var(--navy);
}

.data-sheet-format {
  background: #e9f7f1;
  color: var(--green);
}

.data-sheet-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.3;
}

.data-sheet-card p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.data-sheet-download {
  width: 100%;
}

.data-sheets-contact-section {
  padding-top: 36px;
}

@media (max-width: 1020px) {
  .data-sheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a,
  .nav a:first-child {
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 760px) {
  .data-sheets-hero-grid,
  .data-sheets-notice {
    grid-template-columns: 1fr;
  }

  .data-sheets-hero-action {
    align-items: stretch;
    min-width: 0;
  }

  .data-sheet-grid {
    grid-template-columns: 1fr;
  }

  .data-sheet-card {
    min-height: 0;
  }
}

.data-sheet-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.data-sheet-card-actions .btn {
  width: 100%;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}

@media (max-width: 520px) {
  .data-sheet-card-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 941px) {
  .nav-bar .container {
    display: flex;
    justify-content: center;
  }

  .nav {
    width: 100%;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    justify-content: center;
  }
}

.hero-slide-image-wrap-factory {
  padding: 10px;
  overflow: hidden;
}

.hero-slide-image-factory {
  width: 100%;
  max-width: 430px;
  max-height: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .hero-slide-image-factory {
    max-width: 360px;
    max-height: 220px;
  }
}

@media (max-width: 640px) {
  .hero-slide-image-factory {
    max-width: 290px;
    max-height: 190px;
  }
}

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

.featured-product-grid .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-product-grid .product-image {
  padding: 14px;
}

.featured-product-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: contain;
}

.featured-product-grid .product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.featured-product-grid .price {
  margin-top: auto;
}

.featured-product-grid .product-content .btn {
  margin-top: 0;
  align-self: flex-start;
}

@media (max-width: 940px) {
  .featured-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .featured-product-grid {
    grid-template-columns: 1fr;
  }
}

.about-page-hero p {
  max-width: 760px;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--text);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy a,
.about-service-card a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-intro-grid,
.about-experience-grid,
.about-quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.about-expectations,
.about-guidance-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.about-expectations h2,
.about-guidance-card h2 {
  color: #fff;
  font-size: 22px;
}

.about-expectations ul,
.about-guidance-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-expectations li,
.about-guidance-card li {
  position: relative;
  padding: 10px 0 10px 23px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.about-expectations li:last-child,
.about-guidance-card li:last-child {
  border-bottom: 0;
}

.about-expectations li::before,
.about-guidance-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8fe1c0;
  font-weight: 900;
}

.about-section-head {
  align-items: flex-start;
  width: 100%;
  max-width: none;
}

.about-section-head p {
  width: 100%;
  max-width: 860px;
}

.about-product-grid,
.about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-product-card,
.about-service-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(6, 43, 85, 0.07);
}

.about-card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.about-product-card p,
.about-service-card p {
  margin: 0 0 16px;
}

.about-text-link {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.about-text-link::after {
  content: " →";
}

.about-text-link-light {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-stat {
  min-height: 128px;
  padding: 18px;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.about-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
}

.about-stat span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.about-guidance-card p {
  margin-top: 0;
}

.about-service-card {
  min-height: 180px;
  border-top-color: var(--green);
}

.about-final-cta-section {
  padding-top: 12px;
}

.about-final-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.about-final-cta .btn-outline {
  background: #fff;
}

@media (max-width: 940px) {
  .about-intro-grid,
  .about-experience-grid,
  .about-quality-grid {
    grid-template-columns: 1fr;
  }

  .about-product-grid,
  .about-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-product-grid,
  .about-service-grid,
  .about-stat-grid {
    grid-template-columns: 1fr;
  }

  .about-product-card,
  .about-service-card {
    min-height: 0;
  }

  .about-expectations,
  .about-guidance-card {
    padding: 19px;
  }

  .about-final-cta .cta-actions {
    justify-content: flex-start;
  }
}

.foam-category-information {
  margin-top: 28px;
}

.foam-content-accordion,
.foam-faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 52, 103, 0.06);
}

.foam-content-accordion {
  border-top: 5px solid var(--navy);
}

.foam-content-accordion summary,
.foam-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.foam-content-accordion summary::-webkit-details-marker,
.foam-faq-item summary::-webkit-details-marker {
  display: none;
}

.foam-content-accordion summary {
  padding: 20px 62px 20px 24px;
  font-size: 19px;
}

.foam-content-accordion summary::after,
.foam-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
}

.foam-content-accordion[open] summary::after,
.foam-faq-item[open] summary::after {
  content: "−";
}

.foam-info-content {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--border);
}

.foam-info-content h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.foam-info-content h4 {
  margin: 22px 0 8px;
  color: var(--navy);
  font-size: 17px;
}

.foam-info-content p,
.foam-faq-answer p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
}

.foam-info-content p:last-child,
.foam-faq-answer p:last-child {
  margin-bottom: 0;
}

.foam-info-content a,
.foam-faq-answer a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foam-sheet-faq-heading {
  max-width: 860px;
  margin-bottom: 24px;
}

.foam-sheet-faq-heading p {
  max-width: 780px;
  color: var(--muted);
}

.foam-sheet-faq-list {
  display: grid;
  gap: 12px;
}

.foam-faq-item {
  box-shadow: none;
}

.foam-faq-item summary {
  padding: 18px 58px 18px 22px;
  font-size: 16px;
}

.foam-faq-answer {
  padding: 0 22px 20px;
}

.foam-faq-item[open] .foam-faq-answer {
  padding-top: 2px;
}

@media (max-width: 720px) {
  .foam-content-accordion summary {
    padding: 18px 54px 18px 18px;
    font-size: 17px;
  }

  .foam-info-content {
    padding: 18px;
  }

  .foam-info-content h3 {
    font-size: 21px;
  }

  .foam-faq-item summary {
    padding: 16px 52px 16px 18px;
  }

  .foam-faq-answer {
    padding: 0 18px 18px;
  }
}

.foam-sheet-product-row .foam-sheet-buying-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  padding: 11px 13px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-option {
  flex: 0 1 180px;
  width: auto;
  max-width: 210px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .foam-sheet-size-option {
  flex-basis: 190px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .foam-sheet-thickness-option {
  flex-basis: 160px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .foam-sheet-colour-option {
  flex-basis: 130px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .foam-sheet-adhesive-option {
  flex-basis: 205px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-quantity-option {
  flex: 0 0 82px;
  max-width: 82px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-option select,
.foam-sheet-product-row .foam-sheet-buying-panel .mattress-option input {
  min-height: 36px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 13px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-option label,
.foam-sheet-product-row .foam-sheet-buying-panel .mattress-price-panel > span {
  margin-bottom: 4px;
  font-size: 11px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-price-panel {
  flex: 0 0 138px;
  width: 138px;
  min-width: 138px;
  max-width: 138px;
  min-height: 52px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-price-panel strong {
  font-size: 22px;
}

.foam-sheet-product-row .foam-sheet-buying-panel .mattress-add-button {
  flex: 0 0 158px;
  width: 158px;
  min-width: 158px;
  min-height: 36px;
  padding: 7px 12px;
}

.foam-sheet-product-row @media (max-width: 900px) {
  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-option {
    flex: 1 1 calc(50% - 10px);
    width: auto;
    max-width: none;
  }

  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-quantity-option {
    flex: 0 0 100px;
    max-width: 100px;
  }

  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-price-panel {
    flex: 1 1 140px;
    width: auto;
    min-width: 140px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .foam-sheet-product-row .foam-sheet-buying-panel {
    gap: 9px;
    padding: 10px;
  }

  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-option,
  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-quantity-option,
  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-price-panel,
  .foam-sheet-product-row .foam-sheet-buying-panel .mattress-add-button {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

.product-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.product-title-line h3 {
  margin: 0;
}

.product-title-data-sheet-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.product-title-data-sheet-link:hover,
.product-title-data-sheet-link:focus-visible {
  color: var(--green);
}

.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.25fr)
    minmax(190px, 1.05fr)
    minmax(86px, 0.42fr)
    minmax(138px, 0.66fr)
    minmax(176px, 0.88fr);
  align-items: end;
  gap: 16px;
}

.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] {
  display: grid;
  grid-template-columns:
    minmax(190px, 1.05fr)
    minmax(165px, 0.92fr)
    minmax(205px, 1.15fr)
    minmax(86px, 0.42fr)
    minmax(138px, 0.66fr)
    minmax(176px, 0.88fr);
  align-items: end;
  gap: 14px;
}

.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] .mattress-option,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] .mattress-option,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] .mattress-price-panel,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] .mattress-price-panel,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] .mattress-add-button,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] .mattress-add-button {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] .mattress-option,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] .mattress-option {
  max-width: none;
}

.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] .mattress-price-panel,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] .mattress-price-panel {
  min-height: 52px;
}

.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"] .mattress-add-button,
.foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] .mattress-add-button {
  min-height: 36px;
}

@media (max-width: 1180px) {
  .foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"],
  .foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 820px) {
  .foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"],
  .foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-title-line {
    gap: 5px 8px;
  }

  .product-title-data-sheet-link {
    font-size: 13px;
  }

  .foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="3"],
  .foam-sheet-product-row .foam-sheet-buying-panel[data-option-count="4"] {
    grid-template-columns: 1fr;
  }
}

.mattress-information-section,
.mattress-faq-section {
  background: #f4f8fc;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.section-heading p,
.faq-layout > div:first-child p {
  color: var(--muted);
}

.seo-details-list {
  display: grid;
  gap: 12px;
}

.seo-details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.seo-details summary {
  position: relative;
  padding: 17px 52px 17px 20px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.seo-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
}

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

.seo-details-content {
  padding: 0 20px 18px;
  color: var(--text);
}

.seo-details-content p:last-child {
  margin-bottom: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 34px;
  align-items: start;
}

.compact-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

.mattress-offer-note {
  grid-column: 1 / -1;
  margin: 8px 6px 0;
  color: #c62828;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.mattress-page-hero p {
  width: 100%;
  max-width: none;
}

.topper-page-hero p {
  width: 100%;
  max-width: none;
}

.topper-information-section,
.topper-faq-section {
  background: #f4f8fc;
}

.egg-crate-information-section {
  background: #fff;
}

.topper-product-row .mattress-offer-note {
  grid-column: 1 / -1;
  margin: 8px 6px 0;
  color: #c62828;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.delivery-page-hero p {
  width: 100%;
  max-width: none;
}

.delivery-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.delivery-policy-card,
.returns-policy-card {
  padding: 24px;
}

.delivery-policy-card h3,
.returns-policy-card h3 {
  margin-top: 0;
  color: var(--navy);
}

.returns-policy-card h3:not(:first-child) {
  margin-top: 28px;
}

.delivery-policy-card p:last-child,
.returns-policy-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .delivery-policy-grid {
    grid-template-columns: 1fr;
  }
}

.terms-page-hero p {
  width: 100%;
  max-width: none;
}

.terms-updated {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.terms-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.terms-contents {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.terms-contents h2 {
  margin-top: 0;
  font-size: 20px;
}

.terms-contents ol {
  margin: 0;
  padding-left: 22px;
}

.terms-contents li {
  margin: 0 0 8px;
  color: var(--muted);
}

.terms-contents a {
  color: var(--navy);
  text-decoration: none;
}

.terms-contents a:hover,
.terms-contents a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.terms-content {
  display: grid;
  gap: 16px;
}

.terms-card {
  padding: 26px;
  scroll-margin-top: 20px;
}

.terms-card h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 24px;
}

.terms-card p:last-child {
  margin-bottom: 0;
}

.terms-definitions {
  display: grid;
  gap: 12px;
  margin: 0;
}

.terms-definitions div {
  display: grid;
  grid-template-columns: minmax(130px, 0.25fr) minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.terms-definitions div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.terms-definitions dt {
  color: var(--navy);
  font-weight: 800;
}

.terms-definitions dd {
  margin: 0;
}

.cancellation-form-template {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7f9fc;
}

.cancellation-form-template p {
  margin: 0 0 12px;
}

.cancellation-form-template p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-contents {
    position: static;
  }
}

@media (max-width: 560px) {
  .terms-card,
  .terms-contents {
    padding: 20px;
  }

  .terms-definitions div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.terms-key-points-section {
  padding-top: 22px;
  padding-bottom: 0;
}

.terms-key-points-card {
  padding: 24px 28px;
  border-left: 5px solid var(--green);
}

.terms-key-points-card h2 {
  margin-top: 0;
  color: var(--navy);
}

.terms-key-points-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding-left: 22px;
}

.business-terms-card {
  border: 2px solid rgba(7, 52, 103, 0.18);
}

.terms-card h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

@media (max-width: 720px) {
  .terms-key-points-list {
    grid-template-columns: 1fr;
  }
}

.privacy-page-hero p {
  width: 100%;
  max-width: none;
}

.privacy-updated {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.privacy-contents {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.privacy-contents h2 {
  margin-top: 0;
  font-size: 20px;
}

.privacy-contents ol {
  margin: 0;
  padding-left: 22px;
}

.privacy-contents li {
  margin: 0 0 8px;
  color: var(--muted);
}

.privacy-contents a {
  color: var(--navy);
  text-decoration: none;
}

.privacy-contents a:hover,
.privacy-contents a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.privacy-content {
  display: grid;
  gap: 16px;
}

.privacy-card {
  padding: 26px;
  scroll-margin-top: 20px;
}

.privacy-card h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 24px;
}

.privacy-card p:last-child,
.privacy-card ul:last-child {
  margin-bottom: 0;
}

.privacy-table-wrap {
  width: 100%;
  margin: 18px 0;
  overflow-x: auto;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: #fff;
}

.privacy-table th,
.privacy-table td {
  padding: 13px 15px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  color: var(--navy);
  background: #f4f8fc;
  font-weight: 800;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-contents {
    position: static;
  }
}

@media (max-width: 560px) {
  .privacy-card,
  .privacy-contents {
    padding: 20px;
  }
}

.footer-company-information {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 28px;
  padding: 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.footer-company-information p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.6;
}

.footer-compliance-note {
  font-weight: 700;
}

.footer-company-note {
  text-align: right;
}

@media (max-width: 760px) {
  .footer-company-information {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-company-note {
    text-align: left;
  }
}

.header-cart-link {
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.header-cart-count {
  display: inline-grid;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  line-height: 1;
}

.mattress-add-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.cart-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast.is-error {
  background: #8f1d1d;
}

.cart-page-hero p,
.checkout-page-hero p {
  width: 100%;
  max-width: none;
}

.cart-alert {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
}

.cart-alert-success {
  border: 1px solid #9ecbb4;
  background: #effaf4;
  color: #155b36;
}

.cart-alert-error {
  border: 1px solid #e0aaaa;
  background: #fff2f2;
  color: #7b1f1f;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 24px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(170px, 0.42fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.cart-item-image {
  display: grid;
  min-height: 110px;
  place-items: center;
  border-radius: 12px;
  background: #f5f8fb;
}

.cart-item-image img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.cart-item-details h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.cart-item-details h2 a {
  color: var(--navy);
}

.cart-item-options {
  display: grid;
  gap: 6px;
  margin: 0;
}

.cart-item-options div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
}

.cart-item-options dt {
  color: var(--muted);
  font-weight: 800;
}

.cart-item-options dd {
  margin: 0;
}

.cart-item-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.cart-saving,
.cart-summary-saving {
  color: #a22121;
}

.cart-item-controls {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.cart-quantity-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cart-quantity-row {
  display: flex;
  gap: 8px;
}

.cart-quantity-row input {
  width: 70px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cart-quantity-row .btn {
  min-height: 40px;
  padding: 8px 12px;
}

.cart-item-total {
  color: var(--navy);
  font-size: 21px;
}

.cart-remove-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #9d2020;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.cart-clear-form {
  text-align: right;
}

.cart-summary {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.cart-summary h2 {
  margin-top: 0;
}

.cart-summary-row,
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.cart-free-item,
.cart-promotion-progress {
  margin: 14px 0;
  padding: 13px;
  border-radius: 10px;
  background: #effaf4;
  color: #155b36;
}

.cart-free-item {
  display: grid;
  gap: 3px;
}

.cart-promotion-progress {
  background: #fff8e8;
  color: #76530a;
  font-weight: 700;
}

.cart-delivery-note,
.cart-vat-note,
.cart-payment-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.cart-checkout-button {
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

.empty-cart-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

.cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.checkout-form,
.checkout-summary {
  padding: 24px;
}

.checkout-form h2,
.checkout-summary h2 {
  margin-top: 0;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-field-grid label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-weight: 800;
}

.checkout-field-grid input,
.checkout-field-grid textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.checkout-field-full {
  grid-column: 1 / -1;
}

.checkout-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
}

.checkout-consent input {
  margin-top: 4px;
}

.checkout-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.checkout-disabled-notice {
  margin: 16px 0 0;
  padding: 13px;
  border-radius: 10px;
  background: #fff8e8;
  color: #76530a;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 940px) {
  .header-cart-link {
    right: 58px;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .cart-item {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .cart-item-image img {
    width: 78px;
    height: 78px;
  }

  .cart-item-controls {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    justify-items: stretch;
  }

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field-full {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .header-cart-link {
    right: 50px;
    font-size: 0;
  }

  .header-cart-count {
    font-size: 13px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-image {
    min-height: 140px;
  }

  .cart-item-controls {
    grid-column: auto;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cart-toast {
    right: 16px;
    bottom: 16px;
  }
}

.delivery-area-control {
  margin: 18px 0 6px;
}

.delivery-area-control label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.delivery-area-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 38px 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.delivery-area-select:focus {
  outline: 3px solid rgba(14, 112, 78, 0.18);
  border-color: var(--green);
}

.delivery-area-select:disabled {
  opacity: 0.7;
  cursor: wait;
}

.delivery-modal-open {
  overflow: hidden;
}

.delivery-unavailable-backdrop[hidden] {
  display: none;
}

.delivery-unavailable-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 22, 43, 0.62);
}

.delivery-unavailable-modal {
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.delivery-modal-site {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.delivery-unavailable-modal h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 25px;
}

.delivery-unavailable-modal p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
}

.delivery-unavailable-modal .btn {
  display: block;
  margin-left: auto;
  min-width: 78px;
}

.header-cart-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.cart-toast {
  min-width: min(390px, calc(100% - 32px));
}

.cart-toast.is-visible {
  pointer-events: auto;
}

.cart-toast-message {
  line-height: 1.45;
}

.cart-toast-actions {
  display: flex;
  gap: 10px;
  margin-top: 13px;
}

.cart-toast-link {
  display: inline-flex;
  flex: 1 1 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 9px;
  font-weight: 900;
  text-decoration: none;
}

.cart-toast-link-secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.cart-toast-link-primary {
  background: #fff;
  color: var(--navy);
}

.cart-toast-link:hover,
.cart-toast-link:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .header-cart-link {
    font-size: inherit;
  }

  .header-cart-icon {
    width: 26px;
    height: 26px;
  }

  .cart-toast-actions {
    flex-direction: column;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-size: 16px;
}

@media (max-width: 940px) {
  .nav.open {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-bar .container {
    width: calc(100% - 24px);
  }

  .top-strip-offer {
    font-size: 13px;
    line-height: 1.35;
  }

  .top-strip-delivery {
    font-size: 12px;
  }

  .brand-bar-inner {
    min-height: 68px;
  }

  .logo-centred .brand-name {
    font-size: clamp(26px, 8vw, 32px);
  }

  .logo-centred .brand-tagline {
    display: none;
  }

  .hero-slide {
    padding: 24px 24px 44px;
  }

  .hero-slide-image-wrap {
    min-height: 205px;
  }

  .hero-slide-image,
  .hero-slide-image-sheets {
    width: 100%;
    max-width: 100%;
    max-height: 210px;
  }

  .hero-carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-buttons .btn,
  .mattress-add-button,
  .cart-checkout-button {
    width: 100%;
  }

  .mattress-product-row,
  .foam-sheet-product-row,
  .topper-product-row {
    padding: 16px;
  }

  .mattress-product-topline,
  .foam-sheet-title-line,
  .product-title-line {
    min-width: 0;
  }

  .mattress-product-image,
  .foam-sheet-product-image,
  .topper-product-row .mattress-product-image {
    width: min(100%, 225px);
    height: auto;
    max-height: 225px;
  }

  .mattress-buying-panel,
  .foam-sheet-buying-panel,
  .topper-buying-panel,
  .egg-crate-buying-panel,
  .acoustic-foam-buying-panel {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 12px;
  }

  .mattress-price-panel,
  .foam-sheet-buying-panel .mattress-price-panel,
  .topper-buying-panel .mattress-price-panel,
  .egg-crate-buying-panel .mattress-price-panel,
  .acoustic-foam-buying-panel .mattress-price-panel {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .cart-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .cart-item-options div,
  .cart-summary-row,
  .checkout-summary-item {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .hero-slide {
    padding: 22px 20px 44px;
  }

  .hero-slide-image-wrap {
    min-height: 195px;
  }

  .hero-slide-image,
  .hero-slide-image-sheets {
    max-height: 200px;
  }

  .cart-item,
  .checkout-form,
  .checkout-summary,
  .cart-summary,
  .empty-cart-card {
    padding: 16px;
  }
}

.trust-badges-section {
  padding: 22px 0 24px !important;
}

.trust-badges-section > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.trust-badges-section .trust-badges-heading {
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 14px !important;
}

.trust-badges-section .trust-badges-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 340px) !important;
  gap: 22px !important;
  width: max-content !important;
  max-width: calc(100vw - 64px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  justify-items: stretch !important;
  align-items: stretch !important;
}

.trust-badges-section .trust-badge {
  width: 340px !important;
  max-width: 340px !important;
  min-width: 0 !important;
  min-height: 116px !important;
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 16px 20px !important;
}

.trust-badges-section .trust-badge-mark,
.trust-badges-section .trust-logo-wrap {
  width: 82px !important;
  min-width: 82px !important;
  height: 82px !important;
}

@media (max-width: 1520px) {
  .trust-badges-section .trust-badges-grid {
    grid-template-columns: repeat(4, 300px) !important;
    gap: 20px !important;
  }

  .trust-badges-section .trust-badge {
    width: 300px !important;
    max-width: 300px !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 15px !important;
    padding: 16px !important;
  }

  .trust-badges-section .trust-badge-mark,
  .trust-badges-section .trust-logo-wrap {
    width: 78px !important;
    min-width: 78px !important;
    height: 78px !important;
  }
}

@media (max-width: 1280px) {
  .trust-badges-section .trust-badges-grid {
    grid-template-columns: repeat(2, 340px) !important;
    gap: 18px !important;
  }

  .trust-badges-section .trust-badge {
    width: 340px !important;
    max-width: 340px !important;
  }
}

@media (max-width: 760px) {
  .trust-badges-section > .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .trust-badges-section .trust-badges-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 420px !important;
    gap: 12px !important;
  }

  .trust-badges-section .trust-badge {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: 98px !important;
    padding: 14px !important;
  }

  .trust-badges-section .trust-badge-mark,
  .trust-badges-section .trust-logo-wrap {
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
  }
}

.main-nav a,
.site-nav a,
.header-nav a,
.primary-nav a,
.nav-links a {
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  text-decoration-thickness: 2px;
}

.main-nav a.is-active,
.site-nav a.is-active,
.header-nav a.is-active,
.primary-nav a.is-active,
.nav-links a.is-active {
  font-weight: 950 !important;
}

.blog-section {
  background: #fff;
}

.blog-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.blog-grid,
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.blog-card,
.home-blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(6, 43, 85, 0.06);
  overflow: hidden;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  display: block;
  height: 210px;
  background: var(--blue-soft);
  border-bottom: 1px solid var(--border);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.blog-card-body,
.home-blog-card {
  padding: 22px;
}

.blog-card h3,
.home-blog-card h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.blog-card h3 a,
.home-blog-card h3 a {
  color: var(--navy);
}

.blog-card p,
.home-blog-card p {
  color: var(--muted);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
}

.blog-meta span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.55;
}

.blog-article-hero h1 {
  max-width: 960px;
}

.blog-meta-hero {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.82);
}

.blog-meta-hero span:not(:last-child)::after {
  background: rgba(255,255,255,0.68);
}

.blog-featured-image {
  margin: -38px 0 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(6, 43, 85, 0.12);
  position: relative;
  z-index: 2;
}

.blog-featured-image img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

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

.blog-article-content {
  max-width: 850px;
  background: #fff;
}

.blog-article-content h2 {
  margin-top: 32px;
  font-size: 30px;
}

.blog-article-content h3 {
  margin-top: 26px;
  font-size: 23px;
}

.blog-article-content p,
.blog-article-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.blog-article-content ul {
  margin: 18px 0 22px;
  padding-left: 22px;
}

.blog-article-content a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article-sidebar {
  display: grid;
  gap: 18px;
}

.centered-action,
.blog-back-link {
  margin-top: 26px;
  text-align: center;
}

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

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-sidebar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .blog-grid,
  .home-blog-grid,
  .blog-article-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-featured-image {
    margin-top: -24px;
    padding: 12px;
    border-radius: 18px;
  }

  .blog-article-content h2 {
    font-size: 25px;
  }

  .blog-article-content p,
  .blog-article-content li {
    font-size: 16px;
  }
}

.nav-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--navy);
}

.nav-bar .container {
  width: min(1360px, calc(100% - 32px)) !important;
}

.nav {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  color: var(--navy);
}

.nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  padding: 12px 8px !important;
  border-right: 1px solid var(--border) !important;
  border-bottom: 3px solid transparent !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: 14.5px !important;
  font-weight: 950 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

.nav a:first-child {
  border-left: 1px solid var(--border) !important;
}

.nav a:hover,
.nav a.active {
  border-bottom-color: var(--navy) !important;
}

@media (max-width: 1180px) and (min-width: 941px) {
  .nav-bar .container {
    width: min(100%, calc(100% - 20px)) !important;
  }

  .nav a {
    font-size: 13px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    white-space: normal !important;
  }
}

@media (max-width: 940px) {
  .nav-bar {
    border-bottom: 0;
  }

  .nav {
    display: none !important;
    grid-template-columns: 1fr !important;
  }

  .nav.open {
    display: flex !important;
  }

  .nav a {
    min-height: unset !important;
    justify-content: flex-start !important;
    padding: 14px 10px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    white-space: normal !important;
    font-size: 15px !important;
  }
}

.blog-infographic-image {
  margin: 28px auto 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(6, 43, 85, 0.10);
  position: relative;
  z-index: 1;
}

.blog-infographic-image img {
  width: 100%;
  max-height: 920px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: #fff;
}

.blog-card-image img {
  object-fit: cover;
}

@media (max-width: 680px) {
  .blog-infographic-image {
    padding: 10px;
    border-radius: 18px;
  }

  .blog-infographic-image img {
    max-height: none;
    border-radius: 10px;
  }
}

.registered-office-note,
.footer-registered-office-note {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}

.footer-registered-office-note {
  color: rgba(255, 255, 255, 0.62);
}

.nav-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

.nav-bar .container {
  width: min(1240px, calc(100% - 32px));
}

.nav {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 0 !important;
  align-items: stretch;
  color: var(--navy);
  font-weight: 800;
}

.nav a,
.nav a:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 10px;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 3px solid transparent;
  background: transparent !important;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  background: transparent !important;
  border-bottom-color: var(--navy);
}

@media (max-width: 940px) {
  .nav-bar {
    border-bottom: 0;
  }

  .nav-bar .container {
    width: min(100% - 32px, 760px);
  }

  .nav {
    display: none !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .nav.open {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 0 14px;
    padding: 8px;
  }

  .nav.open a,
  .nav.open a:first-child {
    justify-content: flex-start !important;
    min-height: unset !important;
    padding: 14px 10px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    white-space: normal !important;
    font-size: 15px !important;
  }

  .nav.open a:hover,
  .nav.open a.active {
    border-bottom-color: var(--border) !important;
    color: var(--green);
  }
}

.foam-sheet-order-offer-note {
  margin: 10px 0 0;
  color: #c62828;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.foam-sheet-order-offer-note strong {
  color: inherit;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.cart-toast {
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cart-toast-message {
  color: #fff;
  font-weight: 900;
}

.cart-toast .cart-toast-link-primary,
.cart-toast .cart-toast-link-secondary {
  background: #fff;
  border: 1px solid #fff;
  color: var(--navy);
}

.cart-toast .cart-toast-link-primary:hover,
.cart-toast .cart-toast-link-primary:focus-visible,
.cart-toast .cart-toast-link-secondary:hover,
.cart-toast .cart-toast-link-secondary:focus-visible {
  background: #f4f8fc;
  color: var(--navy);
}

.top-strip-inner {
  grid-template-columns: 1fr auto 1fr;
}

.top-strip-delivery {
  text-align: left;
  justify-self: start;
}

.top-strip-email {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  justify-self: end;
  white-space: nowrap;
}

.top-strip-email a {
  color: #fff;
  text-decoration: none;
}

.top-strip-email a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .top-strip-inner {
    grid-template-columns: 1fr;
  }

  .top-strip-delivery,
  .top-strip-email {
    justify-self: center;
    text-align: center;
    white-space: normal;
  }
}

.contact-mail-card {
  background: #f7fbfe;
}

.contact-mail-button {
  margin: 8px 0 14px;
}

.contact-mail-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.contact-mail-note a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

.cart-line-saving {
  color: #a22121;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(6, 43, 85, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--green);
  outline: 3px solid rgba(11, 122, 83, 0.22);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}


.top-strip-contact {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.top-strip-contact a {
  color: #fff;
  text-decoration: none;
}

.top-strip-contact a:hover,
.top-strip-contact a:focus-visible {
  text-decoration: underline;
}

.top-strip-phone {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.top-strip-mail {
  font-size: 13px;
  font-weight: 800;
}

.top-strip-divider {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0 14px;
}

.contact-action-row .contact-mail-button {
  margin: 0;
}

@media (max-width: 900px) {
  .top-strip-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .top-strip-delivery,
  .top-strip-offer,
  .top-strip-contact {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .top-strip-contact {
    gap: 8px;
  }

  .top-strip-phone,
  .top-strip-mail {
    font-size: 13px;
  }

  .top-strip-divider {
    display: none;
  }
}

/* Mobile header alignment: keep logo on the left and basket/menu on the right */
@media (max-width: 680px) {
  .brand-bar-inner {
    justify-content: flex-start !important;
    min-height: 64px !important;
    padding-right: 96px;
  }

  .logo-centred {
    align-items: flex-start !important;
    text-align: left !important;
    max-width: calc(100vw - 150px);
  }

  .logo-centred .brand-name {
    font-size: clamp(25px, 8.2vw, 34px) !important;
    letter-spacing: 1.1px !important;
    line-height: 0.95 !important;
  }

  .logo-centred .brand-tagline {
    display: none !important;
  }

  .header-cart-link {
    right: 58px !important;
    top: 50%;
  }

  .brand-bar .menu-toggle {
    right: 0 !important;
    top: 50%;
  }
}

@media (max-width: 390px) {
  .brand-bar-inner {
    padding-right: 88px;
  }

  .logo-centred .brand-name {
    font-size: clamp(23px, 7.6vw, 30px) !important;
    letter-spacing: 0.8px !important;
  }

  .header-cart-link {
    right: 52px !important;
  }
}


.cookie-consent {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 22px 55px rgba(6, 43, 85, 0.28);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.cookie-consent__content p + p {
  margin-top: 5px;
}

.cookie-consent__content strong {
  color: #fff;
  font-size: 15px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
  align-items: center;
}

.cookie-consent__button,
.cookie-consent__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-consent__button-primary {
  border: 1px solid #fff;
  background: #fff;
  color: var(--navy);
}

.cookie-consent__button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.cookie-consent__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible,
.cookie-consent__link:hover,
.cookie-consent__link:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 16px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__button,
  .cookie-consent__link {
    flex: 1 1 100%;
  }
}
