/* Header demo. Shared visual tokens are ready to move into the PHP layout. */
#hhm-demo-header {
    --hhm-orange: #f66b15;
    --hhm-orange-deep: #ad3c00;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    position: relative;
    z-index: 101;
}
/* Campaign and policy strips scroll away; only the main header remains sticky. */
html, body { overflow-x: clip !important; overflow-y: visible !important; }
#hhm-demo-header { display: block; width: 100%; position: sticky; top: 0; z-index: 1001; }
.hhm-event, .hhm-policy { font-family: "Segoe UI", Arial, sans-serif; }
.hhm-event {
    min-height: 52px; padding: 8px 24px; display: flex; align-items: center;
    justify-content: center; gap: 20px; color: #7c203b;
    background: radial-gradient(ellipse at 12% 50%, #fff6e7, transparent 42%), linear-gradient(105deg, #ffe4d4, #ffdfeb 55%, #fff0db);
    border-top: 3px solid #f66b15; text-align: center;
}
.hhm-event-date { font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.hhm-event-message { font-size: 17px; font-weight: 700; }
.hhm-event-tag { border: 1px solid #bd6b7c55; border-radius: 30px; padding: 5px 13px; font-size: 12px; }
.hhm-event-flower { color: #cb5378; font-size: 31px; line-height: 1; }
.hhm-event[hidden], .hhm-policy[hidden] { display: none !important; }
/* Legacy floating contact controls must not cover the category drawer. */
body.hhm-menu-open .fixedpage-action,
body.hhm-menu-open .hotline-phone-ring-wrap,
body.hhm-menu-open .zalo-chat-widget { display: none !important; }
.hhm-policy { background: #ad3c00; overflow: hidden; color: white; }
.hhm-policy-track { display: flex; width: max-content; animation: hhm-policy-scroll 32s linear infinite; }
.hhm-policy-group { display: flex; align-items: center; justify-content: space-around; min-width: 100vw; flex-shrink: 0; }
.hhm-policy-group a { display: flex; align-items: center; justify-content: center; gap: 9px; color: white; font-size: 12px; font-weight: 500; padding: 9px 32px; white-space: nowrap; text-decoration: none; }
.hhm-policy-group a:hover { color: #ffe8ce; text-decoration: underline; }
.hhm-policy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hhm-policy:hover .hhm-policy-track, .hhm-policy:focus-within .hhm-policy-track { animation-play-state: paused; }
@keyframes hhm-policy-scroll { to { transform: translateX(-50%); } }
#hhm-demo-header [hidden] { display: none !important; }
#hhm-demo-header .navbar-cps__box-main { margin: 0; }
#hhm-demo-header #hhm-menu-trigger[aria-expanded="true"] { background: #d94f08; color: #fff; border-color: #ffffff66; }
#hhm-demo-header #hhm-menu-trigger .hhm-chevron { transition: transform .18s ease; }
#hhm-demo-header #hhm-menu-trigger[aria-expanded="true"] .hhm-chevron { transform: rotate(180deg); }
#hhm-demo-header .hhm-menu-backdrop { position: fixed; inset: var(--hhm-header-bottom, 92px) 0 0; background: #17171766; backdrop-filter: blur(3px); z-index: 1; }
#hhm-demo-header .hhm-category-menu { position: absolute; top: calc(100% + 10px); left: max(24px, calc((100% - 1280px) / 2)); right: max(24px, calc((100% - 1280px) / 2)); display: flex; align-items: stretch; gap: 10px; z-index: 2; color: #262626; font-family: "Segoe UI", Arial, sans-serif; pointer-events: none; }
#hhm-demo-header .hhm-category-list { width: 250px; flex-shrink: 0; background: #fff; padding: 9px 0; border-radius: 14px; box-shadow: 0 10px 28px #0002; max-height: calc(100dvh - var(--hhm-header-bottom, 92px) - 24px); overflow: auto; pointer-events: auto; }
#hhm-demo-header .hhm-category { display: flex; align-items: center; gap: 13px; width: 100%; border: 0; background: transparent; padding: 15px 19px; font: 600 14px/1.4 "Segoe UI", Arial, sans-serif; text-align: left; color: #292929; cursor: pointer; }
#hhm-demo-header .hhm-category svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: #ec620a; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#hhm-demo-header .hhm-category-arrow { margin-left: auto; color: #9a9ca5; font-size: 25px; line-height: 1; }
#hhm-demo-header .hhm-category:hover, #hhm-demo-header .hhm-category[aria-expanded="true"] { background: #fff1e7; color: #b94200; }
#hhm-demo-header .hhm-category-panels { flex: 1; min-width: 0; pointer-events: auto; }
#hhm-demo-header .hhm-category-panels:has(.hhm-category-panel:not([hidden])) { border-radius: 14px; background: white; box-shadow: 0 10px 28px #0002; }
#hhm-demo-header .hhm-category-panel { padding: 28px; max-height: calc(100dvh - var(--hhm-header-bottom, 92px) - 24px); overflow: auto; }
#hhm-demo-header .hhm-menu-eyebrow { margin: 0 0 7px; color: #a84812; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
#hhm-demo-header .hhm-category-panel h2 { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: #262626; }
#hhm-demo-header .hhm-menu-caption { color: #71717a; font-size: 14px; margin: 0 0 24px; }
#hhm-demo-header .hhm-category-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#hhm-demo-header .hhm-category-links a { display: flex; align-items: center; min-height: 54px; padding: 12px 15px; border: 1px solid #e6e6e9; border-radius: 9px; color: #292929; text-decoration: none; font-size: 14px; line-height: 1.5; transition: background .15s, border-color .15s; }
#hhm-demo-header .hhm-category-links a:hover { background: #fff6ef; border-color: #f66b15; color: #b94200; }
#hhm-demo-header .hhm-category-links .hhm-view-all { color: #b94200; background: #fff6ef; font-weight: 600; }
#hhm-demo-header .hhm-menu-note { display: flex; flex-direction: column; gap: 7px; margin-top: 26px; padding: 20px; border-radius: 10px; background: linear-gradient(110deg, #fff2e5, #fff8f3); font-size: 13px; }
#hhm-demo-header .hhm-menu-note strong { font-size: 15px; }
#hhm-demo-header .hhm-menu-note span { color: #666; }
#hhm-demo-header .hhm-menu-note a { color: #b94200; font-weight: 700; text-decoration: none; }
#hhm-demo-header .hhm-menu-mobile-title { display: none; }
#hhm-demo-header .hhm-category:focus-visible, #hhm-demo-header .hhm-category-panel a:focus-visible, #hhm-demo-header .hhm-menu-close:focus-visible { outline: 2px solid #b94200; outline-offset: -3px; }
@media (max-width: 800px) {
    .hhm-event { gap: 10px; min-height: 46px; padding: 7px 12px; }
    .hhm-event-date { font-size: 22px; }
    .hhm-event-message { font-size: 14px; }
    .hhm-event-tag, .hhm-event-message span, .hhm-event-flower:last-child { display: none; }
    .hhm-policy-group a { padding-inline: 24px; }
    #hhm-demo-header .hhm-category-menu { left: 12px; right: 12px; gap: 0; flex-wrap: wrap; border-radius: 12px; background: white; pointer-events: auto; max-height: calc(100dvh - var(--hhm-header-bottom, 140px) - 20px); overflow: auto; }
    #hhm-demo-header .hhm-menu-mobile-title { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 15px; border-bottom: 1px solid #eee; }
    #hhm-demo-header .hhm-menu-close { border: 0; background: #fff1e7; border-radius: 50%; width: 32px; height: 32px; font-size: 23px; color: #b94200; }
    #hhm-demo-header .hhm-category-list { width: 40%; max-height: calc(100dvh - var(--hhm-header-bottom, 140px) - 74px); box-shadow: none; border-radius: 0; padding: 0; }
    #hhm-demo-header .hhm-category { padding: 12px 9px; font-size: 12px; gap: 6px; }
    #hhm-demo-header .hhm-category svg { width: 18px; height: 18px; }
    #hhm-demo-header .hhm-category-arrow { font-size: 18px; }
    #hhm-demo-header .hhm-category-panels { width: 60%; border-left: 1px solid #eee; }
    #hhm-demo-header .hhm-category-panels:has(.hhm-category-panel:not([hidden])) { box-shadow: none; }
    #hhm-demo-header .hhm-category-panel { padding: 14px; max-height: calc(100dvh - var(--hhm-header-bottom, 140px) - 74px); }
    #hhm-demo-header .hhm-category-panel h2 { font-size: 18px; }
    #hhm-demo-header .hhm-menu-caption, #hhm-demo-header .hhm-menu-note, #hhm-demo-header .hhm-menu-eyebrow { display: none; }
    #hhm-demo-header .hhm-category-links { grid-template-columns: 1fr; gap: 8px; }
    #hhm-demo-header .hhm-category-links a { min-height: 42px; font-size: 12px; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .hhm-policy-track { animation: none; width: 100%; }
    .hhm-policy { overflow-x: auto; }
    .hhm-policy-group[aria-hidden] { display: none; }
    #hhm-demo-header * { transition: none !important; }
}
#hhm-demo-header .navbar {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--hhm-orange) !important;
    box-shadow: 0 3px 12px #57200014 !important;
}
#hhm-demo-header .container {
    width: 100%;
    max-width: 1328px;
    padding-inline: 24px;
    margin-inline: auto;
}
#hhm-demo-header .top-header {
    display: block;
    padding: 0;
    border: 0;
    background: var(--hhm-orange-deep);
    font-size: 12px;
    line-height: 1.4;
}
#hhm-demo-header .top-header .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 32px;
    margin: 0;
    gap: 16px;
}
#hhm-demo-header .top-header .col-md-6 {
    display: flex;
    align-items: center;
    gap: 12px;
    float: none;
    width: auto;
    padding: 0;
    color: #ffffff66;
}
#hhm-demo-header .top-header a { color: #fff; text-decoration: none; }
#hhm-demo-header .top-header a:hover { text-decoration: underline; }
#hhm-demo-header .navbar > .container-fluid,
#hhm-demo-header .navbar > .container-fluid > .row { margin: 0; padding: 0; }
#hhm-demo-header .navbar .navbar-cps__box-main {
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
    background: var(--hhm-orange) !important;
}
#hhm-demo-header .navbar-cps__box-main > .container {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 92px;
    padding-block: 18px;
}
#hhm-demo-header .navbar-header {
    flex: 0 0 228px;
    float: none;
    width: auto;
    margin: 0 !important;
    padding: 0;
}
#hhm-demo-header .logo { margin: 0 !important; padding: 0 !important; }
#hhm-demo-header .logo img {
    display: block;
    width: 228px;
    max-width: 100%;
    height: auto;
    max-height: none;
}
#hhm-demo-header .box-main__box-cate { flex: 0 0 auto; width: auto; }
#hhm-demo-header #hhm-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ffffff55;
    border-radius: 9px;
    background: #ffffff16;
    color: #fff;
    font: 600 14px/1 "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}
