/*
 * CÁT DECOR — Custom Header 2026
 * File: /wp-content/themes/flatsome-child/catdecor-header.css
 *
 * ✅ Bridge đầy đủ sang token system của style.css (v6.0)
 *    Dùng lại: --c-primary, --gradient-brand, --sh-*, --ease-*…
 *    KHÔNG duplicate biến — KHÔNG xung đột @layer
 * ✅ Tương thích Flatsome: body.cdh-active #header { display:none }
 * ✅ Zero !important (ngoại trừ ẩn Flatsome header)
 *
 * Thứ tự load: flatsome-style → catdecor-style → catdecor-header (CSS dep)
 */

/* ══════════════════════════════════════════════════════════
   LOCAL BRIDGE TOKENS
   Chỉ khai báo những gì CHƯA có trong style.css
   Tất cả đều trỏ sang var() của style.css
   ══════════════════════════════════════════════════════════ */
:root {
  --cdh-h-top:   36px;
  --cdh-h-main:  68px;
  /* Bridge — style.css v6 tokens */
  --cdh-rose:    var(--c-primary,       #e8477c);
  --cdh-rose-d:  var(--c-primary-dark,  #c93366);
  --cdh-rose-l:  var(--c-primary-light, #fce4ec);
  --cdh-rose-m:  var(--c-primary-light, #fce4ec);
  --cdh-blush:   var(--c-primary-light, #fce4ec);
  --cdh-dark:    var(--clr-secondary,   #1a1a2e);
  --cdh-muted:   var(--clr-muted,       #64748b);
  --cdh-border:  var(--clr-border,      #e2e8f0);
  --cdh-cream:   var(--clr-bg,          #fafafa);
  --cdh-white:   var(--clr-surface,     #ffffff);
  --cdh-g:       var(--gradient-brand,  linear-gradient(135deg,#e8477c,#7c4dff));
  --cdh-gh:      linear-gradient(135deg, #1a1a2e 0%, #292524 100%);
  --cdh-ease:    var(--ease-out,        cubic-bezier(.16,1,.3,1));
  --cdh-spring:  var(--ease-spring,     cubic-bezier(.34,1.56,.64,1));
  --cdh-sh-rose: 0 8px 28px rgba(232,71,124,.25);
  --cdh-r-full:  var(--r-full, 9999px);
  --cdh-r-lg:    var(--r-lg,   16px);
  --cdh-r-md:    var(--r-md,   12px);
  --cdh-font:    'Be Vietnam Pro', var(--ff-body, system-ui, sans-serif);
  --cdh-serif:   var(--ff-heading, 'Playfair Display', serif);
  --cdh-script:  'Dancing Script', cursive;
  --cdh-dur:     var(--dur-base, .25s);
  --cdh-dur-f:   var(--dur-fast, .15s);
}

/* ══════════════════════════════════════════════════════════
   ĐÈ FLATSOME HEADER (Scoped, chỉ khi body.cdh-active)
   ══════════════════════════════════════════════════════════ */
body.cdh-active #header { display: none !important; }
body.cdh-active { padding-top: 0; }

/* ══════════════════════════════════════════════════════════
   ROOT WRAPPER
   ══════════════════════════════════════════════════════════ */
#cdh-root {
  position: sticky;
  top: 0;
  z-index: 9000;
  transition: box-shadow var(--cdh-dur) var(--cdh-ease);
}
#cdh-root.scrolled { box-shadow: var(--sh-md, 0 4px 12px rgba(0,0,0,.10)); }
#cdh-root.scrolled .cdh-topbar {
  height: 0;
  overflow: hidden;
  padding-block: 0;
  transition: height .3s var(--cdh-ease), padding .3s;
}

/* ══════════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════════ */
.cdh-topbar {
  background: var(--cdh-dark);
  height: var(--cdh-h-top);
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
.cdh-topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232,71,124,.10) 0%, transparent 40%, rgba(124,77,255,.07) 100%);
  pointer-events: none;
}
.cdh-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cdh-topbar__left  { display: flex; align-items: center; gap: 18px; }
.cdh-topbar__right { display: flex; align-items: center; gap: 10px; }

.cdh-topbar__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--cdh-font);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  transition: color var(--cdh-dur-f);
  white-space: nowrap;
}
.cdh-topbar__item:hover { color: var(--cdh-rose); }
.cdh-topbar__item strong { color: rgba(255,255,255,.90); font-weight: 600; }
.cdh-topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.15); flex-shrink: 0; }

.cdh-topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--cdh-r-full);
  background: rgba(232,71,124,.15);
  border: 1px solid rgba(232,71,124,.25);
  font-family: var(--cdh-script);
  font-size: 12px;
  color: var(--cdh-rose);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cdh-topbar__item.hide-mobile,
  .cdh-topbar__sep.hide-mobile { display: none; }
  .cdh-topbar { padding: 0 14px; }
}

/* ══════════════════════════════════════════════════════════
   MAIN HEADER BAR
   ══════════════════════════════════════════════════════════ */
.cdh-main {
  background: var(--cdh-white);
  height: var(--cdh-h-main);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1.5px solid var(--cdh-border);
}
.cdh-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}

/* Logo */
.cdh-logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cdh-logo img { height: 46px; width: auto; transition: transform var(--cdh-dur) var(--cdh-spring); }
.cdh-logo:hover img { transform: scale(1.04) rotate(-1deg); }

/* Desktop Nav */
.cdh-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
@media (max-width: 991px) { .cdh-nav { display: none; } }

.cdh-nav__item { position: relative; }

.cdh-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--cdh-r-full);
  font-family: var(--cdh-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cdh-dark);
  text-decoration: none;
  transition: all var(--cdh-dur) var(--cdh-ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  background: transparent;
  line-height: 1;
  letter-spacing: .01em;
}
.cdh-nav__link:hover,
.cdh-nav__item:hover > .cdh-nav__link,
.cdh-nav__link.active {
  background: var(--cdh-rose-m);
  color: var(--cdh-rose-d);
  border-color: var(--cdh-blush);
}
.cdh-nav__arrow { font-size: 9px; opacity: .5; transition: transform var(--cdh-dur) var(--cdh-ease); }
.cdh-nav__item:hover > .cdh-nav__link .cdh-nav__arrow { transform: rotate(180deg); }

/* Right actions */
.cdh-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.cdh-action-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--cdh-border);
  background: var(--cdh-white);
  color: var(--cdh-dark);
  cursor: pointer;
  transition: all var(--cdh-dur) var(--cdh-spring);
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
}
.cdh-action-btn:hover {
  border-color: var(--cdh-rose);
  color: var(--cdh-rose-d);
  background: var(--cdh-rose-l);
  transform: translateY(-1px);
}

