/* Compact storefront header. Scoped to avoid changing page and checkout styles. */
.dd-header { position: relative; z-index: 100; background: #fff; color: #36313c; }
.dd-header a { text-decoration: none; }
.dd-header a:focus-visible, .dd-header button:focus-visible, .dd-header summary:focus-visible { outline: 3px solid #8e55ac; outline-offset: 3px; }
.dd-utility { background: #f6f3f8; border-bottom: 1px solid #eee7f2; font-size: 12px; line-height: 1.4; }
.dd-utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
.dd-delivery { display: flex; align-items: center; gap: 8px; color: #4a006a; }
.dd-delivery-note { color: #62586b; }
.dd-phones { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.dd-phones a { color: #504858; }
.dd-phones strong { font-weight: 500; color: #332b3b; }
.dd-main { display: grid; grid-template-columns: 186px minmax(180px, 1fr) auto; align-items: center; gap: 32px; padding-top: 18px; padding-bottom: 18px; }
.dd-logo { display: block; }
.dd-logo img { display: block; max-width: 100%; height: auto; }
.dd-search { display: flex; min-width: 0; margin: 0; border: 1px solid #ded7e3; border-radius: 7px; background: #faf9fb; overflow: hidden; }
.dd-search:focus-within { border-color: #4a006a; box-shadow: 0 0 0 2px #4a006a18; }
.dd-search input { flex: 1; width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; padding: 0 15px; background: transparent; font-size: 14px; color: #332b3b; }
.dd-search input::placeholder { color: #746c7c; opacity: 1; }
.dd-search button { flex: 0 0 48px; border: 0; background: #4a006a; color: #fff; font-size: 19px; cursor: pointer; }
.dd-search button:hover { background: #65058e; }
.dd-actions { display: flex; align-items: center; gap: 20px; }
.dd-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 48px; color: #45394c; font-size: 11px; line-height: 1.3; white-space: nowrap; }
.dd-action > i, .dd-action-icon > i { font-size: 22px; line-height: 25px; }
.dd-action:hover { color: #4a006a; }
.dd-action-icon { position: relative; display: block; }
.dd-count { position: absolute; top: -7px; right: -12px; display: flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; background: #4a006a; color: #fff; font-size: 10px; font-weight: 500; }
.dd-nav { border-top: 1px solid #eee9f0; border-bottom: 1px solid #e8e1ec; }
.dd-nav-inner { display: flex; align-items: center; gap: 20px; min-height: 58px; }
.dd-header .hero-side-category { flex: 0 0 180px; width: 180px; min-height: 0; z-index: 12; }
.dd-header .category-toggle-wrap { width: 100%; background: transparent; }
.dd-header .category-toggle-wrap .category-toggle { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 5px; background: #f3eef6; color: #4a006a; font-size: 14px; font-weight: 500; }
.dd-header .category-toggle-wrap .category-toggle i { margin: 0; font-size: 16px; }
.dd-header .category-toggle .fa-angle-down { margin-left: auto !important; }
.dd-header .category-toggle:hover, .dd-header .category-toggle[aria-expanded="true"] { background: #e9dff0; }
.dd-header .hero-side-category nav.category-menu { top: calc(100% + 7px); width: 265px; box-shadow: 0 8px 24px #25102e1f; }
.dd-header .category-menu li:focus-within > .category-mega-menu { visibility: visible; opacity: 1; }
.dd-page-links { display: flex; align-items: center; gap: 16px; }
.dd-page-links > a { display: flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.dd-header a[aria-current="page"] { color: #4a006a; }
.dd-page-links a[aria-current="page"] { box-shadow: inset 0 -2px #4a006a; }
.dd-offers { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dd-offers a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; line-height: 1.3; font-weight: 500; white-space: nowrap; }
.dd-offers .dd-offer-sale { background: #d93928; color: #fff; }
.dd-offers .dd-offer-outlet { background: #4a006a; color: #fff; }
.dd-offers .dd-offer-value { background: #fff1ee; color: #ac291d; border-color: #f4d2cc; }
.dd-offers .dd-offer-korner { background: #f1eaf6; color: #4a006a; border-color: #d9c6e3; }
.dd-offers a:hover { filter: brightness(.94); }
.dd-offers a[aria-current="page"] { box-shadow: inset 0 -3px currentColor; }
.dd-offers .dd-offer-sale[aria-current="page"], .dd-offers .dd-offer-outlet[aria-current="page"] { color: #fff; }
.dd-mobile-links { display: none; }
@media (min-width: 992px) and (max-width: 1199px) {
    .dd-main { gap: 24px; grid-template-columns: 164px minmax(180px, 1fr) auto; }
    .dd-actions { gap: 14px; }
    .dd-nav-inner { gap: 12px; }
    .dd-header .hero-side-category { flex-basis: 150px; width: 150px; }
    .dd-page-links { gap: 12px; }
    .dd-offers { gap: 6px; }
    .dd-offers a { padding: 8px; font-size: 11px; }
}
@media (max-width: 991px) {
    .dd-utility-inner { justify-content: center; text-align: center; }
    .dd-phones { display: none; }
    .dd-main { grid-template-columns: 160px 1fr; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
    .dd-actions { justify-content: flex-end; gap: 18px; }
    .dd-search { grid-column: 1 / -1; grid-row: 2; }
    .dd-search input { height: 44px; font-size: 16px; }
    .dd-nav-inner { position: relative; flex-wrap: wrap; gap: 0; padding-top: 6px; padding-bottom: 10px; }
    .dd-header .hero-side-category { flex: 0 0 50%; width: 50%; }
    .dd-header .category-toggle-wrap .category-toggle { background: transparent; padding-left: 0; width: auto; min-width: 145px; }
    .dd-header .hero-side-category nav.category-menu { top: 100%; width: min(340px, calc(100vw - 30px)); }
    .dd-header .category-menu > ul { max-height: 55vh !important; overflow-y: auto; }
    .dd-page-links { display: none; }
    .dd-mobile-links { display: block; margin-left: auto; }
    .dd-mobile-links summary { display: flex; justify-content: flex-end; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0 8px 14px; color: #4a006a; cursor: pointer; list-style: none; font-weight: 500; font-size: 14px; }
    .dd-mobile-links summary::-webkit-details-marker { display: none; }
    .dd-mobile-links nav { max-height: 55vh; overflow-y: auto; position: absolute; left: 15px; right: 15px; top: 50px; padding: 8px 16px; background: #fff; border: 1px solid #e8e1ec; border-radius: 5px; box-shadow: 0 8px 24px #25102e1f; z-index: 13; }
    .dd-mobile-links nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; border-bottom: 1px solid #f2edf5; }
    .dd-mobile-links nav a:last-child { border: 0; }
    .dd-offers { flex: 0 0 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 3px 0 0; }
    .dd-offers a { padding: 8px 6px; min-height: 44px; font-size: 12px; }
}
@media (max-width: 575px) {
    .dd-main { grid-template-columns: 125px minmax(0, 1fr); gap: 12px; }
    .dd-actions { gap: 10px; }
    .dd-stores { display: none; }
    .dd-action { font-size: 10px; min-width: 40px; }
    .dd-action > i, .dd-action-icon > i { font-size: 20px; }
    .dd-offers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .dd-offers a { font-size: 11px; white-space: normal; text-align: center; }
    .dd-utility { font-size: 10px; }
    .dd-delivery { gap: 5px; }
    .dd-logout { display: none; }
}
@media (max-width: 359px) {
    .dd-main { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
    .dd-actions { gap: 6px; }
    .dd-action { min-width: 38px; }
}

@media (min-width: 992px) {
    .dd-header .category-mega-menu { left: 100%; }
}
