/* Suppress Liquory theme search popup FOUC */
.site-search-popup{visibility:hidden}
.site-search-popup.active{visibility:visible}

/* HPDC Mega Menu — premium modern header v2 */
:root{
  --hpdc-brand:#1a6b44;
  --hpdc-brand-hover:#155737;
  --hpdc-brand-light:#eaf7f0;
  --hpdc-accent:#3db88a;
  --hpdc-accent2:#26a69a;
  --hpdc-bg:#ffffff;
  --hpdc-fg:#1a2e24;
  --hpdc-muted:#607868;
  --hpdc-border:rgba(26,107,68,.1);
  --hpdc-secondary:#f2f9f5;
  --hpdc-radius:16px;
  --hpdc-shadow:0 20px 60px -16px rgba(10,30,20,.2),0 4px 16px -4px rgba(10,30,20,.07);
  --hpdc-drop-bg:rgba(255,255,255,.98);
  --hpdc-announce-bg:#1a6b44;
  --hpdc-announce-text:#fff;
  --hpdc-nav-bg:#fff;
  --hpdc-tile-bg:#f4fbf7;
  --hpdc-tile-ico-bg:#dcfce7;
}

.hpdc-header *{box-sizing:border-box}
.hpdc-header{
  position:sticky;top:0;z-index:9999;
  background:var(--hpdc-bg);
  font-family:'Inter',system-ui,sans-serif;
  color:var(--hpdc-fg);
  border-bottom:1px solid transparent;
  transition:background .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.hpdc-header.is-scrolled{
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(200%) blur(24px);
  -webkit-backdrop-filter:saturate(200%) blur(24px);
  border-bottom-color:var(--hpdc-border);
  box-shadow:0 2px 24px -8px rgba(10,30,20,.12);
}

/* ── Announcement bar ─────────────────────────────────── */
.hpdc-announce{
  background:var(--hpdc-announce-bg);
  color:var(--hpdc-announce-text);font-size:12px;letter-spacing:.01em;
}
.hpdc-announce-inner{
  max-width:1320px;margin:0 auto;padding:0 24px;
  height:38px;display:flex;align-items:center;justify-content:space-between;
}
.hpdc-announce span{opacity:.92}
.hpdc-announce a{
  color:#fff;text-decoration:none;
  display:inline-flex;align-items:center;gap:6px;
  font-weight:500;opacity:.82;
  transition:opacity .2s;
}
.hpdc-announce a:hover{opacity:1;text-decoration:underline}

/* ── Main bar ─────────────────────────────────────────── */
.hpdc-main{
  max-width:1320px;margin:0 auto;
  padding:0 24px;height:76px;
  display:flex;align-items:center;gap:28px;
}

/* Logo — real image */
.hpdc-logo{display:flex;align-items:center;text-decoration:none;flex-shrink:0}
.hpdc-logo-img{
  height:48px;width:auto;display:block;
  transition:opacity .2s,transform .25s ease;
}
.hpdc-logo:hover .hpdc-logo-img{opacity:.88;transform:scale(1.02)}

/* Search */
.hpdc-search{flex:1;max-width:540px;margin:0 auto;position:relative;display:flex}
.hpdc-search input{
  width:100%;padding:11px 108px 11px 44px;
  border-radius:9999px;
  border:1.5px solid rgba(10,92,63,.12);
  background:var(--hpdc-secondary);
  font-size:13.5px;color:var(--hpdc-fg);
  outline:none;transition:all .25s;
  font-family:inherit;
}
.hpdc-search input::placeholder{color:var(--hpdc-muted)}
.hpdc-search input:focus{
  background:#fff;
  border-color:rgba(10,92,63,.4);
  box-shadow:0 0 0 4px rgba(16,185,129,.12);
}
.hpdc-search svg{
  position:absolute;left:15px;top:50%;transform:translateY(-50%);
  width:16px;height:16px;color:var(--hpdc-muted);pointer-events:none;
}
.hpdc-search button{
  position:absolute;right:5px;top:50%;transform:translateY(-50%);
  background:linear-gradient(135deg,var(--hpdc-accent),var(--hpdc-accent2));
  color:#fff;border:0;padding:8px 18px;
  border-radius:9999px;font-size:12.5px;font-weight:600;
  cursor:pointer;transition:opacity .2s,box-shadow .2s;
  font-family:inherit;letter-spacing:.01em;
  box-shadow:0 4px 12px -4px rgba(16,185,129,.4);
}
.hpdc-search button:hover{opacity:.88;box-shadow:0 6px 18px -4px rgba(16,185,129,.45)}

/* Icons */
.hpdc-icons{display:flex;align-items:center;gap:2px;flex-shrink:0}
.hpdc-icons a,.hpdc-icons button{
  position:relative;padding:10px;border-radius:12px;
  color:var(--hpdc-fg);background:transparent;border:0;
  cursor:pointer;text-decoration:none;
  display:inline-flex;align-items:center;
  font-size:16px;
  transition:background .2s,transform .2s;
}
.hpdc-icons a:hover,.hpdc-icons button:hover{
  background:var(--hpdc-secondary);transform:translateY(-1px);
}
.hpdc-icons .hpdc-badge{
  position:absolute;top:3px;right:3px;
  background:linear-gradient(135deg,var(--hpdc-accent),var(--hpdc-accent2));
  color:#fff;font-size:8.5px;font-weight:700;
  border-radius:9999px;min-width:16px;height:16px;
  display:flex;align-items:center;justify-content:center;
  padding:0 3px;box-shadow:0 0 0 2px #fff;
}
.hpdc-mobile-toggle{display:none}
/* Override .hpdc-icons button styles — use higher specificity */
.hpdc-icons .hpdc-mobile-toggle{
  display:none;
  width:38px;height:38px;
  padding:0;border-radius:10px;
  background:var(--hpdc-brand);
  color:#fff;font-size:19px;
  align-items:center;justify-content:center;
  border:0;cursor:pointer;flex-shrink:0;
  transition:background .2s,transform .15s;
}
.hpdc-icons .hpdc-mobile-toggle:hover{
  background:var(--hpdc-brand-hover);
  transform:scale(1.05);
}
/* SVG icon inside buttons */
.hpdc-ico{
  width:19px;height:19px;
  display:block;flex-shrink:0;
}
/* Account / Sign-in pill button */
.hpdc-icons .hpdc-account-btn{
  gap:7px;
  padding:9px 18px;border-radius:9999px;
  border:1.5px solid var(--hpdc-brand);
  color:var(--hpdc-brand);font-weight:600;
  font-size:13px;background:transparent;
  white-space:nowrap;flex-shrink:0;
  transform:none;
}
.hpdc-icons .hpdc-account-btn:hover{
  background:var(--hpdc-brand);color:#fff;
  transform:none;
}

/* ── Nav bar ──────────────────────────────────────────── */
.hpdc-nav-wrap{
  border-top:1px solid rgba(26,107,68,.07);
  background:var(--hpdc-nav-bg);
  box-shadow:0 2px 12px -6px rgba(10,30,20,.08);
}
.hpdc-nav{
  max-width:1320px;margin:0 auto;
  padding:0 24px;display:flex;align-items:center;justify-content:center;gap:2px;
}
.hpdc-nav-item{position:relative}
/* Invisible bridge fills the gap between button and dropdown so mouseleave
   doesn't fire while the cursor crosses the 10px space */
.hpdc-nav-item.has-dropdown::after{
  content:"";position:absolute;left:-20px;right:-20px;
  top:100%;height:14px;
}
.hpdc-nav-btn{
  display:inline-flex;align-items:center;gap:5px;
  background:none;border:0;cursor:pointer;
  padding:0 14px;height:52px;
  font-size:14.5px;font-weight:600;letter-spacing:-.01em;
  color:var(--hpdc-muted);text-decoration:none;
  transition:color .2s;position:relative;font-family:inherit;
}
.hpdc-nav-btn::before{
  content:"";position:absolute;
  inset:8px 4px;border-radius:10px;
  background:var(--hpdc-brand-light);
  opacity:0;transition:opacity .2s;
  z-index:-1;
}
.hpdc-nav-btn:hover::before,.hpdc-nav-item.is-open .hpdc-nav-btn::before{opacity:1}
.hpdc-nav-btn:hover,.hpdc-nav-item.is-open .hpdc-nav-btn{color:var(--hpdc-brand)}
/* remove the old bottom line — pill bg is the indicator now */
.hpdc-nav-item.is-open .hpdc-nav-btn::after{display:none}

.hpdc-chev{width:12px;height:12px;transition:transform .25s cubic-bezier(.34,1.56,.64,1);color:var(--hpdc-muted);opacity:.6}
.hpdc-nav-item.is-open .hpdc-chev{transform:rotate(180deg)}
.hpdc-divider{width:1px;height:20px;background:rgba(26,107,68,.1);margin:0 4px;flex-shrink:0}

/* CTA */
.hpdc-cta{
  margin-left:auto;
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 22px;border-radius:9999px;
  background:linear-gradient(135deg,var(--hpdc-accent) 0%,var(--hpdc-brand) 100%);
  color:#fff;text-decoration:none;
  font-weight:700;font-size:13.5px;letter-spacing:-.01em;
  box-shadow:0 6px 18px -6px rgba(10,92,63,.35);
  transition:transform .2s,box-shadow .2s,opacity .2s;
  position:relative;overflow:hidden;
}
.hpdc-cta::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.15),transparent);
}
.hpdc-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px -6px rgba(10,92,63,.42);color:#fff;opacity:.95}