.cdh-cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 16px; height: 16px;
  border-radius: var(--cdh-r-full);
  background: var(--cdh-g);
  color: #fff;
  font-family: var(--cdh-font);
  font-size: 9px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 1.5px solid var(--cdh-white);
}

.cdh-zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--cdh-r-full);
  background: var(--cdh-g);
  color: #fff;
  font-family: var(--cdh-font);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  box-shadow: var(--cdh-sh-rose);
  transition: all var(--cdh-dur) var(--cdh-spring);
  white-space: nowrap;
  flex-shrink: 0;
}
.cdh-zalo-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(232,71,124,.50); color: #fff; }
@media (max-width: 480px) { .cdh-zalo-btn span { display: none; } .cdh-zalo-btn { padding: 9px 12px; } }

.cdh-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--cdh-dur);
}
.cdh-burger:hover { border-color: var(--cdh-rose); background: var(--cdh-rose-l); }
.cdh-burger__lines { display: flex; flex-direction: column; gap: 4.5px; width: 18px; }
.cdh-burger__line  { width: 100%; height: 2.5px; background: #1a1a2e; border-radius: 2px; transition: all .28s var(--cdh-ease); transform-origin: center; display: block !important; }
.cdh-burger.open .cdh-burger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.cdh-burger.open .cdh-burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.cdh-burger.open .cdh-burger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 991px) { .cdh-burger { display: flex; } }

/* ══════════════════════════════════════════════════════════
   MEGA MENU
   ══════════════════════════════════════════════════════════ */
