/* Studio navigation and the shared retail action. */
.site-header .nav-information { display:flex; gap:16px; align-items:center; }
.site-header .nav-information a { font-size:14px; }
@media(min-width:768px) {
  .site-header .nav-information { margin:0 0 0 12px; }
  .site-header .nav-information a:last-child,
  .site-header .nav-business { display:none; }
  .site-header .nav-group:not([data-nav-group="all"]) { display:none; }
  .site-header .visual-nav { flex:0 1 auto; margin-left:auto; }
}
.studio-buy, body #buy-link.button {
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  width:fit-content; max-width:100%; min-height:46px; border-radius:999px;
  padding:12px 21px; border:1px solid transparent;
  background:#173f37; color:white; box-shadow:none; text-shadow:none;
  font:600 14px/1.35 var(--sans,system-ui,sans-serif);
  letter-spacing:0; text-decoration:none; text-transform:none;
  transition:background .16s,transform .1s;
}
.studio-buy:hover, body #buy-link.button[href]:hover { background:#24564c; color:#fff; }
.studio-buy:active, body #buy-link.button[href]:active { transform:translateY(1px) scale(.985); }
body #buy-link.button[aria-disabled="true"] { color:#514f4b; background:#deddd6; cursor:default; }
.studio-buy[hidden],body #buy-link.button[hidden] { display:none; }
:where(.studio-buy,.details-link,.product-tile,.preview-close):focus-visible,
body #buy-link:focus-visible { outline:3px solid #487fbc; outline-offset:4px; }

.collection-card .product-tile { position:relative; }
.collection-card .product-tile > picture { display:block; aspect-ratio:1; background:#f4f3ef; overflow:hidden; border-radius:9px; }
.collection-card .product-tile > picture > img,
.collection-card .product-tile > img {
  display:block; width:100%; height:100%; object-fit:contain; border:0; padding:0;
  background:transparent; mix-blend-mode:multiply; transition:transform .24s ease;
}
.collection-card .product-tile > img { height:auto; aspect-ratio:1; }
.collection-card .preview-invitation { display:none; }
.collection-card .can-preview .preview-invitation {
  position:absolute; top:10px; right:10px; display:flex; align-items:center; gap:.4em;
  padding:6px 9px; border-radius:999px; background:#fff; color:#242925;
  font:500 11px/1.2 var(--sans,system-ui,sans-serif); text-decoration:none;
}
.collection-card .preview-invitation b { font-size:16px; line-height:.8; font-weight:400; }
.collection-card .details-link, #collection-preview .details-link {
  width:fit-content; display:inline-flex; align-items:center; gap:.45em; min-height:44px;
  font:600 13px/1.35 var(--sans,system-ui,sans-serif); text-decoration:underline; text-underline-offset:4px;
}
.collection-card .details-link { margin-top:auto; }
.collection-card .details-link:active, #collection-preview .details-link:active { opacity:.65; }
@media(hover:hover) and (pointer:fine) {
  .collection-card .can-preview:hover img { transform:scale(1.02); }
}
#image-dialog::backdrop,#collection-preview::backdrop {
  background:rgb(25 31 28 / .62); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
body:has(#collection-preview[open],#image-dialog[open]) { overflow:hidden; }
#collection-preview {
  inset:0; margin:auto; position:fixed; width:min(850px,calc(100% - 40px)); max-width:none;
  max-height:calc(100dvh - 40px); padding:0; overflow:auto; border:0; border-radius:15px;
  background:#faf9f5; color:#1c2926; box-shadow:0 18px 80px #0d161638;
}
#collection-preview:not([open]) { display:none; }
#collection-preview .preview-layout { display:grid; grid-template-columns:1.2fr 1fr; }
#collection-preview .preview-figure { display:grid; place-items:center; min-width:0; background:#f2f1eb; }
#collection-preview .preview-figure img {
  display:block; width:100%; height:100%; max-height:min(620px,85dvh); min-height:0;
  padding:0; object-fit:contain; border:0; mix-blend-mode:multiply; background:transparent;
}
#collection-preview .preview-content { min-width:0; padding:70px 30px 44px; align-self:center; }
#collection-preview h2 { margin:0; font:500 clamp(34px,3.3vw,51px)/1.02 var(--serif,Georgia,serif); letter-spacing:-.035em; }
#collection-preview .preview-variant { margin:12px 0 0; font:600 14px/1.45 var(--sans,system-ui,sans-serif); }
#collection-preview .preview-description { margin:16px 0; font:400 15px/1.6 var(--sans,system-ui,sans-serif); color:#515953; }
#collection-preview .preview-actions { display:grid; justify-items:start; gap:6px; margin-top:24px; }
#collection-preview .preview-status { margin:0; color:#54564f; font-size:14px; }
#collection-preview .preview-close {
  position:absolute; right:12px; top:12px; z-index:1; width:44px; height:44px;
  display:grid; place-items:center; border:1px solid #dbded8; border-radius:50%;
  background:#fafaf7; color:#242925; font:400 26px/1 system-ui,sans-serif; cursor:pointer;
}
#collection-preview .preview-close:active { transform:scale(.96); }
@media(max-width:620px) {
  #collection-preview { width:calc(100% - 24px); max-height:calc(100dvh - 26px); }
  #collection-preview .preview-layout { grid-template-columns:1fr; }
  #collection-preview .preview-figure { height:min(43dvh,400px); }
  #collection-preview .preview-content { padding:22px 22px 17px; }
  #collection-preview .preview-actions { margin-top:15px; }
  #collection-preview .preview-description { margin:10px 0; font-size:14px; }
  #collection-preview .preview-figure img { max-height:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .collection-card .product-tile img,.studio-buy,body #buy-link.button { transition:none; }
  .collection-card .can-preview:hover img { transform:none; }
}
button:not(:disabled):active,summary:active,.variant-choice:active .swatch-content,
.product-tile:active,.related-option:active,.wtb-item:active,.nav-category:active {
  filter:brightness(.93);
}
#image-dialog { border:0; border-radius:12px; }
#image-dialog #dialog-media { background:#f3f2ee; }
#image-dialog #dialog-image { display:block; background:transparent; mix-blend-mode:multiply; }

