/* MEV shared header/footer shell — Checkpoint 3
 * Extracted from PHP templates so browsers can cache it across pages.
 */

:root{
  --h2h-ink:#101214;
  --h2h-text:#3f454d;
  --h2h-muted:#737b86;
  --h2h-line:rgba(16,18,20,.10);
  --h2h-line2:rgba(16,18,20,.16);
  --h2h-glass:rgba(255,255,255,.82);
  --h2h-white:#fff;
  --h2h-wash:#f5f7fa;
  --h2h-green:#008f7a;
  --h2h-green-dark:#087063;
  --h2h-dark:#111827;
  --h2h-shadow:0 18px 58px rgba(17,24,39,.12);
  --h2h-shadow2:0 10px 28px rgba(17,24,39,.07);
}

body{padding-top:0!important}

.h2h-shell{
  position:fixed;
  inset:0 0 auto 0;
  z-index:10000;
  width:100%;
  padding:10px 12px 0;
  pointer-events:none;
}

.h2h-spacer{
  height:86px;
  width:100%;
  flex:0 0 auto;
}

.h2h-header{
  pointer-events:auto;
  width:min(1320px,100%);
  min-height:64px;
  margin-inline:auto;
  border-radius:22px;
  background:var(--h2h-glass);
  border:1px solid rgba(255,255,255,.78);
  box-shadow:var(--h2h-shadow2);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:10px 12px;
}

.h2h-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
  color:var(--h2h-ink);
  text-decoration:none;
}

.h2h-mark{
  width:42px;
  height:42px;
  border-radius:15px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,var(--h2h-dark),var(--h2h-green));
  font-size:18px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.06em;
  box-shadow:0 14px 30px rgba(17,24,39,.16);
}

.h2h-name{
  display:grid;
  gap:3px;
  line-height:1;
}

.h2h-name strong{
  font-size:16px;
  letter-spacing:-.025em;
}

.h2h-name span{
  color:var(--h2h-muted);
  font-size:11px;
  font-weight:850;
}

.h2h-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-width:0;
  padding:5px;
  border-radius:999px;
  background:rgba(245,247,250,.78);
  border:1px solid rgba(16,18,20,.055);
}

.h2h-link,
.h2h-shop-btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:9px 14px;
  border-radius:999px;
  color:var(--h2h-text);
  text-decoration:none;
  font-family:inherit;
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
  border:0;
  background:transparent;
  cursor:pointer;
  transition:.18s ease;
}

.h2h-link:hover,
.h2h-shop-btn:hover,
.h2h-link.is-active,
.h2h-shop-btn.is-active{
  background:#fff;
  color:var(--h2h-ink);
  box-shadow:0 8px 18px rgba(17,24,39,.06);
}

.h2h-shop{
  position:relative;
}

.h2h-mega{
  position:absolute;
  top:calc(100% + 12px);
  left:50%;
  transform:translateX(-50%) translateY(8px);
  width:min(980px,calc(100vw - 32px));
  padding:14px;
  border-radius:28px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(16,18,20,.08);
  box-shadow:0 28px 90px rgba(17,24,39,.18);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  opacity:0;
  visibility:hidden;
  transition:.18s ease;
}

.h2h-shop:hover .h2h-mega,
.h2h-shop.is-open .h2h-mega{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.h2h-mega-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.h2h-mega-card{
  min-height:128px;
  padding:14px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid rgba(16,18,20,.06);
}

.h2h-mega-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--h2h-ink);
  text-decoration:none;
  font-size:16px;
  line-height:1.22;
  font-weight:950;
}

.h2h-mega-title i{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  color:var(--h2h-green-dark);
  font-style:normal;
  flex:0 0 auto;
}

.h2h-mega-items{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}

.h2h-mega-items a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 9px;
  border-radius:999px;
  color:var(--h2h-text);
  background:#fff;
  border:1px solid rgba(16,18,20,.06);
  font-size:12px;
  font-weight:850;
  text-decoration:none;
}

.h2h-mega-items a:hover,
.h2h-mega-title:hover{
  color:var(--h2h-green-dark);
}

.h2h-knowledge-mega{
  width:min(760px,calc(100vw - 32px));
}

