/* v195: only catalog cards; product details, checkout and account stay outside this scope. */
body .km-compact-catalog .store-product{display:flex!important;flex-direction:column!important;position:relative;min-width:0!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden;border:1px solid #d9e1e8!important;border-radius:12px!important;background:#fff;box-shadow:0 3px 12px #152d4210!important;}
body .km-compact-catalog .store-product-art{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:190px!important;min-height:0!important;max-height:190px!important;aspect-ratio:auto!important;padding:12px!important;margin:0!important;box-sizing:border-box;flex:0 0 auto!important;background:#fff!important;overflow:hidden;}
body .km-compact-catalog .store-product-art img.tray-art{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important;aspect-ratio:auto!important;}
body .km-compact-catalog .store-product-art>small{display:none!important;}
body .km-compact-catalog .store-product-body{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;min-height:0!important;height:auto!important;padding:12px 15px 14px!important;flex:1 1 auto!important;}
body .km-compact-catalog .store-product-body>small:first-child{margin:0!important;font-size:11px!important;line-height:15px!important;overflow-wrap:anywhere;}
body .km-compact-catalog .store-product-body h3{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;min-height:40px!important;max-height:40px!important;height:auto!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:20px!important;letter-spacing:0!important;overflow-wrap:anywhere;}
body .km-compact-catalog .store-product-body h3 a{font:inherit!important;color:inherit;text-decoration:none;}
body .km-compact-catalog .km-card-package-summary{min-height:0!important;height:auto!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:18px!important;color:#536579;}
body .km-compact-catalog .store-product-body .km-unit-price{margin:0!important;font-size:11px!important;line-height:16px!important;}
body .km-compact-catalog .store-product-bottom{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;height:auto!important;min-height:0!important;margin:2px 0 0!important;padding:8px 0 0!important;border-top:1px solid #e5eaf0!important;}
body .km-compact-catalog .store-product-bottom b{margin:0!important;font-size:20px!important;line-height:28px!important;white-space:nowrap;letter-spacing:-.3px;}
body .km-compact-catalog .store-product-bottom>a{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px!important;height:auto!important;width:auto!important;flex:0 0 auto!important;margin:0!important;padding:4px 8px!important;box-sizing:border-box;font-size:12px!important;line-height:18px!important;border:0!important;background:transparent!important;}
body .km-compact-catalog .km-card-add{display:block!important;min-height:0!important;margin:0!important;padding:0!important;}
body .km-compact-catalog .km-card-add button{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:auto!important;min-height:42px!important;margin:0!important;padding:9px 8px!important;box-sizing:border-box;font-size:12px!important;line-height:18px!important;white-space:normal!important;border-radius:8px!important;}
body .km-compact-catalog .store-choice-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;min-height:0!important;margin:0!important;padding:0!important;}
body .km-compact-catalog .store-choice-actions form{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
body .km-compact-catalog .store-choice-actions button{width:100%!important;min-width:0!important;min-height:34px!important;height:auto!important;margin:0!important;padding:6px 4px!important;box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;font-size:11px!important;line-height:16px!important;border-radius:6px!important;}
body .km-compact-catalog .store-stock{align-self:flex-start!important;display:inline-flex!important;align-items:center;min-height:24px!important;height:auto!important;margin:0!important;padding:3px 7px!important;box-sizing:border-box;font-size:10px!important;line-height:16px!important;}
body .km-compact-catalog .store-product>button,body .km-compact-catalog .store-product-body>button{min-height:34px!important;height:auto!important;margin:0 15px 12px!important;padding:6px 8px!important;box-sizing:border-box;font-size:11px!important;line-height:18px!important;white-space:normal!important;}
body .km-compact-catalog .km-card-stock-watch,body .km-compact-catalog .km-card-stock-unavailable{min-height:40px!important;height:auto!important;margin:0!important;padding:8px!important;box-sizing:border-box;font-size:12px!important;line-height:20px!important;}
@media(max-width:600px){
 body .km-compact-catalog .store-product-art{height:145px!important;max-height:145px!important;padding:8px!important;}
 body .km-compact-catalog .store-product-body{padding:10px!important;gap:7px!important;}
 body .km-compact-catalog .store-product-body h3{font-size:13px!important;line-height:19px!important;min-height:38px!important;max-height:38px!important;}
 body .km-compact-catalog .store-product-bottom b{font-size:17px!important;line-height:25px!important;}
 body .km-compact-catalog .store-product-bottom>a{min-height:40px!important;padding:3px 4px!important;}
 body .km-compact-catalog .store-choice-actions{gap:5px!important;}
 body .km-compact-catalog .store-choice-actions button{min-height:40px!important;font-size:10px!important;}
 body .km-compact-catalog .store-product>button,body .km-compact-catalog .store-product-body>button{min-height:40px!important;margin:0 10px 10px!important;}
}

/* v202 — tighter cards and safe button sizing. */
body .km-compact-catalog .store-product,body .km-compact-catalog .store-product *{box-sizing:border-box;}
body .km-compact-catalog .store-product-art{height:160px!important;max-height:160px!important;padding:9px 12px!important;}
body .km-compact-catalog .store-product-body{padding:10px 14px 12px!important;gap:7px!important;min-width:0!important;max-width:100%!important;}
body .km-compact-catalog .store-product-body h3{min-height:0!important;max-height:40px!important;margin:0!important;}
body .km-compact-catalog .store-product-bottom{width:100%!important;min-width:0!important;max-width:100%!important;gap:5px 8px!important;align-items:center!important;padding-top:7px!important;}
body .km-compact-catalog .store-product-bottom b{display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;margin:0!important;padding:0!important;}
body .km-compact-catalog .store-product-bottom>a{width:auto!important;min-width:0!important;flex:0 0 auto!important;margin:0!important;min-height:36px!important;padding:3px 4px!important;text-align:right!important;}
body .km-compact-catalog .store-product>button{display:flex!important;align-items:center;justify-content:center;position:static!important;transform:none!important;float:none!important;flex:0 0 auto!important;align-self:center!important;width:calc(100% - 28px)!important;min-width:0!important;max-width:calc(100% - 28px)!important;margin:0 14px 12px!important;padding:6px 8px!important;}
body .km-compact-catalog .store-product-body>button{display:flex!important;align-items:center;justify-content:center;position:static!important;transform:none!important;float:none!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:6px 8px!important;}
body .km-compact-catalog .store-choice-actions,body .km-compact-catalog .km-card-add{width:100%!important;max-width:100%!important;min-width:0!important;}
body .km-compact-catalog .store-choice-actions button,body .km-compact-catalog .km-card-add button{max-width:100%!important;min-width:0!important;margin:0!important;}
@media(max-width:600px){
 body .km-compact-catalog .store-product-art{height:132px!important;max-height:132px!important;padding:7px!important;}
 body .km-compact-catalog .store-product-body{padding:9px!important;gap:6px!important;}
 body .km-compact-catalog .store-product-body h3{min-height:0!important;max-height:38px!important;}
 body .km-compact-catalog .store-product>button{width:calc(100% - 18px)!important;max-width:calc(100% - 18px)!important;margin:0 9px 9px!important;min-height:40px!important;}
 body .km-compact-catalog .store-product-body>button{width:100%!important;max-width:100%!important;margin:0!important;min-height:40px!important;}
 body .km-compact-catalog .store-product-bottom>a{min-height:40px!important;}
}

/* v203 — avoid inherited flex spacing and lock the price/actions row. */
body[data-store-visual-style] .km-compact-catalog .store-product .store-product-body{justify-content:flex-start!important;align-content:start!important;gap:6px!important;}
body[data-store-visual-style] .km-compact-catalog .store-product .store-product-body>h3{flex:0 0 auto!important;min-height:0!important;height:auto!important;max-height:40px!important;block-size:auto!important;min-block-size:0!important;margin:0!important;padding:0!important;}
body[data-store-visual-style] .km-compact-catalog .store-product .store-product-body>h3 a{min-height:0!important;height:auto!important;margin:0!important;padding:0!important;}
body[data-store-visual-style] .km-compact-catalog .store-product .store-product-body>.km-card-package-summary{flex:0 0 auto!important;min-height:0!important;margin:2px 0 0!important;padding:0!important;}
body[data-store-visual-style] .km-compact-catalog .store-product .store-product-bottom.km-card-price-line203{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;justify-content:initial!important;gap:6px!important;min-height:0!important;height:auto!important;margin:2px 0 0!important;padding:7px 0 0!important;}
body[data-store-visual-style] .km-compact-catalog .store-product .km-card-price-line203>b{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;justify-self:start!important;font-size:20px!important;line-height:26px!important;white-space:normal!important;overflow-wrap:anywhere;}
body[data-store-visual-style] .km-compact-catalog .store-product .km-card-price-line203>a{display:inline-flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:flex-end!important;justify-self:end!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:38px!important;height:auto!important;float:none!important;margin:0!important;padding:3px 2px!important;font-size:12px!important;line-height:18px!important;white-space:nowrap!important;}
@media(max-width:600px){body[data-store-visual-style] .km-compact-catalog .store-product .km-card-price-line203>b{font-size:16px!important;line-height:23px!important;}body[data-store-visual-style] .km-compact-catalog .store-product .km-card-price-line203>a{font-size:10px!important;min-height:40px!important;}body[data-store-visual-style] .km-compact-catalog .store-product .store-product-body>h3{max-height:38px!important;}}
