/* One room per floor keeps the shop light on phones, with a visible way upstairs. */
.store-floor-bar{position:absolute;z-index:7;top:126px;right:96px;display:flex;align-items:center;gap:7px;padding:6px 8px;border:2px solid #fff9e8;border-radius:21px;background:#fff8e9f5;box-shadow:0 4px 0 #b7a278;color:#63734d}
.store-floor-bar .floor-step{width:44px;min-width:44px;height:44px;min-height:44px;line-height:1;padding:5px;border:0;border-radius:13px;background:#dfe8cb;color:#556e48;font-size:24px;font-weight:800}
.store-floor-bar .floor-step:disabled{opacity:.35;cursor:default}
.floor-choice select{height:44px;min-height:44px;max-width:122px;padding:8px 22px 8px 8px;border:1px solid #e2d4b0;border-radius:12px;background:#fffdf2;color:#6a704c;font-size:13px;font-weight:800}
.floor-guide{display:flex;align-items:center;gap:4px;min-width:82px}.floor-guide img{object-fit:contain;flex-shrink:0}.floor-guide small{display:block;font-size:9px;color:#8b7b56}.floor-guide strong{display:block;max-width:100px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The produce card is a non-modal speech bubble, with its tail at the product. */
.farm-home #product-popover{display:block;position:fixed;inset:auto;margin:0;transform:none;width:360px;max-width:calc(100vw - 24px);height:auto;max-height:none;padding:0;border:0;border-radius:0;overflow:visible;background:transparent;box-shadow:none;z-index:9;color:#54664b}
.farm-home #product-popover:not([open]),.farm-home #product-popover[hidden]{display:none}
.product-bubble-body{position:relative;padding:12px 16px 16px;border:3px solid #d6bc84;border-radius:27px;background:#fff9e7;box-shadow:0 6px 0 #796c4630,0 12px 26px #31402c22;overflow:auto;overscroll-behavior:contain}
.farm-home #product-popover .popover-close{top:5px;right:9px;min-width:58px;min-height:44px;padding:8px;font-size:12px;border-radius:12px;color:#6d7351}
.product-bubble-guide{display:flex;align-items:center;gap:7px;min-height:36px;padding-right:56px;margin:0 0 10px;font-size:11px;font-weight:800;color:#83935c}
.product-bubble-guide img{width:34px;height:34px;object-fit:contain;background:#e7edcf;border-radius:50%}
.product-bubble-content{display:grid;grid-template-columns:82px minmax(0,1fr);gap:13px;align-items:center}
.farm-home #product-popover .popover-picture{height:104px;min-width:0;border:2px solid #e4c78b;border-radius:16px;background:#eee8d4;font-size:11px}
.farm-home #product-popover h2{font-size:17px;line-height:1.4;margin:0 0 7px;color:#536d45}
.farm-home #product-popover p{font-size:12px;line-height:1.5;margin:0 0 10px;color:#837356}
.farm-home #product-popover .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;padding:8px 11px;white-space:normal;text-align:center}
.farm-home #selection-tether{position:fixed;inset:0;width:100vw;height:100dvh;pointer-events:none;z-index:8;overflow:visible}
#selection-tether polygon{fill:#fff9e7;stroke:#d6bc84;stroke-width:3;stroke-linejoin:round}
@media(max-width:700px), (max-height:500px) and (max-width:1000px){
 .store-floor-bar{top:var(--farm-content-top,164px);left:50%;right:auto;transform:translateX(-50%);width:312px;max-width:calc(100% - 24px);justify-content:space-between;gap:4px;padding:4px 6px;border-radius:18px}
 .floor-choice{min-width:0}.floor-choice select{max-width:100%;width:94px;font-size:12px;padding-left:6px;padding-right:16px}
 .floor-guide{min-width:70px;gap:2px}.floor-guide img{width:27px;height:30px}.floor-guide strong{max-width:67px;font-size:11px}.floor-guide small{font-size:8px}
 .scene-views{top:calc(var(--farm-content-top,164px) + 64px)}
 .farm-screen:not(.filters-collapsed) .store-floor-bar{display:none}
 .farm-home #product-popover{width:340px}.product-bubble-body{padding:9px 12px 12px;border-radius:23px}
 .product-bubble-content{grid-template-columns:70px minmax(0,1fr);gap:10px}.farm-home #product-popover .popover-picture{height:92px}
 .farm-home #product-popover h2{font-size:16px}.product-bubble-guide{margin-bottom:6px}
}
@media(max-height:500px) and (max-width:1000px) and (orientation:landscape){
 .store-floor-bar{left:max(12px,env(safe-area-inset-left));transform:none;width:244px;padding:4px;gap:2px}
 .floor-choice select{width:68px;padding-right:12px;font-size:11px}.floor-guide{min-width:65px}.floor-guide img{width:24px}.floor-guide strong{max-width:45px;font-size:10px}
 .scene-views{top:calc(var(--farm-content-top,146px) + 64px)}
 .farm-home #product-popover{width:310px}.product-bubble-guide{min-height:25px}.product-bubble-guide img{width:25px;height:25px}.farm-home #product-popover .popover-picture{height:75px}
}

