:root {
  --d2-blue: #0a84ff;
  --d2-blue-dark: #0670d8;
  --d2-ink: #111;
  --d2-muted: #6b6b6b;
  --d2-gray: #f4f4f4;
  --d2-line: #e3e3e3;
  --d2-tint: #eef5fd;
  --d2-white: #fff;
  --d2-container: 1340px;
  --d2-gutter: clamp(16px, 3.5vw, 50px);
  --d2-font: "Poppins", system-ui, sans-serif;
}

/* Scoped base (no global resets, WooCommerce pages stay untouched) */
.dbd2-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.dbd2-topbar,
.dbd2-header,
.dbd2-footer {
  font-family: var(--d2-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.dbd2-topbar *,
.dbd2-header *,
.dbd2-footer *,
.dbd2-topbar *::before,
.dbd2-header *::before,
.dbd2-footer *::before,
.dbd2-topbar *::after,
.dbd2-header *::after,
.dbd2-footer *::after {
  box-sizing: border-box;
}

.dbd2-header button,
.dbd2-footer button {
  font: inherit;
  cursor: pointer;
}

.dbd2-header ul,
.dbd2-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dbd2-header a,
.dbd2-footer a {
  color: inherit;
  text-decoration: none;
}

.dbd2-footer h4,
.dbd2-footer p {
  margin-top: 0;
}

.dbd2-icon {
  width: 1em;
  height: 1em;
  fill: none;
  /*stroke: currentColor;*/
    stroke: #fff;

  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dbd2-container {
  width: min(var(--d2-container), 100% - var(--d2-gutter) * 2);
  margin-inline: auto;
}

/* Top bar */
.dbd2-topbar {
  padding: 7px var(--d2-gutter);
  background: #0067e0;
  color: #fff;
  /*var(--d2-white);*/
  font-size: 10px;
  text-align: center;
}

/* Top bar marquee: two identical groups, track moves by exactly one group */
.dbd2-marquee { overflow: hidden; white-space: nowrap; }
.dbd2-marquee__track { display: flex; width: max-content; animation: dbd2-marquee 40s linear infinite; }
.dbd2-marquee__group { display: flex; flex: none; }
.dbd2-marquee__group span { padding-right: 64px; }
.dbd2-topbar:hover .dbd2-marquee__track { animation-play-state: paused; }
@keyframes dbd2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .dbd2-marquee__track { animation: none; }
  .dbd2-marquee__group + .dbd2-marquee__group { display: none; }
}

/* Header */
.dbd2-header {
  position: sticky;
  top: 0;
  z-index: 9999999;
  background: #000; 
  /*var(--d2-white);*/
  border-bottom: 1px solid var(--d2-line);
  transition: box-shadow 0.3s ease;
}

.dbd2-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.dbd2-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.dbd2-header__logo img {
  width: auto;
  max-width: none;
  height: 44px;
}

.dbd2-nav {
  align-self: stretch;
  justify-self: center;
}

.dbd2-nav__list {
  display: flex;
  align-items: stretch;
  gap: 34px;
  height: 100%;
  font-size: 13px;
  font-weight: 500;
}

.dbd2-nav__list > li {
  display: flex;
  align-items: stretch;
}

.dbd2-nav__list > li > a,
.dbd2-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  /*inherit;*/
  font: inherit;
  transition: color 0.25s ease;
}

.dbd2-nav__list > li > a:hover,
.dbd2-nav__trigger:hover {
  color: var(--d2-blue);
}

/* Mega menu */
.dbd2-nav__item--mega .dbd2-icon {
  transition: transform 0.3s ease;
}

.dbd2-nav__item--mega.is-open .dbd2-icon {
  transform: rotate(180deg);
}

.dbd2-nav__item--mega.is-open .dbd2-nav__trigger {
  color: var(--d2-blue);
}

.dbd2-mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  visibility: hidden;
  border-top: 1px solid var(--d2-line);
  background: var(--d2-white);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.is-open > .dbd2-mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.dbd2-mega .dbd2-container {
  padding-block: 24px 32px;
}

.dbd2-mega__tabs::-webkit-scrollbar { display: none; }

.dbd2-mega__tabs {
  display: flex;
  /* old: flex-wrap: wrap; (tabs wrapped to a 2nd row and hid on hover) */
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  /* old: gap: 4px 28px; */
  gap: 4px 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--d2-line);
}

