/* Bring the catalog navigation and products together without a full-width banner. */

/* Five products per row on desktop, with readable cards on narrower screens. */
body[data-page=catalog] #product-grid .product-card>a{display:flex;flex-direction:column;height:100%}
body[data-page=catalog] #product-grid .product-visual{flex-shrink:0;width:100%}
body[data-page=catalog] #product-grid .product-info{display:flex;flex-direction:column;flex:1;min-width:0}
body[data-page=catalog] #product-grid .price-row{margin-top:auto}
body[data-page=catalog] #product-grid :is(.brand-line,h3,.spec-summary,.price-row){overflow-wrap:anywhere}
@media(min-width:721px){
 body[data-page=catalog] #product-grid{gap:20px 14px}
 body[data-page=catalog] #product-grid .product-card{border-radius:13px 16px 12px 15px}
 body[data-page=catalog] #product-grid .product-info{padding:13px 12px 15px}
 body[data-page=catalog] #product-grid h3{font-size:20px;line-height:1.35;min-height:2.7em;text-wrap:balance}
 body[data-page=catalog] #product-grid .brand-line{font-size:10px;line-height:1.5;letter-spacing:.04em;margin-bottom:6px}
 body[data-page=catalog] #product-grid .spec-summary{font-size:12px;line-height:1.6;min-height:38px;margin:6px 0 9px}
 body[data-page=catalog] #product-grid .card-colors{gap:5px;flex-wrap:wrap;margin-bottom:10px}
 body[data-page=catalog] #product-grid .color-dot{width:12px;height:12px}
 body[data-page=catalog] #product-grid .price-row{font-size:13px;gap:6px 8px;line-height:1.5}
 body[data-page=catalog] #product-grid .stock-dot{font-size:11px}
 body[data-page=catalog] #product-grid :is(.visual-index,.visual-note){font-size:9px;left:9px}
 body[data-page=catalog] #product-grid .visual-index{top:8px}
 body[data-page=catalog] #product-grid .visual-note{bottom:9px;max-width:calc(100% - 48px)}
 body[data-page=catalog] #product-grid .card-arrow{width:27px;height:27px;right:9px;bottom:9px;font-size:16px}
}
@media(min-width:900px){body[data-page=catalog] #product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){
 body[data-page=catalog] .catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:24px}
 body[data-page=catalog] #product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1280px){body[data-page=catalog] #product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