#hhm-demo-header #hhm-menu-trigger:hover { background: #ffffff2b; }
#hhm-demo-header .hhm-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#hhm-demo-header .hhm-chevron { width: 14px; height: 14px; }
#hhm-demo-header #search_mini_form {
    flex: 1 1 0;
    width: auto;
    min-width: 160px;
    max-width: none;
    margin: 0 !important;
}
#hhm-demo-header #search_mini_form .input-group {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 4px #7427000a;
}
#hhm-demo-header #search_mini_form input {
    float: none;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 48px;
    margin: 0;
    padding: 0 15px;
    border: 0;
    border-radius: 9px 0 0 9px;
    background: #fff;
    color: #242424;
    font: 14px "Segoe UI", Arial, sans-serif;
}
#hhm-demo-header #search_mini_form input::placeholder { color: #737373; opacity: 1; }
#hhm-demo-header #search_mini_form .input-group-btn { display: block; flex: 0 0 48px; width: 48px; }
#hhm-demo-header #search_mini_form button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 9px 9px 0;
    color: var(--hhm-orange) !important;
    background: #fff !important;
}
#hhm-demo-header #search_mini_form button:hover { background: #fff2e9 !important; }
#hhm-demo-header .box-main__box-about,
#hhm-demo-header .box-main__box-hotline {
    display: block;
    flex: 0 0 auto;
    width: auto;
    margin: 0 !important;
}
#hhm-demo-header .box-about,
#hhm-demo-header .box-hotline {
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 5px 0;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
}
#hhm-demo-header .box-about:hover,
#hhm-demo-header .box-hotline:hover { opacity: .85; }
#hhm-demo-header .about__box-icon { position: relative; display: block; margin: 0; }
#hhm-demo-header .about__box-content { display: block; }
#hhm-demo-header .about__box-content .title { margin: 0; font-size: 14px; line-height: 1.3; }
#hhm-demo-header .about__box-content .title span { display: inline; color: #fff; font-weight: 600; }
#hhm-demo-header #items_in_cart {
    position: absolute;
    inset: -7px -7px auto auto;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    color: var(--hhm-orange-deep);
    font: 700 10px/1 "Segoe UI", Arial, sans-serif;
}
#hhm-demo-header .box-hotline__text small { display: block; color: #fff; font-size: 12px; line-height: 1.5; }
#hhm-demo-header .box-hotline__text strong { display: block; color: #fff; font-size: 16px; line-height: 1.3; font-weight: 700; }
#hhm-demo-header a:focus-visible,
#hhm-demo-header button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#hhm-demo-header #search_mini_form .input-group:focus-within { outline: 2px solid #722900; outline-offset: 3px; }
#hhm-demo-header #search_mini_form input:focus-visible { outline: none; }
#hhm-demo-header .header__box-menu,
#hhm-demo-header .sticky-wrapper { display: none !important; }
/* Legacy affix spacing must not leave a 197px blank block after this header. */
#hhm-demo-header + .clear { height: 0 !important; padding: 0 !important; }
.event-banner[hidden] { display: none !important; }
@media (max-width: 1150px) {
    #hhm-demo-header .navbar-cps__box-main > .container { gap: 14px; }
    #hhm-demo-header .navbar-header { flex-basis: 190px; }
    #hhm-demo-header .about__box-content { display: none; }
}
@media (max-width: 800px) {
    #hhm-demo-header .container { padding-inline: 16px; }
    #hhm-demo-header .top-header .row { justify-content: center; }
    #hhm-demo-header .top-header .col-md-6 { gap: 8px; }
    #hhm-demo-header .top-header .col-md-6:last-child { display: none; }
    #hhm-demo-header .navbar-cps__box-main > .container { flex-wrap: wrap; gap: 12px; padding-block: 14px; }
    #hhm-demo-header .navbar-header { flex: 1 1 150px; }
    #hhm-demo-header .logo img { width: 190px; }
    #hhm-demo-header #hhm-menu-trigger { height: 42px; padding-inline: 10px; }
    #hhm-demo-header #search_mini_form { order: 5; flex: 1 0 100%; }
    #hhm-demo-header .box-main__box-hotline { display: none; }
}
@media (max-width: 420px) {
    #hhm-demo-header .navbar-header { flex-basis: 120px; }
    #hhm-demo-header .logo img { width: 155px; }
    #hhm-demo-header #hhm-menu-trigger { gap: 6px; font-size: 12px; padding-inline: 8px; }
    #hhm-demo-header .hhm-chevron { display: none; }
}

