/* Shared refinement layer for shop controls, card rhythm, and accessible focus. */
.bag-button{display:inline-flex;align-items:center;gap:7px}
.bag-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.main-nav a.current{color:var(--walnut);text-decoration:underline;text-underline-offset:7px}
.site-header a:focus-visible,.site-header button:focus-visible,.button:focus-visible,.filter:focus-visible,.collection-tab:focus-visible{outline:2px solid var(--walnut);outline-offset:4px}
.site-header{position:sticky;top:0;z-index:20;background:rgba(242,245,234,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background-color .2s ease}
main [id]{scroll-margin-top:100px}
.shop-intro-links{display:flex;gap:25px;margin-top:25px;font-size:11px}
.shop-intro-links a{border-bottom:1px solid var(--walnut);padding:0 0 6px}
.collection-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:22px}
.collection-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:12px 17px;color:#747366;font-size:12px}
.collection-tab.active{border-color:var(--walnut);color:var(--walnut);font-weight:600}
.shop-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:25px;margin-bottom:22px}
.shop-controls>div{min-width:0}.control-label,.sort-control>span{display:block;margin-bottom:8px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#77776c}
.catalog-search{display:block;max-width:360px;margin-bottom:17px}.catalog-search input{width:100%;min-height:42px;padding:0 10px;border:1px solid var(--line);background:transparent;font-size:12px}.catalog-search input:focus{outline:2px solid var(--walnut);outline-offset:2px}.category-label{margin-top:4px}
.shop-controls .filter-row{display:flex;flex-wrap:wrap;gap:9px 16px}
.shop-controls .filter{border-bottom:1px solid transparent;min-height:36px}
.shop-controls .filter.active{border-color:var(--walnut);color:var(--walnut)}
.sort-control{display:grid;gap:6px;font-size:10px}
.sort-control select{min-width:160px;min-height:40px;background:transparent;border:1px solid var(--line);padding:0 10px}
.result-count{font-size:11px;color:#77776c}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-image{background:#e5e2d6}
.product-badge{position:absolute;left:10px;bottom:10px;z-index:2;padding:7px 9px;background:rgba(242,245,234,.92);font-size:9px;color:var(--charcoal)}
.shop-note{margin-top:24px;font-size:11px;line-height:1.7;color:#77776c}
.no-results{grid-column:1/-1;padding:28px;background:#e9eadf}.no-results h3{font:400 24px var(--serif)}.no-results .button{color:var(--walnut);border-color:var(--sand)}
.form-feedback{font:400 22px var(--serif)}
.related[hidden]{display:none}
.product-card{transition:color .18s ease}
.product-card:hover h3{color:var(--walnut)}
.button{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.button:hover{transform:translateY(-1px)}
.button:active{transform:translateY(0)}
.quantity button:disabled{opacity:.45;cursor:not-allowed}
/* Give every link and control a clear pointer, keyboard, hover, and tap response. */
a,button,select{cursor:pointer}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--walnut);outline-offset:3px}
a{transition:color .18s ease}
a:not(.button):not(.product-card):not(.brand):hover{color:var(--walnut);text-decoration:none}
a:not(.button):not(.product-card):not(.brand):active,button:active{opacity:.72}
.product-card:active h3,.feature-card:active h2,.feature-card:active h3{color:var(--walnut)}
.detail-policy-link{display:inline-block;margin-top:5px;font-size:10px;text-decoration:underline;text-underline-offset:3px}
.checkout-privacy-note{max-width:58ch;margin:0;color:#6f6d61;font-size:10px;line-height:1.7}
.checkout-privacy-note a{color:var(--walnut);text-decoration:underline;text-underline-offset:3px}
.feature-card:hover h2,.feature-card:hover h3{color:var(--walnut)}
.store-card .button-outline{color:var(--walnut);border-color:var(--sand)}
.inspiration-shop-link{display:inline-block;margin:10px 18px 0 0;font-size:11px}
.store-detail a{color:var(--walnut);text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-controls{grid-template-columns:1fr;gap:14px}.shop-controls .filter-row{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.shop-controls .filter-row::-webkit-scrollbar{display:none}.sort-control{display:flex;align-items:center;gap:12px}.sort-control>span{margin:0}.sort-control select{flex:1}}
@media(max-width:560px){.bag-button svg{width:17px;height:17px}.shop-intro-links{gap:16px;flex-wrap:wrap;font-size:10px}.collection-tab{padding:12px 11px;font-size:11px}.shop-controls .filter-row{gap:8px 14px}.sort-control select{font-size:14px;min-height:46px}.product-badge{font-size:8px;left:7px;bottom:7px;padding:6px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-note{font-size:10px}}

/* Product cards share one steady frame while keeping each full photo visible. */
.product-grid{align-items:start}
.product-card .product-image{height:auto;aspect-ratio:4/3;overflow:hidden;background:var(--ivory)}
.product-card .product-image.image-placeholder{aspect-ratio:4/3}
.product-card .product-image.has-photo{height:auto;aspect-ratio:4/3}
.product-photo{display:block;width:100%;height:auto;object-fit:contain}
.product-card .product-photo{width:100%;height:100%;object-fit:contain}
.detail-photo.has-photo{height:auto;aspect-ratio:auto}
.detail-photo.has-photo .product-photo{width:100%;height:auto}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
.product-gallery {
  min-width: 0;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px 0;
}

.product-thumbnail {
  flex: 0 0 76px;
  width: 76px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  background: #e5e2d6;
}

.product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--walnut);
}

.product-thumbnail:focus-visible {
  outline: 2px solid var(--walnut);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .product-thumbnail {
    flex-basis: 64px;
    width: 64px;
  }
}
.product-image.has-photo::before {
  content: none;
}
.gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(242, 245, 234, 0.92);
  color: var(--charcoal);
  font-size: 28px;
  line-height: 1;
}

.gallery-arrow-prev {
  left: 12px;
}

.gallery-arrow-next {
  right: 12px;
}

.gallery-arrow:hover {
  background: #fff;
}

.gallery-arrow:focus-visible {
  outline: 2px solid var(--walnut);
  outline-offset: 3px;
}

.bag-line .cart-thumb {
  overflow: hidden;
  background: #e5e2d6;
}

.bag-line .cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price-basis {
  color: #77776c;
  font-size: 0.85em;
  font-weight: 400;
}

.option-details {
  display: block;
  margin-top: 8px;
  color: #77776c;
  font-size: 11px;
  line-height: 1.6;
}

.price-basis[hidden],
.option-details[hidden] {
  display: none;
}

.about-visual{overflow:hidden}.about-visual img{display:block;width:100%;height:100%;object-fit:cover}

/* Owner-selected Home and showroom photos. */
.hero-photo{z-index:0}
.hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero:after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(24,25,21,.42),rgba(24,25,21,.12) 58%,transparent 82%)}
.inspiration-image{overflow:hidden}
.inspiration-image img{display:block;width:100%;height:100%;object-fit:cover}
.store-photo.has-photo{position:relative;overflow:hidden;background:var(--ivory)}
.store-photo.has-photo:before{content:none}
.store-photo.has-photo img{display:block;width:100%;height:100%;object-fit:cover}
.category-tile:before{z-index:1;background:linear-gradient(0deg,rgba(25,22,18,.66),rgba(25,22,18,.04) 78%)}
.category-tile>*{z-index:2}
.category-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.page-hero.shop-hero{position:relative;isolation:isolate;overflow:hidden;background:#e9eadf}
.page-hero-image{position:absolute;z-index:-1;inset:0 0 0 58%;overflow:hidden;background:#d8d0bf}
.page-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.made-to-order-hero .page-hero-image img{object-fit:contain;object-position:center}
@media(max-width:760px){
  .page-hero.shop-hero{display:flex;flex-direction:column;align-items:flex-start;min-height:0;padding:66px 6% 35px;overflow:hidden}
  .page-hero.shop-hero>*:not(.page-hero-image){position:relative;z-index:1}
  .page-hero-image{position:relative;z-index:0;inset:auto;width:calc(100% + 12vw);height:clamp(210px,65vw,300px);margin:28px -6% -35px;flex:none}
  .page-hero.shop-hero .page-hero-image{display:none}
}

/* Make product names and prices easy to spot at a glance. */
.product-info{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:15px 0 19px}
.product-info>div{min-width:0}
.product-info h3{font:600 clamp(21px,1.55vw,26px)/1.05 var(--serif);letter-spacing:-.015em}
.product-info small{display:block;margin-top:6px;color:#66665c;font-size:10px;line-height:1.4}
.product-info>b{justify-self:end;margin:0;padding:9px 11px;background:#e5e0d2;border-left:0;color:#352719;font-size:12px;font-weight:700;line-height:1.1}
@media(max-width:560px){.product-info{grid-template-columns:1fr;gap:8px}.product-info>b{justify-self:start;font-size:11px;padding:8px 9px}.product-info h3{font-size:21px}}

/* Compact, site-wide search panel. */
.site-search-dialog{position:fixed;inset:0;margin:auto;width:min(700px,calc(100vw - 36px));max-height:min(72vh,620px);padding:0;overflow:hidden;border:1px solid #d9dbd0;background:var(--ivory);color:var(--charcoal);box-shadow:0 22px 80px #17150f45}
.site-search-dialog::backdrop{background:#17150f77;backdrop-filter:blur(2px)}
.site-search-panel{display:flex;flex-direction:column;max-height:min(72vh,620px);padding:26px 30px 18px}
.site-search-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.site-search-heading h2{margin:6px 0 18px;font:400 clamp(30px,5vw,42px)/1 var(--serif)}
.site-search-close{flex:none;border:0;background:transparent;color:var(--charcoal);font-size:27px;line-height:1;padding:0 2px;cursor:pointer}
.site-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-search-input{width:100%;padding:12px 2px;border:0;outline:none;background:transparent;color:var(--charcoal);font:400 21px var(--serif)}
.site-search-status{flex:none;margin:12px 0 4px;color:#77776c;font-size:10px;line-height:1.6}
.site-search-results{min-height:0;overflow:auto;overscroll-behavior:contain}
.site-search-result{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 2px;border-bottom:1px solid var(--line);transition:background .15s}
.site-search-result:hover,.site-search-result:focus-visible{background:#e9eadf;outline:none}
.site-search-result-copy{display:grid;gap:4px;min-width:0}
.site-search-result-copy strong{font:500 20px/1.1 var(--serif)}
.site-search-result-copy small{color:#6f6d61;font-size:10px;line-height:1.55}
.site-search-result-kind{flex:none;color:#817963;font-size:8px;letter-spacing:.12em;text-transform:uppercase}

/* Keep small supporting copy readable against the site's light surfaces. */
.intro-strip>span,
.section-heading>p,
.feature-caption span:not(.circle-arrow),
.filter,
.product-info small,
.project-spec span,
.detail-rule span,
.values-band span,
.values-band p,
.store-detail span,
.store-card p,
.breadcrumbs,
.detail-note,
.bag-line small,
.bag-summary p,
.footer-col>span,
.footer-bottom,
.collection-tab,
.control-label,
.sort-control>span,
.result-count,
.shop-note,
.site-search-status,
.site-search-result-kind,
.service-items span,
.contact-panel p,
.newsletter label,
.newsletter small,
.project-link>span,
.project-link small,
.cart-row small,
.cart-bottom>small,
.search-result small {
  color: #5f5c50;
}
@media(max-width:560px){
  .site-search-dialog{width:calc(100vw - 24px);max-height:72svh}
  .site-search-panel{max-height:72svh;padding:20px 18px 14px}
  .site-search-heading h2{font-size:33px}
  .site-search-result{gap:10px;padding:12px 1px}
  .site-search-result-copy strong{font-size:18px}
}
/* Minimal, branded fallback for unknown URLs. */
.not-found-page{min-height:100vh;display:flex;flex-direction:column}
.not-found-header{width:100%;align-items:center;padding-top:14px;padding-bottom:14px}
.not-found-header>.under-link{justify-self:end}
.not-found-content{width:min(760px,100%);margin:auto;padding:100px 9%;text-align:center}
.not-found-content h1{font:400 clamp(48px,8vw,88px)/.95 var(--serif);letter-spacing:-.04em;margin:18px 0}
.not-found-content p{max-width:430px;margin:0 auto;color:#69685f;line-height:1.8}
.not-found-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.not-found-shop{border-color:var(--walnut);color:var(--walnut)}
@media(max-width:560px){.not-found-content{padding:72px 7%}.not-found-content h1{font-size:54px}}