.cdh-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--cdh-white);
  border-radius: 18px;
  border: 1.5px solid var(--cdh-border);
  box-shadow: var(--sh-xl, 0 16px 48px rgba(0,0,0,.15));
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--cdh-ease), transform .22s var(--cdh-ease), visibility .22s;
  z-index: 9999;
  display: grid;
  gap: 16px;
  min-width: 560px;
}
.cdh-mega::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  width: 13px; height: 13px;
  background: var(--cdh-white);
  border-left: 1.5px solid var(--cdh-border);
  border-top:  1.5px solid var(--cdh-border);
  transform: translateX(-50%) rotate(45deg);
}
.cdh-mega.cols-2 { grid-template-columns: 1fr 1fr; min-width: 560px; }
.cdh-mega.cols-3 { grid-template-columns: 1fr 1fr 1fr; min-width: 700px; }
.cdh-nav__item:hover > .cdh-mega,
.cdh-mega:hover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.cdh-mega__col-title {
  font-family: var(--cdh-font);
  font-size: 10px; font-weight: 800;
  color: var(--cdh-muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1.5px solid var(--cdh-border);
  display: flex; align-items: center; gap: 6px;
}
.cdh-mega__col-title a { color: var(--cdh-muted); text-decoration: none; transition: color var(--cdh-dur-f); }
.cdh-mega__col-title a:hover { color: var(--cdh-rose-d); }
.cdh-mega__links { display: flex; flex-direction: column; gap: 2px; }

.cdh-mega__link {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-family: var(--cdh-font);
  font-size: 13px; font-weight: 600;
  color: var(--cdh-dark);
  text-decoration: none;
  transition: all var(--cdh-dur-f) var(--cdh-ease);
  border: 1.5px solid transparent;
}
.cdh-mega__link:hover { background: var(--cdh-rose-l); color: var(--cdh-rose-d); border-color: var(--cdh-border); transform: translateX(3px); }
.cdh-mega__link-ico   { font-size: 16px; line-height: 1; flex-shrink: 0; }
.cdh-mega__link-info  { flex: 1; }
.cdh-mega__link-name  { display: block; line-height: 1.25; }
.cdh-mega__link-sub   { font-size: 10.5px; font-weight: 500; color: var(--cdh-muted); margin-top: 1px; }

.cdh-mega__cta {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--cdh-rose-l) 0%, var(--clr-bg-alt, #f5f0ff) 100%);
  border-radius: var(--cdh-r-md);
  padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px solid var(--cdh-border);
}
.cdh-mega__cta-text { font-family: var(--cdh-font); font-size: 12.5px; font-weight: 700; color: var(--cdh-dark); }
.cdh-mega__cta-text span { display: block; font-size: 11px; font-weight: 500; color: var(--cdh-muted); margin-top: 2px; }
.cdh-mega__cta-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border-radius: var(--cdh-r-full);
  background: var(--cdh-g);
  color: #fff;
  font-family: var(--cdh-font);
  font-size: 12px; font-weight: 800;
  text-decoration: none; white-space: nowrap;
  transition: all var(--cdh-dur) var(--cdh-spring);
  box-shadow: 0 3px 10px rgba(232,71,124,.30);
}
.cdh-mega__cta-btn:hover { transform: scale(1.04); box-shadow: 0 5px 16px rgba(232,71,124,.45); color: #fff; }

/* ══════════════════════════════════════════════════════════
   SEARCH DROPDOWN
   ══════════════════════════════════════════════════════════ */
.cdh-search-wrap { position: relative; }
.cdh-search-box {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 300px;
  background: var(--cdh-white);
  border: 1.5px solid var(--cdh-border);
  border-radius: var(--cdh-r-md);
  padding: 10px;
  box-shadow: var(--sh-lg, 0 8px 32px rgba(0,0,0,.12));
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transition: all .22s var(--cdh-ease);
  z-index: 9999;
}
.cdh-search-box.open { opacity: 1; visibility: visible; transform: none; }
.cdh-search-input {
  display: flex; align-items: center; gap: 8px;
  background: var(--cdh-cream);
  border: 1.5px solid var(--cdh-border);
  border-radius: var(--cdh-r-full);
  padding: 8px 14px;
  transition: border-color var(--cdh-dur-f);
}
.cdh-search-input:focus-within { border-color: var(--cdh-rose); }
.cdh-search-input input {
  flex: 1; border: none; background: transparent;
  font-family: var(--cdh-font); font-size: 13px; color: var(--cdh-dark); outline: none;
}
.cdh-search-input input::placeholder { color: var(--cdh-muted); }
.cdh-search-hints { display: none !important; }
.cdh-search-hint {
  padding: 3px 10px; border-radius: var(--cdh-r-full);
  background: var(--cdh-rose-m); color: var(--cdh-rose-d);
  font-family: var(--cdh-font); font-size: 11px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--cdh-dur-f);
  text-decoration: none; display: inline-block;
}
.cdh-search-hint:hover { background: var(--cdh-g); color: #fff; }
/* ── MOBILE: search box full-width, fixed position ── */
@media (max-width: 991px) {
  .cdh-search-box {
    position: fixed;
    top: var(--cdh-search-top, calc(var(--cdh-h-top, 36px) + var(--cdh-h-main, 68px) + 6px));
    left: 12px;
    right: 12px;
    width: auto !important;
    transform: translateY(-8px) scale(.97);
    border-radius: 14px;
    z-index: 100000;
  }
  .cdh-search-box.open {
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════
   MOBILE DRAWER
   ══════════════════════════════════════════════════════════ */
.cdh-drawer {
  position: fixed; inset: 0; z-index: 99999;
  visibility: hidden; transition: visibility .3s;
}
.cdh-drawer.open { visibility: visible; }
.cdh-drawer__bd {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.50); opacity: 0;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}
.cdh-drawer.open .cdh-drawer__bd { opacity: 1; }
.cdh-drawer__panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 88%; max-width: 340px;
  background: var(--cdh-white);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s var(--cdh-ease);
  box-shadow: 6px 0 30px rgba(0,0,0,.14);
  overflow: hidden;
}
.cdh-drawer.open .cdh-drawer__panel { transform: none; }

.cdh-drawer__head {
  background: var(--cdh-gh);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.cdh-drawer__head::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,71,124,.15) 0%, transparent 70%);
  top: -60px; right: -30px; pointer-events: none;
}
.cdh-drawer__logo img { height: 38px; width: auto; filter: brightness(0) invert(1); position: relative; z-index: 1; }
.cdh-drawer__close {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.85); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--cdh-dur-f);
  font-family: var(--cdh-font); flex-shrink: 0; position: relative; z-index: 1;
}
.cdh-drawer__close:hover { background: rgba(232,71,124,.35); color: #fff; }

.cdh-drawer__body {
  flex: 1; overflow-y: auto; padding: 10px 0 20px;
  scrollbar-width: thin; scrollbar-color: var(--cdh-blush) transparent;
}
.cdh-drawer__body::-webkit-scrollbar { width: 3px; }
.cdh-drawer__body::-webkit-scrollbar-thumb { background: var(--cdh-blush); }

.cdh-dm-item { border-bottom: 1px solid var(--cdh-border); }
.cdh-dm-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  font-family: var(--cdh-font); font-size: 14px; font-weight: 700;
  color: var(--cdh-dark); text-decoration: none;
  cursor: pointer; transition: all var(--cdh-dur-f); gap: 8px;
}
.cdh-dm-link:hover  { background: var(--cdh-rose-l); color: var(--cdh-rose-d); }
.cdh-dm-link.active { background: var(--cdh-rose-m); color: var(--cdh-rose-d); }
.cdh-dm-link__left  { display: flex; align-items: center; gap: 10px; }
.cdh-dm-link__ico   { font-size: 18px; }
.cdh-dm-arrow { font-size: 10px; color: var(--cdh-muted); transition: transform .25s var(--cdh-ease); flex-shrink: 0; }
.cdh-dm-link.open .cdh-dm-arrow { transform: rotate(90deg); }

