/* ── Dasty Header ── */
.dasty-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

/* ── Top Row ── */
.dasty-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  gap: 20px;
}

/* ── Flex Columns ── */
.dasty-col-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dasty-col-center {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.dasty-col-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16px;
}

/* ── Bottom Row ── */
.dasty-header__bottom {
  background: #1a2a4a;
}

.dasty-header__bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 44px;
}

/* ── Logo ── */
.dasty-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.dasty-logo-img {
  display: block;
  max-width: 200px;
  height: auto;
}

/* ── Search ── */
.dasty-search__form {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
  max-width: 520px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dasty-search__form:focus-within {
  border-color: #1a1a2e;
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

.dasty-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 14px;
  background: #fff;
  min-width: 0;
  -webkit-appearance: none;
}

.dasty-search__input::placeholder {
  color: #aaa;
}

.dasty-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #888;
  transition: color 0.2s ease;
}

.dasty-search__submit:hover {
  color: #1a1a2e;
}

/* ── Support ── */
.dasty-support {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  white-space: nowrap;
}

.dasty-support__icon {
  color: #fcbe00;
  display: flex;
}

.dasty-support__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.dasty-support__label {
  color: #888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.dasty-support__phone {
  font-weight: 600;
  color: #1c61e7;
  font-size: 14px;
}

/* ── Cart ── */
.dasty-cart__link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #1a2a4a;
}

.dasty-cart__link:hover {
  color: #fcbe00;
}

.dasty-cart__icon {
  position: relative;
  display: flex;
}

.dasty-cart__count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: #fcbe00;
  color: #1a2a4a;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.dasty-cart__subtotal {
  font-size: 13px;
  font-weight: 600;
}

/* ── Search toggle (mobile) ── */
.dasty-search-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a2a4a;
  padding: 4px;
}

/* ── Mobile nav button (in top header) ── */
.dasty-mobile-nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a2a4a;
  padding: 6px;
  margin-right: 8px;
}

/* ── Mobile Panel ── */
.dasty-mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

.dasty-mobile-panel.is-open {
  display: block;
}

.dasty-mobile-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}

.dasty-mobile-panel__drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s ease;
}

.dasty-mobile-panel.is-open .dasty-mobile-panel__drawer {
  transform: translateX(0);
}

.dasty-mobile-panel__tabs {
  display: flex;
  align-items: center;
  background: #1a2a4a;
  color: #fff;
  flex-shrink: 0;
}

.dasty-mobile-panel__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: color .2s, background .2s;
  border-bottom: 3px solid transparent;
}

.dasty-mobile-panel__tab.is-active {
  color: #fcbe00;
  border-bottom-color: #fcbe00;
  background: rgba(255,255,255,.06);
}

.dasty-mobile-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  flex-shrink: 0;
  transition: color .2s;
}

.dasty-mobile-panel__close:hover {
  color: #fff;
}

.dasty-mobile-panel__content {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.dasty-mobile-panel__content.is-active {
  display: block;
}

.dasty-mobile-panel__catlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dasty-mobile-panel__catitem {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.dasty-mobile-panel__catlink {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background .2s;
}

.dasty-mobile-panel__catlink:hover {
  background: #f8f9fa;
}

.dasty-mobile-panel__toggle-sub {
  position: absolute;
  right: 4px;
  top: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  transition: transform .2s;
  border-radius: 4px;
}

.dasty-mobile-panel__toggle-sub:hover {
  background: #f0f0f0;
  color: #333;
}

.dasty-mobile-panel__catitem.is-open > .dasty-mobile-panel__toggle-sub {
  transform: rotate(90deg);
}

.dasty-mobile-panel__catitem .dasty-mobile-panel__catlist {
  display: none;
  background: #fafafa;
}

.dasty-mobile-panel__catitem.is-open > .dasty-mobile-panel__catlist {
  display: block;
}

.dasty-mobile-panel__catitem .dasty-mobile-panel__catlist .dasty-mobile-panel__catlink {
  padding-left: 36px;
  font-size: 13px;
}

.dasty-mobile-panel__catitem .dasty-mobile-panel__catlist .dasty-mobile-panel__catlist .dasty-mobile-panel__catlink {
  padding-left: 52px;
}

.dasty-mobile-panel__pages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dasty-mobile-panel__pages li {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

.dasty-mobile-panel__pages li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.dasty-mobile-panel__pages li a:hover {
  background: #f8f9fa;
}

.mobile-nav-open {
  overflow: hidden;
}

/* ── Sticky nav body padding ── */
@media (min-width: 1025px) {
  body {
    padding-left: 56px;
    transition: padding-left .3s ease;
  }

  body.has-sticky-hover,
  body.has-sticky-expanded {
    padding-left: 270px;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .dasty-mobile-nav-btn {
    display: flex;
  }

  .dasty-header__top-inner {
    padding: 10px 16px;
    gap: 12px;
  }

  .dasty-header__bottom {
    display: none;
  }

  .dasty-header__bottom.open {
    display: block;
  }

  .dasty-support__text {
    display: none;
  }

  .dasty-header__top .dasty-col-center {
    max-width: 280px;
  }

  .dasty-cart__subtotal {
    display: none;
  }
}

@media (max-width: 768px) {
  .dasty-header__top-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .dasty-header__top .dasty-col-center {
    display: none;
  }

  .dasty-header__top .dasty-col-center.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    max-width: none;
  }

  .dasty-header__top {
    position: relative;
  }

  .dasty-search-toggle {
    display: flex;
  }

  .dasty-support {
    display: none;
  }

  .dasty-logo-img {
    max-width: 140px !important;
  }
}
