/*
Theme Name: KasurBusaBagus
Author: Zie Azizi
Description: Custom WooCommerce theme for Kasur Busa Bagus.
Version: 1.1.0
Text Domain: kasurbusabagus
*/
:root {
  --navy: #12355b;
  --blue: #1d5d90;
  --yellow: #f7c948;
  --cream: #f8f6f1;
  --ink: #17212b;
  --muted: #66717e;
  --white: #fff;
  --line: #e4e8ec;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(18, 53, 91, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    16px/1.65 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: 88px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
  border-radius: 4px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading h2,
.story h2,
.cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #15283b;
  font-weight: 800;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(247, 201, 72, 0.3);
}
.button--light {
  background: #fff;
  color: var(--navy);
}
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 53, 91, 0.08);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.custom-logo {
  display: block;
  max-height: 52px;
  width: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 1.35rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-nav a {
  font-weight: 700;
  font-size: 0.94rem;
}
.site-nav a:hover {
  color: var(--blue);
}
.cart-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cream);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--cream) 0 58%, #dceaf4 58%);
}
.hero:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: var(--yellow);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 60px;
  min-height: 680px;
  padding-block: 70px;
}
.hero h1 {
  margin: 0 0 23px;
  color: var(--navy);
  font-size: clamp(3rem, 6.3vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.hero-copy {
  max-width: 600px;
  margin: 0 0 32px;
  color: #526170;
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.text-link {
  font-weight: 800;
  color: var(--navy);
}
.hero-media {
  position: relative;
}
.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: var(--shadow);
}
.image-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 5/4;
  border-radius: 38px;
  background: linear-gradient(145deg, #d7e8f1, #fbfdff);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bed {
  position: relative;
  width: 78%;
  height: 45%;
  margin-top: 14%;
}
.bed-head {
  position: absolute;
  inset: 0 0 auto auto;
  width: 12%;
  height: 70%;
  background: var(--navy);
  border-radius: 16px;
}
.bed-mattress {
  position: absolute;
  left: 0;
  right: 7%;
  top: 23%;
  height: 43%;
  border: 8px solid #fff;
  border-radius: 25px;
  background: #dbe8ef;
  box-shadow: 0 14px 22px rgba(18, 53, 91, 0.15);
}
.bed-base {
  position: absolute;
  left: 3%;
  right: 7%;
  top: 63%;
  height: 24%;
  background: var(--blue);
  border-radius: 5px 5px 15px 15px;
}
.bed:after,
.bed:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 6%;
  height: 18%;
  background: var(--navy);
}
.bed:before {
  left: 8%;
}
.bed:after {
  right: 13%;
}
.hero-badge {
  position: absolute;
  right: -18px;
  bottom: 38px;
  padding: 17px 21px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 850;
  color: var(--navy);
}
.hero-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}
.benefits {
  position: relative;
  z-index: 3;
  margin-top: -32px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.benefit {
  display: flex;
  gap: 16px;
  padding: 26px 28px;
}
.benefit + .benefit {
  border-left: 1px solid var(--line);
}
.benefit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 45px;
  height: 45px;
  border-radius: 13px;
  background: #fff4cc;
  font-size: 1.25rem;
}
.benefit strong {
  display: block;
  color: var(--navy);
}
.benefit p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.brands-section {
  padding-bottom: 34px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.brand-card {
  display: flex;
  min-height: 160px;
  padding: 18px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  transition: 0.2s;
}
.brand-card:hover {
  transform: translateY(-4px);
  border-color: #b8cbd8;
  box-shadow: 0 12px 30px rgba(18, 53, 91, 0.09);
}
.brand-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 76px;
  padding: 8px;
}
.brand-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.brand-card strong {
  color: var(--navy);
  font-size: 0.9rem;
}
.brand-monogram {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
}
.brand-card--placeholder {
  border-style: dashed;
  color: var(--muted);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-card {
  position: relative;
  min-height: 325px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8f0f4;
}
.category-card:nth-child(2) {
  background: #f5e7d7;
}
.category-card:nth-child(3) {
  background: #dfe7dd;
}
.category-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.65rem;
  color: var(--navy);
}
.category-card span {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 28px;
  font-weight: 800;
}
.mattress-shape {
  position: absolute;
  width: 82%;
  height: 36%;
  right: -12%;
  bottom: 25%;
  transform: rotate(-8deg);
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 25px rgba(18, 53, 91, 0.13);
}
.products-section {
  background: var(--cream);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(18, 53, 91, 0.06);
  transition: 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #e5edf2;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-placeholder {
  width: 72%;
  height: 33%;
  transform: rotate(-7deg);
  border: 7px solid #fff;
  border-radius: 18px;
  background: #cbdde7;
  box-shadow: 0 12px 18px rgba(18, 53, 91, 0.12);
}
.product-body {
  padding: 19px;
}
.product-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}
.price {
  color: var(--blue);
  font-weight: 900;
}
.product-body .button {
  width: 100%;
  min-height: 42px;
  margin-top: 15px;
  font-size: 0.87rem;
}
.articles-section {
  background: #fff;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: 0.2s;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.article-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e5edf2;
}
.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.article-card:hover .article-image img {
  transform: scale(1.04);
}
.article-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #dceaf2, #f8f6f1);
}
.article-placeholder span {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-body {
  padding: 24px;
}
.article-body time {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.article-body h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.3;
}
.article-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.articles-empty {
  padding: 36px;
  border: 1px dashed #b8c7d2;
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
}
.articles-empty strong {
  color: var(--navy);
  font-size: 1.25rem;
}
.articles-empty p {
  margin: 5px 0 0;
  color: var(--muted);
}
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.story-visual {
  position: relative;
  min-height: 540px;
}
.story-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-photo--primary {
  inset: 0 70px 70px 0;
}
.story-photo--secondary {
  width: 48%;
  height: 45%;
  right: 0;
  bottom: 0;
  border: 7px solid #fff;
}
.story-label {
  position: absolute;
  left: 24px;
  bottom: 42px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.story-label strong {
  display: block;
  font-size: 1.15rem;
}
.story p {
  color: var(--muted);
}
.checks {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 12px;
  font-weight: 750;
}
.checks li:before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff1bd;
  color: var(--navy);
}
.cta {
  padding: 75px 0;
  background: var(--navy);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta p {
  max-width: 570px;
  margin: 15px 0 0;
  color: #c8d6e4;
}
.site-footer {
  padding: 60px 0 24px;
  background: #0c2744;
  color: #dbe6ef;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.site-footer h3 {
  margin-top: 0;
  color: #fff;
}
.site-footer p {
  color: #b8c8d7;
}
.site-footer ul {
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin: 9px 0;
}
.footer-bottom {
  padding-top: 28px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #9fb2c3;
}
@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    display: grid;
    margin-bottom: 18px;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-block: 65px 85px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    min-height: 270px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .section {
    padding: 65px 0;
  }
  .hero {
    background: var(--cream);
  }
  .hero-grid {
    min-height: auto;
    gap: 45px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-badge {
    right: -3px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .benefit + .benefit {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .section-heading,
  .cta-inner {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
  }
  .product-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .story-visual {
    min-height: 400px;
  }
  .story-card {
    inset: 50px 25px 35px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .cta .button {
    margin-top: 25px;
  }
}
@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-card {
    min-height: 125px;
    padding: 15px;
  }
}

/* Hero gallery */
.hero-carousel {
  width: min(1180px, calc(100% - 40px));
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 60px;
  min-height: 680px;
  padding-block: 70px;
}
.hero-slide-content {
  min-width: 0;
}
.hero-carousel .hero-media img {
  border-radius: 38px;
  box-shadow: var(--shadow);
}
.hero-carousel .slider-prev {
  left: 8px;
}
.hero-carousel .slider-next {
  right: 8px;
}
.hero-carousel .slider-dots {
  bottom: 52px;
}
.hero-carousel .hero-badge {
  right: -12px;
}
@media (max-width: 900px) {
  .hero-slide-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    min-height: auto;
    padding: 65px 10px 90px;
  }
  .hero-carousel .hero-media {
    max-width: 650px;
  }
  .hero-carousel .slider-arrow {
    top: auto;
    bottom: 14px;
    transform: none;
  }
  .hero-carousel .slider-dots {
    bottom: 50px;
  }
}
@media (max-width: 640px) {
  .hero-carousel {
    width: min(100% - 28px, 1180px);
  }
  .hero-slide-grid {
    padding-inline: 0;
  }
  .hero-carousel .hero-media img {
    border-radius: 25px;
  }
  .hero-carousel .hero-badge {
    right: -2px;
  }
}
.hero:after {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}
.hero-media {
  transform: translate3d(0, var(--media-y, 0), 0);
  will-change: transform;
}
.hero-grid > div:first-child {
  transform: translate3d(0, var(--content-y, 0), 0);
  will-change: transform;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  cursor: grab;
}
.hero-slider.is-dragging {
  cursor: grabbing;
}
.hero-slider-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: transform;
}
.hero-slider.is-dragging .hero-slider-track {
  transition: none;
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.hero-slider .hero-slide > img {
  border-radius: 0;
  box-shadow: none;
}
.hero-slider .image-placeholder {
  border-radius: 0;
  box-shadow: none;
}
.image-placeholder--2 {
  background: linear-gradient(145deg, #f1dfca, #fffaf3);
}
.image-placeholder--2 .bed-mattress {
  background: #f1d5b5;
}
.image-placeholder--2 .bed-base {
  background: #aa633f;
}
.image-placeholder--3 {
  background: linear-gradient(145deg, #dce7dc, #fbfdf9);
}
.image-placeholder--3 .bed-mattress {
  background: #d4e5d4;
}
.image-placeholder--3 .bed-base {
  background: #56765e;
}
.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(18, 53, 91, 0.18);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.slider-prev {
  left: 14px;
}
.slider-next {
  right: 14px;
}
.slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}
.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #9cadba;
  cursor: pointer;
  transition: 0.2s;
}
.slider-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero:after,
  .hero-media,
  .hero-grid > div:first-child {
    transform: none !important;
  }
  .hero-slider-track {
    transition: none;
  }
}

/* Floating FAQ */
.faq-widget {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 14px;
}
.faq-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 7px 18px 7px 7px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 12px 32px rgba(18, 53, 91, 0.25);
  font-weight: 850;
  cursor: pointer;
}
.faq-trigger-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.2rem;
}
.faq-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  padding: 24px;
  overflow: auto;
  border: 1px solid rgba(18, 53, 91, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 37, 65, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(15px) scale(0.97);
  transform-origin: bottom right;
  transition: 0.22s;
}
.faq-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.faq-panel[hidden] {
  display: none;
}
.faq-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.faq-kicker {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.faq-panel h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.2;
}
.faq-close {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
}
.faq-list {
  display: grid;
  gap: 9px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.faq-list summary {
  padding: 13px 38px 13px 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}
.faq-list p {
  padding: 0 14px 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}
.faq-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  margin-top: 18px;
  border-radius: 999px;
  background: #25d366;
  color: #083f22;
  font-weight: 900;
}
.faq-whatsapp:hover {
  background: #20c45d;
}
.faq-whatsapp span {
  font-size: 1.2rem;
}
@media (max-width: 640px) {
  .faq-widget {
    right: 16px;
    bottom: 16px;
  }
  .faq-trigger-text {
    display: none;
  }
  .faq-trigger {
    padding: 7px;
  }
  .faq-panel {
    padding: 20px;
  }
}
.faq-whatsapp {
  gap: 10px;
  color: #fff;
}
.faq-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.faq-whatsapp span {
  font-size: 0.95rem;
}
.social-links {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: #b8c8d7;
  font-size: 0.9rem;
  transition: 0.2s;
}
.social-link:hover {
  color: #fff;
  transform: translateX(3px);
}
.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social-link--facebook:hover {
  color: #1877f2;
}
.social-link--instagram:hover {
  color: #e4405f;
}
.social-link--youtube:hover {
  color: #ff0033;
}
.social-link--tiktok:hover {
  color: #69c9d0;
}

