/* Shared compact storefront. Breakpoints: 720 mobile, 1100 wide workspace. */
:root {
  --max:1440px
}

body {
  line-height:1.5
}

h1,h2,h3 {
  font-family:"Segoe UI",Arial,sans-serif;
  letter-spacing:-.035em;
  font-weight:650
}

h1 {
  font-size:clamp(1.8rem,3vw,2.7rem)
}
h2 {
  font-size:clamp(1.25rem,2vw,1.7rem)
}
h3 {
  font-size:1rem
}

.container {
  width:min(calc(100% - 48px),var(--max))
}

.announcement {
  padding:5px 20px;
  font-size:12px
}

.site-header {
  position:sticky;
  top:0;
  z-index:40;
  background:var(--bg);
  border-bottom:1px solid var(--line)
}

.header-inner {
  min-height:68px;
  gap:20px;
  padding-block:10px
}

.brand {
  font-size:25px
}

.brand-mark {
  transform:scale(.8)
}

.site-nav {
  gap:6px
}

.site-nav>a {
  padding:10px 12px;
  font-size:14px;
  border-radius:7px;
  white-space:nowrap
}

.site-nav>a.active {
  background:var(--surface-strong)
}

.header-actions {
  gap:14px
}

.header-contact {
  font-size:13px
}

.request-link {
  font-size:13px
}

.button {
  min-height:44px;
  padding:10px 17px;
  font-size:14px;
  border-radius:8px
}

section,.collection-section,.buying-section,.shop-section {
  padding-block:28px
}

.page-hero {
  padding:24px 0 16px
}

.page-hero h1 {
  margin-bottom:10px
}

.lead {
  font-size:16px;
  max-width:75ch;
  margin-bottom:0
}

.breadcrumbs {
  margin-bottom:14px;
  font-size:13px
}

.eyebrow,.kicker {
  font-size:11px;
  margin-bottom:8px
}

.home-intro {
  padding:28px 0 12px
}

.home-intro h1 {
  margin-bottom:10px
}

.entry-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:24px
}

.entry-card {
  display:block;
  padding:20px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  transition:background .15s
}

.entry-card:hover {
  background:var(--surface-strong)
}

.entry-card h2 {
  font-size:19px;
  margin:10px 0
}

.entry-card p {
  font-size:14px;
  margin-bottom:14px
}

.entry-card strong {
  font-size:13px
}

.entry-icon {
  display:inline-grid;
  place-items:center;
  background:var(--surface-strong);
  width:34px;
  height:34px;
  border-radius:8px;
  font-size:24px
}

.section-head {
  margin-bottom:18px
}

.section-head h2 {
  margin-bottom:8px
}

.section-head p {
  margin-bottom:0
}

.grid.grid-3,.products-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px
}
#featured-products {
  grid-template-columns:repeat(3,minmax(0,1fr))
}

.product-card {
  min-width:0;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:10px;
  overflow:hidden;
  display:flex;
  flex-direction:column
}

.product-thumb {
  width:100%;
  flex-shrink:0;
  aspect-ratio:4/3;
  height:auto;
  max-height:240px
}

.product-thumb img {
  object-fit:cover;
  width:100%;
  height:100%
}

.product-body {
  padding:14px;
  display:flex;
  flex-direction:column;
  flex:1;
  gap:8px
}

.product-card h3 {
  font-size:16px;
  line-height:1.3;
  margin:0
}

.product-category {
  font-size:10px
}

.product-card p {
  margin:0;
  font-size:13px
}

