.ld-search-discovery,.ld-predictive-groups{--ld-search-green:#173f35;--ld-search-gold:#b59759;--ld-search-rule:#ded9cd}
.ld-search-discovery{margin-bottom:28px}
.ld-full-collections[hidden]{display:none}
.ld-search-discovery:has(.ld-full-collections[hidden]){margin-bottom:0}
.ld-full-collections h2,.ld-search-products-title{color:#173f35;text-align:center;margin:0 0 18px}
.ld-search-collection-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;margin:0;list-style:none}
.ld-search-collection{min-width:0;border:1px solid var(--ld-search-gold);background:#fff}
.ld-search-collection__link{display:flex;align-items:center;gap:14px;padding:14px;color:var(--ld-search-green);text-decoration:none;height:100%;box-sizing:border-box}
.ld-search-collection__link img{width:96px;height:96px;flex:0 0 96px;object-fit:contain;transform:none;background:#fff}
.ld-search-collection__copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.ld-search-collection__title{font-family:var(--font-heading-family);font-size:2rem;line-height:1.2;text-wrap:balance}
.ld-search-collection__cta{font-size:1.2rem;text-decoration:underline;text-underline-offset:4px}
.ld-search-collection__status{color:#8b3333;font-size:1.1rem;line-height:1.4}
.ld-search-collection__link:hover,.ld-search-collection[aria-selected=true]>.ld-search-collection__link{background:#f8f6f2}
.ld-search-collection__link:focus-visible{outline:2px solid var(--ld-search-green);outline-offset:3px}
.ld-predictive-groups .predictive-search__results-groups-wrapper{display:flex;flex-direction:column;gap:0;padding-bottom:0}
.ld-predictive-groups .predictive-search__result-group:first-child{flex:auto}
.ld-predictive-groups .predictive-search__result-group .predictive-search__pages-wrapper{display:none}
.ld-predictive-groups .predictive-search__result-group:last-child .predictive-search__pages-wrapper{display:block}
.ld-predictive-collections{padding:0 16px 12px;border-bottom:1px solid var(--ld-search-rule)}
.ld-predictive-collections .predictive-search__heading{margin:0 0 10px;color:var(--ld-search-green)}
.ld-predictive-collections .ld-search-collection-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ld-predictive-collections .ld-search-collection__link{padding:8px;gap:8px}
.ld-predictive-collections .ld-search-collection__link img{width:56px;height:64px;flex-basis:56px}
.ld-predictive-collections .ld-search-collection__title{font-size:1.6rem}
.ld-predictive-collections .ld-search-collection__copy{gap:4px}
.ld-predictive-collections .ld-search-collection__status{font-size:1rem}
.ld-predictive-groups #predictive-search-results-products-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ld-predictive-groups .predictive-search__item-heading{font-size:1.5rem}
.template-search:has([data-ld-search-discovery]) .template-search__header{margin-bottom:24px}
.template-search:has([data-ld-search-discovery]) .template-search__search{margin-bottom:24px}
@media(max-width:749px){
 .ld-search-collection-list,.ld-predictive-collections .ld-search-collection-list{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px}
 .ld-search-collection-list>.ld-search-collection{flex:0 0 85%;scroll-snap-align:start}
 .ld-search-collection__link img{width:82px;height:96px;flex-basis:82px}
 .ld-predictive-collections .ld-search-collection-list>.ld-search-collection{flex-basis:82%}
 .ld-predictive-collections .ld-search-collection__link img{width:64px;height:76px;flex-basis:64px}
 .ld-predictive-groups #predictive-search-results-products-list{grid-template-columns:1fr}
 .ld-search-collection__title{font-size:1.9rem}
 .ld-search-discovery{margin-bottom:22px}
}


@media(min-width:750px){
 .ld-full-collections .ld-search-collection-list:has(>li:only-child){grid-template-columns:minmax(0,560px);justify-content:center}
 .ld-full-collections .ld-search-collection-list:has(>li:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:1000px;margin-inline:auto}
 .ld-predictive-collections .ld-search-collection-list:has(>li:only-child){grid-template-columns:minmax(0,420px)}
 .ld-predictive-collections .ld-search-collection-list:has(>li:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}

