/* Category navigation shared by Hot, bestsellers, trending and newest designs. */
.ts-gallery-filters{box-sizing:border-box;width:calc(100% - 96px);max-width:1180px;margin:18px auto 24px;padding:20px 24px;background:#f1eee8;border:1px solid #e1dbd0;border-radius:14px;color:#302f29;font-family:Arial,Helvetica,sans-serif}
.ts-gallery-filters .ts-gallery-filters-title{margin:0 0 12px;color:#766554;font:600 10px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.ts-gallery-filters :is(.menu_categ,.ts-gallery-subfilters){display:flex;flex-wrap:wrap;gap:8px;align-items:center;list-style:none;box-sizing:border-box;min-width:0;width:100%;height:auto;margin:0;padding:0;background:transparent;border:0;text-align:left;box-shadow:none;float:none}
.ts-gallery-filters :is(.menu_categ,.ts-gallery-subfilters):hover{background:transparent}
.ts-gallery-filters li{display:block;margin:0;padding:0;border:0;float:none;max-width:100%}
.ts-gallery-filters a{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:11px 18px;border:1px solid #d8d1c5;border-radius:8px;background:transparent;color:#49463e;font:500 13px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;overflow-wrap:anywhere;transition:background-color .15s,color .15s,border-color .15s}
.ts-gallery-filters a span{font:inherit;color:inherit}
.ts-gallery-filters a:hover{background:#e6dfd4;border-color:#bba88e;color:#382d23}
.ts-gallery-filters a.is-selected{background:#292b26;border-color:#292b26;color:#fff}
.ts-gallery-filters a.is-selected:hover{background:#45483d;border-color:#45483d;color:#fff}
.ts-gallery-filters a:focus-visible{outline:2px solid #8b4934;outline-offset:3px}
.ts-gallery-filters .ts-gallery-subfilters{border-top:1px solid #ddd5c8;margin-top:16px;padding-top:16px}
.ts-gallery-subfilters a{background:#faf9f6;border-color:transparent;font-size:12px;padding:9px 14px}
@media(max-width:760px){.ts-gallery-filters{width:calc(100% - 48px);margin-block:12px 18px;padding:16px}.ts-gallery-filters :is(.menu_categ,.ts-gallery-subfilters){gap:7px}.ts-gallery-filters a{padding:10px 13px}.ts-gallery-filters .ts-gallery-subfilters{margin-top:12px;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.ts-gallery-filters a{transition:none}}

/* Unfiltered galleries start compact; native details works with keyboard and without JavaScript. */
.ts-gallery-filters{padding:0;background:transparent;border:0;border-radius:0}
.ts-gallery-filter-panel{padding:0;border:0;background:transparent}
.ts-gallery-filter-panel>summary{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;box-sizing:border-box;min-height:46px;max-width:100%;padding:13px 18px;border:1px solid #d8d1c5;border-radius:9px;background:#f1eee8;color:#49463e;font:500 13px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;list-style:none}
.ts-gallery-filter-panel>summary::-webkit-details-marker{display:none}
.ts-gallery-filter-panel>summary::after{content:'';width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.ts-gallery-filter-panel>summary:hover{background:#e6dfd4;color:#382d23}
.ts-gallery-filter-panel>summary:focus-visible{outline:2px solid #8b4934;outline-offset:3px}
.ts-gallery-filter-panel[open]{background:#f1eee8;border:1px solid #e1dbd0;border-radius:14px}
.ts-gallery-filter-panel[open]>summary{display:flex;width:100%;padding:18px 24px 14px;border:0;background:transparent}
.ts-gallery-filter-panel[open]>summary::after{transform:rotate(225deg);margin-top:4px}
.ts-gallery-filter-content{padding:0 24px 20px}
@media(max-width:760px){.ts-gallery-filters{padding:0}.ts-gallery-filter-panel[open]>summary{padding:16px}.ts-gallery-filter-content{padding:0 16px 16px}}
