
/* Capital Cornice Catalogue v1.4.0 — reference-matched, symmetric compact cards */
body.ccd-archive { --ccd-bg:#777777; --ccd-panel:#626262; --ccd-gutter:8px; }
body.ccd-archive .w-grid-list,
body.ccd-archive .woocommerce ul.products,
body.ccd-archive ul.products {
 display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:var(--ccd-gutter)!important; width:100%!important; max-width:none!important;
 height:auto!important; align-items:stretch!important; padding:0!important;
}
body.ccd-archive .w-grid-list>.w-grid-item,
body.ccd-archive ul.products>li.product {
 position:relative!important; inset:auto!important; transform:none!important;
 display:block!important; width:auto!important; max-width:none!important;
 min-width:0!important; height:auto!important; margin:0!important;
 padding:0!important; float:none!important; clear:none!important;
 grid-column:auto!important; grid-row:auto!important; box-sizing:border-box!important;
}
body.ccd-archive .ccd-card-fixed{
 display:grid!important; grid-template-rows: minmax(43px,auto) 134px 114px minmax(30px,auto)!important;
 align-content:start!important; justify-items:stretch!important;
 width:100%!important; height:100%!important; min-height:0!important;
 gap:0!important; box-sizing:border-box!important; text-align:center!important;
 background:var(--ccd-panel)!important; border:0!important; border-radius:0!important;
 box-shadow:none!important; overflow:hidden!important; margin:0!important;
 padding:10px 9px 8px!important; text-decoration:none!important; color:#fff!important;
 transition:background .2s ease!important;
}
body.ccd-archive .ccd-card-fixed:hover{background:#535353!important; transform:none!important; box-shadow:none!important}
body.ccd-archive .ccd-card-fixed .ccd-title-fixed {
 display:flex!important; justify-content:center!important; align-items:center!important;
 margin:0!important; padding:0 3px!important; min-width:0!important;
 font-size:clamp(16px,1.45vw,22px)!important; font-weight:600!important;
 line-height:1.17!important; letter-spacing:-.025em!important; color:#fff!important;
 text-align:center!important; overflow-wrap:anywhere!important;
}
body.ccd-archive .ccd-card-fixed .ccd-image-stack-fixed {
 grid-row:2 / span 2!important; display:grid!important; grid-template-rows:134px 114px!important;
 width:100%!important; height:248px!important; min-height:0!important;
 padding:0!important; margin:0!important; gap:0!important;
 align-items:center!important; justify-items:center!important; overflow:hidden!important;
}
body.ccd-archive .ccd-card-fixed .ccd-image-stack-fixed > img{
 display:block!important; width:100%!important; height:100%!important;
 max-width:100%!important; min-height:0!important; margin:0!important; padding:0!important;
 border:0!important; border-radius:0!important; object-fit:contain!important;
 object-position:center!important; position:static!important;
}
body.ccd-archive .ccd-card-fixed .ccd-image-stack-fixed > img.ccd-main-fixed {
 transform:scale(1.14)!important; transform-origin:center!important;
}
body.ccd-archive .ccd-card-fixed .ccd-image-stack-fixed > img.ccd-profile-fixed {
 transform:scale(1.06)!important; transform-origin:center!important;
}
body.ccd-archive .ccd-card-fixed .ccd-dimensions-fixed {
 display:flex!important; align-items:center!important; justify-content:center!important;
 min-height:30px!important; margin:0!important; padding:0!important;
 font-size:clamp(11px,.9vw,14px)!important; line-height:1.25!important; font-weight:500!important;
 color:#f6f6f6!important; text-align:center!important; letter-spacing:0!important;
}
body.ccd-archive .l-main .l-section-h {max-width:100%!important;}
@media(max-width:1100px){
 body.ccd-archive .w-grid-list,body.ccd-archive .woocommerce ul.products,body.ccd-archive ul.products{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:760px){
 body.ccd-archive .w-grid-list,body.ccd-archive .woocommerce ul.products,body.ccd-archive ul.products{
   grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important;
 }
 body.ccd-archive .ccd-card-fixed{grid-template-rows:minmax(40px,auto) 110px 96px minmax(30px,auto)!important;padding:7px 5px!important}
 body.ccd-archive .ccd-card-fixed .ccd-title-fixed{font-size:16px!important}
 body.ccd-archive .ccd-card-fixed .ccd-image-stack-fixed{grid-template-rows:110px 96px!important;height:206px!important}
 body.ccd-archive .ccd-card-fixed .ccd-dimensions-fixed{font-size:11px!important}
}
@media(max-width:380px){
 body.ccd-archive .w-grid-list,body.ccd-archive .woocommerce ul.products,body.ccd-archive ul.products{
  grid-template-columns:1fr!important;
 }
 body.ccd-archive .ccd-card-fixed{grid-template-rows:minmax(42px,auto) 140px 125px minmax(34px,auto)!important}
 body.ccd-archive .ccd-card-fixed .ccd-image-stack-fixed{grid-template-rows:140px 125px!important;height:265px!important}
}
/* Restrained single product refinements */
body.ccd-single .woocommerce div.product .product_title,body.ccd-single h1.product_title {
 font-size:clamp(30px,3vw,42px)!important; line-height:1.12!important;
 font-weight:600!important; margin:0 0 16px!important;
}
body.ccd-single .woocommerce div.product .summary,body.ccd-single .product .summary{padding:20px 24px!important;}
body.ccd-single .product .summary p{margin-bottom:12px!important;line-height:1.5!important}
body.ccd-single .woocommerce-product-gallery{padding:12px!important}
body.ccd-single .flex-control-nav.flex-control-thumbs{display:flex!important;gap:8px!important;margin:8px 0 0!important;padding:0!important}
body.ccd-single .product .summary .button{min-height:46px!important;padding:12px 22px!important}
@media(max-width:760px){body.ccd-single .woocommerce div.product .summary{padding:16px!important}}
@media(prefers-reduced-motion:reduce){body.ccd-archive .ccd-card-fixed{transition:none!important}}
/* v1.5 single product product-sheet redesign */
body.ccd-single{--ccd-accent:#b3a778;--ccd-button:#b3a778;--ccd-button-text:#222;--ccd-panel:#f6f4ef}
body.ccd-single .ccd-product-sheet{display:grid!important;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)!important;align-items:stretch!important;gap:clamp(22px,3vw,50px)!important;width:100%!important;max-width:1300px!important;margin:0 auto!important;padding:clamp(20px,3.2vw,44px)!important;background:#f6f4ef!important;box-sizing:border-box!important;color:#292b29!important;}
body.ccd-single .ccd-sheet-visual{min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#e7e4dc!important;border-radius:10px!important;overflow:hidden!important;padding:clamp(12px,2vw,24px)!important}
body.ccd-single .ccd-sheet-visual .woocommerce-product-gallery,body.ccd-single .ccd-sheet-visual .images,body.ccd-single .ccd-sheet-visual .w-post-elm{float:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;}
body.ccd-single .ccd-sheet-visual .woocommerce-product-gallery__image img,body.ccd-single .ccd-sheet-visual .images img{max-height:470px!important;width:100%!important;object-fit:contain!important;}
body.ccd-single .ccd-sheet-visual .flex-control-thumbs{display:flex!important;gap:10px!important;align-items:center!important;padding:12px 0 0!important;margin:0!important}
body.ccd-single .ccd-sheet-visual .flex-control-thumbs li{float:none!important;width:74px!important;border-radius:6px!important;overflow:hidden!important;}
body.ccd-single .ccd-sheet-details{min-width:0!important;display:flex!important;align-items:center!important;}
body.ccd-single .ccd-sheet-details .summary{width:100%!important;float:none!important;margin:0!important;padding:14px 0!important;color:#333!important;background:transparent!important;}
body.ccd-single .ccd-sheet-head{padding:0 0 22px!important;border-bottom:1px solid #d8d3c7!important;margin:0 0 23px!important}
body.ccd-single .ccd-sheet-overline,body.ccd-single .ccd-section-label{font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;color:#8c7d55!important;text-transform:uppercase!important;margin:0 0 12px!important;line-height:1.4!important}
body.ccd-single .ccd-sheet-head h1,body.ccd-single .ccd-sheet-head h1.product_title{color:#272925!important;font-size:clamp(30px,3.4vw,46px)!important;line-height:1.12!important;font-weight:600!important;letter-spacing:-.035em!important;margin:0 0 14px!important;padding:0!important;}
body.ccd-single .ccd-sheet-sku{font-size:12px!important;font-weight:600!important;color:#666!important;letter-spacing:.06em!important;margin:0!important}
body.ccd-single .ccd-sheet-spec{margin:0 0 24px!important;padding:0!important;}
body.ccd-single .ccd-sheet-spec-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
body.ccd-single .ccd-spec-item{display:flex!important;flex-direction:column!important;gap:5px!important;background:#fff!important;border:1px solid #e1ddd3!important;padding:18px!important;border-radius:6px!important;min-width:0!important;}
body.ccd-single .ccd-spec-value{font-size:clamp(25px,2.3vw,34px)!important;line-height:1.1!important;letter-spacing:-.035em!important;color:#30342f!important;font-weight:650!important}
body.ccd-single .ccd-spec-label{font-size:13px!important;line-height:1.4!important;color:#777!important;font-weight:500!important}
body.ccd-single .ccd-sheet-details .woocommerce-product-details__short-description{color:#4e504c!important;font-size:15px!important;line-height:1.65!important;margin:0 0 18px!important;}
body.ccd-single .ccd-sheet-details .woocommerce-product-details__short-description p{margin:0 0 12px!important}
body.ccd-single .ccd-sheet-details .product_meta{display:none!important}
body.ccd-single .ccd-sheet-details .ccd-sheet-cta{margin:22px 0 0!important;display:flex!important;flex-direction:column!important;gap:10px!important;}
body.ccd-single .ccd-enquire-button{display:block!important;width:100%!important;background:var(--ccd-button)!important;color:var(--ccd-button-text)!important;border:0!important;border-radius:5px!important;padding:17px 22px!important;font-size:15px!important;line-height:1.3!important;font-weight:700!important;letter-spacing:.015em!important;cursor:pointer!important;text-align:center!important;transition:filter .2s ease,transform .2s ease!important;}
body.ccd-single .ccd-enquire-button:hover{filter:brightness(.94)!important;transform:translateY(-1px)!important;}
body.ccd-single .ccd-enquire-button:focus-visible,body.ccd-single .ccd-close:focus-visible{outline:3px solid #283c3f!important;outline-offset:3px!important}
body.ccd-single .ccd-cta-note{font-size:12px!important;line-height:1.5!important;color:#777!important;text-align:center!important}
body.ccd-single .ccd-hide-legacy,body.ccd-single .ccd-hide-stock{display:none!important}
body.ccd-single .ccd-sheet-details .stock{color:#686b64!important}
.ccd-enquiry-overlay[hidden]{display:none!important}
.ccd-enquiry-overlay{position:fixed!important;inset:0!important;z-index:999999!important;background:rgba(22,25,23,.75)!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:20px!important;box-sizing:border-box!important;overflow-y:auto!important;}
.ccd-enquiry-panel{position:relative!important;background:#fff!important;color:#202620!important;border-radius:10px!important;box-shadow:0 24px 80px rgba(0,0,0,.25)!important;padding:clamp(24px,4vw,45px)!important;width:100%!important;max-width:640px!important;max-height:90vh!important;overflow:auto!important;box-sizing:border-box!important;outline:none!important;}
.ccd-close{position:absolute!important;right:18px!important;top:12px!important;border:0!important;background:transparent!important;color:#333!important;font-size:34px!important;cursor:pointer!important;line-height:1!important;padding:4px 9px!important}
.ccd-eyebrow{font-size:11px!important;letter-spacing:.15em!important;color:#8d815e!important;font-weight:700!important;margin:0 0 10px!important}
.ccd-enquiry-panel h2{font-size:clamp(27px,4vw,36px)!important;font-weight:600!important;line-height:1.15!important;color:#222!important;margin:0 35px 12px 0!important}
.ccd-dialog-sub{font-size:14px!important;color:#61635e!important;line-height:1.6!important;margin:0 0 22px!important}
.ccd-form-missing{padding:12px 15px!important;background:#fbf6e4!important;color:#544b2a!important;border-left:3px solid #b3a778!important}
.ccd-modal-open{overflow:hidden!important}
@media(max-width:850px){body.ccd-single .ccd-product-sheet{grid-template-columns:1fr!important;gap:18px!important;padding:20px!important}body.ccd-single .ccd-sheet-visual{min-height:300px!important}}
@media(max-width:520px){body.ccd-single .ccd-product-sheet{padding:12px!important}body.ccd-single .ccd-sheet-visual{min-height:240px!important}body.ccd-single .ccd-spec-item{padding:14px!important}body.ccd-single .ccd-sheet-details .summary{padding:8px 4px!important} .ccd-enquiry-overlay{padding:10px!important}}

/* Reliable self-rendered Impreza-independent product sheet, v1.6 */
body.ccd-single .ccd-v16-sheet{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:clamp(20px,3vw,46px)!important;width:100%!important;max-width:1360px!important;margin:15px auto 38px!important;padding:clamp(18px,3vw,42px)!important;background:#f6f4ef!important;color:#272925!important;box-sizing:border-box!important;float:none!important;clear:both!important;position:relative!important}
body.ccd-single .ccd-v16-native-hidden{display:none!important}
body.ccd-single .ccd-v16-photos{background:#e9e5db!important;min-width:0!important;border-radius:9px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:13px!important;padding:clamp(14px,2vw,26px)!important}
body.ccd-single .ccd-v16-hero{display:block!important;width:100%!important;height:clamp(290px,30vw,470px)!important;object-fit:contain!important;box-shadow:none!important;background:transparent!important}
body.ccd-single .ccd-v16-thumbs{display:flex!important;gap:10px!important;justify-content:center!important}
body.ccd-single .ccd-v16-thumb{background:#fff!important;border:2px solid transparent!important;border-radius:6px!important;width:76px!important;height:72px!important;padding:4px!important;cursor:pointer!important}
body.ccd-single .ccd-v16-thumb.active{border-color:#b3a778!important}
body.ccd-single .ccd-v16-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
body.ccd-single .ccd-v16-info{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;padding:10px 0!important;color:#2b2d2a!important}
body.ccd-single .ccd-v16-kicker{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.13em!important;font-weight:700!important;color:#8d805c!important}
body.ccd-single .ccd-v16-title{color:#252824!important;font-size:clamp(32px,3.1vw,48px)!important;line-height:1.12!important;font-weight:600!important;margin:15px 0 12px!important;padding:0!important}
body.ccd-single .ccd-v16-ref{font-size:13px!important;letter-spacing:.04em!important;color:#676965!important;margin:0 0 28px!important}
body.ccd-single .ccd-v16-label{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.12em!important;color:#8c7d55!important;font-weight:700!important;margin:0 0 12px!important}
body.ccd-single .ccd-v16-dims{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-bottom:23px!important}
body.ccd-single .ccd-v16-dim{display:flex!important;flex-direction:column!important;gap:5px!important;background:#fff!important;border:1px solid #dedace!important;padding:18px!important;border-radius:6px!important}
body.ccd-single .ccd-v16-dim strong{font-size:clamp(24px,2vw,34px)!important;line-height:1.2!important;color:#2b2d2a!important}
body.ccd-single .ccd-v16-dim span{font-size:13px!important;color:#6f706d!important}
body.ccd-single .ccd-v16-desc{font-size:15px!important;line-height:1.6!important;color:#555955!important;margin:0 0 18px!important}
body.ccd-single .ccd-v16-button{min-height:52px!important;margin-top:4px!important}
body.ccd-single .ccd-v16-note{text-align:center!important;font-size:12px!important;color:#686966!important;margin:10px 0 0!important}
@media(max-width:850px){body.ccd-single .ccd-v16-sheet{grid-template-columns:1fr!important;padding:18px!important}body.ccd-single .ccd-v16-hero{height:310px!important}}
@media(max-width:480px){body.ccd-single .ccd-v16-sheet{padding:12px!important}body.ccd-single .ccd-v16-dim{padding:13px!important}body.ccd-single .ccd-v16-dim strong{font-size:23px!important}}