.dbd2-mega__tab {
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--d2-ink);
  /* old: font-size: 12px; (smaller so all parent categories fit in one line) */
  font-size: 11px;
  white-space: nowrap;
  flex: 0 0 auto;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.dbd2-mega__tab:hover,
.dbd2-mega__tab.is-active {
  border-bottom-color: var(--d2-blue);
  color: var(--d2-blue);
}

.dbd2-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.dbd2-mega__pane {
  display: none;
}

.dbd2-mega__pane.is-active {
  display: grid;
}

.dbd2-mega__item {
  position: relative;
}

.dbd2-mega__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 36px;
  border-radius: 8px;
  background: var(--d2-gray);
  font-size: 14px;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.dbd2-nav__list .dbd2-mega__link:hover,
.dbd2-mega__item:focus-within > .dbd2-mega__link {
  background: var(--d2-tint);
  color: var(--d2-blue);
}

.dbd2-mega__item--parent > .dbd2-mega__link::after {
  content: "\203A";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-52%);
  font-size: 18px;
  line-height: 1;
}

.dbd2-mega__sub {
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  left: 0;
  z-index: 2;
  visibility: hidden;
  padding: 8px;
  border: 1px solid var(--d2-line);
  border-radius: 10px;
  background: var(--d2-white);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dbd2-mega__item--parent:hover > .dbd2-mega__sub,
.dbd2-mega__item--parent:focus-within > .dbd2-mega__sub,
.dbd2-mega__item--parent.is-open > .dbd2-mega__sub {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.dbd2-mega__sub a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dbd2-nav__list .dbd2-mega__sub a:hover {
  background: var(--d2-tint);
  color: var(--d2-blue);
}

.dbd2-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
}

.dbd2-header__actions a:hover,
.dbd2-header__search:hover,
.dbd2-header__search[aria-expanded="true"] {
  color: var(--d2-blue);
}

.dbd2-header__search {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Search panel: slides down under the header */
.dbd2-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--d2-line);
  box-shadow: 0 12px 24px rgb(0 0 0 / 0.08);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.3s ease, transform 0.3s ease, clip-path 0.3s ease, visibility 0s linear 0.3s;
}

.dbd2-search.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 -30px 0);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .dbd2-search {
    transition: none;
  }
}

.dbd2-header__toggle {
  display: none;
  padding: 6px;
  border: 0;
  background: none;
}

.dbd2-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-block: 5px;
  background: var(--d2-ink);
}


/* Footer */
.dbd2-footer {
  margin-top: clamp(28px, 4.5vw, 56px);
  padding-top: 56px;
  background: #000;
  color: var(--d2-white);
  font-size: 12px;
}

.dbd2-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.dbd2-footer__brand img {
  width: auto;
  max-width: none;
  height: 48px;
}

.dbd2-footer__brand p {
  max-width: 20em;
  margin-top: 14px;
  color: #cfcfcf;
}

.dbd2-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.dbd2-footer .dbd2-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--d2-white);
  font-size: 18px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.dbd2-footer .dbd2-social a:hover {
  border-color: var(--d2-blue);
  background: var(--d2-blue);
  transform: translateY(-3px);
}

.dbd2-footer h4 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.dbd2-footer li {
  margin-bottom: 10px;
  color: #cfcfcf;
}

.dbd2-footer a {
  transition: color 0.25s ease;
}

.dbd2-footer li a:hover {
  color: var(--d2-blue);
}

.dbd2-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-block: 18px;
  border-top: 1px solid #222;
  color: #aaa;
  font-size: 11px;
}

.dbd2-footer__legal {
  display: flex;
  gap: 40px;
}


/* ---- Cart badge ---- */
.dbd2-header__actions .dbd2-cart {
  position: relative;
  display: inline-flex;
}

.dbd2-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  display: none;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--d2-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
}

.dbd2-cart-count.has-items {
  display: block;
}

/* ---- Search panel: [custom_ajax_search] markup restyled ---- */
.dbd2-search .tx-search {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 20px;
}

.dbd2-search .tx-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
}

