/* Storefront cart, checkout, account and order tracking */
.ma-store-float{position:fixed;z-index:9998;inset-inline-end:18px;bottom:18px;display:flex;align-items:center;gap:7px;padding:7px;background:#181a18;color:#fff;border-radius:999px;box-shadow:0 10px 35px #0002;font:500 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;direction:inherit}
.ma-store-float a{display:inline-flex;align-items:center;gap:7px;color:inherit;text-decoration:none;padding:9px 13px;border-radius:999px;background:#ffffff12}
.ma-store-float a:hover{background:var(--ma-store-accent,#b99863);color:#fff}
.ma-store-float b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:50%;background:var(--ma-store-accent,#b99863);color:#fff;font-size:11px}
[data-store-categories]{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;max-width:1240px;margin:0 auto 22px;padding-inline:20px}
[data-store-categories] button{appearance:none;border:1px solid var(--line, #dedbd4);background:#fff;color:inherit;padding:9px 17px;cursor:pointer;font-family:inherit;font-size:12px;font-weight:500;line-height:1.5;border-radius:30px}
[data-store-categories] button.on,[data-store-categories] button:hover{border-color:var(--acc,#b99863);background:var(--acc,#b99863);color:#fff}
.ma-add-cart{appearance:none;border:1px solid var(--acc,#b99863);background:transparent;color:var(--acc,#8d7046);border-radius:2px;padding:8px 11px;cursor:pointer;font-size:11px;font-weight:700}
.ma-add-cart:hover{background:var(--acc,#b99863);color:white}.ma-add-cart:disabled{opacity:.45;cursor:not-allowed}
.ma-product-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#827b70;font-size:14px;background:linear-gradient(135deg,#f5f2ed,#ebe6dc)}
.ma-store-empty{grid-column:1/-1;padding:25px;text-align:center;background:#f8f7f4;color:#777}
[data-store-product][hidden]{display:none!important}
.ma-store-card .product-photo{display:block;width:100%;padding:0;border:0;background:#f5f3ef;cursor:zoom-in;overflow:hidden;aspect-ratio:1/1}.ma-store-card .product-photo .product-img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}.ma-store-card .product-photo:hover .product-img{transform:scale(1.04)}.ma-store-card .product-copy>small{font-size:10px;letter-spacing:.04em;opacity:.7}.ma-store-card .product-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ma-store-old-price{margin-inline-start:7px;color:#8a8881;font-size:.82em;font-weight:400}.ma-product-detail-link{margin-top:7px}
.ma-product-modal{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:20px;background:#171613a8;direction:inherit}.ma-product-dialog{position:relative;width:min(100%,850px);max-height:min(92vh,850px);overflow:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:22px;padding:28px;background:#fff;box-shadow:0 25px 90px #0003}.ma-product-close{position:absolute;z-index:1;inset-block-start:10px;inset-inline-start:12px;width:38px;height:38px;border:0;background:#f4f2ee;border-radius:50%;font-size:25px;line-height:1;cursor:pointer}.ma-product-gallery{min-width:0}.ma-product-main-image{display:block;width:100%;max-height:60vh;aspect-ratio:1/1;object-fit:contain;background:#f6f4ef}.ma-product-thumbs{grid-column:1;display:flex;gap:9px}.ma-product-thumb{width:72px;height:72px;padding:3px;border:1px solid #dedbd4;background:#fff;cursor:pointer}.ma-product-thumb.on{border-color:var(--ma-store-accent,#b99863)}.ma-product-thumb img{width:100%;height:100%;object-fit:cover}.ma-product-modal-copy{grid-column:2;grid-row:1 / span 2;display:grid;justify-items:start;gap:14px}.ma-product-category{font-size:11px;color:#77736b}.ma-product-modal-copy h2{margin:0;font-size:clamp(23px,3vw,34px);line-height:1.3}.ma-product-description{margin:0;color:#69665e;font-size:14px;line-height:1.9}.ma-product-prices{display:flex;align-items:baseline;gap:10px;font-size:22px;color:var(--ma-store-accent,#927346)}.ma-product-prices del{font-size:14px;color:#89867f;font-weight:400}
.ma-store-page{margin:0;background:#f7f6f2;color:#242522;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;line-height:1.65;direction:inherit;min-height:100vh}
.ma-store-head{min-height:72px;padding:12px max(20px,calc((100% - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid #e7e4dd}
.ma-store-brand{font-family:inherit;font-weight:800;font-size:19px;color:inherit;text-decoration:none}
.ma-store-head nav{display:flex;gap:18px;flex-wrap:wrap}.ma-store-head nav a{font-size:12px;color:#605e58;text-decoration:none}.ma-store-head nav a:hover{color:var(--ma-store-accent,#b99863)}
.ma-store-main{width:min(100% - 32px,960px);min-height:55vh;margin:35px auto 72px}
.ma-store-main>h1{font-size:clamp(26px,4vw,38px);margin:0 0 21px;font-weight:700;letter-spacing:-.03em}
.ma-store-foot{padding:25px;text-align:center;background:#ece9e2;color:#6f6b63;font-size:12px}
.ma-store-cardbox{display:grid;gap:16px;padding:24px;background:#fff;border:1px solid #e8e5de;box-shadow:0 8px 30px #29251508}
.ma-store-cardbox h2{margin:0;font-size:19px;line-height:1.5}
.ma-store-btn{display:inline-flex;width:max-content;max-width:100%;align-items:center;justify-content:center;text-decoration:none;border:1px solid var(--ma-store-accent,#b99863);background:var(--ma-store-accent,#b99863);color:white;padding:11px 18px;font-family:inherit;font-size:12px;font-weight:700;line-height:1.5;cursor:pointer;border-radius:2px}
.ma-store-btn:hover{filter:brightness(.94);color:#fff}.ma-store-btn:disabled{opacity:.55;cursor:not-allowed}
.ma-store-link{border:0;background:transparent;padding:5px 0;color:var(--ma-store-accent,#927346);text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;width:max-content}.ma-store-link.danger{color:#a33c36}
.ma-store-form{display:grid;gap:14px}.ma-store-field{display:grid;gap:6px;font-size:12px;color:#55544e}.ma-store-field input,.ma-store-field textarea{width:100%;min-width:0;border:1px solid #dedbd4;background:#fff;padding:11px 12px;border-radius:2px;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;color:#222;outline:none}.ma-store-field input:focus,.ma-store-field textarea:focus{border-color:var(--ma-store-accent,#b99863);box-shadow:0 0 0 3px color-mix(in srgb,var(--ma-store-accent,#b99863) 15%,transparent)}.ma-store-field textarea{min-height:85px;resize:vertical}
.ma-store-message{margin:0;color:#60705c;font-size:12px}.ma-store-message.bad{color:#a33c36}.ma-store-message.ok{color:#39734a}.ma-store-muted{margin:0;color:#77766f;font-size:12px}
.ma-store-cart-lines{display:grid}.ma-store-cart-line{display:grid;grid-template-columns:76px minmax(100px,1fr) auto auto auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #eeeae2}.ma-store-cart-line>img{width:76px;height:76px;object-fit:cover;background:#f4f1ea}.ma-store-cart-info{display:grid;gap:4px}.ma-store-cart-info b{font-size:13px}.ma-store-cart-info small{font-size:11px;color:#777}.ma-store-qty{display:flex;align-items:center;gap:10px}.ma-store-qty button{width:28px;height:28px;border:1px solid #dedbd4;background:#fff;cursor:pointer}.ma-store-line-total{white-space:nowrap;font-size:12px}.ma-store-summary{width:min(100%,390px);justify-self:end;display:grid;grid-template-columns:1fr auto;gap:8px 22px;padding:12px 0;color:#62615b;font-size:12px}.ma-store-summary b{text-align:left;color:#272822}.ma-store-summary .total{border-top:1px solid #e7e4dd;margin-top:6px;padding-top:12px;color:#222;font-weight:800;font-size:14px}
.ma-store-payments{display:flex;gap:10px;flex-wrap:wrap}.ma-store-radio{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1px solid #e2dfd8;background:#fff;font-size:12px;cursor:pointer}.ma-store-radio input{accent-color:var(--ma-store-accent,#b99863)}
.ma-store-transfer{padding:15px 17px;background:#f6f3ec;border-inline-start:3px solid var(--ma-store-accent,#b99863);font-size:12px}.ma-store-transfer p{margin:5px 0}.ma-store-transfer small{display:block;margin-top:10px;color:#6e6b64}
.ma-store-confirm{border-top:3px solid var(--ma-store-accent,#b99863)}.ma-store-confirm>p{margin:0;color:#62615b;font-size:13px}.ma-store-receipt{border-top:1px dashed #d9d5cc;padding-top:16px}
.ma-store-account{display:grid;gap:22px}.ma-store-order{display:grid;gap:10px;padding:16px 0;border-top:1px solid #ece9e2}.ma-store-order-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ma-store-order-head>b:last-child{margin-inline-start:auto}.ma-store-status{display:inline-flex;padding:4px 9px;border-radius:30px;background:#f1eee7;color:#716a5e;font-size:11px}.ma-store-status.review,.ma-store-status.awaiting_receipt{background:#fff3d4;color:#835c08}.ma-store-status.confirmed,.ma-store-status.delivered{background:#e6f3e9;color:#39734a}.ma-store-status.cancelled,.ma-store-status.rejected{background:#f8e8e5;color:#9a3e35}.ma-store-order>small{color:#888;font-size:10px}.ma-store-order-items{margin:0;padding-inline-start:20px;font-size:12px;color:#5e5e58}.ma-store-order-items li{padding:2px 0}
.ma-store-toast{position:fixed;z-index:10001;inset-inline-start:18px;bottom:22px;max-width:min(90vw,360px);padding:12px 16px;background:#20221e;color:#fff;opacity:0;transform:translateY(8px);transition:.22s;border-radius:4px;box-shadow:0 8px 30px #0002;font-size:13px;direction:inherit}.ma-store-toast.show{opacity:1;transform:none}.ma-store-toast.bad{background:#8e302a}
@media(max-width:650px){.ma-store-float{inset-inline:10px;bottom:10px;justify-content:center}.ma-store-float a{flex:1;justify-content:center;padding:10px 7px;font-size:11px}.ma-store-head{align-items:flex-start;flex-direction:column;padding:15px 18px;gap:10px}.ma-store-head nav{gap:14px}.ma-store-main{width:calc(100% - 24px);margin:24px auto 70px}.ma-store-cardbox{padding:17px}.ma-store-cart-line{grid-template-columns:58px minmax(80px,1fr) auto;gap:9px}.ma-store-cart-line>img{width:58px;height:58px}.ma-store-qty{grid-column:2;grid-row:2}.ma-store-line-total{grid-column:3;grid-row:1}.ma-store-cart-line>.ma-store-link{grid-column:3;grid-row:2}.ma-store-summary{width:100%}[data-store-categories]{padding-inline:12px}[data-store-categories] button{padding:8px 12px;font-size:11px}.ma-product-dialog{grid-template-columns:1fr;gap:13px;padding:18px}.ma-product-main-image{max-height:43vh}.ma-product-thumbs,.ma-product-modal-copy{grid-column:1;grid-row:auto}.ma-product-modal-copy{gap:9px}.ma-product-description{font-size:12px}.ma-product-thumb{width:58px;height:58px}}
.ma-store-page{font-family:'Cairo','Tajawal',sans-serif}
.ma-store-page button,.ma-store-page input,.ma-store-page textarea,.ma-store-page select{font-family:inherit}
.ma-product-detail-page{display:grid;gap:20px}
.ma-product-breadcrumb{display:flex;gap:8px;align-items:center;color:#68655e;font-size:12px}
.ma-product-breadcrumb a{color:var(--ma-store-accent,#927346)}
.ma-product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);grid-template-rows:auto 1fr;align-items:start;gap:18px 30px;padding:24px;background:#fff;border:1px solid #e8e5de}
.ma-product-detail-layout>.ma-product-gallery{grid-column:1;grid-row:1}
.ma-product-detail-layout>.ma-product-thumbs{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap}
.ma-product-detail-copy{grid-column:2;grid-row:1 / span 2;display:grid;justify-items:start;align-content:start;gap:16px}
.ma-product-detail-copy h1{margin:0;color:#242522;font-size:clamp(25px,4vw,38px);line-height:1.4}
.ma-product-detail-copy .ma-product-description{color:#55544e;font-size:15px;line-height:2}
.ma-product-detail-copy .ma-product-prices{color:var(--ma-store-accent,#927346)}
.ma-product-detail-copy .ma-product-prices del{color:#85827a}
.ma-product-main-image{background:#f6f4ef}
.ma-product-detail-layout .ma-store-btn{font-family:inherit}
.ma-product-detail-page{width:min(100%,1120px);margin-inline:auto}.ma-product-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:20px 34px;padding:clamp(16px,3vw,30px)}.ma-product-detail-layout>.ma-product-gallery{width:100%;max-width:400px;justify-self:center}.ma-product-detail-layout .ma-product-main-image{width:min(100%,320px);height:auto;max-height:320px;aspect-ratio:1;object-fit:contain}.ma-product-detail-copy{display:grid;align-content:center;justify-items:start;gap:14px;min-width:0}.ma-product-detail-copy h1{font-size:clamp(25px,3vw,38px);line-height:1.3;margin:0}.ma-product-detail-copy .ma-product-description{max-width:58ch;overflow-wrap:anywhere}.ma-store-checkout-summary{display:grid;gap:12px;padding:17px;border:1px solid #e8e3da;background:#fbfaf7}.ma-store-checkout-summary h3{margin:0;font-size:16px}.ma-store-checkout-lines{display:grid;gap:9px}.ma-store-checkout-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding-bottom:9px;border-bottom:1px solid #ece8e0;font-size:13px}.ma-store-checkout-line.has-image{grid-template-columns:52px minmax(0,1fr) auto}.ma-store-checkout-line>img{width:52px;height:52px;grid-row:1;object-fit:cover;background:#f3f1ec}.ma-store-checkout-item{display:grid;gap:2px;min-width:0}.ma-store-checkout-item b{overflow-wrap:anywhere}.ma-store-checkout-item small,.ma-store-free-shipping-note{font-size:11px;color:#77736b}.ma-store-checkout-totals{display:grid;grid-template-columns:1fr auto;gap:7px 14px;font-size:13px}.ma-store-checkout-totals b{text-align:left}.ma-store-checkout-totals .total{padding-top:9px;border-top:1px solid #dcd6ca;font-size:16px;font-weight:800}.ma-store-checkout-totals small{grid-column:1/-1}.ma-store-transfer[hidden]{display:none!important}
@media(max-width:650px){.ma-product-detail-layout{grid-template-columns:1fr;grid-template-rows:auto auto auto}.ma-product-detail-layout>.ma-product-gallery{max-width:100%}.ma-product-detail-layout .ma-product-main-image{width:min(100%,280px);height:auto;max-height:280px}.ma-product-detail-copy{align-content:start}.ma-store-checkout-summary{padding:13px}.ma-store-checkout-line{font-size:12px}.ma-store-checkout-line.has-image{grid-template-columns:42px minmax(0,1fr) auto}.ma-store-checkout-line>img{width:42px;height:42px}}
@media(max-width:650px){.ma-product-detail-layout{grid-template-columns:1fr;grid-template-rows:auto auto auto;padding:16px;gap:12px}.ma-product-detail-layout>.ma-product-gallery,.ma-product-detail-layout>.ma-product-thumbs,.ma-product-detail-copy{grid-column:1;grid-row:auto}.ma-product-detail-copy{gap:11px}.ma-product-detail-copy .ma-product-description{font-size:13px}}

/* v1.20.0 coupon box */
.ma-store-coupon{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding-top:10px;border-top:1px dashed #dcd6ca}.ma-store-coupon>b,.ma-store-coupon>.ma-store-message{grid-column:1/-1}.ma-store-coupon input{min-width:0;padding:10px 12px;border:1px solid #d9d3c7;font:inherit;text-transform:uppercase}.ma-store-coupon-btn{padding:10px 16px}.ma-store-message.ok{color:#1f7a45}.ma-store-discount{color:#1f7a45}

.ma-store-offer-badge{display:inline-block;margin:2px 4px;padding:2px 8px;border-radius:999px;background:#e8f5ec;color:#0a6b2d;font-size:12px;font-weight:700;white-space:nowrap}.ma-store-offer-price{color:#0a6b2d}.ma-store-cart-offer-note{display:block;color:#0a6b2d;font-size:12px}

.ma-store-qty button{color:#272822!important;font-size:16px;line-height:1;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.ma-store-qty button:hover{background:#f4f1ea}

.ma-store-page{background:var(--ma-bg,#f7f6f2);color:var(--ma-deep,#242522)}
.ma-store-head{background:var(--ma-bg,#fff);border-bottom:1px solid color-mix(in srgb,var(--ma-deep,#242522) 16%,transparent)}
.ma-store-head nav a{color:var(--ma-deep,#605e58);opacity:.8}
.ma-store-foot{background:var(--ma-deep,#ece9e2);color:var(--ma-bg,#6f6b63)}
.ma-store-btn,.ma-store-btn:hover{color:var(--ma-btn-ink,#fff)}
.ma-store-main>h1,.ma-store-cardbox h2{color:var(--ma-deep,inherit)}
.ma-store-cardbox{border-color:color-mix(in srgb,var(--ma-deep,#242522) 14%,transparent)}

.ma-store-page *,.ma-store-page *::before,.ma-store-page *::after{box-sizing:border-box}
.ma-store-cardbox{min-width:0;max-width:100%}.ma-store-form{min-width:0;width:100%}.ma-store-field{min-width:0}.ma-store-field input,.ma-store-field textarea,.ma-store-field select{width:100%;max-width:100%;box-sizing:border-box}

.ma-srch-lock{overflow:hidden}.ma-srch{position:fixed;inset:0;z-index:100000;font-family:inherit}.ma-srch-back{position:absolute;inset:0;background:rgba(20,18,15,.55);backdrop-filter:blur(2px)}.ma-srch-box{position:relative;margin:7vh auto 0;width:min(680px,94vw);max-height:84vh;display:flex;flex-direction:column;background:#fff;color:#1d1b17;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.3);overflow:hidden}.ma-srch-bar{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid #eee}.ma-srch-in{flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-family:inherit;font-size:17px;font-weight:500;line-height:1.4;padding:8px 4px;color:inherit;min-width:0;-webkit-appearance:none}.ma-srch-x{border:0;background:#f2f0ec;color:#333;width:34px;height:34px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer}.ma-srch-body{overflow:auto;padding:6px 8px 12px}.ma-srch-h{display:flex;justify-content:space-between;align-items:center;font-family:inherit;font-size:12px;font-weight:700;line-height:1;color:#8a8478;padding:12px 8px 6px;letter-spacing:.02em}.ma-srch-clear{border:0;background:none;color:#8a8478;font-size:12px;cursor:pointer;text-decoration:underline}.ma-srch-chips{display:flex;flex-wrap:wrap;gap:6px;padding:2px 8px 6px}.ma-srch-chip{border:1px solid #e3dfd7;background:#faf8f4;color:#333;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer}.ma-srch-chip.cat{background:#1d1b17;color:#fff;border-color:#1d1b17}.ma-srch-row{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px;text-decoration:none;color:inherit;cursor:pointer}.ma-srch-row:hover,.ma-srch-row.on{background:#f4f1ea}.ma-srch-row img,.ma-srch-ph{width:52px;height:52px;border-radius:8px;object-fit:cover;background:#eee;flex:none}.ma-srch-tx{display:flex;flex-direction:column;flex:1;min-width:0}.ma-srch-tx b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ma-srch-tx small{font-size:12px;color:#8a8478}.ma-srch-row em{font-style:normal;font-weight:700;font-size:13px;white-space:nowrap}.ma-srch-none{padding:28px 12px;text-align:center;color:#8a8478}.ma-srch-all{display:block;text-align:center;margin:8px;padding:12px;border-radius:10px;background:#1d1b17;color:#fff;text-decoration:none;font-weight:600;font-size:14px}.ma-srch-note{margin:12px 0;font-weight:600}@media(max-width:640px){.ma-srch-box{margin:0;width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.ma-srch-in{font-size:16px}}
.ma-srch-in::-webkit-search-cancel-button,.ma-srch-in::-webkit-search-decoration{-webkit-appearance:none;display:none}

/* responsive safety: template product grids never exceed 3 cols on tablets and 2 on phones */
@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 10px!important}}
