/* =========================================================
   RABBORA LIVING — DESIGN TOKENS
   ========================================================= */
:root {
  --color-forest: #1b3a2f;
  --color-forest-dark: #12281f;
  --color-ivory: #f1ebde;
  --color-ivory-soft: #f8f4eb;
  --color-brass: #a47b4c;
  --color-brass-light: #c7a06b;
  --color-ink: #232320;
  --color-clay: #c89482;
  --color-sage: #dce3d4;
  --color-white: #ffffff;
  --color-border: rgba(35, 35, 32, 0.1);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(27, 58, 47, 0.08);
  --shadow-md: 0 10px 30px rgba(27, 58, 47, 0.12);
  --shadow-lg: 0 20px 60px rgba(27, 58, 47, 0.18);

  --container: 1240px;
  --header-h: 112px;
  --announce-h: 38px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;
}




/* =========================================================
   RESET
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}



html {
  scroll-behavior: smooth;
}



body,
h1, h2, h3, h4, p, figure, blockquote, ul, ol {
  margin: 0;
}



ul {
  list-style: none;
  padding: 0;
}



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



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



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



button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}



body {
  background-color: var(--color-ivory-soft);
  color: var(--color-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}



h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-forest-dark);
}



:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
  border-radius: 2px;
}



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



::selection {
  background-color: var(--color-brass-light);
  color: var(--color-forest-dark);
}



/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}



@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}



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



.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 999;
  background: var(--color-forest);
  color: var(--color-ivory-soft);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: top var(--dur-fast) var(--ease);
}



.skip-link:focus {
  top: 1rem;
}



.eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--color-brass);
  margin: 0 0 0.75rem;
}



.section {
  padding-block: 4rem;
}



@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}



.section-head {
  max-width: 34rem;
  margin-bottom: 2.5rem;
}



@media (min-width: 768px) {
  .section-head {
    margin-bottom: 3.5rem;
  }
}



@media (min-width: 768px) {
  .section-head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}



.grid {
  display: grid;
  gap: 1.5rem;
}



/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-inline: 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}



.btn--primary {
  background-color: var(--color-brass);
  color: var(--color-forest-dark);
}



.btn--primary:hover {
  background-color: var(--color-brass-light);
}



.btn--outline {
  border: 1px solid rgba(248, 244, 235, 0.5);
  color: var(--color-ivory-soft);
}



.btn--outline:hover {
  border-color: var(--color-ivory-soft);
  background-color: rgba(255, 255, 255, 0.1);
}



.btn--forest {
  background-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



.btn--forest:hover {
  background-color: var(--color-forest-dark);
}



/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background-color: transparent;
}



.announcement-bar {
  background-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



.announcement-bar p {
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}



.header-main {
  position: sticky;
  top: 0;
  z-index: 500;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}



.header-main__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--header-h);
}



.logo {
  display: flex;
  align-items: center;
  padding-block: 0.5rem;
  flex-shrink: 0;
}



.logo img {
  height: 60px;
  width: auto;
}



@media (min-width: 640px) {
  .logo img {
    height: 72px;
  }
}



@media (min-width: 1024px) {
  .logo img {
    height: 88px;
  }
}



.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}



.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-ink);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}



.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}



.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}



.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}



/* Search bar (desktop) */
.search-bar {
  display: none;
  position: relative;
  flex: 1;
  align-items: center;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-soft);
  max-width: 680px;
  margin-inline: auto;
  transition: border-color var(--dur-fast) var(--ease);
}



.search-bar:focus-within {
  border-color: var(--color-brass);
}



@media (min-width: 860px) {
  .search-bar {
    display: flex;
  }
}



/* Mobile search: the same search-bar form is repositioned into a
   full-width overlay panel beneath the header when the mobile search
   toggle button is pressed, instead of duplicating the search markup. */
@media (max-width: 859px) {
  .search-bar.is-mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: none;
    margin: 0;
    height: 56px;
    padding-inline: 1rem;
    border-radius: 0;
    border-inline: none;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 300;
  }
}



.mobile-search-toggle {
  display: flex;
}



@media (min-width: 860px) {
  .icon-btn.mobile-search-toggle {
    display: none;
  }
}



/* ---- Category dropdown menu (real clickable links, styled with the
   exact same font as the main site navigation) ---- */
.search-category-menu {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid var(--color-border);
}



.search-category-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding-inline: 0.85rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--color-ink);
  transition: color var(--dur-fast) var(--ease);
}



.search-category-menu__toggle:hover,
.search-category-menu__toggle[aria-expanded="true"] {
  color: var(--color-forest);
}



.search-category-menu__toggle svg {
  transition: transform var(--dur-fast) var(--ease);
}



.search-category-menu__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}



.search-category-menu__list {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 20;
  min-width: 260px;
  max-width: calc(100vw - 2rem);
  max-height: 22rem;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}



.search-category-menu__list.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



/* Explicit, redundant enforcement: whatever a stray script or cached DOM
   state does to the class, an explicit data-state="closed" always wins
   and forces the dropdown shut. This is a second, independent source of
   truth on top of the class toggle above. */
.search-category-menu__list[data-state="closed"] {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
}



.search-category-menu__list a,
.search-category-menu__soon {
  display: block;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.2;
  color: var(--color-ink);
  text-decoration: none;
}



.search-category-menu__list a:hover {
  background-color: var(--color-ivory-soft);
  color: var(--color-forest);
}



.search-category-menu__soon {
  color: rgba(35, 35, 32, 0.4);
  cursor: default;
}



.search-category-menu__soon em {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}



.search-bar input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink);
}



.search-bar input::placeholder {
  color: rgba(35, 35, 32, 0.4);
}



.search-bar > button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-forest);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}



.search-bar > button:hover {
  background-color: var(--color-forest);
  color: var(--color-white);
}



/* Search suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 0.5rem;
}



.search-suggestions[hidden] {
  display: none;
}



.search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: background-color var(--dur-fast) var(--ease);
}



.search-suggestion:hover,
.search-suggestion:focus-visible {
  background-color: var(--color-ivory-soft);
}



.search-suggestion__image {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-sage);
  flex-shrink: 0;
}



.search-suggestion__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.search-suggestion__body {
  flex: 1;
  min-width: 0;
}



.search-suggestion__name {
  font-size: 0.875rem;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}



.search-suggestion__category {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(35, 35, 32, 0.5);
}



.search-suggestion__price {
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-forest-dark);
}



.search-suggestions__empty {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(35, 35, 32, 0.6);
}



.search-suggestions__viewall {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-forest);
}



.search-suggestions__viewall:hover {
  color: var(--color-brass);
}



/* Header icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}



.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 44px;
  padding-inline: 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}



.icon-btn:hover {
  color: var(--color-forest);
  background-color: var(--color-ivory-soft);
}



/* Compact header for very small phones: four icon buttons plus the
   hamburger and logo don't fit at their normal size below ~400px, so
   trim padding/gaps rather than letting them overflow the viewport. */
