html[data-storefront] {
  --gutter: clamp(24px, 5vw, 88px);
  --home-gutter: max(var(--gutter), calc((100% - 1600px) / 2));
  --home-header-height: 72px;
  --workshop-dark: #0c1712;
  --workshop-white: #fffdf6;
  --workshop-yellow: #ffda3e;
  --home-focus: #ffe98d;
}
html[data-storefront] #top.wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
html[data-storefront] .hero:has(.task-start) {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  width: 100%; min-height: calc(100vh - var(--home-header-height));
  min-height: calc(100svh - var(--home-header-height)); height: auto;
  margin: 0; padding: 0; border: 0; border-radius: 0; overflow: clip;
  color: var(--workshop-white); background: var(--workshop-dark);
}
html[data-storefront] .hero:has(.task-start) .showroom {
  position: absolute; z-index: -1; inset: 0; display: block; width: 100%; height: 100%;
  max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
  overflow: hidden; background: var(--workshop-dark); pointer-events: none;
}
html[data-storefront] .hero .showroom picture,
html[data-storefront] .hero .showroom img { display: block; width: 100%; height: 100%; margin: 0; }
html[data-storefront] .hero .showroom img { object-fit: cover; object-position: right 50%; opacity: 1; filter: none; }
html[data-storefront] .hero .showroom::before { content: none; }
html[data-storefront] .hero .showroom::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(8 22 15 / 11%), transparent 58%);
}
html[data-storefront] .hero-layout {
  flex: 1; align-self: stretch; position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto;
  align-items: center; gap: clamp(28px, 5vh, 60px) 28px;
  margin-inline: var(--home-gutter); padding-block: clamp(40px, 6.5vh, 82px) clamp(22px, 4vh, 46px);
}
html[data-storefront] .hero:has(.task-start) .hero-copy {
  grid-column: 1 / -1; grid-row: 1; align-self: center; position: relative;
  min-width: 0; width: min(52%, 54rem); height: auto; margin: 0; padding: 0; zoom: 1; display: block;
}
html[data-storefront] .hero .rental-intro { max-width: none; text-shadow: 0 1px 5px #0007; }
html[data-storefront] .hero #rental-intro-title {
  max-width: none; margin: 0; color: var(--workshop-white);
  font: 700 clamp(2.7rem, 4.15vw, 4.65rem)/1.045 Rubik, Arial, sans-serif;
  letter-spacing: -.047em; text-wrap: initial;
}
html[data-storefront] .hero #rental-intro-title span { display: block; color: var(--workshop-yellow); }
html[data-storefront] .hero .rental-intro p {
  max-width: 36rem; margin: 24px 0 0;
  color: #fffdf6; font: 400 1.125rem/1.5 Arial, sans-serif; letter-spacing: -.005em;
}
html[data-storefront] .hero .rental-intro .rental-delivery { margin-top: 7px; color: #f3f5ef; }
html[data-storefront] .hero .hero-search {
  width: min(100%, 42vw, 42.5rem); max-width: none; margin: 36px 0 0; zoom: 1;
}
html[data-storefront] .hero:has(.task-start) #hero-title {
  margin: 0; color: var(--workshop-white); font: 700 1.25rem/1.25 Rubik, Arial, sans-serif; letter-spacing: -.025em;
}
html[data-storefront] .hero .task-start {
  display: grid; grid-template-columns: minmax(0, 1fr) 9rem; align-items: stretch;
  width: 100%; gap: 8px; margin: 12px 0 0; padding: 0;
  background: none; box-shadow: none; border: 0; border-radius: 0;
}
html[data-storefront] .hero .task-start:focus-within { outline: none; box-shadow: none; }
html[data-storefront] .hero .task-box {
  display: flex; align-items: stretch; min-width: 0; width: auto;
  height: 56px; min-height: 56px; margin: 0; padding: 0 16px;
  border: 1px solid #9faea1; border-radius: 10px; background: white; box-shadow: none;
}
html[data-storefront] .hero .task-box:focus-within { outline: 2px solid var(--home-focus); outline-offset: 2px; }
html[data-storefront] .hero .task-search-icon { align-self: center; flex: none; width: 19px; height: 19px; margin-right: 10px; color: #506654; }
html[data-storefront] .hero .task-field {
  position: relative; display: flex; flex: 1; min-width: 0; width: 100%; font-size: 1.0625rem;
}
html[data-storefront] .hero #task-entry {
  display: block; width: 100%; min-width: 0; min-height: 0; height: 100%;
  margin: 0; padding: 0; border: 0; outline: 0; border-radius: 0;
  background: transparent; color: #213b2d; font: 400 1.0625rem/1.4 Arial, sans-serif;
}
html[data-storefront] .hero #task-entry::placeholder { opacity: 0; color: #656d65; }
html[data-storefront] .hero #task-entry:focus::placeholder { opacity: 1; }
html[data-storefront] .hero .task-placeholder {
  position: absolute; inset: 0; transform: none; display: flex; align-items: center;
  gap: .3em; overflow: hidden; white-space: nowrap; pointer-events: none;
  color: #656d65; font: 400 1.0625rem/1.4 Arial, sans-serif;
}
html[data-storefront] .hero .task-field:focus-within .task-placeholder,
html[data-storefront] .hero #task-entry:not(:placeholder-shown) + .task-placeholder { display: none; }
html[data-storefront] .hero .task-start button {
  width: auto; min-width: 0; height: 56px; min-height: 56px; margin: 0; padding: 0 16px;
  background: #ffda36 !important; color: #172218 !important; border: 0; border-radius: 10px !important;
  font: 700 1.0625rem/1.25 Rubik, Arial, sans-serif !important;
}
html[data-storefront] .hero .task-start button:hover { background: #ffe66c !important; }
html[data-storefront] .hero .hero-quick {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; width: auto; margin: 36px 0 0;
}
html[data-storefront] .hero .hero-quick h2 {
  margin: 0; color: #f3f5ef; font: 400 1rem/1.4 Arial, sans-serif; letter-spacing: 0;
}
html[data-storefront] .hero .hero-quick-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; max-width: 100%; min-height: 52px; margin: 0; padding: 12px 18px;
  background: #edf1e8; color: #172a22; border: 1px solid #dfe5dc; border-radius: 10px !important;
  font: 400 1rem/1.3 Arial, sans-serif !important; text-decoration: none; box-shadow: none;
}
html[data-storefront] .hero .hero-quick-button:hover { background: #e2eadd; }
html[data-storefront] .hero :is(button, a):focus-visible {
  outline: 3px solid var(--home-focus) !important; outline-offset: 3px;
}

html[data-storefront] .hero-catalog-jump {
  grid-row: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin: 0; color: #fffdf6; font: 400 .9375rem/1.35 Arial, sans-serif;
  text-decoration: none; text-shadow: 0 1px 5px #000b;
}
html[data-storefront] .hero-catalog-jump svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transform: rotate(90deg); }
html[data-storefront] .hero-catalog-jump:hover { text-decoration: underline; text-underline-offset: .25em; }
/* Keep the controls on the shelf side of the photograph on shorter wide screens. */
@media (min-aspect-ratio: 6/5) and (max-aspect-ratio: 8/5) {
  html[data-storefront] .hero .showroom img { object-position: 73% center; }
  html[data-storefront] .hero .hero-search { width: min(100%, 35vw, 40rem); }
}
@media (max-width: 639px) {
  html[data-storefront] { --gutter: 20px; --home-header-height: 64px; }
  html[data-storefront] .hero-layout { gap: 16px; padding-block: clamp(70px, 13svh, 115px) 16px; }
  html[data-storefront] .hero #rental-intro-title { font-size: clamp(1.875rem, 8.3vw, 2.85rem); line-height: 1.07; }
  html[data-storefront] .hero .rental-intro p { margin-top: 16px; font-size: 1.0625rem; line-height: 1.44; }
  html[data-storefront] .hero .rental-intro .rental-delivery { margin-top: 7px; }
  html[data-storefront] .hero .hero-search, html[data-storefront] .hero .hero-quick { margin-top: 28px; }
  html[data-storefront] .hero .hero-quick { gap: 8px 12px; }
  html[data-storefront] .hero .task-start { grid-template-columns: minmax(0, 1fr) clamp(104px, 28vw, 120px); gap: 8px; }
  html[data-storefront] .hero .task-example-prefix { display: none; }
  html[data-storefront] .hero .task-search-icon { display: none; }
  html[data-storefront] .hero .task-box { padding-inline: 10px; }
  html[data-storefront] .hero .task-start button { padding-inline: 8px; font-size: .9375rem !important; }
  html[data-storefront] .hero #task-entry, html[data-storefront] .hero .task-placeholder { font-size: 1rem; }

}
@media (max-width: 359px) {
  html[data-storefront] { --gutter: 16px; }
  html[data-storefront] .hero #rental-intro-title { font-size: 1.75rem; }
  html[data-storefront] .hero .rental-intro p { font-size: 1rem; }
}
@media (max-height: 520px) and (orientation: landscape) {
  html[data-storefront] .hero-layout { padding-block: 22px 12px; gap: 6px; }
  html[data-storefront] .hero #rental-intro-title { font-size: clamp(1.875rem, 4vw, 3rem); }
  html[data-storefront] .hero .rental-intro p { margin-top: 12px; font-size: 1rem; }
  html[data-storefront] .hero .hero-quick, html[data-storefront] .hero .hero-search { margin-top: 16px; }
  html[data-storefront] .hero .task-box, html[data-storefront] .hero .task-start button { min-height: 48px; height: 48px; }
  html[data-storefront] .hero .hero-quick-button { min-height: 48px; }
}