.paper-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.paper-category-grid .category-shortcut{padding:10px;gap:10px}
.paper-category-grid .category-shortcut b{font-size:20px}
.paper-category-grid .category-shortcut .explore-art{width:68px;height:68px;flex-shrink:0}
.paper-category-grid .category-shortcut>span:last-child{margin:0;font-size:inherit;display:block}
.paper-category-art{background-size:108% 108%;background-position:center;border-radius:50%;mix-blend-mode:multiply}
.paper-child-heading{margin-top:18px}
.paper-child-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.brand-shortcuts+.browse-facets{margin-top:18px}
@media(max-width:720px){.paper-type-size-row{display:block}.paper-inline-size{margin-top:8px;border-top:1px solid #2929221a;padding-top:8px}.paper-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-category-grid .category-shortcut{flex-direction:column;gap:4px;padding:9px 5px}.paper-category-grid .category-shortcut b{font-size:17px}.paper-child-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.paper-child-grid .category-shortcut b{font-size:15px}.paper-child-grid .category-shortcut .explore-art{width:56px;height:56px}}
.brand-shortcuts{margin-top:24px;max-width:1100px}
.brand-shortcuts .shortcut-heading{margin-bottom:8px}
.brand-shortcut-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.brand-shortcut{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 3px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;cursor:pointer;min-width:0;scroll-snap-align:start}
.brand-shortcut:hover{background:#f8e9ce}
.brand-shortcut[aria-pressed=true]{border-color:#292922;background:#f7df9d;box-shadow:2px 2px 0 #292922}
.brand-shortcut:focus-visible{outline:2px solid #292922;outline-offset:2px}
.brand-art{width:80px;height:80px;display:block;border-radius:50%;overflow:hidden;mix-blend-mode:multiply}
.brand-art img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.08)}
.brand-shortcut b{font:600 13px/1.4 Arial,sans-serif;white-space:nowrap}
.brand-shortcut small{font-size:11px;opacity:.7}
@media(max-width:900px){.brand-shortcut-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:106px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:3px 3px 12px;scrollbar-width:thin}.brand-art{width:72px;height:72px}}
.catalog-heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1700px;margin:auto;padding:22px 3% 18px}
.catalog-heading-row .shelf-heading{display:block;min-height:0;height:auto;margin:0;padding:0;border:0;background:none;flex-shrink:0}
.catalog-heading-row .shelf-heading h1{font-size:34px;line-height:1.25;margin:0;display:inline;background:linear-gradient(transparent 78%,#f6cb507a 78%);padding:0 4px 2px}
.catalog-heading-row .breadcrumb{padding:0;margin:0;min-width:0;justify-content:flex-end;font-size:12px;gap:9px;flex-wrap:wrap}
.catalog-heading-row .breadcrumb a{font-size:16px}
.primary-category-shortcuts{padding:0 3% 20px}
.primary-shortcut-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;max-width:none;padding:0 0 16px;border-bottom:1px solid #29292233;scrollbar-width:thin;scrollbar-color:#bd9b56 transparent}
.primary-shortcut-grid .category-shortcut{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:flex-start;text-align:center;gap:5px;padding:8px 5px 10px;min-width:0;border:1px solid transparent;border-radius:12px;background:transparent;scroll-snap-align:start}
.primary-shortcut-grid .category-shortcut:hover,.primary-shortcut-grid .category-shortcut:focus-visible{background:#f9e8c4;border-color:#b79958}
.primary-shortcut-grid .category-shortcut .explore-art{width:76px;height:76px;flex-shrink:0}
.primary-shortcut-grid .category-shortcut b{font-size:19px;line-height:1.4}
.primary-shortcut-grid .category-shortcut small{font-size:11px;margin-top:3px}
.primary-shortcut-grid .category-shortcut>span:last-child{display:none}
.primary-shortcut-grid:focus-visible{outline:2px solid #b79958;outline-offset:4px}
@media(min-width:721px) and (max-width:1100px){.primary-shortcut-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}.primary-shortcut-grid .category-shortcut{padding-inline:2px}.primary-shortcut-grid .category-shortcut .explore-art{width:64px;height:64px}.primary-shortcut-grid .category-shortcut b{font-size:16px}}
@media(max-width:720px){
 .catalog-heading-row{align-items:flex-start;flex-direction:column;gap:8px;padding:14px 4% 12px}
 .catalog-heading-row .breadcrumb{order:-1;justify-content:flex-start;font-size:11px;gap:7px}
 .catalog-heading-row .breadcrumb a{font-size:13px}
 .catalog-heading-row .shelf-heading h1{font-size:28px}
 .primary-category-shortcuts{padding:0 4% 16px}
 .primary-shortcut-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:104px;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 0 10px}
 .primary-shortcut-grid .category-shortcut{padding:7px 4px;gap:4px}
 .primary-shortcut-grid .category-shortcut .explore-art{width:64px;height:64px}
 .primary-shortcut-grid .category-shortcut b{font-size:16px}
 .primary-shortcut-grid .category-shortcut small{font-size:10px;margin-top:2px}
}

/* Compact paper filters: shared rules follow the base category styles. */
.paper-compact-filters{padding-bottom:20px}
.paper-filter-panel{border-top:1px solid #29292255;border-bottom:1px solid #29292255;padding:3px 0}
.paper-filter-row,.paper-compact-filters .brand-shortcuts{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px;padding:9px 0;max-width:none;margin:0}.paper-inline-size{min-width:0;border-top:1px solid #2929221a}.paper-inline-size .browse-facet{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px}.paper-inline-size .facet-options{flex-wrap:nowrap;overflow-x:auto;min-width:0}.paper-inline-size .facet-option{display:inline-flex;align-items:center;gap:6px}.paper-inline-size .facet-option small{display:none}.paper-inline-size .facet-option.is-popular{border-color:#a98a47;background:#fbf0cf}.paper-inline-size .facet-option.is-popular small{display:inline-block;padding:2px 5px;border-radius:8px;background:#b95e3b;color:#fff;font-size:7px;line-height:1;letter-spacing:.06em;text-transform:uppercase}.paper-inline-size .facet-option[aria-pressed=true]{border-color:#9f8550;background:#f7dfa2;box-shadow:none}
.paper-filter-row+.paper-filter-row,.paper-compact-filters .brand-shortcuts,.paper-compact-filters .browse-facets{border-top:1px solid #2929221a}
.paper-row-label h2,.paper-compact-filters .shortcut-heading h2,.paper-compact-filters .browse-facet h2{font:17px/1.4 'Highway WenKai','Highway Hand',sans-serif;margin:0}
.paper-row-label,.paper-compact-filters .shortcut-heading,.paper-compact-filters .browse-facet h2{min-width:0;overflow-wrap:anywhere}
.paper-row-reset,.paper-compact-filters .shortcut-heading .reset-button{display:inline-block;font-size:12px;line-height:1.5;margin-top:3px;text-underline-offset:3px}
.paper-row-reset[aria-current=page]{text-decoration:underline}
.paper-compact-filters .paper-category-grid{display:flex;gap:9px;max-width:none;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c6b997 transparent;padding:3px}
.paper-compact-filters .paper-category-grid .category-shortcut{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;gap:9px;flex:0 0 auto;min-height:48px;padding:4px 13px 4px 5px;border:1px solid transparent;border-radius:9px;background:transparent;text-align:left}
.paper-compact-filters .paper-category-grid .category-shortcut:hover{background:#f5eacb}
.paper-compact-filters .paper-category-grid .category-shortcut[aria-current=page]{background:#f7dfa2;border-color:#9f8550}
.paper-compact-filters .paper-category-grid .category-shortcut:focus-visible{outline:2px solid #167da8;outline-offset:0}
.paper-compact-filters .paper-category-grid .category-shortcut .explore-art{width:40px;height:40px}
.paper-compact-filters .paper-category-grid .category-shortcut b{font-size:18px;white-space:nowrap}
.paper-compact-filters .paper-child-grid .category-shortcut .explore-art{width:32px;height:32px}
.paper-compact-filters .paper-child-grid .category-shortcut{min-height:44px}
.paper-compact-filters .paper-child-grid .category-shortcut b{font-size:16px}
.paper-compact-filters .category-shortcut small,.paper-compact-filters .brand-shortcut small{display:none}
.paper-compact-filters .brand-shortcuts .shortcut-heading{display:block;margin:0}
.paper-compact-filters .brand-shortcut-grid{display:flex;gap:9px;overflow-x:auto;min-width:0;padding:3px;scrollbar-width:thin;scrollbar-color:#c6b997 transparent;overscroll-behavior-x:contain}
.paper-compact-filters .brand-shortcut{flex:0 0 90px;padding:4px 5px;gap:3px;border-radius:9px}
.paper-compact-filters .brand-art{width:48px;height:48px}
.paper-compact-filters .brand-shortcut b{font-size:11px}
.paper-compact-filters .brand-shortcut[aria-pressed=true]{box-shadow:none;border-color:#9f8550}
.paper-compact-filters .browse-facets{padding:10px 0 3px;margin:0;max-width:none;border-right:0;border-left:0;border-bottom:0;border-radius:0;background:none}
.paper-compact-filters .browse-facet{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px}
.paper-compact-filters .facet-options{flex-wrap:nowrap;overflow-x:auto;min-width:0;padding:3px;gap:7px;scrollbar-width:thin;scrollbar-color:#c6b997 transparent;overscroll-behavior-x:contain}
.paper-compact-filters .facet-option{flex-shrink:0;min-height:38px;padding:5px 12px;font-size:14px;border:1px solid #bdae90;border-radius:7px;white-space:nowrap}
.paper-compact-filters .facet-option[aria-pressed=true]{box-shadow:none;border-color:#9f8550;background:#f7dfa2}
.paper-inline-size .facet-option{gap:0;overflow:hidden;transition:max-width .3s ease,background-color .2s ease,border-color .2s ease}.paper-inline-size .facet-option.has-size-detail{max-width:98px}.paper-inline-size .facet-size-main{flex:0 0 auto}.paper-inline-size .facet-size-detail{display:inline-block;max-width:0;margin-left:0;overflow:hidden;opacity:0;transform:translateX(-5px);white-space:nowrap;transition:max-width .3s ease,margin-left .3s ease,opacity .2s ease,transform .3s ease}.paper-inline-size .facet-option.has-size-detail:hover,.paper-inline-size .facet-option.has-size-detail:focus-visible,.paper-inline-size .facet-option.has-size-detail[aria-pressed=true]{max-width:280px}.paper-inline-size .facet-option.has-size-detail:hover .facet-size-detail,.paper-inline-size .facet-option.has-size-detail:focus-visible .facet-size-detail,.paper-inline-size .facet-option.has-size-detail[aria-pressed=true] .facet-size-detail{max-width:180px;margin-left:8px;opacity:.72;transform:none}.paper-inline-size .facet-option.is-popular small{margin-left:7px}
.paper-size-help{margin:3px 0 6px 99px;color:var(--muted);font-size:11px}
.paper-size-help summary{cursor:pointer;width:fit-content;padding:3px 0}
.paper-size-help .facet-note{margin:5px 0 8px;font-size:12px}
@media(max-width:720px){
 .paper-filter-row,.paper-compact-filters .brand-shortcuts,.paper-compact-filters .browse-facet{grid-template-columns:56px minmax(0,1fr);gap:5px}
 .paper-filter-row,.paper-compact-filters .brand-shortcuts{padding:6px 0}
 .paper-row-label h2,.paper-compact-filters .shortcut-heading h2,.paper-compact-filters .browse-facet h2{font-size:15px}
 .paper-compact-filters .paper-category-grid{gap:5px}
 .paper-compact-filters .paper-category-grid .category-shortcut{gap:5px;padding-right:9px}
 .paper-compact-filters .paper-category-grid .category-shortcut b{font-size:16px}
 .paper-compact-filters .paper-child-grid .category-shortcut b{font-size:15px}
 .paper-compact-filters .brand-shortcut-grid{gap:3px}
 .paper-compact-filters .brand-shortcut{flex-basis:77px}
 .paper-compact-filters .brand-art{width:44px;height:44px}
 .paper-compact-filters .facet-option{font-size:13px;min-height:44px}
 .paper-size-help{margin-left:64px}
}