@media (max-width: 399px) {
  .header-main__inner {
    gap: 0.5rem;
  }

  .logo img {
    height: 46px;
  }

  .hamburger {
    width: 34px;
    height: 34px;
  }

  .header-icons {
    gap: 0;
  }

  .icon-btn {
    height: 40px;
    padding-inline: 0.35rem;
  }

  .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .icon-count {
    min-width: 14px;
    height: 14px;
    font-size: 0.58rem;
  }
}



.icon-label {
  display: none;
  font-size: 0.8rem;
}



@media (min-width: 1024px) {
  .icon-label {
    display: inline;
  }
}



.icon-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding-inline: 3px;
  border-radius: 999px;
  background-color: var(--color-brass);
  color: var(--color-forest-dark);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}



@media (min-width: 1024px) {
  .icon-count {
    position: static;
    margin-left: 2px;
  }
}



/* Desktop nav */
.main-nav {
  display: none;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}



@media (min-width: 1024px) {
  .main-nav {
    display: block;
    position: sticky;
    top: 113px;
    z-index: 490;
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition: transform 300ms var(--ease), opacity 300ms var(--ease);
  }

  .main-nav.is-nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
}



.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  height: 56px;
}



.main-nav__list > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}



.main-nav__list > li > a,
.main-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.2;
  color: var(--color-ink);
  padding-block: 0.5rem;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}



.main-nav__list > li > a::after,
.main-nav__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  pointer-events: none;
}



.main-nav__list > li > a:hover,
.main-nav__list > li > a[aria-current="page"],
.main-nav__toggle:hover {
  color: var(--color-forest);
}



.main-nav__list > li > a:hover::after,
.main-nav__list > li > a[aria-current="page"]::after,
.main-nav__toggle:hover::after {
  transform: scaleX(1);
}



.main-nav__toggle svg {
  transition: transform var(--dur-fast) var(--ease);
  margin-top: 2px;
}



.main-nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}



/* Mega dropdown (desktop) */
.mega-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 580px;
  padding-top: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
  z-index: 100;
}



.has-dropdown.is-open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



.mega-dropdown__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brass);
  margin-bottom: 1.1rem;
}



.mega-dropdown {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}



.mega-dropdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 2.25rem;
}



.mega-dropdown__grid a {
  display: block;
  padding: 0.8rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}



.mega-dropdown__grid a:hover {
  background-color: var(--color-ivory-soft);
  padding-left: 0.85rem;
}



.mega-dropdown__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--color-ink);
}



.mega-dropdown__grid a:hover .mega-dropdown__title {
  color: var(--color-forest);
}



.mega-dropdown__desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(35, 35, 32, 0.6);
}



.mega-dropdown__viewall {
  display: inline-flex;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-forest);
  transition: color var(--dur-fast) var(--ease);
}



.mega-dropdown__viewall:hover {
  color: var(--color-brass);
}



/* =========================================================
   MOBILE NAVIGATION DRAWER
   ========================================================= */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 40, 31, 0.5);
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease);
}



.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}



.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 380px;
  background-color: var(--color-white);
  z-index: 700;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}



.mobile-nav.is-open {
  transform: translateX(0);
}



@media (min-width: 1024px) {
  .mobile-nav,
  .mobile-nav-overlay,
  .hamburger {
    display: none;
  }
}



.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}



.mobile-nav__head img {
  height: 44px;
  width: auto;
}



.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-ink);
}



.mobile-nav__list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}



.mobile-nav__list > li {
  border-bottom: 1px solid rgba(35, 35, 32, 0.05);
}



.mobile-nav__list > li > a {
  display: block;
  padding: 0.9rem 0.75rem;
  font-size: 0.95rem;
}



.mobile-accordion__row {
  display: flex;
  align-items: center;
}



.mobile-accordion__row > a {
  flex: 1;
  padding: 0.9rem 0.75rem;
  font-size: 0.95rem;
}



.mobile-accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-ink);
}



.mobile-accordion__toggle svg {
  transition: transform var(--dur-fast) var(--ease);
}



.mobile-accordion__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}



.mobile-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  background-color: var(--color-ivory-soft);
  transition: grid-template-rows var(--dur-med) var(--ease);
}



.mobile-accordion.is-open .mobile-accordion__panel {
  grid-template-rows: 1fr;
}



.mobile-accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
}



.mobile-accordion__panel li a {
  display: block;
  padding: 0.65rem 1rem 0.65rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(35, 35, 32, 0.8);
}



/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background-color: var(--color-ivory);
  border-bottom: 1px solid var(--color-border);
}



.trust-bar__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding-block: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}



.trust-bar__list::-webkit-scrollbar {
  display: none;
}



@media (min-width: 1024px) {
  .trust-bar__list {
    justify-content: space-between;
    overflow-x: visible;
  }
}



.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--color-forest-dark);
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
}



.trust-bar__item svg {
  color: var(--color-brass);
  flex-shrink: 0;
}



.trust-bar__item--rating {
  gap: 0.6rem;
}



.trust-bar__stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--color-brass);
  flex-shrink: 0;
}



.trust-bar__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-weight: 600;
}



.trust-bar__divider {
  width: 1px;
  height: 16px;
  background-color: var(--color-border);
  flex-shrink: 0;
}



@media (max-width: 1023px) {
  .trust-bar__divider {
    display: none;
  }
}



.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.03) translateX(-0.6%);
}



/* Respect reduced-motion preference: skip the crossfade transition and
   the slow zoom/drift, and simply show the active slide instantly and
   statically instead. */
@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-active {
    transition: none;
    transform: none;
  }
}



@media (min-width: 768px) {
  .hero__inner {
    min-height: clamp(620px, 78vh, 780px);
    align-items: center;
    padding-block: 6rem;
  }
}



@media (min-width: 768px) {
  .hero__heading {
    font-size: 3.75rem;
  }
}



@media (min-width: 768px) {
  .hero__body {
    font-size: 1rem;
  }
}



@media (min-width: 480px) {
  .hero__ctas {
    flex-direction: row;
  }
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@media (prefers-reduced-motion: reduce) {
  .category-carousel__track {
    animation: none;
  }
}



@keyframes category-carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* The track holds two identical back-to-back sets of cards (JS
       duplicates the 36 cards once), so translating exactly one set's
       width — 50% of the full track — loops seamlessly with no visible
       jump back to the start. */
    transform: translateX(-50%);
  }
}



@media (min-width: 640px) {
  .category-carousel__track .popular-category-card {
    width: 190px;
  }
}