.h2h-knowledge-grid{
  display:grid;
  grid-template-columns:1.05fr repeat(2,minmax(0,1fr));
  gap:10px;
}

.h2h-knowledge-hero,
.h2h-knowledge-item{
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  padding:15px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid rgba(16,18,20,.06);
  color:var(--h2h-ink);
  text-decoration:none;
}

.h2h-knowledge-hero{
  grid-row:span 2;
  background:linear-gradient(135deg,#111827,#1f2937);
  color:#fff;
}

.h2h-knowledge-hero span{
  color:rgba(255,255,255,.68);
}

.h2h-knowledge-item span{
  color:var(--h2h-muted);
}

.h2h-knowledge-hero strong,
.h2h-knowledge-item strong{
  font-size:16px;
  line-height:1.2;
  font-weight:950;
}

.h2h-knowledge-hero span,
.h2h-knowledge-item span{
  font-size:12px;
  line-height:1.4;
  font-weight:850;
}

.h2h-knowledge-item:hover{
  color:var(--h2h-green-dark);
  background:#fff;
}

.h2h-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:max-content;
}

.h2h-action{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--h2h-line);
  background:#fff;
  color:var(--h2h-ink);
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  transition:.18s ease;
}

.h2h-action:hover{
  transform:translateY(-1px);
  box-shadow:var(--h2h-shadow2);
}

.h2h-action.whatsapp{
  border-color:transparent;
  background:var(--h2h-green);
  color:#fff;
}

.h2h-action.whatsapp:hover{
  background:var(--h2h-green-dark);
}

.h2h-cart{
  position:relative;
}

.h2h-count{
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--h2h-dark);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:950;
}

.h2h-action.is-active{
  background:rgba(0,143,122,.10);
  color:var(--h2h-green-dark);
  border-color:rgba(0,143,122,.18);
}

.h2h-menu{
  display:none;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--h2h-line);
  background:#fff;
  color:var(--h2h-ink);
  cursor:pointer;
}

.h2h-menu span{
  width:17px;
  height:2px;
  display:block;
  margin:4px auto;
  border-radius:999px;
  background:currentColor;
}

.h2h-panel{
  display:none;
}

@media(max-width:1160px){
  .h2h-link,.h2h-shop-btn{padding-inline:11px;font-size:13px}
  .h2h-name span{display:none}
  .h2h-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h2h-knowledge-grid{grid-template-columns:1fr 1fr}
  .h2h-knowledge-hero{grid-row:auto;grid-column:span 2}
}

