/* Khalifa Bakers - Custom static cart + WhatsApp ordering UX */
:root{--kb-wa:#25D366;--kb-primary:#BC8157;--kb-dark:#1f2937;--kb-muted:#6b7280;--kb-border:rgba(17,24,39,.10);--kb-shadow:0 10px 25px rgba(17,24,39,.08);--kb-radius:14px}

/* Product cards */
li.product_item{border:1px solid var(--kb-border)!important;border-radius:var(--kb-radius)!important;overflow:hidden!important;background:#fff!important;box-shadow:0 6px 18px rgba(17,24,39,.06)!important}
li.product_item .product_item--inner{transition:transform .2s ease,box-shadow .2s ease}
li.product_item:hover .product_item--inner{transform:translateY(-2px);box-shadow:0 14px 30px rgba(17,24,39,.10)}
li.product_item .product_item--thumbnail-holder a{display:block;cursor:pointer}
li.product_item .product_item--info{padding:14px 14px 16px}
li.product_item .product_item--title{margin:0 0 6px!important;line-height:1.25}
li.product_item .product_item--title a{color:var(--kb-dark)!important;text-decoration:none!important}
li.product_item .price{display:block;margin:0 0 10px!important;color:var(--kb-primary)!important;font-weight:700}

/* Hide Woo buttons that don't work in static export */
.product_item_thumbnail_action,.product_item--info-action{display:none!important}


/* Product actions */
.kb-product-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px}
.kb-product-actions button,.kb-product-actions a{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 12px;font-weight:700;font-size:14px;line-height:1;border:1px solid var(--kb-border);text-decoration:none;cursor:pointer;user-select:none;transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease}
.kb-product-actions button:active,.kb-product-actions a:active{transform:translateY(1px)}
.kb-btn-wa{background:var(--kb-wa);border-color:rgba(0,0,0,.08);color:#fff}
.kb-btn-wa:hover{box-shadow:0 10px 22px rgba(37,211,102,.22)}
.kb-btn-cart{background:#fff;color:var(--kb-dark)}
.kb-btn-cart:hover{box-shadow:var(--kb-shadow)}
.kb-cart-hint{font-size:12px;color:var(--kb-muted);margin-top:8px}

/* Floating cart */
#kb-floating-cart{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:99999;background:#fff;border:1px solid var(--kb-border);box-shadow:var(--kb-shadow);border-radius:999px;padding:10px 14px;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--kb-dark);font-weight:800}
#kb-floating-cart .kb-badge{background:var(--kb-dark);color:#fff;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:800}
#kb-floating-cart:hover{box-shadow:0 16px 34px rgba(17,24,39,.12)}

/* --- Cart page --- */
.kb-cart-page{max-width:980px;margin:0 auto;padding:28px 16px}
.kb-cart-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.kb-cart-title{font-size:28px;font-weight:900;margin:0;color:var(--kb-dark)}
.kb-cart-sub{margin:0;color:var(--kb-muted)}
.kb-cart-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
@media(max-width:900px){.kb-cart-grid{grid-template-columns:1fr}}
.kb-card{background:#fff;border:1px solid var(--kb-border);border-radius:var(--kb-radius);box-shadow:0 6px 18px rgba(17,24,39,.06);padding:16px}
.kb-cart-items{display:flex;flex-direction:column;gap:12px}
.kb-item{display:flex;gap:12px;align-items:flex-start;border:1px solid rgba(17,24,39,.08);border-radius:12px;padding:12px}
.kb-item-title{font-weight:900;margin:0 0 4px;color:var(--kb-dark)}
.kb-item-price{color:var(--kb-primary);font-weight:800;margin:0 0 10px}
.kb-qty{display:inline-flex;align-items:center;gap:10px}
.kb-qty button{width:34px;height:34px;border-radius:10px;border:1px solid var(--kb-border);background:#fff;font-weight:900;cursor:pointer}
.kb-qty span{min-width:22px;text-align:center;font-weight:900}
.kb-remove{margin-left:auto;border:none;background:transparent;color:#b91c1c;font-weight:900;cursor:pointer}
.kb-empty{color:var(--kb-muted)}
.kb-form{display:flex;flex-direction:column;gap:10px}
.kb-form label{font-weight:800;color:var(--kb-dark);font-size:13px}
.kb-form input,.kb-form textarea{width:100%;border:1px solid var(--kb-border);border-radius:12px;padding:11px 12px;font-size:14px;outline:none}
.kb-form textarea{min-height:100px;resize:vertical}
.kb-place{display:flex;gap:10px;margin-top:8px}
.kb-place button{flex:1;border-radius:12px;padding:12px 12px;font-weight:900;border:1px solid var(--kb-border);cursor:pointer}
.kb-place .kb-primary{background:var(--kb-wa);color:#fff;border-color:rgba(0,0,0,.08)}
.kb-place .kb-secondary{background:#fff;color:var(--kb-dark)}
.kb-note{font-size:12px;color:var(--kb-muted);margin-top:10px}
