
:root {
  --bg: #f3efe6;
  --paper: #fffdf8;
  --ink: #27221d;
  --muted: #675f55;
  --line: #d8cbb6;
  --accent: #8a3b1d;
  --gold: #d0a14a;
  font-family: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.topbar {
  display: grid; grid-template-columns: 230px 1fr 210px; gap: 24px; align-items: center;
  padding: 20px clamp(18px, 5vw, 72px);
  background: #3b2418; color: #fff; border-bottom: 5px solid var(--gold);
}
.logo { display: inline-flex; min-height: 66px; align-items: center; }
.logo span {
  display: inline-block;
  max-width: 210px;
  font-size: 28px;
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff7df;
}
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.phone { text-align: right; line-height: 1.4; font-size: 18px; font-weight: 900; color: #ffe4ac; }
.hero {
  display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 34px;
  padding: clamp(26px, 5vw, 70px);
}
.catalog-menu {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 22px; align-self: start;
}
.catalog-menu h2 { margin: 0 0 14px; font-size: 32px; }
.catalog-menu a { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.catalog-menu span { color: var(--muted); font-size: 14px; line-height: 1.35; }
.hero-copy {
  min-height: 520px; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 5vw, 60px);
  background: linear-gradient(135deg, #fffaf0, #ead8b8);
  border: 1px solid var(--line); border-radius: 8px;
}
.kicker { color: var(--accent); text-transform: uppercase; font-weight: 900; font-size: 12px; letter-spacing: 0; }
h1 { margin: 14px 0 22px; font-size: clamp(42px, 5.5vw, 78px); line-height: .95; letter-spacing: 0; }
p { color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-note { display: grid; gap: 8px; margin-top: 28px; padding: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(138,59,29,.2); border-radius: 8px; }
.hero-note strong { font-size: 22px; }
.supply-note {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(138,59,29,.22);
  border-radius: 8px;
  background: rgba(255,253,248,.44);
}
.supply-note span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.supply-note strong {
  font-size: 24px;
  line-height: 1.16;
}
.supply-note p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}
.supply-note a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .16s ease, color .16s ease;
}
.supply-note a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}
.directions, .products, .works { padding: 0 clamp(26px, 5vw, 70px) 56px; }
.directions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.directions article, .products article, .works article {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px;
}
.directions h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; }
.section-head { margin: 34px 0 20px; }
.section-head h2 { margin: 8px 0 0; font-size: 44px; line-height: 1; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-grid img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  background: #efe6d7; border-radius: 5px; margin-bottom: 14px;
}
.product-grid h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.16; }
.product-grid p { margin: 0; font-size: 15px; line-height: 1.45; }
.work-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.work-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #efe6d7; border-radius: 5px; margin-bottom: 12px; }
.work-grid strong { font-size: 17px; line-height: 1.2; }
footer {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center;
  padding: 30px clamp(18px, 5vw, 72px); background: #2a211b; color: #fff;
}
footer span { color: #d6c6ac; }
@media (max-width: 980px) {
  .topbar, .hero, footer { grid-template-columns: 1fr; }
  nav { justify-content: flex-start; }
  .phone { text-align: left; }
  .directions, .product-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar, .hero, .directions, .products, .works, footer { padding-left: 18px; padding-right: 18px; }
  .directions, .product-grid, .work-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 0; padding: 24px; }
  h1 { font-size: 38px; }
  .section-head h2 { font-size: 34px; }
}


.rich-topbar nav .is-active { color: #ffe4ac; }
.shade-home-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 clamp(26px, 5vw, 70px) 56px;
  padding: 30px;
  background: linear-gradient(135deg, #2a211b, #6d3a21 58%, #c1924b);
  color: #fff;
  border-radius: 8px;
}
.shade-home-link h2 { margin: 8px 0 0; font-size: 42px; line-height: 1; }
.shade-home-link p { max-width: 760px; margin: 12px 0 0; color: #f4dfbb; }
.shade-home-link a,
.shade-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: #fff7df;
  color: #2a211b;
  font-weight: 900;
}
.shade-page {
  padding: clamp(26px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,0) 460px),
    var(--bg);
}
.shade-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}
.shade-hero > div:first-child {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff7df;
  background:
    linear-gradient(120deg, rgba(42,33,27,.97), rgba(68,38,24,.88)),
    url("/assets/placeholder-lampshade.webp") center right / contain no-repeat;
}
.shade-hero h1 { max-width: 860px; color: #fff7df; }
.shade-hero p { max-width: 720px; color: #ead8b8; }
.shade-hero-panel {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 28px;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
}
.shade-hero-panel strong { font-size: 70px; line-height: .9; }
.shade-hero-panel span { color: var(--muted); font-size: 18px; line-height: 1.35; }
.shade-hero-compact { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.shade-hero-compact > div:first-child { min-height: 260px; }
.shade-nesting {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.shade-nesting a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 900;
}
.shade-nesting span {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3b2418;
}
.shade-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: stretch;
  margin: 26px 0;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,253,248,.86);
}
.filter-block { display: grid; gap: 10px; align-content: start; }
.filter-block strong { font-size: 16px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-buttons button,
.reset-filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #cbb98d;
  border-radius: 999px;
  background: #fffaf0;
  color: #3b2418;
  font-weight: 800;
  cursor: pointer;
}
.filter-buttons button.is-selected,
.reset-filter:hover,
.filter-buttons button:hover {
  background: #3b2418;
  color: #fff7df;
  border-color: #3b2418;
}
.shade-count {
  margin: 22px 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.shade-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.shade-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(42, 33, 27, .08);
}
.shade-card[hidden] { display: none; }
.shade-photo-link {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #fffdf8 0, #efe3ce 100%);
}
.shade-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.shade-card-body { display: grid; gap: 12px; padding: 16px; }
.shade-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.shade-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0e4cf;
  color: #4b2b1d;
  font-size: 13px;
  font-weight: 900;
}
.shade-card small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.shade-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(23, 18, 14, .82);
}
.shade-lightbox img {
  max-width: min(92vw, 980px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: #f4ead8;
}
.shade-lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff7df;
  color: #2a211b;
  font-size: 28px;
  cursor: pointer;
}
@media (max-width: 1180px) {
  .shade-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shade-nesting { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shade-toolbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shade-home-link,
  .shade-hero,
  .shade-hero-compact,
  .shade-toolbar {
    grid-template-columns: 1fr;
  }
  .shade-grid,
  .shade-nesting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shade-hero > div:first-child {
    min-height: 0;
    background:
      linear-gradient(120deg, rgba(42,33,27,.97), rgba(68,38,24,.9)),
      url("/assets/placeholder-lampshade.webp") bottom right / 210px auto no-repeat;
  }
}
@media (max-width: 520px) {
  .shade-page { padding: 18px; }
  .shade-grid,
  .shade-nesting {
    grid-template-columns: 1fr;
  }
  .shade-hero > div:first-child { padding: 24px; }
  .shade-hero-panel strong { font-size: 54px; }
}
