/* Compact category navigation and photo-first browsing across all collections. */
.catalog-page[data-catalog-category] .catalog-browse-intro{display:flex;align-items:center;gap:20px;padding:20px 0 24px}
.catalog-page[data-catalog-category] .catalog-browse-intro h1 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -1px;
}
.catalog-category-trigger{display:inline-flex;align-items:center;gap:16px;min-height:46px;padding:10px 17px;border:1px solid #dbd9cf;border-radius:10px;background:#fffdfa;color:#3e4937;font:inherit;font-size:14px;flex:none}
.catalog-category-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.catalog-category-trigger:hover{border-color:#b45021;background:#fcf5ef}
.catalog-category-picker{inset:0;margin:auto;width:min(660px,calc(100% - 36px));max-width:none;max-height:85dvh;padding:0;border:0;border-radius:18px;background:#fffdfa;color:#28332b;overflow:auto}
.catalog-category-picker::backdrop{background:#202a2473;backdrop-filter:blur(4px)}
.category-picker-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px;position:sticky;top:0;z-index:1;background:#fffdfa;border-bottom:1px solid #e9e5dc}
.category-picker-head h2{font-size:26px;font-weight:400;letter-spacing:-.6px}
.category-picker-head button{width:44px;height:44px;border:1px solid #e0ddd4;border-radius:50%;background:#f5f2eb;font-size:28px;color:#374332;flex:none}
.category-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:22px 24px 26px}
.category-picker-grid a{position:relative;display:flex;align-items:center;gap:12px;min-width:0;padding:8px;border:1px solid #e8e5dd;border-radius:12px;line-height:1.3;font-size:14px}
.category-picker-grid a:hover{background:#f7f5ee}
.category-picker-grid a[aria-current=page]{border-color:#b45021;background:#fbefe6}
.category-picker-grid img{width:68px;height:64px;object-fit:cover;border-radius:7px;flex:none}
.category-picker-grid .category-picked{position:absolute;right:5px;top:4px;color:#a14820;font-size:11px}
.catalog-categories-open,.catalog-photo-open{overflow:hidden}
.catalog-filter-toolbar{justify-content:space-between;gap:12px}
.catalog-view-toggle{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #deddd4;background:#f2f1ea;border-radius:11px;flex:none}
.catalog-view-toggle button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:38px;border:0;border-radius:7px;background:transparent;color:#6b7362;font-size:13px}
.catalog-view-toggle button[aria-pressed=true]{background:#fffdfa;color:#293729;box-shadow:0 1px 4px #26342515}
.catalog-view-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
.catalog-quick-filters{display:flex;gap:7px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:14px 0 3px}
.catalog-quick-filters::-webkit-scrollbar{display:none}
.catalog-quick-filters button{flex:none;min-height:42px;padding:9px 15px;white-space:nowrap;border:1px solid #e2dfd5;border-radius:24px;background:#fffdfa;color:#616c58;font-size:13px}
.catalog-quick-filters button[aria-pressed=true]{background:#34412f;color:#fffdfa;border-color:#34412f}
.catalog-active-filters{flex-basis:100%}
.product-card-copy .product-card-kind{margin:7px 0 0;line-height:1.45;color:#737968;font-size:12px}
.product-card-copy h2{margin-bottom:0}
.product-card-photo-track{grid-template-rows:minmax(0,1fr)}
.product-card-photo-track>img{min-height:0;max-height:100%}
.favorites-view-bar{display:flex;justify-content:flex-end;margin-bottom:22px}
[data-catalog-view=large] #shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
[data-catalog-view=large] #shop-grid .product-card-photo{aspect-ratio:4/3;background:#efede6}
[data-catalog-view=large] #shop-grid .product-card-photo-track>img{object-fit:contain!important;object-position:center!important;transform:none}
[data-catalog-view=large] #shop-grid .product-card-photo-track{height:100%}
.quick-view-image{position:relative;border:0;padding:0;width:100%;cursor:zoom-in;color:#35412e}
.quick-view-zoom-label{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;font-size:11px;background:#fffdf9eb;box-shadow:0 2px 10px #0001;pointer-events:none}
.quick-view-zoom-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.catalog-photo-viewer{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:#171c18;color:#fffdfa;overflow:hidden}
.catalog-photo-viewer[open]{display:flex;flex-direction:column}
.catalog-photo-viewer::backdrop{background:#171c18}
.photo-viewer-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:max(12px,env(safe-area-inset-top)) 20px 12px;flex:none;background:#171c18}
.photo-viewer-top p{font-size:14px;line-height:1.45;color:#e3e5df;max-width:900px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catalog-photo-viewer button{position:static;width:auto;height:auto;min-width:44px;min-height:44px;border:1px solid #ffffff38;border-radius:10px;background:#ffffff12;color:#fff;font-size:22px;padding:5px 12px;line-height:1;flex:none}
.catalog-photo-viewer button:hover{background:#ffffff24}
.catalog-photo-viewer button:disabled{opacity:.3;cursor:default}
.catalog-photo-viewer button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.photo-viewer-stage{position:relative;display:grid;place-items:center;overflow:hidden;flex:1;min-height:0;touch-action:none;cursor:zoom-in;user-select:none}
.photo-viewer-stage.is-zoomed{cursor:grab}
.photo-viewer-stage.is-zoomed:active{cursor:grabbing}
.catalog-photo-viewer .photo-viewer-stage img{display:block;max-width:none;max-height:none;object-fit:contain;-webkit-user-drag:none;transform-origin:center;will-change:transform;grid-area:1/1}
.photo-viewer-error{position:absolute;inset:auto 24px;text-align:center;color:#fff}
.photo-viewer-bottom{padding:14px 20px max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:15px;background:#171c18;flex:none}
.photo-viewer-bottom>p{color:#b9c2b5;font-size:12px;line-height:1.5}
.photo-viewer-controls{display:flex;align-items:center;gap:8px;flex:none}
.photo-viewer-controls output{min-width:48px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
.catalog-photo-viewer [data-zoom-reset]{font-size:13px;margin-left:8px}
:is(.catalog-category-trigger,.category-picker-grid a,.category-picker-head button,.catalog-view-toggle button,.catalog-quick-filters button,.catalog-photo-viewer button):focus-visible{outline:2px solid #b45021;outline-offset:3px}
.catalog-quick-filters button:focus-visible {
  outline-color: currentColor;
  outline-offset: -4px;
}
.catalog-photo-viewer button:focus-visible{outline-color:#ffcfa8}
@media(max-width:720px){
 .catalog-page[data-catalog-category]:not(.product-page) .breadcrumbs {
   padding-top: 7px;
 }
 .catalog-page[data-catalog-category] .catalog-browse-intro {
   padding: 3px 0 6px;
   gap: 10px;
 }
 .catalog-page[data-catalog-category] .catalog-browse-intro h1 {
   font-size: clamp(25px, 7.45vw, 29px);
   letter-spacing: -.8px;
 }
 .catalog-category-trigger{font-size:12px;padding:10px 11px;gap:6px;min-height:44px}
 .catalog-category-trigger svg{width:16px}
 .catalog-filter-toolbar{gap:9px}
 .catalog-view-toggle{padding:2px;gap:1px}
 .catalog-view-toggle button{padding:8px 9px;gap:6px;font-size:12px}
 .catalog-page[data-catalog-category] .catalog-filter-toggle{padding:9px 12px;gap:7px;font-size:13px}
 .catalog-page[data-catalog-category] .catalog-filter-controls {
   min-width: 0;
   max-width: 100%;
   margin-bottom: 10px;
 }
 .catalog-quick-filters {
   padding: 6px 0 0;
   gap: 6px;
 }
 .catalog-quick-filters button {
   min-height: 44px;
   padding: 8px 13px;
   font-size: 12px;
 }
 .product-card-copy .product-card-kind{font-size:11px;margin-top:5px}
 [data-catalog-view=large] #shop-grid{grid-template-columns:1fr;gap:26px}
 [data-catalog-view=large] #shop-grid .product-card-photo{aspect-ratio:1;max-height:70dvh}
 [data-catalog-view=large] #shop-grid .product-card h2{font-size:19px}
 [data-catalog-view=large] #shop-grid .product-card-kind{font-size:12px}
 .catalog-category-picker{inset:auto 0 0;width:100%;max-height:88dvh;border-radius:20px 20px 0 0}
 .category-picker-head{padding:16px 18px}.category-picker-head h2{font-size:24px}
 .category-picker-grid{padding:16px 16px max(22px,env(safe-area-inset-bottom));gap:8px}
 .category-picker-grid a{flex-direction:column;align-items:stretch;gap:8px;padding:8px;font-size:13px}
 .category-picker-grid img{width:100%;height:88px;object-fit:cover}
 .category-picker-grid a>span:not(.category-picked){padding:1px 3px 5px}
 .photo-viewer-top{padding-inline:14px}.photo-viewer-top p{font-size:12px}
 .photo-viewer-bottom{flex-direction:column;gap:10px;padding:10px 14px max(15px,env(safe-area-inset-bottom))}
 .photo-viewer-bottom>p{font-size:11px;text-align:center;max-width:300px}
 .quick-view-header>p{font-size:12px}.quick-view-navigation{gap:4px}
}
@media(max-width:360px){
 .catalog-page[data-catalog-category] .catalog-filter-toggle{padding:9px 10px;gap:5px}
 .catalog-view-toggle button{padding:8px 7px;gap:4px}
 .catalog-view-toggle svg{width:15px;height:15px}
 .catalog-filter-toolbar{gap:8px}
}
@media(prefers-reduced-motion:reduce){.catalog-browse-intro *,.catalog-photo-viewer *{transition:none!important}}