@media (min-width: 1024px) {
  .category-carousel__track .popular-category-card {
    width: 210px;
  }
}



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



@media (min-width: 1024px) {
  .grid--categories {
    grid-template-columns: repeat(3, 1fr);
  }
}



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



@media (min-width: 480px) {
  .grid--products {
    grid-template-columns: 1fr 1fr;
  }
}



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



.product-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) var(--ease);
}



.product-card:hover {
  box-shadow: var(--shadow-md);
}



.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-sage);
  display: block;
}



.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}



.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}



.product-card:hover .product-card__image-wrap img {
  transform: scale(1.06);
}



.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--color-forest);
  color: var(--color-ivory-soft);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}



.product-card__wishlist {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-forest-dark);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) var(--ease);
}



.product-card__wishlist:hover {
  background-color: var(--color-white);
}



.product-card__wishlist[aria-pressed="true"] svg path {
  fill: currentColor;
}



.product-card__body {
  padding: 1rem;
}



.product-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-ink);
}



.product-card__name:hover {
  color: var(--color-forest);
}



.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}



.product-card__stars {
  color: var(--color-brass);
  font-size: 0.75rem;
  letter-spacing: 1px;
}



.product-card__review-count {
  font-size: 0.72rem;
  color: rgba(35, 35, 32, 0.5);
}



.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.5rem;
}



.product-card__price {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-forest-dark);
}



.product-card__price-prev {
  font-size: 0.75rem;
  color: rgba(35, 35, 32, 0.4);
  text-decoration: line-through;
}



.product-card__monthly {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(35, 35, 32, 0.5);
}



.product-card__demo-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(164, 123, 76, 0.7);
}



@media (min-width: 768px) {
  .promo__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}



@media (min-width: 768px) {
  .promo__image {
    aspect-ratio: 4 / 3;
  }
}



@media (min-width: 768px) {
  .promo__content h2 {
    font-size: 2.5rem;
  }
}



.promo__content .btn {
  margin-top: 1.75rem;
}



@media (min-width: 768px) {
  .about-content__heading {
    font-size: 2.75rem;
  }
}



@media (min-width: 640px) {
  .about-content__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
  }
}



@media (min-width: 768px) {
  .about-content__subheading {
    font-size: 1.9rem;
  }
}



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



@media (min-width: 1024px) {
  .grid--benefits {
    grid-template-columns: repeat(5, 1fr);
  }
}



@media (min-width: 640px) {
  .brand-story__image {
    aspect-ratio: 16 / 9;
  }
}



@media (min-width: 640px) {
  .brand-story__content {
    max-width: 26rem;
    padding: 2.5rem;
  }
}



@media (min-width: 768px) {
  .brand-story__content h2 {
    font-size: 2.5rem;
  }
}



/* =========================================================
   REVIEWS
   ========================================================= */
.reviews {
  background-color: var(--color-ivory);
}



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



@media (min-width: 1024px) {
  .grid--reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}



.review-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}



.review-card__stars {
  color: var(--color-brass);
  letter-spacing: 2px;
}



.review-card blockquote {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(35, 35, 32, 0.8);
}



.review-card figcaption {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-forest-dark);
}



.demo-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(164, 123, 76, 0.7);
}



@media (min-width: 768px) {
  .newsletter__inner h2 {
    font-size: 2.5rem;
  }
}



@media (min-width: 480px) {
  .newsletter__form {
    flex-direction: row;
  }
}



/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--color-forest-dark);
  color: var(--color-ivory-soft);
}



.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  padding-block: 3.5rem;
}



@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(6, 1fr);
    padding-block: 5rem;
  }
}



.footer__brand {
  grid-column: span 2;
}



@media (min-width: 640px) {
  .footer__brand {
    grid-column: span 3;
  }
}



@media (min-width: 1024px) {
  .footer__brand {
    grid-column: span 1;
  }
}



.footer__logo {
  display: inline-block;
  background-color: var(--color-ivory-soft);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
}



.footer__logo img {
  height: 40px;
  width: auto;
}



.footer__brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(248, 244, 235, 0.7);
}



.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(248, 244, 235, 0.6);
  margin-bottom: 1rem;
}



.footer__col ul li {
  margin-bottom: 0.6rem;
}



.footer__col ul li a,
.footer__col ul li {
  font-size: 0.875rem;
  color: rgba(248, 244, 235, 0.85);
  transition: color var(--dur-fast) var(--ease);
}



.footer__col ul li a:hover {
  color: var(--color-brass-light);
}



.footer__bottom {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid rgba(248, 244, 235, 0.1);
}



@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}



.footer__bottom p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(248, 244, 235, 0.5);
}



.footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}



.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(248, 244, 235, 0.25);
  color: rgba(248, 244, 235, 0.75);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}



.footer__social-link:hover {
  color: var(--color-forest-dark);
  background-color: var(--color-brass-light);
  border-color: var(--color-brass-light);
}



/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 40, 31, 0.35);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}



.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 40, 31, 0.4);
}



@media (max-width: 639px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 1rem;
    bottom: 1rem;
  }
}



@keyframes fabricHeroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}



@media (prefers-reduced-motion: reduce) {
  .fabric-hero__image {
    animation: none;
  }
}



@media (min-width: 768px) {
  .fabric-hero__heading {
    font-size: 4rem;
  }
}



@media (min-width: 768px) {
  .fabric-hero__body {
    font-size: 1.05rem;
  }
}



.fabric-hero__content .btn {
  margin-top: 2rem;
}



/* ---- Scroll-reveal (used on fabric-samples page sections) ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}



.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}



@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



.fabric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
}



@media (min-width: 560px) {
  .fabric-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
}



@media (min-width: 768px) {
  .fabric-swatch__ring {
    width: 156px;
    height: 156px;
  }
}



@media (min-width: 1024px) {
  .fabric-swatch__ring {
    width: 184px;
    height: 184px;
  }
}



@keyframes fabricSwatchShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}



@media (min-width: 768px) {
  .fabric-form {
    padding: 2.5rem;
  }
}



@media (min-width: 640px) {
  .fabric-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}



@media (min-width: 480px) {
  .fabric-form__submit {
    width: auto;
  }
}



/* ---- Review carousel ---- */
.fabric-review-carousel {
  margin-top: 1rem;
}



.fabric-review-carousel__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}



.fabric-review-carousel__slide {
  flex: 0 0 100%;
  max-width: 100%;
}



@media (min-width: 768px) {
  .fabric-review-carousel__track {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fabric-review-carousel__slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
  }

  .fabric-review-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}



.fabric-review-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}



.fabric-review-carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-forest);
  background-color: var(--color-white);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}



.fabric-review-carousel__btn:hover {
  background-color: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
}



