/* Behin responsive navigation refresh — desktop mega-menu, accessible mobile drawer, refined quick bar. */
.dk-menu-toggle,
.dk-mobile-drawer,
.dk-drawer-scrim { display: none; }
.dk-cart-action { position: relative; }
.dk-cart-count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 99px; color: #fff; background: #EF394E; font-size: 10px; line-height: 1; font-weight: 900;
}
.dk-header-nav { min-height: 48px; }
.dk-nav-links { overflow: visible; }
.dk-nav-item { min-height: 38px; border: 0; background: transparent; font: inherit; cursor: pointer; }
.dk-nav-item .bh-ico { flex: 0 0 auto; }
.dk-nav-credit { color: #B4233B; }
.dk-nav-credit.is-active { background: #FFF0F2; color: #A81931; }
.dk-mega-wrap { position: relative; display: flex; align-items: center; }
.dk-mega-trigger { gap: 7px; }
.dk-mega-trigger > .bh-ico:last-child { transition: transform .2s ease; }
.dk-mega-wrap.is-open .dk-mega-trigger > .bh-ico:last-child,
.dk-mega-wrap:hover .dk-mega-trigger > .bh-ico:last-child,
.dk-mega-wrap:focus-within .dk-mega-trigger > .bh-ico:last-child { transform: rotate(-90deg); }
.dk-mega-panel {
  position: absolute; top: calc(100% + 12px); right: -10px; z-index: 180;
  display: grid; grid-template-columns: 218px minmax(300px, 1fr) 220px; gap: 15px;
  width: min(900px, calc(100vw - 36px)); padding: 17px;
  border: 1px solid #DFEAF7; border-radius: 20px; background: rgba(255,255,255,.985);
  box-shadow: 0 24px 68px rgba(9,34,78,.20); opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.dk-mega-wrap:hover .dk-mega-panel,
.dk-mega-wrap:focus-within .dk-mega-panel,
.dk-mega-wrap.is-open .dk-mega-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.dk-mega-intro { padding: 14px 13px; border-radius: 15px; background: linear-gradient(150deg,#071A3E,#0B4CB5); color: #fff; }
.dk-mega-kicker { display: inline-block; margin-bottom: 9px; color: #9EDCFF; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.dk-mega-intro > strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.6; }
.dk-mega-intro p { margin: 6px 0 14px; color: rgba(255,255,255,.78); font-size: 10.5px; line-height: 1.9; }
.dk-mega-all, .dk-mega-feature-link { display: inline-flex; align-items: center; gap: 7px; color: #BDEBFF; font-size: 10.5px; font-weight: 900; }
.dk-mega-all .bh-ico, .dk-mega-feature-link .bh-ico { transform: rotate(180deg); }
.dk-mega-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; align-content: center; }
.dk-mega-category { display: flex; align-items: center; gap: 10px; min-height: 67px; padding: 10px; border: 1px solid #E4EDF7; border-radius: 13px; color: #1453A6; background: #FBFDFF; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.dk-mega-category:hover { transform: translateY(-2px); border-color: #B5D2F6; background: #F1F7FF; }
.dk-mega-category > .bh-ico:first-child { color: #1762C5; }
.dk-mega-category > span { display: grid; gap: 2px; flex: 1; }
.dk-mega-category strong { color: #152C4D; font-size: 11px; font-weight: 900; }
.dk-mega-category small { color: #77869B; font-size: 9px; }
.dk-mega-category > .bh-ico:last-child { color: #91A5C0; transform: rotate(180deg); }
.dk-mega-feature { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px; border: 1px solid #DDEBFA; border-radius: 15px; background: linear-gradient(145deg,#F1F8FF,#EAF4FF); }
.dk-mega-feature-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 8px; border-radius: 12px; color: #0754C8; background: #fff; box-shadow: 0 4px 14px rgba(7,84,200,.10); }
.dk-mega-feature > strong { color: #0D2C59; font-size: 12px; font-weight: 900; }
.dk-mega-feature p { margin: 5px 0 11px; color: #576B85; font-size: 9.5px; line-height: 1.9; }
.dk-mega-feature-link { color: #0754C8; }
.dk-nav-wallet { color: #1453A6; }

.bh-bottom-nav { display: none; }
html { scroll-padding-top: 86px; }
body { padding-bottom: 30px; }

@media (max-width: 1080px) and (min-width: 861px) {
  .dk-brand small { display: none; }
  .dk-header-top { gap: 11px; }
  .dk-header-actions { gap: 5px; }
  .dk-nav-item { padding-inline: 9px; font-size: 11.5px; }
  .dk-mega-panel { grid-template-columns: 185px minmax(280px,1fr) 190px; }
}

@media (max-width: 860px) {
  body { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .dk-market-ticker { display: none; }
  .dk-header { z-index: 160; margin-bottom: 12px; }
  .dk-header-top {
    display: grid; grid-template-columns: 40px minmax(0,1fr) auto; grid-template-rows: 42px 38px;
    align-items: center; gap: 7px 9px; padding: 8px 0 9px;
  }
  .dk-menu-toggle {
    grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; width: 40px; height: 40px; padding: 0; border: 1px solid #DCE8F7; border-radius: 13px;
    color: #0C3471; background: #F7FAFF; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .dk-menu-toggle span { display: block; width: 17px; height: 2px; border-radius: 99px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .dk-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .dk-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .dk-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .dk-brand { grid-column: 2; grid-row: 1; justify-self: start; gap: 8px; }
  .dk-logo-mark { width: 36px; height: 36px; border-radius: 12px; }
  .dk-brand strong { font-size: 15px; line-height: 1.4; }
  .dk-brand small { display: none; }
  .dk-header-actions { grid-column: 3; grid-row: 1; gap: 6px; }
  .dk-account-action, .dk-cart-action {
    display: inline-flex !important; align-items: center; justify-content: center; position: relative;
    width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0 !important;
    border: 1px solid #DCE8F7; border-radius: 13px; background: #F7FAFF; color: #0D397B;
  }
  .dk-account-action span, .dk-account-action strong, .dk-cart-action span { display: none !important; }
  .dk-account-action .bh-ico, .dk-cart-action .bh-ico { width: 18px; height: 18px; }
  .dk-cart-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid #fff; font-size: 8px; }
  .dk-search-bar {
    grid-column: 1 / -1; grid-row: 2; display: block !important; width: 100%; max-width: none; margin: 0;
  }
  .dk-search-bar input { height: 38px; padding-right: 40px; border-radius: 12px; font-size: 11.5px; }
  .dk-search-ico { right: 13px; }
  .dk-header-nav { display: none !important; }
  .dk-drawer-scrim {
    display: block; position: fixed; inset: 0; z-index: 170; background: rgba(4,16,39,.48);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease;
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  }
  .dk-mobile-drawer {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 180;
    width: min(88vw, 370px); padding: max(15px,env(safe-area-inset-top)) 15px max(15px,env(safe-area-inset-bottom));
    overflow: auto; overscroll-behavior: contain; color: #10233E; background: #fff;
    border-left: 1px solid #DCE8F5; border-radius: 0 0 0 22px; box-shadow: -20px 0 60px rgba(6,25,60,.20);
    transform: translateX(106%); visibility: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), visibility .25s ease;
  }
  body.bh-menu-open .dk-drawer-scrim { opacity: 1; visibility: visible; pointer-events: auto; }
  body.bh-menu-open .dk-mobile-drawer { transform: translateX(0); visibility: visible; }
  body.bh-menu-open { overflow: hidden; }
  .dk-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 1px 15px; border-bottom: 1px solid #EAF0F7; }
  .dk-drawer-head .dk-brand { display: flex; gap: 9px; }
  .dk-drawer-head .dk-brand-copy small { display: block; margin-top: 1px; font-size: 9px; }
  .dk-drawer-close { display: grid; place-items: center; width: 38px; height: 38px; color: #52647E; background: #F3F7FC; border: 1px solid #E2EAF4; border-radius: 12px; cursor: pointer; }
  .dk-drawer-account { display: grid; grid-template-columns: 40px minmax(0,1fr) 28px; align-items: center; gap: 10px; margin: 13px 0 10px; padding: 11px; border: 1px solid #DCE9F8; border-radius: 15px; background: linear-gradient(110deg,#F2F8FF,#FAFCFF); }
  .dk-drawer-account-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #0754C8; background: #fff; box-shadow: 0 4px 13px rgba(7,84,200,.09); }
  .dk-drawer-account > span:nth-child(2) { display: grid; gap: 2px; }
  .dk-drawer-account strong { overflow: hidden; color: #0F2A50; font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
  .dk-drawer-account small { color: #728199; font-size: 9px; }
  .dk-drawer-account > a { display: grid; place-items: center; width: 28px; height: 28px; color: #0754C8; border-radius: 9px; background: #E8F2FF; }
  .dk-drawer-account > a .bh-ico { transform: rotate(180deg); }
  .dk-drawer-links { display: flex; flex-direction: column; gap: 3px; padding: 4px 0 12px; }
  .dk-drawer-label { margin: 9px 5px 3px; color: #8A98AC; font-size: 9px; font-weight: 900; letter-spacing: .04em; }
  .dk-drawer-link { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 10px; border-radius: 11px; color: #233B5A; font-size: 11px; font-weight: 800; transition: background .16s ease, color .16s ease; }
  .dk-drawer-link:hover, .dk-drawer-link:focus-visible { color: #0754C8; background: #F0F6FF; outline: none; }
  .dk-drawer-link > .bh-ico:first-child { color: #1762C5; }
  .dk-drawer-link > span { flex: 1; }
  .dk-drawer-link > .bh-ico:last-child { margin-right: auto; color: #A0AEC0; transform: rotate(180deg); }
  .dk-drawer-footer { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 12px 5px 2px; color: #74849A; border-top: 1px solid #EDF2F8; }
  .dk-drawer-footer > span { color: #0B70C9; }
  .dk-drawer-footer small { font-size: 9px; font-weight: 700; }

  .bh-bottom-nav {
    display: grid; position: fixed; left: 50%; bottom: calc(7px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    z-index: 125; width: min(540px, calc(100% - 20px)); max-width: none; min-height: 64px;
    grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; gap: 2px; padding: 5px;
    border: 1px solid rgba(207,222,240,.95); border-radius: 21px; background: rgba(255,255,255,.97);
    box-shadow: 0 12px 35px rgba(7,30,69,.18); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  }
  .bh-bnav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 3px 2px; border-radius: 15px; color: #586B84; font-size: 9px; line-height: 1.35; font-weight: 800; transition: color .18s ease, background .18s ease; }
  .bh-bnav-item:focus-visible { outline: 2px solid #1680E8; outline-offset: 1px; }
  .bh-bnav-icon { position: relative; display: grid; place-items: center; width: 34px; height: 28px; border-radius: 10px; color: #506681; transition: color .18s ease, background .18s ease; }
  .bh-bnav-item.is-active { color: #0754C8; background: transparent; }
  .bh-bnav-item.is-active .bh-bnav-icon { color: #0754C8; background: #E8F2FF; }
  .bh-bnav-cart b { position: absolute; top: -4px; right: -5px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; color: #fff; background: #EF394E; border: 2px solid #fff; border-radius: 99px; font-size: 8px; line-height: 1; }
  html { scroll-padding-top: 110px; }
}

@media (max-width: 380px) {
  .dk-header-top { grid-template-columns: 38px minmax(0,1fr) auto; gap: 6px; }
  .dk-menu-toggle, .dk-account-action, .dk-cart-action { width: 37px; min-width: 37px; height: 37px; min-height: 37px; }
  .dk-logo-mark { width: 33px; height: 33px; }
  .dk-brand strong { font-size: 13px; }
  .bh-bottom-nav { width: calc(100% - 14px); }
  .bh-bnav-item { font-size: 8px; }
}

@media (min-width: 861px) {
  .dk-mobile-drawer, .dk-drawer-scrim { display: none !important; }
  .dk-menu-toggle { display: none !important; }
  .bh-bottom-nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .dk-mega-panel, .dk-mobile-drawer, .dk-drawer-scrim, .dk-menu-toggle span, .bh-bnav-item, .bh-bnav-icon { transition: none !important; }
}