/* PC retains the original main row; only the category list turns horizontal. */
#hhm-demo-header #hhm-desktop-search-slot { display: contents; }
#hhm-demo-header .navbar { display: block !important; }
#hhm-demo-header .navbar .navbar-cps__box-main { width: 100% !important; max-width: none; }
#hhm-demo-header .hhm-hamburger, #hhm-demo-header .hhm-search-drawer { display: none; }
#hhm-demo-header .about__box-icon .hhm-icon { width: 32px; height: 32px; }
@media (min-width: 1101px) {
    #hhm-demo-header .hhm-category-menu { flex-direction: column; }
    #hhm-demo-header .hhm-category-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: 100%; padding: 8px; overflow: visible; }
    #hhm-demo-header .hhm-category { justify-content: center; gap: 7px; padding: 14px 6px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
    #hhm-demo-header .hhm-category svg { width: 22px; height: 22px; }
    #hhm-demo-header .hhm-category-arrow { margin-left: 0; transform: rotate(90deg); font-size: 19px; }
    #hhm-demo-header .hhm-category-panel { max-height: calc(100dvh - var(--hhm-header-bottom, 92px) - 108px); }
}
/* Tablet and mobile: hamburger / truly centered logo / cart. */
@media (max-width: 1100px) {
    #hhm-demo-header .navbar-cps__box-main > .container { display: grid !important; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 10px; min-height: 78px; padding: 12px 16px; }
    #hhm-demo-header .navbar-cps__box-main > .container::before, #hhm-demo-header .navbar-cps__box-main > .container::after { display: none; }
    #hhm-demo-header .navbar-header { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; justify-content: center; }
    #hhm-demo-header .logo { margin: 0 !important; }
    #hhm-demo-header .logo img { width: 220px; max-width: 100%; }
    #hhm-demo-header .box-main__box-cate { grid-column: 1; grid-row: 1; }
    #hhm-demo-header #hhm-menu-trigger { width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; border-radius: 8px; }
    #hhm-demo-header #hhm-menu-trigger > svg:not(.hhm-hamburger), #hhm-demo-header #hhm-menu-trigger > span { display: none; }
    #hhm-demo-header #hhm-menu-trigger .hhm-hamburger { display: block; width: 28px; height: 28px; }
    #hhm-demo-header #hhm-menu-trigger:hover { background: #ffffff20; }
    #hhm-demo-header #hhm-menu-trigger[aria-expanded="true"] { background: #d94f08; color: #fff; }
    #hhm-demo-header .box-main__box-about { grid-column: 3; grid-row: 1; margin: 0 !important; }
    #hhm-demo-header .box-about { width: 44px; height: 44px; justify-content: center; }
    #hhm-demo-header .about__box-content, #hhm-demo-header .box-main__box-hotline { display: none; }
    #hhm-demo-header .hhm-category-menu { left: 12px; right: 12px; gap: 0; flex-wrap: wrap; border-radius: 12px; background: white; pointer-events: auto; max-height: calc(100dvh - var(--hhm-header-bottom, 78px) - 20px); overflow: auto; }
    #hhm-demo-header .hhm-menu-mobile-title { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 15px; border-bottom: 1px solid #eee; }
    #hhm-demo-header .hhm-menu-mobile-title strong { margin-right: auto; }
    #hhm-demo-header .hhm-menu-close, #hhm-demo-header #hhm-search-toggle { display: grid; place-items: center; border: 0; background: #fff1e7; border-radius: 50%; width: 36px; height: 36px; color: #b94200; cursor: pointer; }
    #hhm-demo-header .hhm-menu-close { font-size: 23px; }
    #hhm-demo-header #hhm-search-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
    #hhm-demo-header #hhm-search-toggle:focus-visible { outline: 2px solid #b94200; outline-offset: 2px; }
    #hhm-demo-header .hhm-category-list { width: 40%; max-height: calc(100dvh - var(--hhm-header-bottom, 78px) - var(--hhm-search-space, 0px) - 80px); box-shadow: none; border-radius: 0; padding: 0; }
    #hhm-demo-header .hhm-category-panels { width: 60%; border-left: 1px solid #eee; }
    #hhm-demo-header .hhm-category-panels:has(.hhm-category-panel:not([hidden])) { box-shadow: none; }
    #hhm-demo-header .hhm-category-panel { padding: 14px; max-height: calc(100dvh - var(--hhm-header-bottom, 78px) - var(--hhm-search-space, 0px) - 80px); }
    #hhm-demo-header .hhm-category-menu:has(.hhm-search-drawer.is-open) { --hhm-search-space: 72px; }
    #hhm-demo-header .hhm-category-panel h2 { font-size: 18px; }
    #hhm-demo-header .hhm-menu-caption, #hhm-demo-header .hhm-menu-note, #hhm-demo-header .hhm-menu-eyebrow { display: none; }
    #hhm-demo-header .hhm-category-links { grid-template-columns: 1fr; gap: 8px; }
    #hhm-demo-header .hhm-search-drawer { display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows .22s ease; }
    #hhm-demo-header .hhm-search-drawer.is-open { grid-template-rows: 1fr; }
    #hhm-demo-header .hhm-search-inner { min-height: 0; overflow: hidden; }
    #hhm-demo-header #search_mini_form { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; margin: 0 !important; padding: 12px 16px !important; }
    #hhm-demo-header #search_mini_form .input-group { border: 1px solid #f2b489; overflow: hidden; box-sizing: border-box; }
    #hhm-demo-header #search_mini_form .input-group:focus-within { outline: none; box-shadow: 0 0 0 2px #cf540a; }
}
@media (max-width: 420px) {
    #hhm-demo-header .logo img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
    #hhm-demo-header .hhm-search-drawer { transition: none; }
}