.fabric-review-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}



.fabric-review-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--color-border);
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}



.fabric-review-carousel__dot.is-active {
  background-color: var(--color-brass);
  transform: scale(1.3);
}



@media (min-width: 640px) {
  .grid--fabric-trust {
    grid-template-columns: repeat(4, 1fr);
  }
}



.fabric-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem;
}



.fabric-trust-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(164, 123, 76, 0.35);
  border-radius: 999px;
  color: var(--color-brass);
}



.fabric-trust-card p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  line-height: 1.4;
}



@media (prefers-reduced-motion: reduce) {
  .bb-hero__image {
    animation: none;
  }
}



@media (min-width: 768px) {
  .bb-hero__heading {
    font-size: 4rem;
  }
}



.bb-hero__content .btn {
  margin-top: 2rem;
}



.bb-toolbar__view {
  display: flex;
  gap: 0.4rem;
}



.bb-toolbar__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: rgba(35, 35, 32, 0.5);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}



.bb-toolbar__view-btn.is-active {
  color: var(--color-forest);
  border-color: var(--color-forest);
  background-color: var(--color-ivory);
}



@media (max-width: 767px) {
  .bb-toolbar {
    flex-wrap: wrap;
  }

  .bb-toolbar__filter-toggle {
    display: inline-flex;
    order: 1;
  }

  .bb-toolbar__view {
    order: 2;
  }

  .bb-toolbar__panel {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .bb-toolbar__panel.is-open {
    display: flex;
  }

  .bb-toolbar__field select {
    width: 100%;
  }
}



@media (min-width: 560px) {
  .bb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .bb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



.bb-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}



@media (max-width: 639px) {
  .bb-grid.is-list-view .product-card {
    grid-template-columns: 120px 1fr;
  }
}



.bb-grid.is-list-view .product-card__image-wrap {
  aspect-ratio: 1 / 1;
}



.bb-product-card__desc {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(35, 35, 32, 0.6);
}



.bb-product-card__cta {
  margin-top: 0.85rem;
  width: 100%;
  height: 42px;
  font-size: 0.8125rem;
}



.product-card__image-link.bb-product-open {
  cursor: pointer;
}



button.product-card__name.bb-product-open {
  display: block;
  text-align: left;
  width: 100%;
}



@media (min-width: 640px) {
  .bb-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .bb-why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}



@media (prefers-reduced-motion: reduce) {
  .bb-why-card,
  .bb-why__grid .bb-why-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bb-why-card:hover {
    transform: none;
  }

  .bb-why-card:hover .bb-why-card__icon {
    transform: none;
  }
}



/* ---- Product detail modal ---- */
.bb-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 40, 31, 0.55);
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
}



.bb-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}



.bb-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(1000px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 801;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med) var(--ease);
  padding: 1.5rem;
}



@media (min-width: 768px) {
  .bb-modal {
    padding: 2.5rem;
  }
}



.bb-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}



.bb-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--color-ivory-soft);
  color: var(--color-forest-dark);
  z-index: 2;
  transition: background-color var(--dur-fast) var(--ease);
}



.bb-modal__close:hover {
  background-color: var(--color-ivory);
}



.bb-modal__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}



@media (min-width: 860px) {
  .bb-modal__body {
    grid-template-columns: 1fr 1fr;
  }
}



.bb-modal__main-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-sage);
}



.bb-modal__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s var(--ease);
}



.bb-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--dur-fast) var(--ease);
}



.bb-modal__nav:hover {
  background-color: var(--color-white);
}



.bb-modal__nav--prev {
  left: 0.75rem;
}



.bb-modal__nav--next {
  right: 0.75rem;
}



.bb-modal__zoom {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--dur-fast) var(--ease);
}



.bb-modal__zoom:hover {
  background-color: var(--color-white);
}



.bb-modal__thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}



.bb-modal__thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease);
}



.bb-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.bb-modal__thumb.is-active {
  border-color: var(--color-brass);
}



.bb-modal__title {
  font-size: 1.6rem;
  line-height: 1.2;
}



.bb-modal__rating {
  margin-top: 0.6rem;
}



.bb-modal__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: 0.85rem;
}



.bb-modal__price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--color-forest-dark);
}



.bb-modal__monthly {
  margin-top: 0.2rem;
}



.bb-modal__description {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(35, 35, 32, 0.72);
}



.bb-modal__section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(35, 35, 32, 0.55);
  margin-bottom: 0.6rem;
}



.bb-modal__features {
  margin-top: 1.5rem;
}



.bb-modal__features ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}



.bb-modal__features li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(35, 35, 32, 0.75);
}



.bb-modal__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-brass);
}



.bb-modal__fabrics {
  margin-top: 1.5rem;
}



.bb-modal__size {
  margin-top: 1.5rem;
}



.bb-modal__size-selected,
.bb-modal__fabric-selected {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--color-forest);
}



.bb-modal__size-selected.is-empty,
.bb-modal__fabric-selected.is-empty {
  color: rgba(35, 35, 32, 0.5);
}



.bb-modal__size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}



.sf-option-pill {
  height: 42px;
  padding-inline: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background-color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}



.sf-option-pill:hover {
  border-color: var(--color-brass);
}



.sf-option-pill[aria-pressed="true"] {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



.bb-modal__fabric-collections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-soft);
}



.bb-modal__fabric-collection-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-forest-dark);
  margin-bottom: 0.75rem;
}



.bb-modal__fabric-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}



.bb-modal__fabric-grid .fabric-swatch__ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}



.bb-modal__fabric-grid .fabric-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  width: 68px;
}



.bb-modal__fabric-grid .fabric-swatch__name {
  font-size: 0.66rem;
  line-height: 1.25;
}



.bb-modal__fabric-grid .fabric-swatch__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}



.bb-modal__fabric-grid .fabric-swatch[aria-pressed="true"] .fabric-swatch__ring {
  border-color: var(--color-brass);
  box-shadow: 0 0 0 2px rgba(164, 123, 76, 0.2);
}



.bb-modal__fabric-grid .fabric-swatch__check {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background-color: rgba(18, 40, 31, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}



.bb-modal__fabric-grid .fabric-swatch[aria-pressed="true"] .fabric-swatch__check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}



.bb-modal__purchase {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}



.bb-modal__qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}



.bb-modal__qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-forest-dark);
  transition: background-color var(--dur-fast) var(--ease);
}



.bb-modal__qty-btn:hover {
  background-color: var(--color-ivory-soft);
}



.bb-modal__qty-value {
  width: 44px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}



.bb-modal__purchase-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}



@media (min-width: 480px) {
  .bb-modal__purchase-buttons {
    flex-direction: row;
  }
}



.bb-modal__add-cart,
.bb-modal__buy-now {
  flex: 1;
}



