body.home .niko-home-offers .niko-offer-price,
body.tax-product_cat .tbd_price_opt .price,
body.post-type-archive-product .tbd_price_opt .price{justify-content:center!important;text-align:center!important;width:100%!important;box-sizing:border-box!important;float:none!important;}

/* Equal category cards and aligned price, availability and actions. */
body.tax-product_cat #tx_product_grid>.row,
body.post-type-archive-product #tx_product_grid>.row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:24px 20px!important;margin:0!important;}
body.tax-product_cat #tx_product_grid .grid-item,
body.post-type-archive-product #tx_product_grid .grid-item{width:100%!important;max-width:none!important;padding:0!important;min-width:0!important;display:flex!important;}
body.tax-product_cat #tx_product_grid .tbd_product,
body.post-type-archive-product #tx_product_grid .tbd_product{width:100%!important;height:100%!important;display:flex!important;flex-direction:column!important;margin:0!important;}
body.tax-product_cat #tx_product_grid .tbd_product_thumb .thumbnail_link,
body.post-type-archive-product #tx_product_grid .tbd_product_thumb .thumbnail_link{display:flex!important;align-items:center!important;justify-content:center!important;aspect-ratio:1!important;width:100%!important;overflow:hidden!important;}
body.tax-product_cat #tx_product_grid .thumbnail_link img,
body.post-type-archive-product #tx_product_grid .thumbnail_link img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;}
body.tax-product_cat #tx_product_grid .tbd_product_content,
body.post-type-archive-product #tx_product_grid .tbd_product_content{flex:1!important;display:flex!important;padding:16px 12px!important;min-width:0!important;}
body.tax-product_cat #tx_product_grid .tbd_product_content_inner,
body.post-type-archive-product #tx_product_grid .tbd_product_content_inner{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;}
body.tax-product_cat #tx_product_grid .tbd_product_title,
body.post-type-archive-product #tx_product_grid .tbd_product_title{flex:0 0 auto!important;min-height:66px!important;float:none!important;width:100%!important;margin:0 0 4px!important;}
body.tax-product_cat #tx_product_grid .tbd_price_opt,
body.post-type-archive-product #tx_product_grid .tbd_price_opt{display:grid!important;grid-template-rows:36px 24px 44px!important;gap:6px!important;width:100%!important;}
body.tax-product_cat #tx_product_grid .tbd_price_opt::after,
body.post-type-archive-product #tx_product_grid .tbd_price_opt::after{display:none!important;}
body.tax-product_cat #tx_product_grid .price,
body.post-type-archive-product #tx_product_grid .price{grid-row:1!important;align-self:center!important;margin:0!important;}
body.tax-product_cat #tx_product_grid .star-rating,
body.post-type-archive-product #tx_product_grid .star-rating{display:none!important;}
body.tax-product_cat #tx_product_grid .niko-delivery-label,
body.post-type-archive-product #tx_product_grid .niko-delivery-label{grid-row:2!important;align-self:center!important;margin:0!important;}
body.tax-product_cat #tx_product_grid .niko-card-action,
body.post-type-archive-product #tx_product_grid .niko-card-action{grid-row:3!important;margin:0 auto!important;}
body.tax-product_cat .tbd_price_opt .niko-card-action.niko-card-buy,body.tax-product_cat .tbd_price_opt .niko-card-action.niko-card-view,
body.post-type-archive-product .tbd_price_opt .niko-card-action.niko-card-buy,body.post-type-archive-product .tbd_price_opt .niko-card-action.niko-card-view{width:182px!important;max-width:100%!important;min-height:44px!important;padding:9px 16px!important;margin:12px auto 0!important;font-size:14px!important;}
@media(max-width:1199px){body.tax-product_cat #tx_product_grid>.row,body.post-type-archive-product #tx_product_grid>.row{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:991px){body.tax-product_cat #tx_product_grid>.row,body.post-type-archive-product #tx_product_grid>.row{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:575px){body.tax-product_cat #tx_product_grid>.row,body.post-type-archive-product #tx_product_grid>.row{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;}}

/* Match homepage prices in grid and list category views. */
body.tax-product_cat .tbd_price_opt .price,body.post-type-archive-product .tbd_price_opt .price{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:center;gap:6px!important;color:#c71920!important;font-size:20px!important;font-weight:700!important;line-height:1.4!important;}
body.tax-product_cat .tbd_price_opt .price ins,body.post-type-archive-product .tbd_price_opt .price ins{order:0!important;background:transparent!important;border:0!important;text-decoration:none!important;color:#c71920!important;font-size:20px!important;font-weight:700!important;}
body.tax-product_cat .tbd_price_opt .price ins *,body.post-type-archive-product .tbd_price_opt .price ins *{color:#c71920!important;text-decoration:none!important;border:0!important;}
body.tax-product_cat .tbd_price_opt .price del,body.post-type-archive-product .tbd_price_opt .price del{order:2!important;font-size:14px!important;font-weight:400!important;color:#818181!important;opacity:1!important;text-decoration:line-through!important;}
body.tax-product_cat .tbd_price_opt .price del *,body.post-type-archive-product .tbd_price_opt .price del *{color:#818181!important;font-size:14px!important;font-weight:400!important;}

/* Category overview: inset count and smaller, readable product names. */
body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count{box-sizing:border-box!important;padding-left:24px!important;}
body.tax-product_cat .tbd_product_title h2,
body.tax-product_cat .tbd_product_title h2 a,
body.tax-product_cat .tbd_product_title h3,
body.tax-product_cat .tbd_product_title h3 a,
body.tax-product_cat .tbd_product_title .s_list_title,
body.post-type-archive-product .tbd_product_title h2,
body.post-type-archive-product .tbd_product_title h2 a,
body.post-type-archive-product .tbd_product_title h3,
body.post-type-archive-product .tbd_product_title h3 a,
body.post-type-archive-product .tbd_product_title .s_list_title{font-size:15px!important;line-height:1.45!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;display:block!important;-webkit-line-clamp:unset!important;}
@media(max-width:767px){body.tax-product_cat .woocommerce-result-count,body.post-type-archive-product .woocommerce-result-count{padding-inline:16px!important;}}

body .niko-card-action{display:block!important;clear:both;width:100%;box-sizing:border-box;text-align:center;text-decoration:none!important;border:1px solid #c71920!important;border-radius:5px!important;padding:11px 12px!important;margin:12px 0 0!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;white-space:normal!important;transition:background .2s;}
body .niko-card-action.niko-card-view{background:#fff!important;color:#c71920!important;}
body .niko-card-action.niko-card-buy{background:#c71920!important;color:#fff!important;}
body.tax-product_cat .niko-card-action.niko-card-buy,
body.post-type-archive-product .niko-card-action.niko-card-buy{width:fit-content!important;max-width:100%!important;min-height:44px!important;padding:9px 22px!important;margin:12px auto 0!important;font-size:14px!important;}
body .niko-card-action.niko-card-buy:hover{background:#a91017!important;}
body .niko-card-action.niko-card-view:hover{background:#fff5f5!important;}
body .niko-card-action:focus-visible{outline:3px solid #c71920;outline-offset:3px;}
body.tax-product_cat .thb_product_car .add_to_cart_button,body.post-type-archive-product .thb_product_car .add_to_cart_button{display:none!important;}
body .niko-card-action.added::after{margin-left:8px;}
body .niko-home-offers .added_to_cart{font-size:13px;color:#c71920;padding:8px 0;text-align:center;}
body .niko-delivery-label{display:flex!important;align-items:center;gap:7px;clear:both;float:none!important;text-align:left;font-size:13px!important;font-weight:500;line-height:1.5!important;margin:10px 0 0!important;padding:0!important;color:#606565!important;}
body .niko-delivery-label.niko-delivery-immediate{color:#287449!important;}
body .niko-delivery-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;flex:0 0 7px;}
body.single-product .summary.entry-summary .niko-product-badges{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;max-width:100%!important;}
body.single-product .summary.entry-summary .niko-product-badges>.niko-delivery-label,
body.single-product .summary.entry-summary .niko-product-badges>.niko-product-badge{display:flex!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:12px 14px!important;background:#fafafa!important;border:1px solid #e4e4e4!important;border-radius:10px!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;min-height:46px!important;}
body.single-product .summary.entry-summary .niko-product-badges>.niko-delivery-label{gap:8px!important;}
body .niko-home-offers .niko-delivery-label{margin:4px 0 0!important;}
body.home .niko-home-offers .niko-delivery-label,
body.tax-product_cat .niko-delivery-label,
body.post-type-archive-product .niko-delivery-label{justify-content:center!important;text-align:center!important;width:100%!important;box-sizing:border-box!important;}

/* Compact category cards matched to the homepage. */
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid>.row{gap:18px 16px!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .thumbnail_link{aspect-ratio:4/3!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .tbd_product_content{padding:12px!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .tbd_product_content_inner{gap:4px!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .tbd_product_title{min-height:4.2em!important;font-size:14px!important;margin:0 0 2px!important;padding:0!important}
body:is(.tax-product_cat,.post-type-archive-product) .tbd_product_title :is(h2,h3,a,.s_list_title){font-size:14px!important;line-height:1.4!important;margin:0!important;overflow-wrap:normal!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .tbd_product_title :is(h2,h3){min-height:4.2em;max-height:4.2em;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3!important;overflow:hidden!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .tbd_price_opt{grid-template-rows:minmax(28px,auto) 20px 44px!important;gap:5px!important;margin-top:auto!important;padding:0!important}
body:is(.tax-product_cat,.post-type-archive-product) .tbd_price_opt .price,body:is(.tax-product_cat,.post-type-archive-product) .tbd_price_opt .price ins{font-size:18px!important;line-height:1.3!important}
body:is(.tax-product_cat,.post-type-archive-product) .tbd_price_opt .price del,body:is(.tax-product_cat,.post-type-archive-product) .tbd_price_opt .price del *{font-size:12px!important}
body:is(.tax-product_cat,.post-type-archive-product) .niko-delivery-label{font-size:12px!important;line-height:1.4!important}
body:is(.tax-product_cat,.post-type-archive-product) #tx_product_grid .tbd_price_opt .niko-card-action{margin:0 auto!important;width:182px!important;font-size:13px!important;padding:9px 12px!important}