/* Single article */
.single-article {
  background: #fff;
}
.article-hero {
  padding: 80px 0 65px;
  background: linear-gradient(135deg, var(--cream), #e5eff5);
}
.article-reading-container {
  width: min(800px, calc(100% - 40px));
  margin-inline: auto;
}
.article-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}
.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-meta span:before {
  content: "•";
  margin-right: 20px;
  color: var(--yellow);
}
.article-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.article-lead {
  margin: 22px 0 0;
  color: #536473;
  font-size: 1.15rem;
}
.article-featured {
  margin-top: 55px;
}
.article-featured img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 28px;
}
.article-content {
  padding: 65px 0 35px;
  color: #344452;
  font-size: 1.08rem;
  line-height: 1.85;
}
.article-content h2 {
  margin: 2.2em 0 0.6em;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.25;
}
.article-content h3 {
  color: var(--navy);
}
.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}
.article-content li {
  margin: 0.55em 0;
}
.article-content a {
  color: var(--blue);
  text-decoration: underline;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 24px 0 65px;
  border-top: 1px solid var(--line);
}
.article-tags strong {
  margin-right: 3px;
  color: var(--navy);
}
.article-tags a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f0f5;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}
.related-articles {
  padding: 75px 0 90px;
  background: var(--cream);
}
@media (max-width: 640px) {
  .article-hero {
    padding: 55px 0 45px;
  }
  .article-reading-container {
    width: min(100% - 28px, 800px);
  }
  .article-content {
    padding-top: 45px;
  }
  .article-meta {
    gap: 10px;
  }
  .article-meta span:before {
    margin-right: 10px;
  }
}

