/* Current WoodMart/Bwoof header, desktop presentation only. No new header DOM. */
@media (min-width: 1025px) {
  body.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2 {
    --bwoof-header-ink: var(--bwoof-text, #172b40);
    --bwoof-header-line: var(--bwoof-border, #d6e1ea);
    --bwoof-header-blue: var(--bwoof-primary, #125791);
    font-family: var(--bwoof-font, 'Vazirmatn', sans-serif);
  }

  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-row > .container {
    max-width: var(--bwoof-content-max, 1320px) !important;
    padding-inline: clamp(16px, 2vw, 24px) !important;
  }

  body.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2 > .whb-main-header > :is(.whb-general-header, .whb-header-bottom) {
    background: #fff !important;
    border-bottom: 1px solid var(--bwoof-header-line) !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 :is(.whb-general-header, .whb-header-bottom)::before {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header-inner {
    min-height: 68px;
    gap: clamp(12px, 1.4vw, 22px);
    padding-block: 8px;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-header-bottom-inner {
    min-height: 48px;
    gap: 12px;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-visible-lg > .whb-space-element,
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-header-divider {
    display: none !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header :is(.whb-col-left, .whb-col-right) {
    gap: 8px;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .whb-col-center {
    flex: 1 1 0;
    min-width: 220px;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-logo img {
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
  }

  /* Keep the existing WooCommerce/WoodMart controls and their event handlers. */
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 12px !important;
    border: 1px solid var(--bwoof-header-line);
    border-radius: 12px !important;
    background: var(--bwoof-surface, #fff);
    color: var(--bwoof-header-ink);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    box-shadow: 0 2px 9px rgb(23 43 64 / 3%);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a:hover,
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a:focus-visible {
    border-color: var(--bwoof-header-blue);
    background: var(--bwoof-primary-soft, #eaf3fa);
    color: var(--bwoof-header-blue);
    box-shadow: 0 4px 14px rgb(18 87 145 / 9%);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-icon {
    flex: 0 0 auto;
    margin: 0 !important;
    color: var(--bwoof-header-blue);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-icon::before { font-size: 20px; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-my-account > a::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background: var(--bwoof-header-blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 20c.6-3.6 3.2-5.5 7.5-5.5s6.9 1.9 7.5 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 20c.6-3.6 3.2-5.5 7.5-5.5s6.9 1.9 7.5 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cart .wd-cart-subtotal {
    color: var(--bwoof-header-ink);
    font-weight: 700;
  }

  /* Retain the original AJAX search form, request and result rendering. */
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form {
    width: 100%;
    max-width: none !important;
    flex: 1 1 auto !important;
    padding-inline: 0 !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform {
    --wd-form-height: 48px;
    --wd-form-brd-radius: 12px;
    --wd-form-bg: #f4f8fb;
    --wd-form-brd-color: var(--bwoof-header-line);
    --wd-form-brd-color-focus: var(--bwoof-header-blue);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgb(23 43 64 / 3%);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform:focus-within {
    --wd-form-bg: #fff;
    box-shadow: 0 0 0 3px rgb(18 87 145 / 13%);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform input {
    font-size: 14px;
    color: var(--bwoof-header-ink);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit {
    border-radius: 9px !important;
    background: var(--bwoof-header-blue) !important;
    color: #fff !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit:hover {
    background: var(--bwoof-primary-hover, #0d4777) !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .wd-search-results {
    border: 1px solid var(--bwoof-header-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 42px rgb(23 43 64 / 15%);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-suggestion {
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-color: var(--bwoof-header-line);
    background: #fff;
    line-height: 1.5;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-suggestion:is(:hover, .wd-active) {
    background: var(--bwoof-primary-soft, #eaf3fa);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-suggestion-thumb {
    width: 54px;
    max-width: 54px;
    margin: 0;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-suggestion-thumb img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: contain;
    background: #f4f8fb;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-entities-title {
    color: var(--bwoof-header-ink);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.6;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .price {
    color: var(--bwoof-header-blue);
    font-size: 13px;
    font-weight: 700;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-not-found-msg {
    display: block;
    padding: 20px;
    color: var(--bwoof-text-muted, #52677b);
    text-align: center;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-search-results .wd-all-results {
    border-color: var(--bwoof-header-line);
    background: #f4f8fb;
    color: var(--bwoof-header-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 44px;
    text-transform: none;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .searchform.wd-search-loading .searchsubmit {
    opacity: .68;
  }

  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener {
    min-width: 180px;
    height: 42px !important;
    min-height: 42px;
    padding-inline: 14px;
    border-radius: 12px;
    background: var(--bwoof-header-blue) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener:hover,
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener:focus-visible {
    background: var(--bwoof-primary-hover, #0d4777) !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-nav-header {
    gap: 2px;
    flex-wrap: nowrap;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-nav-header > li > a {
    min-height: 42px;
    padding-inline: clamp(8px, 1vw, 14px);
    border-radius: 10px;
    color: var(--bwoof-header-ink);
    font-size: 13px;
    font-weight: 650;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-nav-header > li:is(:hover, :focus-within, .current-menu-item) > a {
    background: var(--bwoof-primary-soft, #eaf3fa);
    color: var(--bwoof-header-blue);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-dropdown {
    border: 1px solid var(--bwoof-header-line);
    border-radius: 12px;
    box-shadow: 0 18px 36px rgb(23 43 64 / 13%);
  }

  /* The existing sticky controller keeps the first row and restores nav on scroll up. */
  body.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2.boof-is-fixed > .whb-main-header > .whb-general-header {
    background: #fff !important;
    box-shadow: 0 8px 24px rgb(23 43 64 / 10%) !important;
  }
  body.home.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2:not(.boof-is-fixed) > .whb-main-header > :is(.whb-general-header, .whb-header-bottom) {
    background: rgb(255 255 255 / 82%) !important;
  }

}

@media (min-width: 1025px) and (max-width: 1199px) {
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a {
    width: 44px;
    min-width: 44px;
    padding-inline: 0 !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-text { display: none; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-logo img { max-width: 132px; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1025px) {
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a {
    transition: none;
  }
}

/* 1.12.37: one desktop glass language for the existing header and account flow. */
@media (min-width: 1025px) {
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 {
    --bwoof-header-glass: rgba(255, 255, 255, .69);
    --bwoof-header-stroke: rgba(255, 255, 255, .82);
    --bwoof-header-glow: rgba(18, 87, 145, .14);
    --bwoof-icon-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 20c.6-3.6 3.2-5.5 7.5-5.5s6.9 1.9 7.5 5.5'/%3E%3C/svg%3E");
    --bwoof-icon-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.1 11h11.5L21 7H5.5'/%3E%3Ccircle cx='8.5' cy='19' r='1'/%3E%3Ccircle cx='18' cy='19' r='1'/%3E%3C/svg%3E");
    --bwoof-icon-compare: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h15m-4-4 4 4-4 4M20 17H5m4-4-4 4 4 4'/%3E%3C/svg%3E");
    --bwoof-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E");
    --bwoof-icon-category: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
    --bwoof-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  }

  body.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2 > .whb-main-header > :is(.whb-general-header, .whb-header-bottom) {
    background: rgba(255, 255, 255, .08) !important;
    border-bottom: 1px solid rgba(190, 211, 228, .55) !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 :is(.whb-general-header, .whb-header-bottom)::before {
    content: '' !important;
    display: block !important;
    background: linear-gradient(135deg, rgba(255,255,255,.83), rgba(255,255,255,.57) 52%, rgba(232,244,253,.56)) !important;
    border-bottom: 1px solid var(--bwoof-header-stroke);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 20px rgba(23,43,64,.035) !important;
    backdrop-filter: blur(22px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(170%) !important;
  }
  body.home.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2:not(.boof-is-fixed) > .whb-main-header > :is(.whb-general-header, .whb-header-bottom) {
    background: rgba(255,255,255,.04) !important;
  }
  body.home.bwoof-ui-v180 .boof-header.bwoof-desktop-v2:not(.boof-is-fixed) :is(.whb-general-header, .whb-header-bottom)::before {
    background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,255,255,.47) 60%, rgba(225,241,252,.52)) !important;
  }
  body.bwoof-ui-v180 .whb-header.boof-header.bwoof-desktop-v2.boof-is-fixed > .whb-main-header > .whb-general-header {
    background: rgba(255,255,255,.18) !important;
    box-shadow: 0 8px 28px rgba(23,43,64,.11) !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2.boof-is-fixed .whb-general-header::before {
    background: linear-gradient(125deg, rgba(255,255,255,.93), rgba(245,250,253,.85)) !important;
  }

  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header :is(.whb-col-left, .whb-col-right) { gap: 10px; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a {
    min-height: 44px;
    padding-inline: 14px !important;
    border-color: rgba(174, 200, 222, .7);
    border-radius: 14px !important;
    background: rgba(255,255,255,.47);
    color: #183b58;
    font: 650 13px/1.5 var(--bwoof-font, 'Vazirmatn', sans-serif);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 3px 10px rgba(31,78,115,.04);
    backdrop-filter: blur(8px) saturate(135%);
    -webkit-backdrop-filter: blur(8px) saturate(135%);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .wd-tools-element > a:is(:hover, :focus-visible) {
    border-color: rgba(18,87,145,.54);
    background: rgba(231,244,252,.88);
    color: #0d4777;
    box-shadow: 0 6px 18px rgba(18,87,145,.13), inset 0 1px 0 #fff;
    transform: translateY(-2px);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 :is(.wd-tools-element > a, .menu-opener, .wd-nav-header > li > a):focus-visible {
    outline: 2px solid #125791 !important;
    outline-offset: 3px;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header :is(.wd-header-cart, .wd-header-compare) .wd-tools-icon::before,
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-my-account > a::before {
    content: '' !important;
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    margin: 0 !important;
    background: currentColor;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cart .wd-tools-icon::before {
    -webkit-mask-image: var(--bwoof-icon-cart); mask-image: var(--bwoof-icon-cart);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-compare .wd-tools-icon::before {
    -webkit-mask-image: var(--bwoof-icon-compare); mask-image: var(--bwoof-icon-compare);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-my-account > a::before {
    -webkit-mask-image: var(--bwoof-icon-account); mask-image: var(--bwoof-icon-account);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-tools-icon { color: inherit; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-tools-count {
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border: 2px solid #f8fcff;
    border-radius: 999px;
    background: #125791;
    color: #fff;
    font: 700 10px/13px var(--bwoof-font, 'Vazirmatn', sans-serif);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cart .wd-cart-subtotal { color: inherit; }

  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform {
    --wd-form-height: 48px;
    --wd-form-bg: rgba(234,244,251,.65);
    --wd-form-brd-color: rgba(149,184,211,.72);
    border: 1px solid rgba(149,184,211,.72);
    border-radius: 15px;
    background: rgba(234,244,251,.65);
    box-shadow: inset 0 1px 2px rgba(18,87,145,.04), 0 2px 10px rgba(18,87,145,.035);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform:focus-within {
    --wd-form-bg: rgba(255,255,255,.94);
    border-color: #125791;
    background: rgba(255,255,255,.94);
    box-shadow: 0 0 0 3px rgba(18,87,145,.13), 0 8px 20px rgba(18,87,145,.08);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform input {
    font: 450 14px/1.7 var(--bwoof-font, 'Vazirmatn', sans-serif);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit {
    border: 1px solid rgba(18,87,145,.15) !important;
    border-radius: 11px !important;
    background: linear-gradient(145deg, #1767a8, #125791) !important;
    box-shadow: 0 2px 8px rgba(18,87,145,.18), inset 0 1px 0 rgba(255,255,255,.24);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit:is(:hover, :focus-visible) {
    background: #0d4777 !important;
    box-shadow: 0 4px 12px rgba(18,87,145,.25);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit::after {
    content: '' !important;
    display: block;
    width: 21px;
    height: 21px;
    background: #fff;
    -webkit-mask: var(--bwoof-icon-search) center / contain no-repeat;
    mask: var(--bwoof-icon-search) center / contain no-repeat;
  }

  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener {
    min-width: 205px;
    min-height: 44px;
    height: 44px !important;
    gap: 10px;
    padding-inline: 7px 12px;
    border: 1px solid rgba(18,87,145,.3);
    border-radius: 14px !important;
    background: linear-gradient(125deg, rgba(237,247,253,.9), rgba(255,255,255,.67)) !important;
    color: #125791 !important;
    font: 750 13px/1.5 var(--bwoof-font, 'Vazirmatn', sans-serif);
    box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(18,87,145,.055);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener:is(:hover, :focus-visible),
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats.boof-cats-open .menu-opener {
    border-color: rgba(18,87,145,.65);
    background: linear-gradient(125deg, #e7f3fb, #fff) !important;
    box-shadow: 0 6px 18px rgba(18,87,145,.13), inset 0 1px 0 #fff;
    transform: translateY(-1px);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener-icon {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    margin: 0;
    border-radius: 10px;
    background: linear-gradient(145deg, #1767a8, #125791);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener-icon::before {
    content: '' !important;
    display: block !important;
    position: static !important;
    width: 19px;
    height: 19px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    -webkit-mask: var(--bwoof-icon-category) center / contain no-repeat;
    mask: var(--bwoof-icon-category) center / contain no-repeat;
    transform: none !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener-icon::after { content: none !important; display: none !important; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats .menu-opener::after {
    content: '' !important;
    display: block !important;
    width: 16px;
    height: 16px;
    margin-inline-start: auto;
    background: currentColor;
    -webkit-mask: var(--bwoof-icon-chevron) center / contain no-repeat;
    mask: var(--bwoof-icon-chevron) center / contain no-repeat;
    transition: transform .18s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-cats.boof-cats-open .menu-opener::after { transform: rotate(180deg); }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-nav-header > li > a {
    border-radius: 11px;
    font: 650 13px/1.5 var(--bwoof-font, 'Vazirmatn', sans-serif);
    transition: color .18s ease, background-color .18s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-nav-header > li:is(:hover, :focus-within, .current-menu-item) > a {
    background: rgba(219,239,251,.72);
    color: #0d4777;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-dropdown {
    border-color: rgba(169,195,215,.7);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 40px rgba(23,43,64,.16);
  }

  /* Current two-row header: free up breathing room around AJAX search. */
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-general-header .whb-col-center {
    flex: 0 1 720px;
    max-width: 720px;
    margin-inline-end: 16px;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform {
    --wd-form-bg: rgba(251,253,255,.42);
    --wd-form-brd-color: rgba(148,181,206,.45);
    border-color: rgba(148,181,206,.45);
    background: rgba(251,253,255,.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform:focus-within {
    --wd-form-bg: rgba(255,255,255,.88);
    border-color: rgba(18,87,145,.68);
    background: rgba(255,255,255,.88);
    box-shadow: 0 0 0 3px rgba(18,87,145,.1);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchform input::placeholder { color: #8195a6; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit {
    border-color: rgba(18,87,145,.13) !important;
    background: rgba(18,87,145,.09) !important;
    color: #125791 !important;
    box-shadow: none;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit::after { background: #125791; }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .wd-header-search-form .searchsubmit:is(:hover, :focus-visible) {
    background: rgba(18,87,145,.17) !important;
    box-shadow: none;
  }

  /* The sale CTA's former 10px wrapper inset made it miss the account edge. */
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-header-bottom-inner > .whb-col-right .wd-button-wrapper {
    padding-inline-end: 0 !important;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-header-bottom-inner > .whb-col-right .wd-button-wrapper > a {
    min-height: 44px;
    padding-inline: 18px;
    border: 1px solid rgba(18,87,145,.32) !important;
    border-radius: 14px !important;
    background: rgba(239,247,252,.62) !important;
    color: #125791 !important;
    font: 750 13px/1.5 var(--bwoof-font, 'Vazirmatn', sans-serif);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 3px 10px rgba(18,87,145,.045);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-header-bottom-inner > .whb-col-right .wd-button-wrapper > a:is(:hover, :focus-visible) {
    border-color: rgba(18,87,145,.65) !important;
    background: rgba(222,239,250,.9) !important;
    box-shadow: 0 5px 16px rgba(18,87,145,.12);
    transform: translateY(-1px);
  }
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 .whb-header-bottom-inner > .whb-col-right .wd-button-wrapper > a:focus-visible {
    outline: 2px solid #125791 !important;
    outline-offset: 3px;
  }
}

@media (prefers-reduced-transparency: reduce) and (min-width: 1025px) {
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 :is(.whb-general-header, .whb-header-bottom)::before { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1025px) {
  body.bwoof-ui-v180 .boof-header.bwoof-desktop-v2 :is(.wd-tools-element > a, .menu-opener, .wd-nav-header > li > a) { transition: none !important; }
}
