/* Product listing cards: concise information, unchanged detail pages. */
html body .vc-product-card>.content{padding:16px!important}
html body .vc-product-card .description>h3{margin-bottom:6px!important}
html body .vc-product-card .description>.vc-product-card-reference{margin:0 0 5px!important}
html body .vc-product-card .description>.vc-availability{margin:5px 0!important}
html body .vc-product-card .description>.price{margin:0 0 4px!important;padding-top:4px!important;min-height:0!important}
html body .vc-product-card form{padding-top:8px!important}
html body .vc-product-card .vc-bf-promo-wrap{margin:0 0 8px!important}

/* Detail summary: centred title, reference and pricing on one line. */
html body #product-info .vc-product-title-row{justify-content:center;text-align:center}
html body #product-info .vc-product-title{text-align:center;width:100%}
html body #product-info .vc-product-summary-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:14px 16px;margin:12px 0 18px;border:1px solid var(--vc-border,#cfd7d2);border-radius:5px}
html body #product-info .vc-product-summary-line>.vc-product-reference{border:0;background:transparent;padding:0;margin:0;flex:1 1 180px;min-width:0}
html body #product-info .vc-product-summary-line>.vc-product-pricing{padding:0;margin:0;flex:1 1 200px;text-align:right}
html body #product-info .vc-product-summary-line .vc-product-price{justify-content:flex-end;margin:0}
html body #product-info .vc-product-copy>.vc-availability{margin-inline:auto!important}
html body #product-info .vc-detail-stock-promo:has(>.vc-availability:only-child){justify-content:center}
@media(max-width:600px){html body #product-info .vc-product-summary-line{gap:10px;padding:12px}html body #product-info .vc-product-summary-line>.vc-product-reference{flex-basis:100%;justify-content:center}html body #product-info .vc-product-summary-line>.vc-product-pricing{flex-basis:100%;text-align:center}html body #product-info .vc-product-summary-line .vc-product-price{justify-content:center}}

/* Listing images leave room for the quality flag; promotion follows stock. */
html body .vc-product-card>.image>a{box-sizing:border-box;padding-top:24px}
html body .vc-product-card .description>.vc-availability{height:36px!important;min-height:36px!important;box-sizing:border-box;width:100%;justify-content:center}
html body .vc-product-card .description>.vc-bf-promo-wrap{width:100%;margin:3px 0 8px!important;line-height:0}
html body .vc-product-card .description>.vc-bf-promo-wrap>.vc-bf-promo{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:7px!important;width:100%!important;height:36px!important;min-height:36px!important;box-sizing:border-box;padding:0 6px!important;white-space:nowrap}
html body.visioncolor-theme .vc-product-card .description>.vc-bf-promo-wrap>.vc-bf-promo :is(strong,small){display:inline!important;font-size:12px!important;line-height:16px!important;margin:0!important}
html body .vc-product-card .vc-bf-promo-status:empty{display:none}
@media(max-width:600px){html body .vc-product-card>.image>a{padding-top:20px}html body.visioncolor-theme .vc-product-card .description>.vc-bf-promo-wrap>.vc-bf-promo :is(strong,small){font-size:9px!important}html body .vc-product-card .description>.vc-bf-promo-wrap>.vc-bf-promo{gap:4px!important}html body .vc-product-card .description>.vc-availability{height:auto!important;min-height:36px!important}}

html body.visioncolor-theme :is(#vc-card-promo-size,.vc-product-card).vc-product-card .description .vc-bf-promo :is(strong,small){font-size:12px!important;line-height:16px!important}
@media(max-width:600px){html body.visioncolor-theme :is(#vc-card-promo-size,.vc-product-card).vc-product-card .description .vc-bf-promo :is(strong,small){font-size:9px!important}}

@media(max-width:600px){html body.visioncolor-theme :is(#vc-card-promo-size,.vc-product-card).vc-product-card .description .vc-bf-promo :is(strong,small){font-size:7px!important;letter-spacing:0!important}html body .vc-product-card .description>.vc-bf-promo-wrap>.vc-bf-promo{gap:3px!important;padding:0 3px!important}}

@media(min-width:601px) and (max-width:1350px){html body .vc-product-card .description>.vc-availability{height:auto!important;min-height:36px!important}}

/* Mobile card badges: two clear lines; desktop layout unchanged. */
@media(max-width:600px){
 html body :is(.vc-product-card,.ap-product-card) .description>.vc-bf-promo-wrap>.vc-bf-promo{flex-direction:column!important;gap:4px!important;min-height:56px!important;height:auto!important;padding:9px 5px!important;white-space:normal!important;text-align:center}
 html body.visioncolor-theme :is(#vc-card-promo-size,.vc-product-card).vc-product-card .description .vc-bf-promo :is(strong,small),html body .ap-product-card .description>.vc-bf-promo-wrap>.vc-bf-promo :is(strong,small){display:block!important;font-size:12px!important;line-height:16px!important;letter-spacing:0!important;white-space:normal!important}
}

/* Lower the product within the image frame without reducing its size. */
html body .vc-product-card>.image>a>img{transform:translateY(16px)}