/* Refined type scale */
body {
  font-size: 15.5px;
}
.section {
  padding-block: 82px;
}
.eyebrow {
  margin-bottom: 12px;
  font-size: 0.72rem;
}
.section-heading {
  margin-bottom: 34px;
}
.section-heading h2,
.story h2,
.cta h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.section-heading p {
  font-size: 0.96rem;
}
.hero h1 {
  margin-bottom: 21px;
  font-size: clamp(2.55rem, 4.7vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.hero-copy {
  max-width: 570px;
  margin-bottom: 29px;
  font-size: 1.02rem;
}
.category-card h3 {
  font-size: 1.45rem;
}
.article-body h3 {
  font-size: 1.15rem;
}
.story-label strong {
  font-size: 1.05rem;
}
.cta p {
  font-size: 0.96rem;
}
.article-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  line-height: 1.09;
}
.article-lead {
  font-size: 1.05rem;
}
.article-content {
  font-size: 1.02rem;
}
.article-content h2 {
  font-size: 1.6rem;
}
.faq-panel h2 {
  font-size: 1.3rem;
}
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .section {
    padding-block: 60px;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
  .hero-copy {
    font-size: 0.98rem;
  }
  .section-heading h2,
  .story h2,
  .cta h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
  .article-hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .article-content {
    font-size: 1rem;
  }
}

/* Seamless transparent carousel */
.hero {
  background: linear-gradient(120deg, var(--cream) 0 58%, #dceaf4 58%);
}
.hero-carousel,
.hero-carousel.hero-slider,
.hero-carousel .hero-slider-track,
.hero-carousel .hero-slide,
.hero-carousel .hero-slide-grid {
  background: transparent !important;
  box-shadow: none !important;
}
.hero-carousel {
  border: 0 !important;
  border-radius: 0 !important;
  outline-offset: 4px;
}
.hero-carousel:focus {
  outline: 2px solid rgba(29, 93, 144, 0.25);
}
.hero-carousel .slider-arrow {
  display: none;
}
.hero-slide-content {
  padding-left: 48px;
  padding-right: 12px;
}
@media (max-width: 900px) {
  .hero-slide-content {
    padding-inline: 28px;
  }
}
@media (max-width: 640px) {
  .hero-slide-content {
    padding-inline: 14px;
  }
}
.hero:after {
  z-index: 0;
  pointer-events: none;
}
.hero-carousel {
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .hero:after {
    display: none;
  }
}

/* Editable category imagery */
.category-card {
  padding: 0;
}
.category-card .category-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.category-card .category-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.category-card:hover .category-image img {
  transform: scale(1.05);
}
.category-card .category-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(
    180deg,
    rgba(8, 30, 51, 0.02) 20%,
    rgba(8, 30, 51, 0.82) 100%
  );
}
.category-card:not(.has-image) .category-overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(18, 53, 91, 0.12));
}
.category-content {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 30px;
}
.category-content h3 {
  margin: 0 0 4px;
}
.category-content p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.category-content strong {
  font-size: 0.86rem;
}
.category-card.has-image .category-content h3,
.category-card.has-image .category-content p,
.category-card.has-image .category-content strong {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.category-card .mattress-shape {
  z-index: 2;
}
.category-card--infographic {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff !important;
  box-shadow: 0 5px 22px rgba(18, 53, 91, 0.07);
}
.category-card--infographic .category-image {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f4ead7;
}
.category-card--infographic .category-image img {
  object-fit: contain;
}
.category-card--infographic:hover .category-image img {
  transform: scale(1.025);
}
.category-card--infographic .category-content {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  padding: 22px 24px 24px;
}
.category-card--infographic .category-content h3 {
  color: var(--navy);
  font-size: 1.2rem;
  text-shadow: none;
}
.category-card--infographic .category-content p {
  margin-bottom: 16px;
  color: var(--muted);
  text-shadow: none;
}
.category-card--infographic .category-content strong {
  margin-top: auto;
  color: var(--blue);
  text-shadow: none;
}
.category-card--infographic {
  display: block;
  aspect-ratio: 1;
}
.category-card--infographic .category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.category-card--infographic .category-content {
  display: none;
}

/* Refined shop background */
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
  background: #f2f6f8;
}
.shop-hero {
  padding: 68px 0 62px;
  background:
    radial-gradient(
      circle at 82% 28%,
      rgba(48, 115, 163, 0.5) 0,
      rgba(48, 115, 163, 0) 27%
    ),
    linear-gradient(120deg, #0d2d4d, #174f7a);
}
.shop-hero:before {
  content: "";
  position: absolute;
  right: 14%;
  bottom: -115px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.shop-hero:after {
  right: -55px;
  top: -125px;
  width: 270px;
  height: 270px;
  opacity: 0.9;
}
.shop-hero .eyebrow {
  color: var(--yellow);
}
.shop-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}
.shop-hero-copy {
  color: #cbd9e5;
}
.shop-assurances {
  color: #fff;
}
.shop-assurances span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.woocommerce-shop main.site-main,
.tax-product_cat main.site-main,
.tax-product_tag main.site-main {
  position: relative;
}
.woocommerce-shop main.site-main:before,
.tax-product_cat main.site-main:before,
.tax-product_tag main.site-main:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -100vw;
  background: #f2f6f8;
}
.woocommerce #sidebar,
.woocommerce .widget-area {
  display: none !important;
}
@media (max-width: 640px) {
  .shop-hero {
    background: linear-gradient(135deg, #0d2d4d, #174f7a);
  }
  .shop-hero h1 {
    font-size: 2.45rem;
  }
  .shop-assurances span {
    width: max-content;
  }
}

/* WooCommerce shop makeover */
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
  background: var(--cream);
}
.shop-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  background: linear-gradient(120deg, var(--cream) 0 58%, #dceaf4 58%);
}
.shop-hero:after {
  content: "";
  position: absolute;
  right: -70px;
  top: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--yellow);
}
.shop-hero .container {
  position: relative;
  z-index: 1;
}
.shop-hero h1 {
  max-width: 730px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.shop-hero-copy {
  max-width: 630px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}
.shop-hero-copy p {
  margin: 0;
}
.shop-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 25px;
  color: var(--navy);
  font-size: 0.87rem;
  font-weight: 800;
}
.shop-assurances span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.woocommerce-shop main.site-main,
.tax-product_cat main.site-main,
.tax-product_tag main.site-main {
  width: min(1180px, calc(100% - 40px));
  padding: 38px 0 90px;
  margin-inline: auto;
}
.woocommerce .woocommerce-products-header {
  display: none;
}
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 28px;
  color: #7b8792;
  font-size: 0.82rem;
}
.woocommerce .woocommerce-breadcrumb a {
  color: var(--blue);
  font-weight: 750;
}
.woocommerce .woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce .woocommerce-result-count {
  margin: 11px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.woocommerce .woocommerce-ordering {
  margin: 0 0 28px;
}
.woocommerce .woocommerce-ordering select {
  min-width: 235px;
  height: 46px;
  padding: 0 42px 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
}
.woocommerce .woocommerce-ordering select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 93, 144, 0.1);
}
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  clear: both;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products:before,
.woocommerce ul.products:after {
  display: none !important;
}
.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  overflow: hidden;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
  flex-direction: column;
  border: 1px solid rgba(18, 53, 91, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 22px rgba(18, 53, 91, 0.07);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  display: block;
}
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 !important;
  object-fit: cover;
  background: #edf2f5;
  transition: transform 0.4s;
}
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.025);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 20px 20px 7px !important;
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem !important;
  line-height: 1.35;
}
.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 20px;
  margin: 0 !important;
  color: var(--blue) !important;
  font-size: 1rem !important;
  font-weight: 900;
}
.woocommerce ul.products li.product .price .woocommerce-Price-amount {
  color: inherit;
}
.woocommerce ul.products li.product .button {
  width: calc(100% - 40px);
  min-height: 45px;
  margin: 18px 20px 20px !important;
  padding: 11px 16px !important;
  border-radius: 999px;
  background: var(--yellow) !important;
  color: var(--navy) !important;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
}
.woocommerce ul.products li.product .button:hover {
  background: #f4bd28 !important;
}
.woocommerce ul.products li.product .added_to_cart {
  padding: 0 20px 18px;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}
.woocommerce span.onsale {
  z-index: 3;
  top: 14px !important;
  left: 14px !important;
  min-width: 0;
  min-height: 0;
  padding: 7px 12px !important;
  margin: 0 !important;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 900;
}
.woocommerce nav.woocommerce-pagination {
  padding-top: 45px;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li {
  overflow: hidden;
  border: 0;
  border-radius: 10px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--navy);
  color: #fff;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-top-color: var(--yellow);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(18, 53, 91, 0.06);
}
@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-hero {
    padding-block: 62px;
  }
  .shop-hero:after {
    opacity: 0.55;
  }
}
@media (max-width: 640px) {
  .shop-hero {
    padding: 52px 0;
    background: var(--cream);
  }
  .shop-hero:after {
    display: none;
  }
  .shop-hero h1 {
    font-size: 2.6rem;
  }
  .shop-assurances {
    display: grid;
    gap: 7px;
  }
  .woocommerce-shop main.site-main,
  .tax-product_cat main.site-main,
  .tax-product_tag main.site-main {
    width: min(100% - 28px, 1180px);
    padding-top: 28px;
  }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
    margin-bottom: 14px;
  }
  .woocommerce .woocommerce-ordering select {
    width: 100%;
  }
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem !important;
  }
}
