/* A single orbit echoes the two colours of the Yinni mark. */
.catalog-search,.brand-search{position:relative}
:is(.catalog-search,.brand-search) .search-focus-trace{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0;z-index:1}
.search-focus-trace rect{width:calc(100% - 2px);height:calc(100% - 2px);fill:none;stroke-linecap:round}
.search-focus-glow{stroke:#ef4250;stroke-width:5;stroke-dasharray:18 82;opacity:.3;filter:blur(2px)}
.search-focus-tail{stroke:#ec3949;stroke-width:2;stroke-dasharray:18 82}
.search-focus-tip{stroke:#ffcf42;stroke-width:2.5;stroke-dasharray:2.5 97.5}
:is(.catalog-search,.brand-search):focus-within{box-shadow:0 0 0 1px #92676c;border-color:#bb8389}
:focus-within > .search-focus-trace{animation:ym-trace-show 4.05s ease 1 both}
:focus-within > .search-focus-trace :is(.search-focus-glow,.search-focus-tail){animation:ym-trace-lap 4.05s linear 1 both}
:focus-within > .search-focus-trace .search-focus-tip{animation:ym-trace-tip 4.05s linear 1 both}
@keyframes ym-trace-show{0%,100%{opacity:0}5%,95%{opacity:1}}
@keyframes ym-trace-lap{from{stroke-dashoffset:0}to{stroke-dashoffset:-300}}
@keyframes ym-trace-tip{from{stroke-dashoffset:-17}to{stroke-dashoffset:-317}}
@media(prefers-reduced-motion:reduce){.search-focus-trace{display:none}}
.catalog .department-section .browse-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.browse-heading .directory-open{min-height:44px;font:600 .94rem 'Instrument Sans',sans-serif;color:#f1dfdf;display:flex;align-items:center;gap:8px;padding:0 4px}
.directory-open:hover,.directory-open:focus-visible{text-decoration:underline;text-underline-offset:4px}
.directory-open span{color:#f87a83;font-size:1.1rem}
.department-section .categories{grid-template-columns:repeat(5,minmax(0,1fr))}
.quick-departments{display:flex;flex-wrap:wrap;align-items:center;gap:0 1.25rem;margin:5px 0 16px}
.category-shortcut{min-height:44px;text-align:left;color:#d5d1cf;font:500 .93rem 'Instrument Sans',sans-serif;padding:0 1px}
.category-shortcut:hover,.category-shortcut[aria-pressed="true"]{color:#fff;text-decoration:underline;text-decoration-color:#ea5d69;text-underline-offset:6px}
.catalog .applied:not([hidden]){margin-bottom:17px}
.catalog .products{margin-top:16px}
.refine-all{width:46px}
.department-directory{width:min(680px,calc(100% - 20px))}
.directory-list{overflow:auto;overscroll-behavior:contain;margin-top:15px;padding:0 6px 2px 0;scrollbar-width:thin}
.directory-section{border-top:1px solid #393b3d;padding:15px 0 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
.directory-section h3{grid-column:1/-1;font:650 .8rem/1.3 'Instrument Sans',sans-serif;letter-spacing:.035em;color:#f6a5ab;margin:0 0 5px}
.directory-choice{min-height:42px;padding:5px 7px;text-align:left;color:#eeeae7;font:500 1rem/1.25 'Instrument Sans',sans-serif;border-radius:5px}
.directory-choice:hover,.directory-choice[aria-pressed="true"]{background:#32262a;color:#fff}
.brand-dialog .brand-option .brand-name{font:540 1.16rem/1.25 'Instrument Sans','DM Sans',sans-serif;letter-spacing:-.032em}
.brand-option[aria-pressed="true"] .brand-name::after{content:none}
.brand-option[aria-pressed="true"]::after{content:'✓';color:#fa9299}
#brand-selected{font:600 1.02rem/1.2 'Instrument Sans',sans-serif;letter-spacing:-.025em}
.p-card .price-row .price{overflow-wrap:anywhere}
@media(max-width:700px){
  .department-section .categories .category{min-width:max(72px,calc((100% - 8px)/5));flex:1 0 0}
  .quick-departments{gap:0 1rem;margin-bottom:6px}
  .quick-departments button{font-size:.86rem}
}
@media(max-width:380px){
  .directory-section{grid-template-columns:1fr}
}
.more-departments{border-top:1px solid #424144;margin-top:18px;padding-top:24px}
.more-departments h2{font:600 clamp(1.4rem,2.6vw,2rem)/1.12 'Instrument Sans',sans-serif;letter-spacing:-.04em;margin:0 0 18px}
.more-departments details{border-bottom:1px solid #353538}
.more-departments summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;cursor:pointer;list-style:none;color:#eeedeb;font:550 1.05rem/1.3 'Instrument Sans',sans-serif}
.more-departments summary::-webkit-details-marker{display:none}
.more-departments summary .ico{width:16px;height:16px}
.more-departments details[open] summary .ico{transform:rotate(180deg)}
.more-department-links{display:flex;flex-wrap:wrap;gap:2px 20px;padding:0 0 12px}
.more-department-links a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px;color:#d8cece}
