/* Shared search overlay; styles remain scoped to the widget and existing mobile search slot. */
#search-app.fleury-search-preview,#suggestions.fleury-preview-suggestions{--ink:#190e6f;--muted:#626579;--line:#dedeea;--pale:#edf1ff;color:var(--ink);font:13px/1.5 Verdana,Arial,sans-serif;text-align:left}
#search-app.fleury-search-preview{box-sizing:border-box;position:fixed;z-index:2147483000;max-width:1440px;margin:0;padding:14px;background:#F3EAC5;border:1px solid #d1c7a7;border-top:3px solid #3366ff;border-radius:8px;box-shadow:0 14px 34px #190e6f24;overflow:auto;overscroll-behavior:contain}
#search-app.fleury-search-preview *,#suggestions.fleury-preview-suggestions *{box-sizing:border-box}
#search-app.fleury-search-preview[hidden],#search-app.fleury-search-preview [hidden],#suggestions.fleury-preview-suggestions[hidden]{display:none!important}
#search-app.fleury-search-preview h1{font:600 24px/1.3 Verdana,Arial,sans-serif;margin:0 0 20px;color:var(--ink)}
#search-app.fleury-search-preview h2{font:600 18px/1.4 Verdana,Arial,sans-serif;margin:0;color:var(--ink)}
#search-app.fleury-search-preview h3{font:600 14px/1.45 Verdana,Arial,sans-serif;margin:0 0 12px;color:var(--ink)}
#search-app.fleury-search-preview p{margin:8px 0 16px}#search-app.fleury-search-preview .small{font-size:11px}#search-app.fleury-search-preview .muted{color:var(--muted)}
.fleury-preview-toolbar .preview-banner{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#f7e698;padding:8px 12px;margin:0 0 18px;border-left:4px solid #ff8a00;border-radius:6px}
.fleury-preview-toolbar .preview-banner p{margin:4px 0 0;font-size:11px}.fleury-preview-toolbar .preview-banner nav{display:flex;gap:14px;margin-left:auto}.fleury-preview-toolbar .preview-banner a{color:var(--ink)}
.fleury-preview-toolbar .preview-banner a[aria-current]{font-weight:bold;text-decoration-thickness:3px}#search-app.fleury-search-preview form{margin:0}
.fleury-preview-toolbar{font:12px/1.5 Verdana,Arial,sans-serif;color:#190e6f;--ink:#190e6f;margin:16px 12px}
.fleury-preview-toolbar form{margin:0}
#search-app.fleury-search-preview .search-overlay-header{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;top:-14px;z-index:2;margin:-14px -14px 0;padding:8px 14px;background:#F3EAC5;border-bottom:1px solid #d1c7a7}
#search-app.fleury-search-preview .search-overlay-header strong{font-size:15px}
#search-app.fleury-search-preview #search-close{flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font:28px/1 Arial,sans-serif;cursor:pointer}
#search-app.fleury-search-preview #search-intro{padding:12px 0 0}
#search-app.fleury-search-preview #search-intro p{margin:8px 0}
#search-app.fleury-search-preview .search-filters{border-bottom:1px solid var(--line);padding:8px 0 14px;margin-bottom:18px}
#search-app.fleury-search-preview .search-filters summary{cursor:pointer;font-weight:bold;min-height:36px;padding:6px 0}
#search-app.fleury-search-preview #search-form{display:block;padding:0;background:transparent}
#search-app.fleury-search-preview .filter-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:12px}
#search-app.fleury-search-preview .search-notes{font-size:11px;color:var(--muted);margin:12px 0}
#search-app.fleury-search-preview .search-notes summary{cursor:pointer}
#search-app.fleury-search-preview .result-heading h1{margin:0}
.fleury-preview-native-search{display:block!important;margin:12px 16px!important}
.fleury-preview-native-search input[id="searchBoxNeu"]{box-sizing:border-box;width:100%!important;max-width:100%;min-height:44px;padding:10px;border:1px solid #c8c9dc;border-radius:4px;background:#fff;font:16px Verdana,Arial,sans-serif;color:#190e6f}
#search-app.fleury-search-preview label{display:block;min-width:0;font-size:12px;color:var(--ink)}
#search-app.fleury-search-preview input,#search-app.fleury-search-preview select{width:100%;min-width:0;min-height:44px;background:#fff;color:var(--ink);border:1px solid #c8c9dc;border-radius:6px;padding:10px;font:16px Verdana,Arial,sans-serif;margin:6px 0 0}
#search-app.fleury-search-preview .button,#suggestions.fleury-preview-suggestions .button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;background:#3366ff;color:#fff;border:1px solid #3366ff;border-radius:6px;font:600 12px/1.4 Verdana,Arial,sans-serif;text-decoration:none;text-align:center;cursor:pointer}
#search-app.fleury-search-preview .button:hover,#suggestions.fleury-preview-suggestions .button:hover{background:#214ed5;color:#fff}
#search-app.fleury-search-preview .button.secondary{background:#fff;color:var(--ink);border-color:#bfc7ec}
.fleury-preview-toolbar .text-button,#search-app.fleury-search-preview .text-button{border:0;background:transparent;color:#190e6f;padding:10px 0;cursor:pointer;font:12px Verdana,Arial,sans-serif;text-decoration:underline}
#search-app.fleury-search-preview .filter-grid{display:grid;grid-template-columns:1.6fr 1.2fr 1fr 1fr;gap:12px;margin-top:16px}
#search-app.fleury-search-preview .notice{padding:14px;background:#fff4c4;border:1px solid #e7d58b;border-radius:6px;margin:16px 0;color:#3b345f}
#search-app.fleury-search-preview .notice.error{background:#fff0eb;color:#843720;border-color:#eabfac}
#search-app.fleury-search-preview .notice a,#suggestions.fleury-preview-suggestions .suggestion-message a{color:var(--ink);font-weight:bold}
#search-app.fleury-search-preview .result-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px}
#search-app.fleury-search-preview .result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#search-app.fleury-search-preview .product-card{min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
#search-app.fleury-search-preview .product-image-wrap{display:grid;place-items:center;height:170px;padding:16px;border-bottom:1px solid #ededf5}
#search-app.fleury-search-preview .product-image-wrap img{width:100%;height:138px;object-fit:contain}
#search-app.fleury-search-preview .product-content{padding:14px;min-width:0;overflow-wrap:anywhere}
#search-app.fleury-search-preview .product-category,#search-app.fleury-search-preview .product-sku{font-size:10px;color:var(--muted);margin-bottom:10px}
#search-app.fleury-search-preview .product-meta{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;margin:15px 0}
#search-app.fleury-search-preview .price{font-weight:bold;font-size:16px}#search-app.fleury-search-preview .reviews{font-size:10px;color:var(--muted)}#search-app.fleury-search-preview .star{color:#936400}
#search-app.fleury-search-preview .cart-button{width:100%;margin-bottom:12px;white-space:normal}
#search-app.fleury-search-preview .product-link{color:var(--ink);font-size:11px;text-decoration:underline}
#search-app.fleury-search-preview .clearance-label,#suggestions.fleury-preview-suggestions .clearance-label{display:inline-block;background:#f7e698;border:1px solid #e5c552;color:#51400d;padding:2px 6px;font-size:10px;border-radius:3px;margin-bottom:7px}
#search-app.fleury-search-preview .category-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:0}
#search-app.fleury-search-preview .category-grid>li{min-width:0;list-style:none}
#search-app.fleury-search-preview .category-link,#suggestions.fleury-preview-suggestions .category-suggestion{display:flex;justify-content:space-between;align-items:center;gap:10px;height:100%;padding:13px;background:#fff;border:1px solid var(--line);border-left:3px solid #3366ff;border-radius:6px;text-decoration:none;color:var(--ink)}
#search-app.fleury-search-preview .category-label,#suggestions.fleury-preview-suggestions .category-label{overflow-wrap:anywhere;min-width:0}
#search-app.fleury-search-preview .category-label strong,#suggestions.fleury-preview-suggestions .category-label strong{display:block;font-size:12px}
#search-app.fleury-search-preview .category-label small,#suggestions.fleury-preview-suggestions .category-label small{display:block;font-size:10px;color:var(--muted);margin-top:4px}
#search-app.fleury-search-preview .category-arrow,#suggestions.fleury-preview-suggestions .category-arrow{flex-shrink:0;color:#3366ff;font-size:20px}
#search-app.fleury-search-preview .pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:15px;margin-top:22px}
#search-app.fleury-search-preview button:disabled{opacity:.5;cursor:not-allowed}
#search-app.fleury-search-preview :focus-visible,#suggestions.fleury-preview-suggestions :focus-visible{outline:3px solid #ff8a00;outline-offset:3px}
#suggestions.fleury-preview-suggestions{box-sizing:border-box;display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;padding:12px 0 0;background:transparent}
#suggestions.fleury-preview-suggestions .suggestion-group{min-width:0}#suggestions.fleury-preview-suggestions .suggestion-group--products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#suggestions.fleury-preview-suggestions .suggestion-group--products:first-child,#suggestions.fleury-preview-suggestions .suggestion-group--categories:only-child{grid-column:1/-1}
#suggestions.fleury-preview-suggestions .suggestion-group-title{grid-column:1/-1;font:600 11px Verdana,Arial,sans-serif;border-bottom:2px solid #ff8a00;padding:5px 0 10px;margin:0 0 8px}
#suggestions.fleury-preview-suggestions .category-suggestion{height:auto;margin-bottom:8px;background:#fffaf0;padding:10px}
#suggestions.fleury-preview-suggestions .suggestion-product-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}
#suggestions.fleury-preview-suggestions .suggestion{color:var(--ink)}#suggestions.fleury-preview-suggestions .suggestion:hover,#suggestions.fleury-preview-suggestions .suggestion:focus{background:#edf1ff}
#suggestions.fleury-preview-suggestions .product-suggestion{display:block;flex:1;border:0;background:#fff;text-align:left;padding:10px;cursor:pointer;min-width:0;text-decoration:none}
#suggestions.fleury-preview-suggestions .product-suggestion>img{width:100%;height:85px;object-fit:contain;display:block;margin-bottom:8px}
#suggestions.fleury-preview-suggestions .product-suggestion strong{display:block;font:600 12px/1.5 Verdana,Arial,sans-serif;overflow-wrap:anywhere}
#suggestions.fleury-preview-suggestions .product-suggestion small{display:block;font:10px/1.5 Verdana,Arial,sans-serif;overflow-wrap:anywhere;color:var(--muted);margin-top:4px}
#suggestions.fleury-preview-suggestions .cart-button{width:calc(100% - 16px);margin:0 8px 8px;min-height:44px;font-size:11px;padding:8px}
#suggestions.fleury-preview-suggestions .suggestion-message{grid-column:1/-1;font-size:12px}
#suggestions.fleury-preview-suggestions .suggestion-all{grid-column:1/-1;min-width:0;overflow-wrap:anywhere;white-space:normal;color:#fff}
#suggestions.fleury-preview-suggestions .suggestion-all:hover,#suggestions.fleury-preview-suggestions .suggestion-all:focus{background:#214ed5;color:#fff}
.preview-landing{margin:0;background:#fffaf0;color:#190e6f;font:16px/1.6 Verdana,Arial,sans-serif}.preview-landing main{max-width:700px;margin:12vh auto;padding:24px}.preview-landing h1{font-size:25px}.preview-landing a{color:#190e6f}
@media(min-width:1440px){#search-app.fleury-search-preview .result-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1200px){#search-app.fleury-search-preview .result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:840px){#search-app.fleury-search-preview .result-grid,#search-app.fleury-search-preview .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#search-app.fleury-search-preview .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#suggestions.fleury-preview-suggestions .suggestion-group--products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#search-app.fleury-search-preview{padding:12px}#search-app.fleury-search-preview .search-overlay-header{top:-12px;margin:-12px -12px 0;padding:8px 12px}#search-app.fleury-search-preview h1{font-size:20px}#search-app.fleury-search-preview .product-image-wrap{height:125px;padding:10px}#search-app.fleury-search-preview .product-image-wrap img{height:105px}#search-app.fleury-search-preview .product-content{padding:10px}#search-app.fleury-search-preview h3{font-size:12px}#search-app.fleury-search-preview .price{font-size:14px}.fleury-preview-toolbar .preview-banner{gap:10px;padding:12px}.fleury-preview-toolbar .preview-banner nav{margin-left:0}#search-app.fleury-search-preview .result-grid{gap:10px}#suggestions.fleury-preview-suggestions{grid-template-columns:minmax(0,1fr)}#suggestions.fleury-preview-suggestions .suggestion-group--products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){#search-app.fleury-search-preview .result-grid,#search-app.fleury-search-preview .category-grid{grid-template-columns:minmax(0,1fr)}}


#search-app.fleury-search-preview .category-grid>li{width:auto;margin:0;padding:0}.fleury-preview-toolbar .preview-banner p{ text-align:left }

#search-app.fleury-search-preview #result-meta{min-width:0;overflow-wrap:anywhere}

/* Consistent cards, clear cart actions and orientation-independent size controls. */
#search-app.fleury-search-preview .dimension-filters { display:grid; grid-template-columns:minmax(180px,.75fr) repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; align-items:stretch; }
#search-app.fleury-search-preview .dimension-range, #search-app.fleury-search-preview .dimension-thickness { min-width:0; margin:0; padding:14px; border:1px solid #d9cfaf; border-radius:10px; background:#fffdf6; }
#search-app.fleury-search-preview .dimension-range legend, #search-app.fleury-search-preview .dimension-thickness legend { padding:0 6px; color:#190e6f; font:600 13px/1.5 Verdana,Arial,sans-serif; }
#search-app.fleury-search-preview .dimension-range:disabled { opacity:.55; }
#search-app.fleury-search-preview .dimension-description { margin:0 0 12px; color:#626579; font:11px/1.5 Verdana,Arial,sans-serif; text-align:left; }
#search-app.fleury-search-preview .thickness-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
#search-app.fleury-search-preview .thickness-option { position:relative; display:block; min-width:0; margin:0; padding:0; cursor:pointer; }
#search-app.fleury-search-preview .thickness-option input[type="radio"] { position:absolute; inset:0; width:100%; height:100%; min-height:44px; margin:0; padding:0; opacity:0; cursor:pointer; }
#search-app.fleury-search-preview .thickness-option span { display:flex; align-items:center; justify-content:center; min-height:44px; padding:9px 5px; border:1px solid #c8c9dc; border-radius:7px; background:#fff; color:#190e6f; font:600 13px/1.4 Verdana,Arial,sans-serif; text-align:center; white-space:nowrap; }
#search-app.fleury-search-preview .thickness-option input:checked + span { border-color:#3366ff; background:#3366ff; color:#fff; }
#search-app.fleury-search-preview .thickness-option input:hover:not(:checked):not(:disabled) + span { border-color:#3366ff; background:#edf1ff; }
#search-app.fleury-search-preview .thickness-option input:focus-visible + span { outline:3px solid #ff8a00; outline-offset:3px; }
#search-app.fleury-search-preview .thickness-option input:disabled + span { opacity:.5; }
#search-app.fleury-search-preview .dimension-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#search-app.fleury-search-preview .dimension-values > label { font:11px/1.5 Verdana,Arial,sans-serif; text-align:left; }
#search-app.fleury-search-preview .dimension-input-wrap { position:relative; display:block; margin-top:5px; }
#search-app.fleury-search-preview .dimension-values input { width:100%; min-width:0; min-height:44px; margin:0; padding:10px 36px 10px 12px; border-radius:7px; font-size:16px; appearance:textfield; -moz-appearance:textfield; }
#search-app.fleury-search-preview .dimension-values input::-webkit-outer-spin-button, #search-app.fleury-search-preview .dimension-values input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
#search-app.fleury-search-preview .dimension-unit { position:absolute; right:12px; top:50%; transform:translateY(-50%); pointer-events:none; color:#626579; font:12px/1 Verdana,Arial,sans-serif; }
#search-app.fleury-search-preview .dimension-help { margin:12px 0 0; line-height:1.6; }
#search-app.fleury-search-preview .dimension-sliders { position:relative; height:44px; margin:8px 10px 0; background:linear-gradient(to right,#cfc9b5 0 var(--range-start,0%),#3366ff var(--range-start,0%) var(--range-end,100%),#cfc9b5 var(--range-end,100%) 100%) center/100% 5px no-repeat; }
#search-app.fleury-search-preview .dimension-sliders label { position:absolute; inset:0; margin:0; padding:0; pointer-events:none; }
#search-app.fleury-search-preview .range-caption { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
#search-app.fleury-search-preview .dimension-sliders input[type="range"] { appearance:none; -webkit-appearance:none; position:absolute; inset:0; margin:0; padding:0; width:100%; min-height:44px; height:44px; border:0; outline-offset:0; background:transparent; pointer-events:none; }
#search-app.fleury-search-preview .dimension-sliders input[type="range"]::-webkit-slider-runnable-track { height:5px; background:transparent; }
#search-app.fleury-search-preview .dimension-sliders input[type="range"]::-moz-range-track { height:5px; background:transparent; }
#search-app.fleury-search-preview .dimension-sliders input[type="range"]::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; height:22px; width:22px; margin-top:-8.5px; border-radius:50%; border:2px solid #fff; background:#3366ff; box-shadow:0 1px 4px #190e6f55; cursor:ew-resize; pointer-events:auto; }
#search-app.fleury-search-preview .dimension-sliders input[type="range"]::-moz-range-thumb { height:18px; width:18px; border-radius:50%; border:2px solid #fff; background:#3366ff; box-shadow:0 1px 4px #190e6f55; cursor:ew-resize; pointer-events:auto; }
#search-app.fleury-search-preview .product-card { display:flex; flex-direction:column; text-align:left; height:100%; }
#search-app.fleury-search-preview .product-image-wrap { position:relative; flex-shrink:0; }
#search-app.fleury-search-preview .product-image-wrap > .clearance-label { position:absolute; left:8px; bottom:5px; margin:0; }
#search-app.fleury-search-preview .product-content { display:flex; flex-direction:column; flex:1; text-align:left; }
#search-app.fleury-search-preview .product-category { height:3em; min-height:3em; line-height:1.5; margin:0 0 8px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
#search-app.fleury-search-preview .product-content h3 { height:4.5em; min-height:4.5em; margin:0 0 12px; font-size:14px; line-height:1.5; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; text-align:left; }
#search-app.fleury-search-preview .product-meta { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; flex-wrap:nowrap; gap:4px; margin:0 0 12px; text-align:left; }
#search-app.fleury-search-preview .price { min-height:24px; font:700 16px/1.5 Verdana,Arial,sans-serif; color:#190e6f; white-space:nowrap; }
#search-app.fleury-search-preview .reviews { display:block; min-height:15px; font:10px/1.5 Verdana,Arial,sans-serif; }
#search-app.fleury-search-preview .product-actions { display:flex; flex-direction:column; justify-content:flex-end; min-height:80px; gap:10px; margin-top:auto; }
#search-app.fleury-search-preview .product-actions .cart-button { margin:0; }
#search-app.fleury-search-preview .product-actions .product-link { min-height:17px; margin:0; line-height:1.5; }
#search-app.fleury-search-preview .suggestion-product-card { display:flex; flex-direction:column; text-align:left; }
#search-app.fleury-search-preview .suggestion-product-card .product-suggestion { position:relative; flex:none; display:block; height:auto; }
#search-app.fleury-search-preview .suggestion-product-card .product-suggestion strong { height:4.5em; min-height:4.5em; line-height:1.5; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; text-align:left; }
#search-app.fleury-search-preview .suggestion-product-card .product-suggestion .clearance-label { position:absolute; top:72px; left:10px; margin:0; }
#search-app.fleury-search-preview .suggestion-product-card .product-meta { padding:0 10px; margin:0 0 8px; }
#search-app.fleury-search-preview .suggestion-product-card .price { font-size:14px; min-height:21px; }
#search-app.fleury-search-preview .suggestion-product-card .cart-button { margin-top:auto; }
#search-app.fleury-search-preview .cart-button { min-height:48px; }
#search-app.fleury-search-preview a.button.cart-button,#search-app.fleury-search-preview a.button.cart-button:link,#search-app.fleury-search-preview a.button.cart-button:visited { background:#3366ff!important; border-color:#3366ff!important; color:#fff!important; text-decoration:none!important; font-weight:600!important; text-shadow:none!important; }
#search-app.fleury-search-preview a.button.cart-button:hover,#search-app.fleury-search-preview a.button.cart-button:focus,#search-app.fleury-search-preview a.button.cart-button:active { background:#193ca7!important; border-color:#193ca7!important; color:#fff!important; text-decoration:none!important; }
@media(max-width:700px) {
 #search-app.fleury-search-preview .dimension-filters { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 #search-app.fleury-search-preview .thickness-filter { grid-column:1/-1; }
 #search-app.fleury-search-preview .product-content h3 { font-size:12px; height:6em; min-height:6em; -webkit-line-clamp:4; }
 #search-app.fleury-search-preview .suggestion-product-card .product-suggestion strong { height:6em; min-height:6em; -webkit-line-clamp:4; }
 #search-app.fleury-search-preview .dimension-range, #search-app.fleury-search-preview .dimension-thickness { padding:12px; }
 #search-app.fleury-search-preview .dimension-values { gap:6px; }
}
@media(max-width:430px) { #search-app.fleury-search-preview .dimension-filters { grid-template-columns:minmax(0,1fr); } }

#search-app.fleury-search-preview #suggestions .suggestion-product-card .product-suggestion{flex:none;height:auto;background:#fff}
#search-app.fleury-search-preview #suggestions .suggestion-product-card .product-suggestion:hover{background:#f6f3e8}
#search-app.fleury-search-preview #suggestions .suggestion-product-card .cart-button{margin-top:auto;min-height:48px}

/* Keep category shortcuts compact above mobile product suggestions. */
@media(max-width:520px){
#suggestions.fleury-preview-suggestions .suggestion-group--categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;grid-auto-rows:1fr;gap:8px;padding:0}
#suggestions.fleury-preview-suggestions .suggestion-group--categories .suggestion-group-title{grid-column:1/-1;margin-bottom:0}
#suggestions.fleury-preview-suggestions .suggestion-group--categories .category-suggestion{height:100%;margin:0;padding:8px;gap:5px}
#suggestions.fleury-preview-suggestions .suggestion-group--categories .category-path{display:none}
#suggestions.fleury-preview-suggestions .suggestion-group--categories .category-label{display:flex;flex-direction:column;align-self:stretch}
#suggestions.fleury-preview-suggestions .suggestion-group--categories .category-count{margin-top:auto;padding-top:4px;font-size:9px;line-height:1.4}
}

/* The desktop template globally centres elements with auto margins; cards must fill their grid cells. */
#search-app.fleury-search-preview .product-card,#search-app.fleury-search-preview .suggestion-product-card{width:100%;margin:0}
#search-app.fleury-search-preview .product-content,#search-app.fleury-search-preview .product-image-wrap,#search-app.fleury-search-preview .product-actions,#search-app.fleury-search-preview .product-suggestion{width:100%;margin-left:0;margin-right:0}
#search-app.fleury-search-preview .product-meta>.price,#search-app.fleury-search-preview .product-meta>.reviews{margin-left:0;margin-right:0}

/* A confirmed missing standard canvas leads to the same size form as the menu. */
#search-app.fleury-search-preview .custom-size-notice{padding:16px;border:1px solid #e5c577;border-radius:10px;background:#fff8df;color:#171153;text-align:left}
#search-app.fleury-search-preview .custom-size-title{display:block;font-size:16px;line-height:1.4}
#search-app.fleury-search-preview .custom-size-notice p{margin:8px 0 12px;line-height:1.5}
#search-app.fleury-search-preview .custom-size-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;white-space:normal;text-align:center;font-size:16px;line-height:1.35;box-sizing:border-box}
#search-app.fleury-search-preview .custom-size-action:focus-visible{outline:3px solid #171153;outline-offset:3px}

/* The mobile dialog tracks visualViewport; only its results scroll above the keyboard. */
#search-app[data-view="mobile"][data-mobile-dialog="1"] {
    --ink: #171447;
    --muted: #5e596a;
    --line: #ded9cf;
    --paper: #f7f4ec;
    --gold: #f5bc43;
    --gutter: clamp(10px, 3.3vw, 16px);
    --thumb: clamp(74px, 25vw, 108px);
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: none;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-top: 3px solid var(--ink);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
    color-scheme: light;
    font: 15px/1.4 "Open Sans", "Segoe UI", Arial, sans-serif;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] .search-overlay-header {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    flex: none;
    gap: 2px 8px;
    margin: 0;
    padding: 3px var(--gutter) 12px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-label {
    grid-area: 1 / 1;
    margin: 0;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-close {
    grid-area: 1 / 2;
    justify-self: end;
    margin: 0 -5px 0 0;
    padding: 0;
    color: var(--ink);
    font: 32px/1 Arial, sans-serif;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-form { position: relative; grid-column: 1 / -1; min-width: 0; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] .search-mobile-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 19px;
    height: 19px;
    color: var(--muted);
    transform: translateY(-50%);
    pointer-events: none;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-query {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 44px 8px 40px;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    caret-color: var(--ink);
    font: inherit;
    font-size: 18px;
    appearance: none;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-query:focus { border-color: var(--gold); outline: none; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-query::-webkit-search-cancel-button { -webkit-appearance: none; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-clear {
    position: absolute;
    inset: 0 0 0 auto;
    display: grid;
    width: 44px;
    min-height: 44px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: radial-gradient(circle at center, var(--muted) 0 8px, transparent 8.5px);
    color: #fff;
    font: 700 14px/1 Arial, sans-serif;
    cursor: pointer;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--gutter) 10px;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-actions {
    flex: none;
    padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
    background: var(--paper);
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-all {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-weight: 700;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions {
    --ink: inherit;
    --muted: inherit;
    --line: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
    font: inherit;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .suggestion-group-title {
    margin: 0;
    padding: 0 0 2px;
    border: 0;
    color: var(--ink);
    font: inherit;
    font-size: 17px;
    font-weight: 750;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .suggestion-group--categories { display: block; padding: 0; overflow: visible; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-toggle {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-toggle::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171447' stroke-width='1.6'%3E%3Crect x='1' y='1' width='7' height='7' rx='1'/%3E%3Crect x='12' y='1' width='7' height='7' rx='1'/%3E%3Crect x='1' y='12' width='7' height='7' rx='1'/%3E%3Crect x='12' y='12' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-toggle::after,
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border: solid var(--ink);
    border-width: 0 2px 2px 0;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-toggle::after { margin-left: auto; transform: translateY(-2px) rotate(45deg); }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-suggestion-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
    padding-top: 8px;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-suggestion {
    width: 100%;
    height: 100%;
    min-height: 68px;
    gap: 5px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-label { display: flex; flex-direction: column; align-self: stretch; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-label strong { font-size: 14px; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-count { margin-top: auto; padding-top: 4px; font-size: 11px; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-arrow { color: var(--ink); }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .category-path,
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .reviews { display: none; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .suggestion-group--products { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .suggestion-product-card {
    display: block;
    flex: none;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion {
    display: grid;
    grid-template-columns: var(--thumb) minmax(0, 1fr) 12px;
    align-items: center;
    gap: 0 10px;
    width: 100%;
    padding: 6px 11px 6px 6px;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion > img {
    grid-area: 1 / 1;
    width: 100%;
    height: clamp(58px, 16.8vw, 66px);
    margin: 0;
    border-radius: 6px;
    background: #f9f8f5;
    object-fit: contain;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion > span:first-of-type { grid-column: 2; min-width: 0; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion::after { grid-area: 1 / 3; justify-self: end; transform: rotate(-45deg); }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion strong {
    height: auto;
    min-height: 0;
    color: var(--ink);
    font: 700 15px/1.28 "Open Sans", "Segoe UI", Arial, sans-serif;
    -webkit-line-clamp: 2;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-meta { padding: 0; margin: 4px 0 0; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .price { min-height: 0; color: var(--muted); font: inherit; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion .clearance-label {
    position: static;
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    max-width: 100%;
    margin: 0;
    padding: 0 4px;
    font-size: 10px;
}
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .suggestion:focus-visible,
#search-app[data-view="mobile"][data-mobile-dialog="1"] #search-mobile-actions :focus-visible,
#search-app[data-view="mobile"][data-mobile-dialog="1"] .search-overlay-header button:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
#search-app[data-view="mobile"][data-mobile-dialog="1"] #suggestions .product-suggestion:focus-visible::before { outline: 2px solid var(--ink); outline-offset: -3px; border-radius: 12px; }
@media(max-width:430px){#search-app.fleury-search-preview .custom-size-action{width:100%}}

/* Native product links cover the card; the cart action keeps its own hit area above them. */
#search-app.fleury-search-preview .product-card,#search-app.fleury-search-preview .suggestion-product-card{position:relative;isolation:isolate}
#search-app.fleury-search-preview .product-card .product-link,#search-app.fleury-search-preview .suggestion-product-card .product-suggestion{position:static!important}
#search-app.fleury-search-preview .product-card .product-link::before,#search-app.fleury-search-preview .suggestion-product-card .product-suggestion::before{content:"";position:absolute;inset:0;z-index:1;cursor:pointer}
#search-app.fleury-search-preview .product-card .cart-button,#search-app.fleury-search-preview .suggestion-product-card .cart-button{position:relative;z-index:2}
#search-app.fleury-search-preview .product-card .product-link:focus-visible::before,#search-app.fleury-search-preview .suggestion-product-card .product-suggestion:focus-visible::before{outline:3px solid #ff8a00;outline-offset:-3px;border-radius:6px}
