/* issue 1322, layout row L1 (approved by Rajeev, 14 Nov 2026 ~21:40 IST): the white shop bar. Loaded only with params['shop.whiteBar'] on. Markup: views/shop/_white_bar.php. Every rule is scoped to #shop-white-bar or #shopFilters, so no other page is touched. */
#shop-white-bar{box-sizing:border-box;width:100%;background:#fff;color:#14171a;border-bottom:1px solid #dfe3e6;font-family:"Montserrat",sans-serif;position:relative;z-index:1}
#shop-white-bar *{box-sizing:border-box}
#shop-white-bar .swb-in{margin:0 48px;display:flex;align-items:center;gap:28px;height:56px}
#shop-white-bar .swb-top{display:contents}
#shop-white-bar .swb-head{display:flex;align-items:baseline;gap:12px;white-space:nowrap}
#shop-white-bar .swb-title{font-family:"Libre Baskerville",Georgia,serif;font-weight:700;font-size:22px;line-height:1;margin:0;padding:0;color:#14171a}
#shop-white-bar .swb-count{font-family:"Montserrat",sans-serif;font-weight:400;font-size:13px;color:#434d56}
#shop-white-bar .swb-links{display:flex;gap:28px;align-items:center;height:100%}
#shop-white-bar .swb-links a{font-size:13px;font-weight:500;letter-spacing:.02em;text-transform:none;color:#14171a;text-decoration:none;white-space:nowrap;padding:6px 0;border-bottom:2px solid transparent}
#shop-white-bar .swb-links a.act{border-bottom-color:#14171a}
#shop-white-bar .swb-btns{order:3;margin-left:auto;display:flex;gap:10px}
#shop-white-bar .swb-btns button{all:unset;box-sizing:border-box;height:36px;padding:0 14px;display:flex;align-items:center;gap:8px;border:1.5px solid #14171a;color:#14171a;background:transparent;font:500 12px "Montserrat",sans-serif;letter-spacing:.08em;text-transform:uppercase;border-radius:0;box-shadow:none;cursor:pointer}
#shop-white-bar .swb-btns button:focus-visible{outline:2px solid #14171a;outline-offset:2px}
#shop-white-bar .swb-note{margin:0 48px;padding:0 0 14px;font:400 13px/1.45 "Montserrat",sans-serif;color:#555}
#shop-white-bar .swb-how{text-decoration:underline;color:#555}
/* compact bar from 1099px down (Codex review, P2): the desktop row (title, seven links, two buttons) needs about 1100px; below that the links wrap to a second row that scrolls sideways inside the bar */
@media (max-width:1099px){
#shop-white-bar .swb-in{flex-wrap:wrap;height:auto;gap:0}
#shop-white-bar .swb-top{display:flex;align-items:center;justify-content:space-between;width:100%;height:56px}
#shop-white-bar .swb-btns{order:0;margin-left:0;gap:8px}
#shop-white-bar .swb-btns button{width:40px;height:40px;padding:0;justify-content:center}
#shop-white-bar .swb-btns button span{display:none}
#shop-white-bar .swb-links{width:100%;height:44px;overflow-x:auto;gap:24px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#shop-white-bar .swb-links::-webkit-scrollbar{display:none}
#shop-white-bar .swb-links a{flex:none}
#shop-white-bar .swb-note{padding:2px 0 12px}
}
@media (max-width:767px){
#shop-white-bar .swb-in{margin:0 16px}
#shop-white-bar .swb-note{margin:0 16px;font-size:12px}
/* issue 1336: listings stop scrolling sideways on a phone (586 to 390): long unbroken words wrap, the button row keeps its own widths and wraps */
#shopFilters .pingrid .productTitle{overflow-wrap:anywhere}
#shopFilters .pingrid .gridItem>ul{column-gap:12px;justify-content:flex-start}
#shopFilters .pingrid .gridItem>ul>li{width:auto;flex:0 0 auto}
}