/* Catalog family links and independent image previews. */
body:has(.shop-directory) {background:#fff;color:#171719}
.shop-directory {--directory-ink:#171719;--directory-surface:#f5f5f7;color:var(--directory-ink);font-family:var(--sans,Arial,sans-serif)}
.shop-directory .directory-intro {display:flex;align-items:end;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-block:clamp(38px,5vw,78px) 28px}
.shop-directory h1,.shop-directory h2,.shop-directory h3,#collection-preview #preview-title {font-family:var(--sans,Arial,sans-serif);color:#171719;font-weight:600;letter-spacing:-.045em}
.shop-directory h1 {font-size:clamp(54px,7.3vw,106px);line-height:.94;margin:0}
.directory-categories {display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}
.directory-categories a {font-size:14px;padding-block:8px;text-decoration:none;font-weight:600}
.directory-categories a span,.directory-section h2 span {color:#626267;display:inline-block;font-size:.7em}
.directory-categories a:hover,.directory-detail:hover,.directory-section h2 a:hover {text-decoration:underline;text-underline-offset:4px}
.shop-directory .directory-section {border-top:1px solid #dadadf;margin:0;padding-block:32px 50px;scroll-margin:80px}
.shop-directory .directory-bookmark {display:block;height:0;scroll-margin:80px}
.shop-directory .directory-section h2 {font-size:clamp(29px,3vw,46px);line-height:1.05;margin:0}
.shop-directory .directory-section h2 a {color:inherit;text-decoration:none}
.shop-directory .collection-grid {margin-top:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,24px)}
.shop-directory .collection-card {position:relative;min-width:0;display:block;border:0;border-radius:18px;background:#f5f5f7;padding:0}
.shop-directory .collection-card .product-tile {position:static;display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:100%;border-radius:18px;overflow:hidden;background:transparent;text-decoration:none;color:inherit}
.shop-directory .collection-card .product-tile >picture {display:block;aspect-ratio:1.32;width:100%;margin:0;border-radius:0;background:#fff;overflow:hidden}
.shop-directory .collection-card .product-tile >picture >img {object-fit:contain;width:100%;height:100%;padding:8px;border:0;background:#fff;mix-blend-mode:normal}
.shop-directory .directory-copy {display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:8px;padding:clamp(15px,1.7vw,25px)}
.shop-directory .collection-card h3 {font-size:clamp(19px,1.7vw,28px);line-height:1.09;color:#171719;margin:0}
.shop-directory .collection-card .directory-meta {font-size:12px;color:#48484e;margin:0}
.shop-directory .collection-card .collection-summary {color:#55555a;line-height:1.45;font-size:14px;margin:0}
.shop-directory .directory-detail {display:inline-flex;gap:8px;align-items:center;padding-top:9px;margin-top:auto;font:600 13px/1.35 var(--sans,system-ui,sans-serif)}
.shop-directory .product-tile:hover .directory-detail {text-decoration:underline;text-underline-offset:4px}
.collection-card .collection-preview-trigger {position:absolute;top:10px;right:10px;z-index:1;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #dadade;border-radius:50%;background:#f8f8fa;color:#171719;font:400 24px/1 system-ui,sans-serif;cursor:pointer;transition:background .14s,transform .14s}
.collection-card .collection-preview-trigger[hidden] {display:none}
.collection-card .collection-preview-trigger:hover {background:#e8e8ed}
.collection-card .collection-preview-trigger:active {transform:scale(.94)}
.shop-directory a:focus-visible,.collection-preview-trigger:focus-visible {outline:3px solid #2766b6;outline-offset:3px}
#collection-preview {background:#fff;color:#171719}
#collection-preview .preview-figure {background:#fff}
#collection-preview .preview-figure img {mix-blend-mode:normal}
#collection-preview .preview-close {background:#f5f5f7;color:#171719}
#collection-preview .studio-buy {background:#19191b;color:#fff}
@media(max-width:850px) {.shop-directory .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px) {
 .shop-directory .directory-intro {gap:14px;padding-bottom:20px}
 .shop-directory .directory-section {padding-block:24px 34px}
 .shop-directory .collection-grid {gap:10px;margin-top:16px}
 .shop-directory .collection-card,.shop-directory .collection-card .product-tile {border-radius:12px}
 .shop-directory .directory-copy {padding:12px 10px}
 .shop-directory .collection-card .product-tile >picture {aspect-ratio:1}
 .shop-directory .collection-card .collection-summary {font-size:12px}
 .shop-directory .collection-card .directory-meta {font-size:11px}
 .collection-card .collection-preview-trigger {top:5px;right:5px;width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce) {.collection-card .collection-preview-trigger{transition:none}}

/* Directory filter toolbar & card polish */
.shop-directory .directory-intro { padding-bottom: 18px; }
.shop-directory .directory-lead { margin: 12px 0 0; font-size: clamp(14px, 1.15vw, 17px); color: #56565e; max-width: 56ch; }
.directory-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 16px;
  flex-wrap: wrap; padding: 14px 0 12px;
}
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 15px;
  border-radius: 999px; border: 1px solid #d4d4dc; background: #fff; color: #2b2b30;
  font: 600 13px/1 var(--sans,system-ui,sans-serif); cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.dir-chip span { font-size: 11px; font-weight: 500; opacity: .68; }
.dir-chip:hover { border-color: #9e9ea8; background: #f8f8fa; }
.dir-chip[aria-pressed="true"] { background: #19191c; border-color: #19191c; color: #fff; }
.dir-chip[aria-pressed="true"] span { opacity: .82; }
.dir-search-wrap {
  position: relative; display: flex; align-items: center; flex: 0 1 280px; width: 100%; max-width: 300px;
}
.dir-search-ico { position: absolute; left: 13px; width: 16px; height: 16px; color: #6c6c75; pointer-events: none; flex: none; }
.dir-search-wrap input {
  width: 100%; height: 40px; padding: 0 34px 0 36px; border-radius: 999px;
  border: 1px solid #d4d4dc; background: #fff; color: #19191c;
  font: 400 13.5px/1 var(--sans,system-ui,sans-serif);
}
.dir-search-wrap input:focus { outline: none; border-color: #19191c; box-shadow: 0 0 0 3px rgba(25,25,28,.08); }
.dir-clear {
  position: absolute; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: #ececf0; color: #2a2a30; font-size: 16px; line-height: 1; display: grid; place-items: center; cursor: pointer;
}
.dir-status { margin: 0 0 14px; font-size: 12px; color: #64646d; }
.dir-empty {
  padding: 48px 20px; text-align: center; background: #fff; border-radius: 16px;
  border: 1px solid #e2e2e8; margin: 16px 0 32px;
}
.dir-empty p { margin: 0 0 14px; color: #56565e; }
.dir-empty button {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid #19191c;
  background: #19191c; color: #fff; font: 600 13px/1 var(--sans,system-ui,sans-serif); cursor: pointer;
}
.dir-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dir-world-link { font-size: 13px; font-weight: 600; color: #46464f; text-decoration: none; white-space: nowrap; }
.dir-world-link:hover { color: #171719; text-decoration: underline; text-underline-offset: 4px; }
.shop-directory .collection-card {
  border: 1px solid rgba(25,25,28,.07);
  transition: transform .22s cubic-bezier(.22,.75,.23,1), box-shadow .22s ease, border-color .22s ease;
}
@media(hover:hover) and (pointer:fine) {
  .shop-directory .collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -18px rgba(18,22,30,.22);
    border-color: rgba(25,25,28,.15);
  }
}
@media(max-width:640px) {
  .dir-search-wrap { max-width: none; flex: 1 1 100%; }
  .dir-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .dir-chips::-webkit-scrollbar { display: none; }
  .dir-chip { flex: 0 0 auto; min-height: 36px; padding: 0 12px; font-size: 12px; }
}