@media(max-width:980px){
  .h2h-spacer{height:76px}
  .h2h-shell{padding:8px 8px 0}
  .h2h-header{
    min-height:58px;
    border-radius:18px;
    grid-template-columns:auto auto;
    padding:9px;
  }
  .h2h-nav{display:none}
  .h2h-name strong{font-size:14px}
  .h2h-mark{width:38px;height:38px;border-radius:14px}
  .h2h-actions{gap:6px}
  .h2h-action.lang,
  .h2h-action.account{
    display:none;
  }
  .h2h-action.cart{
    width:38px;
    min-height:38px;
    padding:0;
  }
  .h2h-action.cart .h2h-action-text{display:none}
  .h2h-action.whatsapp{
    min-height:38px;
    padding:9px 11px;
    font-size:12px;
  }
  .h2h-menu{display:block}

  .h2h-panel{
    display:block;
    position:fixed;
    inset:0;
    z-index:99999;
    background:rgba(9,13,20,.42);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.2s ease;
  }

  .h2h-panel.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .h2h-card{
    position:absolute;
    top:8px;
    left:8px;
    right:8px;
    max-height:calc(100vh - 16px);
    overflow:auto;
    border-radius:24px;
    background:rgba(255,255,255,.98);
    border:1px solid rgba(255,255,255,.82);
    box-shadow:0 28px 90px rgba(17,24,39,.24);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    padding:12px;
    transform:translateY(-14px);
    transition:.2s ease;
  }

  .h2h-panel.is-open .h2h-card{
    transform:translateY(0);
  }

  .h2h-mobile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding-bottom:12px;
    border-bottom:1px solid var(--h2h-line);
  }

  .h2h-close{
    width:40px;
    height:40px;
    border-radius:999px;
    border:1px solid var(--h2h-line);
    background:#fff;
    color:var(--h2h-ink);
    cursor:pointer;
    font-size:22px;
    line-height:1;
  }

  .h2h-mobile-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:12px 0;
  }

  .h2h-mobile-link{
    min-height:92px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:10px;
    padding:13px;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid rgba(16,18,20,.06);
    color:var(--h2h-ink);
    text-decoration:none;
    font-weight:950;
  }

  .h2h-mobile-link small{
    color:var(--h2h-muted);
    font-size:11px;
    line-height:1.35;
    font-weight:850;
  }

  .h2h-mobile-link.is-active{
    background:rgba(0,143,122,.10);
    color:var(--h2h-green-dark);
    border-color:rgba(0,143,122,.16);
  }

  .h2h-mobile-shop{
    border-radius:20px;
    background:#f8fafc;
    border:1px solid rgba(16,18,20,.06);
    overflow:hidden;
    margin-bottom:10px;
  }

  .h2h-mobile-shop-btn{
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px;
    border:0;
    background:transparent;
    color:var(--h2h-ink);
    font-family:inherit;
    font-size:15px;
    font-weight:950;
    cursor:pointer;
  }

  .h2h-mobile-shop.is-open .chev{
    transform:rotate(180deg);
  }

  .h2h-mobile-shop-body{
    display:none;
    padding:0 10px 12px;
  }

  .h2h-mobile-shop.is-open .h2h-mobile-shop-body{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .h2h-mobile-cat{
    min-height:92px;
    padding:12px;
    border-radius:16px;
    background:#fff;
    border:1px solid rgba(16,18,20,.06);
    color:var(--h2h-ink);
    text-decoration:none;
    font-weight:950;
    line-height:1.2;
  }

  .h2h-mobile-cat span{
    display:block;
    margin-top:8px;
    color:var(--h2h-muted);
    font-size:11px;
    font-weight:850;
  }

  .h2h-mobile-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding-top:4px;
  }

  .h2h-mobile-actions .h2h-action{
    width:100%;
    min-height:44px;
  }
}

@media(max-width:380px){
  .h2h-mobile-grid,
  .h2h-mobile-shop.is-open .h2h-mobile-shop-body,
  .h2h-mobile-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .h2h-mobile-link,
  .h2h-mobile-cat{
    min-height:84px;
    padding:10px;
    border-radius:15px;
    font-size:13px;
  }
  .h2h-action.whatsapp{
    display:none;
  }
}


/* =========================================================
   H2H PROFESSIONAL MOBILE MENU - SCROLL FIX
   Fixes long mobile menus that could not scroll.
   Keeps sub-categories closed by default.
   ========================================================= */