.bb-modal__purchase-message {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--color-forest);
  min-height: 1.2em;
}



.bb-modal__purchase-message.is-error {
  color: var(--color-clay);
}



.bb-modal__delivery-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}



.bb-modal__delivery-info li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: rgba(35, 35, 32, 0.7);
}



.bb-modal__delivery-info svg {
  color: var(--color-brass);
  flex-shrink: 0;
}



.bb-modal__related {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}



.bb-modal__related-list {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
}



.bb-modal__related-item {
  flex: 0 0 auto;
  width: 84px;
  text-align: center;
}



.bb-modal__related-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: border-color var(--dur-fast) var(--ease);
}



.bb-modal__related-item:hover img {
  border-color: var(--color-brass);
}



.bb-modal__related-item span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--color-ink);
}



body.bb-modal-open {
  overflow: hidden;
}



/* ---- Fullscreen lightbox ---- */
.bb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background-color: rgba(18, 40, 31, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}



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



.bb-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}



.bb-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-ivory-soft);
  transition: background-color var(--dur-fast) var(--ease);
}



.bb-lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.28);
}



/* =========================================================
   SOFAS PAGE — new rules only, scoped to this page's own
   class names so no other page is affected.
   ========================================================= */

/* ---- Hero ---- */
.sf-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 62vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



.sf-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fabricHeroZoom 24s ease-in-out infinite alternate;
}

@media (max-width: 767px) {
  .sf-hero__image {
    object-fit: contain;
  }
}




@media (prefers-reduced-motion: reduce) {
  .sf-hero__image {
    animation: none;
  }
}



.sf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 40, 31, 0.52) 0%, rgba(18, 40, 31, 0.4) 45%, rgba(18, 40, 31, 0.6) 100%);
  z-index: 1;
}



.sf-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
}



.sf-hero__content {
  max-width: 38rem;
  color: var(--color-ivory-soft);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
}



.sf-hero__heading {
  font-size: 2.75rem;
  line-height: 1.05;
  color: var(--color-ivory-soft);
}



@media (min-width: 768px) {
  .sf-hero__heading {
    font-size: 4rem;
  }
}



.sf-hero__subheading {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-brass-light);
}



.sf-hero__body {
  margin-top: 1.1rem;
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 244, 235, 0.9);
}



.sf-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
  animation-delay: 0.25s;
}



@media (min-width: 480px) {
  .sf-hero__ctas {
    flex-direction: row;
  }
}



@media (prefers-reduced-motion: reduce) {
  .sf-hero__content,
  .sf-hero__ctas {
    opacity: 1;
    animation: none;
  }
}



/* ---- Introduction ---- */
.sf-intro__inner {
  max-width: 42rem;
  text-align: center;
  margin-inline: auto;
}



.sf-intro__text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(35, 35, 32, 0.72);
}



/* ---- Product grid: exactly 4 per row on desktop ---- */
.sf-grid {
  grid-template-columns: 1fr;
  transition: opacity 0.2s var(--ease);
}



@media (min-width: 640px) {
  .sf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



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



.sf-product-card[hidden] {
  display: none;
}



/* ---- Trust grid (5 items) ---- */
.grid--sf-trust {
  grid-template-columns: 1fr;
}



@media (min-width: 640px) {
  .grid--sf-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .grid--sf-trust {
    grid-template-columns: repeat(5, 1fr);
  }
}



/* ---- Why Choose Rabbora Living ---- */
.sf-why {
  background-color: var(--color-ivory);
}



.sf-why__head {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}



.sf-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}



@media (min-width: 640px) {
  .sf-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .sf-why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}



.sf-why-card {
  padding: 2rem 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}



.sf-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}



.sf-why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(164, 123, 76, 0.35);
  border-radius: 999px;
  color: var(--color-brass);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}



.sf-why-card:hover .sf-why-card__icon {
  transform: scale(1.08);
  background-color: var(--color-brass);
  color: var(--color-white);
}



.sf-why-card h3 {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--color-forest-dark);
}



.sf-why-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(35, 35, 32, 0.65);
}



/* ---- The Rabbora Living Difference ---- */
.sf-difference__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}



@media (min-width: 860px) {
  .sf-difference__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}



.sf-difference__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}



.sf-difference__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}



.sf-difference__image:hover img {
  transform: scale(1.04);
}



.sf-difference__content {
  max-width: 30rem;
}



.sf-difference__content h2 {
  margin-top: 0.5rem;
  font-size: 2.25rem;
  line-height: 1.15;
}



.sf-difference__content p {
  margin-top: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(35, 35, 32, 0.72);
}



.sf-difference__content .btn {
  margin-top: 1.75rem;
}



/* ---- Modal dimensions line (sofa-specific addition) ---- */
.bb-modal__dimensions {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(35, 35, 32, 0.55);
}



/* =========================================================
   SOFAS PAGE — filter system (toolbar row, shared filter
   bar/drawer, colour swatches, grid/list toggle).
   ========================================================= */

/* A light-background outline button variant, for use on white/ivory
   panels where the existing .btn--outline (designed for dark hero
   backgrounds) would be too low-contrast. */
.btn--outline-forest {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-forest-dark);
}



.btn--outline-forest:hover {
  border-color: var(--color-forest);
  background-color: var(--color-ivory-soft);
}



/* ---- Top toolbar row: count | grid/list | Filters button ---- */
.sf-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}



.sf-toolbar-row__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(35, 35, 32, 0.6);
}



.sf-toolbar-row__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}



.sf-filters-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding-inline: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background-color: var(--color-white);
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}



.sf-filters-btn:hover {
  border-color: var(--color-brass);
  background-color: var(--color-ivory-soft);
}



.sf-filters-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 999px;
  background-color: var(--color-brass);
  color: var(--color-forest-dark);
  font-size: 0.68rem;
  font-weight: 700;
}



/* ---- Fallback / closest-match note ---- */
.sf-toolbar__empty {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.1rem;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: rgba(35, 35, 32, 0.68);
}



/* ---- Shared filter bar (desktop) / drawer (tablet & mobile) ---- */
.sf-filter-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 40, 31, 0.5);
  z-index: 750;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
}



.sf-filter-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}



.sf-filter-drawer__head {
  display: none;
}



.sf-filter-drawer__body {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}



.sf-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}



.sf-filter-drawer__actions {
  display: none;
}



@media (min-width: 1024px) {
  .sf-filter-drawer__actions .sf-filter-apply {
    display: none;
  }

  .sf-filter-drawer__actions {
    display: flex;
    margin-top: 0.75rem;
    justify-content: flex-end;
  }
}



.sf-toolbar__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(35, 35, 32, 0.55);
}



