/* WordPress-only additions on top of the static design */
html[lang^=en],html[lang^=en] body{direction:ltr!important}
html[lang^=en] .mq-grp li,html[lang^=en] .sh-strip .mq-grp li{direction:ltr}
html{scroll-behavior:auto}
.lang{display:inline-flex;gap:2px;align-items:center;margin-inline-end:8px;font:600 12px Cairo,sans-serif;direction:ltr}
.lang a{padding:6px 10px;border-radius:999px;color:#F7F5F0;opacity:.72;line-height:1}
.lang a.on{background:#E8470F;color:#fff;opacity:1}
.df-lang{padding:0 24px 12px}.df-lang .lang a{color:#F7F5F0}
.sh-e .lang{margin-inline-end:6px}
.esw-page{padding:30px 0 70px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* English (LTR) mirrors of the few physical-direction rules in the static CSS */
html[lang^=en] .sh-drawer{right:auto;left:0;transform:translateX(-104%)}
html[lang^=en] .drawer-open .sh-drawer{transform:none}
html[lang^=en] .ns2 .bg{right:auto;left:13px}
html[lang^=en] .ns2 .need{left:auto;right:13px}
html[lang^=en] .pcard .pbadge{right:auto;left:8px}
html[lang^=en] .sh-info:hover svg{transform:translateX(-5px)}
html[lang^=en] .sh-info::after{transform-origin:left}
html[lang^=en] .sh-dd a:hover,html[lang^=en] .sh-dd a:focus-visible{transform:translateX(6px)}
html[lang^=en] .qv-nav.n{left:auto;right:12px}
html[lang^=en] .qv-nav.p{right:auto;left:12px}
html[lang^=en] .brand .lat{padding-right:0;padding-left:.42em}
/* Cart, checkout, account: static tokens applied to WooCommerce blocks */
.esw-page,.esw-page .wc-block-components-text-input input,.esw-page select,.esw-page input,.esw-page textarea{font-family:Cairo,sans-serif;color:var(--espresso)}
.esw-page{max-width:1240px;padding-top:30px}
.esw-page .wc-block-components-button:not(.is-link),.esw-page .wc-block-cart__submit-button,.esw-page .wc-block-components-checkout-place-order-button,.esw-page .button,.esw-page button[type=submit],.esw-page .woocommerce-Button{background:var(--champagne)!important;color:#0B0B0B!important;border:1px solid transparent!important;border-radius:4px!important;height:50px;padding:0 30px!important;font:600 15px Cairo,sans-serif!important;display:inline-flex;align-items:center;justify-content:center;transition:background .2s}
.esw-page .wc-block-components-button:not(.is-link):hover,.esw-page .button:hover,.esw-page button[type=submit]:hover{background:#D13F0A!important}
.esw-page .wc-block-components-button__text{color:#0B0B0B}
.esw-page input[type=text],.esw-page input[type=email],.esw-page input[type=tel],.esw-page input[type=password],.esw-page select,.esw-page textarea,.esw-page .wc-block-components-text-input input,.esw-page .wc-block-components-select-input select{border:1px solid #CFC8BA!important;border-radius:4px!important;background:#fff!important}
.esw-page .wc-block-components-text-input input:focus,.esw-page input:focus{outline:0;border-color:var(--champagne)!important;box-shadow:0 0 0 1px var(--champagne)!important}
.esw-page .wc-block-components-text-input label,.esw-page label{color:#71717A}
.esw-page .wc-block-components-radio-control__option-checked,.esw-page .wc-block-components-radio-control-accordion-option--checked-option-highlighted{box-shadow:inset 0 0 0 1px var(--champagne)!important}
.esw-page .wc-block-components-radio-control__input:checked:before,.esw-page .wc-block-components-radio-control__input:checked{border-color:var(--champagne)!important}
.esw-page .wc-block-components-radio-control__input:checked:before{background:var(--champagne)!important}
.esw-page .wc-block-components-checkbox__input[type=checkbox]:checked{border-color:var(--champagne)}
.esw-page .wc-block-components-sidebar,.esw-page .wp-block-woocommerce-checkout-order-summary-block{background:#fff;border:1px solid var(--line);border-radius:4px}
.esw-page h1,.esw-page h2,.esw-page h3,.esw-page .wc-block-components-title{font-family:Cairo,sans-serif;font-weight:600;color:var(--espresso)}
.esw-page a{color:#C2410C}
.esw-page .wc-block-components-product-name{color:var(--espresso)}
.esw-page .wc-block-cart-items th,.esw-page .wc-block-components-totals-item__label{color:#71717A}
.esw-page .wc-block-components-quantity-selector{border:1px solid #CFC8BA;border-radius:999px;background:#fff}
.esw-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-weight:700}
.esw-page .woocommerce-message,.esw-page .woocommerce-info,.esw-page .woocommerce-error{border-top:2px solid var(--champagne);background:#fff;padding:14px 18px;margin-bottom:18px;list-style:none}

.esw-page table{width:100%;border-collapse:collapse}.esw-page td,.esw-page th{padding:12px;border-bottom:1px solid var(--line);text-align:start}
.esw-page .form-row{margin-bottom:14px;display:block}.esw-page .form-row input,.esw-page .form-row select{width:100%;height:46px;padding:0 12px}
html[lang^=en] .esw-page{direction:ltr}
.esw-page .wc-block-components-sidebar{padding:0 22px 10px!important}
.esw-page .wp-block-woocommerce-checkout-order-summary-block{padding:0 4px}
.esw-page .wc-block-cart-items{border:0}
@media(max-width:760px){.sh-e>.lang{display:none}}
.df-lang{display:none}
@media(max-width:760px){.df-lang{display:block}}

/* flag switcher */
.lang.flags{gap:8px}
.lang.flags a{padding:0;border-radius:50%;opacity:.55;line-height:0;background:none;display:block;box-shadow:0 0 0 2px transparent;transition:opacity .25s,transform .25s,box-shadow .25s}
.lang.flags a:hover{opacity:1;transform:scale(1.1)}
.lang.flags a.on{opacity:1;background:none;box-shadow:0 0 0 2px #E8470F}
.lang.flags svg{display:block;border-radius:50%}
/* section heads: larger name, logo and label */
@media(max-width:767px){.sechead .h{font-size:30px}.sechead .kicker{font-size:18px}.sechead .shmk .mk{width:18px;height:18px}.sechead .kickrow{gap:10px;margin-bottom:12px}}
@media(min-width:768px) and (max-width:1199px){.sechead .kicker{font-size:18px}}
@media(min-width:1200px){.sechead .kicker{font-size:18px;letter-spacing:.24em}}
/* buy buttons on every card */
.pbuy{display:flex;gap:8px;margin-top:12px}
.pbuy .btn{flex:1;height:42px;padding:0 10px;font-size:13px;margin-top:0;white-space:nowrap}
.pbuy .btn.pb-add{flex:1 1 60%;font-weight:600}
.pbuy .btn.pb-now{flex:0 0 auto;padding:0 14px;font-size:12px;opacity:.85}
@media(max-width:480px){.pbuy .btn{font-size:12px;height:40px}.pbuy .btn.pb-now{padding:0 11px;font-size:11.5px}}
.pbuy .btn.line{border-color:var(--espresso);color:var(--espresso);background:transparent}
.pbuy .btn.line:hover{background:var(--espresso);color:var(--alabaster)}
.pbuy .btn.busy{opacity:.6;pointer-events:none}
/* strips: item hover (the strip already pauses on hover) */
.sh-strip .mq-grp li,.sh-strip2 .mq-grp li{transition:transform .3s var(--ease),opacity .3s}
.sh-strip .mq-grp li:hover{transform:translateY(-1px) scale(1.06)}
.sh-strip .mq-grp li:hover svg{stroke:#fff;color:#fff}
.sh-strip2 .mq-grp li:hover{transform:scale(1.06)}
.sh-strip2 .mq-grp li:hover svg{color:#FF6A33}
.pay-badge{transition:background .25s,color .25s,border-color .25s}
.sh-strip2 .pay-badge:hover{background:var(--champagne);color:#0B0B0B;border-color:var(--champagne)}


/* InstaPay manual transfer */
.sf-ipay ul{list-style:none;margin:8px 0;padding:0}
.sf-ipay li{display:flex;justify-content:space-between;gap:12px;font-size:15px;padding:3px 0;border:0}
.sf-ipay-lead{margin:0 0 6px;font-size:15px}
.sf-ipay-note{font-size:13.5px;color:#6b6b6b;margin:6px 0 0}
.ipay-card{background:#fff;border:1px solid #ece7dd;border-radius:18px;padding:34px 30px;box-shadow:0 10px 30px rgba(20,18,15,.06)}
.ipay-list{list-style:none;margin:18px 0 22px;padding:0;display:grid;gap:10px}
.ipay-list li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px dashed #ece7dd;padding-bottom:8px;font-size:16px}
.ipay-list li span{color:#6b6b6b}
.ipay-list li b{font-size:17px}
.ipay-form{display:grid;gap:10px;margin-top:8px}
.ipay-form label{font-weight:600;font-size:15px}
.ipay-form input{height:48px;border:1px solid #d9d3c7;border-radius:12px;padding:0 14px;font-size:16px;background:#fdfcf9;width:100%}
.ipay-form .btn{justify-self:start;margin-top:4px}
.ipay-ok{background:#eef7ee;border:1px solid #cfe6cf;color:#1f6b2d;border-radius:12px;padding:12px 14px;font-weight:600}
.ipay-err{background:#fdecec;border:1px solid #f3c9c9;color:#a12727;border-radius:12px;padding:12px 14px}

/* ---- Product card upgrade: real card, hover, readable text, clear action ---- */
.pcard{position:relative;background:#fff;border:1px solid #ece7dd;border-radius:18px;padding:10px 12px 14px;box-shadow:0 1px 2px rgba(20,18,15,.05);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.pcard:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(20,18,15,.11);border-color:#e3dac9}
.pcard .pimg{border-radius:12px;overflow:hidden}
.pcard .pimg img{transition:transform .55s cubic-bezier(.2,.7,.3,1)}
.pcard:hover .pimg img{transform:scale(1.05)}
.pcard .pname{margin-top:12px}
.pcard .pname a{font-size:16.5px;font-weight:600;line-height:1.5;color:#1a1412;text-decoration:none;transition:color .2s ease}
.pcard .pname a:hover{color:#E8470F}
.pcard .pmeta{font-size:12.5px;letter-spacing:.04em;color:#8a8378;margin-top:4px}
.pcard .pprice{margin-top:8px}
.pcard .pprice .ltr{font-size:18px;font-weight:700}
.pcard .pprice .cur{font-size:12px}
.pcard .pbuy{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.pcard .pbuy .btn{height:44px;min-height:44px;font-size:14px;font-weight:600;border-radius:999px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,border-color .2s ease}
.pcard .pbuy .pb-now{border:1px solid #d9d3c7;background:transparent;color:#1a1412}
.pcard .pbuy .pb-now:hover{border-color:#1a1412;background:#1a1412;color:#fff}
.pcard .pbuy .pb-add{background:#E8470F;border:1px solid #E8470F;color:#fff}
.pcard .pbuy .pb-add:hover{background:#c93c0c;border-color:#c93c0c}
.pcard:focus-within{outline:2px solid #E8470F;outline-offset:3px}
@media (max-width:520px){
.pcard{padding:8px 8px 10px;border-radius:14px}
.pcard .pname a{font-size:14.5px}
.pcard .pmeta{font-size:11.5px}
.pcard .pprice .ltr{font-size:16px}
.pcard .pbuy{gap:6px;margin-top:10px}
.pcard .pbuy .btn{height:40px;min-height:40px;font-size:12.5px;border-radius:12px;padding:0 6px}
}

/* sub-category chips as real, tappable links */
a.bchip{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;border:1px solid #d9d3c7;border-radius:999px;font-size:15px;font-weight:600;color:#1a1412;text-decoration:none;background:#fff;transition:background .2s ease,color .2s ease,border-color .2s ease}
a.bchip:hover,a.bchip:focus-visible{background:#1a1412;border-color:#1a1412;color:#fff}
@media (max-width:520px){a.bchip{min-height:46px;font-size:15.5px;padding:0 22px}}

/* Egypt only: the country picker is hidden; the value stays EG so shipping still resolves. */
.esw-page .wc-block-components-address-form__country,
.esw-page .wc-block-components-country-input,
.esw-page .wc-block-components-address-form>div:has(#shipping-country),
.esw-page .wc-block-components-address-form>div:has(#billing-country),
.esw-page #shipping_country_field,.esw-page #billing_country_field{display:none!important}

/* My account: sidebar card on desktop, scrollable tabs on mobile. */
body.logged-in .esw-page .woocommerce{display:grid;grid-template-columns:246px minmax(0,1fr);gap:24px;align-items:start}
.esw-page .woocommerce-MyAccount-navigation{width:auto;float:none;margin:0}
.esw-page .woocommerce-MyAccount-content{overflow:visible;background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px 22px;min-width:0}
.esw-page .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px 0;background:#fff;border:1px solid var(--line);border-radius:8px}
.esw-page .woocommerce-MyAccount-navigation li a{display:block;padding:10px 18px;font:400 13px Cairo,sans-serif;color:#3B3530;text-decoration:none;border-right:3px solid transparent}
.esw-page .woocommerce-MyAccount-navigation li.is-active a{background:#FBF1EC;color:var(--or);font-weight:600;border-right-color:var(--or)}
html[lang^=en] .esw-page .woocommerce-MyAccount-navigation li a{border-right:0;border-left:3px solid transparent}
html[lang^=en] .esw-page .woocommerce-MyAccount-navigation li.is-active a{border-left-color:var(--or)}
.esw-page .woocommerce-MyAccount-content h2,.esw-page .woocommerce-MyAccount-content h3{font:600 15px Cairo,sans-serif;margin:0 0 10px}
.esw-page .esw-ma-h{font:600 20px Cairo,sans-serif;margin:0 0 4px}
.esw-page .esw-ma-sub{font:400 12.5px Cairo,sans-serif;color:#71717A;margin:0 0 16px}
.esw-page .esw-ma-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 18px;margin-bottom:14px}
.esw-page .esw-ma-pm{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #F1EEE8}
.esw-page .esw-ma-pm:last-child{border-bottom:0}
.esw-page .esw-ma-pm b{display:block;font:600 13px Cairo,sans-serif}
.esw-page .esw-ma-pm span{font:400 11.5px Cairo,sans-serif;color:#71717A}
.esw-page .esw-ma-rc{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #F1EEE8}
.esw-page .esw-ma-rc:last-child{border-bottom:0}
.esw-page .esw-ma-th{width:52px;height:62px;border-radius:5px;background:#EFEBE2;border:1px solid var(--line);flex:0 0 52px;display:flex;align-items:center;justify-content:center;font:400 9.5px Cairo,sans-serif;color:#A9A29A}
.esw-page .esw-ma-rb{flex:1;min-width:0}
.esw-page .esw-ma-rb b{display:block;font:600 12.5px Cairo,sans-serif}
.esw-page .esw-ma-rb span{display:block;font:400 11.5px Cairo,sans-serif;color:#71717A;margin:2px 0 6px}
.esw-page .esw-ma-lnk{font:600 12px Cairo,sans-serif;color:var(--or);text-decoration:none}
.esw-page .esw-ma-empty{font:400 12.5px Cairo,sans-serif;color:#71717A}
.esw-page .esw-chip{display:inline-flex;font:600 11px Cairo,sans-serif;padding:3px 9px;border-radius:999px;font-style:normal}
.esw-page .esw-chip.ok{background:#EAF3EC;color:#2F6B45}
.esw-page .esw-chip.rev{background:#FDF0E3;color:#A2571A}
.esw-page .esw-chip.no{background:#FBECEA;color:#A33A2B}
@media(max-width:781px){
.esw-page .woocommerce{display:block}
.esw-page .woocommerce-MyAccount-navigation,html[lang^=en] .esw-page .woocommerce-MyAccount-navigation{width:100%;float:none;margin:0 0 14px}
.esw-page .woocommerce-MyAccount-navigation ul{display:flex;gap:6px;overflow-x:auto;padding:10px 10px;border-radius:8px}
.esw-page .woocommerce-MyAccount-navigation li{flex:0 0 auto}
.esw-page .woocommerce-MyAccount-navigation li a{border:1px solid var(--line);border-radius:999px;background:#F4F1EA;padding:6px 11px;font-size:11.5px;white-space:nowrap}
.esw-page .woocommerce-MyAccount-navigation li.is-active a{background:var(--espresso,#1A1412);color:#fff;border-color:var(--espresso,#1A1412)}
.esw-page .woocommerce-MyAccount-content{padding:14px}
.esw-page .esw-ma-card{padding:13px}
}

.esw-page .esw-ma-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.esw-page .esw-ma-tile{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 15px}
.esw-page .esw-ma-tile span{display:block;font:400 11.5px Cairo,sans-serif;color:#71717A;margin-bottom:6px}
.esw-page .esw-ma-tile b{display:block;font:600 17px Cairo,sans-serif}
.esw-page .esw-ma-tile i{display:block;font:400 11.5px Cairo,sans-serif;color:#71717A;margin-top:4px;font-style:normal}
.esw-page .esw-ma-addr{font:400 13px Cairo,sans-serif;color:#4A443E;line-height:1.9;margin:0 0 10px}
html[dir=rtl] .sh-strip .mq-track{animation-direction:normal}
.sh-strip .mq{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 36px,#000 calc(100% - 36px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 36px,#000 calc(100% - 36px),transparent 100%)}
@media(max-width:781px){body.logged-in .esw-page .woocommerce{display:block}.esw-page .esw-ma-tiles{grid-template-columns:1fr;gap:10px}.esw-page{padding-bottom:86px}}

.esw-page .esw-ma-tile b .esw-chip{display:inline-block}
.esw-page .esw-ma-th img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.esw-page .esw-ma-h{margin:0 0 4px}

.esw-page .woocommerce-form-login,.esw-page .woocommerce-form-register{background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px 24px;max-width:460px}
.esw-page .woocommerce-form-login p,.esw-page .woocommerce-form-register p{margin:0 0 14px}
.esw-page .woocommerce-form-login label,.esw-page .woocommerce-form-register label{display:block;font:500 12.5px Cairo,sans-serif;color:#4A443E;margin-bottom:6px}
.esw-page .woocommerce-form-login input.input-text,.esw-page .woocommerce-form-register input.input-text{width:100%;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font:400 13.5px Cairo,sans-serif;background:#fff}
.esw-page .woocommerce-form-login button.button,.esw-page .woocommerce-form-register button.button{width:100%;height:46px;background:var(--ink,#111);color:#fff;border:0;border-radius:8px;font:600 14px Cairo,sans-serif;cursor:pointer}
.esw-page .esw-ma-oauth{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.esw-page .esw-ma-g{display:inline-flex;align-items:center;gap:9px;height:44px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:#F6F4F0;color:#71717A;font:600 13px Cairo,sans-serif;cursor:not-allowed}
.esw-page .esw-ma-gi{width:20px;height:20px;border-radius:50%;background:#E4E0DA;color:#71717A;display:inline-flex;align-items:center;justify-content:center;font:700 11px Cairo,sans-serif}
.esw-page .esw-ma-oauth i{font:400 11.5px Cairo,sans-serif;color:#71717A;font-style:normal}
.esw-page .woocommerce-EditAccountForm fieldset{border:1px solid var(--line);border-radius:8px;padding:14px 16px;margin-top:8px}
.esw-page .woocommerce-Address address{font:400 13px Cairo,sans-serif;color:#4A443E;font-style:normal;line-height:1.9}

.esw-page .woocommerce-MyAccount-content form .form-row{margin:0 0 14px}
.esw-page .woocommerce-MyAccount-content form label{display:block;font:500 12.5px Cairo,sans-serif;color:#4A443E;margin-bottom:6px}
.esw-page .woocommerce-MyAccount-content form input.input-text,.esw-page .woocommerce-MyAccount-content form select,.esw-page .woocommerce-MyAccount-content form .select2-selection{width:100%;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font:400 13.5px Cairo,sans-serif;background:#fff;box-sizing:border-box}
.esw-page .woocommerce-MyAccount-content form button.button,.esw-page .woocommerce-MyAccount-content form .button{height:46px;padding:0 26px;background:var(--ink,#111);color:#fff;border:0;border-radius:8px;font:600 14px Cairo,sans-serif;cursor:pointer}
.esw-page .woocommerce-MyAccount-content em{font:400 11.5px Cairo,sans-serif;color:#71717A;font-style:normal;display:block;margin-top:5px}
.esw-page .woocommerce-Addresses .woocommerce-Address{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px 20px}
.esw-page .woocommerce-Addresses .woocommerce-Address-title h3{font:600 14px Cairo,sans-serif;margin:0 0 10px}
.esw-page .woocommerce-Addresses .woocommerce-Address-title a{font:500 12.5px Cairo,sans-serif;color:var(--accent,#E8470F)}

.esw-page .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,.esw-page .woocommerce-MyAccount-content form.woocommerce-address-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px}
.esw-page .woocommerce-MyAccount-content form .form-row-wide,.esw-page .woocommerce-MyAccount-content form fieldset,.esw-page .woocommerce-MyAccount-content form .form-row:not(.form-row-first):not(.form-row-last){grid-column:1/-1}
.esw-page .woocommerce-MyAccount-content form .form-row-first,.esw-page .woocommerce-MyAccount-content form .form-row-last{width:auto}
@media(max-width:781px){.esw-page .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,.esw-page .woocommerce-MyAccount-content form.woocommerce-address-fields{grid-template-columns:1fr;padding:16px}}

@media(max-width:781px){
 .esw-page table.woocommerce-orders-table{display:block;border:0}
 .esw-page table.woocommerce-orders-table thead{display:none}
 .esw-page table.woocommerce-orders-table tbody,.esw-page table.woocommerce-orders-table tr{display:block}
 .esw-page table.woocommerce-orders-table tr{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:0 0 12px}
 .esw-page table.woocommerce-orders-table td{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:5px 0;font:400 13px Cairo,sans-serif;text-align:start}
 .esw-page table.woocommerce-orders-table td::before{content:attr(data-label);color:#71717A;font-weight:500;flex:0 0 auto}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number{font:600 15px Cairo,sans-serif;padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:6px}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions{display:block;margin-top:10px}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before{display:none}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button{display:block;width:100%;text-align:center;height:42px;line-height:42px;padding:0}
}

@media(max-width:781px){
 .esw-page table.woocommerce-orders-table th.woocommerce-orders-table__cell-order-number{display:block;border:0;font:600 15px Cairo,sans-serif;padding:0 0 8px;margin-bottom:6px;border-bottom:1px solid var(--line);text-align:start}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-date{white-space:nowrap}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-date::before{content:"التاريخ"}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-status::before{content:"الحالة"}
 .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total::before{content:"الإجمالي"}
 html[lang^=en] .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-date::before{content:"Date"}
 html[lang^=en] .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-status::before{content:"Status"}
 html[lang^=en] .esw-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total::before{content:"Total"}
}

.esw-page #account_last_name_field,.esw-page #account_display_name_field{display:none!important}

/* Orders as cards with product thumbnails */
.esw-page .esw-ord{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 18px;margin-bottom:14px}
.esw-page .esw-ord-h{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #F1EEE8;padding-bottom:10px;margin-bottom:12px}
.esw-page .esw-ord-h b{display:block;font-size:15px;color:var(--ink)}
.esw-page .esw-ord-h span{font-size:12.5px;color:#6B6257}
.esw-page .esw-ord-items{display:flex;flex-direction:column;gap:12px}
.esw-page .esw-ord-it{display:flex;gap:12px;align-items:center}
.esw-page .esw-ord-th img{width:64px;height:64px;object-fit:cover;border-radius:6px;border:1px solid var(--line);display:block}
.esw-page .esw-ord-nm b{display:block;font-size:14px;color:var(--ink);font-weight:600}
.esw-page .esw-ord-nm span{font-size:12.5px;color:#6B6257}
.esw-page .esw-ord-f{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #F1EEE8}
.esw-page .esw-ord-total{font-size:14px;font-weight:700;color:var(--ink)}
.esw-page .esw-ord-btn{background:var(--ink);color:#fff;border-radius:6px;padding:10px 16px;font-weight:600;font-size:13.5px;text-decoration:none;display:inline-block}
.esw-page .esw-ord-pg{display:flex;gap:8px;margin:6px 0 14px}
.esw-page .esw-ord-pgn{padding:7px 12px;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:var(--ink)}
.esw-page .esw-ord-pgn.is-on{background:var(--ink);color:#fff}
@media (max-width:781px){
  .esw-page .esw-ord{padding:14px}
  .esw-page .esw-ord-f{flex-direction:column;align-items:stretch}
  .esw-page .esw-ord-btn{text-align:center;width:100%}
}

/* Bigger product images in checkout */
.woocommerce-checkout .cart_item img,
.woocommerce-checkout .woocommerce-checkout-review-order img,
.woocommerce-checkout .product-thumbnail img{width:76px;height:76px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.woocommerce-cart .product-thumbnail img{width:76px;height:76px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.wc-block-cart-item__image{width:76px!important;max-width:76px!important;height:76px!important;aspect-ratio:1/1}
.wc-block-cart-item__image img{width:76px!important;height:76px!important;max-width:none!important;object-fit:cover!important;aspect-ratio:1/1;border-radius:6px;border:1px solid var(--line)}
.wc-block-components-order-summary-item{position:relative;gap:12px}
.wc-block-components-order-summary-item__description{flex:1 1 auto;min-width:0}
.wc-block-components-order-summary-item__quantity{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;font-size:12px!important;line-height:1!important;padding:0!important;background:var(--ink)!important;color:#fff!important;border:2px solid #fff!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;top:auto!important;bottom:-4px!important;inset-inline-start:-4px!important;right:auto!important;left:auto!important}
.wc-block-components-order-summary-item__image{width:96px!important;height:96px!important;min-width:96px!important}
.wc-block-components-order-summary-item__image img{width:96px!important;height:96px!important;max-width:none!important;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.woocommerce-checkout .wc-block-components-order-summary-item{padding-bottom:10px}

/* Thank-you page: give the payment card the full column and keep the wallet number on one line */
.instapay-woo-wrap{width:100%!important;max-width:100%!important}
.instapay-payment-card,.instapay-upload-container{max-width:720px}
.instapay-ipa-value{white-space:nowrap;font-size:17px;letter-spacing:.3px}
.instapay-value-row{flex-wrap:nowrap;align-items:center;gap:10px}
.instapay-payment-title{font-size:20px;line-height:1.3}

/* Thank-you page: single full-width column so the transfer card is not squeezed */
.esw-page .woocommerce-order{display:block!important;width:100%!important;max-width:none!important}
.esw-page .woocommerce-order > *{width:100%!important;max-width:none!important}
.esw-page .woocommerce-order .instapay-payment-card,
.esw-page .woocommerce-order .instapay-upload-container{max-width:720px}

/* Thank-you page: the account grid must not reserve a sidebar column there */
.esw-thankyou .woocommerce{display:block!important}
.esw-thankyou .woocommerce-order{width:100%!important;max-width:none!important}
.esw-thankyou .instapay-woo-wrap{max-width:100%!important}

/* Checkboxes and radios must stay control-sized inside account forms */
.esw-page input[type=checkbox],.esw-page input[type=radio]{width:18px!important;height:18px!important;min-height:0!important;padding:0!important;margin:0}
.esw-page .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px}
@media (max-width:781px){
  .wc-block-components-order-summary-item__image{width:84px!important;height:84px!important;min-width:84px!important}
  .wc-block-components-order-summary-item__image img{width:84px!important;height:84px!important}
}

/* Receipt status notice: no reserved icon space, tight box */
.instapay-woo-wrap .woocommerce-message{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px!important;min-height:0!important;margin:0 0 18px!important;line-height:1.6}
.instapay-woo-wrap .woocommerce-message::before,.instapay-woo-wrap .woocommerce-message::after{content:none!important;display:none!important}

/* Login page: center the heading and the card instead of a half-empty page */
.esw-page .woocommerce:has(> .woocommerce-form-login){display:flex;flex-direction:column;align-items:center}
.esw-page .woocommerce:has(> .woocommerce-form-login) > h2{width:460px;max-width:100%;margin:0 0 12px;text-align:start}
.esw-page .woocommerce:has(> .woocommerce-form-login) > .woocommerce-form-login{width:460px;max-width:100%;margin:0}
.esw-page .woocommerce:has(> .woocommerce-form-login) > p.lost_password,
.esw-page .woocommerce:has(> .woocommerce-form-login) > .woocommerce-form-login ~ p{width:460px;max-width:100%;text-align:start}

/* Single-flag language toggle: show the current language, click to switch */
.lang.flags.single{gap:0}
.lang.flags.single a{opacity:1}
.lang.flags.single a:hover{transform:scale(1.06)}
.df-lang .lang.flags.single{margin-top:6px}

/* Payment method logos inside the checkout options: one trimmed mark per method */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option .wc-block-components-radio-control__label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option img{display:none!important}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option[for="radio-control-wc-payment-method-options-instapay"] .wc-block-components-radio-control__label::after,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option[for="radio-control-wc-payment-method-options-vodafone_cash"] .wc-block-components-radio-control__label::after{content:'';display:inline-block;height:30px;background-position:center;background-repeat:no-repeat;background-size:contain;flex:0 0 auto}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option[for="radio-control-wc-payment-method-options-instapay"] .wc-block-components-radio-control__label::after{width:47px;background-image:url('/wp-content/themes/elsafwa/assets/pay/instapay.png')}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option[for="radio-control-wc-payment-method-options-vodafone_cash"] .wc-block-components-radio-control__label::after{width:51px;background-image:url('/wp-content/themes/elsafwa/assets/pay/vodafone.png')}
/* Selected payment card: keep the note text close to its row, no empty band above it */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option{padding-bottom:8px!important}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option-layout{padding-bottom:0!important}
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content{padding:0 16px 12px!important}
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content p{margin:0!important;font-size:13px;line-height:1.7}

/* Payment logos row under product cards */
.ppay{display:flex;align-items:center;gap:6px;margin:6px 0 2px}
.ppay img{height:24px;width:auto;max-width:52px;object-fit:contain;display:block;opacity:.9}
.pdp-pay{margin:10px 0 4px}
.pdp-pay img{height:30px;max-width:64px;opacity:1}
@media (max-width:781px){.ppay img{height:18px}.pdp-pay img{height:26px}}

/* Site-wide scrolling product strip */
.esw-strip{background:#fff;border-top:1px solid #EFE7DC;padding:26px 0 30px;margin-top:34px}
.esw-strip-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1240px;margin:0 auto 14px;padding:0 16px;font-family:var(--fs,inherit)}
.esw-strip-hd span{font-size:20px;font-weight:700;color:#161311}
.esw-strip-hd a{font-size:14px;color:#E8470F;text-decoration:none}
.esw-mq{overflow:hidden;position:relative}
.esw-mq::before,.esw-mq::after{content:'';position:absolute;top:0;bottom:0;width:48px;z-index:2;pointer-events:none}
.esw-mq::before{inset-inline-start:0;background:linear-gradient(to right,#fff,transparent)}
.esw-mq::after{inset-inline-end:0;background:linear-gradient(to left,#fff,transparent)}
.esw-mq-track{display:flex;gap:14px;width:max-content;animation:esw-mq 42s linear infinite}
.esw-mq:hover .esw-mq-track{animation-play-state:paused}
@keyframes esw-mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.esw-mq-item{flex:0 0 auto;width:190px;text-decoration:none;color:inherit;display:block;background:#FBF7F1;border:1px solid #EFE7DC;border-radius:12px;padding:10px}
.esw-mq-img{display:block;aspect-ratio:1/1;background:#fff;border-radius:8px;overflow:hidden}
.esw-mq-img img{width:100%;height:100%;object-fit:cover;display:block}
.esw-mq-name{display:block;font-size:13px;margin-top:8px;color:#161311;line-height:1.5;height:39px;overflow:hidden}
.esw-mq-price{display:block;font-size:14px;font-weight:700;color:#E8470F;margin-top:4px}
@media (max-width:781px){.esw-mq-item{width:150px}.esw-strip-hd span{font-size:17px}}


/* Floating nav pill (desktop) and floating top bar (mobile) */
body.esw-float .sh-navrow{min-height:70px}
body.esw-float .sh-navrow .sh-pill{position:fixed;will-change:transform;top:10px;left:50%;margin:0;transform:translateX(-50%);width:min(1160px,calc(100vw - 80px));z-index:95;height:54px;background:rgba(251,247,241,.86)!important;backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15);box-shadow:0 14px 34px -16px rgba(22,19,17,.55)!important}
@media (max-width:781px){
	.sh-top{position:fixed!important;top:0;left:0;right:0;z-index:95;transform:translateZ(0);will-change:transform;backface-visibility:hidden}
	body.esw-float .sh-top{background:rgba(22,19,17,.92)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 12px 28px -16px rgba(0,0,0,.6)}
	.site{padding-top:var(--esw-top-h,84px)}
}

/* Inspection-on-delivery notes */
.pdp-note{margin:14px 0 0;font-size:13.5px;line-height:1.7;color:#6B6259;background:#FBF7F1;border:1px solid #EFE7DC;border-radius:10px;padding:10px 14px}
.esw-paynote{margin:0 0 12px;font-size:13.5px;line-height:1.7;color:#6B6259;background:#FBF7F1;border:1px solid #EFE7DC;border-radius:10px;padding:10px 14px}
.ft-note{margin:10px 0 0;font-size:12.5px;line-height:1.7;color:#A79F92}

/* Product page selling sections */
.esw-sec{padding:44px 0}
.esw-sec-tight{padding:32px 0}
.esw-sec-alt{background:#FBF7F1}
.esw-h2{font-size:24px;font-weight:600;margin:0 0 18px;color:#161311}
.esw-body{font-size:15px;line-height:2;color:#4A443F;max-width:760px;margin:0}
.esw-points{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:9px}
.esw-points li{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;color:#4A443F;line-height:1.7}
.esw-points svg{flex:none;margin-top:3px;color:#E8470F}
.esw-mini{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px;font-size:12.5px;color:#6B6259}
.esw-old{color:#A79F92;text-decoration:line-through;font-size:14px;margin-inline-start:6px}
.esw-three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.esw-card{background:#fff;border:1px solid #EFE7DC;border-radius:14px;padding:22px}
.esw-card h3{margin:0 0 8px;font-size:15px;font-weight:600;color:#161311}
.esw-card p{margin:0;font-size:13.5px;line-height:1.9;color:#4A443F}
.esw-empty{background:#fff;border:1px dashed #E2D8C9;border-radius:14px;padding:26px;text-align:center;color:#6B6259;font-size:13.5px}
.esw-faq{display:grid;gap:10px;max-width:820px}
.esw-faq details{background:#fff;border:1px solid #EFE7DC;border-radius:12px;padding:14px 16px}
.esw-faq summary{cursor:pointer;font-size:14px;font-weight:600;color:#161311}
.esw-faq p{margin:10px 0 0;font-size:13.5px;line-height:1.9;color:#4A443F}
.esw-buybar{display:none}
@media(max-width:760px){
 .esw-sec{padding:34px 0}
 .esw-h2{font-size:19px;margin-bottom:14px}
 .esw-three{grid-template-columns:1fr}
 .esw-buybar{display:flex;align-items:center;gap:12px;position:fixed;left:0;right:0;bottom:var(--esw-mbar,70px);z-index:60;background:rgba(251,247,241,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #EFE7DC;padding:10px 14px}
 .esw-buybar .p{display:flex;align-items:baseline;gap:6px;font-size:12px;color:#6B6259;flex:none}
 .esw-buybar .p b{font-size:18px;color:#161311}
 .esw-buybar .btn{flex:1;margin:0;text-align:center}
}

.esw-panel{background:#fff;border:1px solid #EFE7DC;border-radius:16px;padding:24px 28px}
.esw-panel .esw-h2{margin-bottom:12px}
.esw-panel .esw-body{font-size:16px;line-height:2.05}
.esw-empty{display:grid;justify-items:center;gap:12px}
.esw-empty p{margin:0}
.esw-stars{display:flex;gap:5px;color:#D8CDBB}
@media(max-width:760px){
 .esw-panel{padding:22px 20px;border-radius:14px}
 .esw-panel .esw-body{font-size:14.5px;line-height:1.95}
 body.single-product .site{padding-bottom:146px}
}

.esw-revline{display:flex;align-items:center;gap:10px;padding:14px 0;border-top:1px solid #EFE7DC;border-bottom:1px solid #EFE7DC;color:#6B6259;font-size:13.5px}
.esw-revline .esw-stars{display:flex;gap:4px;color:#D8CDBB;flex:none}
@media(max-width:760px){.esw-sec-tight{padding:26px 0}.esw-revline{font-size:12.5px}}

.esw-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px;max-width:520px}
.esw-facts li{display:flex;justify-content:space-between;gap:16px;font-size:14px;padding-bottom:10px;border-bottom:1px solid #F1EAE0}
.esw-facts li:last-child{border-bottom:0;padding-bottom:0}
.esw-facts .k{color:#8A8177}
.esw-facts .v{color:#161311;font-weight:600}
@media(max-width:760px){.esw-facts li{font-size:13px}}

/* Language popover: absolutely positioned, so the bar never moves */
.sh-top{position:relative;z-index:96}
.esw-lang{position:relative;display:inline-flex;align-items:center}
.esw-lang-btn{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;cursor:pointer;color:inherit;line-height:0}
.esw-lang-btn .esw-chev{opacity:.65}
.esw-lang-menu{display:none;position:absolute;top:calc(100% + 12px);inset-inline-end:0;background:#fff;border:1px solid #EFE7DC;border-radius:12px;padding:6px;min-width:164px;box-shadow:0 18px 40px -22px rgba(22,19,17,.55);z-index:140}
.esw-lang-menu.open{display:block}
.lang a.esw-lang-item,.esw-lang-item{color:#161311!important;opacity:1!important;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;font-size:13.5px;color:#161311;text-decoration:none;line-height:1.4}
.esw-lang-item:hover,.esw-lang-item:focus-visible{background:#FBF7F1;outline:none}
.esw-lang-item svg{flex:none}
.df-lang .esw-lang{width:100%;flex-direction:column;align-items:flex-start}
.df-lang .esw-lang-btn{padding:6px 0}
.df-lang .esw-lang-menu{position:static;display:none;margin-top:8px;box-shadow:none;background:#1F1B18;border-color:#3A332D}
.df-lang .esw-lang-menu.open{display:block}
.df-lang .lang a.esw-lang-item,.df-lang .esw-lang-item{color:#F7F5F0!important}
@media(max-width:781px){.esw-lang-menu{min-width:150px}}

.wc-block-checkout__contact-fields legend.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