/* Compact groups use only existing product destinations. */
#hhm-demo-header #hhm-menu-trigger { font-size: 16px; }
#hhm-demo-header .hhm-category svg { stroke-width: 1.6; }
#hhm-demo-header .hhm-category-panel { padding: 22px 26px; }
#hhm-demo-header .hhm-category-panel h2 { font-size: 22px; margin-bottom: 20px; }
#hhm-demo-header .hhm-menu-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
#hhm-demo-header .hhm-menu-group:only-child { grid-column: 1 / -1; }
#hhm-demo-header .hhm-menu-group h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; line-height: 1.4; color: #292929; }
#hhm-demo-header .hhm-category-links { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
#hhm-demo-header .hhm-category-links a { flex: 0 1 auto; min-height: 48px; padding: 11px 14px; font-size: 16px; }
#hhm-demo-header .hhm-category-panel > .hhm-view-all { display: inline-flex; margin-top: 20px; padding: 10px 14px; background: #fff3e9; border: 1px solid #f7d5bd; border-radius: 8px; color: #ae4209; font-size: 15px; font-weight: 600; text-decoration: none; }
@media (max-width: 1250px) and (min-width: 1101px) {
    #hhm-demo-header .hhm-category { gap: 5px; font-size: 15px; padding-inline: 3px; }
    #hhm-demo-header .hhm-category-arrow { font-size: 14px; }
}
@media (max-width: 1100px) {
    #hhm-demo-header .hhm-category { font-size: 15px; padding: 13px 10px; gap: 8px; }
    #hhm-demo-header .hhm-category svg { width: 24px; height: 24px; }
    #hhm-demo-header .hhm-category-panel { padding: 16px 12px; }
    #hhm-demo-header .hhm-category-panel h2 { font-size: 18px; margin-bottom: 16px; }
    #hhm-demo-header .hhm-menu-groups { display: block; }
    #hhm-demo-header .hhm-menu-group + .hhm-menu-group { margin-top: 22px; }
    #hhm-demo-header .hhm-menu-group h3 { font-size: 15px; margin-bottom: 10px; }
    #hhm-demo-header .hhm-category-links { gap: 8px; }
    #hhm-demo-header .hhm-category-links a { width: 100%; font-size: 14px; min-height: 44px; padding: 10px; }
    #hhm-demo-header .hhm-category-panel > .hhm-view-all { font-size: 14px; padding: 10px; }
}
@media (max-width: 420px) {
    #hhm-demo-header .hhm-category { font-size: 14px; gap: 6px; padding-inline: 8px; }
    #hhm-demo-header .hhm-category svg { width: 22px; height: 22px; }
}

