:root {
  --paper: #f8f6f0;
  --surface: #ffffff;
  --stone: #e4ddd0;
  --stone-strong: #c8bca9;
  --charcoal: #202421;
  --ink: #343a36;
  --muted: #6d726a;
  --wood: #8c6044;
  --olive: #58624d;
  --sage: #dfe7dc;
  --blue: #516778;
  --sale: #9f3f32;
  --border: rgba(32, 36, 33, 0.14);
  --shadow: 0 18px 50px rgba(32, 36, 33, 0.11);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 3px solid rgba(81, 103, 120, 0.55);
  outline-offset: 3px;
}

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

.skip-link:focus {
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--charcoal);
  color: white;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 240, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1480px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 380px) auto;
  gap: 1.25rem;
  align-items: center;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.94rem;
  color: var(--ink);
}

.nav-links a,
.nav-mega {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-mega:hover {
  color: var(--wood);
}

.header-search,
.mobile-search div,
.search-band form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search {
  height: 46px;
  padding: 0 0.6rem 0 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.header-search input,
.mobile-search input,
.search-band input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  outline: 0;
}

.header-search button,
.icon-link,
.wish-button,
.qty-control button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--charcoal);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.language-select {
  width: 62px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--charcoal);
  padding: 0 0.4rem;
}

.icon-link {
  position: relative;
}

.icon-link span {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
}

.mega-menu {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  display: none;
  grid-template-columns: 0.8fr 1.6fr 1fr;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}

.mega-menu.is-open {
  display: grid;
}

.mega-copy,
.mega-card,
.product-card,
.dashboard-card,
.order-summary,
.checkout-form,
.login-card,
.support-card,
.filters,
.policy-grid article,
.spec-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.mega-copy {
  padding: 1.1rem;
}

.mega-copy h2 {
  margin: 0.25rem 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.mega-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.mega-rooms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.mega-card {
  overflow: hidden;
  min-height: 160px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.mega-card img {
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.mega-card span {
  padding: 0.75rem;
  font-weight: 700;
}

.mega-categories,
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: start;
}

.mega-categories a,
.category-row a,
.module-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 650;
  color: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 21, 19, 0.82), rgba(18, 21, 19, 0.42) 52%, rgba(18, 21, 19, 0.2)),
    url("/assets/hero-furnicera-living-room.jpg") center / cover;
}

.hero-content {
  position: relative;
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 6rem;
  color: white;
}

.hero h1,
.page-hero h1,
.listing-hero h1,
.product-info h1,
.confirmation h1,
.panel-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  font-weight: 700;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.6rem;
}

.hero p {
  max-width: 670px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.purchase-row,
.card-bottom,
.section-head.with-action,
.product-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--charcoal);
  font-weight: 750;
}

.button-dark {
  background: var(--charcoal);
  color: white;
  border-color: var(--charcoal);
}

.button-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
}

.button-small {
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
}

