:root {
  --ink: #1c2522;
  --muted: #66736d;
  --line: #dfe5e1;
  --paper: #fbfbf8;
  --soft: #eef3ef;
  --accent: #c9443d;
  --accent-dark: #9c2f2b;
  --sage: #708b78;
  --gold: #b88a44;
  --charcoal: #28302d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 33, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.home-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}
.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 clamp(18px, 2.8vw, 34px);
  background: #3c3c3c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.home-social-links {
  display: flex;
  gap: 10px;
}
.home-social-links a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  opacity: .95;
}
.home-mainbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 568px) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 18px clamp(28px, 2.7vw, 52px);
}
.home-left-cluster {
  display: flex;
  align-items: center;
  gap: 42px;
}
.home-menu-button {
  display: inline-grid;
  gap: 6px;
  width: 20px;
  padding: 4px 0;
}
.home-menu-button span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #222222;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  line-height: 1;
  color: #101010;
}
.brand-wordmark span {
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  letter-spacing: 0;
  font-weight: 300;
}
.brand-wordmark small {
  width: 100%;
  margin-top: -1px;
  padding-left: 7px;
  font-size: 7px;
  letter-spacing: .78em;
  text-align: center;
  color: #7c7c7c;
}
.home-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 42px;
  align-items: stretch;
  width: min(100%, 660px);
  margin: 0 auto;
  background: #f3f3f3;
  border: 1px solid #ececec;
}
.home-search-select,
.home-search input,
.home-search button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #222222;
  font: inherit;
}
.home-search-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid #d8d8d8;
  white-space: nowrap;
}
.home-search input {
  padding: 0 14px;
  outline: none;
}
.home-search input::placeholder { color: #808080; }
.home-search button {
  display: grid;
  place-items: center;
  background: #181818;
  color: #ffffff;
  font-size: 18px;
}
.home-account-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  white-space: nowrap;
  color: #202020;
}
.home-account-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.line-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  font-size: 18px;
}
.home-category-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.6vw, 30px);
  padding: 14px 24px 16px;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid #efefef;
}
.home-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #212121;
  font-size: 15px;
}
.nav-chevron { font-size: 10px; color: #404040; }
.hero-banner-band {
  width: 100%;
  background: #ffffff;
}
.hero-banner-link {
  display: block;
  width: 100%;
}
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}
.home-exact-stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 25.3vw, 520px);
  min-height: 420px;
  overflow: hidden;
  background: #f6e3c6;
}
.home-exact-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}
.home-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.home-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3.6vw, 34px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}
.home-carousel-dot {
  width: 164px;
  height: 2px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.48);
  cursor: pointer;
}
.home-carousel-dot.is-active {
  background: #ffffff;
}
.home-carousel-toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.home-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  background: rgba(255,255,255,0);
}
.hot-logo { left: 2.8%; top: 5.2%; width: 8.4%; height: 6.8%; }
.hot-search { left: 35.1%; top: 6.3%; width: 29.8%; height: 5.1%; }
.hot-login { left: 87.4%; top: 6.3%; width: 4.9%; height: 5.2%; }
.hot-cart { left: 92.8%; top: 6.3%; width: 4.7%; height: 5.2%; }
.hot-home { left: 10.0%; top: 14.4%; width: 2.9%; height: 3.7%; }
.hot-living { left: 14.2%; top: 14.4%; width: 5.5%; height: 3.7%; }
.hot-bedroom { left: 21.1%; top: 14.4%; width: 4.8%; height: 3.7%; }
.hot-bedding { left: 27.1%; top: 14.4%; width: 9.4%; height: 3.7%; }
.hot-dining { left: 37.0%; top: 14.4%; width: 10.4%; height: 3.7%; }
.hot-study { left: 48.2%; top: 14.4%; width: 8.7%; height: 3.7%; }
.hot-built-in { left: 57.5%; top: 14.4%; width: 8.5%; height: 3.7%; }
.hot-smart { left: 66.7%; top: 14.4%; width: 7.0%; height: 3.7%; }
.hot-fan { left: 73.8%; top: 14.4%; width: 6.5%; height: 3.7%; }
.hot-appliances { left: 80.0%; top: 14.4%; width: 6.5%; height: 3.7%; }
.hot-sale { left: 86.4%; top: 14.4%; width: 3.2%; height: 3.7%; }
.hot-banner { left: 0; top: 18.4%; width: 100%; height: 81.6%; z-index: 1; }
.home-sticky-sale {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) repeat(4, auto) minmax(420px, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 118px;
  margin: 0;
  padding: 14px clamp(28px, 3vw, 60px);
  background: #c83a05;
  color: #ffffff;
  font-size: 16px;
}
.home-sticky-sale strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.1;
}
.sticky-clock {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #c83a05;
}
.sticky-clock::before,
.sticky-clock::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 7px;
  width: 2px;
  height: 8px;
  background: #c83a05;
  transform-origin: bottom center;
}
.sticky-clock::after {
  top: 12px;
  height: 6px;
  transform: rotate(52deg);
}
.sale-count {
  display: grid;
  justify-items: center;
  min-width: 58px;
  padding: 0 10px;
  border-left: 1px solid rgba(255,255,255,.45);
  line-height: 1.05;
}
.sale-count b {
  font-size: clamp(28px, 2vw, 36px);
  font-weight: 500;
}
.sale-count small {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.sticky-copy {
  max-width: 820px;
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
}
.home-sticky-sale a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  background: #e5b548;
  color: #1f1f1f;
  font-weight: 700;
}
.home-chat-bubble {
  position: fixed;
  right: 26px;
  bottom: 20px;
  z-index: 45;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 68% 38%, #6d55d7 0 14%, #3c326f 15% 24%, #1f2931 25% 44%, #20c468 45% 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 251, 248, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
}
.brand small { display: block; color: var(--muted); margin-top: 1px; }
.main-nav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.main-nav a, .icon-link {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 14px;
}
.main-nav a:hover, .icon-link:hover { background: var(--soft); }
.header-actions { display: flex; gap: 6px; justify-content: flex-end; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(320px, 1.12fr);
  min-height: calc(100vh - 76px);
  max-height: 760px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 88px);
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}
.hero p { max-width: 620px; color: var(--muted); font-size: 18px; }
.hero-media { min-height: 420px; overflow: hidden; background: var(--soft); }
.hero-img { aspect-ratio: 4 / 5; }
.hero-actions, .product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.secondary { background: transparent; }

