/* Quick add to cart (quick-order.js): one cart button for every product-card system + the configuration dialog. */
html:root .shop-quick-add{flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:8px!important;box-sizing:border-box!important;border:1px solid #e1b7b5!important;border-radius:6px!important;background:#fff2f1!important;color:#b40000!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:none!important;transition:background .15s ease!important}
html:root .shop-quick-add svg{width:22px!important;height:22px!important;display:block!important}
html:root .shop-quick-add:hover{background:#ffe4e2!important}
html:root .shop-quick-add:focus-visible{outline:2px solid #b40000!important;outline-offset:2px!important}
/* Directory cards (/products): same height as their "view product" link. */
html:root .lx-card-actions .shop-quick-add{height:auto!important;min-height:40px!important;align-self:stretch!important}
/* Search results are whole-card links: the button sits on the image corner, outside the link. */
html:root .eb-qa-overlay{position:relative!important;display:grid!important;min-width:0!important}
html:root .eb-qa-overlay>a{height:100%!important}
html:root .eb-qa-overlay>.shop-quick-add{position:absolute!important;top:8px!important;inset-inline-end:8px!important;z-index:2!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:7px!important;background:#fff!important;box-shadow:0 2px 8px #0000001f!important}

.shop-quick-order{padding:0;border:0;border-radius:14px;width:min(680px,calc(100% - 32px));max-width:680px;height:90dvh;max-height:900px;background:#fff;color:#1a1c1c;box-shadow:0 16px 80px #0003;overflow:hidden;font-family:Tajawal,Arial,sans-serif}
.shop-quick-order[open]{display:flex;flex-direction:column}
.shop-quick-order::backdrop{background:#15191d80}
.shop-quick-head{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:12px 20px;border-bottom:1px solid #eee;background:#fff;flex:none}
.shop-quick-back{justify-self:start;background:none;border:0;color:#a00;padding:5px 0;min-height:36px;font:600 14px/1.5 Tajawal,Arial,sans-serif;cursor:pointer}
.shop-quick-full{align-self:center;color:#62656a;font-size:12px;text-decoration:underline}
.shop-quick-product{grid-column:1/-1;display:flex;align-items:center;gap:12px;min-width:0}
.shop-quick-product img{width:56px;height:56px;flex:none;object-fit:cover;border-radius:8px;background:#f4f5f7}
.shop-quick-product img[hidden]{display:none}
.shop-quick-product>div{min-width:0}
.shop-quick-product h2{font:700 18px/1.4 Tajawal,Arial,sans-serif;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.shop-quick-product small{display:block;color:#62656a;font:600 12px/1.5 Arial,sans-serif;text-align:start}
.shop-quick-product small[hidden]{display:none}
.shop-quick-status{padding:20px;margin:0;font-size:15px}
.shop-quick-host{flex:1;min-height:0}
.shop-quick-host iframe{border:0;width:100%;height:100%;display:block;background:#fff}
.shop-quick-host iframe[hidden],.shop-quick-status[hidden]{display:none}
.shop-quick-success{display:flex;gap:12px;padding:0 20px 20px;flex-wrap:wrap}
.shop-quick-success>*{font:700 15px/1.5 Tajawal,Arial,sans-serif;background:#c60000;color:#fff;border:0;padding:12px 20px;min-height:44px;border-radius:6px;text-decoration:none;cursor:pointer}
.shop-quick-success>a{background:#f4f5f7;color:#202428}
@media(max-width:600px){.shop-quick-order{width:100%;max-width:100%;height:94dvh;max-height:94dvh;margin:auto 0 0;border-radius:16px 16px 0 0}.shop-quick-head{padding:10px 16px}.shop-quick-product img{width:44px;height:44px}.shop-quick-product h2{font-size:16px}.shop-quick-full{font-size:11px}}