.cdh-dm-sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--cdh-ease); background: var(--cdh-cream); }
.cdh-dm-sub.open { max-height: 900px; }
.cdh-dm-sub__group { padding: 8px 18px 6px; }
.cdh-dm-sub__title {
  font-family: var(--cdh-font); font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: var(--cdh-muted);
  padding: 6px 0 5px; border-bottom: 1px dashed var(--cdh-border); margin-bottom: 4px;
}
.cdh-dm-sub__link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; border-radius: 8px;
  font-family: var(--cdh-font); font-size: 12.5px; font-weight: 600;
  color: var(--cdh-dark); text-decoration: none;
  transition: all var(--cdh-dur-f); margin-bottom: 1px;
}
.cdh-dm-sub__link:hover { background: var(--cdh-rose-m); color: var(--cdh-rose-d); }
.cdh-dm-sub__link span  { font-size: 14px; }

.cdh-drawer__foot {
  flex-shrink: 0; border-top: 1.5px solid var(--cdh-border);
  padding: 14px 18px; background: var(--cdh-cream);
  display: flex; flex-direction: column; gap: 8px;
}
.cdh-drawer__contact {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--cdh-font); font-size: 12.5px; font-weight: 600;
  color: var(--cdh-dark); text-decoration: none;
  padding: 6px 10px; border-radius: 9px;
  border: 1.5px solid var(--cdh-border); background: var(--cdh-white);
  transition: all var(--cdh-dur-f);
}
.cdh-drawer__contact:hover { border-color: var(--cdh-rose); color: var(--cdh-rose-d); background: var(--cdh-rose-l); }
.cdh-drawer__contact-ico { font-size: 16px; flex-shrink: 0; }