.section { max-width: 1460px; margin: 0 auto; padding: clamp(38px, 5vw, 74px) clamp(18px, 4vw, 54px); }
.band { max-width: none; background: var(--white); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 0 auto 24px;
  max-width: 1460px;
}
.section-heading.flush { align-items: start; }
.section-heading h2, .story-band h2, .page-hero h1, .collection-hero h1, .article-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}
.section-heading a { color: var(--accent); font-weight: 700; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1460px;
  margin: 0 auto;
}
.collection-card, .product-card, .article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.collection-card a { display: block; height: 100%; }
.collection-image, .product-photo {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}
.collection-card h3, .collection-card p {
  margin: 0;
  padding: 0 16px;
}
.collection-card h3 { padding-top: 16px; font-size: 18px; }
.collection-card p { padding-bottom: 16px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card-body { padding: 15px; }
.product-card h3 {
  min-height: 48px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
}
.product-card h3 a:hover { color: var(--accent); }
.price-row { font-weight: 800; }
.compare-price {
  margin-left: 10px;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 16px;
}
.image-fallback {
  display: grid;
  place-items: center;
  min-height: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ece8df, #dfe8e2);
  color: var(--sage);
  font-size: 48px;
  font-weight: 800;
}

.story-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin: clamp(24px, 5vw, 66px) clamp(18px, 4vw, 54px);
  padding: clamp(32px, 5vw, 58px);
  background: var(--charcoal);
  color: var(--white);
}
.story-band p { max-width: 700px; color: #d9e1dc; }
.story-stats { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 14px; }
.story-stats span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}
.story-stats strong { font-size: 28px; }

