/* MAGSY produktove karty v kategorii (stejne jako uvod) 2026-10-23 */
body.type-category #content .products-block .product{border:0!important;padding:0 10px!important;background:transparent}
body.type-category #content .products-block .product::before,body.type-category #content .products-block .product::after{display:none!important}
body.type-category #content .products-block .product .p{border:1px solid #e3e7ee;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;height:100%;padding:0!important;text-align:left;position:relative}
body.type-category #content .products-block .product .p:hover{border-color:#c9d3e2;box-shadow:0 6px 18px rgba(22,58,117,.08)}
body.type-category #content .products-block .stars-placeholder{display:none!important}
body.type-category #content .products-block a.image{order:1;display:block;position:relative;aspect-ratio:4/3;height:auto!important;background:#f3f5f8;margin:0!important;padding:0!important;overflow:hidden}
body.type-category #content .products-block a.image img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;display:block;margin:0!important;position:static!important;transform:none!important}
body.type-category #content .products-block a.image .flags{left:12px;top:12px}
body.type-category #content .products-block a.name{order:2;display:block;padding:18px 18px 0;margin:0!important;min-height:0;height:auto!important;text-align:left;color:#1c2230;text-decoration:none}
body.type-category #content .products-block a.name span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-family:'Jost',sans-serif;font-size:16px;font-weight:500;line-height:1.35;min-height:65px;text-align:left;color:#1c2230;height:auto!important;max-height:none!important}
body.type-category #content .products-block a.name:hover span{color:#163a75}
body.type-category #content .products-block .p-in{order:3;flex:1;display:flex!important;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;column-gap:8px;row-gap:12px;padding:12px 18px 10px!important;margin:0!important;text-align:left}
body.type-category #content .products-block .p-in-in{order:9;width:100%;flex:0 0 100%;margin:0!important;padding:0!important}
body.type-category #content .products-block .p-in-in:empty,body.type-category #content .products-block .p-in-in .ratings-wrapper:empty{display:none}
body.type-category #content .products-block .p-bottom,body.type-category #content .products-block .p-bottom>div{display:contents!important}
body.type-category #content .products-block .prices{order:1;flex:1 1 auto;display:flex!important;flex-direction:column-reverse;align-items:flex-start;text-align:left;margin:0!important;padding:0!important;width:auto!important}
body.type-category #content .products-block .prices .price-final,body.type-category #content .products-block .prices .price-final strong{font-family:'Jost',sans-serif;font-size:26px!important;font-weight:700;line-height:1.1;color:#1c2230;text-align:left;margin:0}
body.type-category #content .products-block .prices .price-additional{font-size:13px!important;color:#5b6372;margin:0;text-align:left;line-height:1.4}
body.type-category #content .products-block .prices .price-standard{font-size:13px;color:#8a919e;text-align:left;margin:0}
body.type-category #content .products-block .availability{order:2;flex:0 1 auto;max-width:55%;text-align:right;margin:0!important;padding:0!important;color:#157a3c;font-size:14px;font-weight:600;line-height:1.3;display:block!important;width:auto!important}
body.type-category #content .products-block .availability span{color:#157a3c!important;font-size:14px;font-weight:600;display:inline}
body.type-category #content .products-block .availability .availability-amount{white-space:nowrap}
body.type-category #content .products-block .availability svg,body.type-category #content .products-block .availability img,body.type-category #content .products-block .availability .show-tooltip::before{display:none!important}
body.type-category #content .products-block .availability>span:first-child::before{content:"● "}
body.type-category #content .products-block .shkDiscountPromoProduct{order:3;flex:0 0 100%;width:100%;margin:0!important;background:#fff6cc!important;border:1px dashed #c9a400!important;border-radius:6px!important;padding:7px 10px!important;box-shadow:none!important;min-height:0!important}
body.type-category #content .products-block .shkDiscountPromoProduct *{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font-family:'Jost',sans-serif!important;font-size:13px!important;line-height:1.4!important;color:#1c2230!important;min-height:0!important}
body.type-category #content .products-block .shkDiscountPromoProduct__top:empty{display:none}
body.type-category #content .products-block .shkDiscountPromoProduct>*:not(.shkDiscountPromoProduct__top){display:flex!important;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left}
body.type-category #content .products-block .shkDiscountPromoProduct__promoPrice{font-weight:700!important;white-space:nowrap}
body.type-category #content .products-block .shkDiscountPromoProduct__promoInfo{display:flex!important;gap:4px;align-items:center}
body.type-category #content .products-block .shkDiscountPromoProduct__promoCode{font-weight:700!important}
body.type-category #content .products-block .p-tools{order:4;flex:0 0 100%;width:100%;margin:0!important;padding:0!important}
body.type-category #content .products-block .p-tools form.pr-action{display:flex!important;gap:10px;width:100%!important;margin:0!important;align-items:stretch}
body.type-category #content .products-block .p-tools .quantity{display:flex!important;align-items:stretch;border:1px solid #dfe3ea!important;border-radius:8px!important;height:46px;overflow:hidden;width:auto!important;flex:0 0 auto;position:relative;margin:0!important;padding:0!important;background:#fff}
body.type-category #content .products-block .p-tools .quantity label{order:2;display:flex;margin:0;width:auto}
body.type-category #content .products-block .p-tools .quantity input{width:36px!important;height:100%!important;border:0!important;text-align:center;font-family:'Jost',sans-serif;font-size:15px!important;padding:0!important;margin:0!important;background:#fff;box-shadow:none!important}
body.type-category #content .products-block .p-tools .quantity button{position:static!important;width:34px!important;height:100%!important;border:0!important;border-radius:0!important;background:#f3f5f8!important;color:#1c2230!important;font-size:16px;margin:0!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;transform:none!important}
body.type-category #content .products-block .p-tools .quantity .decrease{order:1}
body.type-category #content .products-block .p-tools .quantity .increase{order:3}
body.type-category #content .products-block .p-tools .add-to-cart-button,body.type-category #content .products-block .p-tools .btn{flex:1;height:46px!important;min-height:0!important;border:0!important;border-radius:8px!important;background:#c8102e!important;color:#fff!important;font-family:'Jost',sans-serif;font-weight:600!important;font-size:15px!important;letter-spacing:.04em;text-transform:none!important;padding:0 10px!important;margin:0!important;width:auto!important;line-height:46px!important;box-shadow:none!important}
body.type-category #content .products-block .p-tools .add-to-cart-button:hover,body.type-category #content .products-block .p-tools .btn:hover{background:#a50d26!important}
body.type-category #content .products-block .p-code{order:4;padding:0 18px 18px!important;margin:0!important;font-size:12px!important;color:#6b7280!important;text-align:left!important;position:static!important;display:block}
@media (max-width:767px){body.type-category #content .products-block .product{padding:0 5px!important}body.type-category #content .products-block a.image{aspect-ratio:1/1}body.type-category #content .products-block a.image .flags{left:6px;top:6px;transform:scale(.85);transform-origin:0 0}body.type-category #content .products-block a.name{padding:10px 10px 0}body.type-category #content .products-block a.name span{font-size:13px;line-height:1.3;min-height:51px}body.type-category #content .products-block .p-in{flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;row-gap:6px;padding:6px 10px 10px!important}body.type-category #content .products-block .availability{order:1;max-width:none;text-align:left;font-size:12px}body.type-category #content .products-block .availability span{font-size:12px}body.type-category #content .products-block .prices{order:2}body.type-category #content .products-block .prices .price-final,body.type-category #content .products-block .prices .price-final strong{font-size:18px!important}body.type-category #content .products-block .prices .price-additional{display:none}body.type-category #content .products-block .shkDiscountPromoProduct{padding:3px 6px!important;border-radius:5px!important}body.type-category #content .products-block .shkDiscountPromoProduct *{font-size:11px!important}body.type-category #content .products-block .p-tools{margin-top:auto!important}body.type-category #content .products-block .p-tools .quantity{display:none!important}body.type-category #content .products-block .p-tools .add-to-cart-button,body.type-category #content .products-block .p-tools .btn{height:40px!important;line-height:40px!important;font-size:14px!important;letter-spacing:0}body.type-category #content .products-block .p-code{display:none!important}}
body.type-category #content .products-block a.name{padding:18px 18px 0!important}
body.type-category #content .products-block a.name span{display:-webkit-box!important}
body.type-category #content .products-block .prices{flex:1 1 0!important;min-width:0}
body.type-category #content .products-block .prices *{text-align:left!important;margin-left:0!important;padding-left:0!important}
body.type-category #content .products-block .availability{flex:0 1 auto!important}
body.type-category #content .products-block .availability span{display:inline!important}
body.type-category #content .products-block .p-tools .add-to-cart-button span{font-size:15px!important;display:inline!important;line-height:inherit}
body.type-category #content .products-block .p-tools .add-to-cart-button span::after,body.type-category #content .products-block .p-tools .add-to-cart-button::after{content:none!important;display:none!important}
@media (max-width:767px){body.type-category #content .products-block a.name{padding:10px 10px 0!important}body.type-category #content .products-block .prices{flex:none!important}body.type-category #content .products-block .p-tools .add-to-cart-button span{font-size:14px!important}}
body.type-category #content .products-block .p-bottom>div::before,body.type-category #content .products-block .p-bottom>div::after,body.type-category #content .products-block .p-in::before,body.type-category #content .products-block .p-in::after,body.type-category #content .products-block .p-bottom::before,body.type-category #content .products-block .p-bottom::after{display:none!important;content:none!important}
body.type-category #content .products-block .prices .price-final strong{white-space:nowrap}
body.type-category #content .products-block .prices{flex:1 0 auto!important}
body.type-category #content .products-block .prices{flex-direction:column-reverse!important;justify-content:flex-end}
@media (max-width:1199px){body.type-category #content .products-block .shkDiscountPromoProduct>*:not(.shkDiscountPromoProduct__top){flex-direction:column-reverse!important;align-items:flex-start!important;gap:0!important}}
@media (max-width:767px){body.type-category #content .products-block .availability .availability-amount{display:none!important}body.type-category #content .products-block .shkDiscountPromoProduct__promoInfo{flex-wrap:wrap}}
@media (max-width:767px){body.type-category #content .products-block .shkDiscountPromoProduct,body.type-category #content .products-block .p-tools,body.type-category #content .products-block .prices,body.type-category #content .products-block .availability{flex:none!important;width:100%!important}body.type-category #content .products-block .shkDiscountPromoProduct *{text-align:left!important;justify-content:flex-start!important}body.type-category #content .products-block .p-tools{margin-top:auto!important}body.type-category #content .products-block .p-tools form.pr-action{gap:0}}
body.type-category #content .products-block{display:flex!important;flex-wrap:wrap;margin:0 -10px!important;border:0!important}
body.type-category #content .products-block .product{border:0!important;padding:0 10px!important;margin:0 0 20px!important;background:transparent;box-shadow:none!important}
@media (max-width:767px){body.type-category #content .products-block{margin:0 -5px!important}body.type-category #content .products-block .product{padding:0 5px!important;margin-bottom:10px!important}}

body.type-category #content .products-block .p-tools form.pr-action,body.mg-on #content .products-wrapper .p-tools form.pr-action{justify-content:flex-start!important}
body.type-category #content .products-block .p-tools .add-to-cart-button,body.mg-on #content .products-wrapper .p-tools .add-to-cart-button{max-width:none!important}
/* v2: slevový kód v kartách – čistší vzhled, stav kódu malým zeleným textem */
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__top,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__top{display:block!important;margin:0 0 4px!important;padding:0!important;min-height:0!important;height:auto!important;width:100%}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__top:not(:has(.shkDiscountPromoProduct__message[style*="block"])):not(:has(.shkDiscountPromoProduct__message--active:not([style*="none"]))),body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__top:not(:has(.shkDiscountPromoProduct__message[style*="block"])):not(:has(.shkDiscountPromoProduct__message--active:not([style*="none"]))){display:block!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message{padding:0!important;margin:0!important;position:static!important;box-shadow:none!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message::before,body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message::after,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message::before,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message::after{display:none!important;content:none!important;border:0!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message .shkDiscountPromoProduct__message__title,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message .shkDiscountPromoProduct__message__title{font-size:11px!important;font-weight:600!important;color:#157a3c!important;line-height:1.3!important;display:inline!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message--active .shkDiscountPromoProduct__message__title::before,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message--active .shkDiscountPromoProduct__message__title::before{content:"✓ "}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message--error .shkDiscountPromoProduct__message__title,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message--error .shkDiscountPromoProduct__message__title{color:#c8102e!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo{flex-wrap:nowrap!important;white-space:nowrap;min-width:0}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoInfo__label,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoInfo__label{font-weight:400!important;color:#3b4352!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoCode,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoCode{font-weight:700!important;letter-spacing:.02em;background:#fff!important;border:1px dashed #c9a400!important;border-radius:4px!important;padding:0 5px!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__innerWrap .shkDiscountPromoProduct__promoPrice,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__innerWrap .shkDiscountPromoProduct__promoPrice{font-weight:700!important;color:#1c2230!important}
@media (max-width:767px){
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__content,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__content{flex-direction:column-reverse!important;align-items:flex-start!important;gap:2px!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoInfo__label,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoInfo__label{display:none!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo::before,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo::before{content:"S kódem";font-size:11px;color:#3b4352;margin-right:4px}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoCode,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoCode{font-size:11px!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__innerWrap .shkDiscountPromoProduct__promoPrice,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__innerWrap .shkDiscountPromoProduct__promoPrice{font-size:15px!important;line-height:1.2!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__message .shkDiscountPromoProduct__message__title,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__message .shkDiscountPromoProduct__message__title{font-size:10px!important}
}

@media (max-width:767px){
body.mg-on #content .products-wrapper .prices,body.type-category #content .products-block .prices{flex:none!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo::before,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo::before{content:"Kód"!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoCode,body.type-category #content .products-block .shkDiscountPromoProduct .shkDiscountPromoProduct__promoInfo .shkDiscountPromoProduct__promoCode{font-size:10.5px!important;padding:0 3px!important;letter-spacing:0!important}
body.mg-on #content .products-wrapper .shkDiscountPromoProduct,body.type-category #content .products-block .shkDiscountPromoProduct{overflow:hidden}
}

@media (max-width:767px){
body.mg-on #content .products-wrapper .availability,body.type-category #content .products-block .availability{display:flex!important;align-items:center;min-height:0!important;height:auto!important;line-height:1.3!important}
body.mg-on #content .products-wrapper .availability br,body.type-category #content .products-block .availability br{display:none}
body.mg-on #content .products-wrapper .prices,body.type-category #content .products-block .prices{min-height:0!important;height:auto!important;justify-content:flex-start!important}
body.mg-on #content .products-wrapper .prices .price-final,body.type-category #content .products-block .prices .price-final{min-height:0!important;height:auto!important}
}

@media (max-width:767px){body.mg-on #content .products-wrapper .availability,body.type-category #content .products-block .availability{justify-content:flex-start!important;text-align:left!important}}