/* Demo catalog: original destinations + illustrative images/prices. */
#hhm-demo-header .hhm-panel-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px; }
#hhm-demo-header .hhm-panel-heading h2 { margin: 0; }
#hhm-demo-header .hhm-demo-label { color: #8a581e; background: #fff5df; border-radius: 5px; padding: 5px 8px; font-size: 11px; line-height: 1.5; }
#hhm-demo-header .hhm-product-menu-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
#hhm-demo-header .hhm-product-menu-layout > div { min-width: 0; }
#hhm-demo-header .hhm-model-column .hhm-menu-groups { display: block; }
#hhm-demo-header .hhm-menu-group + .hhm-menu-group { margin-top: 22px; }
#hhm-demo-header .hhm-model-column .hhm-category-links a { gap: 9px; padding: 8px 10px; min-height: 60px; font-size: 16px; }
#hhm-demo-header .hhm-category-links img { width: 38px; height: 44px; object-fit: contain; flex: 0 0 38px; }
#hhm-demo-header .hhm-category-links span { overflow-wrap: anywhere; }
#hhm-demo-header .hhm-price-column h3, #hhm-demo-header .hhm-hot-column h3 { margin: 0 0 12px; color: #292929; font-size: 18px; font-weight: 600; line-height: 1.4; }
#hhm-demo-header .hhm-price-options { display: flex; flex-wrap: wrap; gap: 10px; }
#hhm-demo-header .hhm-price-filter { border: 1px solid #e6e6e9; border-radius: 8px; background: #fff; padding: 12px; color: #292929; font: 15px/1.5 "Segoe UI", Arial, sans-serif; cursor: pointer; }
#hhm-demo-header .hhm-price-filter:hover, #hhm-demo-header .hhm-price-filter[aria-pressed="true"] { background: #fff1e6; color: #b94200; border-color: #f66b15; }
#hhm-demo-header .hhm-price-hint, #hhm-demo-header .hhm-hot-status, #hhm-demo-header .hhm-hot-empty { color: #72727b; font-size: 12px; line-height: 1.6; margin: 12px 0; }
#hhm-demo-header .hhm-hot-status:empty { display: none; }
#hhm-demo-header .hhm-price-reset { padding: 4px 0; border: 0; background: transparent; color: #b94200; font-size: 14px; cursor: pointer; text-decoration: underline; }
#hhm-demo-header .hhm-hot-title { color: #c84808; }
#hhm-demo-header .hhm-hot-products { display: grid; gap: 12px; }
#hhm-demo-header .hhm-hot-product { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #e9e5e1; border-radius: 10px; background: #fff; text-decoration: none; color: #292929; }
#hhm-demo-header .hhm-hot-product:hover { border-color: #f66b15; background: #fffaf5; }
#hhm-demo-header .hhm-hot-product img { width: 64px; height: 72px; object-fit: contain; flex: 0 0 64px; }
#hhm-demo-header .hhm-hot-info { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
#hhm-demo-header .hhm-hot-badge { font-size: 10px; font-weight: 700; line-height: 1; padding: 4px 5px; border-radius: 4px; color: #fff; background: #e55b10; }
#hhm-demo-header .hhm-hot-name { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
#hhm-demo-header .hhm-hot-info strong { color: #c44808; font-size: 16px; }
#hhm-demo-header .hhm-model-column > .hhm-view-all { display: inline-flex; padding: 10px 12px; margin-top: 18px; border: 1px solid #f7d5bd; border-radius: 8px; background: #fff3e9; color: #ae4209; font-size: 14px; text-decoration: none; }
#hhm-demo-header .hhm-price-filter:focus-visible, #hhm-demo-header .hhm-price-reset:focus-visible, #hhm-demo-header .hhm-hot-product:focus-visible { outline: 2px solid #b94200; outline-offset: 2px; }
@media (max-width: 1100px) {
    #hhm-demo-header .hhm-product-menu-layout { display: block; }
    #hhm-demo-header .hhm-panel-heading { gap: 8px; margin-bottom: 16px; }
    #hhm-demo-header .hhm-demo-label { font-size: 10px; }
    #hhm-demo-header .hhm-price-column, #hhm-demo-header .hhm-hot-column { margin-top: 24px; padding-top: 18px; border-top: 1px solid #eee; }
    #hhm-demo-header .hhm-model-column .hhm-category-links a { font-size: 14px; gap: 7px; padding: 8px; }
    #hhm-demo-header .hhm-category-links img { width: 28px; height: 36px; flex-basis: 28px; }
    #hhm-demo-header .hhm-price-column h3, #hhm-demo-header .hhm-hot-column h3 { font-size: 16px; }
    #hhm-demo-header .hhm-price-filter { padding: 10px; font-size: 14px; }
    #hhm-demo-header .hhm-hot-product { gap: 7px; padding: 8px; }
    #hhm-demo-header .hhm-hot-product img { width: 44px; height: 56px; flex-basis: 44px; }
    #hhm-demo-header .hhm-hot-name { font-size: 14px; }
    #hhm-demo-header .hhm-hot-info strong { font-size: 14px; }
}

