/* Discovery panel: same full-width surface, inset and divider as the editorial mega-menu. */
.iota-header-discovery-search[hidden],.iota-header-discovery-search [hidden]{display:none!important}
.iota-header .iota-header-discovery-search{position:fixed;inset:var(--search-top,80px) 0 auto;max-height:var(--search-height,80vh);background:#fff;color:var(--iota-text,#272727);z-index:120;border-top:1px solid var(--iota-border,#dedbd5);box-shadow:0 14px 24px -14px #00000030;overflow:auto;overscroll-behavior:contain;text-align:left;text-transform:none;letter-spacing:normal;scrollbar-width:thin;scrollbar-color:#272727 transparent}
.iota-header-discovery-search .iota-search-inner{max-width:1800px;margin:auto;padding:clamp(24px,3vw,48px) var(--iota-header-inset,var(--iota-gutter,24px));display:flex;flex-direction:column;gap:20px}
.iota-header-discovery-search .iota-live-search-form{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--iota-border,#dedbd5);margin:0;padding:0 0 12px}
body .iota-header-discovery-search .iota-live-search-form input[type=search]{flex:1;min-width:0;width:100%;height:auto!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:6px 0!important;margin:0!important;font:400 clamp(20px,2.3vw,32px)/1.4 var(--iota-heading,Georgia,serif)!important;color:inherit!important;outline-offset:4px;appearance:none}
.iota-live-search-form input::-webkit-search-cancel-button{display:none}
body .iota-header-discovery-search .iota-live-search-form button{background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:30px;min-height:30px;font:400 25px/1 var(--iota-body,serif)!important}
.iota-live-search-form [data-search-clear]{opacity:.65}
.iota-search-status{font:400 15px/1.5 var(--iota-body,Georgia,serif);margin:0!important}.iota-search-status:empty,.iota-search-scroll:has(.iota-search-status:empty):has(.iota-search-results:empty){display:none}
.iota-search-results{display:grid;gap:22px}.iota-search-group h2{font:400 11px/1.4 var(--iota-nav,sans-serif);letter-spacing:1px;text-transform:uppercase;color:#6a6256;margin:0 0 10px!important}
body .iota-header-discovery-search .iota-search-row{display:flex;align-items:center;gap:18px;padding:10px 12px;border-bottom:1px solid var(--iota-border,#dedbd5);color:inherit;text-decoration:none!important;white-space:normal;text-transform:none;letter-spacing:normal;font-weight:400;min-width:0}
body .iota-header-discovery-search .iota-search-row:hover,body .iota-header-discovery-search .iota-search-row:focus-visible{background:var(--iota-ivory,#f9f7f3)}
.iota-search-image{display:block;width:60px;aspect-ratio:3/4;flex:0 0 60px;background:var(--iota-ivory,#f9f7f3);overflow:hidden;border-radius:var(--iota-radius,5px)}.iota-search-image img{width:100%;height:100%;object-fit:cover;display:block}
.iota-search-copy{display:grid;gap:3px;flex:1;min-width:0}.iota-search-title{font:400 clamp(16px,1.6vw,22px)/1.35 var(--iota-heading,Georgia,serif);overflow-wrap:anywhere}.iota-search-meta{font:400 13px/1.4 var(--iota-body,Georgia,serif);color:#6a6256}.iota-search-match{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}.iota-search-arrow{font-size:19px;flex:none}
.iota-search-footer{position:sticky;bottom:0;background:#fff;padding:12px 0 0}.iota-search-footer a{font:400 15px/1.5 var(--iota-body,Georgia,serif);text-decoration:underline;text-underline-offset:4px;color:inherit}
.iota-catalogue-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:22px 0}.iota-catalogue-summary .iota-catalogue-count{margin:0!important}.iota-active-filters{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 16px;min-width:0;font:400 14px/1.5 var(--iota-body,Lora,Georgia,serif);color:#000}.iota-active-filter{display:inline-flex;align-items:center;gap:6px;text-decoration:none!important;color:inherit!important;max-width:100%;overflow-wrap:anywhere}.iota-active-filter:hover:not(.is-colour)>span:first-child{text-decoration:underline;text-underline-offset:3px}.iota-active-filter .iota-filter-x{width:15px;height:15px;flex:none;display:block;text-decoration:none!important}.iota-active-dot{display:grid;place-items:center;width:19px;height:19px;background:var(--swatch);border:1px solid #0002;border-radius:50%;position:relative}.iota-active-dot .iota-filter-x{opacity:0;color:white;filter:drop-shadow(0 0 1px #0007);width:15px;height:15px}.iota-active-filter.is-colour:hover .iota-active-dot .iota-filter-x,.iota-active-filter.is-colour:focus-visible .iota-active-dot .iota-filter-x{opacity:1}.iota-active-filter.is-colour{padding:3px;margin:-3px}.iota-active-filter:focus-visible{outline:1px solid currentColor;outline-offset:3px}
@media(max-width:767px){.iota-header-discovery-search .iota-search-inner{padding:22px var(--iota-gutter,20px);gap:15px}.iota-header-discovery-search .iota-search-row{padding:8px 0;gap:12px}.iota-search-image{width:48px;flex-basis:48px}.iota-search-results{gap:16px}.iota-catalogue-summary{margin:14px 0;align-items:flex-start;flex-direction:column;gap:8px}.iota-active-filters{justify-content:flex-start}}
@media(hover:none){.iota-active-dot .iota-filter-x{opacity:1}.iota-active-filter.is-colour{padding:8px;margin:-5px}}

/* Keep the result link within the viewport; only the list scrolls. */
.iota-header-discovery-search .iota-search-inner{max-height:var(--search-height,80vh);min-height:0}.iota-header-discovery-search .iota-search-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#272727 transparent}.iota-header-discovery-search .iota-live-search-form,.iota-header-discovery-search .iota-search-footer{flex-shrink:0}.iota-search-footer{position:static}

/* Three compact rows in view; further matches scroll inside the panel. */
.iota-header-discovery-search .iota-search-scroll{max-height:320px;scrollbar-width:thin;scrollbar-color:#000 #e4e0d8;padding-right:8px;scrollbar-gutter:stable;}
.iota-header-discovery-search .iota-search-scroll::-webkit-scrollbar{width:3px}.iota-header-discovery-search .iota-search-scroll::-webkit-scrollbar-thumb{background:#000}.iota-header-discovery-search .iota-search-scroll::-webkit-scrollbar-track{background:#e4e0d8}
.iota-search-arrow{display:grid;place-items:center;width:24px}.iota-search-arrow svg{display:block;width:18px;height:18px}
@media(max-width:767px){.iota-header-discovery-search .iota-search-scroll{max-height:260px}}

/* Prevent theme-wide anchor hover rules from underlining the line icon. */
body a.iota-active-filter:is(:hover,:focus-visible,:active){text-decoration:none!important;}
.iota-active-filter.is-colour{order:1}
body .iota-header-discovery-search .iota-live-search-form button[data-search-clear]{font-size:0!important;position:relative;display:grid;place-items:center;}
.iota-live-search-form [data-search-clear]::before,.iota-live-search-form [data-search-clear]::after{content:"";position:absolute;width:14px;height:1px;background:currentColor;transform:rotate(45deg);}
.iota-live-search-form [data-search-clear]::after{transform:rotate(-45deg)}
