/* Persistent discovery: a reserved desktop column and a compact mobile footer. */
.store-discovery{box-sizing:border-box;position:fixed;z-index:36;background:linear-gradient(145deg,#173441,#0b202d);color:#fff8e8;border:1px solid #d3b46a;box-shadow:0 6px 24px #07131e30;font-family:var(--sans);min-width:0}
.store-discovery *{box-sizing:border-box;min-width:0}
.store-discovery-top{display:flex;align-items:center;gap:9px}
.store-discovery .lume-presenter{width:52px;height:78px;max-height:78px;object-fit:contain;filter:drop-shadow(0 0 7px #efcc7c40)}
.store-discovery-title{flex:1;font-size:.82rem;line-height:1.45}
.store-discovery-title strong{display:block;color:#f4d48e;font:500 1.15rem/1.2 var(--serif)}
.store-discovery-toggle{flex:0 0 44px;width:44px;min-height:44px;border:1px solid #d3b46a88;border-radius:8px;background:transparent;color:#fff8e8;font:700 .9rem var(--sans);cursor:pointer}
.store-discovery-nav{display:flex;gap:8px;scrollbar-width:thin;scrollbar-color:#efcc7c #183643}
.store-discovery-nav a,.store-discovery-share{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 13px;border:1px solid #d3b46a88;border-radius:9px;background:#173b48;color:#fff8e8;text-decoration:none;font:600 .78rem/1.4 var(--sans);white-space:nowrap;cursor:pointer}
.store-discovery-nav .store-discovery-primary{background:linear-gradient(125deg,#f5db9a,#e9bb5a);color:#102330;border-color:#f3d58c;box-shadow:inset 0 1px #fff7df,0 3px 0 #98732e}
.store-discovery-preview{display:flex;align-items:center;gap:10px;margin-block:14px;padding:12px;border:1px solid #d3b46a66;border-radius:10px;color:#fff8e8;text-decoration:none}
.store-discovery-preview img{width:58px;height:58px;object-fit:contain;background:#fff9ed;padding:5px;border-radius:6px}
.store-discovery-preview span{font-size:.78rem;line-height:1.55}
.store-discovery-note,.store-discovery-status{font-size:.65rem;line-height:1.5;color:#e4d4ad;margin:10px 0 0}
.store-discovery :focus-visible{outline:3px solid #ffe4a5;outline-offset:3px}
.store-discovery[hidden]{display:none!important}
.store-discovery.is-editing{visibility:hidden;pointer-events:none}
.has-store-discovery .friend-share{display:none}
.offers-motion-paused .store-discovery *{animation-play-state:paused!important;transition:none!important}
@media(min-width:1101px){
 body.has-store-discovery{padding-inline-end:276px}
 .store-discovery{right:16px;top:16px;width:244px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#efcc7c #173441;border-radius:14px;padding:15px}
 .store-discovery-nav{flex-direction:column;margin-top:14px}
 .store-discovery-share{width:100%}
 .store-discovery .offers-motion{width:100%;margin-top:10px;font-size:.7rem;color:#fff8e8}
 .store-discovery.is-compact .store-discovery-preview,.store-discovery.is-compact .store-discovery-secondary,.store-discovery.is-compact .store-discovery-note,.store-discovery.is-compact .store-discovery-title span{display:none}
 .has-store-discovery .rating-invite{right:292px}
 .has-store-discovery .site-share-trigger:not(.site-share-inline){right:292px}
}
@media(max-width:1100px){
 body.has-store-discovery{padding-bottom:calc(var(--store-bar-height,176px) + 12px)}
 .store-discovery{bottom:0;left:0;right:0;width:100%;border-radius:14px 14px 0 0;padding:7px 12px calc(7px + env(safe-area-inset-bottom))}
 .store-discovery-top{gap:9px}
 .store-discovery .lume-presenter{width:34px;height:42px;max-height:42px}
 .store-discovery-title strong{font:700 .82rem/1.4 var(--sans)}
 .store-discovery-title span,.store-discovery-preview,.store-discovery .offers-motion{display:none}
 .store-discovery-toggle{min-height:44px;width:44px;font-size:.78rem}
 .store-discovery-nav{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-padding-inline:2px;padding:3px 2px 6px}
 .store-discovery-nav a,.store-discovery-share{flex:0 0 auto;min-height:44px;padding:9px 12px;font-size:.76rem}
 .store-discovery-note{margin:0;font-size:.59rem}
 .store-discovery-status:empty{display:none}
 .store-discovery.is-compact .store-discovery-nav a:not(.store-discovery-primary),.store-discovery.is-compact .store-discovery-share,.store-discovery.is-compact .store-discovery-note,.store-discovery.is-compact .lume-presenter{display:none}
 .store-discovery.is-compact .store-discovery-top{display:inline-flex;width:calc(100% - 108px);vertical-align:middle}
 .store-discovery.is-compact .store-discovery-title strong{font-size:.74rem}
 .store-discovery.is-compact .store-discovery-toggle{flex-basis:44px}
 .store-discovery.is-compact .store-discovery-nav{display:inline-flex;width:104px;vertical-align:middle;padding:3px 2px;margin:0}
 .store-discovery.is-compact .store-discovery-primary{font-size:.7rem;padding-inline:8px}
 .has-store-discovery .rating-invite{bottom:calc(var(--store-bar-height,112px) + 14px);max-height:calc(100dvh - var(--store-bar-height,112px) - 110px)}
 .has-store-discovery .site-share-trigger:not(.site-share-inline){bottom:calc(var(--store-bar-height,112px) + 12px)}
 body.app-mode.has-store-discovery .app-tabs{display:none}
}
@media(prefers-reduced-motion:reduce){.store-discovery *{animation:none!important;transition:none!important}}
@media print{.store-discovery{display:none}body.has-store-discovery{padding:0}}

/* Product previews stay visible when only the additional site menu is collapsed. */
.store-products{display:block;clear:both;margin-top:10px;min-width:0}
.store-products-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;font:600 .68rem/1.4 var(--sans);color:#f4d48e}
.store-products-label span{font-size:.6rem;font-weight:400;white-space:nowrap}
.store-products-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}
.store-product{min-width:0;background:#203e4a;border:1px solid #dfbf7688;border-radius:9px;padding:8px}
.store-product-buy{display:flex;align-items:center;gap:8px;min-height:52px;color:#fff8e8;text-decoration:none}
.store-product-buy img{flex:0 0 44px;width:44px;height:52px;object-fit:contain;background:#fffaf0;border-radius:5px;padding:3px}
.store-product-buy span{display:block;min-width:0}
.store-product-buy small{display:block;color:#e5d5b4;font:500 .63rem/1.3 var(--sans)}
.store-product-buy strong{display:block;font:600 .75rem/1.35 var(--sans);overflow-wrap:anywhere}
.store-product-buy b{display:block;margin-top:3px;color:#ffe4a5;font:700 .69rem/1.4 var(--sans)}
.store-product-detail{display:flex;align-items:center;min-height:44px;margin-top:2px;color:#efd495;font:500 .66rem/1.4 var(--sans);text-underline-offset:3px}
.store-discovery.is-compact .store-discovery-note{display:block}
@media(min-width:1101px){
 .store-products-label span{display:none}
 .store-product-detail{min-height:44px}
}
@media(max-width:1100px){
 .store-discovery{max-height:48dvh;overflow-y:auto;overscroll-behavior:contain}
 .store-products{margin-top:5px}
 .store-products-label{margin-bottom:3px;font-size:.62rem}
 .store-products-list{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#eacb7a #173441;scroll-snap-type:x proximity;scroll-padding-inline:2px;padding:2px 2px 5px}
 .store-product{flex:0 0 192px;scroll-snap-align:start;padding:6px 8px}
 .store-product-buy{min-height:52px}
 .store-product-detail{min-height:44px;margin:0}
 .store-discovery.is-compact .store-discovery-note{font-size:.54rem;line-height:1.35;margin:2px 0 0}
}
@media print{.store-products{display:none}}

/* The mobile dock uses one compact row; desktop keeps the approved sidebar. */
.store-product-buy .store-product-short{display:none}
@media(max-width:1100px){
 body.has-store-discovery{padding-bottom:calc(var(--store-bar-height,86px) + 12px)}
 .store-discovery{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));max-height:40dvh}
 .store-discovery .store-discovery-top,.store-discovery.is-compact .store-discovery-top{display:flex;flex:0 0 44px;width:44px;max-width:44px;gap:0}
 .store-discovery .store-discovery-title,.store-discovery .lume-presenter{display:none}
 .store-discovery .store-discovery-toggle{flex:0 0 44px;width:44px;min-height:44px}
 .store-discovery .store-discovery-nav,.store-discovery.is-compact .store-discovery-nav{display:flex;flex:0 0 94px;width:94px;max-width:94px;padding:0;margin:0}
 .store-discovery .store-discovery-primary{min-height:44px;padding:6px;font-size:.7rem;box-shadow:inset 0 1px #fff7df}
 .store-discovery .store-products{flex:1 1 0;min-width:0;clear:none;margin:0}
 .store-discovery .store-products-label{display:none}
 .store-discovery .store-products-list{gap:6px;padding:0 0 2px}
 .store-discovery .store-product{flex:0 0 min(170px,100%);padding:4px 6px}
 .store-discovery .store-product-buy{gap:6px;min-height:48px}
 .store-discovery .store-product-buy img{flex-basis:32px;width:32px;height:36px;padding:2px}
 .store-discovery .store-product-buy small,.store-discovery .store-product-buy .store-product-full,.store-discovery .store-product-detail{display:none}
 .store-discovery .store-product-buy .store-product-short{display:block}
 .store-discovery .store-product-buy strong{font-size:.72rem;line-height:1.3}
 .store-discovery .store-product-buy b{font-size:.65rem;line-height:1.3;margin-top:2px}
 .store-discovery .store-discovery-note,.store-discovery.is-compact .store-discovery-note{flex:0 0 100%;margin:0;font-size:.54rem;line-height:1.25}
 .store-discovery .store-discovery-status{flex:0 0 100%;margin:0}
 .store-discovery:not(.is-compact) .store-discovery-nav{flex:1 1 calc(100% - 50px);max-width:calc(100% - 50px);width:auto;gap:6px}
 .store-discovery:not(.is-compact) .store-products{flex:0 0 100%;margin-top:2px}
}
/* Use the reserved desktop column from its top; reader styles must not reintroduce the old 150px gap. */
@media(min-width:1101px){body.has-store-discovery .store-discovery{top:16px;max-height:calc(100dvh - 32px)}}