/* In portrait the tools have their own strip above the copy. The left shelving
   from the same photograph carries its green tones behind the controls. */
@media (max-width: 700px), (max-aspect-ratio: 6/5) {
  html[data-storefront] .hero:has(.task-start) {
    --bench-height: clamp(138px, min(43vw, 25svh), 286px);
    --shelves-photo: url('/assets/workshop-home.webp?v=detail4');
  }
  html[data-storefront] .hero:has(.task-start) .showroom {
    background-image: linear-gradient(90deg, #09180f50, #09180f26), var(--shelves-photo);
    background-size: cover, auto max(100%, 120vw);
    background-position: left center;
    background-repeat: no-repeat;
  }
  html[data-storefront] .hero .showroom picture {
    position: relative; overflow: hidden; height: var(--bench-height);
    mask-image: linear-gradient(to bottom, #000 81%, transparent);
  }
  html[data-storefront] .hero .showroom img {
    width: 168%; max-width: none; margin-left: -68%; object-fit: cover; object-position: right 48%;
  }
  html[data-storefront] .hero .showroom::after { content: none; }
  html[data-storefront] .hero-layout {
    grid-template-rows: 1fr auto; gap: 12px;
    padding-block: calc(var(--bench-height) + 8px) 12px;
  }
  html[data-storefront] .hero:has(.task-start) .hero-copy { width: min(100%, 39rem); }
  html[data-storefront] .hero .hero-search { width: 100%; }
}
@media (max-width: 420px) and (max-height: 700px) {
  html[data-storefront] .hero:has(.task-start) { --bench-height: clamp(94px, 16svh, 112px); }
  html[data-storefront] .hero .rental-intro p { margin-top: 12px; }
  html[data-storefront] .hero .rental-intro .rental-delivery { margin-top: 4px; }
  html[data-storefront] .hero .hero-search, html[data-storefront] .hero .hero-quick { margin-top: 18px; }
  html[data-storefront] .hero .hero-quick { row-gap: 5px; }
}
@media (max-width: 900px) {
  html[data-storefront] .hero:has(.task-start) { --shelves-photo: url('/assets/workshop-home-1280.webp?v=detail4'); }
}

html[data-storefront] #catalog-breadcrumbs { margin-bottom: 8px; }
html[data-storefront] #catalog-breadcrumbs[hidden] { display: none; }
html[data-storefront] #catalog-breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px;
  margin: 0; padding: 0; list-style: none; font: 400 .9375rem/1.35 Arial, sans-serif;
}
html[data-storefront] #catalog-breadcrumbs li {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; color: #435247;
}
html[data-storefront] #catalog-breadcrumbs li + li::before {
  content: ""; flex: none; width: 6px; height: 6px;
  border-top: 1.5px solid #728175; border-right: 1.5px solid #728175; transform: rotate(45deg);
}
html[data-storefront] #catalog-breadcrumbs a, html[data-storefront] #catalog-breadcrumbs span {
  display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere;
}
html[data-storefront] #catalog-breadcrumbs a { color: #26513b; text-decoration: underline; text-underline-offset: .22em; }

