/* HIBO storefront shell — header, menus, footer, contact dock and mobile navigation. */
:root {
  --hibo-shell-white: #fff;
  --hibo-shell-text: #222;
  --hibo-shell-muted: #667085;
  --hibo-shell-border: #e7e7e7;
  --hibo-shell-shadow: 0 10px 24px rgba(0,0,0,.16);
  --hibo-zalo: #0876d8;
  --hibo-facebook: #1877f2;
  --hibo-map: #333;
}

.announcement-bar {
  background: var(--theme-primary);
  color: var(--hibo-shell-white);
  box-shadow: inset 0 4px 0 rgba(0,0,0,.14);
  text-align: center;
}
.announcement-bar .theme-container {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 4px 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.announcement-bar a { color: inherit; }

.site-header {
  position: relative;
  z-index: 120;
  color: var(--hibo-shell-white);
  background: linear-gradient(-180deg, var(--theme-primary), var(--theme-secondary));
}
.site-header-sticky { position: sticky; top: 0; }
.theme-preview-bar + .site-header-sticky { top: 42px; }
.site-header > .theme-container,
.site-header .desktop-nav > .theme-container { width: min(calc(100% - 40px), 1370px); }

.header-main {
  position: relative;
  z-index: 1300;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(172px,190px) minmax(420px,1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: visible;
}
.site-logo { display: flex; align-items: center; min-width: 0; color: inherit; }
.site-logo img { display: block; max-width: 210px; max-height: 58px; object-fit: contain; }
.site-logo strong { white-space: nowrap; color: inherit; font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: .04em; }

.header-search {
  position: relative;
  z-index: 1320;
  min-width: 0;
  height: 40px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 62px;
  overflow: visible;
  border: 0;
  border-radius: 4px;
  background: var(--hibo-shell-white);
}
.header-search .smart-search-input-wrap { position: relative; z-index: 1350; min-width: 0; height: 40px; overflow: visible; }
.header-search input {
  width: 100%; height: 40px; min-height: 40px; padding: 0 14px;
  border: 0; border-radius: 4px 0 0 4px; outline: 0;
  background: var(--hibo-shell-white); color: #333; font-size: 13px; line-height: 40px;
}
.header-search input::placeholder { color: #8b9097; opacity: 1; }
.header-search > button {
  height: 40px; min-width: 62px; padding: 0 14px; border: 0; border-radius: 0 4px 4px 0;
  background: var(--hibo-shell-white); color: var(--theme-primary); font-size: 13px; font-weight: 800; cursor: pointer;
}
.header-search > button:hover { background: #fff6f7; }
.site-header .smart-search-form:focus-within { position: relative; z-index: 1340; }
.site-header .smart-search-suggestions {
  z-index: 1600; top: calc(100% + 5px); overflow: hidden;
  border: 1px solid #e3e5e8; border-radius: 6px; background: #fff; color: #222; box-shadow: var(--hibo-shell-shadow);
}

.header-actions { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; gap: 0; color: #fff; font-size: 12px; }
.header-phone, .header-action {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px;
  color: #fff; line-height: 1.1;
}
.header-action::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 0; width: 1px; background: rgba(255,255,255,.18); }
.header-phone:hover, .header-action:hover { color: #fff; opacity: .93; }
.action-icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
}
.action-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-action-copy { display: block; min-width: 0; }
.header-action-copy small, .header-action-copy strong { display: block; color: #fff; white-space: nowrap; }
.header-action-copy small { margin-bottom: 3px; font-size: 10px; font-weight: 500; opacity: .94; }
.header-action-copy strong { font-size: 12px; font-weight: 800; }

.desktop-nav { position: relative; z-index: 900; overflow: visible; border-top: 1px solid rgba(255,255,255,.16); }
.nav-inner { position: relative; min-height: 40px; display: flex; align-items: stretch; gap: 0; overflow: visible; }
.nav-item { position: relative; min-height: 40px; display: flex; align-items: stretch; }
.nav-item > a { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; color: #fff; font-size: 14px; font-weight: 750; white-space: nowrap; }
.nav-item:first-child > a { padding-left: 0; }
.nav-item.has-catalog-mega > a, .nav-item.has-dropdown > a { padding-right: 26px; }
.nav-item.has-catalog-mega > a::after, .nav-item.has-dropdown > a::after {
  content: ""; position: absolute; top: 50%; right: 12px; width: 0; height: 0; margin-top: -2px;
  border-style: solid; border-width: 4px 4px 0; border-color: currentColor transparent transparent;
}
.nav-item > a:hover, .nav-item:focus-within > a { color: #fff; background: rgba(255,255,255,.10); }
.nav-item:first-child > a:hover, .nav-item:first-child:focus-within > a { padding-left: 10px; margin-left: -10px; }
.menu-long-scroll .nav-inner { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.menu-long-scroll .nav-inner::-webkit-scrollbar { display: none; }
.menu-long-scroll .nav-item { flex: 0 0 auto; }
.menu-long-scroll .nav-inner.hibo-menu-overlay-open { overflow: visible; }

.catalog-mega, .simple-dropdown { position: absolute; top: 40px; display: none; color: #222; background: #fff; border: 1px solid #eee; border-top: 3px solid var(--theme-primary); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.catalog-mega {
  left: 0; width: min(1080px, calc(100vw - 32px)); min-width: 820px; max-height: 460px;
  grid-template-columns: 220px minmax(0,1fr); overflow: hidden; border-radius: 0 0 10px 10px;
}
.simple-dropdown { left: -12px; min-width: 240px; padding: 8px; border-radius: 0 0 10px 10px; }
.has-catalog-mega:hover > .catalog-mega, .has-catalog-mega:focus-within > .catalog-mega, .has-catalog-mega.is-open > .catalog-mega { display: grid; }
.has-dropdown:hover > .simple-dropdown, .has-dropdown:focus-within > .simple-dropdown, .has-dropdown.is-open > .simple-dropdown { display: grid; }
.simple-dropdown a { padding: 9px 11px; border-radius: 6px; }
.simple-dropdown a:hover { background: #f2f6f9; color: var(--theme-primary); }
.catalog-mega-level1 { max-height: 456px; overflow-y: auto; padding: 8px 0; background: #fafafa; border-right: 1px solid #eee; scrollbar-width: thin; }
.catalog-mega-level1 a { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; color: #444; font-weight: 700; }
.catalog-mega-level1 a:hover, .catalog-mega-level1 a.active { background: #fff; color: var(--theme-primary); }
.catalog-mega-level1 a.active::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; background: var(--theme-primary); }
.catalog-mega-level2 { min-width: 0; max-height: 456px; overflow-y: auto; padding: 16px 14px 18px; scrollbar-width: thin; }
.catalog-mega-panel { display: none; }
.catalog-mega-panel.active { display: block; }
.catalog-mega-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.catalog-mega-panel-head strong { font-size: 16px; text-transform: uppercase; }
.catalog-mega-panel-head > a { color: var(--theme-primary); font-size: 13px; font-weight: 700; }
.catalog-mega-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 14px 12px; }
.catalog-mega-card { min-width: 0; display: grid; gap: 7px; color: #333; text-align: center; font-size: 13px; line-height: 1.3; }
.catalog-mega-card:hover { color: var(--theme-primary); }
.catalog-mega-image { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid #f0f0f0; border-radius: 10px; background: #fff; }
.catalog-mega-image img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.catalog-mega-image b { font-size: 34px; color: #8b98a4; }
.catalog-mega-image em { position: absolute; top: 5px; right: 5px; padding: 3px 6px; border-radius: 6px; background: var(--theme-primary); color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.catalog-mega-card > span:last-child { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 7px; font-weight: 600; }

.hibo-mobile-header, .mobile-nav { display: none; }

.hibo-footer { margin-top: 28px; padding: 0; background: var(--theme-footer-bg); color: var(--theme-footer-text); border-top: 1px solid rgba(0,0,0,.08); }
.hibo-footer-main { display: grid; grid-template-columns: minmax(0,2fr) minmax(180px,1fr) minmax(240px,1.15fr); gap: 42px; padding-top: 34px; padding-bottom: 28px; }
.hibo-footer h2, .hibo-footer h3, .hibo-footer h4 { margin-top: 0; color: inherit; }
.hibo-footer h3 { margin-bottom: 13px; font-size: 16px; font-weight: 800; text-transform: uppercase; }
.hibo-footer a { color: inherit; }
.hibo-footer a:hover, .hibo-footer a:focus-visible { color: var(--theme-primary); outline: none; }
.hibo-footer-logo { display: inline-flex; max-width: 100%; margin-bottom: 13px; }
.hibo-footer-logo img { display: block; width: auto; height: auto; max-width: 250px; max-height: 68px; object-fit: contain; }
.hibo-footer-store-name { margin-bottom: 10px; font-size: 22px; }
.hibo-footer-description { max-width: 600px; margin: 0 0 12px; line-height: 1.6; opacity: .9; }
.hibo-footer-contact-list { display: grid; gap: 7px; }
.hibo-footer-contact-list p { margin: 0; line-height: 1.55; }
.hibo-footer-contact-list strong { font-weight: 750; }
.hibo-footer-extra { padding-top: 4px; }
.hibo-footer-links { display: grid; align-content: start; gap: 1px; }
.hibo-footer-links a { display: block; padding: 5px 0; line-height: 1.4; }
.hibo-footer-socials { display: flex; flex-wrap: wrap; gap: 7px; }
.hibo-footer-socials a { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 10px; border: 1px solid rgba(0,0,0,.09); border-radius: 7px; background: rgba(255,255,255,.48); font-size: 12px; font-weight: 700; }
.hibo-footer-payments { margin-top: 18px; }
.hibo-footer-payments h4 { margin-bottom: 9px; font-size: 14px; }
.hibo-footer-payment-list { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.hibo-footer-payment-list img { display: block; width: auto; max-width: 70px; height: 42px; padding: 3px; border: 1px solid rgba(0,0,0,.08); border-radius: 6px; background: #fff; object-fit: contain; }
.hibo-footer-lower { border-top: 1px solid rgba(0,0,0,.08); }
.hibo-footer-lower-inner { padding-top: 12px; padding-bottom: 14px; }
.hibo-footer-secondary { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 11px; }
.hibo-footer-secondary a { font-size: 13px; }
.hibo-footer-lower-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hibo-footer-copyright { font-size: 13px; line-height: 1.5; opacity: .78; }
.hibo-footer-bct { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(0,0,0,.09); border-radius: 7px; font-size: 12px; font-weight: 750; }
.hibo-footer-bct span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--theme-primary); color: #fff; font-size: 11px; }

.contact-dock { position: fixed; z-index: 80; right: 12px; bottom: 20px; display: grid; gap: 7px; }
.contact-dock a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; color: #fff; font-size: 0; box-shadow: 0 5px 16px rgba(0,0,0,.14); }
/* HIBO_CONTACT_DOCK_REAL_ICONS_V1_15_15
   Use the real inline SVG/Zalo mark from layout. Do not hide the icon children
   and do not rely on pseudo-character icons. */
.contact-dock a::before { content: none; }
.contact-dock a > svg {
  display: block;
  width: 23px;
  height: 23px;
  color: #fff;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-dock a > svg .mark { fill: #fff; stroke: none; }
.contact-dock a > .contact-dock-zalo-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #fff;
  color: var(--hibo-zalo);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.contact-dock a > span:not(.contact-dock-zalo-mark) { display: none; }
.contact-dock-phone { background: var(--theme-primary); }
.contact-dock-zalo { background: var(--hibo-zalo); }
.contact-dock-facebook { background: var(--hibo-facebook); }
.contact-dock-map { background: var(--hibo-map); }

.hibo-mobile-bottom-nav { display: none; }

@media (max-width: 1199px) and (min-width: 992px) {
  .header-main { grid-template-columns: minmax(165px,190px) minmax(360px,1fr) auto; gap: 14px; }
  .header-phone { display: none; }
  .catalog-mega { width: min(1000px, calc(100vw - 24px)); }
}

@media (max-width: 991px) {
  .theme-preview-bar + .site-header-sticky, .site-header-sticky { top: 0; }
  .announcement-bar, .header-main, .desktop-nav { display: none; }
  .site-header { width: 100%; max-width: 100vw; color: #222; background: color-mix(in srgb, var(--theme-primary) 5%, #fff); border-top: 3px solid var(--theme-primary); border-bottom: 1px solid rgba(23,33,43,.08); box-shadow: 0 2px 10px rgba(16,24,40,.06); }
  .site-header.hibo-mobile-has-custom-logo { background: #fff; color: #222; }
  .site-header.hibo-mobile-uses-default-logo { background: var(--theme-primary); color: #fff; }

  .hibo-mobile-header { width: 100%; max-width: 100vw; display: grid; gap: 6px; padding: 6px 12px 8px; }
  .hibo-mobile-head { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .hibo-mobile-logo { max-width: min(44vw,166px); justify-content: flex-start; overflow: hidden; }
  .hibo-mobile-logo img { width: auto; max-width: 100%; max-height: 38px; margin: 0; object-fit: contain; }
  .hibo-mobile-logo strong { font-size: 18px; color: var(--theme-primary); }
  .hibo-mobile-uses-default-logo .hibo-mobile-logo strong { color: #fff; }
  .hibo-mobile-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 0 0 auto; }
  .hibo-mobile-action { position: relative; width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; }
  .hibo-mobile-action svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .hibo-mobile-wishlist { cursor: default; }
  .hibo-mobile-badge { position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px; padding-inline: 4px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 999px; background: var(--theme-primary); color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
  .hibo-mobile-uses-default-logo .hibo-mobile-badge { background: #fff; color: var(--theme-primary); border-color: var(--theme-primary); }

  .hibo-mobile-toolbar { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 7px; align-items: stretch; min-width: 0; }
  .hibo-mobile-menu-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; background: var(--theme-primary); color: #fff; box-shadow: none; touch-action: manipulation; }
  .hibo-mobile-uses-default-logo .hibo-mobile-menu-button { background: #fff; color: var(--theme-primary); }
  .hibo-mobile-grid-icon { width: 20px; height: 20px; display: grid; grid-template-columns: repeat(2,7px); grid-template-rows: repeat(2,7px); gap: 4px; place-content: center; }
  .hibo-mobile-grid-icon i { display: block; width: 7px; height: 7px; border: 2px solid currentColor; border-radius: 2px; }

  .hibo-mobile-searchbar { position: relative; min-width: 0; height: 42px; display: grid; grid-template-columns: minmax(0,1fr) 40px; align-items: stretch; overflow: visible; border: 1px solid rgba(23,33,43,.12); border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(16,24,40,.05); }
  .hibo-mobile-searchbar .smart-search-input-wrap { position: relative; min-width: 0; display: flex; align-items: stretch; }
  .hibo-mobile-searchbar input, .hibo-mobile-searchbar input[type="search"] { width: 100%; min-width: 0; height: 40px; padding: 0 8px 0 12px; border: 0; border-radius: 12px 0 0 12px; outline: 0; background: transparent; color: #333; font-size: 16px; line-height: 1.15; }
  .hibo-mobile-searchbar > button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0 12px 12px 0; background: transparent; color: var(--theme-primary); touch-action: manipulation; }
  .hibo-mobile-searchbar > button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .hibo-mobile-searchbar .smart-search-suggestions { position: fixed; z-index: 1800; top: 98px; left: 12px; right: 12px; width: auto; max-height: min(68vh,560px); }

  .mobile-nav.hibo-mobile-explorer { position: fixed; z-index: 150; top: 98px; left: 0; right: 0; bottom: 50px; display: block; max-width: 100vw; background: #fff; color: #333; }
  .mobile-nav.hibo-mobile-explorer[hidden] { display: none; }
  .hibo-mobile-menu-grid { display: grid; grid-template-columns: 40% 60%; height: 100%; }
  .hibo-mobile-sidebar { overflow-y: auto; background: #f5f5f5; }
  .hibo-mobile-menu-trigger { width: 100%; min-height: 48px; display: flex; align-items: center; padding: 10px 12px; border: 0; border-bottom: 1px solid #e7e7e7; background: transparent; color: inherit; text-align: left; font-weight: 700; }
  .hibo-mobile-menu-trigger > img { width: 24px; height: 24px; margin-right: 8px; object-fit: contain; }
  .hibo-mobile-menu-trigger.active { background: #fff; color: var(--theme-primary); box-shadow: inset 3px 0 0 var(--theme-primary); }
  .hibo-mobile-subtrigger { min-height: 42px; padding-left: 22px; background: #f8f8f8; color: #555; font-size: 12px; font-weight: 600; }
  .hibo-mobile-subtrigger.active { color: var(--theme-primary); background: #fff; box-shadow: inset 3px 0 0 var(--theme-primary); }
  .hibo-mobile-panels { overflow-y: auto; padding: 10px; }
  .hibo-mobile-panel-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
  .hibo-mobile-panel-head a { color: var(--theme-primary); font-size: 12px; }
  .hibo-mobile-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
  .hibo-mobile-category-grid > a { min-width: 0; color: inherit; text-align: center; }
  .hibo-mobile-category-grid img, .mobile-category-placeholder { display: grid; place-items: center; width: 74px; height: 74px; margin: auto; border-radius: 10px; background: #f4f4f4; object-fit: cover; }
  .hibo-mobile-category-grid b { display: block; margin-top: 5px; font-size: 12px; line-height: 1.3; }
  .mobile-menu-product-image { position: relative; display: block; width: 74px; height: 74px; margin: auto; overflow: hidden; border: 1px solid #f0f0f0; border-radius: 10px; background: #fff; }
  .mobile-menu-product-image img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
  .mobile-menu-product-image em { position: absolute; top: 3px; right: 3px; padding: 2px 4px; border-radius: 5px; background: var(--theme-primary); color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }

  .hibo-mobile-bottom-nav { position: fixed; z-index: 140; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 100vw; height: 50px; border-top: 1px solid var(--hibo-shell-border); background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.07); }
  .hibo-mobile-bottom-nav a, .hibo-mobile-bottom-nav button { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; padding: 4px 2px; border: 0; background: #fff; color: #555; font: inherit; }
  .hibo-mobile-bottom-nav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .hibo-mobile-bottom-nav b { display: block; max-width: 100%; overflow: hidden; font-size: 9.5px; font-weight: 650; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
  .hibo-mobile-bottom-nav em { position: absolute; top: 3px; left: calc(50% + 8px); min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border-radius: 999px; background: var(--theme-primary); color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
  .hibo-mobile-bottom-nav a:active, .hibo-mobile-bottom-nav button:active { color: var(--theme-primary); }
  body:not(.hibo-product-document) { padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px)); }

  .hibo-footer-main { grid-template-columns: 1.4fr 1fr; gap: 28px; padding-top: 28px; padding-bottom: 23px; }
  .hibo-footer-contact { grid-column: 1 / -1; }
  .contact-dock { bottom: 64px; }
}

@media (min-width: 576px) and (max-width: 991px) {
  .hibo-mobile-menu-grid { grid-template-columns: 32% 68%; }
  .hibo-mobile-category-grid img, .mobile-category-placeholder, .mobile-menu-product-image { width: 82px; height: 82px; }
}

@media (max-width: 575px) {
  .hibo-mobile-header { padding-inline: 12px; }
  .hibo-mobile-category-grid { gap: 6px; }
  .hibo-mobile-category-grid img, .mobile-category-placeholder, .mobile-menu-product-image { width: 62px; height: 62px; }
  .hibo-footer { margin-top: 18px; }
  .hibo-footer-main { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 20px; }
  .hibo-footer-contact { grid-column: auto; }
  .hibo-footer h3 { margin-bottom: 8px; font-size: 15px; }
  .hibo-footer-logo img { max-width: 215px; max-height: 60px; }
  .hibo-footer-socials { gap: 6px; }
  .hibo-footer-lower-inner { padding-top: 10px; padding-bottom: 11px; }
  .hibo-footer-secondary { gap: 6px 13px; padding-bottom: 9px; }
  .hibo-footer-lower-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .contact-dock { display: none; }
}

/* HIBO_SMART_SEARCH_RESTORE_V1_15_11
   Restores only the Smart Search UI rules accidentally removed during catalog/global cleanup.
   Search logic/API remain unchanged. */
.smart-search-form{position:relative;overflow:visible}
.smart-search-input-wrap{position:relative;min-width:0}
.header-search .smart-search-input-wrap{display:flex}
.smart-search-suggestions{
  position:absolute;
  z-index:180;
  top:calc(100% + 8px);
  left:0;
  width:min(620px,calc(100vw - 24px));
  max-height:min(72vh,620px);
  overflow:auto;
  padding:10px;
  border:1px solid rgba(23,33,43,.15);
  border-radius:12px;
  background:#fff;
  color:#17212b;
  box-shadow:0 18px 45px rgba(15,23,42,.2)
}
.smart-search-suggestions section+section{margin-top:8px;padding-top:8px;border-top:1px solid #edf0f2}
.smart-search-suggestions h3{margin:2px 8px 7px;font-size:12px;text-transform:uppercase;color:#66727e;letter-spacing:.04em}
.smart-search-result{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:7px 8px;
  border-radius:8px;
  color:inherit;
  text-decoration:none
}
.smart-search-result:hover,.smart-search-result:focus{background:#f2f6f9;color:inherit}
.smart-search-result img,.smart-search-placeholder{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  max-width:52px;
  max-height:52px;
  object-fit:contain;
  border-radius:7px;
  background:#f3f5f7;
  color:#8b98a4;
  font-size:22px;
  font-weight:800
}
.smart-search-result>span:last-child{min-width:0}
.smart-search-result strong,.smart-search-result small{display:block}
.smart-search-result strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.smart-search-result small{margin-top:3px;color:#66727e;font-size:12px}
.smart-search-all{display:block;margin-top:8px;padding:10px;border-radius:8px;background:var(--theme-primary);color:#fff;text-align:center;font-weight:800;text-decoration:none}
.smart-search-all:hover,.smart-search-all:focus{color:#fff;filter:none}
.smart-search-empty{margin:0;padding:16px;text-align:center;color:#66727e}
.page-search .smart-search-input-wrap input{width:100%;height:100%}

/* Header shell has higher specificity; keep dropdown scrollable and compact. */
.site-header .smart-search-suggestions{overflow:auto}
.site-header .smart-search-result img,.site-header .smart-search-placeholder{width:52px;height:52px;max-width:52px;max-height:52px}

@media(max-width:767px){
  .smart-search-suggestions{padding:8px}
  .smart-search-result{grid-template-columns:46px minmax(0,1fr);gap:9px;padding:6px}
  .smart-search-result img,.smart-search-placeholder,
  .site-header .smart-search-result img,.site-header .smart-search-placeholder{width:46px;height:46px;max-width:46px;max-height:46px}
}



/* HIBO_SEARCH_MIN_2_CHARS_V1_15_14 */
.smart-search-form button[type="submit"]:disabled{
  opacity:.45;
  cursor:not-allowed;
  pointer-events:none;
}

/* HIBO_BCT_IMAGE_SETTING_V1_15_15 */
.hibo-footer-bct-image{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.hibo-footer-bct-image img{
  display:block;
  width:auto;
  max-width:220px;
  max-height:72px;
  object-fit:contain;
}
@media(max-width:575px){
  .hibo-footer-bct-image img{max-width:190px;max-height:64px}
}

