/*
Based on YouCan Origins, https://github.com/youcan-shop/origins (MIT declared in package.json).
Copyright (c) YouCan contributors. Maytfawat customizations, 2026.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
/* Maytfawat 1.0 — Arabic-first storefront, built on YouCan Origins */
:root{--mf-teal:#0f4c45;--mf-cream:#f7f5f0;--mf-ink:#182824;--mf-muted:#59645f;--mf-line:#e2e5dc;--mf-coral:#c43d24;--mf-max:1240px}
.mf-store{background:var(--mf-cream);color:var(--mf-ink);font-family:var(--font-family),Tahoma,Arial,sans-serif;line-height:1.65}
.mf-store *{letter-spacing:normal}
.mf-store a{text-underline-offset:5px}
.mf-store button,.mf-store input,.mf-store select,.mf-store textarea{font:inherit}
.mf-store :focus-visible{outline:3px solid #bf5e28;outline-offset:4px}
.mf-store img{max-width:100%}
.mf-store .mf-wordmark{display:inline-flex;align-items:center;gap:10px;font-size:3.5rem;line-height:1.3;font-weight:800;white-space:nowrap}
.mf-wordmark svg{color:var(--mf-coral);flex-shrink:0}
.mf-store .announcement{padding:9px 18px;min-height:38px;font-size:1.35rem}
.mf-store yc-header{padding:22px max(24px,calc((100vw - var(--mf-max))/2));min-height:96px;gap:24px}
.mf-store yc-header .logo{font-weight:800}
.mf-store yc-header .links>ul{gap:28px}
.mf-store yc-header .links a{font-weight:600;font-size:1.55rem}
.mf-store yc-header .search-bar{border-color:#cdd5ca}
.mf-store yc-header button.icon{min-width:44px;min-height:44px}
.mf-store .menu-head .mf-wordmark{font-size:2.7rem}
.mf-store .mf-hero{max-width:var(--mf-max);margin:0 auto;display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:24px;padding:46px 0 42px;min-height:565px}
.mf-eyebrow{display:flex;align-items:center;gap:10px;font-size:1.4rem;font-weight:700;color:var(--mf-teal);margin-bottom:18px}
.mf-eyebrow>span{color:var(--mf-coral);font-size:2rem}
.mf-store .mf-hero h1{font-size:clamp(4.6rem,5.5vw,7.5rem);line-height:1.3;font-weight:800;color:var(--mf-teal);margin:0 0 24px}
.mf-hero h1>span{position:relative;display:inline-block;color:var(--mf-coral)}
.mf-hero h1>span:after{content:"";position:absolute;inset-inline:0;bottom:-3px;height:8px;border-top:2px solid currentColor;border-radius:50%;transform:rotate(-3deg);opacity:.75}
.mf-hero-intro{max-width:420px;font-size:1.9rem;color:var(--mf-muted);line-height:1.9}
.mf-hero-actions{display:flex;gap:28px;align-items:center;flex-wrap:wrap;margin-top:28px}
.mf-store .mf-button{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:15px 26px;min-height:54px;border-radius:12px;color:#fff;background:var(--mf-teal);font-size:1.7rem;font-weight:700;text-decoration:none;transition:background .15s,transform .15s}
.mf-store .mf-button:hover{background:#0a3833;transform:translateY(-1px)}
.mf-store .mf-text-link{color:var(--mf-teal);font-weight:700;font-size:1.55rem;text-decoration:underline;text-decoration-thickness:1px;min-height:44px;display:inline-flex;align-items:center}
.mf-hero-note{display:flex;align-items:center;gap:8px;color:var(--mf-muted);font-size:1.35rem;margin-top:22px}
.mf-hero-note svg{color:var(--mf-teal)}
.mf-hero-art{position:relative;min-width:0}
.mf-hero-art>img{display:block;object-fit:contain;width:100%;height:auto;border-radius:24px}
.mf-art-note{position:absolute;inset-inline-start:7%;bottom:11%;background:#fffef9;box-shadow:0 8px 36px #17392b0c;border:1px solid #e5e1d4;border-radius:12px;padding:14px 22px;transform:rotate(5deg);font-size:1.5rem;line-height:1.8;color:var(--mf-teal)}
.mf-art-note>span{position:absolute;inset-inline-end:-11px;top:-13px;color:var(--mf-coral);font-size:3.4rem}
.mf-store .mf-benefits{border-top:1px solid var(--mf-line);border-bottom:1px solid var(--mf-line);max-width:var(--mf-max);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);padding:28px 0}
.mf-benefits>div{display:flex;gap:16px;align-items:flex-start;padding:4px 24px;border-inline-end:1px solid var(--mf-line)}
.mf-benefits>div:first-child{padding-inline-start:0}
.mf-benefits>div:last-child{border:0}
.mf-step{display:inline-flex;align-items:center;justify-content:center;min-width:39px;height:39px;border:1px solid #cbd6cc;border-radius:50%;font-size:1.3rem;font-weight:700;color:var(--mf-teal);font-variant-numeric:tabular-nums}
.mf-store .mf-benefits h2{font-size:1.7rem;font-weight:700;margin-bottom:5px}
.mf-benefits p{font-size:1.35rem;color:var(--mf-muted)}
.mf-store yc-section{padding-inline:max(24px,calc((100vw - var(--mf-max))/2));}
.mf-store yc-section-head{margin-bottom:28px}
.mf-store yc-section-head h2{font-size:3.2rem;font-weight:700;line-height:1.5;color:var(--mf-teal)}
.mf-store yc-section-head p{font-size:1.6rem;color:var(--mf-muted);margin-top:6px}
.mf-store .items-grid{gap:22px}
.mf-store .product-card{overflow:hidden;background:#fff;border:1px solid var(--mf-line);box-shadow:none;transition:box-shadow .18s,transform .18s}
.mf-store .product-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px #12392a09}
.mf-store .product-card .img-link{background:#efeee8}
.mf-store .product-card .img-link img{object-fit:contain;mix-blend-mode:multiply}
.mf-store .product-card .info{padding:18px;gap:12px}
.mf-store .product-card .title{font-size:1.7rem;line-height:1.65;font-weight:600;color:var(--mf-ink);min-height:2.7em}
.mf-store .product-card .price{justify-content:flex-start;flex-wrap:wrap;gap:10px}
.mf-store .product-card .current{color:var(--mf-teal);font-weight:700;font-size:1.9rem}
.mf-store .product-card .compare-at{font-size:1.35rem;color:#72776e}
.mf-store .product-card .yc-btn{font-size:1.5rem;min-height:44px;border-radius:9px}
.mf-store .show-more{grid-column:1/-1;display:flex;justify-content:center;list-style:none;margin-top:12px}
.mf-store .show-more a{min-height:48px;border:1px solid #b5c4b7;border-radius:10px;padding:10px 28px;color:var(--mf-teal)}
.mf-empty-products{grid-column:1/-1;text-align:center;padding:50px;background:#eeeee6;border-radius:16px}
.mf-store .mf-faq{max-width:var(--mf-max);margin:16px auto 64px;padding:42px;display:grid;grid-template-columns:.85fr 1.2fr;gap:60px;background:#eceee5;border-radius:22px}
.mf-faq-intro h2{font-size:3.2rem;line-height:1.5;font-weight:700;color:var(--mf-teal);max-width:300px;margin-bottom:14px}
.mf-faq-intro>p:not(.mf-eyebrow){color:var(--mf-muted);font-size:1.6rem}
.mf-faq-items details{border-bottom:1px solid #ccd5c8}
.mf-faq-items details:last-child{border-bottom:0}
.mf-faq-items summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:20px 0;font-size:1.65rem;font-weight:600}
.mf-faq-items summary::-webkit-details-marker{display:none}
.mf-faq-items summary span{font-size:2.3rem;font-weight:400;color:var(--mf-teal)}
.mf-faq-items details[open] summary span{transform:rotate(45deg)}
.mf-faq-items details>div{padding:0 0 20px;font-size:1.5rem;line-height:1.9;color:var(--mf-muted)}
.mf-store #youcan-section--footer footer{padding-inline:max(24px,calc((100vw - var(--mf-max))/2));padding-top:48px;padding-bottom:20px}
.mf-store footer .content{gap:50px;padding-bottom:30px}
.mf-store footer .store-brand{max-width:330px;gap:12px;align-items:flex-start}
.mf-store footer .mf-wordmark{color:#fff}
.mf-store footer .mf-wordmark svg{color:#dba477}
.mf-footer-description{font-size:1.6rem;line-height:1.9;opacity:.82;margin-top:12px}
.mf-footer-cod{font-size:1.35rem;border:1px solid #ffffff40;border-radius:6px;padding:5px 10px;display:inline-block}
.mf-store footer .navigation p{font-size:1.7rem;font-weight:700}
.mf-store footer .navigation a{font-size:1.45rem}
.mf-store footer .copyright{font-size:1.25rem;opacity:.7;border-top:1px solid #ffffff25;padding-top:18px;margin-top:15px}
.mf-business-details{font-size:1.3rem;line-height:1.8;opacity:.8}
.mf-support-link{font-size:1.45rem;display:inline-flex;min-height:44px;align-items:center;text-decoration:underline}
.mf-store .mf-cart-note{font-size:1.3rem;color:var(--mf-muted);margin:8px 0 16px}
.mf-store .product-area h1,.mf-store .product-title{line-height:1.5;font-weight:700}
.mf-store input:not([type=checkbox]):not([type=radio]),.mf-store select,.mf-store textarea{min-height:46px}
.mf-store input[type=tel]{direction:ltr;text-align:start}
.mf-store .yc-btn.primary{min-height:48px}
.mf-store .yc-btn:disabled{cursor:not-allowed;opacity:.5}
.mf-store .product-listing .filter-area{gap:18px;flex-wrap:wrap}
.mf-store .product-card .badge{background:var(--mf-coral)}
.mf-store .drawer-box{overscroll-behavior:contain}
@media(min-width:1441px){.mf-store .mf-hero{gap:60px}}
@media(max-width:1320px){.mf-store .mf-hero,.mf-store .mf-benefits{margin-inline:32px}.mf-store .mf-faq{margin-inline:32px}}
@media(max-width:1024px){.mf-store .mf-hero{min-height:440px;gap:16px;padding-top:30px}.mf-hero-intro{font-size:1.7rem}.mf-store .mf-hero h1{font-size:5.2rem}.mf-benefits>div{padding-inline:16px;gap:10px}.mf-store .mf-benefits h2{font-size:1.5rem}.mf-benefits p{font-size:1.25rem}.mf-store .mf-faq{gap:30px;padding:32px}.mf-store yc-header{padding-inline:24px}.mf-store .items-grid{gap:16px}}
@media(max-width:768px){
.mf-store yc-header{padding:14px 16px;min-height:76px;gap:8px}
.mf-store .mf-wordmark{font-size:2.9rem;gap:7px}.mf-wordmark svg{width:18px;height:18px}
.mf-store .announcement{font-size:1.25rem;padding:7px 16px;min-height:32px}
.mf-store .mf-hero{grid-template-columns:1fr;margin:0;padding:28px 20px 24px;gap:4px;min-height:0}
.mf-hero-copy{text-align:center}.mf-eyebrow{font-size:1.3rem;justify-content:center;margin-bottom:12px}
.mf-store .mf-hero h1{font-size:4.8rem;line-height:1.3;margin-bottom:18px}
.mf-hero-intro{font-size:1.65rem;max-width:360px;margin-inline:auto;line-height:1.8}
.mf-hero-actions{justify-content:center;gap:18px;margin-top:20px}
.mf-store .mf-button{padding:12px 20px;font-size:1.55rem;min-height:50px;gap:20px}
.mf-store .mf-text-link{font-size:1.4rem}
.mf-hero-note{justify-content:center;margin-top:15px;font-size:1.2rem}
.mf-hero-art{max-width:340px;margin:-5px auto 0;width:100%}.mf-art-note{font-size:1.2rem;padding:9px 14px;bottom:9%;inset-inline-start:3%}
.mf-store .mf-benefits{margin:0 16px;grid-template-columns:1fr;padding:4px 0}
.mf-benefits>div,.mf-benefits>div:first-child{padding:15px 0;border-inline-end:0;border-bottom:1px solid var(--mf-line);align-items:center;gap:16px}
.mf-benefits>div:last-child{border:0}.mf-step{min-width:34px;height:34px;font-size:1.2rem}
.mf-store .mf-benefits h2{font-size:1.55rem;margin:0 0 2px}.mf-benefits p{font-size:1.3rem}
.mf-store yc-section{padding-inline:16px;padding-block:36px}
.mf-store yc-section-head h2{font-size:2.6rem}.mf-store yc-section-head p{font-size:1.45rem}
.mf-store .items-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mf-store .product-card .info{padding:12px;gap:9px}.mf-store .product-card .title{font-size:1.45rem;min-height:3em}
.mf-store .product-card .current{font-size:1.65rem}.mf-store .product-card .compare-at{font-size:1.2rem}
.mf-store .product-card .yc-btn{font-size:1.3rem;padding-inline:5px}
.mf-store .mf-faq{grid-template-columns:1fr;gap:20px;margin:4px 16px 36px;padding:26px 20px;border-radius:16px}
.mf-faq-intro .mf-eyebrow{justify-content:flex-start}.mf-faq-intro h2{font-size:2.6rem;max-width:none}.mf-faq-intro>p:not(.mf-eyebrow){font-size:1.45rem}
.mf-faq-items summary{font-size:1.5rem;padding:17px 0}.mf-faq-items details>div{font-size:1.4rem}
.mf-store #youcan-section--footer footer{padding:32px 20px 20px}.mf-store footer .content{gap:30px}.mf-store footer .store-brand{max-width:none}
.mf-store .product-card:hover{transform:none}
}
@media(max-width:360px){.mf-store .mf-hero h1{font-size:4.2rem}.mf-hero-actions{gap:12px}.mf-store .mf-button{padding-inline:14px;gap:13px}.mf-store .product-card .info{padding:9px}.mf-store .product-card .title{font-size:1.35rem}.mf-store .product-card .yc-btn{font-size:1.2rem}.mf-hero-art{max-width:290px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}

.mf-store .mt-purchase-note{font-size:1.35rem;line-height:1.8;color:var(--mf-muted);margin-block:12px}
.mf-store .mt-field-error{font-size:1.35rem;color:#aa251b;line-height:1.7}
.mf-store yc-product-form[data-options-required] button [data-buy-button-label]::before{content:attr(data-choose-options)}
/* Hidden drawers must also be absent from hit testing and accessibility. */
.mf-store yc-drawer[data-hidden="true"]>.drawer-container{visibility:hidden;pointer-events:none}
.mf-store yc-drawer[data-hidden="false"]>.drawer-container{visibility:visible;pointer-events:auto}
.mf-store yc-section-head[data-position="right"]{text-align:right}
.mf-store yc-section-head[data-position="left"]{text-align:left}
@media(max-width:768px){.mf-store .mf-hero h1{font-size:clamp(3.3rem,10vw,4rem);line-height:1.3}.mf-hero-art{max-width:250px}.mf-hero-copy .mf-eyebrow{margin-bottom:10px}.mf-store .mf-hero{padding-top:22px}.mf-art-note{font-size:1.05rem;padding:7px 10px}.mf-hero-note{margin-top:12px}.mf-store .mf-hero h1{margin-bottom:14px}}
@media(max-width:1024px){
.mf-store yc-section .cart .summary .box .subtotal .total-box{position:static;width:100%;margin:0;padding:16px 0 0;display:flex;flex-direction:column;align-items:stretch;gap:12px;box-shadow:none;border-radius:0;border-block-start:1px solid var(--mf-line)}
.mf-store yc-section .cart .summary .box .subtotal .total-box .total{flex-direction:row;align-items:center;justify-content:space-between;padding:0;gap:12px}
.mf-store yc-section .cart .summary .box .subtotal .total-box .mt-purchase-note{margin:0}
.mf-store #checkout-button{width:100%;min-height:52px;font-size:1.55rem;white-space:normal;text-align:center}
}
.mf-store yc-drawer[data-hidden="true"]>.drawer-container{display:none}