/* One shared highlight follows the selected tab, horizontally or vertically. */
#hhm-demo-header .hhm-category-list { position: relative; isolation: isolate; }
#hhm-demo-header .hhm-category { position: relative; z-index: 1; transition: color 230ms ease; }
#hhm-demo-header .hhm-menu-label {position:relative;display:inline-block;white-space:pre;}
#hhm-demo-header .hhm-menu-label-original {visibility:hidden;}
#hhm-demo-header .hhm-menu-label-visual {position:absolute;inset:0;white-space:pre;pointer-events:none;}
#hhm-demo-header .hhm-menu-letter {display:inline-block;white-space:pre;transform-origin:center;}
#hhm-demo-header .hhm-menu-letter::before {content:attr(data-letter);}
#hhm-demo-header .hhm-category:hover, #hhm-demo-header .hhm-category[aria-expanded="true"] { background: transparent; }
#hhm-demo-header .hhm-category-highlight { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 8px; background: #fff1e7; pointer-events: none; }
#hhm-demo-header .hhm-category-highlight.is-positioned { transition: transform 230ms cubic-bezier(.22,.68,.25,1), width 230ms ease, height 230ms ease; }
#hhm-demo-header .hhm-category-arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 12px; width: 12px; height: 16px; transform: rotate(0deg); transform-origin: center; transition: transform 230ms cubic-bezier(.22,.68,.25,1), color 230ms ease; }
#hhm-demo-header .hhm-category-arrow svg { width: 12px; height: 12px; flex: 0 0 12px; stroke: currentColor; stroke-width: 2; }
#hhm-demo-header .hhm-category[aria-expanded="true"] .hhm-category-arrow { transform: rotate(180deg); color: #b94200; }
#hhm-demo-header .hhm-category-panel:not([hidden]) { animation: hhm-panel-enter 180ms ease-out; }
@keyframes hhm-panel-enter { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    #hhm-demo-header .hhm-category-highlight.is-positioned, #hhm-demo-header .hhm-category-arrow { transition: none; }
    #hhm-demo-header .hhm-category-panel:not([hidden]) { animation: none; }
}

/* Initial mobile markup must hide the desktop search before deferred JS relocates it. */
@media (max-width:1100px) {
    #hhm-demo-header #hhm-desktop-search-slot { display:none !important; }
}
