/* Hamada Pro UI 2.0 (NOW Foods build) — مولَّد من Pro UI 2.0 + امتداد لفئات NOW (hnc / hnw / hnx) */
:root{--hp-ink:#12263A; --hp-mute:#66768A; --hp-line:#E6EBF1; --hp-bg:#F3F5F8; --hp-white:#fff;
  --hp-r:22px;              
  --hpc-h:204px;            
  --hpc-w:min(86vw,340px);  
  --hp-ease:cubic-bezier(.2,.8,.2,1);}
:root:root [data-brand="vichy"],:root:root .hvichy-home-wrap,:root:root .hvx-coll,:root:root #hvichy-home-sheet,:root:root .hnx-coll{--hp-a:#A3283F; --hp-a1:#7E1B2E; --hp-a2:#C8324C;
  --hpc-g:linear-gradient(135deg,#5A1325 0%,#9E2A43 60%,#C45A72 100%)}
:root:root [data-brand="lrp"],:root:root .hlrp-home-wrap,:root:root .hlx-coll,:root:root #hlrp-home-sheet{--hp-a:#0A62C9; --hp-a1:#08408A; --hp-a2:#1F86E6;
  --hpc-g:linear-gradient(135deg,#07306E 0%,#0A5BC0 60%,#3B9BF2 100%)}
:root:root [data-brand="manuka"],:root:root .hmanuka-home-wrap,:root:root .hmanuka-wrap,:root:root #hmanuka-home-sheet{--hp-a:#C2680A; --hp-a1:#B45309; --hp-a2:#F59E0B;
  --hpc-g:linear-gradient(135deg,#92330F 0%,#D97706 58%,#FBBF24 100%)}
:root:root [data-brand="eucerin"],:root:root .eoc-wrap,:root:root .eoc-sheet{--hp-a:#0B3A8C; --hp-a1:#0B2A66; --hp-a2:#2F78DE;
  --hpc-g:linear-gradient(135deg,#061C4D 0%,#0E47A8 60%,#4F94E8 100%)}
:root:root .hpi{display:inline-flex;width:1.18em;height:1.18em;vertical-align:-.22em;flex:none;line-height:1}
:root:root .hpi svg{width:100%;height:100%;display:block}
:root:root .hsc-slider,:root:root .eoc-slider{border-radius:var(--hp-r)!important;box-shadow:0 12px 28px rgba(15,40,80,.2)!important;background:transparent!important;margin:6px 0 12px!important}
:root:root .hpc{position:relative;box-sizing:border-box;display:flex!important;flex-direction:column;justify-content:space-between;align-items:stretch!important;gap:8px;
  height:var(--hpc-h)!important;min-height:var(--hpc-h)!important;max-height:var(--hpc-h)!important;
  padding:14px 14px 26px!important;border-radius:var(--hp-r)!important;overflow:hidden;isolation:isolate;
  color:#fff;text-align:right;background:var(--hpc-g)!important;-webkit-tap-highlight-color:transparent;
  transition:opacity .5s ease,visibility .5s,transform .18s var(--hp-ease)}
:root:root .hpc:active{transform:scale(.985)}
:root:root .hpc:before{content:"";position:absolute;inset:0;width:auto;height:auto;border-radius:0;z-index:-1;
  background:radial-gradient(120% 80% at 100% 0,rgba(255,255,255,.22),transparent 60%),linear-gradient(180deg,transparent 52%,rgba(0,0,0,.18))}
:root:root .hpc:after{display:none}
:root:root .hpc-plate{align-self:stretch;display:flex;align-items:center;justify-content:center;gap:14px;height:52px;box-sizing:border-box;padding:0 15px;
  border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.24)}
:root:root .hpc-wm{display:block;height:28px;width:auto;max-width:158px;object-fit:contain;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
:root:root .hpc-sep{flex:none;width:1.5px;height:24px;background:var(--hp-line)}
:root:root .hpc-ar{flex:none;font-size:13.5px;font-weight:900;color:var(--hp-a);white-space:nowrap;line-height:1}
:root:root .hpc-main{min-width:0;text-align:right;padding-inline:2px}
:root:root .hpc-title{font-size:clamp(21px,6vw,25px);font-weight:900;line-height:1.2;color:#fff;margin:0;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 3px rgba(0,0,0,.28)}
:root:root .hpc-sub{margin:3px 0 0;font-size:11.5px;font-weight:600;line-height:1.4;color:rgba(255,255,255,.86);
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:root:root .hpc-actions{display:flex;align-items:center;gap:8px}
:root:root .hpc-scan{flex:1;min-width:0;display:flex;align-items:center;gap:9px;height:44px;box-sizing:border-box;margin:0;padding:0 6px 0 12px;
  border-radius:99px;border:1.5px solid rgba(255,255,255,.66);background:rgba(255,255,255,.16);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-family:inherit;text-align:right;cursor:pointer;
  transition:background .18s,transform .15s var(--hp-ease)}
:root:root .hpc-scan:active{transform:scale(.97);background:rgba(255,255,255,.3)}
:root:root .hpc-scan-ic{flex:none;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--hp-a);display:grid;place-items:center;box-shadow:0 3px 8px rgba(0,0,0,.2)}
:root:root .hpc-scan-ic svg{width:18px;height:18px}
:root:root .hpc-scan-tx{flex:1;min-width:0;display:block}
:root:root .hpc-scan-tx b{display:block;font-size:12.5px;font-weight:800;line-height:1.2;color:#fff}
:root:root .hpc-scan-tx small{display:block;font-size:10.5px;font-weight:600;line-height:1.25;color:rgba(255,255,255,.9);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:root:root .hpc-go{flex:none;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--hp-a);display:grid;place-items:center;box-shadow:0 6px 14px rgba(0,0,0,.22)}
:root:root .hpc-go svg{width:22px;height:22px}
:root:root .hsc-dots,:root:root .eoc-dots{bottom:9px}
:root:root .hsc-dots i,:root:root .eoc-dots i{height:6px;width:6px}
:root:root .hsc-dots i.on,:root:root .eoc-dots i.on{width:20px}
:root:root .hpro-strip{display:flex!important;flex-wrap:nowrap!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;
  align-items:stretch!important;padding:4px 14px 14px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
:root:root .hpro-strip::-webkit-scrollbar{display:none}
:root:root .hpro-strip .hpro-card{flex:0 0 var(--hpc-w)!important;width:var(--hpc-w)!important;max-width:none!important;min-width:0!important;margin:0!important;
  position:relative!important;opacity:1!important;visibility:visible!important;scroll-snap-align:center}
:root:root .hsc-sheet.hsc-open .hsc-panel,:root:root .eoc-sheet.eoc-on .eoc-panel{animation:hpUp .34s var(--hp-ease)}

@keyframes hpUp{from{transform:translateY(48px);opacity:.3}to{transform:none;opacity:1}}:root:root .hsc-bd,:root:root .eoc-bd{background:rgba(10,20,40,.55)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
:root:root .hsc-panel,:root:root .eoc-panel{height:92vh;height:92dvh;max-height:92dvh!important;border-radius:28px 28px 0 0!important;background:var(--hp-bg)!important;
  box-shadow:0 -14px 44px rgba(10,20,40,.3)!important;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0)}
:root:root .hsc-panel:before,:root:root .eoc-panel:before{content:"";display:block;flex:none;width:44px;height:5px;border-radius:5px;background:#CBD3DE;margin:8px auto 0}
:root:root .hsc-ph,:root:root .eoc-ph{background:#fff!important;border-bottom:1px solid var(--hp-line)!important;padding:10px 14px!important;gap:8px;min-height:56px;box-sizing:border-box}
:root:root .hsc-ph img{height:30px!important;width:auto!important;max-width:46%;object-fit:contain;background:none!important;border-radius:0!important}
:root:root .hsc-x,:root:root .eoc-x{width:40px!important;height:40px!important;border-radius:14px!important;background:var(--hp-bg)!important;color:var(--hp-ink)!important;
  display:grid;place-items:center;font-size:24px!important;line-height:1;padding:0!important;border:1px solid var(--hp-line)!important;transition:transform .15s var(--hp-ease)}
:root:root .hsc-x:active,:root:root .eoc-x:active{transform:scale(.92)}
:root:root .hsc-body{padding:0 0 28px!important;background:var(--hp-bg)}
:root:root .hsc-sheet .hvc-top,:root:root .hsc-sheet .hlc-top,:root:root .hsc-sheet .hnc-top{display:none!important}
:root:root .eoc-ph .eoc-ph-t{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:900;letter-spacing:.4px}
:root:root .eoc-ph .eoc-ph-t img{width:34px;height:34px;border-radius:10px;object-fit:contain;background:#fff;box-shadow:0 2px 8px rgba(15,40,80,.15)}
:root:root .hv-cartbtn,:root:root .hl-cartbtn,:root:root .hmanuka-cart-btn,:root:root .hnw-cartbtn{position:relative;display:inline-grid!important;place-items:center;width:42px;height:42px;padding:0!important;border:0!important;border-radius:14px!important;
  background:color-mix(in srgb,var(--hp-a,#0A62C9) 12%,#fff)!important;color:var(--hp-a,#0A62C9)!important;font-size:21px!important;cursor:pointer}
:root:root .hmanuka-cart-btn{width:auto;grid-auto-flow:column;gap:8px;padding:0 14px!important;font-size:14px!important;font-weight:800}
:root:root .hv-cnt,:root:root .hl-cnt,:root:root .hmanuka-count,:root:root .hnw-cnt{position:absolute;top:-5px;inset-inline-start:-5px;min-width:19px;height:19px;padding:0 5px;box-sizing:border-box;border-radius:99px;
  background:#E5334A!important;color:#fff!important;font:800 11px/19px inherit;font-style:normal;text-align:center;box-shadow:0 0 0 2px #fff}
:root:root .hmanuka-cart-btn .hmanuka-count{position:static;box-shadow:none}
:root:root .hvc-bar,:root:root .hlc-bar,:root:root .hnc-bar{position:sticky;top:0;z-index:6;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--hp-line);padding:10px 12px 8px!important;box-shadow:0 6px 14px rgba(15,40,80,.04)}
:root:root .hvc-tools,:root:root .hlc-tools,:root:root .hnc-tools{display:flex;gap:8px;align-items:center;margin-bottom:8px}
:root:root .hvc-search,:root:root .hlc-search,:root:root .hmanuka-search,:root:root .hnc-search{flex:1;min-width:0;height:44px;box-sizing:border-box;border:1.5px solid var(--hp-line)!important;border-radius:14px!important;background-color:var(--hp-bg)!important;
  padding:0 42px 0 14px!important;font:600 13.5px/1 inherit;color:var(--hp-ink);outline:0;box-shadow:none!important;
  background-repeat:no-repeat;background-position:right 14px center;background-size:18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366768A' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}
:root:root .hvc-search:focus,:root:root .hlc-search:focus,:root:root .hmanuka-search:focus,:root:root .hnc-search:focus{border-color:var(--hp-a,#0A62C9)!important;background-color:#fff!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--hp-a,#0A62C9) 14%,transparent)!important}
:root:root .hvc-scan,:root:root .hlc-scan,:root:root .hnc-scan{flex:none;display:inline-flex!important;align-items:center;gap:6px;height:44px;padding:0 14px!important;border:0!important;border-radius:99px!important;
  background:linear-gradient(135deg,var(--hp-a1),var(--hp-a2))!important;color:#fff!important;font-size:13px!important;font-weight:800!important;white-space:nowrap;cursor:pointer;box-shadow:0 6px 14px rgba(15,40,80,.18)!important}
:root:root .hvc-chips,:root:root .hlc-chips,:root:root .hmanuka-cats,:root:root .hmanuka-strength,:root:root .eoc-chips,:root:root .hnc-chips{display:flex!important;flex-wrap:nowrap!important;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 0 4px;margin:0}
:root:root .hvc-chips::-webkit-scrollbar,:root:root .hlc-chips::-webkit-scrollbar,:root:root .hmanuka-cats::-webkit-scrollbar,:root:root .hmanuka-strength::-webkit-scrollbar,:root:root .eoc-chips::-webkit-scrollbar,:root:root .hnc-chips::-webkit-scrollbar{display:none}
:root:root .hvc-chip,:root:root .hlc-chip,:root:root .hmanuka-cat,:root:root .hmanuka-str,:root:root .hnc-chip{flex:none;display:inline-flex!important;align-items:center;gap:6px;height:36px;padding:0 13px!important;border:1.5px solid var(--hp-line)!important;border-radius:12px!important;
  background:#fff!important;color:var(--hp-ink)!important;font-size:13px!important;font-weight:700!important;white-space:nowrap;cursor:pointer;line-height:1;transition:all .18s var(--hp-ease)}
:root:root .hvc-chip em,:root:root .hlc-chip em,:root:root .hnc-chip em{font-style:normal;font-size:11px;font-weight:800;background:var(--hp-bg);color:var(--hp-mute);border-radius:99px;padding:3px 7px}
:root:root .hvc-chip.on,:root:root .hlc-chip.on,:root:root .hmanuka-cat.on,:root:root .hmanuka-cat.active,:root:root .hmanuka-str.on,:root:root .hmanuka-str.active,:root:root .hnc-chip.on{background:var(--c,var(--hp-a,#12263A))!important;border-color:var(--c,var(--hp-a,#12263A))!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,40,80,.16)}
:root:root .hvc-chip.on em,:root:root .hlc-chip.on em,:root:root .hnc-chip.on em{background:rgba(255,255,255,.25);color:#fff}
:root:root .hmanuka-str-label{flex:none;align-self:center;font-size:12px;color:var(--hp-mute);font-weight:700}
:root:root .hvc-grid,:root:root .hlc-grid,:root:root .hmanuka-grid,:root:root .hnc-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:12px!important}

@media(min-width:640px){:root:root .hvc-grid,:root:root .hlc-grid,:root:root .hmanuka-grid,:root:root .hnc-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important}
}:root:root .hvc-h,:root:root .hlc-h,:root:root .hnc-h{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:12px 2px 0!important;padding:0!important;font-size:15px!important;font-weight:800;color:var(--hp-ink)!important;text-align:right;border:0!important}
:root:root .hvc-h:before,:root:root .hlc-h:before,:root:root .hnc-h:before{content:"";flex:none;width:4px;height:18px;border-radius:4px;background:var(--c,var(--hp-a))}
:root:root .hvc-card,:root:root .hlc-card,:root:root .hmanuka-card,:root:root .hnc-card{position:relative;display:flex!important;flex-direction:column;overflow:hidden;background:#fff!important;border:1px solid var(--hp-line)!important;border-radius:18px!important;
  box-shadow:0 4px 14px rgba(15,40,80,.06)!important;transition:transform .18s var(--hp-ease),box-shadow .18s}
:root:root .hvc-card:active,:root:root .hlc-card:active,:root:root .hmanuka-card:active,:root:root .hnc-card:active{transform:scale(.985)}
:root:root .hvc-img,:root:root .hlc-img,:root:root .hmanuka-img,:root:root .hnc-img{position:relative;display:grid!important;place-items:center;aspect-ratio:1/1;background:#fff!important;padding:12px!important;overflow:hidden}
:root:root .hvc-img img,:root:root .hlc-img img,:root:root .hmanuka-img img,:root:root .hnc-img img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0!important;padding:0!important;margin:0!important;background:none!important;display:block!important}
:root:root .hvc-in,:root:root .hlc-in,:root:root .hmanuka-body,:root:root .hnc-in{display:flex;flex-direction:column;flex:1;gap:5px;padding:2px 11px 11px!important}
:root:root .hvc-line,:root:root .hlc-line,:root:root .hnc-line{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;letter-spacing:.2px;color:var(--c,var(--hp-a));text-transform:uppercase}
:root:root .hvc-line i,:root:root .hlc-line i,:root:root .hnc-line i{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
:root:root .hvc-nm,:root:root .hlc-nm,:root:root .hnc-nm{font-size:13px!important;font-weight:800!important;line-height:1.4!important;color:var(--hp-ink)!important;text-decoration:none!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
:root:root .hvc-ds,:root:root .hlc-ds,:root:root .hmanuka-desc,:root:root .hnc-ds{font-size:11.5px!important;line-height:1.5;color:var(--hp-mute)!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:root:root .hvc-pr,:root:root .hlc-pr,:root:root .hmanuka-pr,:root:root .hnc-pr{margin-top:auto;padding-top:4px}
:root:root .hvc-pr b,:root:root .hlc-pr b,:root:root .hmanuka-pr b,:root:root .hnc-pr b{font-size:16px!important;font-weight:900!important;color:var(--hp-a)!important}
:root:root .hmanuka-badge{position:absolute;top:10px;inset-inline-start:10px;background:var(--hp-a)!important;color:#fff!important;font-size:10.5px;font-weight:800;padding:4px 9px;border-radius:99px;z-index:2}
:root:root .hv-cartctl,:root:root .hl-cartctl,:root:root .hmanuka-ctl,:root:root .hnw-cartctl{margin-top:4px}
:root:root .hv-add,:root:root .hl-add,:root:root .hmanuka-add,:root:root .hnw-add{display:flex!important;align-items:center;justify-content:center;gap:7px;width:100%;height:42px;padding:0 10px!important;border:0!important;border-radius:13px!important;
  background:linear-gradient(135deg,var(--hp-a1),var(--hp-a2))!important;color:#fff!important;font-size:13px!important;font-weight:800!important;cursor:pointer;
  box-shadow:0 6px 14px color-mix(in srgb,var(--hp-a) 28%,transparent);transition:transform .15s var(--hp-ease)}
:root:root .hv-add:active,:root:root .hl-add:active,:root:root .hmanuka-add:active,:root:root .hnw-add:active{transform:scale(.96)}
:root:root .hv-add:before,:root:root .hl-add:before,:root:root .hmanuka-add:before,:root:root .hnw-add:before{content:"";width:17px;height:17px;flex:none;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E")}
:root:root .hvc-empty,:root:root .hlc-empty,:root:root .hnc-empty{text-align:center;padding:30px 16px;color:var(--hp-mute)}
:root:root .eoc-tabs{background:#fff!important;gap:6px;padding:6px 12px!important;border-bottom:1px solid var(--hp-line)!important}
:root:root .eoc-tab{border-radius:12px!important;padding:10px 8px!important}
:root:root .eoc-tab.on{background:color-mix(in srgb,var(--hp-a) 10%,#fff);color:var(--hp-a)!important}
:root:root .eoc-tab.on:after{display:none}
:root:root .eoc-chip{height:36px;display:inline-flex;align-items:center;border-radius:12px!important}
:root:root .eoc-chip.on{background:var(--hp-a)!important;border-color:var(--hp-a)!important}
:root:root .hsc-sheet button,:root:root .eoc-sheet button{touch-action:manipulation}
:root:root .hsc-sheet :focus-visible,:root:root .eoc-sheet :focus-visible,:root:root .hpc :focus-visible{outline:3px solid color-mix(in srgb,var(--hp-a,#0A62C9) 45%,transparent);outline-offset:2px}

@media (prefers-reduced-motion:reduce){:root:root *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
@media (max-width:380px){:root{--hpc-h:198px}
:root:root .hpc-wm{height:25px;max-width:130px}
:root:root .hpc-scan-tx small{font-size:10px}
}
:root:root [data-brand="now"],:root:root .hnow-home-wrap,:root:root .hnx-coll,:root:root #hnow-home-sheet{--hp-a:#3B2A7A; --hp-a1:#2B2570; --hp-a2:#5A44B5;
  --hpc-g:linear-gradient(135deg,#1B1655 0%,#3B2A7A 58%,#6A52C4 100%)}
/* NOW: الفتح كصفحة كاملة (بدل نافذة سفلية) */
:root:root #hnow-home-sheet .hsc-panel{height:100vh;height:100dvh;max-height:100dvh!important;border-radius:0!important;padding-top:env(safe-area-inset-top,0)}
:root:root #hnow-home-sheet .hsc-panel:before{display:none}
:root:root #hnow-home-sheet .hsc-ph{position:sticky;top:0;z-index:7}
:root:root #hnow-home-sheet .hsc-ph img{height:32px!important;max-width:56%}
:root:root #hnow-home-sheet.hsc-open .hsc-panel{animation:hpFull .3s var(--hp-ease)}
@keyframes hpFull{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
:root:root .hsc-sheet .hnc-top{display:none!important}
