/* Shared by the public studio and its buying pages. Keep the disclosure in the
   header so search, company links and style counts have one keyboard order. */
@font-face {
  font-family: "Showroom Serif";
  src: url("/assets/fonts/instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #1b2520; --muted: #59625a; --line: #d2d4ca; --paper: #f6f6f0;
  --soft: #ebede5; --navy: #202c25; --navy-deep: #18231d; --link: #384c3f;
  --orange: #ecae8a; --orange-hover: #f1bc9e; --shadow: none;
  --showroom-edge: max(5vw, calc((100vw - 1580px) / 2));
  --terracotta: #a5472e;
}
.showroom-header {
  position: sticky; top: 0; z-index: 15; height: 62px; padding: 0 var(--showroom-edge);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #eeeee8; color: var(--ink); border-bottom: 1px solid #c7cabe;
}
.showroom-logo img { display: block; width: 131px; height: auto; }
.showroom-chapters,.showroom-actions { display: flex; align-items: center; gap: clamp(1rem,2.5vw,2.4rem); }
.showroom-chapters a,.showroom-actions summary,.showroom-quote { font-size: .83rem; font-weight: 650; }
.showroom-chapters a { padding: .6rem 0; position: relative; }
.showroom-chapters a[aria-current]::after {
  content: ""; position: absolute; inset: auto 0 4px; height: 2px; background: var(--terracotta);
}
.showroom-chapters a:hover,.showroom-menu summary:hover { color: var(--terracotta); }
.showroom-actions { gap: 1.25rem; }
.showroom-quote {
  display: inline-flex; align-items: center; gap: 1rem; padding: .66rem 1.15rem;
  border-radius: 2rem; background: #1b2520; color: #fffdf6;
}
.showroom-quote:hover { background: #384c3f; }
.showroom-menu { position: static; }
.showroom-menu summary { gap: .55rem; min-height: 44px; }
.showroom-menu[open] summary { color: var(--terracotta); }
.menu-chevron { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.showroom-menu[open] .menu-chevron { transform: translateY(2px) rotate(225deg); }
.catalogue-flyout {
  position: absolute; top: calc(100% - 1px); right: var(--showroom-edge); z-index: 2;
  width: min(48rem, calc(100% - 2 * var(--showroom-edge))); max-height: calc(100vh - 74px);
  max-height: calc(100dvh - 74px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(1rem,2.3vw,1.8rem); background: #fbfbf5; border: 1px solid #c7cabe;
  border-top: 2px solid #28372d; border-radius: 0 0 12px 12px; box-shadow: 0 22px 46px #18231d26;
}
.flyout-search.global-search {
  display: flex; align-items: center; gap: .65rem; padding: 0 0 .85rem;
  border-bottom: 1px solid #c7cabe;
}
.flyout-search .lens { margin: 0 .3rem; width: .9rem; height: .9rem; color: var(--ink); }
.flyout-search.global-search input {
  height: 40px; padding: 0 .35rem; border: 0; border-radius: 0; background: transparent; font-size: .95rem;
}
.flyout-search.global-search button {
  min-height: 40px; padding: .45rem .85rem; border-radius: 30px; background: #233128; color: white; font-size: .82rem;
}
.flyout-search button span { margin-left: .45rem; }
.flyout-search button:hover { background: #405446; }
.flyout-garments { display: grid; grid-template-columns: .87fr 1.55fr; gap: clamp(1rem,2vw,1.6rem); margin: 1.1rem 0; }
.flyout-cover { position: relative; isolation: isolate; display: flex; align-items: end; gap: .5rem; min-height: 146px; padding: .9rem; overflow: hidden; border-radius: 4px; }
.flyout-cover img,.flyout-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.showroom-header .flyout-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.flyout-cover::after { content: ""; background: linear-gradient(0deg,#101a12d9,transparent 88%); }
.flyout-cover span { color: #fffdf6; font-size: clamp(1.5rem,2.5vw,2.1rem); line-height: 1; letter-spacing: -.055em; font-weight: 550; }
.flyout-cover em,.shop-intro em { font-family: "Showroom Serif", Georgia, serif; font-weight: 400; }
.flyout-cover b { margin-left: auto; color: white; font-size: 1.15rem; font-weight: 400; }
.flyout-families { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem .7rem; align-content: start; }
.flyout-families a {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .48rem .35rem;
  border-bottom: 1px solid var(--line); min-height: 68px;
}
.showroom-header .flyout-families img { display: block; width: 48px; height: 54px; object-fit: cover; border-radius: 2px; }
.flyout-families strong { display: block; font-weight: 630; font-size: .93rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.flyout-families small { display: block; margin-top: .15rem; color: var(--muted); font-size: .71rem; }
.flyout-families b { color: var(--muted); font-size: .8rem; font-weight: 400; }
.flyout-families a:is(:hover,:focus-visible,[aria-current]) { background: #ebeee4; }
.flyout-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); padding-top: 1rem; }
.flyout-directory nav { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding-left: 1.1rem; border-left: 1px solid var(--line); }
.flyout-directory nav:first-child { padding-left: 0; border-left: 0; }
.flyout-directory h2,.style-info .product-category,.results-count {
  font: 550 .66rem/1.45 ui-monospace,Menlo,monospace; text-transform: uppercase; letter-spacing: .09em; color: var(--muted);
}
.flyout-directory h2 { margin-bottom: .35rem; }
.flyout-directory a { display: inline-flex; align-items: center; min-height: 30px; gap: .45rem; line-height: 1.3; font-size: .88rem; }
.flyout-directory a:hover { color: var(--terracotta); text-decoration: underline; text-underline-offset: .24em; }
.list-total { font: 500 .69rem/1.5 ui-monospace,monospace; min-width: 1.3rem; padding: .03rem .27rem; text-align: center; background: #e5e9de; border-radius: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .has-js .showroom-menu[open] .catalogue-flyout { animation: open-catalogue .22s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes open-catalogue { from { transform: translateY(-5px); } to { transform: none; } }
  .flyout-cover img,.product-image img { transition: transform .42s ease; }
  .flyout-cover:hover img,.product-card:hover .product-image img { transform: scale(1.035); }
}
.skip-link { z-index: 30; }
#buying-tools { scroll-margin-top: 72px; }
.trade-footer { background: #202c25; }
.footer-grid a,.footer-brand p { color: #dde1d6; }
.support-label { font-weight: inherit; }
.support-dock { background: #25372c; border-color: #4a5a4d; }
.wrap.inside { padding-block: 1.45rem 4rem; }
.crumbs { gap: .55rem; font-size: .78rem; color: var(--muted); }
.crumbs a:hover { color: var(--terracotta); }
.wrap.shop-page,.wrap.product-page {
  width: 100%; max-width: 1700px; padding-inline: max(5%,calc((100vw - 1580px)/2)); margin-inline: auto;
}
.shop-head {
  margin: .85rem 0 1.25rem; display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: stretch; min-height: 200px; background: #e8e9df; overflow: hidden;
}
.shop-intro { align-self: center; padding: clamp(1.25rem,3.2vw,3.3rem); }
.shop-intro h1 {
  font-size: clamp(2.8rem,5.8vw,6.6rem); line-height: .95; font-weight: 620; letter-spacing: -.07em; overflow-wrap: anywhere;
}
.shop-intro p { max-width: 31rem; margin-top: .85rem; font-size: .96rem; }
.shop-cover { position: relative; min-width: 0; }
.shop-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.shop-tools { grid-template-columns: minmax(11rem,1.48fr) minmax(0,3fr) auto; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: transparent; padding: .9rem 0 1rem; }
.shop-filter-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.shop-refine { min-width: 0; }
.shop-refine summary {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .1rem; min-height: 44px;
  font-size: .84rem; font-weight: 600; list-style: none; cursor: pointer;
}
.shop-refine summary::-webkit-details-marker { display: none; }
.shop-refine[open] .menu-chevron { transform: translateY(2px) rotate(225deg); }
@media(min-width:761px) {
  .has-js .shop-refine summary { display: none; }
  .shop-tools label:first-child { grid-column: auto; }
}
.shop-tools select,.shop-tools .search-field { border-color: #b9bfb2; border-radius: 4px; background: #fffef8; }
.shop-tools .button,.inside .button.dark { background: #243128; border-color: #243128; color: #fffef7; border-radius: 2rem; }
.shop-tools .button:hover,.inside .button.dark:hover { background: #415345; }
.shop-page .catalogue-bar { margin: 1rem 0 1.15rem; gap: 1rem; }
.shop-page .category-tabs { gap: .35rem; }
.shop-page .category-tabs a,.journal-tabs a { background: transparent; color: #3e4a40; border-color: transparent; border-radius: 2rem; }
.shop-page .category-tabs a:is([aria-current],:hover),.journal-tabs a[aria-current] { background: #233128; color: #fffdf6; }
.results-count { white-space: nowrap; }
.product-grid { gap: 1.8rem 1.15rem; }
.product-tile,.product-tile:hover { min-width: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.product-image { aspect-ratio: 1; overflow: hidden; background: #ebece4; border: 0; }
.product-image img { object-fit: contain; mix-blend-mode: multiply; }
.card-copy { padding: .7rem .05rem .6rem; }
.card-meta { font-size: .74rem; }
.product-card h3 { margin-top: .25rem; font-size: clamp(1rem,1.3vw,1.28rem); letter-spacing: -.035em; }
.product-card:hover h3 { color: #394f3d; }
.product-tile .add-style {
  align-self: flex-start; margin: .1rem 0 0; min-height: 32px; padding: .2rem .7rem; background: transparent;
  border: 1px solid #aab3a5; border-radius: 2rem; color: var(--ink); font-weight: 550; font-size: .77rem;
}
.product-tile .add-style:is(:hover,.selected) { border-color: #364b3b; background: #e4e9de; }
.pagination { padding-top: 1rem; border-top: 1px solid var(--line); }
.pagination a { background: #fffef9; border-radius: 2rem; padding: .5rem 1rem; }
.detail-layout { padding: 0; gap: clamp(1.6rem,5vw,6rem); background: transparent; border: 0; border-radius: 0; }
.gallery-main { border: 0; border-radius: 0; background: #ebece4; }
.gallery-main>img { height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.zoom-mark,.zoom-close { border-color: var(--line); border-radius: 2rem; }
.thumbnail { background: var(--soft); border-color: var(--line); }
.style-info { align-self: center; }
.style-info h1,.inside :is(.service-copy,.enquiry-intro,.company-intro,.editorial-title,.article-intro) h1 {
  margin-top: .45rem; font-size: clamp(2.4rem,4.5vw,5rem); letter-spacing: -.065em; line-height: 1.02;
}
.style-info .specs,.style-info .product-order { margin-top: 1.4rem; }
.style-info .specs>div { border-color: var(--line); }
.product-order .add-style { background: #243128; color: #fffdf6; border-radius: 2rem; }
.product-order .add-style:is(:hover,.selected) { background: #405245; color: white; }
.related { border-top: 1px solid var(--line); padding-top: 1.8rem; }
.inside :is(.service-photo,.company-intro,.article-intro,.journal-card,.form-panel,.empty-brief,.list-picker,.paste-panel,.desk-recent) { border-color: var(--line); box-shadow: none; }
.inside :is(.company-intro,.article-intro) { background: #eaebe2; }
.inside :is(.journal-card,.form-panel,.list-picker,.paste-panel,.empty-brief) { background: #fffef9; }
@media(max-width:760px) {
  .showroom-header { height: 50px; }
  .showroom-logo img { width: 94px; }
  .showroom-header .showroom-chapters { display: none; }
  .showroom-actions { gap: .8rem; }
  .showroom-actions summary,.showroom-quote { font-size: .74rem; }
  .showroom-quote { padding: .45rem .75rem; gap: .4rem; }
  .catalogue-flyout { width: min(36rem,100%); right: 0; max-height: calc(100dvh - 50px); border-inline: 0; }
  .flyout-garments { grid-template-columns: minmax(0,.72fr) minmax(0,1fr); }
  .flyout-families { grid-template-columns: 1fr; }
  .flyout-families a { min-height: 54px; }
  .showroom-header .flyout-families img { width: 36px; height: 40px; }
  .shop-tools { grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: .2rem .6rem; padding: .65rem 0 .1rem; }
  .shop-tools>label:first-child { grid-column: 1; grid-row: 1; }
  .shop-tools>.button { grid-column: 2; grid-row: 1; }
  .shop-refine { grid-column: 1/-1; grid-row: 2; }
  .shop-filter-fields { gap: .35rem; padding-bottom: .65rem; }
  .shop-filter-fields label:first-child { grid-column: auto; }
  .shop-head { min-height: 140px; }
  .shop-intro { padding: 1.2rem; }
  .shop-intro h1 { font-size: clamp(2.3rem,7.5vw,3.7rem); }
  .shop-intro p { font-size: .84rem; margin-top: .55rem; }
  .shop-page .catalogue-bar { align-items: flex-start; gap: .6rem; }
  .product-grid { gap: 1.3rem .85rem; }
  .style-info h1 { font-size: clamp(2.2rem,9vw,3.6rem); }
  .wrap.inside { padding-block: .95rem 3rem; }
}
@media(max-width:540px) {
  .flyout-garments { display: block; margin: .75rem 0 1rem; }
  .flyout-cover { min-height: 78px; align-items: center; padding-inline: 1rem; }
  .flyout-cover::after { background: linear-gradient(90deg,#172118d9,#17211822); }
  .flyout-families { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: .4rem; gap: .15rem .5rem; }
  .flyout-families a { gap: .45rem; }
  .flyout-families strong { font-size: .84rem; }
  .flyout-directory { gap: .2rem; }
  .flyout-directory nav { padding-left: .5rem; }
  .flyout-directory a { font-size: .79rem; min-height: 36px; }
  .flyout-search.global-search input { font-size: 1rem; }
  .shop-head { grid-template-columns: minmax(0,1.6fr) minmax(0,.75fr); }
  .shop-intro { padding: 1.1rem .8rem; }
  .shop-page .category-tabs {
    width: 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; gap: .06rem; scrollbar-width: thin;
  }
  .shop-page .category-tabs a { flex: none; white-space: nowrap; }
  body:has(.shop-page,.product-page) .support-dock {
    width: 42px; height: 42px; justify-content: center; padding: 0; border-radius: 50%;
  }
  body:has(.shop-page,.product-page) .support-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  .shop-page .category-tabs a { padding: .38rem .55rem; font-size: .78rem; }
  .shop-page .catalogue-bar { flex-direction: column; }
  .product-grid { gap: 1.25rem .65rem; }
  .product-tile .add-style { min-height: 38px; }
}
@media(max-height:600px) and (min-width:761px) { .showroom-header { height: 47px; } }
