/* M7trf header + footer: same clean white / purple pattern as the homepage, shop and product pages.
   Fonts come from m7-home-v2.css (enqueued as a dependency). Scoped to body.m7-hf. */
body.m7-hf{
  --m7-line:#ebe8f2; --m7-soft:#f6f5fa; --m7-fg:#16131f; --m7-muted:#6e6880;
  --m7-accent:#7c4dff; --m7-accent-hover:#6a3bf0; --m7-accent-soft:#f1ecff; --m7-sale:#e5484d;
}
body.m7-hf .elementor-location-header,
body.m7-hf .elementor-location-header :is(a,span,input,button,p,li,div),
body.m7-hf .elementor-location-footer,
body.m7-hf .elementor-location-footer :is(a,span,p,li,div,h1,h2,h3,h4,h5,h6),
body.m7-hf .woocommerce-store-notice{font-family:"M7 Tajawal",Tahoma,sans-serif!important}

/* top announcement bar */
body.m7-hf .woocommerce-store-notice{background:var(--m7-accent)!important;color:#fff!important;font-size:14px!important;font-weight:700;padding:8px 16px!important;letter-spacing:0}
body.m7-hf .woocommerce-store-notice a{color:#fff!important;opacity:.8;font-weight:400}

/* main header row */
body.m7-hf .elementor-element-50322f0e{border-bottom:1px solid var(--m7-line)}
body.m7-hf .elementor-element-50322f0e.sticky-on,
body.m7-hf .elementor-element-50322f0e.etheme-elementor-sticky-active{box-shadow:0 6px 24px rgba(40,20,90,.08)}

/* search */
body.m7-hf .elementor-element-7476b844 .etheme-search-form-input,
body.m7-hf .elementor-element-1d0618c5 .etheme-search-form-input{background:var(--m7-soft)!important;border-color:var(--m7-line)!important}
body.m7-hf .elementor-element-7476b844 .etheme-search-input-form-wrapper,
body.m7-hf .elementor-element-7476b844 .etheme-search-form-input{border-radius:0 12px 12px 0!important}
body.m7-hf .elementor-element-7476b844 .etheme-search-form-input:focus{border-color:var(--m7-accent)!important;background:#fff!important}
body.m7-hf .etheme-search-form-submit{background-color:var(--m7-accent)!important;--s-form-shadow-color:var(--m7-accent)!important;border-radius:12px 0 0 12px!important}
body.m7-hf .etheme-search-form-submit:hover,body.m7-hf .etheme-search-form-submit:focus{background-color:var(--m7-accent-hover)!important;--s-form-shadow-color:var(--m7-accent-hover)!important}

/* phone box */
body.m7-hf .elementor-element-1fd66313>.elementor-widget-container{border-color:var(--m7-line)!important;border-radius:14px!important;background:#fff}
body.m7-hf .elementor-element-1fd66313 .etheme-icon-box-icon{color:var(--m7-accent)!important;fill:var(--m7-accent)!important}
body.m7-hf .elementor-element-1fd66313 .etheme-icon-box-title{color:var(--m7-muted)!important}
body.m7-hf .elementor-element-1fd66313 .etheme-icon-box-description{color:var(--m7-fg)!important;font-weight:800!important;direction:ltr}

/* account / compare / wishlist / cart icons */
body.m7-hf .elementor-location-header .etheme-elementor-off-canvas__toggle .elementor-button{color:var(--m7-fg)!important;fill:var(--m7-fg)!important;font-weight:700}
body.m7-hf .elementor-location-header .etheme-elementor-off-canvas__toggle .elementor-button:hover{color:var(--m7-accent)!important;fill:var(--m7-accent)!important}
body.m7-hf .elementor-location-header .elementor-button-icon-qty{background-color:var(--m7-accent)!important;color:#fff!important;font-weight:700}

/* menu row: white instead of mint */
body.m7-hf .elementor-element-2f1270bd:not(.elementor-motion-effects-element-type-background),
body.m7-hf .elementor-element-2f1270bd>.elementor-motion-effects-container>.elementor-motion-effects-layer{background-color:#fff!important}
body.m7-hf .elementor-element-2f1270bd{border-bottom:1px solid var(--m7-line)}
body.m7-hf .elementor-element-4d57b9fe .etheme-elementor-nav-menu-item-parent .elementor-item{color:var(--m7-fg)!important;fill:var(--m7-fg)!important;font-weight:700!important}
body.m7-hf .elementor-element-4d57b9fe .etheme-elementor-nav-menu-item-parent .elementor-item:hover,
body.m7-hf .elementor-element-4d57b9fe li:has(>.etheme-elementor-nav-menu-item-parent):hover>.etheme-elementor-nav-menu-item-parent .elementor-item{color:var(--m7-accent)!important;fill:var(--m7-accent)!important;background:transparent!important}
body.m7-hf .elementor-element-4d57b9fe .etheme-elementor-nav-menu-item-parent:not(.e--pointer-framed) .elementor-item:after{background-color:var(--m7-accent)!important}
body.m7-hf .elementor-element-4d57b9fe .etheme-elementor-nav-menu-item-label{background-color:var(--m7-sale)!important;border-radius:6px}

/* "all departments" button */
body.m7-hf .elementor-element-7ae088da .etheme-elementor-nav-menu-item-parent .elementor-item{background:var(--m7-accent-soft)!important;color:var(--m7-accent)!important;fill:var(--m7-accent)!important;border-radius:12px!important;font-weight:800!important}
body.m7-hf .elementor-element-7ae088da .etheme-elementor-nav-menu-item-parent .elementor-item:hover,
body.m7-hf .elementor-element-7ae088da li:has(>.etheme-elementor-nav-menu-item-parent):hover>.etheme-elementor-nav-menu-item-parent .elementor-item{background:var(--m7-accent)!important;color:#fff!important;fill:#fff!important}
body.m7-hf .elementor-element-7ae088da .etheme-elementor-nav-menu-item-icon,
body.m7-hf .elementor-element-7ae088da .elementor-item svg{color:inherit!important;fill:currentColor!important}
body.m7-hf .elementor-element-7ae088da .etheme-elementor-nav-menu-item-element.etheme-elementor-nav-menu-item-icon{background:var(--m7-accent)!important;color:#fff!important;border-radius:8px!important}
body.m7-hf .elementor-element-7ae088da .etheme-elementor-nav-menu-item-element.etheme-elementor-nav-menu-item-icon i{color:#fff!important}

/* dropdowns / mega menu panels */
body.m7-hf .elementor-location-header .etheme-elementor-nav-menu--dropdown,
body.m7-hf .elementor-location-header .nav-sublist-dropdown,
body.m7-hf .elementor-location-header .etheme-elementor-mega-menu-content{border:1px solid var(--m7-line)!important;border-radius:14px!important;box-shadow:0 12px 32px rgba(40,20,90,.10)!important}
body.m7-hf .elementor-location-header .etheme-elementor-nav-menu--dropdown a:hover{color:var(--m7-accent)!important}

/* discount button */
body.m7-hf .elementor-element-ce070a7 .elementor-button{background-color:var(--m7-sale)!important;color:#fff!important;fill:#fff!important;border-radius:12px!important;font-weight:800!important}
body.m7-hf .elementor-element-ce070a7 .elementor-button:hover{background-color:#cf3a3f!important;color:#fff!important;fill:#fff!important}
body.m7-hf .elementor-element-ce070a7 .elementor-button svg{fill:#fff!important}

/* footer: deep ink instead of grey */
body.m7-hf .elementor-location-footer .elementor-element-60bea5ce:not(.elementor-motion-effects-element-type-background),
body.m7-hf .elementor-location-footer .elementor-element-60bea5ce>.elementor-motion-effects-container>.elementor-motion-effects-layer{background-color:#16131f!important}
body.m7-hf .elementor-location-footer .elementor-element-60bea5ce{border-top:4px solid var(--m7-accent)}
body.m7-hf .elementor-location-footer .elementor-widget-image img{border-radius:14px}
body.m7-hf .elementor-location-footer .item-title-holder .menu-title{color:#fff!important;font-weight:800!important;font-size:18px}
body.m7-hf .elementor-location-footer .subitem-title-holder .menu-title{color:#c9c3da!important;transition:color .15s}
body.m7-hf .elementor-location-footer .subitem-title-holder:hover .menu-title{color:#b69cff!important}
body.m7-hf .elementor-location-footer .etheme-icon-box-subtitle{color:#9a93ad!important}
body.m7-hf .elementor-location-footer .etheme-icon-box-title{color:#fff!important;font-weight:800!important;direction:ltr}
body.m7-hf .elementor-location-footer .etheme-icon-box-description{color:#c9c3da!important}
body.m7-hf .elementor-location-footer .et-follow-buttons{display:flex;flex-wrap:wrap;gap:10px}
body.m7-hf .elementor-location-footer .et-follow-buttons a{width:42px;height:42px;display:inline-grid!important;place-items:center;margin:0!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:50%!important;background:rgba(255,255,255,.04)!important;color:#fff!important;transition:all .15s}
body.m7-hf .elementor-location-footer .et-follow-buttons a i{color:inherit!important;font-size:17px}
body.m7-hf .elementor-location-footer .et-follow-buttons a:hover{background:var(--m7-accent)!important;border-color:var(--m7-accent)!important;color:#fff!important}
body.m7-hf .elementor-location-footer .et-follow-buttons a svg{fill:currentColor!important}
body.m7-hf .elementor-location-footer .elementor-divider-separator{border-color:rgba(255,255,255,.10)!important}
body.m7-hf .elementor-location-footer .elementor-widget-text-editor{color:#9a93ad!important}
body.m7-hf .elementor-location-footer .elementor-widget-text-editor :is(p,a,span){color:inherit!important}

@media (max-width:1024px){
  body.m7-hf .etheme-search-form-submit{border-radius:12px 0 0 12px!important}
}
@media (max-width:760px){
  body.m7-hf .woocommerce-store-notice{font-size:13px!important;padding:7px 12px!important}
  body.m7-hf .elementor-location-footer .item-title-holder .menu-title{font-size:16px}
  body.m7-hf .elementor-location-footer .elementor-element-1ed0b59b>.elementor-container{flex-wrap:wrap}
  body.m7-hf .elementor-location-footer .elementor-element-7075f5ed,
  body.m7-hf .elementor-location-footer .elementor-element-71b392c5{width:50%!important}
}

/* footer payment badges */
body.m7-hf .m7-pay{list-style:none;margin:0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.m7-hf .m7-pay-item{margin:0!important;height:40px;min-width:64px;padding:0 10px;background:#fff;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:5px}
body.m7-hf .m7-pay-item::before{display:none!important}
body.m7-hf .m7-pay-item img{display:block;height:24px;width:auto;max-width:70px;object-fit:contain}
body.m7-hf .m7-pay-item.is-visa img{height:16px}
body.m7-hf .m7-pay-item.is-mastercard img,body.m7-hf .m7-pay-item.is-knet img{height:28px}
body.m7-hf .m7-pay-item.is-tabby{background:#3effb9;padding:0 8px}
body.m7-hf .m7-pay-item.is-tabby img{height:26px}
body.m7-hf .m7-pay-item.is-taly{background:#1c232b}
body.m7-hf .m7-pay-item.is-taly img{height:26px}
body.m7-hf .m7-pay-item.is-deema img{height:22px;width:22px;border-radius:6px}
body.m7-hf .m7-pay-item.is-deema b{font-family:Tahoma,Arial,sans-serif!important;font-size:14px;font-weight:700;color:#1b1b1f;direction:ltr}
@media (min-width:761px){
  body.m7-hf .elementor-element-3139ebb5{max-width:none!important;width:auto!important;flex-shrink:0}
  body.m7-hf .m7-pay{flex-wrap:nowrap}
}
@media (max-width:760px){
  body.m7-hf .m7-pay{justify-content:center;gap:6px}
  body.m7-hf .m7-pay-item{height:36px;min-width:56px;padding:0 8px}
}

/* footer bottom bar: payment badges centred, copyright centred under them */
body.m7-hf .elementor-location-footer .elementor-element-4d135d65>.elementor-container{flex-direction:column!important;align-items:center!important;gap:16px}
body.m7-hf .elementor-location-footer .elementor-element-4d135d65 .elementor-column{width:100%!important}
body.m7-hf .elementor-location-footer .elementor-element-2a9aa1f6{order:-1}
body.m7-hf .elementor-location-footer .elementor-element-2a9aa1f6>.elementor-widget-wrap{justify-content:center!important;flex-direction:column;align-items:center;gap:10px}
body.m7-hf .elementor-location-footer .elementor-element-6a10b14e>.elementor-widget-wrap{justify-content:center!important;text-align:center}
body.m7-hf .elementor-location-footer .elementor-element-f832c72,
body.m7-hf .elementor-location-footer .elementor-element-678957a7{text-align:center!important;margin:0!important}
body.m7-hf .elementor-location-footer .elementor-element-3139ebb5{margin:0!important}
body.m7-hf .m7-pay{justify-content:center}
