:root {
  --text: #201a18;
  --muted: #786f69;
  --line: rgba(75, 55, 43, .12);
  --accent: #b98a62;
  --accent-dark: #7c5337;
  --cream: #fffaf4;
  --paper: #f6eee4;
  --soft: #ead8c8;
  --dark: #211713;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 6% 0%, rgba(185,138,98,.22), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(230,205,184,.50), transparent 34%),
    linear-gradient(180deg, #fffaf4 0%, #f5ece2 55%, #efe1d3 100%);
}
a { color: inherit; }
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(88,62,46,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,62,46,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.demo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 4vw, 44px);
  background: rgba(255,250,244,.86);
  border-bottom: 1px solid rgba(75,55,43,.10);
  backdrop-filter: blur(20px);
}
.brand img { display: block; height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.demo-header nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 800; font-size: 14px; }
.demo-header nav a, .header-btn { text-decoration: none; }
.header-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
  font-size: 14px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, .97fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(100% - 40px, 1180px);
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0 50px;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.kicker {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .13em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .94;
  letter-spacing: -.075em;
}
.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.45;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.02em;
  border: 1px solid rgba(75,55,43,.13);
  cursor: pointer;
}
.btn--primary { color: #fff; background: linear-gradient(135deg, #7c5337, #c79b74); box-shadow: 0 18px 46px rgba(124,83,55,.22); }
.btn--ghost { color: var(--text); background: rgba(255,255,255,.55); backdrop-filter: blur(14px); }
.hero__visual { position: relative; min-height: 520px; }
.linen-card {
  position: absolute;
  inset: 44px 36px auto auto;
  width: min(430px, 78vw);
  min-height: 430px;
  padding: 34px;
  border-radius: 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(33,23,19,.72), rgba(91,61,43,.22)),
    radial-gradient(circle at 26% 18%, rgba(255,255,255,.35), transparent 24%),
    linear-gradient(145deg, #bea58f, #ead7c5 52%, #b98a62);
  box-shadow: 0 34px 96px rgba(72,45,30,.24);
  overflow: hidden;
}
.linen-card::before,
.linen-card::after,
.linen-stack::before,
.linen-stack::after,
.product__media::before,
.product__media::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.20);
}
.linen-card::before { width: 76%; height: 34%; left: 12%; bottom: 18%; transform: rotate(-8deg); }
.linen-card::after { width: 62%; height: 23%; left: 20%; bottom: 34%; transform: rotate(6deg); }
.linen-card span { position: relative; z-index: 2; display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.linen-card strong { position: relative; z-index: 2; display: block; margin-top: 130px; font-family: Manrope, Inter, sans-serif; font-size: 46px; line-height: .95; letter-spacing: -.06em; }
.linen-card small { position: relative; z-index: 2; display: block; margin-top: 12px; color: rgba(255,255,255,.82); font-weight: 800; }
.linen-stack { position: absolute; border-radius: 36px; background: linear-gradient(145deg, #fffaf4, #e7d3c2); box-shadow: 0 24px 80px rgba(72,45,30,.14); }
.linen-stack--one { left: 0; top: 84px; width: 180px; height: 240px; transform: rotate(-10deg); }
.linen-stack--two { right: 0; bottom: 34px; width: 220px; height: 190px; transform: rotate(9deg); background: linear-gradient(145deg, #ead8c8, #fff5ec); }
.linen-stack::before { inset: 22px; }
.linen-stack::after { inset: 56px 28px 38px; background: rgba(185,138,98,.18); }
.floating-note {
  position: absolute;
  z-index: 4;
  min-width: 178px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255,250,244,.82);
  border: 1px solid rgba(75,55,43,.12);
  box-shadow: 0 22px 60px rgba(72,45,30,.16);
  backdrop-filter: blur(18px);
}
.floating-note small { display: block; color: var(--muted); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.floating-note strong { display: block; margin-top: 5px; }
.floating-note--one { left: 0; bottom: 130px; }
.floating-note--two { right: 20px; top: 0; }
.section { position: relative; z-index: 2; width: min(100% - 40px, 1180px); margin: 0 auto clamp(58px, 7vw, 92px); }
.demo-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid rgba(124,83,55,.18);
  border-radius: 28px;
  color: #513927;
  background: rgba(255,250,244,.72);
  box-shadow: 0 20px 70px rgba(72,45,30,.08);
}
.demo-note strong { min-width: fit-content; }
.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
  border: 1px solid rgba(75,55,43,.10);
  border-radius: 999px;
  background: rgba(255,250,244,.7);
  box-shadow: 0 18px 70px rgba(72,45,30,.08);
}
.category-strip a {
  flex: 0 0 auto;
  padding: 12px 17px;
  border-radius: 999px;
  color: #513927;
  background: rgba(236,219,204,.62);
  text-decoration: none;
  font-weight: 900;
}
.section-head { max-width: 820px; margin-bottom: 30px; }
.section-head h2, .order h2, .cta h2 {
  margin-bottom: 14px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1;
  letter-spacing: -.065em;
}
.section-head p, .order p, .cta p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.filters {
  position: sticky;
  top: 96px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,250,244,.84);
  border: 1px solid rgba(75,55,43,.10);
  box-shadow: 0 26px 80px rgba(72,45,30,.08);
}
.filters__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filters__top strong { font-size: 18px; }
.filters__top span { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.filter {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  color: #4b3629;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 880;
  cursor: pointer;
}
.filter.is-active { color: #fff; background: var(--dark); }
.filters__note { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.products-wrap { min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(255,250,244,.78);
  border: 1px solid rgba(75,55,43,.08);
}
.catalog-toolbar strong { display: block; letter-spacing: -.03em; }
.catalog-toolbar span { color: var(--muted); font-size: 14px; }
.toolbar-pill { border: 0; min-height: 36px; padding: 0 13px; border-radius: 999px; color: #5b3b29; background: #ead8c8; font-weight: 950; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,250,244,.86);
  border: 1px solid rgba(75,55,43,.10);
  box-shadow: 0 20px 60px rgba(72,45,30,.07);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-5px); border-color: rgba(185,138,98,.38); box-shadow: 0 30px 80px rgba(72,45,30,.14); }
.product.is-hidden { display: none; }
.product__media {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(145deg, #ead8c8, #fffaf4);
}
.product__media span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #513927;
  background: rgba(255,250,244,.78);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.product__media::before { width: 75%; height: 35%; left: 12%; bottom: 18%; transform: rotate(-6deg); background: rgba(255,255,255,.34); }
.product__media::after { width: 62%; height: 22%; left: 20%; bottom: 33%; transform: rotate(7deg); background: rgba(255,255,255,.24); }
.product__media--a { background: linear-gradient(145deg, #e7d3c2, #fff7ee); }
.product__media--b { background: linear-gradient(145deg, #f2e5d8, #d9c0ac); }
.product__media--c { background: linear-gradient(145deg, #f8efe6, #c8a98f); }
.product__media--d { background: linear-gradient(145deg, #fffaf4, #ead8c8); }
.product__media--e { background: linear-gradient(145deg, #d8c0aa, #f7eadf); }
.product__media--f { background: linear-gradient(145deg, #fff0f0, #efd0c5); }
.product__media--g { background: linear-gradient(145deg, #fff, #e7d3c2); }
.product__media--h { background: linear-gradient(145deg, #c8b19d, #fffaf4); }
.product__body { padding: 18px; }
.product__body small { color: var(--accent-dark); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.product__body h3 { margin: 8px 0 8px; font-size: 22px; line-height: 1.05; letter-spacing: -.045em; }
.product__body p { min-height: 66px; color: var(--muted); line-height: 1.45; }
.product__body strong { font-size: 21px; letter-spacing: -.04em; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-grid article, .steps article {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,250,244,.78);
  border: 1px solid rgba(75,55,43,.10);
  box-shadow: 0 18px 60px rgba(72,45,30,.07);
}
.info-grid span { display: block; width: 44px; height: 44px; border-radius: 15px; background: linear-gradient(135deg, #ead8c8, #b98a62); }
.info-grid h3 { margin: 18px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.info-grid p { color: var(--muted); line-height: 1.56; }
.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 22px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 40px;
  background: rgba(33,23,19,.94);
  color: #fff;
  box-shadow: 0 30px 96px rgba(33,23,19,.18);
}
.order p { color: rgba(255,255,255,.72); }
.steps { display: grid; gap: 12px; }
.steps article { display: flex; align-items: center; gap: 14px; color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.10); box-shadow: none; }
.steps strong { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 16px; color: #513927; background: #ead8c8; }
.steps span { font-weight: 850; }
.cta {
  margin-bottom: 76px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 42px;
  color: #fff;
  background: radial-gradient(circle at 82% 8%, rgba(185,138,98,.42), transparent 34%), #211713;
  box-shadow: 0 30px 96px rgba(33,23,19,.18);
}
.cta p { max-width: 720px; color: rgba(255,255,255,.75); }
.product-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; }
.product-modal.is-open { display: flex; }
.product-modal__backdrop { position: absolute; inset: 0; background: rgba(33,23,19,.72); backdrop-filter: blur(10px); }
.product-modal__dialog { position: relative; display: grid; grid-template-columns: .9fr 1fr; width: min(860px, 100%); overflow: hidden; border-radius: 34px; background: #fffaf4; box-shadow: 0 40px 120px rgba(0,0,0,.32); }
.product-modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(255,250,244,.8); font-size: 26px; cursor: pointer; }
.product-modal__media { min-height: 420px; background: linear-gradient(145deg, #ead8c8, #fffaf4); }
.product-modal__content { padding: clamp(28px, 5vw, 50px); }
.product-modal__content h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -.06em; }
.product-modal__content strong { display: block; margin-bottom: 14px; font-size: 30px; }
.product-modal__content p { color: var(--muted); line-height: 1.6; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-actions a, .modal-actions button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; color: #fff; background: var(--dark); text-decoration: none; font: inherit; font-weight: 900; cursor: pointer; }
.modal-actions a { color: var(--text); background: #ead8c8; }
.modal-note { display: block; margin-top: 16px; color: var(--muted); line-height: 1.5; }
.demo-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; width: min(520px, calc(100% - 32px)); padding: 14px 18px; border-radius: 18px; color: #fff; background: rgba(33,23,19,.92); box-shadow: 0 22px 70px rgba(33,23,19,.24); transform: translate(-50%, 140%); transition: transform .25s ease; }
.demo-toast.is-visible { transform: translate(-50%, 0); }
.demo-float-home,
.demo-back-to-top {
  position: fixed;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(75,55,43,.12);
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 22px 54px rgba(72,45,30,.18);
  backdrop-filter: blur(18px);
}
.demo-float-home { left: 20px; bottom: 20px; padding: 0 18px; border-radius: 999px; color: var(--text); background: rgba(255,250,244,.88); }
.demo-back-to-top { right: 20px; bottom: 20px; width: 52px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #7c5337, #c79b74); }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { min-height: 470px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .order { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .demo-header nav, .header-btn { display: none; }
  .brand img { height: 48px; }
  .hero, .section { width: min(100% - 28px, 1180px); }
  h1 { font-size: 48px; }
  .lead { font-size: 17px; }
  .hero__visual { min-height: 390px; }
  .linen-card { left: 34px; right: 0; top: 42px; width: auto; min-height: 330px; padding: 24px; border-radius: 36px; }
  .linen-card strong { margin-top: 88px; font-size: 34px; }
  .linen-stack--one { width: 130px; height: 170px; top: 78px; }
  .linen-stack--two { width: 160px; height: 140px; bottom: 12px; }
  .floating-note { min-width: 142px; padding: 13px 14px; }
  .floating-note--one { left: 0; bottom: 72px; }
  .floating-note--two { right: 0; top: 8px; }
  .demo-note { display: grid; }
  .category-strip { border-radius: 24px; }
  .products, .info-grid { grid-template-columns: 1fr; }
  .product__body p { min-height: auto; }
  .product-modal__dialog { grid-template-columns: 1fr; max-height: 92vh; overflow: auto; }
  .product-modal__media { min-height: 230px; }
  .demo-float-home { left: 14px; right: 78px; bottom: 14px; padding: 0 12px; }
  .demo-back-to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