.sf-filter-group select {
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding-inline: 0.85rem;
  background-color: var(--color-white);
  font-size: 0.82rem;
  color: var(--color-forest-dark);
  min-width: 150px;
}



/* ---- Desktop: filter bar always visible, inline ---- */
@media (min-width: 1024px) {
  .sf-filter-overlay {
    display: none;
  }

  .sf-filter-drawer {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    box-shadow: none;
    background-color: transparent;
    display: block;
    overflow: visible;
  }
}



/* ---- Tablet & mobile: slide-in drawer ---- */
@media (max-width: 1023px) {
  .sf-filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88%;
    max-width: 380px;
    background-color: var(--color-white);
    z-index: 800;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    padding: 1.25rem;
  }

  .sf-filter-drawer.is-open {
    transform: translateX(0);
  }

  .sf-filter-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
  }

  .sf-filter-drawer__title {
    font-size: 1.25rem;
  }

  .sf-filter-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--color-forest-dark);
    background-color: var(--color-ivory-soft);
  }

  .sf-filter-drawer__body {
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
    padding: 0;
    gap: 1.5rem;
  }

  .sf-filter-group select {
    width: 100%;
  }

  .sf-filter-drawer__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
  }

  .sf-filter-drawer__actions .btn {
    flex: 1;
  }
}



body.sf-drawer-open {
  overflow: hidden;
}



/* ---- Product grid: exactly 4 per row on desktop (unchanged) ---- */
.sf-grid.is-list-view {
  grid-template-columns: 1fr;
}



.sf-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}



@media (max-width: 639px) {
  .sf-grid.is-list-view .product-card {
    grid-template-columns: 120px 1fr;
  }
}



.sf-grid.is-list-view .product-card__image-wrap {
  aspect-ratio: 1 / 1;
}



@media (prefers-reduced-motion: reduce) {
  .mt-hero__image {
    animation: none;
  }
}



@media (min-width: 768px) {
  .mt-hero__heading {
    font-size: 4rem;
  }
}



@media (min-width: 480px) {
  .mt-hero__ctas {
    flex-direction: row;
  }
}



@media (prefers-reduced-motion: reduce) {
  .mt-hero__content {
    opacity: 1;
    animation: none;
  }
}



.mt-category-pill.is-active {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



@media (min-width: 640px) {
  .mt-view-toggle {
    display: flex;
  }
}



.mt-pagination__page.is-active {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



@media (min-width: 768px) {
  .mt-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.mt-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  min-width: 0;
}



.mt-detail__gallery,
.mt-detail__info {
  min-width: 0;
}



@media (min-width: 900px) {
  .mt-detail__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}



@media (min-width: 480px) {
  .bb-modal__purchase-buttons {
    flex-wrap: wrap;
  }

  .mt-detail__wishlist-btn {
    flex: 0 0 auto;
  }
}



.mt-not-found__inner .btn {
  margin-top: 2rem;
}



@media (min-width: 640px) {
  .mt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .mt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



.mt-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}



@media (max-width: 639px) {
  .mt-grid.is-list-view .product-card {
    grid-template-columns: 120px 1fr;
  }
}



.mt-grid.is-list-view .product-card__image-wrap {
  aspect-ratio: 1 / 1;
}



@media (min-width: 640px) {
  .mt-grid.is-large-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (prefers-reduced-motion: reduce) {
  .rd-hero__image {
    animation: none;
  }
}



@media (min-width: 768px) {
  .rd-hero__heading {
    font-size: 3.5rem;
  }
}



@media (min-width: 480px) {
  .rd-hero__ctas {
    flex-direction: row;
  }
}



.rd-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.78rem;
  color: rgba(248, 244, 235, 0.85);
}



@media (prefers-reduced-motion: reduce) {
  .rd-hero__content {
    opacity: 1;
    animation: none;
  }
}



/* ---- Rapid delivery banner on the detail view ---- */
.rd-detail__rapid-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(164, 123, 76, 0.14);
  color: var(--color-brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}



/* ---- Bed dimensions table ---- */
.rd-dimensions__intro {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: rgba(35, 35, 32, 0.65);
  max-width: 40rem;
}



.rd-dimensions__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(35, 35, 32, 0.55);
}



/* ---- Bedroom inspiration cards ---- */
.rd-inspiration__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}



@media (min-width: 768px) {
  .rd-inspiration__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



.rd-inspiration-card {
  position: relative;
  display: block;
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}



.rd-inspiration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}



.rd-inspiration-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}



.rd-inspiration-card:hover img {
  transform: scale(1.06);
}



.rd-inspiration-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 40, 31, 0.82), rgba(18, 40, 31, 0.15) 55%, transparent);
}



.rd-inspiration-card__label {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: auto;
  padding: 1.25rem 1.25rem 0.35rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-ivory-soft);
}



.rd-inspiration-card__desc {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(248, 244, 235, 0.85);
}



.rd-inspiration-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}



/* ---- Product grid: exactly 3 per row on desktop ---- */
.rd-product-card[hidden] {
  display: none;
}