.dbd2-search .header-search {
  width: 100%;
  height: 52px;
  padding: 0 64px 0 24px !important;
  border: 1px solid #d9d9d9;
  border-radius: 999px !important;
  background: #fff;
  color: var(--d2-ink);
  font: inherit;
  font-size: 15px;
  box-shadow: none;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dbd2-search .header-search:focus {
  border-color: var(--d2-blue);
  box-shadow: 0 0 0 4px rgb(10 132 255 / 0.12);
}

.dbd2-search .submit-header-search,
.dbd2-search .icon-close-solid {
  right: 6px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dbd2-search .submit-header-search {
  background-color: var(--d2-blue) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21'/%3E%3C/svg%3E");
  background-size: 18px;
}

.dbd2-search .submit-header-search:hover {
  background-color: var(--d2-blue-dark) !important;
}

.dbd2-search .icon-close-solid {
  background-color: var(--d2-gray);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  background-size: 14px;
}

/* Results: sit inside the panel instead of floating over the page */
.dbd2-search .tx-search-overlay {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  max-height: 0;
  padding: 0 !important;
  overflow: hidden;
  background: transparent;
}

.dbd2-search .tx-search-overlay[style*="visible"] {
  max-height: 70vh;
  overflow-y: auto;
}

.dbd2-search .tx-search-overlay-inner {
  max-width: none;
  margin: 0;
  padding: 0 0 24px !important;
}

.dbd2-search .tx-search-overlay-inner .flexRow .col-left .prod-cats {
  height: auto;
  max-height: 50vh;
}

.dbd2-search .tx-search-overlay-inner .flexRow .col-left {
  flex: 0 0 200px;
  max-width: 200px;
}

.dbd2-search .tx-search-overlay-inner .flexRow .col-middle {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.dbd2-search .tx-product-box {
  min-width: 0;
}

.dbd2-search .prod-cats li {
  padding: 4px 0;
  list-style: none;
}

.dbd2-search .prod-cats a:hover {
  color: var(--d2-blue);
}

/* Footer pieces */
.dbd2-footer__brand a {
  display: inline-block;
}

.dbd2-footer__contact li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dbd2-footer__contact strong {
  font-weight: 500;
  color: var(--d2-white);
}

.dbd2-footer__legal li {
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .dbd2-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dbd2-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .dbd2-header__toggle {
    display: block;
    order: 3;
  }

  .dbd2-header__inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .dbd2-header__actions {
    justify-self: end;
  }

  .dbd2-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-self: auto;
    justify-self: stretch;
    max-height: calc(100vh - 120px);
    padding: 16px var(--d2-gutter);
    overflow-y: auto;
    border-bottom: 1px solid var(--d2-line);
    background: var(--d2-white);
  }

  .dbd2-nav.is-open {
    display: block;
  }

  .dbd2-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: auto;
  }

  .dbd2-nav__list > li {
    display: block;
    width: 100%;
  }

  .dbd2-mega {
    position: static;
    display: none;
    visibility: visible;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .is-open > .dbd2-mega {
    display: block;
  }

  .dbd2-mega .dbd2-container {
    width: 100%;
    padding-block: 12px 4px;
  }

  .dbd2-mega__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .dbd2-mega__tab {
    white-space: nowrap;
  }

  .dbd2-mega__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dbd2-mega__link {
    min-height: 44px;
    padding-inline: 28px;
    font-size: 13px;
  }

  .dbd2-mega__sub {
    position: static;
    display: none;
    visibility: visible;
    margin-top: 4px;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .dbd2-mega__item--parent.is-open > .dbd2-mega__sub {
    display: block;
  }
}

@media (max-width: 768px) {
  .dbd2-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dbd2-search .tx-search-overlay-inner .flexRow .col-left {
    display: none;
  }

  .dbd2-search .tx-search-overlay-inner .flexRow .col-middle {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .dbd2-search .col-middle .prod-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dbd2-header__inner {
    gap: 12px;
  }

  .dbd2-header__logo img {
    height: 30px;
  }

  .dbd2-header__actions {
    gap: 14px;
  }

  .dbd2-footer__grid {
    grid-template-columns: 1fr;
  }

  .dbd2-footer__legal {
    gap: 20px;
  }
}

/* Mobile header: menu left, logo centred, search + cart right */
@media (max-width: 768px) {
  .dbd2-header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .dbd2-header__toggle {
    grid-column: 1;
    order: 0;
  }
  .dbd2-header__logo {
    grid-column: 2;
    justify-self: center;
  }
  .dbd2-header__actions {
    grid-column: 3;
    order: 0;
  }
  .dbd2-header__actions a[aria-label="Account"] {
    display: none;
  }
}

/* Mobile header v2: keep all three items on one row, centred logo */
@media (max-width: 768px) {
  .dbd2-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }
  .dbd2-header__toggle,
  .dbd2-header__logo,
  .dbd2-header__actions {
    grid-row: 1;
  }
  .dbd2-header__logo {
    min-width: 0;
  }
  .dbd2-header__logo img {
    height: 30px;
  }
}

/* Mobile section headings: smaller and consistent across homepage sections */
@media (max-width: 600px) {
  .dbd2-why .dbd2-why__title,
  .dbd2-br .dbd2-br__title,
  .dbd2-depts .dbd2-depts__title,
  .dbd2-stats .dbd2-stats__heading,
  .dbd2-ti .dbd2-ti__title,
  .dbd2-steps .dbd2-steps__title,
  .dbd2-tt .dbd2-tt__title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .dbd2-nl .dbd2-nl__title {
    font-size: 26px !important;
  }
}

/* Mobile footer: left-aligned stack, copyright then divider then links in a column */
@media (max-width: 600px) {
  .dbd2-footer__grid { gap: 32px; }
  .dbd2-footer h4 { font-size: 18px; margin-bottom: 14px; }
  .dbd2-footer__contact li { font-size: 15px; }
  .dbd2-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 28px;
    padding-block: 18px 0;
    border-top: 0;
    font-size: 13px;
  }
  .dbd2-footer__legal {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-top: 22px;
    border-top: 1px solid #222;
    font-size: 15px;
  }
}

/* Mobile footer v2: keep space above the links (beats the base ul reset) */
@media (max-width: 600px) {
  .dbd2-footer .dbd2-footer__legal {
    padding-top: 22px !important;
    margin-top: 0 !important;
  }
}

/* Mobile header: keep the account icon next to search and cart */
@media (max-width: 600px) {
  .dbd2-header__actions a[aria-label="Account"] { display: inline-flex !important; }
  .dbd2-header__actions { gap: 12px; }
}

/* Inner page title band: black, left-aligned white title (Figma), breadcrumb kept */
.dbd-page-header { background: #000; padding: 56px 0 44px; text-align: left; }
.dbd-page-header__title { color: #fff; text-align: left; font-size: 52px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 16px; }
.dbd-page-header .dbd-breadcrumb, .dbd-page-header .dbd-breadcrumb a, .dbd-page-header .dbd-breadcrumb span { color: #bdbdbd; text-align: left; }
.dbd-page-header .dbd-breadcrumb__sep { color: #777; }
@media (max-width: 600px) {
  .dbd-page-header { padding: 36px 0 30px; }
  .dbd-page-header__title { font-size: 32px; }
}

/* ---- v3: search results restyled (theme colors, smaller fonts, "No image" box) ---- */
.dbd2-search .tx-title-red {
  margin: 0 0 8px;
  padding-left: 0 !important;
  color: var(--d2-muted);
  font-family: var(--d2-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase !important;
}

.dbd2-search .tx-search-overlay-inner .flexRow .col-left .prod-cats {
  height: auto;
  margin-top: 4px;
  padding-left: 0;
}

.dbd2-search .tx-search-overlay .prod-cats li a {
  /* old: color: var(--d2-ink); (a site-level green rule still won, so blue + !important) */
  color: var(--d2-blue) !important;
  font-family: var(--d2-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.dbd2-search .tx-search-overlay .prod-cats li a:hover {
  color: var(--d2-blue-dark) !important;
}

@media (min-width: 769px) {
  .dbd2-search .col-middle .prod-results {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 8px;
  }
}

.dbd2-search .col-middle .tx-product-box {
  padding: 10px;
  border: 1px solid var(--d2-line);
  border-radius: 12px;
  font-family: var(--d2-font);
}

.dbd2-search .col-middle .tx-product-box:hover {
  transform: none;
  border-color: var(--d2-blue);
  box-shadow: 0 6px 16px rgb(10 132 255 / 0.12);
}

.dbd2-search .tx-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--d2-gray);
}

.dbd2-search .col-middle .tx-product-box .tx-product-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

/* no image: hide the broken icon and show a label */
.dbd2-search .tx-product-image img[src=""],
.dbd2-search .tx-product-image.is-noimg img {
  display: none;
}

.dbd2-search .tx-product-image:has(img[src=""])::after,
.dbd2-search .tx-product-image.is-noimg::after {
  content: "No image";
  color: var(--d2-muted);
  font-size: 11px;
  font-weight: 500;
}

.dbd2-search .col-middle .tx-product-box h5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 0;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

.dbd2-search .col-middle .tx-product-box h5 a {
  color: var(--d2-ink);
}

.dbd2-search .col-middle .tx-product-box h5 a:hover {
  color: var(--d2-blue);
}

.dbd2-search .col-middle .tx-product-box h6 {
  margin: 0;
  color: var(--d2-blue);
  font-size: 13px;
  font-weight: 600;
}

/* "View all results" button */
.dbd2-search .prod-results .col-right {
  display: block !important;
  grid-column: 1 / -1;
  margin-top: 4px;
  text-align: center;
}

.dbd2-search .col-right a.view-results {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--d2-blue);
  color: #fff !important;
  font-family: var(--d2-font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.dbd2-search .col-right a.view-results span {
  color: #fff !important;
}

.dbd2-search .col-right a.view-results:hover {
  background: var(--d2-blue-dark);
}

.dbd2-search .prod-results > p {
  grid-column: 1 / -1;
  margin: 8px 0;
  color: var(--d2-muted);
  font-size: 14px;
}

/* ---- v4: slim blue scrollbars in the search panel ---- */
.dbd2-search .tx-search-overlay,
.dbd2-search .prod-cats {
  scrollbar-width: thin;
  scrollbar-color: var(--d2-blue) var(--d2-gray);
}

@supports not (scrollbar-color: auto) {
  .dbd2-search .tx-search-overlay::-webkit-scrollbar,
  .dbd2-search .prod-cats::-webkit-scrollbar {
    width: 8px;
  }

  .dbd2-search .tx-search-overlay::-webkit-scrollbar-track,
  .dbd2-search .prod-cats::-webkit-scrollbar-track {
    border-radius: 999px;
    background: var(--d2-gray);
  }

  .dbd2-search .tx-search-overlay::-webkit-scrollbar-thumb,
  .dbd2-search .prod-cats::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--d2-blue);
  }

  .dbd2-search .tx-search-overlay::-webkit-scrollbar-thumb:hover,
  .dbd2-search .prod-cats::-webkit-scrollbar-thumb:hover {
    background: var(--d2-blue-dark);
  }
}

/* ---- v5: heart (wishlist) icon hidden on every product card ---- */
.tsc__wish,
.hotcat-wish {
  display: none !important;
}

/* ---- v7: shop filter sidebar (Tech Shop) restyled: white card, blue accents, soft hover rows ---- */
.ts-shop-wrap .ts-shopgrid aside.ts-filters.ts-card {
  padding: 20px 20px 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.05);
}

/* header: "Filters" + reset pill */
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-card__head {
  justify-content: space-between;
  padding: 0 0 14px;
  border-bottom: 1px solid #eef0f3;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-card__head strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-pill--btn {
  padding: 5px 12px;
  border: 1px solid #cfe3ff;
  border-radius: 999px;
  background: #f1f7ff;
  color: #0a84ff;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-pill--btn:hover {
  background: #0a84ff;
  color: #fff;
  box-shadow: none;
}

/* block titles: small caps label with a blue bar */
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-filterblock { padding: 18px 0; border-bottom: 1px solid #eef0f3; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-ftitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-ftitle::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #0a84ff;
}

/* category rows */
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-flink {
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #1f2937;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-flink:hover { background: #f1f7ff; color: #0a84ff; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-flink::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #b6bcc8;
  border-radius: 5px;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-flink.is-active { background: #eaf3ff; color: #0a84ff; font-weight: 600; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-flink__count {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-flink.is-active .ts-flink__count { background: #fff; color: #0a84ff; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-toggle-btn { width: 24px; min-width: 24px; height: 24px; border-radius: 50%; color: #6b7280; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-toggle-btn:hover { background: #fff; color: #0a84ff; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-cat-list--sub { margin: 2px 0 4px 14px; padding-left: 10px; border-left: 1px solid #e5e7eb; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-cat-more { color: #0a84ff; font-weight: 600; }

/* price range */
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-track { height: 5px; background: #e5e7eb; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-fill { background: #0a84ff; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-track input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  background: #0a84ff;
  box-shadow: 0 2px 8px rgb(10 132 255 / 0.45);
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-track input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  background: #0a84ff;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-labels span {
  height: 40px;
  padding: 0 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-wrap .ts-apply-price {
  height: 40px;
  border-radius: 8px;
  background: #0a84ff;
  font-size: 14px;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-range-wrap .ts-apply-price:hover { background: #0670d8; }

/* sort / rating / availability rows */
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-checks { gap: 2px; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-check {
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #1f2937;
  font-size: 14px;
  transition: background 0.15s ease;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-check:hover { background: #f1f7ff; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-check:has(input:checked) { background: #eaf3ff; color: #0a84ff; font-weight: 600; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-check input { width: 16px; height: 16px; accent-color: #0a84ff; }
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-stars { font-size: 13px; letter-spacing: 1px; }

/* clear button */
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-clear-avail {
  height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ts-shop-wrap .ts-shopgrid .ts-filters .ts-clear-avail:hover { border-color: #0a84ff; color: #0a84ff; box-shadow: none; }

/* Mega menus: same height for Categories and Departments */
.dbd2-mega .dbd2-container { min-height: 336px; box-sizing: border-box; }

/* Departments: image cards (department banner image) */
.dbd2-mega__depts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dbd2-dept-card { position: relative; display: flex; align-items: flex-end; height: 280px; padding: 22px; overflow: hidden; border-radius: 12px; background: #111 center / cover no-repeat; color: #fff; background-position: top}
.dbd2-dept-card.is-noimg { background: linear-gradient(135deg, #0a84ff, #0b1f3a); }

.dbd2-dept-card__title::after { content: " \2192"; color: var(--d2-blue); transition: margin-left .2s ease; }
.dbd2-dept-card:hover::before { background-color: rgba(10, 132, 255, .22); }
.dbd2-dept-card:hover .dbd2-dept-card__title::after { margin-left: 6px; }
.dbd2-dept-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.88) 100%); transition: background-color .25s ease; }
.dbd2-nav__list .dbd2-dept-card .dbd2-dept-card__title { position: relative; z-index: 1; font-size: 18px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.dbd2-nav__list .dbd2-dept-card,
.dbd2-nav__list .dbd2-dept-card:hover { color: #fff; }

/* Sub menu: limited height with a blue scrollbar */
.dbd2-mega__sub { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--d2-blue) transparent; }
.dbd2-mega__sub::-webkit-scrollbar { width: 6px; }
.dbd2-mega__sub::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
.dbd2-mega__sub::-webkit-scrollbar-thumb { background: var(--d2-blue); border-radius: 6px; }
.dbd2-mega__sub::-webkit-scrollbar-thumb:hover { background: var(--d2-blue-dark); }

@media (max-width: 900px) {
  .dbd2-mega .dbd2-container { min-height: 0; }
  .dbd2-mega__depts { grid-template-columns: 1fr; }
  .dbd2-dept-card { height: 150px; }
  .dbd2-mega__sub { max-height: 220px; }
}

#dbd2-nav > ul > li:nth-child(2){
    display:none;
}


/* ==========================================================
   Mobile menu fix (black header)
   - hamburger lines were #111 on the black header -> white
   - menu panel is white, but links were white too -> dark text
   ========================================================== */
.dbd2-header__toggle { color: #fff; }
.dbd2-header__toggle span {
  background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}
/* open state: lines turn into an X */
.dbd2-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dbd2-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dbd2-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .dbd2-nav {
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
  }
  .dbd2-nav__list {
    gap: 0;
    font-size: 15px;
  }
  .dbd2-nav__list > li {
    border-bottom: 1px solid var(--d2-line);
  }
  .dbd2-nav__list > li:last-child { border-bottom: 0; }
  .dbd2-nav__list > li > a,
  .dbd2-nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--d2-ink);
  }
  .dbd2-nav__list > li > a:hover,
  .dbd2-nav__trigger:hover,
  .dbd2-nav__item--mega.is-open .dbd2-nav__trigger { color: var(--d2-blue); }
  /* icons inside the white menu follow the text colour (global icon stroke is white) */
  .dbd2-nav .dbd2-icon { stroke: currentColor; }
  .dbd2-mega .dbd2-container { padding-block: 4px 16px; }
}