@media(max-width:980px){
  .h2h-shell{
    padding:6px 7px 0 !important;
    z-index:10000 !important;
  }

  .h2h-spacer{
    height:68px !important;
  }

  .h2h-header{
    min-height:52px !important;
    border-radius:17px !important;
    padding:7px !important;
    grid-template-columns:auto auto !important;
    box-shadow:0 12px 34px rgba(17,24,39,.10) !important;
  }

  .h2h-brand{
    gap:8px !important;
  }

  .h2h-mark{
    width:36px !important;
    height:36px !important;
    border-radius:13px !important;
    font-size:16px !important;
  }

  .h2h-name strong{
    font-size:14px !important;
    letter-spacing:-.02em !important;
  }

  .h2h-name span{
    display:none !important;
  }

  .h2h-actions{
    gap:5px !important;
  }

  .h2h-action.lang,
  .h2h-action.account,
  .h2h-action.whatsapp{
    display:none !important;
  }

  .h2h-action.cart{
    width:36px !important;
    min-height:36px !important;
    padding:0 !important;
    border-radius:999px !important;
  }

  .h2h-menu{
    display:block !important;
    width:38px !important;
    height:38px !important;
    border-radius:999px !important;
  }

  .h2h-panel{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    z-index:99999 !important;
    background:rgba(9,13,20,.45) !important;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    padding:8px !important;
    box-sizing:border-box !important;
    transition:opacity .18s ease, visibility .18s ease !important;
    touch-action:pan-y !important;
  }

  .h2h-panel.is-open{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .h2h-card{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    min-height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    margin:0 auto 18px !important;
    padding:10px !important;
    border-radius:22px !important;
    background:rgba(255,255,255,.98) !important;
    border:1px solid rgba(255,255,255,.86) !important;
    box-shadow:0 28px 90px rgba(17,24,39,.24) !important;
    transform:translateY(-10px) !important;
    transition:transform .18s ease !important;
    box-sizing:border-box !important;
  }

  .h2h-panel.is-open .h2h-card{
    transform:translateY(0) !important;
  }

  .h2h-mobile-head{
    position:sticky !important;
    top:0 !important;
    z-index:5 !important;
    background:rgba(255,255,255,.96) !important;
    backdrop-filter:blur(14px) !important;
    -webkit-backdrop-filter:blur(14px) !important;
    border-radius:16px !important;
    padding:8px !important;
    margin:-2px -2px 8px !important;
    border:1px solid rgba(16,18,20,.06) !important;
  }

  .h2h-close{
    width:38px !important;
    height:38px !important;
    border-radius:999px !important;
    font-size:22px !important;
    flex:0 0 auto !important;
  }

  .h2h-mobile-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
    padding:4px 0 8px !important;
  }

  .h2h-mobile-link{
    min-height:70px !important;
    padding:10px !important;
    border-radius:16px !important;
    background:linear-gradient(180deg,#fff,#f8fafc) !important;
    border:1px solid rgba(16,18,20,.07) !important;
    box-shadow:0 8px 20px rgba(17,24,39,.045) !important;
    font-size:13px !important;
    line-height:1.25 !important;
  }

  .h2h-mobile-link small{
    font-size:10.5px !important;
    line-height:1.25 !important;
  }

  .h2h-mobile-shop{
    border-radius:17px !important;
    background:#f8fafc !important;
    border:1px solid rgba(16,18,20,.07) !important;
    margin:0 0 8px !important;
    overflow:hidden !important;
  }

  .h2h-mobile-shop-btn{
    min-height:44px !important;
    padding:11px 12px !important;
    font-size:14px !important;
    border-radius:0 !important;
  }

  .h2h-mobile-shop-body{
    display:none !important;
    padding:0 8px 10px !important;
  }

  .h2h-mobile-shop.is-open .h2h-mobile-shop-body{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
  }

  .h2h-mobile-cat{
    min-height:68px !important;
    padding:10px !important;
    border-radius:14px !important;
    background:#fff !important;
    font-size:12.5px !important;
    line-height:1.25 !important;
    box-shadow:0 8px 18px rgba(17,24,39,.04) !important;
  }

  .h2h-mobile-cat span{
    margin-top:6px !important;
    font-size:10px !important;
    line-height:1.25 !important;
  }

  .h2h-mobile-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr 1fr !important;
    gap:7px !important;
    padding:2px 0 0 !important;
  }

  .h2h-mobile-actions .h2h-action,
  .h2h-mobile-actions .h2h-action.whatsapp,
  .h2h-mobile-actions .h2h-action.account{
    display:inline-flex !important;
    width:100% !important;
    min-height:40px !important;
    padding:9px 8px !important;
    border-radius:14px !important;
    font-size:12px !important;
    box-sizing:border-box !important;
  }
}

@media(max-width:380px){
  .h2h-panel{padding:6px !important;}
  .h2h-card{padding:8px !important;border-radius:20px !important;}
  .h2h-mobile-grid,
  .h2h-mobile-shop.is-open .h2h-mobile-shop-body{
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
  }
  .h2h-mobile-link,
  .h2h-mobile-cat{
    min-height:62px !important;
    padding:9px !important;
    font-size:12px !important;
  }
  .h2h-mobile-actions{
    grid-template-columns:1fr 1fr !important;
  }
}



/* =========================================================
   H2H AUTH + CART + FOOTER LINKS UPGRADE
   Adds distinctive login/register, professional cart shape,
   and important footer links inside mobile menu.
   ========================================================= */