/* ── Dropdowns ────────────────────────────────────────── */
.hpdc-dropdown{
  position:absolute;top:calc(100% + 10px);left:0;
  transform:none;
  background:var(--hpdc-drop-bg);
  border:1px solid rgba(255,255,255,.9);
  border-radius:20px;
  box-shadow:var(--hpdc-shadow);
  padding:20px;
  z-index:50;
  display:none;
  transform-origin:top center;
  outline:1px solid rgba(10,92,63,.06);
  outline-offset:-1px;
}
.hpdc-nav-item.is-open .hpdc-dropdown{
  display:block;
  animation:hpdcIn .22s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes hpdcIn{
  from{opacity:0;transform:translateY(-10px)}
  to  {opacity:1;transform:translateY(0)}
}

/* Shop dropdown — visually distinct panel */
.hpdc-dropdown-shop{
  width:auto;left:0;transform:none;
  padding:0;overflow:hidden;
  background:var(--hpdc-drop-bg);
  border:none;
  border-radius:0;
  box-shadow:none;
  outline:none;
}
/* Header strip */
.hpdc-nav-item.is-open .hpdc-dropdown-shop{
  animation:hpdcInLeft .22s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes hpdcInLeft{
  from{opacity:0;transform:translateY(-10px)}
  to  {opacity:1;transform:translateY(0)}
}

.hpdc-shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 12px 10px}
.hpdc-shop-tile{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:12px;
  background:var(--hpdc-tile-bg);
  text-decoration:none;color:var(--hpdc-fg);
  border:1px solid rgba(26,107,68,.07);
  transition:background .18s,transform .18s,border-color .18s,box-shadow .18s;
}
.hpdc-shop-tile:hover{
  background:#eaf7f0;
  border-color:rgba(26,107,68,.22);
  box-shadow:0 4px 16px -4px rgba(26,107,68,.18);
  transform:translateY(-1px)
}
.hpdc-shop-tile .ico{
  width:40px;height:40px;border-radius:12px;
  background:var(--hpdc-tile-ico-bg);color:var(--hpdc-brand);
  display:flex;align-items:center;justify-content:center;
  font-size:18px;flex-shrink:0;
  transition:background .2s,transform .2s,box-shadow .2s;
}
.hpdc-shop-tile:hover .ico{
  background:var(--hpdc-brand);color:#fff;
  transform:scale(1.1) rotate(-5deg);
  box-shadow:0 6px 16px -4px rgba(10,92,63,.4);
}
.hpdc-shop-tile span:last-child{font-size:13.5px;font-weight:500;line-height:1.3}
.hpdc-shop-foot{
  margin:0;padding:13px 18px;border-radius:0;
  background:linear-gradient(90deg,var(--hpdc-brand) 0%,var(--hpdc-accent2) 100%);
  display:flex;align-items:center;justify-content:space-between;
  text-decoration:none;
  transition:filter .2s;
}
.hpdc-shop-foot:hover{filter:brightness(1.08)}
.hpdc-shop-foot strong{display:block;color:#fff;font-size:13.5px;font-weight:700}
.hpdc-shop-foot small{color:rgba(255,255,255,.75);font-size:12px;margin-top:1px;display:block}
.hpdc-shop-foot span{font-size:18px;color:#fff}

/* Mega layout */
.hpdc-mega{display:flex;gap:28px}
.hpdc-mega-cols{display:grid;gap:20px 32px;flex:1;align-content:start}
.hpdc-mega-col h4{
  margin:0 0 12px;
  font-size:11px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;
  color:var(--hpdc-brand);
  padding:5px 12px 5px 11px;
  background:var(--hpdc-brand-light);
  border-left:3px solid var(--hpdc-accent);
  border-radius:0 8px 8px 0;
  display:inline-block;
}
.hpdc-mega-col h4::after{display:none}
.hpdc-mega-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.hpdc-mega-col li a{
  text-decoration:none;color:var(--hpdc-fg);
  font-size:13.5px;font-weight:500;
  display:flex;align-items:center;gap:10px;
  padding:9px 12px;border-radius:10px;
  transition:background .18s,color .18s;
  position:relative;
}
.hpdc-mega-col li a::after{content:none}
.hpdc-mega-col li a:hover{
  background:var(--hpdc-brand-light);
  color:var(--hpdc-brand);
}
.hpdc-menu-ico,.hpdc-mega-col .menu-ico{
  width:30px;height:30px;border-radius:8px;
  background:var(--hpdc-secondary);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;flex-shrink:0;
  transition:background .18s,transform .18s;
}
.hpdc-mega-col li a:hover .menu-ico{
  background:var(--hpdc-brand);
  transform:scale(1.08);
}
.hpdc-mega-col a small{
  display:block;font-weight:400;
  color:var(--hpdc-muted);font-size:12px;margin-top:2px;
  transition:color .18s;
}
.hpdc-mega-col li a:hover small{color:var(--hpdc-accent2)}

/* Featured panel */
.hpdc-mega-featured{
  width:230px;flex-shrink:0;border-radius:18px;padding:22px;
  background:linear-gradient(155deg,#0a5c3f 0%,#0d9488 60%,#14b8a6 100%);
  color:#fff;display:flex;flex-direction:column;justify-content:space-between;
  position:relative;overflow:hidden;
  box-shadow:0 12px 32px -8px rgba(10,92,63,.4);
}
.hpdc-mega-featured::before{
  content:"";position:absolute;
  width:180px;height:180px;border-radius:50%;
  background:rgba(255,255,255,.06);
  top:-60px;right:-60px;pointer-events:none;
}
.hpdc-mega-featured::after{
  content:"";position:absolute;
  width:120px;height:120px;border-radius:50%;
  background:rgba(255,255,255,.05);
  bottom:-40px;left:-30px;pointer-events:none;
}
.hpdc-mega-featured .tag{
  font-size:9.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;
  background:rgba(255,255,255,.18);
  display:inline-block;padding:3px 9px;border-radius:9999px;
  margin-bottom:12px;
}
.hpdc-mega-featured h5{
  margin:0 0 8px;font-size:18px;line-height:1.25;font-weight:700;
}
.hpdc-mega-featured p{margin:0;font-size:12.5px;opacity:.88;line-height:1.5}
.hpdc-mega-featured a{
  margin-top:20px;align-self:flex-start;
  background:rgba(255,255,255,.2);
  backdrop-filter:blur(8px);
  color:#fff;text-decoration:none;
  font-size:12px;font-weight:700;
  padding:9px 16px;border-radius:9999px;
  border:1px solid rgba(255,255,255,.25);
  transition:background .2s,transform .2s;
  position:relative;z-index:1;
}
.hpdc-mega-featured a:hover{background:rgba(255,255,255,.32);transform:translateY(-1px)}

/* ── Mobile panel ─────────────────────────────────────── */
.hpdc-mobile{
  display:block;
  max-height:0;overflow:hidden;
  background:#fff;
  transition:max-height .4s cubic-bezier(.4,0,.2,1);
}
.hpdc-mobile.is-open{
  max-height:88vh;
  max-height:88dvh;
  overflow-y:auto;
  border-top:1px solid var(--hpdc-border);
}
/* Mobile search */
.hpdc-mobile-search{
  position:relative;padding:12px 16px;
  border-bottom:1px solid var(--hpdc-border);
}
.hpdc-mobile-search svg{
  position:absolute;left:28px;top:50%;transform:translateY(-50%);
  width:15px;height:15px;color:var(--hpdc-muted);pointer-events:none;
}
.hpdc-mobile-search input{
  width:100%;padding:10px 16px 10px 40px;
  border-radius:9999px;
  border:1.5px solid rgba(10,92,63,.12);
  background:var(--hpdc-secondary);
  font-size:14px;color:var(--hpdc-fg);
  outline:none;font-family:inherit;
  transition:border-color .25s,box-shadow .25s,background .2s;
  -webkit-appearance:none;
}
.hpdc-mobile-search input:focus{
  border-color:rgba(10,92,63,.38);
  box-shadow:0 0 0 3px rgba(61,184,138,.14);
  background:#fff;
}
/* Accordion sections */
.hpdc-mobile details{border-bottom:1px solid var(--hpdc-border)}
.hpdc-mobile summary{
  padding:15px 16px;font-weight:700;font-size:14.5px;
  cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  list-style:none;color:var(--hpdc-fg);
  user-select:none;-webkit-user-select:none;
  transition:color .15s;
}
.hpdc-mobile summary::-webkit-details-marker{display:none}
.hpdc-mobile summary:hover{color:var(--hpdc-brand)}
.hpdc-mobile summary span{
  width:28px;height:28px;border-radius:8px;
  background:var(--hpdc-secondary);color:var(--hpdc-brand);
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:300;flex-shrink:0;
  transition:transform .28s cubic-bezier(.34,1.56,.64,1),background .2s;
}
.hpdc-mobile details[open] > summary span{
  transform:rotate(45deg);
  background:var(--hpdc-brand-light);
}
/* Links inside section */
.hpdc-mobile-section{
  padding:6px 10px 14px;
  background:var(--hpdc-secondary);
}
.hpdc-mobile a{
  display:flex;align-items:center;gap:10px;
  padding:9px 10px;
  text-decoration:none;color:var(--hpdc-fg);font-size:14px;font-weight:500;
  border-radius:10px;
  transition:background .15s,color .15s;
  -webkit-tap-highlight-color:transparent;
}
.hpdc-mobile a:hover,.hpdc-mobile a:active{
  color:var(--hpdc-brand);background:var(--hpdc-brand-light);
}
.hpdc-mobile .mob-ico{
  width:32px;height:32px;border-radius:8px;
  background:#fff;border:1px solid rgba(26,107,68,.07);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;
  transition:background .15s,transform .15s;
}
.hpdc-mobile a:hover .mob-ico{background:var(--hpdc-brand-light);transform:scale(1.08)}
.hpdc-mobile h4{
  margin:12px 0 4px 10px;font-size:10.5px;
  text-transform:uppercase;letter-spacing:.1em;
  color:var(--hpdc-accent2);font-weight:700;
}
/* Quick plain links (About Us, Contact) */
.hpdc-mobile-quick{
  display:flex;gap:4px;padding:8px 10px;
  border-bottom:1px solid var(--hpdc-border);
}
.hpdc-mobile-quick a{
  flex:1;text-align:center;padding:10px;
  border-radius:10px;font-size:14px;font-weight:600;
  text-decoration:none;color:var(--hpdc-muted);
  background:var(--hpdc-secondary);
  transition:background .15s,color .15s;
}
.hpdc-mobile-quick a:hover{color:var(--hpdc-brand);background:var(--hpdc-brand-light)}
/* Footer actions */
.hpdc-mobile-footer{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
  padding:14px 16px;border-top:1px solid var(--hpdc-border);
}
.hpdc-mobile-footer a{
  display:flex;align-items:center;justify-content:center;
  padding:12px;border-radius:12px;font-weight:600;font-size:14px;
  text-decoration:none;transition:opacity .2s,transform .15s;
  -webkit-tap-highlight-color:transparent;
}
.hpdc-mobile-footer a:first-child{
  background:linear-gradient(135deg,var(--hpdc-accent),var(--hpdc-brand));
  color:#fff;box-shadow:0 6px 18px -4px rgba(26,107,68,.35);
}
.hpdc-mobile-footer a:last-child{
  background:var(--hpdc-secondary);color:var(--hpdc-brand);
  border:1.5px solid var(--hpdc-border);
}
.hpdc-mobile-footer a:hover{opacity:.88;transform:translateY(-1px)}
/* Mobile quick-access bar (wishlist + cart inside panel) */
.hpdc-mobile-quickbar{
  display:flex;gap:8px;
  padding:12px 16px 6px;
}
.hpdc-mobile-quickbar a{
  flex:1;display:flex;align-items:center;justify-content:center;
  gap:6px;padding:10px 14px;border-radius:12px;
  background:var(--hpdc-secondary);color:var(--hpdc-fg);
  font-size:14px;font-weight:600;text-decoration:none;
  transition:background .2s,color .2s;
}
.hpdc-mobile-quickbar a:hover{background:var(--hpdc-brand-light);color:var(--hpdc-brand)}
.hpdc-mobile-quickbar .hpdc-badge{
  position:relative;top:auto;right:auto;transform:none;
  background:var(--hpdc-brand);color:#fff;
}

/* ── Responsive breakpoints ──────────────────────────── */

/* ≤1024px: Tablet & mobile — hide desktop nav + search, show hamburger.
   Logo gets flex:1 so it fills the space cleanly on the left. */
@media (max-width:1024px){
  .hpdc-nav-wrap{display:none}
  .hpdc-icons .hpdc-mobile-toggle{display:inline-flex}
  .hpdc-icons a{display:none}
  .hpdc-search{display:none}
  .hpdc-logo{flex:1}
  .hpdc-main{gap:12px}
}
/* ≤767px: Mobile — compact bar heights, smaller logo */
@media (max-width:767px){
  .hpdc-announce-inner{padding:0 16px;justify-content:center}
  .hpdc-announce a{display:none}
  .hpdc-main{padding:0 16px;height:64px}
  .hpdc-logo-img{height:40px}
  .hpdc-icons{gap:0}
  .hpdc-icons a,.hpdc-icons button{padding:8px;font-size:15px}
  .hpdc-badge{min-width:14px;height:14px;font-size:8px}
}
/* ≤430px: Small phones */
@media (max-width:430px){
  .hpdc-announce{display:none}
  .hpdc-main{height:58px}
  .hpdc-logo-img{height:36px}
  .hpdc-icons a[aria-label="Sign in"]{display:none}
}
/* ≤360px: Very small */
@media (max-width:360px){
  .hpdc-main{padding:0 12px}
  .hpdc-logo-img{height:30px}
  .hpdc-icons a,.hpdc-icons button{padding:6px}
}
