/* Capital Cornice – scopes presentation to the cornice product category */
.woocommerce ul.products li.product.capital-cornice-product,.woocommerce-page ul.products li.product.capital-cornice-product{background:var(--cc-bg,#777);color:#fff;text-align:center;padding:18px 16px 22px;box-sizing:border-box;border-radius:0;transition:transform .2s,box-shadow .2s;}
.woocommerce ul.products li.product.capital-cornice-product:hover{transform:translateY(-3px);box-shadow:0 10px 25px #0002}
.woocommerce ul.products li.product.capital-cornice-product .woocommerce-loop-product__title,.woocommerce ul.products li.product.capital-cornice-product h2{color:#fff;font-weight:500;font-size:17px;margin:0 0 10px;padding:0;}
.woocommerce ul.products li.product.capital-cornice-product .price{color:#fff;font-size:14px}
.woocommerce ul.products li.product.capital-cornice-product a{color:inherit;text-decoration:none}
.cc-product-image{width:100%;height:155px;display:flex;justify-content:center;align-items:center;overflow:hidden;margin:0 auto 7px}
.cc-product-image img,.woocommerce ul.products li.product.capital-cornice-product .cc-product-image img{display:block;object-fit:contain;width:100%;height:100%;max-width:100%;margin:0!important;mix-blend-mode:normal}
.cc-profile-mini{width:100%;height:105px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:2px auto 8px}
.cc-profile-mini img{height:100%;width:auto;max-width:100%;object-fit:contain;display:block}
.cc-dimensions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;color:#fff;font-size:12px;line-height:1.4;font-weight:400;margin:8px auto 3px;text-align:center}
.cc-dimensions b{font-weight:600}.cc-dimensions .cc-sep{opacity:.6}.cc-no-image{font-size:13px;opacity:.75}
.woocommerce ul.products li.product.capital-cornice-product .button{display:none}
/* The normal product gallery remains functional, including zoom and gallery thumbnails. */
.single-product .product:has(.cc-gallery-note) .woocommerce-product-gallery{background:var(--cc-bg,#777);padding:18px;box-sizing:border-box}
.single-product .product:has(.cc-gallery-note) .woocommerce-product-gallery__image img{max-height:520px;width:100%;object-fit:contain}
.cc-gallery-note{font-size:12px;text-align:center;color:#fff;margin:8px 0 0}
.single-product .product .summary>.cc-dimensions{justify-content:flex-start;color:inherit;font-size:15px;margin:10px 0 20px}
.cc-shortcode-grid{display:grid;grid-template-columns:repeat(var(--cc-columns,4),minmax(0,1fr));gap:12px}
.cc-shortcode-card{display:block;background:var(--cc-bg,#777);color:#fff!important;text-align:center;padding:18px 13px 20px;text-decoration:none!important;box-sizing:border-box;transition:transform .2s,box-shadow .2s}
.cc-shortcode-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #0003}.cc-card-title{margin:0 0 10px;font-size:17px;font-weight:500}.cc-card-enquiry{margin:10px 0 0;font-size:13px}
@media(max-width:960px){.cc-shortcode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.cc-shortcode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cc-shortcode-card{padding:10px 8px}.cc-product-image{height:110px}.cc-profile-mini{height:75px}.cc-dimensions{font-size:10px;gap:5px}}
/* Impreza/WPBakery forced shop-card layout — v1.1 */
body .woocommerce ul.products li.product.cc-forced-catalogue,
body .w-grid-item.cc-forced-catalogue {overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body .cc-forced-catalogue .cc-force-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:455px;padding:16px 18px 19px!important;margin:0!important;border:0!important;border-radius:5px!important;text-decoration:none!important;background:var(--cc-bg,#777)!important;color:#fff!important;box-shadow:none!important;transition:transform .2s ease,box-shadow .2s ease!important;}
body .cc-forced-catalogue .cc-force-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(0,0,0,.12)!important;}
body .cc-forced-catalogue .cc-force-name{font-size:17px!important;line-height:1.35!important;font-weight:500!important;letter-spacing:0!important;text-align:center!important;color:#fff!important;margin:0 auto 12px!important;min-height:24px!important;}
body .cc-forced-catalogue .cc-force-main{width:100%!important;height:200px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 0 8px!important;overflow:hidden!important;}
body .cc-forced-catalogue .cc-force-front{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;margin:0!important;border:0!important;mix-blend-mode:normal!important;}
body .cc-forced-catalogue .cc-force-profile{width:100%!important;height:140px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 0 9px!important;overflow:hidden!important;}
body .cc-forced-catalogue .cc-force-profile img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;border:0!important;}
body .cc-forced-catalogue .cc-force-dims{font-size:13px!important;line-height:1.5!important;color:#fff!important;text-align:center!important;font-weight:400!important;margin-top:auto!important;}
body .cc-forced-catalogue .cc-force-enquiry{color:#fff!important;font-size:13px!important;text-align:center!important;margin-top:8px!important;}
body .cc-forced-catalogue .w-grid-item-h{height:100%!important;}
@media(max-width:767px){body .cc-forced-catalogue .cc-force-card{min-height:370px!important;padding:12px!important;}body .cc-forced-catalogue .cc-force-main{height:165px!important;}body .cc-forced-catalogue .cc-force-profile{height:108px!important;}body .cc-forced-catalogue .cc-force-name{font-size:15px!important;}}
