.dcc-offcanvas{position:fixed;top:0;right:0;height:100%;width:380px;max-width:90vw;background:#fff;box-shadow:-2px 0 12px rgba(0,0,0,.15);transform:translateX(100%);transition:transform .3s ease;z-index:1000;display:flex;flex-direction:column}
.dcc-offcanvas.open{transform:translateX(0)}
.dcc-offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #eee;font-weight:600}
.dcc-offcanvas-close{background:transparent;border:0;font-size:24px;line-height:1;cursor:pointer}
.dcc-offcanvas-body{overflow:auto;flex:1;padding:12px 16px}
.dcc-offcanvas-product{position:relative;border:1px solid #eee;border-radius:8px;padding:12px;margin-bottom:12px;display:grid;grid-template-columns:60px 1fr auto;grid-gap:12px;align-items:center}
.dcc-spinner{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:rgba(255,255,255,.7);z-index:5}
.dcc-offcanvas-product.loading .dcc-spinner{display:flex}
.dcc-loader{width:28px;height:28px;border-radius:50%;border:3px solid #999;border-top-color:transparent;animation:dccspin .8s linear infinite}
@keyframes dccspin{to{transform:rotate(360deg)}}
.dcc-success{display:grid;grid-template-columns:1fr;grid-gap:12px}
.dcc-success .msg{font-weight:600}
.dcc-success-actions{display:flex;gap:8px}
.dcc-success-actions .dcc-continue-btn,.dcc-success-actions .dcc-checkout-btn{padding:8px 12px;border-radius:6px;border:1px solid #ddd;background:#f7f7f7;cursor:pointer}
.dcc-success-actions .dcc-checkout-btn{background:#111;color:#fff;border-color:#111}
.dcc-offcanvas-product .dcc-thumb img{width:60px;height:60px;object-fit:cover;border-radius:6px}
.dcc-offcanvas-product .dcc-info{font-size:14px}
.dcc-offcanvas-product .dcc-info .name{font-weight:600;margin-bottom:4px}
.dcc-offcanvas-product .dcc-info .price{color:#333}
.dcc-offcanvas-product .dcc-info .desc{margin-top:6px;color:#555;font-size:13px}
.dcc-offcanvas-product .dcc-actions{display:contents;align-items:center;gap:8px}
.dcc-qty{display:flex;align-items:center;border:1px solid #ddd;border-radius:6px;overflow:hidden}
.dcc-qty button{width:28px;height:28px;border:0;background:#f5f5f5;cursor:pointer}
.dcc-qty input{width:46px;text-align:center;border:0;padding:0;height:28px}
.dcc-offcanvas-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;transition:opacity .3s ease;z-index:999;display:none}
.dcc-offcanvas-backdrop.show{display:block;opacity:1}
.dcc-qty {margin: auto;}

/* Complements */
.dcc-complements { margin-top: 16px; border-top: 1px solid #eee; padding-top: 12px; }
.dcc-comp-group { margin-bottom: 16px; }
.dcc-comp-header { margin-bottom: 8px; }
.dcc-comp-desc { font-weight: 600; font-size: 14px; color: #333; }
.dcc-comp-limit { font-size: 11px; text-transform:uppercase; letter-spacing:0.5px; color: #777; background: #f5f5f5; display: inline-block; padding: 2px 6px; border-radius: 4px; margin-top: 4px; }
.dcc-comp-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 13px; cursor: pointer; }
.dcc-comp-item input { margin-right: 8px; accent-color: #111; }
.dcc-comp-name { flex: 1; color: #444; }
.dcc-comp-price { font-weight: 500; font-size: 12px; color: #111; }

.dcc-total-price { font-weight: 700; font-size: 16px; margin-bottom: 8px; color: #111; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding-bottom: 8px; }

/* Product Embed Shortcode */
.dcc-product-embed { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #eee; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 20px; align-items: start; }
.dcc-embed-info { order: 1; }
.dcc-embed-media { order: 2; }
.dcc-embed-title { margin: 0 0 10px; font-size: 24px; color: #111; }
.dcc-embed-price { font-size: 18px; font-weight: 600; color: #111; margin-bottom: 15px; }
.dcc-embed-desc { margin-bottom: 20px; font-size: 14px; color: #555; }
.dcc-embed-media img { width: 100%; height: auto; border-radius: 8px; object-fit: cover; }

@media (max-width: 768px) {
    .dcc-product-embed { grid-template-columns: 1fr; }
    .dcc-embed-info { order: 2; }
    .dcc-embed-media { order: 1; margin-bottom: 20px; }
}