html[data-storefront] #catalog { padding: 56px max(clamp(16px, 3vw, 48px), calc((100% - 1600px) / 2)); background: var(--ui-canvas, #f3f5f0); }
html[data-storefront] #catalog:has(.department-card) { padding-block: 56px 64px; background: linear-gradient(180deg, #e8eee3, #f3f5f0 220px); border-top: 1px solid #dfe5dc; }
html[data-storefront] #catalog:has(.department-card) .catalog-top {
  flex-direction: row; align-items: center; gap: 32px; padding-bottom: 28px;
}
html[data-storefront] #catalog:has(.department-card) h2 { font-size: 2.25rem; line-height: 1.1; letter-spacing: -.035em; }
html[data-storefront] #catalog:has(.department-card) .result-count { margin-top: 10px; font-size: .875rem; }
html[data-storefront] #catalog:has(.department-card) .search { flex: 0 0 320px; min-width: 0; width: 320px; height: 48px; border-radius: 8px; }
html[data-storefront] #catalog .category-grid:has(> .department-card) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
html[data-storefront] #catalog .department-card {
  display: grid; grid-template-columns: clamp(110px, calc(100% - 11.5rem), 172px) minmax(0, 1fr); align-items: stretch;
  min-height: 164px; padding: 8px; border: 1px solid #d7dfd5; border-radius: 14px; box-shadow: none;
}
html[data-storefront] #catalog .department-art { width: auto; height: 100%; min-height: 146px; aspect-ratio: auto; padding: 4px; border-radius: 8px; }
html[data-storefront] #catalog .department-art img { padding: 4px; }
html[data-storefront] #catalog .department-count {
  position: static; padding: 0; background: none; color: #536758; font-size: .8125rem; line-height: 1.35;
}
html[data-storefront] #catalog .department-caption { align-self: center; min-width: 0; gap: 5px; padding: 6px 4px 6px 12px; }
html[data-storefront] #catalog .department-caption h3 { font: 700 1rem/1.25 Rubik, Arial, sans-serif; letter-spacing: -.02em; hyphens: none; }
html[data-storefront] #catalog .department-caption p { margin: 0; font-size: .875rem; line-height: 1.45; }
html[data-storefront] #catalog .department-card:hover { border-color: #8b9b86; box-shadow: 0 4px 16px #142c1808; }
html[data-storefront] #catalog .department-card:hover img { transform: none; }
html[data-storefront] .view-home { display: none; }
html[data-storefront] .rt-header { --head-height: var(--home-header-height); background: #161d19; }
html[data-storefront] .rt-header .rt-row { margin-inline: 0; padding-inline: clamp(12px, 2vw, 32px); }
html[data-storefront] .rt-header .rt-search { display: none; }
html[data-storefront] .rt-header .rt-control { background: #2a352e; color: #fff; }
html[data-storefront] .rt-header .rt-cart { background: #e9ede5; color: #192a20; }
html[data-storefront] .rt-header .rt-control:hover { background: #405047; color: #fff; }
html[data-storefront] .rt-header .rt-brand { font-size: 28px; }
html[data-storefront] .rt-header .rt-brand img { width: 37px; height: 37px; }
html[data-storefront] .rt-header .rt-cart svg, html[data-storefront] .rt-header .rt-saved svg { width: 24px; height: 24px; }
html[data-storefront] #top + footer .footer-inner { width: auto; max-width: none; margin-inline: var(--home-gutter); }
.quick-order-dialog .preview-model-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px;
  color: #285137; font: 400 .875rem/1.4 Arial, sans-serif; text-underline-offset: 3px;
}
.quick-order-dialog .preview-model-link[hidden] { display: none; }
.quick-order-dialog .preview-model-link:focus-visible { outline: 3px solid #2770b2; outline-offset: 3px; }
@media (min-width: 1440px) {
  html[data-storefront] #catalog .department-caption h3 { font-size: 1rem; }
}
@media (max-width: 1439px) {
  html[data-storefront] #catalog .category-grid:has(> .department-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1279px) {
  html[data-storefront] .rt-header .rt-brand { font-size: 26px; }
  html[data-storefront] .rt-header .rt-brand img { width: 35px; height: 35px; }
}
@media (max-width: 1100px) {
  html[data-storefront] #catalog .category-grid:has(> .department-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 790px) {
  html[data-storefront] #catalog:has(.department-card) .catalog-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html[data-storefront] #catalog:has(.department-card) .search { width: 100%; }
}
@media (min-width: 640px) and (max-width: 740px) {
  html[data-storefront] #catalog .department-card { grid-template-columns: clamp(90px, 30%, 110px) minmax(0, 1fr); }
}
@media (max-width: 639px) {
  html[data-storefront] .rt-header .rt-row { gap: 8px; }
  html[data-storefront] .rt-header .rt-services { margin-left: auto; gap: 4px; }
  html[data-storefront] .rt-header .rt-brand { font-size: 23px; gap: 6px; }
  html[data-storefront] .rt-header .rt-brand img { width: 31px; height: 31px; }
  html[data-storefront] .rt-header :is(.rt-account, .rt-saved) { display: none; }
  html[data-storefront] .rt-header .rt-control { width: 44px; min-width: 44px; padding: 0; }
  html[data-storefront] #catalog { padding: 40px 20px; }
  html[data-storefront] #catalog:has(.department-card) { padding: 48px 16px; }
  html[data-storefront] #catalog:has(.department-card) h2 { font-size: 1.75rem; line-height: 1.15; }
  html[data-storefront] #catalog .category-grid:has(> .department-card) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html[data-storefront] #catalog .department-card { grid-template-columns: clamp(112px, 35%, 156px) minmax(0, 1fr); min-height: 138px; }
  html[data-storefront] #catalog .department-caption { padding: 8px 2px 8px 12px; }
  html[data-storefront] #catalog .department-caption h3 { font-size: 1rem; line-height: 1.25; }
  html[data-storefront] #catalog .department-art { min-height: 120px; }
}
@media (max-width: 359px) {
  html[data-storefront] .rt-header .rt-brand span { display: none; }
  html[data-storefront] #catalog .department-card { grid-template-columns: 80px minmax(0, 1fr); }
  html[data-storefront] #catalog .department-caption { padding: 6px 0 6px 8px; }
}

