.codebytes-products-wrap .codebytes-products-list{display:grid!important;grid-template-columns:repeat(var(--codebytes-columns,6),minmax(0,1fr))!important;gap:24px 16px;margin:0!important;padding:0!important;align-items:stretch}
.codebytes-products-wrap .codebytes-products-list:before,.codebytes-products-wrap .codebytes-products-list:after{content:none!important;display:none!important}
.codebytes-products-wrap .codebytes-products-list>li.product{float:none!important;clear:none!important;width:auto!important;max-width:none!important;min-width:0;margin:0!important;padding:12px!important;border:2px solid #f1f3f5!important;box-sizing:border-box;display:flex!important;flex-direction:column!important;height:100%;position:relative}
.codebytes-products-wrap .codebytes-products-list>li.product>a.woocommerce-LoopProduct-link,.codebytes-products-wrap .codebytes-products-list>li.product>a:first-child{display:block}
.codebytes-products-wrap .codebytes-products-list>li.product img{width:100%;height:auto;image-rendering:auto}
.codebytes-products-wrap .codebytes-products-list>li.product .woocommerce-loop-product__title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-height:1.4;min-height:2.8em;max-height:2.8em}
.codebytes-products-wrap .codebytes-products-list>li.product .price{margin-top:auto}
.codebytes-products-wrap .codebytes-products-list>li.product .codebytes-quick-view{position:absolute!important;top:12px!important;right:12px!important;z-index:5!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;margin:0!important;padding:6px 10px!important;border:1px solid #ddd!important;border-radius:3px!important;background:#fff!important;color:#222!important;font:inherit!important;font-size:11px!important;line-height:1.2!important;cursor:pointer!important;text-align:center!important;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.codebytes-products-wrap .codebytes-products-list>li.product .codebytes-quick-view:hover,.codebytes-products-wrap .codebytes-products-list>li.product .codebytes-quick-view:focus{background:#f7f7f7!important}
.codebytes-load-more-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;margin:28px 0 12px}
.codebytes-load-more-wrap .codebytes-load-more{min-width:160px;cursor:pointer}
.codebytes-load-more-wrap .codebytes-load-more:disabled{opacity:.65;cursor:wait}
.codebytes-load-more-status{font-size:13px}
body.codebytes-qv-open{overflow:hidden}
.codebytes-qv-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.codebytes-qv-modal{position:relative;background:#fff;width:min(900px,100%);max-height:90vh;overflow:auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;padding:28px;box-sizing:border-box;border-radius:4px}
.codebytes-qv-close{position:absolute;right:10px;top:8px;z-index:2;border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer;color:#222}
.codebytes-qv-gallery{min-width:0;text-align:center}
.codebytes-qv-main-image{display:block;width:100%;max-height:62vh;object-fit:contain;margin:0 auto}
.codebytes-qv-thumbs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.codebytes-qv-thumb{width:62px;height:62px;padding:3px;border:1px solid #ddd;background:#fff;cursor:pointer}
.codebytes-qv-thumb.is-active{border-color:#222}
.codebytes-qv-thumb img{width:100%;height:100%;object-fit:contain}
.codebytes-qv-info{align-self:center;padding-right:12px}
.codebytes-qv-info h2{font-size:22px;line-height:1.3;margin:0 0 14px}
.codebytes-qv-price{font-size:18px;margin-bottom:22px}
.codebytes-qv-details{display:inline-block}
.codebytes-qv-no-image{padding:60px 10px;color:#777}
@media(max-width:1024px){.codebytes-products-wrap .codebytes-products-list{grid-template-columns:repeat(min(var(--codebytes-columns,6),3),minmax(0,1fr))!important}}
@media(max-width:600px){.codebytes-products-wrap .codebytes-products-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 10px}.codebytes-products-wrap .codebytes-products-list>li.product{padding:8px!important}.codebytes-qv-modal{grid-template-columns:1fr;gap:14px;padding:22px 16px}.codebytes-qv-main-image{max-height:42vh}.codebytes-qv-info h2{font-size:18px}}

/* Cart feedback modal */
body.codebytes-cart-notice-open{overflow:hidden}
.codebytes-cart-notice-overlay{position:fixed;inset:0;z-index:1000000;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.codebytes-cart-notice{position:relative;width:min(440px,100%);background:#fff;padding:30px 26px 24px;text-align:center;box-shadow:0 12px 45px rgba(0,0,0,.22);border-radius:5px;box-sizing:border-box}
.codebytes-cart-notice h3{font-size:21px;margin:0 25px 12px;line-height:1.3}
.codebytes-cart-notice p{margin:0 0 22px;font-size:15px}
.codebytes-cart-notice-close{position:absolute;right:10px;top:7px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}
.codebytes-cart-notice-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.codebytes-cart-notice-actions .button{margin:0!important}
.codebytes-cart-choose-options{display:inline-block;margin-top:16px;font-size:13px;text-decoration:underline}
.codebytes-cart-notice .checkout-button{background:#d33!important;border-color:#d33!important;color:#fff!important}
/* Product price emphasis and spacing from the title */
.codebytes-products-wrap .codebytes-products-list>li.product .woocommerce-loop-product__title{margin-bottom:10px!important}
.codebytes-products-wrap .codebytes-products-list>li.product .price{font-weight:700!important;margin-top:0!important;display:block}
@media(max-width:600px){.codebytes-cart-notice{padding:26px 18px 20px}.codebytes-cart-notice-actions{flex-direction:column}.codebytes-cart-notice-actions .button{width:100%}}