.product-card .description {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.product-dimensions {
  font-weight:600
}

.product-bottom {
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  padding-top:6px;
  gap:6px
}

.product-bottom .text-link {
  font-size:12px
}

.compare-toggle {
  background:none;
  border:1px solid var(--line);
  border-radius:6px;
  min-height:36px;
  font-size:12px;
  color:var(--brand)
}

.compare-toggle[aria-pressed=true] {
  background:var(--brand);
  color:white
}

.shop-tools {
  gap:16px;
  margin-bottom:14px
}

.filter-bar {
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:12px
}

.filter-button {
  padding:8px 14px;
  min-height:40px
}

.catalog-context {
  margin:12px 0;
  font-size:13px
}

.inline-custom {
  margin-top:24px;
  padding:20px
}

.inline-custom h2 {
  font-size:20px
}

.catalog-note {
  margin-top:16px;
  font-size:12px
}

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

.room-choice {
  display:grid;
  grid-template-columns:28px 1fr;
  column-gap:8px;
  align-items:center;
  border:1px solid var(--line);
  background:white;
  border-radius:9px;
  padding:16px;
  font-size:14px
}

.room-choice>span {
  font-size:25px;
  grid-row:span 2
}

.room-choice small {
  color:var(--muted);
  font-size:12px
}

.room-choice.active {
  border-color:var(--brand);
  background:var(--surface-strong);
  box-shadow:inset 0 0 0 1px var(--brand)
}

.room-results {
  margin-top:24px
}

.room-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:16px
}

.room-heading h2 {
  margin:0
}

.room-hint {
  padding:20px;
  border:1px dashed var(--line);
  border-radius:8px
}

.room-heading .button-row {
  margin:0
}

.product-detail-grid {
  gap:32px;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  align-items:start
}

.product-gallery .product-detail-image img {
  max-height:430px;
  aspect-ratio:4/3;
  object-fit:contain
}

.product-detail-copy h1 {
  font-size:clamp(24px,3vw,34px)
}

.product-detail-copy p {
  font-size:14px
}

.product-specs {
  margin:16px 0
}

.product-specs>div {
  padding-block:8px
}

.product-use {
  padding-top:22px;
  margin-top:22px;
  gap:28px
}

.product-use h2 {
  font-size:23px
}

.product-use p {
  font-size:14px
}

.buying-steps {
  gap:24px;
  margin:16px 0
}

.buying-steps h3 {
  font-size:17px
}

.buying-steps li>span {
  margin-bottom:6px
}

.site-footer {
  padding:28px 0 90px
}

.footer-grid {
  gap:24px
}

.footer-grid p,.footer-links {
  font-size:13px
}

.footer-bottom {
  margin-top:20px;
  padding-top:16px
}

.compare-bar {
  position:fixed;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  z-index:80;
  display:flex;
  align-items:center;
  gap:16px;
  max-width:calc(100% - 24px);
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:white;
  box-shadow:0 4px 24px #0002;
  font-size:13px
}

.compare-bar[hidden] {
  display:none
}

.compare-bar .text-link {
  border:0;
  background:none;
  font-size:12px
}

.compare-dialog {
  width:min(1000px,94vw);
  max-height:85dvh;
  overflow:auto;
  padding:24px;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--text)
}

.compare-dialog::backdrop {
  background:#18352bc0
}

.comparison-scroll {
  overflow:auto
}

.comparison-scroll table {
  border-collapse:collapse;
  width:100%;
  min-width:550px;
  font-size:14px
}

.comparison-scroll th,.comparison-scroll td {
  text-align:left;
  vertical-align:top;
  padding:14px;
  border-bottom:1px solid var(--line)
}

.comparison-scroll th {
  background:var(--surface-strong)
}

.planner-page {
  max-width:1600px;
  padding:18px 24px 32px
}

.planner-heading {
  margin-bottom:14px
}

.planner-heading h1 {
  font-size:26px
}

.planner-heading p {
  font-size:13px
}

.planner-topbar {
  padding:10px 16px
}

.planner-viewport {
  height:clamp(280px,40vh,460px)
}

.planner-stage {
  padding:14px
}

.planner-tabs button {
  min-height:44px
}

.planner-product {
  min-height:72px;
  grid-template-columns:48px 1fr 18px;
  padding:8px;
  gap:8px
}

.planner-product svg {
  max-width:48px;
  max-height:52px
}

.planner-sidebar [data-panel] {
  padding:16px
}

.planner-workspace {
  align-items:start
}

.planner-context {
  font-size:13px;
  margin-bottom:12px;
  display:flex;
  gap:16px;
  flex-wrap:wrap
}

@media(min-width:1101px) {
  .planner-workspace {
  grid-template-columns:240px minmax(0,1fr) 310px;
  grid-template-areas:"library stage settings"
}

.planner-stage {
  grid-area:stage;
  position:sticky;
  top:78px
}

.planner-sidebar {
  display:contents
}

.planner-tabs {
  display:none
}
#panel-add {
  grid-area:library;
  padding:14px;
  max-height:calc(100dvh - 180px);
  overflow:auto
}