.page-hero, .collection-hero {
  max-width: 1460px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 86px) clamp(18px, 4vw, 54px);
}
.page-hero.compact { min-height: 300px; }
.page-hero p { max-width: 780px; color: var(--muted); font-size: 18px; }
.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: 32px;
  align-items: center;
}
.collection-hero-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
}
.collection-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.filter-panel {
  position: sticky;
  top: 94px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.filter-panel h2 { margin-top: 0; font-size: 18px; }
.side-links, .link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.side-links a, .link-cloud a {
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 14px;
}
.side-links a:hover, .link-cloud a:hover { border-color: var(--accent); color: var(--accent); }
.link-cloud.dense a { font-size: 13px; }
.directory-page .page-hero { padding-bottom: 24px; }
.directory-columns {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(300px, 1fr);
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 54px) clamp(44px, 6vw, 82px);
}
.directory-columns > div {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(320px, .78fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 84px) clamp(18px, 4vw, 54px);
}
.product-gallery {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}
.product-summary h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
}
.product-summary p { color: var(--muted); font-size: 17px; }
.product-price { margin: 20px 0; font-size: 26px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag-row span {
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--charcoal);
  font-size: 13px;
}
.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.detail-list span:before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--gold); }

.simple-page .prose {
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
}
.prose a {
  display: inline-flex;
  margin: 6px 10px 6px 0;
  color: var(--accent);
  font-weight: 700;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.article-card { padding: 0; }
.article-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}
.article-card .eyebrow,
.article-card h3,
.article-card p {
  margin-left: 18px;
  margin-right: 18px;
}
.article-card .eyebrow { margin-top: 18px; }
.article-card h3 { margin-top: 0; }
.article-card p { color: var(--muted); }
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: 32px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 84px) clamp(18px, 4vw, 54px);
}
.article-hero p { color: var(--muted); font-size: 18px; }
.article-hero-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.search-panel {
  max-width: 760px;
  margin-top: 22px;
}
.search-panel input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
}
.search-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.search-results a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.search-results small { color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1.2fr);
  gap: 24px;
  padding: clamp(32px, 5vw, 58px) clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: var(--white);
}
.site-footer h2 { margin: 0 0 10px; }
.site-footer p { max-width: 520px; color: #d9e1dc; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; justify-content: end; }
.site-footer a {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: var(--white);
}

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr; }
  .main-nav { justify-content: start; overflow: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .home-mainbar { grid-template-columns: 1fr; gap: 14px; min-height: auto; }
  .home-left-cluster { gap: 28px; }
  .brand-wordmark { width: 150px; }
  .home-search { width: 100%; }
  .home-account-actions { justify-self: start; justify-content: flex-start; }
  .home-category-nav { justify-content: flex-start; }
  .home-exact-stage { height: clamp(360px, 58vw, 520px); min-height: 360px; }
  .home-carousel-dot { width: 92px; }
  .home-sticky-sale {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .home-sticky-sale .sale-count,
  .home-sticky-sale .sticky-copy { display: none; }
  .home-chat-bubble { width: 52px; height: 52px; right: 16px; bottom: 20px; }
  .hero, .collection-hero, .product-detail, .collection-layout, .directory-columns, .article-hero, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; max-height: none; }
  .hero-media { min-height: 360px; }
  .filter-panel { position: static; }
  .collection-grid, .product-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-band { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand { min-width: 0; }
  .home-mainbar { padding: 14px 18px; }
  .home-left-cluster { gap: 22px; }
  .brand-wordmark { width: 138px; }
  .brand-wordmark span { font-size: 34px; }
  .brand-wordmark small { font-size: 7px; letter-spacing: .72em; }
  .home-search { grid-template-columns: auto minmax(0, 1fr) 38px; }
  .home-search-select { padding: 0 10px; font-size: 13px; }
  .home-search input { padding: 0 10px; }
  .home-exact-stage { height: 430px; min-height: 430px; }
  .home-carousel-controls { bottom: 18px; }
  .home-carousel-dot { width: 54px; }
  .hero h1 { font-size: 42px; }
  .hero-media { min-height: 300px; }
  .collection-grid, .product-grid, .article-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: start; }
}