.cdh-zalo-full {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px; border-radius: var(--cdh-r-md);
  background: var(--cdh-g); color: #fff;
  font-family: var(--cdh-font); font-size: 14px; font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232,71,124,.35);
  transition: transform var(--cdh-dur) var(--cdh-spring), box-shadow var(--cdh-dur);
}
.cdh-zalo-full:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(232,71,124,.50); color: #fff; }

/* ── BURGER LINES — force visible, không phụ thuộc color cascade ── */
.cdh-burger__line {
  background-color: #1a1a2e;
}
.cdh-burger:hover .cdh-burger__line,
.cdh-burger.open  .cdh-burger__line {
  background-color: #c93366;
}

/* ── ACTION BUTTONS — force background/border cứng ── */
.cdh-action-btn {
  background-color: #ffffff;
  border-color: #e2e8f0;
}



/* ══════════════════════════════════════════════════════════
   🔧 FIX v4.1 — ICON RECOVERY
   Lý do: style.css @layer base có `svg { height:auto; display:block }`
   override làm SVG inline bị thu về 0 hoặc render sai.
   Flatsome parent CSS cũng có thể xung đột cascade.
   Giải pháp: scope theo #cdh-root với specificity đủ mạnh.
   ══════════════════════════════════════════════════════════ */

/* 1. SVG global reset trong #cdh-root */
#cdh-root svg {
  display: inline-block;
  flex-shrink: 0;
  overflow: visible;
  pointer-events: none;
  /* Không để height:auto từ style.css collapse SVG */
  height: auto;
  max-width: none;
}

/* 2. SVG trong action buttons (search, cart) */
#cdh-root .cdh-action-btn svg {
  display: block !important;
  width:  17px !important;
  height: 17px !important;
  min-width:  17px;
  min-height: 17px;
  fill:             none !important;
  stroke:           #1a1a2e !important;
  stroke-width:     2.2px !important;
  stroke-linecap:   round !important;
  stroke-linejoin:  round !important;
}
#cdh-root .cdh-action-btn:hover svg {
  stroke: #c93366 !important;
}

/* 3. SVG trong Zalo button */
#cdh-root .cdh-zalo-btn svg {
  display: block !important;
  width:  15px !important;
  height: 15px !important;
  min-width:  15px;
  min-height: 15px;
  fill:             none !important;
  stroke:           #ffffff !important;
  stroke-width:     2.2px !important;
  stroke-linecap:   round !important;
  stroke-linejoin:  round !important;
}

/* 4. SVG trong mega menu & topbar */
#cdh-root .cdh-topbar__item svg {
  display: inline-block !important;
  width:  11px !important;
  height: 11px !important;
  fill:           none !important;
  stroke:         currentColor !important;
  stroke-width:   2px !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vertical-align: middle;
  flex-shrink: 0;
}

/* 5. HAMBURGER LINES — force visible với !important + #cdh-root scope */
#cdh-root .cdh-burger {
  display: none;  /* default, media query bên dưới bật lên */
}
@media (max-width: 991px) {
  #cdh-root .cdh-burger {
    display: flex !important;
  }
}
#cdh-root .cdh-burger__lines {
  display:        flex !important;
  flex-direction: column !important;
  gap:            4.5px !important;
  width:          18px !important;
  pointer-events: none;
}
#cdh-root .cdh-burger__line {
  display:          block !important;
  width:            100% !important;
  height:           2px !important;
  border-radius:    2px !important;
  background-color: #1a1a2e !important;  /* hardcode, không dùng var() */
  background-image: none !important;
  border:           none !important;
  padding:          0 !important;
  margin:           0 !important;
  transform-origin: center;
  transition:       transform .28s cubic-bezier(.16,1,.3,1),
                    opacity   .28s cubic-bezier(.16,1,.3,1) !important;
}
#cdh-root .cdh-burger:hover .cdh-burger__line {
  background-color: #c93366 !important;
}
#cdh-root .cdh-burger.open .cdh-burger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
#cdh-root .cdh-burger.open .cdh-burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#cdh-root .cdh-burger.open .cdh-burger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
#cdh-root .cdh-burger.open .cdh-burger__line {
  background-color: #c93366 !important;
}
