/* WBC 6.8.9: phone-only compact product cards and unobstructed back control. */
@media (max-width:650px) {
 /* Keep a two-column shopping grid while giving all card content the full card width. */
 #wbc-store #wb-grid.wb-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch}
 #wbc-store #wb-grid .wb-product {display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important}
 #wbc-store #wb-grid .wb-product .wb-art {order:0!important;display:flex!important;width:100%!important;height:138px!important;min-height:138px!important;max-height:138px!important;aspect-ratio:auto!important;padding:6px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important}
 #wbc-store #wb-grid .wb-product .wb-art img,
 #wbc-store #wb-grid .wb-product .wb-art .wb-photo,
 #wbc-store #wb-grid .wb-product .wb-art .ct-photo,
 #wbc-store[data-category="Coffee"] #wb-grid .wb-product .wb-photo.wb-bag-cutout {display:block!important;width:100%!important;height:126px!important;min-height:0!important;max-height:126px!important;object-fit:contain!important;object-position:center!important;padding:2px!important;transform:none!important}
 #wbc-store #wb-grid .wb-product .wb-product-body {order:1!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;padding:9px 10px 11px!important;overflow-wrap:normal!important;word-break:normal!important}
 #wbc-store #wb-grid .wb-product h3 {font-size:clamp(13px,3.6vw,16px)!important;line-height:1.3!important;margin:3px 0 5px!important;min-height:0!important;overflow-wrap:break-word!important;word-break:normal!important}
 #wbc-store #wb-grid .wb-product .wb-english,
 #wbc-store #wb-grid .wb-product .wb-product-body>p {font-size:11px!important;line-height:1.35!important;min-height:0!important;margin:0 0 7px!important;overflow-wrap:break-word!important;word-break:normal!important;max-width:100%!important}
 #wbc-store #wb-grid .wb-product .wb-format,
 #wbc-store #wb-grid .wb-product .wb-size-label,
 #wbc-store #wb-grid .wb-product .ct-format {font-size:10px!important;line-height:1.35!important;min-height:0!important;margin:0 0 5px!important;letter-spacing:0!important}
 #wbc-store #wb-grid .wb-product .wb-roast {min-height:0!important;margin:0 0 6px!important;font-size:10px!important}
 #wbc-store #wb-grid .wb-product .wb-purchase-block {margin-top:auto!important;padding-top:4px!important;min-width:0!important}
 #wbc-store #wb-grid .wb-product .wb-price {margin:5px 0 8px!important;font-size:13px!important;line-height:1.35!important}
 #wbc-store #wb-grid .wb-product .wb-view,
 #wbc-store #wb-grid .wb-product .wb-product-page-link.wb-view {display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:40px!important;margin-top:auto!important;padding:8px 3px!important;font:500 clamp(9px,2.65vw,12px)/1.2 'Poppins',Arial,sans-serif!important;letter-spacing:-.2px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;text-decoration:none!important;text-align:center!important}
 #wbc-store #wb-grid .ct-product .wb-product-body {padding-bottom:11px!important}
 #wbc-store #wb-grid .ct-tea-box .wb-product-body {padding-right:10px!important}
 #wbc-store #wb-grid .ct-tea-box .wb-product-body>p {max-width:100%!important}
 /* The return control must never begin outside the phone viewport. */
 #wbc-store.ct-product-view > .wb-header,
 #wbc-store:has(#wb-bag:not([hidden])) > .wb-header {box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:12px!important;padding-right:12px!important;overflow:visible!important}
 #wbc-store.ct-product-view > .wb-header nav,
 #wbc-store:has(#wb-bag:not([hidden])) > .wb-header nav {width:100%!important;max-width:100%!important;min-width:0!important;justify-content:center!important;flex-wrap:wrap!important;margin:0!important}
 #wbc-store.ct-product-view #ct-header-back,
 #wbc-store:has(#wb-bag:not([hidden])) #ct-header-back {position:relative!important;left:auto!important;right:auto!important;transform:none!important;box-sizing:border-box!important;max-width:100%!important;margin:0 auto!important;padding:8px 10px!important;white-space:normal!important;text-align:center!important;justify-content:center!important;overflow-wrap:normal!important;word-break:normal!important;font-size:12px!important;gap:6px!important}
}
@media(max-width:350px){
 #wbc-store #wb-grid.wb-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 #wbc-store #wb-grid .wb-product .wb-art{height:116px!important;min-height:116px!important;max-height:116px!important}
 #wbc-store #wb-grid .wb-product .wb-art img{height:106px!important;max-height:106px!important}
 #wbc-store #wb-grid .wb-product .wb-product-body{padding:7px!important}
 #wbc-store #wb-grid .wb-product .wb-view{font-size:9px!important}
}
