/* dc-header-build: 20260802-1700 */
/**
 * Digicenter header restyle — Classic Glass (pixel-matched to header-demo.html)
 * Scoped to Woodmart header builder. Child-theme only.
 */

:root {
  --dc-primary: #c62828;
  --dc-primary-hover: #b71c1c;
  --dc-primary-soft: rgba(198, 40, 40, 0.1);
  --dc-primary-ring: rgba(198, 40, 40, 0.18);
  --dc-dark: #0c0d10;
  --dc-ink: #14161a;
  --dc-surface: #f2f3f5;
  --dc-surface-2: #e8eaee;
  --dc-border: rgba(20, 22, 26, 0.08);
  --dc-border-strong: rgba(20, 22, 26, 0.14);
  --dc-text: #14161a;
  --dc-muted: #6b7280;
  --dc-white: #ffffff;
  --dc-radius: 14px;
  --dc-radius-sm: 10px;
  --dc-pill: 999px;
  --dc-shadow: 0 1px 2px rgba(12, 13, 16, 0.04), 0 8px 24px rgba(12, 13, 16, 0.06);
  --dc-shadow-lg: 0 4px 8px rgba(12, 13, 16, 0.04), 0 20px 48px rgba(12, 13, 16, 0.1);
  --dc-ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --dc-ease-spring: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dc-pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* ── Shell ─────────────────────────────────────────── */
body.dc-classic-header .whb-header {
  --wd-top-bar-h: 0px;
  position: sticky;
  top: 0;
  /* Match Woodmart .whb-main-header (390) so side panels sit above:
     sticky-nav 393, close-side 400, cart/mobile .wd-side-hidden 500 */
  z-index: 390;
  /* Kill Woodmart sticky spacer — we handle stickiness ourselves */
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.dc-classic-header .whb-header.whb-sticked,
body.dc-classic-header .whb-header.whb-sticky-prepared {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/*
 * Woodmart sticky-nav adds margin to .whb-main-header when .whb-sticked
 * because theme expects position:fixed (escapes body margin). We keep the
 * header in normal flow via CSS sticky, so that extra margin doubles the
 * sticky-nav offset and shrinks the header ~60px. Cancel it.
 */
body.dc-classic-header.wd-sticky-nav-enabled .whb-header.whb-sticky-real.whb-sticked .whb-main-header,
body.dc-classic-header.wd-sticky-nav-enabled .whb-header.whb-sticky-real.whb-sticked .whb-main-header.dc-is-sticky {
  margin-inline-end: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.admin-bar.dc-classic-header .whb-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar.dc-classic-header .whb-header {
    top: 46px;
  }
}

body.dc-classic-header .whb-header .whb-main-header {
  position: relative;
  top: auto;
  z-index: auto;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--dc-border);
  backdrop-filter: blur(0) saturate(1);
  -webkit-backdrop-filter: blur(0) saturate(1);
  transition:
    background var(--dc-ease),
    box-shadow var(--dc-ease),
    border-color var(--dc-ease),
    backdrop-filter var(--dc-ease);
}

body.dc-classic-header .whb-header.dc-is-sticky .whb-main-header,
body.dc-classic-header .whb-header .whb-main-header.dc-is-sticky {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: var(--dc-shadow);
  border-color: transparent;
}

/* Neutralize Woodmart sticky / hide-on-scroll side-effects for this skin */
body.dc-classic-header .whb-header .whb-clone {
  display: none !important;
}

/* Keep top row visible while sticky — Woodmart hides .whb-not-sticky-row */
body.dc-classic-header .whb-header.whb-sticked .whb-not-sticky-row,
body.dc-classic-header .whb-header.whb-sticked .whb-general-header {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.dc-classic-header .whb-header.whb-sticked .whb-general-header-inner {
  display: flex !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Only force desktop columns — never unhide mobile columns on lg */
body.dc-classic-header .whb-header.whb-sticked .whb-general-header .whb-column.whb-visible-lg {
  display: flex !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.dc-classic-header .whb-header.whb-sticked .whb-general-header .whb-column.whb-hidden-lg,
body.dc-classic-header .whb-header.whb-sticked .whb-general-header .whb-mobile-left,
body.dc-classic-header .whb-header.whb-sticked .whb-general-header .whb-mobile-center,
body.dc-classic-header .whb-header.whb-sticked .whb-general-header .whb-mobile-right,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header .whb-column.whb-hidden-lg,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header .whb-mobile-left,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header .whb-mobile-center,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header .whb-mobile-right {
  display: none !important;
}

body.dc-classic-header .whb-header.whb-hide-on-scroll .whb-main-header,
body.dc-classic-header .whb-header.whb-scroll-down .whb-main-header,
body.dc-classic-header .whb-header.whb-scroll-up .whb-main-header,
body.dc-classic-header .whb-header.whb-hide-on-scroll,
body.dc-classic-header .whb-header.whb-scroll-down,
body.dc-classic-header .whb-header.whb-scroll-up {
  transform: none !important;
}

/* Kill the old red gradient bar — keep a soft top hairline like the demo */
body.dc-classic-header .whb-header .whb-header-bottom,
body.dc-classic-header .whb-header .whb-row.whb-header-bottom {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-top: 1px solid var(--dc-border) !important;
  box-shadow: none !important;
  color: var(--dc-text) !important;
}

body.dc-classic-header .whb-header .whb-general-header {
  border: 0 !important;
}

body.dc-classic-header .whb-header .whb-general-header .container,
body.dc-classic-header .whb-header .whb-header-bottom .container {
  max-width: 1360px;
  padding-inline: 24px;
}

body.dc-classic-header .whb-header .whb-general-header-inner,
body.dc-classic-header .whb-header .whb-header-bottom-inner {
  align-items: center;
  gap: 16px;
}


/* Hide Woodmart spacer chips in the top row */
body.dc-classic-header .whb-header .whb-general-header .whb-space-element {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Top-row flex: logo | search | actions — match demo proportions */
body.dc-classic-header .whb-header .whb-general-header-inner {
  display: flex !important;
  flex-wrap: nowrap;
  width: 100%;
}

body.dc-classic-header .whb-header .whb-general-header .whb-col-center .wd-header-text {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.dc-classic-header .whb-header .whb-general-header .info-box-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

/* Ensure bottom nav list itself gets demo gap (overrides wd-gap-s) */
body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header.wd-nav,
body.dc-classic-header .whb-header .whb-header-bottom ul.menu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px !important;
  column-gap: 32px !important;
}

/* Badge must sit on the action <a>, not nested icon */
body.dc-classic-header .whb-header .dc-header-actions .wd-tools-icon {
  position: static !important;
}
body.dc-classic-header .whb-header .dc-header-actions .wd-tools-element > a {
  overflow: visible !important;
}

/* Zero-count badges still visible like demo (optional: hide zeros) — keep visible */

/* ── Top row ───────────────────────────────────────── */
body.dc-classic-header .whb-header .whb-general-header {
  padding: 0;
  background: transparent !important;
}

body.dc-classic-header .whb-header .whb-general-header-inner {
  padding: 16px 0;
  transition: padding var(--dc-ease);
  min-height: 0 !important;
}

body.dc-classic-header .whb-header .whb-main-header.dc-is-sticky .whb-general-header-inner,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header-inner {
  padding: 8px 0;
}

body.dc-classic-header .whb-header .whb-general-header .whb-col-left {
  flex: 0 0 auto;
}

body.dc-classic-header .whb-header .whb-general-header .whb-col-center {
  flex: 1 1 auto;
  max-width: 580px;
  margin-inline: 24px;
}

body.dc-classic-header .whb-header .whb-general-header .whb-col-right {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-inline-start: auto;
}

/* Logo */
body.dc-classic-header .whb-header .whb-general-header .site-logo img,
body.dc-classic-header .whb-header .whb-general-header .wd-logo img {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  transition: height var(--dc-ease), filter var(--dc-ease), opacity var(--dc-ease);
}

body.dc-classic-header .whb-header .whb-main-header.dc-is-sticky .whb-general-header .site-logo img,
body.dc-classic-header .whb-header .whb-main-header.dc-is-sticky .whb-general-header .wd-logo img,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header .site-logo img,
body.dc-classic-header .whb-header.dc-is-sticky .whb-general-header .wd-logo img {
  height: 44px !important;
}

/* ── Search (FiboSearch) — pixel-match header-demo.html ─ */
body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-wrapp {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Desktop only: force expanded pill (icon-flexible layouts) */
@media (min-width: 1025px) {
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-layout-icon-flexible .dgwt-wcas-search-form,
  body.dc-classic-header .whb-header .whb-general-header .js-dgwt-wcas-layout-icon-flexible .dgwt-wcas-search-form {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-sf-wrapp {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--dc-surface) !important;
    border-radius: var(--dc-pill) !important;
    padding: 4px 16px !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    transition: background var(--dc-ease), border-color var(--dc-ease), box-shadow var(--dc-ease);
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-sf-wrapp:focus-within {
    background: #fff !important;
    border-color: var(--dc-primary) !important;
    box-shadow: 0 0 0 4px var(--dc-primary-ring) !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-input,
  body.dc-classic-header .whb-header .whb-general-header input[type="search"].dgwt-wcas-search-input {
    width: 100% !important;
    flex: 1 1 auto !important;
    order: 1;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 9px 12px !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    color: var(--dc-text) !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-input::placeholder {
    color: var(--dc-muted) !important;
    opacity: 1;
  }

  /* Keep magnifier SVG inside the button (plugin SVG is absolute) */
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-sf-wrapp button,
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-submit {
    color: var(--dc-muted) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    flex: 0 0 auto !important;
    order: 2; /* RTL flex → visual LEFT of the pill */
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-ico-magnifier,
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
    position: static !important;
    inset: auto !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    margin: 0 !important;
    display: block !important;
    color: var(--dc-muted) !important;
    fill: currentColor !important;
  }

  body.dc-classic-header .whb-header .whb-general-header a.dgwt-wcas-search-icon,
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-icon-arrow {
    display: none !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-preloader {
    inset-inline-start: 14px !important;
    inset-inline-end: auto !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-voice-search,
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-preloader {
    order: 3;
  }
}

/* Mobile/tablet: icon only — FiboSearch overlay opens the full form */
@media (max-width: 1024px) {
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-wrapp {
    width: 42px !important;
    max-width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-layout-icon .dgwt-wcas-search-form,
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-mobile-overlay-trigger-active .dgwt-wcas-search-form {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  body.dc-classic-header .whb-header .whb-general-header a.dgwt-wcas-search-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--dc-radius-sm);
    color: var(--dc-text) !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-search-icon-arrow {
    display: none !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-ico-magnifier-handler {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    margin: 0 !important;
    display: block !important;
    color: var(--dc-text) !important;
    fill: currentColor !important;
  }

  /* Hit-area above the visible icon so overlay opens on tap */
  body.dc-classic-header .whb-header .whb-general-header .dgwt-wcas-enable-mobile-form {
    width: 42px !important;
    height: 42px !important;
    left: 0 !important;
    right: auto !important;
    z-index: 3 !important;
  }
}

/* ── Support → icon + hover card ───────────────────── */
body.dc-classic-header .whb-header .whb-general-header .wd-info-box {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--dc-radius-sm);
  color: var(--dc-text);
  transition: background var(--dc-ease), transform var(--dc-ease), color var(--dc-ease);
  z-index: 5;
  overflow: visible !important;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box:hover,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box:focus-within {
  background: var(--dc-surface);
  transform: translateY(-1px);
  color: var(--dc-ink);
  z-index: 30;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .box-icon-wrapper,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-icon,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-svg-wrapper {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-svg-wrapper img,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-icon img,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-icon svg,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .dc-support-ico {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  display: block;
  filter: none;
  color: inherit;
  fill: none;
  stroke: currentColor;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-content {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  right: auto;
  transform: translateY(-50%) translateX(-8px) scale(0.96);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 10px 14px !important;
  min-width: 158px;
  width: max-content;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  box-shadow: var(--dc-shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  margin: 0 !important;
  transition:
    opacity var(--dc-ease),
    transform var(--dc-ease-spring),
    visibility var(--dc-ease);
  z-index: 40;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-content::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(255, 255, 255, 0.96);
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box:hover .info-box-content,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box:focus-within .info-box-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner strong,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner br + span,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .dc-support-label {
  display: block;
  font-size: 0.72rem !important;
  color: var(--dc-muted) !important;
  font-weight: 500 !important;
  text-align: right;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner span,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .dc-support-phone,
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner a {
  font-size: 0.9rem !important;
  direction: ltr;
  display: inline-block;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-align: right;
  width: 100%;
  color: var(--dc-text) !important;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner br {
  display: none;
}

/* Make the first strong act as label, phone as bold */
body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner strong {
  font-size: 0.72rem !important;
  color: var(--dc-muted) !important;
  font-weight: 500 !important;
}

body.dc-classic-header .whb-header .whb-general-header .wd-info-box .info-box-inner span[style] {
  color: var(--dc-text) !important;
  font-size: 0.9rem !important;
}

/* ── Action buttons (account / compare / cart) ─────── */
body.dc-classic-header .whb-header .dc-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-element,
body.dc-classic-header .whb-header .whb-general-header .wd-tools-element {
  margin: 0 !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-element > a,
body.dc-classic-header .whb-header .whb-general-header .wd-tools-element > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--dc-radius-sm);
  color: var(--dc-text) !important;
  position: relative;
  transition: background var(--dc-ease), transform var(--dc-ease), color var(--dc-ease);
  background: transparent !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-element > a:hover,
body.dc-classic-header .whb-header .whb-general-header .wd-tools-element > a:hover {
  background: var(--dc-surface) !important;
  transform: translateY(-1px);
  color: var(--dc-text) !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-icon,
body.dc-classic-header .whb-header .whb-general-header .wd-tools-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 !important;
  color: inherit !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-icon::before,
body.dc-classic-header .whb-header .whb-general-header .wd-tools-icon::before {
  font-size: 20px !important;
  line-height: 1 !important;
  color: inherit !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-text,
body.dc-classic-header .whb-header .dc-header-actions .wd-cart-subtotal,
body.dc-classic-header .whb-header .dc-header-actions .wd-tools-element .wd-tools-text {
  display: none !important;
}

/* Badges */
body.dc-classic-header .whb-header .dc-header-actions .wd-tools-count,
body.dc-classic-header .whb-header .dc-header-actions .wd-cart-number,
body.dc-classic-header .whb-header .whb-general-header .wd-tools-count {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  right: auto !important;
  bottom: auto !important;
  background: var(--dc-primary) !important;
  color: #fff !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  height: 17px !important;
  min-width: 17px !important;
  padding: 0 4px !important;
  border-radius: var(--dc-pill) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 0 2px #fff !important;
  line-height: 1 !important;
  transform: none !important;
  animation: dc-pulseDot 2.4s ease-in-out infinite;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-tools-count span,
body.dc-classic-header .whb-header .dc-header-actions .wd-cart-number span {
  display: none !important;
}

/* Account dropdown — keep Woodmart markup, modern glass skin */
body.dc-classic-header .whb-header .dc-header-actions .wd-header-my-account,
body.dc-classic-header .whb-header .whb-general-header .wd-header-my-account {
  position: relative;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-dropdown-my-account,
body.dc-classic-header .whb-header .whb-general-header .wd-dropdown-my-account {
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  width: 220px !important;
  min-width: 220px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--dc-radius) !important;
  box-shadow: var(--dc-shadow-lg) !important;
  border: 1px solid var(--dc-border) !important;
  padding: 8px !important;
  margin: 0 !important;
  z-index: 1100;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-dropdown-my-account .wd-sub-menu,
body.dc-classic-header .whb-header .whb-general-header .wd-dropdown-my-account .wd-sub-menu {
  margin: 0 !important;
  padding: 0 !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-dropdown-my-account a,
body.dc-classic-header .whb-header .whb-general-header .wd-dropdown-my-account a {
  display: block !important;
  padding: 10px 12px !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  color: var(--dc-text) !important;
  transition: background var(--dc-ease), color var(--dc-ease);
  text-decoration: none !important;
  background: transparent !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-dropdown-my-account a:hover,
body.dc-classic-header .whb-header .whb-general-header .wd-dropdown-my-account a:hover {
  background: var(--dc-surface) !important;
  color: var(--dc-primary) !important;
}

body.dc-classic-header .whb-header .dc-header-actions .wd-dropdown-my-account .woocommerce-MyAccount-navigation-link--customer-logout a,
body.dc-classic-header .whb-header .whb-general-header .wd-dropdown-my-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #d93025 !important;
}

/* ── Bottom nav row ────────────────────────────────── */
body.dc-classic-header .whb-header .whb-header-bottom {
  border-top: 1px solid var(--dc-border) !important;
  padding: 0;
  max-height: 64px;
  overflow: hidden;
  transition:
    opacity var(--dc-ease),
    max-height var(--dc-ease),
    padding var(--dc-ease),
    border-color var(--dc-ease);
}

body.dc-classic-header .whb-header .whb-header-bottom-inner {
  padding: 12px 0;
  min-height: 0 !important;
  justify-content: flex-start !important;
}

body.dc-classic-header .whb-header .whb-main-header.dc-is-sticky .whb-header-bottom,
body.dc-classic-header .whb-header.dc-is-sticky .whb-header-bottom {
  max-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  border-color: transparent !important;
}

body.dc-classic-header .whb-header .whb-main-header.dc-is-sticky .whb-header-bottom-inner,
body.dc-classic-header .whb-header.dc-is-sticky .whb-header-bottom-inner {
  padding: 0;
}

/* Keep sticky category trigger; hide emptied action column after move */
body.dc-classic-header .whb-header .whb-header-bottom .whb-col-right {
  display: none !important;
}

body.dc-classic-header .whb-header .whb-header-bottom .whb-col-left {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-header-sticky-nav > a,
body.dc-classic-header .whb-header .whb-header-bottom .wd-header-sticky-nav .wd-tools-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--dc-radius-sm);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--dc-text) !important;
  transition: background var(--dc-ease), transform var(--dc-ease), color var(--dc-ease);
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-header-sticky-nav > a:hover {
  background: var(--dc-surface) !important;
  transform: translateY(-1px);
  color: var(--dc-primary) !important;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-header-divider {
  opacity: 0.35;
  margin-inline: 4px 8px;
}

body.dc-classic-header .whb-header .whb-header-bottom .whb-col-center {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  justify-content: flex-start !important;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-header-nav,
body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header {
  display: flex !important;
  align-items: center;
  gap: 32px;
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li {
  margin: 0 !important;
  padding: 0 !important;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li > a,
body.dc-classic-header .whb-header .whb-header-bottom .woodmart-nav-link {
  font-size: 0.88rem !important;
  font-weight: 550 !important;
  color: var(--dc-muted) !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  position: relative;
  transition: color var(--dc-ease);
  line-height: 1.4 !important;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li > a::after,
body.dc-classic-header .whb-header .whb-header-bottom .woodmart-nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--dc-primary);
  transition: width var(--dc-ease);
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li > a:hover,
body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li.current-menu-item > a,
body.dc-classic-header .whb-header .whb-header-bottom .woodmart-nav-link:hover {
  color: var(--dc-primary) !important;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li > a:hover::after,
body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li.current-menu-item > a::after,
body.dc-classic-header .whb-header .whb-header-bottom .woodmart-nav-link:hover::after {
  width: 100%;
}

body.dc-classic-header .whb-header .whb-header-bottom .wd-nav-header > li > a .nav-link-text {
  color: inherit !important;
}

/* Light scheme overrides (was white-on-red) */
body.dc-classic-header .whb-header .whb-header-bottom.whb-color-light,
body.dc-classic-header .whb-header .whb-header-bottom.whb-color-light a,
body.dc-classic-header .whb-header .whb-header-bottom.whb-color-light .wd-tools-element > a {
  color: var(--dc-text) !important;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  body.dc-classic-header .whb-header .whb-header-bottom {
    display: none !important;
  }

  body.dc-classic-header .whb-header .whb-general-header .whb-col-center {
    margin-inline: 8px;
    max-width: none;
  }

  body.dc-classic-header .whb-header .whb-general-header .container {
    padding-inline: 16px;
  }

  /* Don't force desktop rearrange styles onto mobile columns */
  body.dc-classic-header .whb-header .whb-general-header .whb-col-right {
    display: none !important;
  }
}

@media (max-width: 640px) {
  body.dc-classic-header .whb-header .whb-general-header .site-logo img,
  body.dc-classic-header .whb-header .whb-general-header .wd-logo img {
    height: 40px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dc-classic-header .whb-header .whb-main-header,
  body.dc-classic-header .whb-header .whb-general-header-inner,
  body.dc-classic-header .whb-header .whb-header-bottom,
  body.dc-classic-header .whb-header .wd-info-box,
  body.dc-classic-header .whb-header .wd-info-box .info-box-content,
  body.dc-classic-header .whb-header .dc-header-actions .wd-tools-element > a {
    transition: none !important;
  }

  body.dc-classic-header .whb-header .dc-header-actions .wd-tools-count,
  body.dc-classic-header .whb-header .dc-header-actions .wd-cart-number {
    animation: none !important;
  }
}