.planner-inspector {
  grid-area:settings;
  min-width:0;
  max-height:calc(100dvh - 180px);
  overflow:auto;
  border-left:1px solid var(--line)
}

.planner-inspector [data-panel] {
  max-height:none;
  overflow:visible
}

.planner-inspector #panel-list {
  border-top:1px solid var(--line)
}

.planner-library {
  gap:7px
}

.planner-filters {
  margin:10px 0
}

}

@media(max-width:1100px) {
  .header-contact {
  display:none
}

.header-inner {
  gap:10px
}

.site-nav>a {
  padding:8px;
  font-size:13px
}

.grid.grid-3,.products-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}

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

.planner-inspector {
  display:contents
}

}

/* Match the planner's existing narrow-screen breakpoint. */
@media(max-width:760px) {
  .planner-workspace {
    display:block
  }
  .planner-viewport {
    height:clamp(210px,29dvh,300px)
  }
}

@media(max-width:720px) {
  .container {
  width:calc(100% - 28px)
}

.header-inner {
  min-height:60px
}

.brand {
  font-size:22px
}

.header-actions {
  gap:10px
}

.site-nav>a {
  font-size:15px;
  min-height:44px
}

.site-nav {
  top:100%
}

.entry-grid {
  grid-template-columns:1fr;
  gap:8px;
  margin-top:16px
}

.entry-card {
  display:grid;
  grid-template-columns:34px 1fr;
  column-gap:12px;
  padding:14px
}

.entry-icon {
  grid-row:span 3
}

.entry-card h2 {
  font-size:17px;
  margin:0 0 4px
}

.entry-card p {
  font-size:13px;
  margin:0 0 6px
}

.entry-card strong {
  grid-column:2
}

.grid.grid-3,#featured-products,#shop-products,#related-products,.products-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}

.product-body {
  padding:10px;
  gap:6px
}

.product-card h3 {
  font-size:14px
}

.product-card .description {
  font-size:12px
}

.product-thumb {
  aspect-ratio:1
}

.product-dimensions {
  font-size:11px!important
}

.product-category {
  font-size:9px
}

.product-bottom {
  align-items:flex-start;
  flex-direction:column
}

.product-bottom>.price {
  font-size:12px
}

.room-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px
}

.room-choice {
  padding:12px;
  font-size:13px
}

.room-heading {
  align-items:flex-start;
  flex-direction:column
}

.product-detail-grid,.product-use {
  grid-template-columns:1fr;
  gap:20px
}

.product-gallery .product-detail-image img {
  max-height:300px
}

.shop-tools {
  flex-direction:column;
  align-items:stretch;
  gap:8px
}

.sort-field {
  justify-content:space-between
}

.buying-steps {
  grid-template-columns:1fr;
  gap:14px
}

.compare-bar {
  width:calc(100% - 24px);
  gap:8px;
  flex-wrap:wrap;
  padding:8px 12px;
  bottom:8px
}

.compare-bar .button {
  font-size:12px;
  padding:8px
}

.compare-dialog {
  padding:14px
}

.planner-page {
  padding:12px
}

.planner-heading h1 {
  font-size:23px
}

.planner-workspace {
  display:block
}

.planner-viewport {
  height:clamp(210px,29dvh,300px)
}

.planner-stage {
  padding:10px
}

.planner-tabs {
  position:sticky;
  top:60px;
  z-index:3;
  background:var(--bg)
}

.planner-sidebar [data-panel] {
  max-height:none
}

.planner-library {
  grid-template-columns:repeat(2,minmax(0,1fr))
}

.planner-product {
  grid-template-columns:1fr;
  min-height:110px
}

.planner-product svg {
  display:none
}

.planner-topbar {
  flex-wrap:wrap
}

.planner-top-actions {
  margin-left:auto
}

.planner-concept {
  display:none
}

.planner-heading {
  margin-bottom:12px
}

.planner-context {
  font-size:12px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}

.entry-card {
  transition:none
}

}