.button-full,
.button-wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--wood);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--wood);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-bar {
  width: min(1480px, calc(100% - 2rem));
  margin: -2.1rem auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-bar div {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.section,
.listing-hero,
.page-hero,
.product-page,
.cart-layout,
.checkout-layout,
.contact-layout,
.panel-hero,
.kpi-grid,
.dashboard-grid,
.policy-grid,
.faq-list,
.confirmation,
.module-tabs {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.alt-band {
  width: 100%;
  max-width: none;
  padding: 4rem max(1rem, calc((100% - 1480px) / 2));
  background: var(--sage);
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-head h2,
.why-band h2,
.newsletter-band h2,
.dashboard-card h2,
.order-summary h2,
.checkout-form h2,
.filters h2,
.policy-grid h2,
.spec-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.section-head h2 {
  font-size: 2rem;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.collection-tile {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: white;
}

.collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 220ms ease;
}

.collection-tile:hover img {
  transform: scale(1.035);
}

.collection-tile span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 10px 26px rgba(32, 36, 33, 0.07);
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background: var(--stone);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  background: var(--sale);
  color: white;
  font-size: 0.78rem;
  font-weight: 850;
}

.wish-button {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 4;
}

.wish-button.is-active {
  background: var(--charcoal);
  color: white;
}

.product-body {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.product-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-title {
  min-height: 3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.product-body p {
  min-height: 3.9rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-details,
.detail-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.mini-details div,
.detail-list div,
.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
}

.mini-details dt,
.detail-list dt {
  color: var(--muted);
}

.mini-details dd,
.detail-list dd {
  min-width: 0;
  margin: 0;
  text-align: right;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.price {
  color: var(--charcoal);
  font-weight: 850;
}

.price-large {
  font-size: 2rem;
}

.compare-price {
  color: var(--muted);
  text-decoration: line-through;
}

.why-band,
.newsletter-band {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: white;
}

.why-band h2,
.newsletter-band h2 {
  font-size: 1.8rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.why-grid article {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.listing-hero,
.page-hero,
.panel-hero {
  padding: 4rem 0 2rem;
}

.listing-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.listing-hero h1,
.page-hero h1,
.panel-hero h1 {
  font-size: 3rem;
}

.listing-hero p,
.page-hero p,
.panel-hero p {
  max-width: 760px;
  color: var(--muted);
}

.listing-stat {
  min-width: 190px;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.listing-stat strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.shop-layout {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.filters {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 1rem;
}

.filters button[type="submit"] {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 1rem;
  box-shadow: 0 -10px 18px rgba(255, 255, 255, 0.92);
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

fieldset {
  min-width: 0;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

legend,
.field-label,
.checkout-form label,
.contact-form label,
.login-card label,
.order-summary label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--charcoal);
  padding: 0.65rem 0.75rem;
}

textarea {
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  color: var(--ink);
}

.check-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: none;
}

.check-row small {
  margin-left: auto;
  color: var(--muted);
}

.price-fields,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.shop-results {
  min-width: 0;
}

.shop-toolbar {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-toolbar p {
  margin: 0;
  color: var(--muted);
}

.shop-toolbar label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 800;
}

.pagination a.is-active {
  background: var(--charcoal);
  color: white;
}

.product-page {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0 2rem;
}

.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery-main {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 1 / 0.75;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1rem;
}

.product-info h1 {
  font-size: 3.1rem;
}

.product-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.option-grid {
  display: grid;
  gap: 0.75rem;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-group legend {
  width: 100%;
  margin-bottom: 0.2rem;
}

.option-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.option-group input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
}

.qty-control {
  display: flex;
  width: 138px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.qty-control button {
  border: 0;
  border-radius: 0;
}

.qty-control input {
  width: 52px;
  border: 0;
  text-align: center;
  padding: 0;
}

.reassurance-panel,
.placeholder-box {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--sage);
}

.reassurance-panel p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

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

.spec-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spec-grid article,
.policy-grid article {
  padding: 1.2rem;
}

.spec-grid p,
.policy-grid p {
  color: var(--muted);
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 4rem;
}

.cart-items {
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 116px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cart-item img {
  width: 116px;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-item a {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.cart-item p {
  margin: 0.25rem 0 0.6rem;
  color: var(--muted);
}

.order-summary,
.checkout-form,
.contact-form,
.login-card,
.support-card {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.summary-total {
  font-size: 1.25rem;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 460px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 4rem;
}

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.login-layout {
  width: min(520px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}

.panel-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.kpi-grid article {
  min-height: 110px;
  display: grid;
  align-content: space-between;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: white;
}

.kpi-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.kpi-grid strong {
  font-size: 1.7rem;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}

.dashboard-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-card {
  min-width: 0;
  padding: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 4rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.confirmation,
.empty-state,
.loading-screen,
.error-screen {
  min-height: 58vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 1rem;
}

.confirmation h1,
.empty-state h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 0 0 2rem;
  background: var(--ink);
  color: white;
}

.newsletter-band {
  transform: translateY(-2rem);
  margin-bottom: 0;
  background: var(--blue);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.newsletter-form input {
  background: white;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.newsletter-form .form-note,
.site-footer .fine-print {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid section {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer-grid h2 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
}

.footer-grid p,
.fine-print {
  color: rgba(255, 255, 255, 0.74);
}

.socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.fine-print {
  width: min(1480px, calc(100% - 2rem));
  margin: 2rem auto 0;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: white;
  box-shadow: var(--shadow);
  font-weight: 750;
}

.loader {
  width: 42px;
  height: 42px;
  border: 4px solid var(--stone);
  border-top-color: var(--charcoal);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .header-search {
    max-width: 520px;
  }

  .mobile-toggle {
    display: inline-grid;
  }

  .mega-menu {
    display: none;
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 80;
    width: min(420px, 100%);
    padding: 1rem;
    gap: 1rem;
    align-content: start;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu nav {
    display: grid;
    gap: 0.4rem;
  }

  .mobile-menu nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }

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

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

  .shop-layout,
  .product-page,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .why-band,
  .newsletter-band {
    grid-template-columns: 1fr;
  }

  .filters,
  .product-info {
    position: static;
  }

  .dashboard-grid,
  .dashboard-grid.wide,
  .spec-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 1rem, 1480px);
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    min-height: 68px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .header-search {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 0.7rem;
  }

  .header-tools {
    gap: 0.25rem;
  }

  .language-select {
    width: 56px;
  }

  .icon-link,
  .header-search button {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    width: min(100% - 1.25rem, 1480px);
    padding: 6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .trust-bar,
  .room-grid,
  .product-grid,
  .compact-grid,
  .kpi-grid,
  .dashboard-grid,
  .dashboard-grid.wide,
  .spec-grid,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    margin-top: 1rem;
  }

  .section,
  .listing-hero,
  .page-hero,
  .product-page,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .panel-hero,
  .kpi-grid,
  .dashboard-grid,
  .policy-grid,
  .faq-list,
  .confirmation,
  .module-tabs,
  .shop-layout,
  .why-band,
  .newsletter-band,
  .footer-grid,
  .fine-print {
    width: min(100% - 1.25rem, 1480px);
  }

  .section {
    padding: 3rem 0;
  }

  .alt-band {
    width: 100%;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }

  .listing-hero,
  .panel-hero,
  .section-head.with-action,
  .shop-toolbar {
    display: grid;
    align-items: start;
  }

  .listing-hero h1,
  .page-hero h1,
  .panel-hero h1,
  .product-info h1,
  .confirmation h1 {
    font-size: 2.35rem;
  }

  .collection-tile {
    min-height: 220px;
  }

  .shop-layout {
    display: grid;
  }

  .filters {
    top: auto;
  }

  .price-fields,
  .form-grid,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 86px 1fr;
  }

  .cart-item img {
    width: 86px;
  }

  .cart-item strong,
  .cart-item .icon-link {
    grid-column: 2;
    justify-self: start;
  }

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

  .product-body p {
    min-height: auto;
  }

  .product-title {
    min-height: auto;
  }

  .site-footer {
    margin-top: 4rem;
  }

  .newsletter-band {
    padding: 1.25rem;
  }
}