@media (min-width: 640px) {
  .ob-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



@media (min-width: 1024px) {
  .ob-features__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}



@media (min-width: 480px) {
  .ob-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .ob-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



@media (min-width: 1024px) {
  .ob-grid.ob-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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



@media (min-width: 480px) {
  .bf-placeholder__ctas {
    flex-direction: row;
  }
}



@media (min-width: 640px) {
  .bf-hub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .bf-hub__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* =========================================================
   STORAGE BEDS WITH DRAWERS PAGE — new rules only, scoped to
   this page's own class names. Reuses existing shared
   components (.product-card, .grid--products, .bb-modal__*,
   .mt-detail__*, .mt-option-pill, .rd2-dimensions__table)
   rather than duplicating them.
   ========================================================= */

/* ---- Hero ---- */
.sd-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 48vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



@media (prefers-reduced-motion: reduce) {
  .sd-hero__image {
    animation: none;
  }
}



@media (min-width: 768px) {
  .sd-hero__heading {
    font-size: 3.5rem;
  }
}



.sd-hero__content .btn {
  margin-top: 1.75rem;
}



@media (min-width: 640px) {
  .sd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .sd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



.sd-product-card .product-card__image-wrap {
  overflow: hidden;
}



.sd-product-card .product-card__image-wrap img {
  transition: transform 0.5s var(--ease);
}



.sd-product-card:hover .product-card__image-wrap img {
  transform: scale(1.06);
}



/* ========================================================= */
/* MERGED FROM: tv-beds.css */
/* ========================================================= */
/* =========================================================
   TV BEDS — PAGE-SPECIFIC STYLESHEET
   ---------------------------------------------------------
   Only contains styles for tv-beds.html. Relies on style.css
   (loaded first) for design tokens and shared components
   (.btn, .product-card, .grid--products) — nothing there is
   duplicated or modified here.
   ========================================================= */

/* ---- Hero ---- */
.tv-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 48vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



@media (min-width: 768px) {
  .tv-hero__heading {
    font-size: 3.5rem;
  }
}



.tv-hero__content .btn {
  margin-top: 1.75rem;
}



.tv-toolbar__field select {
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding-inline: 0.85rem;
  background-color: var(--color-white);
  font-size: 0.82rem;
  color: var(--color-forest-dark);
  min-width: 160px;
}



@media (min-width: 768px) {
  .tv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .tv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



.tv-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}



@media (max-width: 639px) {
  .tv-grid.is-list-view .product-card {
    grid-template-columns: 120px 1fr;
  }
}



.tv-grid.is-list-view .product-card__image-wrap {
  aspect-ratio: 1 / 1;
}



@media (min-width: 640px) {
  .tv-view-toggle {
    display: flex;
  }
}



.tv-product-card .product-card__image-wrap {
  overflow: hidden;
}



.tv-product-card .product-card__image-wrap img {
  transition: transform 0.5s var(--ease);
}



.tv-product-card:hover .product-card__image-wrap img {
  transform: scale(1.06);
}



@media (min-width: 900px) {
  .tv-detail__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}



.tv-detail__thumbs img.is-active {
  border-color: var(--color-brass);
}



.tv-option-pill {
  height: 42px;
  padding-inline: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background-color: var(--color-white);
  cursor: pointer;
}



.tv-option-pill[aria-pressed="true"] {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



@media (min-width: 480px) {
  .tv-detail__add-basket {
    width: auto;
  }
}



.tv-not-found__inner .btn {
  margin-top: 2rem;
}



/* ========================================================= */
/* MERGED FROM: kids-beds.css */
/* ========================================================= */
/* =========================================================
   KIDS' BEDS — PAGE-SPECIFIC STYLESHEET
   ---------------------------------------------------------
   Only contains styles for kids-beds.html. Relies on style.css
   (loaded first) for design tokens and shared components
   (.btn, .product-card, .grid--products, .bb-toolbar__view-btn)
   — nothing there is duplicated or modified here.
   ========================================================= */

/* ---- Hero ---- */
.kb-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 48vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



@media (min-width: 768px) {
  .kb-hero__heading {
    font-size: 3.5rem;
  }
}



.kb-hero__content .btn {
  margin-top: 1.75rem;
}



@media (min-width: 640px) {
  .kb-view-toggle {
    display: flex;
  }
}



@media (min-width: 768px) {
  .kb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .kb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



.kb-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}



@media (max-width: 639px) {
  .kb-grid.is-list-view .product-card {
    grid-template-columns: 120px 1fr;
  }
}



.kb-grid.is-list-view .product-card__image-wrap {
  aspect-ratio: 1 / 1;
}



.kb-product-card .product-card__image-wrap {
  overflow: hidden;
}



.kb-product-card .product-card__image-wrap img {
  transition: transform 0.5s var(--ease);
}



.kb-product-card:hover .product-card__image-wrap img {
  transform: scale(1.06);
}



@media (min-width: 900px) {
  .kb-detail__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}



.kb-detail__thumbs button.is-active {
  border-color: var(--color-brass);
}



.kb-option-pill {
  height: 42px;
  padding-inline: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background-color: var(--color-white);
  cursor: pointer;
}



.kb-option-pill[aria-pressed="true"] {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



@media (min-width: 480px) {
  .kb-detail__add-basket {
    width: auto;
  }
}



.kb-not-found__inner .btn {
  margin-top: 2rem;
}



/* ========================================================= */
/* MERGED FROM: high-headboard-beds.css */
/* ========================================================= */
/* =========================================================
   HIGH HEADBOARD BEDS — PAGE-SPECIFIC STYLESHEET
   ---------------------------------------------------------
   Only contains styles for high-headboard-beds.html. Relies
   on style.css (loaded first) for design tokens and shared
   components (.btn, .product-card, .grid--products,
   .bb-toolbar__view-btn) — nothing there is duplicated here.
   ========================================================= */

/* ---- Hero ---- */
.hh-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 48vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



@media (min-width: 768px) {
  .hh-hero__heading {
    font-size: 3.5rem;
  }
}



.hh-hero__content .btn {
  margin-top: 1.75rem;
}



@media (min-width: 640px) {
  .hh-view-toggle,
  .hh-columns-toggle {
    display: flex;
  }
}



@media (min-width: 480px) {
  .hh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 768px) {
  .hh-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



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



@media (min-width: 768px) {
  .hh-grid.hh-grid--cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}



@media (min-width: 1024px) {
  .hh-grid.hh-grid--cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}



.hh-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}



@media (max-width: 639px) {
  .hh-grid.is-list-view .product-card {
    grid-template-columns: 120px 1fr;
  }
}



.hh-grid.is-list-view .product-card__image-wrap {
  aspect-ratio: 1 / 1;
}



.hh-product-card .product-card__image-wrap {
  overflow: hidden;
}



.hh-product-card .product-card__image-wrap img {
  transition: transform 0.5s var(--ease);
}



.hh-product-card:hover .product-card__image-wrap img {
  transform: scale(1.06);
}



@media (min-width: 900px) {
  .hh-detail__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}



@keyframes hhGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(164, 123, 76, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(164, 123, 76, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(164, 123, 76, 0);
  }
}



@media (prefers-reduced-motion: reduce) {
  .hh-detail__main-wrap--glow::after {
    animation: none;
  }
}



.hh-detail__thumbs img.is-active {
  border-color: var(--color-brass);
}



.hh-not-found__inner .btn {
  margin-top: 2rem;
}



/* ========================================================= */
/* MERGED FROM: rapid-delivery-beds.css */
/* ========================================================= */
/* =========================================================
   RAPID DELIVERY BEDS — PAGE-SPECIFIC STYLESHEET
   ---------------------------------------------------------
   This file only contains styles for rapid-delivery.html.
   It relies on style.css (loaded first) for design tokens
   (--color-forest, --font-display, --radius-md, etc.), the
   site header/footer, and shared components like .btn,
   .product-card and .grid--products — none of that is
   duplicated here. Nothing in style.css is touched by this
   file.
   ========================================================= */

/* ---- Hero ---- */
.rd2-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



@media (min-width: 768px) {
  .rd2-hero__heading {
    font-size: 3.5rem;
  }
}



@media (min-width: 480px) {
  .rd2-hero__ctas {
    flex-direction: row;
  }
}



@media (min-width: 640px) {
  .rd2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



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



@media (min-width: 640px) {
  .rd2-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .rd2-process__steps {
    grid-template-columns: repeat(5, 1fr);
  }
}



@media (min-width: 900px) {
  .rd2-detail__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}



.rd2-detail__thumbs img.is-active {
  border-color: var(--color-brass);
}



.rd2-option-pill {
  height: 42px;
  padding-inline: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background-color: var(--color-white);
  cursor: pointer;
}



.rd2-option-pill[aria-pressed="true"] {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



.rd2-fabric-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 72px;
}



.rd2-fabric-swatch__ring {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
}



.rd2-fabric-swatch[aria-pressed="true"] .rd2-fabric-swatch__ring {
  border-color: var(--color-brass);
  box-shadow: 0 0 0 2px rgba(164, 123, 76, 0.2);
}



.rd2-fabric-swatch__check {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background-color: rgba(18, 40, 31, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}



.rd2-fabric-swatch[aria-pressed="true"] .rd2-fabric-swatch__check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}



.rd2-fabric-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.rd2-fabric-swatch__name {
  font-size: 0.7rem;
  color: var(--color-ink);
  text-align: center;
}



@media (min-width: 480px) {
  .rd2-detail__add-basket {
    width: auto;
  }
}



.rd2-not-found__inner .btn {
  margin-top: 2rem;
}



/* ========================================================= */
/* MERGED FROM: rapid-delivery.css */
/* ========================================================= */
/* =========================================================
   RAPID DELIVERY BEDS — PAGE-SPECIFIC STYLESHEET
   ---------------------------------------------------------
   This file only contains styles for rapid-delivery.html.
   It relies on style.css (loaded first) for design tokens
   (--color-forest, --font-display, --radius-md, etc.), the
   site header/footer, and shared components like .btn,
   .product-card and .grid--products — none of that is
   duplicated here. Nothing in style.css is touched by this
   file.
   ========================================================= */

/* ---- Hero ---- */
.rd2-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-dark);
}



@media (min-width: 768px) {
  .rd2-hero__heading {
    font-size: 3.5rem;
  }
}



@media (min-width: 480px) {
  .rd2-hero__ctas {
    flex-direction: row;
  }
}



@media (min-width: 640px) {
  .rd2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



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



@media (min-width: 640px) {
  .rd2-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .rd2-process__steps {
    grid-template-columns: repeat(5, 1fr);
  }
}



@media (min-width: 900px) {
  .rd2-detail__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}



.rd2-detail__thumbs img.is-active {
  border-color: var(--color-brass);
}



.rd2-option-pill {
  height: 42px;
  padding-inline: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background-color: var(--color-white);
  cursor: pointer;
}



.rd2-option-pill[aria-pressed="true"] {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-ivory-soft);
}



.rd2-fabric-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 72px;
}



.rd2-fabric-swatch__ring {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
}



.rd2-fabric-swatch[aria-pressed="true"] .rd2-fabric-swatch__ring {
  border-color: var(--color-brass);
  box-shadow: 0 0 0 2px rgba(164, 123, 76, 0.2);
}



.rd2-fabric-swatch__check {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background-color: rgba(18, 40, 31, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}



.rd2-fabric-swatch[aria-pressed="true"] .rd2-fabric-swatch__check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}



.rd2-fabric-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.rd2-fabric-swatch__name {
  font-size: 0.7rem;
  color: var(--color-ink);
  text-align: center;
}



@media (min-width: 480px) {
  .rd2-detail__add-basket {
    width: auto;
  }
}



.rd2-not-found__inner .btn {
  margin-top: 2rem;
}



@media (min-width: 768px) {
  .so-hero__heading {
    font-size: 3.5rem;
  }
}



.so-hero__content .btn {
  margin-top: 1.75rem;
}



@media (min-width: 640px) {
  .so-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .so-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



@media (min-width: 640px) {
  .so-grid.so-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 640px) {
  .so-grid.so-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .so-grid.so-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}



@media (min-width: 768px) {
  .so-hero__heading {
    font-size: 3.5rem;
  }
}



.so-hero__content .btn {
  margin-top: 1.75rem;
}



@media (min-width: 640px) {
  .so-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .so-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



@media (min-width: 640px) {
  .so-grid.so-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 640px) {
  .so-grid.so-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 1024px) {
  .so-grid.so-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}



/* ---- SEO content reuses .bb-info, no page-specific override needed ---- */

/* ========================================================= */
/* MERGED FROM: non-storage-bed-frames.css */
/* ========================================================= */
/* =========================================================
   NON-STORAGE BED FRAMES — PAGE-SPECIFIC STYLESHEET
   ---------------------------------------------------------
   Only contains styles for non-storage-bed-frames.html. Relies
   on style.css (loaded first) for design tokens and shared
   components (.btn, .product-card, .grid--products). The hero
   uses a solid/gradient background only — no images anywhere
   on this page yet.
   ========================================================= */

/* ---- Hero (gradient background, no image) ---- */
.ns-hero {
  position: relative;
  min-height: clamp(340px, 44vh, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-dark) 100%);
}



@media (min-width: 768px) {
  .ns-hero__heading {
    font-size: 3.5rem;
  }
}



.ns-hero__content .btn {
  margin-top: 1.75rem;
}



/* ---- Product grid: same responsive pattern as other category
   pages, ready to receive real .product-card entries ---- */
.ns-grid {
  grid-template-columns: 1fr;
}



@media (min-width: 640px) {
  .ns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



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

/* ---- Honest "no reviews yet" empty state (replaces demo testimonials) ---- */
.reviews-empty-state {
  max-width: 28rem;
  margin-inline: auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.reviews-empty-state__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-forest-dark);
}

.reviews-empty-state__body {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  color: rgba(35, 35, 32, 0.6);
  font-size: 0.9375rem;
}

.product-card__no-reviews {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(35, 35, 32, 0.4);
}
/* =====================================================================
   PASTE THIS AT THE VERY END OF sofas.css
   Mobile hero fix (768px and below ONLY — desktop is untouched).
   - Photo fills the whole hero edge to edge (cover): no dark green
     bands/block above or below it, even if an earlier mobile rule set
     object-fit: contain.
   - Slow zoom animation off on phones (scaling the photo up made it soft).
   - No opacity / filter / transform on the photo.
   - Lighter overlay so the photo reads clearly; text stays readable
     through its existing text-shadow.
   - Hero height follows its content instead of a tall fixed minimum.
   Placed at the end of the file so it wins over the earlier hero rules.
   ===================================================================== */
@media (max-width: 768px) {
  .sf-hero {
    min-height: 0;
    height: auto;
  }

  .sf-hero__image {
    object-fit: cover;
    object-position: center center;
    animation: none;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .sf-hero__overlay {
    background: linear-gradient(180deg, rgba(18, 40, 31, 0.32) 0%, rgba(18, 40, 31, 0.2) 45%, rgba(18, 40, 31, 0.4) 100%);
  }
}