/* PCS Products — inherits site theme header/footer and adds responsive product components. */
.pcs-products-app{width:100%;max-width:1500px;margin:0 auto;padding:clamp(22px,4vw,56px) clamp(14px,3vw,36px);box-sizing:border-box;color:#263548}
.pcs-products-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px;padding-bottom:20px;border-bottom:1px solid #e5eaf0}
.pcs-products-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:700;color:#e27a28}
.pcs-products-heading h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:8px 0;color:#173c5c}
.pcs-products-heading p{margin:0;color:#64748b;font-size:16px}
.pcs-products-cart-open,.pcs-product-primary,.pcs-add-to-cart{border:0;border-radius:6px;background:#173c5c;color:#fff;padding:12px 20px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s}
.pcs-products-cart-open:hover,.pcs-product-primary:hover,.pcs-add-to-cart:hover{background:#24577f;color:#fff;transform:translateY(-1px)}
#pcs-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:7px;border-radius:50%;background:#e27a28;color:#fff;font-size:12px}
.pcs-admin-product-toolbar{display:flex;justify-content:flex-end;margin-bottom:22px}
.pcs-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.pcs-product-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:100%;background:#fff;border:1px solid #e7edf2;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(18,48,73,.07);transition:transform .22s,box-shadow .22s}
.pcs-product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(18,48,73,.13)}
.pcs-product-card-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none;overflow:hidden}
.pcs-product-card-link:hover{color:inherit;text-decoration:none}
.pcs-product-image{width:100%;aspect-ratio:1/1;flex:0 0 auto;background:#f5f8fa;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#718096;font-weight:700;border-bottom:1px solid #edf1f4}
.pcs-product-image img{display:block;width:100%;height:100%;object-fit:contain;padding:16px;box-sizing:border-box;transition:transform .35s}
.pcs-product-card:hover .pcs-product-image img{transform:scale(1.045)}
.pcs-product-card-body{padding:16px 17px 10px;min-width:0;overflow:hidden;display:flex;flex-direction:column;flex:1}
.pcs-product-card-body h2{font-size:18px;line-height:1.3;margin:0 0 8px;color:#173c5c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.pcs-product-card-body p{font-size:13px;line-height:1.5;color:#64748b;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.5em}
.pcs-product-price{display:block;color:#e27a28;font-size:18px;font-weight:800;margin:auto 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcs-product-card-actions{display:flex;flex-wrap:wrap;gap:9px;padding:0 17px 16px;margin-top:auto}
.pcs-add-to-cart{flex:1;min-width:0;padding:11px 12px;font-size:13px}
.pcs-view-product{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border:1px solid #d6e0e8;border-radius:6px;color:#173c5c;font-size:13px;font-weight:700;text-decoration:none}
.pcs-view-product:hover{background:#f2f7fa;color:#173c5c}
.pcs-product-admin-actions{width:100%;display:flex;justify-content:flex-end;gap:10px;line-height:1}
.pcs-product-admin-actions button{border:0;background:none;color:#64748b;font-size:12px;cursor:pointer;text-decoration:underline}
.pcs-products-empty{grid-column:1/-1;padding:50px;text-align:center;background:#f7fafc;border-radius:10px;color:#64748b}
.pcs-cart-drawer{position:fixed;inset:0;z-index:999999;background:rgba(8,24,38,.55);opacity:0;visibility:hidden;transition:.25s}
.pcs-cart-drawer.is-open{opacity:1;visibility:visible}
.pcs-cart-panel{position:absolute;right:0;top:0;width:min(480px,100%);height:100%;overflow:auto;background:#fff;padding:24px;box-sizing:border-box;transform:translateX(100%);transition:transform .28s}
.pcs-cart-drawer.is-open .pcs-cart-panel{transform:translateX(0)}
.pcs-cart-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaf0;padding-bottom:15px}
.pcs-cart-header h2{margin:0;color:#173c5c}.pcs-cart-header button,.pcs-product-editor-header button{border:0;background:none;font-size:30px;cursor:pointer;color:#52657a}
.pcs-cart-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf1f4}
.pcs-cart-row strong,.pcs-cart-row small{display:block}.pcs-cart-row small{color:#718096;margin-top:4px}
.pcs-cart-qty{display:flex;align-items:center;gap:8px}.pcs-cart-qty button{border:1px solid #dbe4ec;background:#f7fafc;border-radius:4px;padding:4px 9px;cursor:pointer}.pcs-cart-remove{color:#b42318!important}
.pcs-cart-total{display:flex;justify-content:space-between;padding:18px 0;font-size:18px;color:#173c5c}
.pcs-checkout-form{border-top:1px solid #e5eaf0;padding-top:15px}.pcs-checkout-form h3{color:#173c5c}
.pcs-checkout-form label,.pcs-product-editor-panel label{display:block;margin:13px 0;font-size:14px;font-weight:700;color:#34495e}
.pcs-checkout-form input,.pcs-checkout-form textarea,.pcs-product-editor-panel input[type=text],.pcs-product-editor-panel input[type=number],.pcs-product-editor-panel textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #d5dfe7;border-radius:5px;box-sizing:border-box;font:inherit;font-weight:400}
.pcs-checkout-form .pcs-product-primary{width:100%;margin-top:10px}
.pcs-checkout-note{font-size:12px;color:#718096;line-height:1.5}
.pcs-product-editor{position:fixed;inset:0;z-index:999998;background:rgba(8,24,38,.6);display:none;padding:20px;overflow:auto}
.pcs-product-editor.is-open{display:block}
.pcs-product-editor-panel{max-width:850px;margin:30px auto;background:#fff;border-radius:10px;padding:24px;box-sizing:border-box}
.pcs-product-editor-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaf0;margin-bottom:20px}
.pcs-product-editor-header h2{color:#173c5c}
.pcs-product-secondary{padding:10px 15px;border:1px solid #d5dfe7;background:#f5f8fa;border-radius:5px;color:#173c5c;cursor:pointer}
.pcs-upload-status{display:inline-block;margin-left:8px;font-size:12px;color:#52657a}
#pcs-product-image-preview img{max-width:180px;max-height:160px;object-fit:contain;margin:12px 0}
.pcs-product-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
#pcs-order-message,#pcs-product-save-message{margin-top:12px;color:#173c5c;font-weight:600}
@media(max-width:1100px){.pcs-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:767px){.pcs-products-app{padding:24px 14px}.pcs-products-heading{align-items:flex-start}.pcs-products-heading p{font-size:14px}.pcs-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pcs-product-image img{padding:9px}.pcs-product-card-body{padding:12px 11px 9px}.pcs-product-card-body h2{font-size:15px;line-height:1.3;min-height:2.6em}.pcs-product-card-body p{font-size:11px;line-height:1.4;-webkit-line-clamp:3;min-height:4.2em;margin-bottom:9px}.pcs-product-price{font-size:15px}.pcs-product-card-actions{padding:0 10px 12px;gap:6px}.pcs-add-to-cart{min-width:0;font-size:11px;padding:9px 6px}.pcs-view-product{width:auto;flex:1;font-size:11px;padding:8px 6px}.pcs-product-admin-actions{padding-top:4px}.pcs-products-cart-open{padding:10px 12px}.pcs-product-editor-panel{padding:16px;margin:8px auto}}
@media(max-width:380px){.pcs-products-grid{grid-template-columns:1fr;gap:14px}.pcs-product-card{display:grid;grid-template-columns:38% minmax(0,1fr);grid-template-rows:auto auto}.pcs-product-card-link{grid-column:1/-1;display:grid;grid-template-columns:38% minmax(0,1fr)}.pcs-product-image{height:100%;aspect-ratio:auto;min-height:190px;border-bottom:0;border-right:1px solid #edf1f4}.pcs-product-image img{padding:8px}.pcs-product-card-body{padding:14px 12px}.pcs-product-card-body h2{font-size:16px;min-height:0}.pcs-product-card-body p{font-size:12px;min-height:0;-webkit-line-clamp:4}.pcs-product-card-actions{grid-column:1/-1;padding:0 12px 12px}.pcs-add-to-cart,.pcs-view-product{font-size:12px;padding:9px 8px}}

.pcs-product-single{width:100%;max-width:1320px;margin:0 auto;padding:clamp(24px,4vw,56px) clamp(15px,3vw,36px);box-sizing:border-box;color:#263548}
.pcs-product-breadcrumb{font-size:13px;color:#718096;margin-bottom:25px}
.pcs-product-breadcrumb a{color:#173c5c;text-decoration:none;font-weight:700}
.pcs-product-single-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(25px,4vw,60px);align-items:center}
.pcs-product-single-image{background:#f2f6f9;border-radius:12px;overflow:hidden;min-height:320px;display:flex;align-items:center;justify-content:center}
.pcs-product-single-image img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}
.pcs-product-single-summary h1{font-size:clamp(30px,4vw,48px);line-height:1.15;color:#173c5c;margin:10px 0 18px}
.pcs-product-single-short{font-size:17px;line-height:1.7;color:#64748b}
.pcs-product-single-price{font-size:28px;font-weight:800;color:#e27a28;margin:22px 0}
.pcs-single-add{min-width:190px}
.pcs-product-single-note{font-size:13px;color:#718096;line-height:1.6;margin-top:14px}
.pcs-product-details{max-width:900px;margin:55px auto 30px}
.pcs-product-details h2{font-size:28px;color:#173c5c;border-bottom:1px solid #e5eaf0;padding-bottom:12px}
.pcs-product-details-content{font-size:17px;line-height:1.85;color:#394955}
.pcs-product-details-content img{max-width:100%;height:auto}
@media(max-width:767px){.pcs-product-single-grid{grid-template-columns:1fr;gap:20px}.pcs-product-single-image{min-height:220px}.pcs-product-single-summary h1{font-size:30px}.pcs-product-single-price{font-size:24px}.pcs-product-details{margin-top:35px}.pcs-product-details-content{font-size:15px}}
