/* PSDFA Header v3 — isolated, theme-owned header system */
.psdfa-h3-enabled.psdfa-h3-lock { overflow: hidden; }

.psdfa-h3-topbar {
  background: var(--psdfa-h3-topbar-bg, #111318);
  color: var(--psdfa-h3-topbar-color, #fff);
  font-size: 11px;
}
.psdfa-h3-topbar__inner { display:flex; align-items:center; justify-content:center; min-height:34px; text-align:center; }

.psdfa-h3 {
  position: relative;
  z-index: 300;
  width: 100%;
  background: var(--psdfa-h3-bg, #fff);
  color: var(--psdfa-h3-text, #202428);
  border-bottom: 0;
  box-shadow: none;
}

.psdfa-h3.is-sticky { position: sticky; top: 0; }
.admin-bar .psdfa-h3.is-sticky { top: 32px; }
.psdfa-h3.has-shadow { box-shadow: 0 5px 20px rgba(15,20,28,.055); }

.psdfa-h3-main {
  border-bottom: 1px solid var(--psdfa-h3-border, #eceef0);
  background: var(--psdfa-h3-bg, #fff);
}
.psdfa-h3-main__inner {
  display: grid;
  grid-template-columns: minmax(120px, var(--psdfa-h3-logo-width, 132px)) minmax(300px, var(--psdfa-h3-search-width, 620px)) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: var(--psdfa-h3-main-height, 76px);
}
.psdfa-h3-main__inner.has-no-search { grid-template-columns:minmax(120px,var(--psdfa-h3-logo-width,132px)) minmax(0,1fr); }
.psdfa-h3-main__inner.has-no-actions { grid-template-columns:minmax(120px,var(--psdfa-h3-logo-width,132px)) minmax(300px,var(--psdfa-h3-search-width,620px)); }
.psdfa-h3-main__inner.has-no-search.has-no-actions { grid-template-columns:1fr; }
.psdfa-h3-brand { display:flex; align-items:center; align-self:stretch; min-width:0; min-height:100%; }
.psdfa-h3-brand__link { display:flex; align-items:center; align-self:stretch; max-width:100%; min-height:100%; line-height:0; text-decoration:none; }
.psdfa-h3-brand__image { display:block; width:var(--psdfa-h3-logo-width,132px); max-width:100%; height:auto; max-height:calc(var(--psdfa-h3-main-height,76px) - 20px); margin-block:auto; object-fit:contain; object-position:right center; transform:translateY(1px); }
.psdfa-h3-brand__text { color:var(--psdfa-h3-text,#111318); font-size:22px; font-weight:950; }

.psdfa-h3-search-slot { min-width:0; }
.psdfa-h3-search {
  position: relative;
  display:grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items:center;
  width:100%;
  min-height:48px;
  border:1px solid var(--psdfa-h3-search-border,#dfe3e7);
  border-radius:var(--psdfa-h3-search-radius,12px);
  background:var(--psdfa-h3-search-bg,#f8f9fa);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.psdfa-h3-search:focus-within { border-color:#c7cbd0; background:#fff; box-shadow:0 0 0 3px rgba(255,204,0,.13); }
.psdfa-h3-search__icon { display:grid; place-items:center; color:#7d8389; }
.psdfa-h3-search__icon svg { width:19px; height:19px; }
.psdfa-h3-search input[type="search"] {
  width:100%; min-width:0; height:46px; padding:0 4px; border:0; outline:0; background:transparent; box-shadow:none;
  color:var(--psdfa-h3-text,#202428); font-family:inherit; font-size:13px;
}
.psdfa-h3-search input[type="search"]::placeholder { color:#9499a0; }
.psdfa-h3-search__submit {
  align-self:stretch; min-width:82px; margin:4px; padding:0 18px; border:1px solid #111318; border-radius:9px;
  background:var(--psdfa-primary,#fc0); color:#111318; font-family:inherit; font-size:12.5px; font-weight:900; cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.psdfa-h3-search__submit:hover { background:var(--psdfa-primary-hover,#e6b800); transform:translateY(-1px); }
.psdfa-h3-search .psdfa-smart-search-panel { top:calc(100% + 10px); min-width:min(720px,calc(100vw - 28px)); }

.psdfa-h3-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; }
.psdfa-h3-dropdown { position:relative; }
.psdfa-h3-action {
  display:grid; grid-template-columns:42px minmax(0,auto) 15px; align-items:center; gap:9px; min-height:54px; padding:5px 8px;
  border-radius:12px; color:var(--psdfa-h3-text,#202428); text-decoration:none; transition:background .18s ease;
}
.psdfa-h3-action:hover,.psdfa-h3-dropdown.is-open>.psdfa-h3-action { background:var(--psdfa-h3-action-bg,#f7f8f9); }
.psdfa-h3-action__icon { position:relative; display:grid; place-items:center; width:42px; height:42px; border:1px solid #eceef0; border-radius:12px; background:#f8f9fa; }
.psdfa-h3-action__icon svg { width:20px; height:20px; }
.psdfa-h3-action__icon em,.psdfa-h3-mobile-cart em,.psdfa-h3-drawer__footer em {
  position:absolute; top:-6px; left:-6px; display:grid; place-items:center; min-width:19px; height:19px; padding:0 4px; border:2px solid #fff;
  border-radius:999px; background:var(--psdfa-primary,#fc0); color:#111318; font-size:9px; font-style:normal; font-weight:950; line-height:1;
}
.psdfa-h3-action__copy { display:flex; flex-direction:column; min-width:0; line-height:1.45; white-space:nowrap; }
.psdfa-h3-action__copy small { color:var(--psdfa-h3-muted,#8c9197); font-size:9.5px; }
.psdfa-h3-action__copy strong { color:var(--psdfa-h3-text,#202428); font-size:11.5px; font-weight:900; }
.psdfa-h3-action__chevron { display:grid; place-items:center; color:#a1a5aa; transform:rotate(90deg); transition:transform .18s ease; }
.psdfa-h3-action__chevron svg { width:14px; height:14px; }
.psdfa-h3-dropdown.is-open .psdfa-h3-action__chevron { transform:rotate(270deg); }

.psdfa-h3-dropdown-panel {
  position:absolute; top:calc(100% + 10px); inset-inline-end:0; z-index:360; width:320px; overflow:hidden;
  border:1px solid var(--psdfa-h3-border,#e7eaed); border-radius:var(--psdfa-h3-dropdown-radius,16px); background:#fff;
  box-shadow:0 24px 65px rgba(15,20,28,.16); opacity:0; visibility:hidden; transform:translateY(8px); pointer-events:none;
  transition:opacity .16s ease,visibility .16s ease,transform .16s ease;
}
.psdfa-h3-dropdown.is-open>.psdfa-h3-dropdown-panel,.psdfa-h3-dropdown:focus-within>.psdfa-h3-dropdown-panel { opacity:1; visibility:visible; transform:none; pointer-events:auto; }

/* Account dropdown */
.psdfa-h3-account-panel { padding:10px; }
.psdfa-h3-account-user { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:center; padding:6px 6px 12px; border-bottom:1px solid #eff1f3; }
.psdfa-h3-account-avatar { width:48px; height:48px; overflow:hidden; border-radius:13px; background:#f2f3f4; }
.psdfa-h3-account-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.psdfa-h3-account-user__copy { display:grid; min-width:0; gap:1px; }
.psdfa-h3-account-user__copy small { color:#9a9fa5; font-size:9px; }
.psdfa-h3-account-user__copy strong { overflow:hidden; color:#252a2f; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.psdfa-h3-account-user__copy span { overflow:hidden; direction:ltr; color:#999ea4; font-size:9px; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.psdfa-h3-account-menu { display:grid; gap:2px; padding-top:8px; }
.psdfa-h3-account-menu a { display:grid; grid-template-columns:34px minmax(0,1fr) 16px; gap:8px; align-items:center; min-height:42px; padding:4px 6px; border-radius:10px; color:#444a50; font-size:10.5px; font-weight:800; text-decoration:none; }
.psdfa-h3-account-menu a:hover { background:#f6f7f8; color:#111318; }
.psdfa-h3-account-menu a.is-logout { margin-top:4px; border-top:1px solid #f0f1f2; border-radius:0 0 10px 10px; color:#a63d3d; }
.psdfa-h3-account-menu__icon { display:grid; place-items:center; width:34px; height:34px; border-radius:9px; background:#f1f2f4; color:#666c72; }
.psdfa-h3-account-menu__icon svg,.psdfa-h3-account-menu__arrow svg { width:15px; height:15px; }
.psdfa-h3-account-menu__arrow { display:grid; place-items:center; color:#b0b4b8; }
.psdfa-h3-account-guest { display:grid; grid-template-columns:44px minmax(0,1fr); gap:10px; align-items:start; padding:6px; }
.psdfa-h3-account-guest__icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:#fff7cf; }
.psdfa-h3-account-guest__icon svg { width:19px; height:19px; }
.psdfa-h3-account-guest strong { display:block; margin:2px 0 4px; font-size:12px; }
.psdfa-h3-account-guest p { margin:0; color:#858b91; font-size:9px; line-height:1.9; }
.psdfa-h3-account-login { grid-column:1/-1; display:flex; align-items:center; justify-content:center; min-height:40px; margin-top:5px; border-radius:10px; background:#111318; color:#fff; font-size:10.5px; font-weight:900; text-decoration:none; }

/* Mini cart */
.psdfa-h3-cart-panel { width:380px; }
.psdfa-h3-mini-cart { background:#fff; }
.psdfa-h3-mini-cart__head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 15px; border-bottom:1px solid #eff1f2; }
.psdfa-h3-mini-cart__head>div { display:grid; gap:1px; }
.psdfa-h3-mini-cart__head small { color:#969ba1; font-size:9px; }
.psdfa-h3-mini-cart__head strong { color:#252a2f; font-size:12px; }
.psdfa-h3-mini-cart__head>a { color:#725d00; font-size:9.5px; font-weight:900; text-decoration:none; }
.psdfa-h3-mini-cart__body { padding:5px 14px 14px; }
.psdfa-h3-mini-cart .woocommerce-mini-cart { display:grid; gap:0; max-height:330px; margin:0; padding:0; overflow:auto; overscroll-behavior:contain; list-style:none; }
.psdfa-h3-mini-cart .woocommerce-mini-cart-item { position:relative; display:grid; grid-template-columns:58px minmax(0,1fr); gap:10px; min-height:78px; margin:0; padding:11px 24px 11px 0; border-bottom:1px solid #f0f1f2; font-size:10px; }
.psdfa-h3-mini-cart .woocommerce-mini-cart-item>a:not(.remove) { display:grid; grid-template-columns:58px minmax(0,1fr); grid-column:1/-1; gap:10px; align-items:center; color:#31363b; font-weight:850; line-height:1.75; text-decoration:none; }
.psdfa-h3-mini-cart .woocommerce-mini-cart-item img { width:58px; height:46px; margin:0; border-radius:9px; object-fit:cover; }
.psdfa-h3-mini-cart .woocommerce-mini-cart-item .quantity { grid-column:2; color:#81868c; font-size:9px; }
.psdfa-h3-mini-cart .remove_from_cart_button { position:absolute; top:50%; right:0; display:grid; place-items:center; width:20px; height:20px; border-radius:6px; background:#fff1f1; color:#aa3b3b; font-size:14px; line-height:1; text-decoration:none; transform:translateY(-50%); }
.psdfa-h3-mini-cart .woocommerce-mini-cart__total { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0; padding:14px 0 9px; color:#656b71; font-size:10px; }
.psdfa-h3-mini-cart .woocommerce-mini-cart__total strong { color:#252a2f; }
.psdfa-h3-mini-cart .woocommerce-mini-cart__total .woocommerce-Price-amount { color:#111318; font-size:12.5px; font-weight:950; }
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; }
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons .button { display:flex; align-items:center; justify-content:center; min-height:40px; margin:0; padding:0 10px; border:1px solid #dfe2e5; border-radius:10px; background:#fff; color:#34393f; font-size:10px; font-weight:900; text-decoration:none; }
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons .checkout { border-color:#111318; background:#111318; color:#fff; }
.psdfa-h3-mini-cart .woocommerce-mini-cart__empty-message { margin:0; padding:30px 10px 22px; color:#8a9096; font-size:10px; text-align:center; }

/* Navigation */
.psdfa-h3-nav {
  position:relative; z-index:320; border-bottom:1px solid var(--psdfa-h3-border,#eceef0); background:var(--psdfa-h3-nav-bg,#fff);
  transition:max-height .2s ease,opacity .16s ease,transform .2s ease;
}
.psdfa-h3-nav__inner { position:relative; display:grid; grid-template-columns:minmax(190px,var(--psdfa-h3-category-trigger-width,220px)) minmax(0,1fr) auto; gap:20px; align-items:center; min-height:var(--psdfa-h3-nav-height,50px); }
.psdfa-h3-nav__inner.has-no-category { grid-template-columns:minmax(0,1fr) auto; }
.psdfa-h3-nav__inner.has-no-quick { grid-template-columns:minmax(190px,var(--psdfa-h3-category-trigger-width,220px)) minmax(0,1fr); }
.psdfa-h3-nav__inner.has-no-primary { grid-template-columns:minmax(190px,var(--psdfa-h3-category-trigger-width,220px)) minmax(0,1fr); }
.psdfa-h3-nav__inner.has-no-category.has-no-quick { grid-template-columns:1fr; }
.psdfa-h3-nav__inner.has-no-category.has-no-primary { grid-template-columns:1fr; justify-items:end; }
.psdfa-h3-nav__inner.has-no-primary.has-no-quick { grid-template-columns:minmax(190px,var(--psdfa-h3-category-trigger-width,220px)); }
.psdfa-h3-nav__inner.has-no-category.has-no-primary.has-no-quick { display:none; }
.psdfa-h3-sticky-nav-space { display:none; }

@media (min-width:981px) {
  .psdfa-h3-auto-hide-nav .psdfa-h3.is-sticky .psdfa-h3-nav {
    position:absolute;
    top:100%;
    right:0;
    left:0;
    width:100%;
    transition:opacity .18s ease, visibility .18s ease, transform .2s ease;
    will-change:opacity,transform;
  }
  .psdfa-h3-auto-hide-nav .psdfa-h3.is-sticky + .psdfa-h3-sticky-nav-space {
    display:block;
    height:var(--psdfa-h3-nav-height,50px);
  }
}

.psdfa-h3-auto-hide-nav.psdfa-h3-nav-hidden .psdfa-h3-nav {
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-10px);
}

.psdfa-h3-category-trigger {
  display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:38px; padding:0 14px;
  border:1px solid #eadb8c; border-radius:11px; background:#fff7cf; color:#272100; font-family:inherit; font-size:12px; font-weight:650; cursor:pointer;
  transition:background .18s ease,border-color .18s ease;
}
.psdfa-h3-category-trigger:hover,.psdfa-h3-categories.is-open .psdfa-h3-category-trigger { background:#ffef9a; border-color:#dcc55a; }
.psdfa-h3-category-trigger__chevron { display:grid; place-items:center; transform:rotate(90deg); transition:transform .18s ease; }
.psdfa-h3-category-trigger__chevron svg { width:15px; height:15px; }
.psdfa-h3-categories.is-open .psdfa-h3-category-trigger__chevron { transform:rotate(270deg); }

.psdfa-h3-category-mega {
  position:absolute; top:100%; right:0; left:0; z-index:370; display:grid; grid-template-columns:var(--psdfa-h3-category-rail-width,230px) minmax(0,1fr);
  width:100%; min-height:390px; max-height:min(620px,calc(100vh - 150px)); margin:0 auto; overflow:hidden;
  border:1px solid var(--psdfa-h3-border,#e5e8eb); border-radius:var(--psdfa-h3-mega-radius,18px); background:#fff; box-shadow:0 28px 75px rgba(15,20,28,.17);
  opacity:0; visibility:hidden; transform:translateY(8px); pointer-events:none; transition:opacity .16s ease,visibility .16s ease,transform .16s ease;
}
.psdfa-h3-categories.is-open .psdfa-h3-category-mega { opacity:1; visibility:visible; transform:none; pointer-events:auto; }
.psdfa-h3-category-rail { overflow:auto; padding:10px; border-left:1px solid #edf0f2; background:#f7f8f9; }
.psdfa-h3-category-tab { display:grid; grid-template-columns:minmax(0,1fr) 18px; gap:8px; align-items:center; min-height:48px; padding:0 13px; border-radius:11px; color:#31363b; font-size:11.5px; font-weight:850; text-decoration:none; }
.psdfa-h3-category-tab:hover,.psdfa-h3-category-tab:focus-visible,.psdfa-h3-category-tab.is-active { background:#fff; color:#111318; box-shadow:0 3px 12px rgba(17,24,39,.04); }
.psdfa-h3-category-tab>span:last-child { display:grid; place-items:center; color:#a0a5aa; }
.psdfa-h3-category-tab svg { width:14px; height:14px; }
.psdfa-h3-category-content { min-width:0; overflow:auto; padding:18px 22px 22px; }
.psdfa-h3-category-panel[hidden] { display:none !important; }
.psdfa-h3-category-panel__head { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:42px; padding-bottom:12px; border-bottom:1px solid #eef0f2; }
.psdfa-h3-category-panel__head strong { font-size:15px; }
.psdfa-h3-category-panel__head a { display:flex; align-items:center; gap:4px; color:#6f5a00; font-size:10px; font-weight:900; text-decoration:none; }
.psdfa-h3-category-panel__head svg { width:14px; height:14px; }
.psdfa-h3-category-columns { display:grid; grid-template-columns:repeat(var(--psdfa-h3-category-columns,4),minmax(0,1fr)); gap:24px 30px; padding-top:18px; }
.psdfa-h3-category-group { min-width:0; }
.psdfa-h3-category-group__title { position:relative; display:inline-flex; align-items:center; min-height:26px; margin-bottom:8px; padding-right:10px; color:#20252a; font-size:11.5px; font-weight:950; text-decoration:none; }
.psdfa-h3-category-group__title::before { content:""; position:absolute; right:0; width:3px; height:15px; border-radius:2px; background:var(--psdfa-primary,#fc0); }
.psdfa-h3-category-group ul { display:grid; gap:3px; margin:0; padding:0; list-style:none; }
.psdfa-h3-category-group li { margin:0; }
.psdfa-h3-category-group li a { display:flex; align-items:center; justify-content:space-between; gap:7px; min-height:28px; padding:2px 0; color:#666c72; font-size:10px; text-decoration:none; }
.psdfa-h3-category-group li a:hover { color:#111318; }
.psdfa-h3-category-group li small { color:#a4a8ad; font-size:8px; }
.psdfa-h3-category-empty { display:grid; place-items:start; gap:10px; padding:32px 0; color:#848a90; font-size:10px; }
.psdfa-h3-category-empty p { margin:0; }
.psdfa-h3-category-empty a { color:#5d4c00; font-weight:900; }

/* Primary menu and mega menu */
.psdfa-h3-primary { min-width:0; align-self:stretch; }
.psdfa-h3-menu { display:flex; align-items:stretch; gap:var(--psdfa-h3-menu-gap,14px); height:100%; margin:0; padding:0; list-style:none; }
.psdfa-h3-menu>li { position:relative; display:flex; align-items:center; margin:0; }
.psdfa-h3-menu>li>a { display:flex; align-items:center; gap:5px; min-height:var(--psdfa-h3-nav-height,50px); padding:0; color:#4b5157; font-size:var(--psdfa-menu-size,12px); font-weight:var(--psdfa-h3-menu-weight,500); text-decoration:none; white-space:nowrap; }
.psdfa-h3-menu>li>a:hover,.psdfa-h3-menu>li.current-menu-item>a,.psdfa-h3-menu>li.current-menu-ancestor>a,.psdfa-h3-menu>li.is-menu-open>a { color:#111318; }
.psdfa-h3-menu-chevron { display:grid; place-items:center; color:#a4a8ad; transition:transform .16s ease; }
.psdfa-h3-menu-chevron svg { width:13px; height:13px; }
/* Top-level items open downward. Nested fly-outs point toward the RTL fly-out direction. */
.psdfa-h3-menu>li.menu-item-has-children>a>.psdfa-h3-menu-chevron { transform:rotate(90deg); }
.psdfa-h3-menu>li.is-menu-open>a>.psdfa-h3-menu-chevron { transform:rotate(270deg); }
.psdfa-h3-menu .sub-menu .menu-item-has-children>a>.psdfa-h3-menu-chevron { transform:rotate(180deg); }

.psdfa-h3-menu .sub-menu { position:absolute; top:100%; inset-inline-start:0; z-index:355; min-width:220px; margin:0; padding:9px; border:1px solid var(--psdfa-h3-border,#e5e8eb); border-radius:14px; background:#fff; box-shadow:0 22px 60px rgba(15,20,28,.14); list-style:none; opacity:0; visibility:hidden; transform:translateY(7px); pointer-events:none; transition:opacity .15s ease,visibility .15s ease,transform .15s ease; }
.psdfa-h3-menu>li.is-menu-open>.sub-menu { opacity:1; visibility:visible; transform:none; pointer-events:auto; }
.psdfa-h3-menu .sub-menu li { position:relative; margin:0; }
.psdfa-h3-menu .sub-menu a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:38px; padding:6px 10px; border-radius:8px; color:#51575d; font-size:10.5px; font-weight:600; text-decoration:none; }
.psdfa-h3-menu .sub-menu a:hover { background:#f7f8f9; color:#111318; }
.psdfa-h3-menu .sub-menu .sub-menu { top:-9px; inset-inline-start:100%; }
.psdfa-h3-menu .sub-menu li:hover>.sub-menu,.psdfa-h3-menu .sub-menu li:focus-within>.sub-menu { opacity:1; visibility:visible; transform:none; pointer-events:auto; }

/* Primary Mega Menu: the navigation container is the positioning context.
 * The panel is centered inside the same PSDFA container as the header/navigation,
 * never against the viewport or an individual menu item's x-position. */
.psdfa-h3-menu>.psdfa-h3-menu-item--mega { position:static; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu {
  position:absolute;
  top:100%;
  right:0;
  left:0;
  inset-inline-start:0;
  inset-inline-end:0;
  display:grid;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  min-height:260px;
  max-height:var(--psdfa-h3-mega-max-height,min(600px,calc(100vh - 150px)));
  overflow:auto;
  margin:0 auto;
  padding:24px 28px;
  border-radius:var(--psdfa-h3-mega-radius,18px);
  gap:26px 32px;
  transform:translateY(7px);
}
.psdfa-h3-menu>.psdfa-h3-menu-item--mega.is-menu-open>.sub-menu { transform:none; }
.psdfa-h3-menu>.psdfa-h3-mega-cols-2>.sub-menu { grid-template-columns:repeat(2,minmax(0,1fr)); }
.psdfa-h3-menu>.psdfa-h3-mega-cols-3>.sub-menu { grid-template-columns:repeat(3,minmax(0,1fr)); }
.psdfa-h3-menu>.psdfa-h3-mega-cols-4>.sub-menu { grid-template-columns:repeat(4,minmax(0,1fr)); }
.psdfa-h3-menu>.psdfa-h3-mega-cols-5>.sub-menu { grid-template-columns:repeat(5,minmax(0,1fr)); }
.psdfa-h3-menu>.psdfa-h3-mega-cols-6>.sub-menu { grid-template-columns:repeat(6,minmax(0,1fr)); }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li { min-width:0; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>a { position:relative; display:inline-flex; min-height:30px; margin-bottom:6px; padding:2px 10px 2px 0; border-radius:0; background:transparent; color:#20252a; font-size:11.5px; font-weight:800; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>a::before { content:""; position:absolute; right:0; width:3px; height:15px; border-radius:2px; background:var(--psdfa-primary,#fc0); }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>a .psdfa-h3-menu-chevron { display:none; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>.sub-menu { position:static; display:grid; gap:2px; min-width:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; opacity:1; visibility:inherit; transform:none; pointer-events:inherit; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>.sub-menu a { min-height:30px; padding:3px 0; background:transparent; color:#666c72; font-size:10px; font-weight:500; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>.sub-menu a:hover { color:#111318; }
.psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu>li>.sub-menu .sub-menu { display:none; }

.psdfa-h3-quick-link { display:flex; align-items:center; gap:5px; min-height:34px; padding:0 12px; border-radius:999px; color:#5f4d00; font-size:10.5px; font-weight:700; text-decoration:none; white-space:nowrap; }
.psdfa-h3-quick-link:hover { background:#fff7d0; color:#3d3200; }
.psdfa-h3-quick-link svg { width:13px; height:13px; transform:rotate(180deg); }

/* Mobile header controls */
.psdfa-h3-mobile-actions { display:none; }
.psdfa-h3-mobile-button { position:relative; display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid #eaedef; border-radius:10px; background:#f8f9fa; color:#292e33; text-decoration:none; cursor:pointer; }
.psdfa-h3-mobile-button svg { width:18px; height:18px; }
.psdfa-h3-mobile-cart em { top:-6px; left:-6px; }

/* Drawer */
.psdfa-h3-backdrop { position:fixed; inset:0; z-index:10030; display:block; border:0; background:rgba(9,12,17,.47); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease,visibility .2s ease; }
.psdfa-h3-drawer { position:fixed; top:0; right:0; bottom:0; z-index:10040; display:flex; flex-direction:column; width:min(var(--psdfa-h3-drawer-width,380px),92vw); border-left:1px solid #e7eaed; background:#fff; box-shadow:-20px 0 55px rgba(15,20,28,.18); transform:translateX(105%); visibility:hidden; transition:transform .24s ease,visibility .24s ease; }
.psdfa-h3-drawer.is-open { transform:none; visibility:visible; }
.psdfa-h3-enabled.psdfa-h3-drawer-open .psdfa-h3-backdrop { opacity:1; visibility:visible; pointer-events:auto; }
.psdfa-h3-drawer__head { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:68px; padding:10px 14px; border-bottom:1px solid #edf0f2; }
.psdfa-h3-drawer__brand { display:inline-flex; align-items:center; max-width:160px; }
.psdfa-h3-drawer__brand img { display:block; width:auto; max-width:100%; max-height:42px; }
.psdfa-h3-drawer__head>button,.psdfa-h3-search-sheet__head>button { display:grid; place-items:center; width:38px; height:38px; border:0; border-radius:10px; background:#f2f4f5; color:#4f555b; cursor:pointer; }
.psdfa-h3-drawer__head>button svg,.psdfa-h3-search-sheet__head>button svg { width:18px; height:18px; }
.psdfa-h3-drawer__body { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:14px; }
.psdfa-h3-drawer-search { position:relative; margin-bottom:18px; }
.psdfa-h3-drawer-search-trigger { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; width:100%; min-width:0; min-height:46px; padding:0 10px 0 12px; border:0; border-radius:23px; background:#f0f0f1; color:#62666d; font-family:inherit; cursor:pointer; text-align:right; }
.psdfa-h3-drawer-search-trigger:hover { background:#e9eaec; }
.psdfa-h3-drawer-search-trigger__icon { display:grid; place-items:center; }
.psdfa-h3-drawer-search-trigger__icon svg { width:19px; height:19px; }
.psdfa-h3-drawer-search-trigger__text { min-width:0; overflow:hidden; color:#83878d; font-size:11.5px; white-space:nowrap; text-overflow:ellipsis; }
.psdfa-h3-mobile-nav__title { display:flex; align-items:center; justify-content:space-between; min-height:34px; margin:0 2px 5px; color:#8a9096; font-size:9.5px; }
.psdfa-h3-mobile-nav__title strong { font-weight:700; }
.psdfa-h3-mobile-nav { min-width:0; }
.psdfa-h3-mobile-menu { display:grid; gap:3px; margin:0; padding:0; list-style:none; }
.psdfa-h3-mobile-menu li { position:relative; min-width:0; margin:0; list-style:none; }
.psdfa-h3-mobile-menu>li { border-bottom:1px solid #eef0f2; }
.psdfa-h3-mobile-menu li>a { display:flex; align-items:center; min-width:0; min-height:46px; padding:0 6px 0 48px; border-radius:9px; color:#30363b; font-size:11.5px; font-weight:var(--psdfa-h3-mobile-menu-weight,600); line-height:1.8; text-decoration:none; overflow-wrap:anywhere; transition:background-color .16s ease,color .16s ease; }
.psdfa-h3-mobile-menu>li>a { min-height:49px; font-size:11.75px; }
.psdfa-h3-mobile-menu>li.current-menu-item>a,.psdfa-h3-mobile-menu>li.current-menu-ancestor>a,.psdfa-h3-mobile-menu li.is-submenu-open>a { color:#111318; }
.psdfa-h3-mobile-menu li.is-submenu-open>a { background:#f8f9fa; }
.psdfa-h3-mobile-menu li.is-parent-toggle-only>a { cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent; }
.psdfa-h3-mobile-menu .sub-menu { display:none; gap:1px; margin:1px 0 8px; padding:5px 8px 7px; border:1px solid #f0f2f3; border-radius:12px; background:#fafbfc; list-style:none; }
.psdfa-h3-mobile-menu li.is-submenu-open>.sub-menu { display:grid; }
.psdfa-h3-mobile-menu .sub-menu li { border:0; }
.psdfa-h3-mobile-menu .sub-menu li+li { border-top:1px solid #f2f3f4; }
.psdfa-h3-mobile-menu .sub-menu a { min-height:37px; padding:5px 8px 5px 42px; color:#646b72; font-size:10.5px; font-weight:500; }
.psdfa-h3-mobile-menu .sub-menu a:hover,.psdfa-h3-mobile-menu .sub-menu a:focus-visible { background:#fff; color:#20252a; }
.psdfa-h3-mobile-menu .sub-menu .sub-menu { gap:0; margin:0 8px 6px 0; padding:3px 10px 5px 5px; border:0; border-right:2px solid #eceef0; border-radius:0; background:transparent; }
.psdfa-h3-mobile-menu .sub-menu .sub-menu a { min-height:32px; padding:4px 7px 4px 38px; color:#777d83; font-size:10px; }
.psdfa-h3-mobile-submenu-toggle { position:absolute; top:6px; left:4px; z-index:2; display:grid; place-items:center; width:34px; height:34px; padding:0; border:0; border-radius:9px; background:#f4f6f7; color:#6e757c; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.psdfa-h3-mobile-menu .sub-menu>.menu-item-has-children>.psdfa-h3-mobile-submenu-toggle { top:4px; left:5px; width:29px; height:29px; border-radius:8px; background:#fff; box-shadow:0 0 0 1px #edf0f2 inset; }
.psdfa-h3-mobile-submenu-toggle svg { width:13px; height:13px; transform:rotate(90deg); transition:transform .18s ease; }
.psdfa-h3-mobile-menu li.is-submenu-open>.psdfa-h3-mobile-submenu-toggle { background:#eef1f3; color:#30363b; }
.psdfa-h3-mobile-menu li.is-submenu-open>.psdfa-h3-mobile-submenu-toggle svg { transform:rotate(270deg); }
.psdfa-h3-mobile-parent-all { border-bottom:1px solid #eceef0 !important; }
.psdfa-h3-mobile-parent-all>a { min-height:35px !important; padding:4px 8px !important; color:#756100 !important; font-size:10px ; font-weight:800 ; }

.psdfa-h3-mobile-categories { margin-top:18px; padding-top:16px; border-top:8px solid #f7f8f9; }
.psdfa-h3-mobile-section-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; }
.psdfa-h3-mobile-section-title strong { font-size:12px; }
.psdfa-h3-mobile-section-title a { color:#756100; font-size:9.5px; font-weight:900; }
.psdfa-h3-mobile-category-list { display:grid; }
.psdfa-h3-mobile-category-list details { border-bottom:1px solid #eff1f2; }
.psdfa-h3-mobile-category-list summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; color:#41474d; font-size:10.5px; font-weight:800; cursor:pointer; list-style:none; }
.psdfa-h3-mobile-category-list summary::-webkit-details-marker { display:none; }
.psdfa-h3-mobile-category-list summary svg { width:14px; height:14px; transition:transform .18s ease; }
.psdfa-h3-mobile-category-list details[open] summary svg { transform:rotate(90deg); }
.psdfa-h3-mobile-category-list details>div { display:grid; gap:2px; padding:0 10px 9px 0; }
.psdfa-h3-mobile-category-list details>div a { min-height:32px; padding:5px 0; color:#747a80; font-size:9.5px; text-decoration:none; }
.psdfa-h3-mobile-category-list details>div a.is-all { color:#5f4f00; font-weight:900; }
.psdfa-h3-drawer__footer { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid #edf0f2; background:#fff; }
.psdfa-h3-drawer__footer a { position:relative; display:flex; align-items:center; justify-content:center; gap:7px; min-height:42px; border:1px solid #e5e8eb; border-radius:10px; color:#3b4147; font-size:10px; font-weight:850; text-decoration:none; }
.psdfa-h3-drawer__footer svg { width:16px; height:16px; }
.psdfa-h3-drawer__footer em { top:-5px; left:-5px; }

/* Mobile search sheet */
.psdfa-h3-search-sheet { position:fixed; inset:0; z-index:10060; display:grid; align-items:start; padding-top:max(12px,env(safe-area-inset-top)); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .18s ease,visibility .18s ease; }
.psdfa-h3-search-sheet.is-open { opacity:1; visibility:visible; pointer-events:auto; }
.psdfa-h3-search-sheet__backdrop { position:absolute; inset:0; border:0; background:rgba(9,12,17,.48); }
.psdfa-h3-search-sheet__panel { position:relative; z-index:1; width:min(700px,calc(100vw - 24px)); margin:0 auto; padding:14px; border:1px solid #e4e7ea; border-radius:16px; background:#fff; box-shadow:0 24px 75px rgba(15,20,28,.2); }
.psdfa-h3-search-sheet__head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.psdfa-h3-search-sheet__head strong { font-size:13px; }
.psdfa-h3-search-sheet .psdfa-smart-search-panel { position:relative; top:8px; min-width:0; max-height:min(460px,calc(100vh - 170px)); box-shadow:none; }
.psdfa-h3-search-sheet .psdfa-smart-search-panel:not(.is-open) { display:none; }

@media (max-width: 1240px) {
  .psdfa-h3-main__inner { grid-template-columns:minmax(110px,var(--psdfa-h3-logo-width,132px)) minmax(280px,1fr) auto; gap:16px; }
  .psdfa-h3-action__copy { display:none; }
  .psdfa-h3-action { grid-template-columns:42px 12px; gap:5px; }
  .psdfa-h3-nav__inner { grid-template-columns:minmax(180px,210px) minmax(0,1fr) auto; gap:14px; }
  .psdfa-h3-menu { gap:min(var(--psdfa-h3-menu-gap,14px),11px); }
  .psdfa-h3-menu>li>a { font-size:11px; }
  .psdfa-h3-category-columns { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .admin-bar .psdfa-h3.is-sticky { top:46px; }
  .psdfa-h3-main__inner { grid-template-columns:1fr auto; gap:10px; min-height:var(--psdfa-h3-mobile-height,62px); }
  .psdfa-h3-brand { min-width:0; }
  .psdfa-h3-brand__image { width:min(var(--psdfa-h3-logo-width,132px),150px); max-height:44px; }
  .psdfa-h3-search-slot,.psdfa-h3-actions,.psdfa-h3-nav { display:none !important; }
  .psdfa-h3-mobile-actions { display:flex; align-items:center; gap:5px; }
}

@media (max-width: 560px) {
  .psdfa-h3-main__inner { gap:7px; }
  .psdfa-h3-brand__image { width:min(var(--psdfa-h3-logo-width,132px),130px); }
  .psdfa-h3-mobile-actions { gap:3px; }
  .psdfa-h3-mobile-button { width:36px; height:36px; border-radius:9px; }
  .psdfa-h3-mobile-button svg { width:17px; height:17px; }
  .psdfa-h3-search-sheet__panel { width:calc(100vw - 16px); padding:12px; }
  .psdfa-h3-search-sheet .psdfa-h3-search { grid-template-columns:38px minmax(0,1fr); }
  .psdfa-h3-search-sheet .psdfa-h3-search__submit { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .psdfa-h3 *, .psdfa-h3-drawer, .psdfa-h3-backdrop, .psdfa-h3-search-sheet { transition:none !important; }
}

.psdfa-h3-account-user__copy:only-child{grid-column:1/-1}.psdfa-h3-mobile-menu .psdfa-h3-menu-chevron{display:none}


/* ================================================================
   PSDFA 0.5.5 — stable hover corridors + dropdown/mega polish
   ================================================================ */
@media (min-width:981px) {
  /* Account/cart dropdown visibility is JS-owned. A transparent bridge keeps
     the pointer corridor continuous across the small visual gap. */
  .psdfa-h3-dropdown-panel {
    top:calc(100% + 7px);
  }
  .psdfa-h3-dropdown-panel::before {
    content:"";
    position:absolute;
    right:0;
    left:0;
    top:-9px;
    height:9px;
    background:transparent;
  }

  /* Main mega menus attach directly to the navigation row. No dead hover gap. */
  .psdfa-h3-menu>.psdfa-h3-menu-item--mega>.sub-menu {
    top:100%;
  }

  /* Category mega menu uses the exact navigation/site container width. */
  .psdfa-h3-category-mega {
    top:100%;
    width:100%;
    max-width:100%;
    margin:0 auto;
  }
}

/* RTL directional chevrons inside panels. */
.psdfa-h3-category-tab>span:last-child svg,
.psdfa-h3-category-panel__head a svg,
.psdfa-h3-account-menu__arrow svg {
  transform:rotate(180deg);
}

/* Account dropdown — quiet, theme-owned UI. */
.psdfa-h3-account-panel {
  width:330px;
  padding:10px;
}
.psdfa-h3-account-menu a {
  font-weight:600;
}
.psdfa-h3-account-menu__icon {
  background:#f6f7f8;
}
.psdfa-h3-account-menu a:hover .psdfa-h3-account-menu__icon {
  background:#fff3bd;
  color:#4b3d00;
}

/* Mini-cart — fully controlled header presentation. */
.psdfa-h3-cart-panel {
  width:min(390px,calc(100vw - 28px));
  padding:0;
  overflow:hidden;
}
.psdfa-h3-mini-cart__head {
  padding:15px 16px 13px;
  background:#fff;
}
.psdfa-h3-mini-cart__head small {
  font-size:9.5px;
}
.psdfa-h3-mini-cart__head strong {
  font-size:12.5px;
  font-weight:750;
}
.psdfa-h3-mini-cart__head>a {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:8px;
  background:#fff8d6;
  color:#594900;
  font-size:9.5px;
  font-weight:750;
}
.psdfa-h3-mini-cart__body {
  padding:0 14px 14px;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart {
  gap:0;
  max-height:340px;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart-item {
  display:block;
  min-height:92px;
  padding:13px 0 13px 30px;
  border-bottom:1px solid #eef0f2;
  background:#fff;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart-item>a:not(.remove),
.psdfa-h3-mini-cart .woocommerce-mini-cart-item>div:not(.quantity) {
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  gap:11px;
  align-items:center;
  width:100%;
  color:#2d3237;
  font-size:10.5px;
  font-weight:650;
  line-height:1.75;
  text-decoration:none;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart-item>a:not(.remove)>span,
.psdfa-h3-mini-cart .woocommerce-mini-cart-item>div:not(.quantity)>span {
  min-width:0;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart-item img {
  display:block;
  width:68px;
  height:54px;
  margin:0;
  border:1px solid #eef0f2;
  border-radius:10px;
  background:#f6f7f8;
  object-fit:cover;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart-item .quantity {
  display:block;
  margin-top:5px;
  padding-right:79px;
  color:#757b81;
  font-size:9.5px;
  line-height:1.6;
}
.psdfa-h3-mini-cart .remove_from_cart_button {
  top:14px;
  right:auto;
  left:0;
  width:24px;
  height:24px;
  border:1px solid #f2dddd;
  border-radius:8px;
  background:#fff7f7;
  color:#a33d3d;
  font-size:15px;
  transform:none;
}
.psdfa-h3-mini-cart .remove_from_cart_button:hover {
  border-color:#e9caca;
  background:#ffeded;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart__total {
  padding:15px 2px 10px;
  border-top:0;
  color:#656b71;
  font-size:10.5px;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
  font-size:13.5px;
  font-weight:850;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons {
  gap:8px;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons .button {
  min-height:43px;
  border-radius:10px;
  font-size:10.5px;
  font-weight:750;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons .button:first-child {
  border-color:#e2c84c;
  background:#ffcc00;
  color:#191600;
}
.psdfa-h3-mini-cart .woocommerce-mini-cart__buttons .checkout {
  border-color:#111318;
  background:#111318;
  color:#fff;
}

/* Prevent auto-hide from visually fighting a currently interactive panel. */
.psdfa-h3:has(.is-menu-open) .psdfa-h3-nav,
.psdfa-h3:has(.psdfa-h3-dropdown.is-open) .psdfa-h3-nav,
.psdfa-h3:has(.psdfa-h3-categories.is-open) .psdfa-h3-nav {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}

/* ================================================================
   PSDFA 0.7.31 — responsive Header Builder
   ================================================================ */
.psdfa-hb-mobile-row{display:none}
.psdfa-hb-row__inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,2fr) minmax(0,1fr);gap:18px;align-items:center;min-height:var(--psdfa-h3-main-height,76px)}
.psdfa-h3-nav .psdfa-hb-row__inner{min-height:var(--psdfa-h3-nav-height,50px)}
.psdfa-hb-zone{display:flex;align-items:center;gap:8px;min-width:0}
.psdfa-hb-zone.is-start{justify-content:flex-start}.psdfa-hb-zone.is-center{justify-content:center}.psdfa-hb-zone.is-end{justify-content:flex-end}
.psdfa-hb-element{min-width:0}.psdfa-hb-element--search{flex:1 1 340px;width:100%;max-width:var(--psdfa-h3-search-width,620px)}
.psdfa-hb-element--menu{flex:1 1 auto;min-width:0}.psdfa-hb-element--menu .psdfa-h3-primary{width:100%}
.psdfa-hb-element--categories{flex:0 1 var(--psdfa-h3-category-trigger-width,220px);min-width:180px;max-width:320px}.psdfa-hb-element--categories .psdfa-h3-categories{width:100%}
.psdfa-hb-element--logo{flex:0 0 auto}.psdfa-hb-element--account,.psdfa-hb-element--cart,.psdfa-hb-element--quick_link{flex:0 0 auto}
.psdfa-hb-row__inner.psdfa-h3-main__inner,.psdfa-hb-row__inner.psdfa-h3-nav__inner{grid-template-columns:minmax(0,1fr) minmax(280px,2fr) minmax(0,1fr)}

@media(max-width:1240px) and (min-width:981px){
  .psdfa-hb-row__inner,.psdfa-hb-row__inner.psdfa-h3-main__inner,.psdfa-hb-row__inner.psdfa-h3-nav__inner{grid-template-columns:minmax(0,.9fr) minmax(250px,1.7fr) minmax(0,.9fr);gap:12px}
  .psdfa-hb-element--categories{min-width:165px}
}

@media(max-width:980px){
  .psdfa-hb-desktop-row{display:none!important}
  .psdfa-hb-mobile-row{display:block}
  .psdfa-hb-mobile-row .psdfa-hb-row__inner,.psdfa-hb-mobile-row .psdfa-h3-main__inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;min-height:var(--psdfa-h3-mobile-height,62px)}
  .psdfa-hb-mobile-row .psdfa-hb-zone{gap:4px;flex-wrap:nowrap}
  .psdfa-hb-mobile-row .psdfa-hb-zone.is-center{justify-content:center}
  .psdfa-hb-mobile-row .psdfa-hb-element--logo{max-width:min(150px,42vw)}
  .psdfa-hb-mobile-row .psdfa-h3-brand{min-height:var(--psdfa-h3-mobile-height,62px)}
  .psdfa-hb-mobile-row .psdfa-h3-brand__image{width:min(var(--psdfa-h3-logo-width,132px),150px);max-height:44px}
  .psdfa-hb-mobile-row .psdfa-h3-search-slot{display:block!important;width:100%}
  .psdfa-hb-mobile-secondary{border-top:1px solid var(--psdfa-h3-border,#eceef0)}
  .psdfa-hb-mobile-secondary .psdfa-hb-row__inner,.psdfa-hb-mobile-secondary .psdfa-h3-main__inner{grid-template-columns:1fr;min-height:0;padding-top:9px;padding-bottom:9px}
  .psdfa-hb-mobile-secondary .psdfa-hb-zone{width:100%}.psdfa-hb-mobile-secondary .psdfa-hb-zone:empty{display:none}
  .psdfa-hb-mobile-secondary .psdfa-hb-element{width:100%}.psdfa-hb-mobile-secondary .psdfa-hb-element--search{max-width:none}
  .psdfa-hb-mobile-secondary .psdfa-h3-search{min-height:44px}.psdfa-hb-mobile-secondary .psdfa-h3-search input[type="search"]{height:42px}
}

/* ================================================================
   PSDFA 0.7.33 — Header Builder layout engine fixes
   - empty zones no longer reserve desktop width
   - search can keep its configured width beside the logo
   - mobile search button does not inherit desktop flex growth
   ================================================================ */
.psdfa-hb-zone.is-empty{display:none}
.psdfa-hb-element--search .psdfa-h3-search-slot{width:100%;min-width:0}

@media (min-width:981px){
  .psdfa-hb-desktop-row .psdfa-hb-row__inner,
  .psdfa-hb-desktop-row .psdfa-hb-row__inner.psdfa-h3-main__inner,
  .psdfa-hb-desktop-row .psdfa-hb-row__inner.psdfa-h3-nav__inner{
    display:flex;
    grid-template-columns:none;
    gap:18px;
    align-items:center;
    width:100%;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone{
    flex:0 0 auto;
    width:auto;
    min-width:0;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-search{
    flex:1 1 520px;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-menu{
    flex:1 1 auto;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.is-center:not(.has-search):not(.has-menu){
    flex:1 1 auto;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-search .psdfa-hb-element--search{
    flex:1 1 420px;
    width:100%;
    max-width:var(--psdfa-h3-search-width,620px);
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-search .psdfa-h3-search-slot,
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-search .psdfa-h3-search{
    width:100%;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-logo.has-search{
    flex-basis:calc(var(--psdfa-h3-search-width,620px) + var(--psdfa-h3-logo-width,132px) + 8px);
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-logo.has-search .psdfa-hb-element--logo{
    flex:0 0 auto;
  }
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-logo.has-search .psdfa-hb-element--search{
    flex:1 1 var(--psdfa-h3-search-width,620px);
  }
}

@media (max-width:1240px) and (min-width:981px){
  .psdfa-hb-desktop-row .psdfa-hb-row__inner,
  .psdfa-hb-desktop-row .psdfa-hb-row__inner.psdfa-h3-main__inner,
  .psdfa-hb-desktop-row .psdfa-hb-row__inner.psdfa-h3-nav__inner{gap:12px}
  .psdfa-hb-desktop-row .psdfa-hb-zone.has-logo.has-search{
    flex-basis:calc(var(--psdfa-h3-search-width,620px) + var(--psdfa-h3-logo-width,132px));
  }
}

@media (max-width:980px){
  .psdfa-hb-mobile-row .psdfa-hb-row__inner,
  .psdfa-hb-mobile-row .psdfa-hb-row__inner.psdfa-h3-main__inner{
    gap:0;
  }
  .psdfa-hb-mobile-row .psdfa-hb-zone{
    min-width:0;
    gap:5px;
  }
  .psdfa-hb-mobile-row .psdfa-hb-element{
    flex:0 0 auto;
    width:auto;
    min-width:0;
  }
  .psdfa-hb-mobile-row:not(.psdfa-hb-mobile-secondary) .psdfa-hb-element--search{
    flex:0 0 auto;
    width:auto;
    max-width:none;
  }
  .psdfa-hb-mobile-row:not(.psdfa-hb-mobile-secondary) .psdfa-hb-element--search .psdfa-h3-search-slot{
    width:auto;
  }
  .psdfa-hb-mobile-secondary .psdfa-hb-element--search{
    flex:1 1 auto;
    width:100%;
    max-width:none;
  }
  .psdfa-hb-mobile-secondary .psdfa-hb-zone.has-search{
    flex:1 1 100%;
    width:100%;
  }
}

@media (max-width:980px){
  .psdfa-hb-mobile-row:not(.psdfa-hb-mobile-secondary) .psdfa-hb-zone.is-start{grid-column:1}
  .psdfa-hb-mobile-row:not(.psdfa-hb-mobile-secondary) .psdfa-hb-zone.is-center{grid-column:2}
  .psdfa-hb-mobile-row:not(.psdfa-hb-mobile-secondary) .psdfa-hb-zone.is-end{grid-column:3}
  .psdfa-hb-mobile-secondary .psdfa-hb-zone{grid-column:1}
}


/* ================================================================
   PSDFA 0.7.34 — mobile overlay stacking
   Keep the navigation drawer above the product sticky download/buy bar.
   Search remains the top header overlay when opened from the drawer.
   ================================================================ */
@media (max-width:980px){
  .psdfa-h3-enabled.psdfa-h3-drawer-open .psdfa-rtl-mobile-buybar{pointer-events:none}
}


/* PSDFA 0.7.82 — keep the mobile theme switch exactly aligned with the other header actions. */
@media (max-width:980px){
  .psdfa-h3-theme-toggle.psdfa-theme-toggle-mobile{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    padding:0!important;
    border-radius:10px!important;
  }
  .psdfa-h3-theme-toggle.psdfa-theme-toggle-mobile .psdfa-theme-toggle-icons{width:18px;height:18px}
  .psdfa-h3-theme-toggle.psdfa-theme-toggle-mobile .psdfa-theme-icon svg{width:18px;height:18px}
}
@media (max-width:560px){
  .psdfa-h3-theme-toggle.psdfa-theme-toggle-mobile{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    flex-basis:36px!important;
    border-radius:9px!important;
  }
  .psdfa-h3-theme-toggle.psdfa-theme-toggle-mobile .psdfa-theme-toggle-icons{width:17px;height:17px}
  .psdfa-h3-theme-toggle.psdfa-theme-toggle-mobile .psdfa-theme-icon svg{width:17px;height:17px}
}

/* PSDFA 0.7.107 — keep the theme-owned empty Mini Cart compact even when
   WooCommerce refreshes its fragment after an optimization plugin wakes JS. */
.psdfa-h3-mini-cart.is-empty .psdfa-h3-mini-cart__body {
  min-height:0;
}
.psdfa-h3-mini-cart.is-empty .woocommerce-mini-cart__empty-message {
  min-height:0;
  margin:0;
  padding:30px 10px 22px;
}
.psdfa-h3-mini-cart.is-empty .woocommerce-mini-cart__buttons,
.psdfa-h3-mini-cart.is-empty .woocommerce-mini-cart__total,
.psdfa-h3-mini-cart.is-empty .return-to-shop,
.psdfa-h3-mini-cart.is-empty .wc-block-mini-cart__footer-actions,
.psdfa-h3-mini-cart.is-empty .wc-block-mini-cart__empty-cart-wrapper > .wp-block-button {
  display:none !important;
}