.h2h-action.register{
  background:linear-gradient(135deg,#111827,#26364f)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 12px 26px rgba(17,24,39,.14)!important;
}
.h2h-cart-pro{
  padding:7px 9px!important;
  background:#fff!important;
  border-color:rgba(16,18,20,.12)!important;
  box-shadow:0 8px 20px rgba(17,24,39,.055)!important;
}
.h2h-cart-icon{
  width:24px;
  height:24px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#f3f6fb;
  font-size:13px;
  line-height:1;
}
.h2h-cart-pro .h2h-count{
  min-width:22px;
  height:22px;
  background:var(--h2h-green)!important;
  color:#fff!important;
  border:2px solid #fff;
  box-shadow:0 6px 14px rgba(0,143,122,.20);
}
.h2h-mobile-commerce{
  display:none;
}
.h2h-mobile-important{
  display:none;
}
@media(max-width:980px){
  .h2h-action.register{display:none!important;}
  .h2h-action.cart{
    width:auto!important;
    min-width:42px!important;
    padding:6px 7px!important;
  }
  .h2h-action.cart .h2h-cart-icon{width:24px;height:24px;font-size:12px;}
  .h2h-action.cart .h2h-count{
    position:absolute;
    top:-5px;
    inset-inline-end:-5px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    font-size:9px;
  }
  .h2h-action.cart{position:relative!important;}

  .h2h-mobile-commerce{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:7px;
    padding:2px 0 8px;
  }
  .h2h-mobile-auth-card,
  .h2h-mobile-cart-card{
    min-height:62px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:10px;
    border-radius:17px;
    text-decoration:none;
    border:1px solid rgba(16,18,20,.07);
    background:linear-gradient(180deg,#fff,#f8fafc);
    color:var(--h2h-ink);
    box-shadow:0 10px 22px rgba(17,24,39,.055);
    box-sizing:border-box;
    min-width:0;
  }
  .h2h-mobile-auth-card.register{
    background:linear-gradient(135deg,#111827,#223047);
    color:#fff;
    border-color:transparent;
  }
  .h2h-mobile-auth-card.is-active,
  .h2h-mobile-cart-card.is-active{
    background:rgba(0,143,122,.10);
    border-color:rgba(0,143,122,.18);
  }
  .h2h-mobile-auth-icon,
  .h2h-mobile-cart-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:#eef3f7;
    font-size:15px;
    line-height:1;
  }
  .h2h-mobile-auth-card.register .h2h-mobile-auth-icon{
    background:rgba(255,255,255,.14);
    color:#fff;
  }
  .h2h-mobile-auth-card strong,
  .h2h-mobile-cart-card strong{
    display:block;
    font-size:12.5px;
    line-height:1.2;
    font-weight:950;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .h2h-mobile-auth-card small,
  .h2h-mobile-cart-card small{
    display:block;
    margin-top:3px;
    color:var(--h2h-muted);
    font-size:10px;
    line-height:1.25;
    font-weight:820;
  }
  .h2h-mobile-auth-card.register small{color:rgba(255,255,255,.68);}
  .h2h-mobile-cart-card{
    grid-column:1 / -1;
    background:linear-gradient(135deg,#f8fafc,#ffffff);
  }
  .h2h-mobile-cart-icon{
    background:rgba(0,143,122,.11);
  }
  .h2h-mobile-cart-text{min-width:0;flex:1 1 auto;}
  .h2h-mobile-cart-go{
    width:28px;
    height:28px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#111827;
    color:#fff;
    font-size:18px;
    font-weight:950;
    line-height:1;
    transform:scaleX(var(--h2h-go-dir,1));
  }
  [dir="rtl"] .h2h-mobile-cart-go{--h2h-go-dir:-1;}

  .h2h-mobile-important{
    display:block!important;
    margin:0 0 8px;
    padding:10px;
    border-radius:17px;
    background:#f8fafc;
    border:1px solid rgba(16,18,20,.07);
  }
  .h2h-mobile-important-title{
    margin-bottom:8px;
    color:var(--h2h-ink);
    font-size:13px;
    font-weight:950;
  }
  .h2h-mobile-important-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .h2h-mobile-important-grid a{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:8px;
    border-radius:13px;
    background:#fff;
    border:1px solid rgba(16,18,20,.06);
    color:var(--h2h-text);
    text-decoration:none;
    font-size:11px;
    font-weight:900;
    line-height:1.25;
  }
  .h2h-mobile-actions{
    grid-template-columns:1fr 1fr!important;
    padding-bottom:4px!important;
  }
  .h2h-mobile-actions .h2h-action.checkout{
    background:#111827!important;
    border-color:#111827!important;
    color:#fff!important;
  }
}
@media(max-width:380px){
  .h2h-mobile-commerce{grid-template-columns:1fr!important;}
  .h2h-mobile-cart-card{grid-column:auto!important;}
  .h2h-mobile-important-grid{grid-template-columns:1fr 1fr!important;gap:6px!important;}
  .h2h-mobile-important-grid a{font-size:10.5px;min-height:32px;padding:7px 5px;}
}


/* =========================================================
   FINAL MOBILE HEADER UX - Search + Language visible,
   cleaner cart, categories closed, compact professional menu.
   ========================================================= */
.h2h-action-search .h2h-action-icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  line-height:1;
}
.h2h-action-lang{
  font-weight:950!important;
}
@media(max-width:980px){
  .h2h-header{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .h2h-actions{
    gap:5px!important;
  }
  .h2h-action.search,
  .h2h-action.lang,
  .h2h-action.cart,
  .h2h-menu{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
  }
  .h2h-action.search{
    width:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:999px!important;
    background:#fff!important;
    border-color:rgba(16,18,20,.10)!important;
    box-shadow:0 7px 16px rgba(17,24,39,.055)!important;
  }
  .h2h-action.search .h2h-action-text{
    display:none!important;
  }
  .h2h-action.lang{
    min-width:40px!important;
    min-height:36px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    display:inline-flex!important;
    background:#f8fafc!important;
    color:#111827!important;
    border-color:rgba(16,18,20,.10)!important;
    font-size:11.5px!important;
    letter-spacing:-.01em!important;
  }
  .h2h-action.account,
  .h2h-action.whatsapp,
  .h2h-action.register{
    display:none!important;
  }
  .h2h-action.cart.h2h-cart-pro{
    min-width:39px!important;
    width:39px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,#ffffff,#f6faf8)!important;
    border-color:rgba(0,143,122,.18)!important;
    box-shadow:0 8px 18px rgba(0,143,122,.10)!important;
  }
  .h2h-action.cart .h2h-action-text{
    display:none!important;
  }
  .h2h-action.cart .h2h-cart-icon{
    width:25px!important;
    height:25px!important;
    background:rgba(0,143,122,.11)!important;
    font-size:12px!important;
  }
  .h2h-action.cart .h2h-count{
    top:-5px!important;
    inset-inline-end:-5px!important;
    min-width:17px!important;
    height:17px!important;
    font-size:9px!important;
    border:2px solid #fff!important;
  }
  .h2h-card{
    border-radius:22px!important;
    padding:10px!important;
  }
  .h2h-mobile-head{
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .h2h-mobile-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    padding:8px 0!important;
  }
  .h2h-mobile-link{
    min-height:52px!important;
    padding:10px!important;
    border-radius:16px!important;
    justify-content:center!important;
    background:linear-gradient(180deg,#fff,#f8fafc)!important;
    box-shadow:0 8px 18px rgba(17,24,39,.045)!important;
  }
  .h2h-mobile-link-row{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:950!important;
  }
  .h2h-mobile-link-ico{
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:12px!important;
    background:#eef3f7!important;
    font-size:13px!important;
  }
  .h2h-mobile-link small{
    display:none!important;
  }
  .h2h-mobile-shop{
    border-radius:17px!important;
    margin-bottom:8px!important;
  }
  .h2h-mobile-shop-btn{
    min-height:44px!important;
    padding:11px 12px!important;
    font-size:14px!important;
  }
  .h2h-mobile-shop-body{
    padding:0 8px 10px!important;
  }
  .h2h-mobile-shop.is-open .h2h-mobile-shop-body{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .h2h-mobile-cat{
    min-height:54px!important;
    padding:10px!important;
    border-radius:14px!important;
    font-size:12px!important;
  }
  .h2h-mobile-cat span{
    display:none!important;
  }
  .h2h-mobile-commerce{
    gap:7px!important;
    padding:2px 0 7px!important;
  }
  .h2h-mobile-auth-card,
  .h2h-mobile-cart-card{
    min-height:58px!important;
    border-radius:16px!important;
  }
  .h2h-mobile-important{
    border-radius:16px!important;
    padding:9px!important;
  }
}
@media(max-width:380px){
  .h2h-action.search{width:34px!important;min-width:34px!important;min-height:34px!important;}
  .h2h-action.lang{min-width:36px!important;min-height:34px!important;font-size:10.5px!important;padding:0 7px!important;}
  .h2h-action.cart.h2h-cart-pro{width:36px!important;min-width:36px!important;min-height:34px!important;}
  .h2h-menu{width:36px!important;height:36px!important;}
  .h2h-brand{gap:6px!important;}
  .h2h-name strong{font-size:13px!important;}
  .h2h-mark{width:34px!important;height:34px!important;}
}

:root{
  --f31-ink:#ffffff;
  --f31-muted:rgba(255,255,255,.66);
  --f31-line:rgba(255,255,255,.12);
  --f31-line2:rgba(255,255,255,.18);
  --f31-dark:#101820;
  --f31-dark2:#182332;
  --f31-green:#008f7a;
  --f31-green2:#15b89c;
  --f31-card:rgba(255,255,255,.07);
  --f31-shadow:0 28px 90px rgba(8,12,18,.28);
}
html,body{max-width:100%;overflow-x:hidden}
.f31Footer,.f31Footer *{box-sizing:border-box}
.f31Footer{
  width:auto;
  max-width:calc(100% - 24px);
  margin:12px;
  border-radius:34px;
  overflow:hidden;
  color:var(--f31-ink);
  background:
    radial-gradient(circle at 10% 0%,rgba(0,143,122,.34),transparent 30%),
    radial-gradient(circle at 86% 10%,rgba(21,184,156,.18),transparent 26%),
    linear-gradient(135deg,var(--f31-dark),var(--f31-dark2));
  box-shadow:var(--f31-shadow);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.f31Wrap{width:min(1320px,calc(100% - 32px));margin-inline:auto;padding:34px 0 24px}
.f31Cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  padding:30px;
  border-radius:28px;
  background:rgba(255,255,255,.075);
  border:1px solid var(--f31-line);
  backdrop-filter:blur(16px);
}
.f31Cta h2{
  max-width:850px;
  margin:0;
  font-size:clamp(32px,5vw,66px);
  line-height:1.03;
  letter-spacing:-.055em;
  font-weight:950;
}
[dir="rtl"] .f31Cta h2{letter-spacing:0}
.f31Cta p{
  max-width:680px;
  margin:12px 0 0;
  color:var(--f31-muted);
  font-size:16px;
  line-height:1.65;
  font-weight:750;
}
.f31Actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.f31Btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--f31-line2);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  transition:.18s ease;
}
.f31Btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.13)}
.f31Btn.green{background:var(--f31-green);border-color:transparent}
.f31Btn.green:hover{background:#087063}
.f31Main{
  display:grid;
  grid-template-columns:minmax(280px,.92fr) minmax(0,2.15fr);
  gap:42px;
  padding:34px 0 30px;
  border-bottom:1px solid var(--f31-line);
}
.f31Brand{max-width:460px}
.f31Logo{
  display:flex;
  align-items:center;
  gap:12px;
  width:max-content;
  max-width:100%;
  color:#fff;
  text-decoration:none;
}
.f31Mark{
  width:50px;
  height:50px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--f31-green),var(--f31-green2));
  color:#071019;
  font-size:21px;
  font-weight:950;
  letter-spacing:-.06em;
}
.f31Logo strong{font-size:22px;line-height:1;font-weight:950;letter-spacing:-.035em}
.f31Brand p{
  margin:18px 0 0;
  color:var(--f31-muted);
  font-size:15px;
  line-height:1.75;
  font-weight:720;
}
.f31Signal{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px;
}
.f31Signal a,.f31Signal span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.075);
  border:1px solid var(--f31-line);
  font-size:12px;
  font-weight:900;
}
.f31Cols{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.f31Col{
  min-height:260px;
  padding:18px;
  border-radius:24px;
  background:var(--f31-card);
  border:1px solid var(--f31-line);
}
.f31Col h3{
  margin:0 0 14px;
  color:#fff;
  font-size:15px;
  line-height:1.2;
  font-weight:950;
}
.f31List{
  list-style:none;
  display:grid;
  gap:10px;
  padding:0;
  margin:0;
}
.f31List a{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--f31-muted);
  text-decoration:none;
  font-size:13px;
  line-height:1.35;
  font-weight:780;
  overflow-wrap:anywhere;
}
.f31List a:hover{color:#fff}
.f31Count{
  color:rgba(255,255,255,.42);
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.f31Bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-top:22px;
  color:var(--f31-muted);
  font-size:13px;
  font-weight:750;
}
.f31BottomLinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.f31BottomLinks a{color:var(--f31-muted);text-decoration:none}
.f31BottomLinks a:hover{color:#fff}
.f31Dot{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.32)}
[dir="rtl"] .f31Footer{text-align:right}
[dir="rtl"] .f31Actions{justify-content:flex-start}
@media(max-width:1180px){
  .f31Cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .f31Cta{grid-template-columns:1fr}
  .f31Actions{justify-content:flex-start}
  .f31Main{grid-template-columns:1fr;gap:26px}
  .f31Brand{max-width:none}
}
@media(max-width:640px){
  .f31Footer{max-width:calc(100% - 18px);margin:9px;border-radius:24px}
  .f31Wrap{width:calc(100% - 22px);padding:24px 0 18px}
  .f31Cta{padding:20px;border-radius:22px}
  .f31Cta h2{font-size:30px;line-height:1.08;letter-spacing:-.035em}
  [dir="rtl"] .f31Cta h2{font-size:27px;line-height:1.22}
  .f31Cta p{font-size:13px;line-height:1.5}
  .f31Actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .f31Btn{width:100%;min-height:42px;padding:10px 12px;font-size:12px}
  .f31Main{padding:24px 0 22px}
  .f31Brand p{font-size:13px;line-height:1.55}
  .f31Signal{gap:6px}
  .f31Signal a,.f31Signal span{min-height:30px;padding:6px 9px;font-size:10.5px}
  .f31Cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .f31Col{min-height:auto;padding:13px;border-radius:18px}
  .f31Col h3{font-size:13px;margin-bottom:10px}
  .f31List{gap:8px}
  .f31List a{display:block;font-size:11px;line-height:1.35}
  .f31Count{display:block;margin-top:3px;font-size:10px}
  .f31Bottom{display:grid;gap:10px;font-size:11px}
  .f31BottomLinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .f31Dot{display:none}
}
@media(max-width:380px){
  .f31Cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .f31Col{padding:10px;border-radius:16px}
  .f31Col h3{font-size:12px}
  .f31List a{font-size:10px}
  .f31Actions{grid-template-columns:1fr}
}

/* Phase H4 - Floating CTAs */

/* Floating footer buttons removed: keep mobile menu scroll clean */
.mevFloatCta,
.f31FloatCta{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  body{padding-bottom:0!important;}
}

/* Checkpoint 3: shared accessibility and stability layer */
.mev-skip-link{
  position:fixed;
  inset-block-start:10px;
  inset-inline-start:10px;
  z-index:20000;
  padding:11px 16px;
  border-radius:10px;
  background:#101820;
  color:#fff;
  font-weight:900;
  text-decoration:none;
  transform:translateY(-160%);
  transition:transform .15s ease;
}
.mev-skip-link:focus{transform:translateY(0)}
#main-content{scroll-margin-top:96px}
html{scroll-padding-top:96px}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid #007f6d!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 2px #fff!important;
}
[aria-current="page"]{text-decoration-thickness:2px;text-underline-offset:5px}
.h2h-panel[aria-hidden="true"]{visibility:hidden}
.h2h-mobile-shop-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.h2h-mobile-shop-btn .chev{display:inline-block;transition:transform .18s ease}
img{font-style:normal}
@media (prefers-reduced-motion: reduce){
  .mev-skip-link,
  .h2h-mobile-shop-btn .chev,
  .h2h-shell *,
  .f31Footer *{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
