/* ZACHOD B2B 1.6.73: separate dashboard from lists; phone-first */
body.app-mode-shop .app-menu-link[href*="view=offers"].active{background:#e2f0ff!important;color:#095eaf!important;border-left:3px solid #126bd2!important}
body.app-mode-shop .app-menu-link[href*="view=upcoming"].active{background:#fff1d6!important;color:#805000!important;border-left:3px solid #dc910a!important}
body.app-mode-shop .shop-offers-page,body.app-mode-shop .shop-upcoming-panel{padding:16px!important;overflow:visible!important}
body.app-mode-shop .shop-offers-page .section-heading,body.app-mode-shop .shop-upcoming-panel .section-heading{margin-bottom:12px!important}
body.app-mode-shop .shop-offers-page .section-heading h2,body.app-mode-shop .shop-upcoming-panel .section-heading h2{font-size:clamp(20px,2vw,26px)!important}
body.app-mode-shop .shop-offers-page .promotion-filters,body.app-mode-shop .shop-upcoming-panel .promotion-filters{margin:10px 0 12px!important;padding:10px 12px!important}
body.app-mode-shop .shop-offers-page .promotion-category-tabs,body.app-mode-shop .shop-upcoming-panel .promotion-category-tabs{display:flex!important;flex-wrap:wrap;gap:7px!important;margin-bottom:10px!important}
body.app-mode-shop .shop-offers-page .promotion-category-tab,body.app-mode-shop .shop-upcoming-panel .promotion-category-tab{flex:0 0 auto;min-height:38px!important;padding:8px 12px!important;font-size:12px!important}
body.app-mode-shop .shop-offers-page .promotion-filter-controls,body.app-mode-shop .shop-upcoming-panel .promotion-filter-controls{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:9px!important}
body.app-mode-shop .shop-offers-page .promotion-filter-controls input,body.app-mode-shop .shop-upcoming-panel .promotion-filter-controls input,body.app-mode-shop .shop-offers-page .promotion-filter-controls select,body.app-mode-shop .shop-upcoming-panel .promotion-filter-controls select{height:40px!important;font-size:13px!important}
body.app-mode-shop .shop-offers-page .offer-list,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-list{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:10px!important;padding:0!important;overflow:visible!important}
body.app-mode-shop .shop-offers-page .offer-row,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-card{display:grid!important;grid-template-columns:82px minmax(0,1fr) 185px!important;gap:10px 14px!important;min-height:0!important;align-items:center!important;padding:11px 12px!important;border-radius:12px!important;border:1px solid #d5e3f1!important;background:#fff!important;box-shadow:0 2px 8px #193b6010!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.app-mode-shop .shop-offers-page .offer-row-thumb,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-picture{grid-column:1!important;grid-row:1!important;width:82px!important;height:82px!important;max-width:82px!important;min-width:82px!important;min-height:82px!important;max-height:82px!important;overflow:hidden!important;border-radius:9px!important}
body.app-mode-shop .shop-offers-page .offer-row-thumb img,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-picture img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
body.app-mode-shop .shop-offers-page .offer-row-main,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-body{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important}
body.app-mode-shop .shop-offers-page .offer-row-main h3,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-body h3{font-size:17px!important;line-height:1.22!important;margin:3px 0!important;word-break:normal!important;overflow-wrap:anywhere!important;white-space:normal!important}
body.app-mode-shop .shop-offers-page .offer-row-main p,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-body p{font-size:12px!important;margin:3px 0!important;line-height:1.3!important}
body.app-mode-shop .shop-offers-page .offer-meta,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-meta{display:flex!important;flex-wrap:wrap!important;gap:4px 12px!important;margin-top:6px!important;font-size:11px!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-meta span{display:flex!important;flex-direction:column!important;gap:1px!important;min-width:105px}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-meta small{font-size:9px!important;color:#58708c!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-meta strong{font-size:11px!important;color:#173b63!important}
body.app-mode-shop .shop-offers-page .offer-row-timer{grid-column:3!important;grid-row:1!important;margin:0!important;max-width:185px!important;min-width:0!important}
body.app-mode-shop .shop-offers-page .offer-row-timer>span{font-size:9px!important}
body.app-mode-shop .shop-offers-page .offer-row-timer .shop-countdown{margin:2px 0 0!important;padding:6px 8px!important;min-height:32px!important}
body.app-mode-shop .shop-offers-page .offer-row-timer [data-countdown-value]{font-size:13px!important;white-space:nowrap!important}
body.app-mode-shop .shop-offers-page .shop-order-sent-banner{grid-column:2!important;grid-row:2!important;align-self:center!important;min-width:0!important;margin:0!important;padding:7px 9px!important;font-size:11px!important}
body.app-mode-shop .shop-offers-page .shop-order-sent-banner strong{font-size:11px!important}
body.app-mode-shop .shop-offers-page .offer-row-side{grid-column:3!important;grid-row:2!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;display:flex!important;align-items:center!important}
body.app-mode-shop .shop-offers-page .offer-row-side .button{width:100%!important;max-width:none!important;min-width:0!important;min-height:42px!important;font-size:12px!important;line-height:1.25!important;padding:8px 10px!important;white-space:normal!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-side{grid-column:3!important;grid-row:1!important;width:100%!important;max-width:none!important;min-width:0!important;justify-self:stretch!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-side .button,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-info{width:100%!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:8px!important;font-size:12px!important;line-height:1.25!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-current{background:#daf5e6!important;color:#08683d!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-future{background:#fff0ce!important;color:#905800!important}
body.app-mode-shop .shop-upcoming-panel .shop-upcoming-past{background:#fee5e4!important;color:#b12b2b!important}
/* dashboard: never inherit list-card grid; preserve 1 or many cards */
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;padding:10px!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-thumb{flex:none!important;width:100%!important;max-width:none!important;height:95px!important;min-height:95px!important;overflow:hidden!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-thumb img{width:100%!important;height:100%!important;max-height:95px!important;object-fit:contain!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-main{flex:1 1 auto!important;min-width:0!important;width:100%!important;padding:0!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-main h3{font-size:17px!important;line-height:1.3!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;margin:5px 0!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-timer{margin:0!important;padding:0!important;width:100%!important;display:block!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .shop-order-sent-banner{font-size:11px!important;padding:7px!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-side{width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-side .button{width:100%!important;min-width:0!important;max-width:none!important;min-height:40px!important;padding:9px!important;white-space:normal!important;font-size:12px!important}
@media(max-width:760px){
 body.app-mode-shop .shop-offers-page,body.app-mode-shop .shop-upcoming-panel{padding:12px!important}
 body.app-mode-shop .shop-offers-page .promotion-filter-controls,body.app-mode-shop .shop-upcoming-panel .promotion-filter-controls{grid-template-columns:1fr!important}
 body.app-mode-shop .shop-offers-page .offer-row,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-card{grid-template-columns:76px minmax(0,1fr)!important;gap:8px 10px!important;align-items:start!important;padding:10px!important}
 body.app-mode-shop .shop-offers-page .offer-row-thumb,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-picture{width:76px!important;height:76px!important;max-width:76px!important;min-width:76px!important;min-height:76px!important;max-height:76px!important}
 body.app-mode-shop .shop-offers-page .offer-row-main,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-body{grid-column:2!important;grid-row:1!important}
 body.app-mode-shop .shop-offers-page .offer-row-timer{grid-column:1/-1!important;grid-row:auto!important;max-width:none!important}
 body.app-mode-shop .shop-offers-page .shop-order-sent-banner{grid-column:1/-1!important;grid-row:auto!important}
 body.app-mode-shop .shop-offers-page .offer-row-side,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-side{grid-column:1/-1!important;grid-row:auto!important;max-width:none!important;width:100%!important}
 body.app-mode-shop .shop-upcoming-panel .shop-upcoming-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 body.app-mode-shop .shop-upcoming-panel .shop-upcoming-meta span{min-width:0!important}
 body.app-mode-shop .shop-offers-page .offer-row-side .button,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-side .button{min-height:44px!important;font-size:14px!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-list{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;padding:10px!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:7px 10px!important;padding:10px!important;flex:none!important;width:100%!important;min-width:0!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-thumb{grid-column:1!important;grid-row:1!important;width:76px!important;height:76px!important;min-height:76px!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-thumb img{max-height:76px!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-main{grid-column:2!important;grid-row:1!important;min-width:0!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-timer,body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .shop-order-sent-banner,body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-side{grid-column:1/-1!important;grid-row:auto!important}
 body.app-mode-shop .shop-dashboard-149 .shop-dashboard-offers .offer-row-main h3{font-size:16px!important}
}
@media(max-width:400px){body.app-mode-shop .shop-offers-page .offer-row-main h3,body.app-mode-shop .shop-upcoming-panel .shop-upcoming-body h3{font-size:16px!important}}
