*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#0c1f38;background:#fff;font-size:15px;line-height:1.55}a{text-decoration:none;color:inherit}.container{max-width:1180px;margin:0 auto;padding:0 18px}.topbar{position:sticky;top:0;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);z-index:50;border-bottom:1px solid #e3edf8}.header{height:76px;display:flex;align-items:center;gap:18px}.logo img{height:35px;width:auto;max-width:250px}.nav{display:flex;gap:16px;align-items:center;flex:1;min-width:0;overflow:hidden}.nav a{white-space:nowrap;font-weight:800;font-size:13.5px;color:#102033;padding:28px 0;position:relative}.nav a:hover,.nav a.active{color:#e60012}.nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:12px;height:3px;background:#e60012;border-radius:5px}.header-actions{display:flex;gap:10px;align-items:center;flex:0 0 auto}.search{height:42px;width:210px;border:1px solid #dbe6f5;border-radius:999px;padding:0 16px;outline:none}.hotline{height:46px;background:#e60012;color:#fff;border-radius:9px;padding:6px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:900}.hotline small{font-size:10px}.zalo-btn{height:46px;background:#0752bd;color:#fff;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 18px;font-weight:900}.zalo-btn img{width:24px}.mobile-toggle{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:10px;font-weight:900;border:0;cursor:pointer}.btn-red{background:#e60012;color:#fff;box-shadow:0 12px 28px rgba(230,0,18,.2)}.btn-blue{background:#0752bd;color:#fff}.btn-outline{background:#fff;color:#0752bd;border:1.5px solid #0752bd}.hero-wrap{background:#eef6ff}.hero{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;min-height:470px;padding:46px 0 72px}.hero h1{font-size:46px;line-height:1.18;letter-spacing:-.8px;margin:0 0 18px;color:#0752bd}.hero p{font-size:18px;margin:0 0 18px}.hero-img{border-radius:24px;overflow:hidden;box-shadow:0 20px 50px rgba(7,82,189,.15)}.hero-img img{display:block;width:100%;height:315px;object-fit:cover}.checks{display:grid;gap:9px;margin:18px 0 24px}.checks span{display:flex;gap:10px;align-items:center}.checks i{width:22px;height:22px;border-radius:50%;background:#0871d7;color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:13px}.trust{margin-top:-48px;position:relative;z-index:3}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #dbe6f5;border-radius:18px;overflow:hidden;box-shadow:0 22px 55px rgba(7,31,72,.08)}.trust-item{display:flex;gap:16px;align-items:center;padding:26px;border-right:1px solid #e1eaf5}.trust-item:last-child{border-right:0}.trust-icon{font-size:31px}.trust-item b{display:block;color:#0752bd;font-size:17px}.trust-item span{color:#61718a}.section{padding:62px 0}.section.alt{background:#f3f8ff}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.section h2{margin:0;font-size:29px;color:#0752bd;text-transform:uppercase;letter-spacing:.8px}.see{color:#0752bd;font-weight:900}.products,.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{background:#fff;border:1px solid #dfe8f5;border-radius:16px;box-shadow:0 10px 28px rgba(9,40,88,.05);overflow:hidden}.card:hover{transform:translateY(-3px);box-shadow:0 18px 35px rgba(7,82,189,.12)}.product-img{height:215px;background:#f8fbff}.product-img img,.article-img img{width:100%;height:100%;object-fit:cover;display:block}.card-body{padding:18px}.card h3{margin:0 0 6px;color:#0b4ba5;font-size:18px}.muted{color:#61718a}.price{font-size:20px;color:#e60012;font-weight:900;margin:12px 0}.mini-btn{color:#0752bd;border:1px solid #cbdcf2;border-radius:8px;padding:8px 13px;display:inline-flex;font-weight:900;font-size:13px}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.stat{background:#fff;border:1px solid #dce8f6;border-radius:15px;padding:20px;min-height:130px}.stat i{font-style:normal;font-size:28px}.stat b{display:block;font-size:23px;color:#0752bd}.why{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.article-img{height:170px}.cta-band{background:#eaf5ff;border:1px solid #cfe2f7;border-radius:20px;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta-band h2{font-size:27px;color:#0752bd;margin:0 0 5px}.cta-actions{display:flex;gap:14px}.footer{background:#0049ad;color:#fff;padding:42px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:32px}.footer-logo{height:42px}.footer p,.footer a{color:#e7f2ff}.copyright{border-top:1px solid rgba(255,255,255,.18);margin-top:28px;padding-top:18px;color:#d7e8ff}.page-hero{background:#eef6ff;padding:34px 0;border-radius:0 0 28px 28px}.page-hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.page-hero h1{font-size:42px;color:#0752bd;margin:0 0 12px}.page-hero img{width:100%;height:250px;object-fit:cover;border-radius:20px}.breadcrumb{color:#697892;font-weight:800;margin-bottom:12px}.listing{display:grid;grid-template-columns:260px 1fr;gap:25px}.sidebar{background:#fff;border:1px solid #dce8f6;border-radius:16px;padding:20px;align-self:start}.sidebar h3{color:#0752bd;margin-top:0}.sidebar a{display:block;padding:10px 12px;border-radius:10px;font-weight:800}.sidebar a.active,.sidebar a:hover{background:#eef6ff;color:#0752bd}.detail{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:40px 0}.gallery-main{border:1px solid #dce8f6;border-radius:20px;overflow:hidden;background:#fff}.gallery-main img{width:100%;height:430px;object-fit:cover}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.thumbs img{height:84px;object-fit:cover;border-radius:10px;border:1px solid #dce8f6;width:100%}.detail h1{font-size:34px;color:#0752bd;margin:0 0 10px}.detail-price{font-size:36px;color:#e60012;font-weight:900;margin:18px 0}.swatches,.sizes{display:flex;gap:10px;flex-wrap:wrap}.swatch{width:28px;height:28px;border-radius:50%;box-shadow:0 0 0 1px #cfd9e8;border:2px solid #fff}.sizes span{border:1px solid #d5e2f2;border-radius:8px;padding:8px 18px}.specs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.spec{border:1px solid #dce8f6;border-radius:12px;padding:13px}.tabs{border:1px solid #dce8f6;border-radius:18px;padding:24px;margin-bottom:55px}.contact-grid{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:20px}.contact-card,.form-card{background:#fff;border:1px solid #dce8f6;border-radius:18px;padding:22px}.form input,.form textarea{width:100%;border:1px solid #d5e2f2;border-radius:10px;padding:13px;font:inherit}.form textarea{height:130px}.form label{font-weight:900;color:#0752bd;margin:12px 0 7px;display:block}.bottom-mobile{display:none}@media(max-width:980px){.container{padding:0 14px}.mobile-toggle{display:block;font-size:27px}.header{height:auto;padding:14px 0;flex-wrap:wrap}.nav{display:none}.logo img{height:31px}.search{order:3;width:100%;margin-top:8px}.hotline{display:none}.hero{grid-template-columns:1fr;padding:18px 0 70px}.hero h1{font-size:31px}.hero p{font-size:15px}.hero-img img{height:220px}.trust{margin-top:-45px}.trust-grid{grid-template-columns:repeat(2,1fr);gap:10px;background:transparent;border:0;box-shadow:none}.trust-item{border:1px solid #dce8f6!important;background:#fff;border-radius:14px;padding:18px}.products,.product-grid,.news-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-img{height:160px}.stats{grid-template-columns:repeat(2,1fr)}.why{grid-template-columns:1fr}.cta-band{flex-direction:column;align-items:flex-start;margin-bottom:70px}.cta-actions{display:none}.footer{display:none}.listing,.detail,.page-hero-inner,.contact-grid{grid-template-columns:1fr}.sidebar{display:none}.specs{grid-template-columns:repeat(2,1fr)}.bottom-mobile{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 12px;background:#fff;z-index:90;box-shadow:0 -8px 28px rgba(0,0,0,.1)}.bottom-mobile a{height:54px;border-radius:14px;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.bottom-mobile a:first-child{background:#e60012}.bottom-mobile a:last-child{background:#0752bd}.section{padding:38px 0}.section h2{font-size:22px}.gallery-main img{height:300px}}
/* ===== KingF final header + font fix ===== */
body{font-family:"Segoe UI",Arial,sans-serif;font-weight:400}
.topbar{position:sticky;top:0;background:#fff;border-bottom:1px solid #e3edf8;z-index:50}
.header-top{background:#f4f9ff;border-bottom:1px solid #e4eef9;font-size:13px;color:#31506f}
.header-top .container{height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.header-top b{color:#0752bd}.header-top a{color:#0752bd;font-weight:700}
.header{height:70px;display:flex;align-items:center;gap:18px;max-width:1320px}
.logo{flex:0 0 auto}.logo img{height:36px;max-width:255px;width:255px}
.nav{display:flex;gap:14px;align-items:center;flex:1;min-width:0;overflow:visible;justify-content:center}
.nav a{white-space:nowrap;font-weight:700;font-size:14px;color:#102033;padding:25px 0;letter-spacing:0}
.header-actions{display:flex;gap:9px;align-items:center;flex:0 0 auto}
.search{width:185px;height:40px;font-family:"Segoe UI",Arial,sans-serif}
.hotline{height:44px;min-width:130px;border-radius:10px;font-size:15px}
.zalo-btn{height:44px;border-radius:10px;padding:0 15px}
.hero-img img{object-position:center right}
@media(max-width:1180px){
 .header{max-width:100%}
 .nav{gap:10px}.nav a{font-size:13px}
 .search{width:155px}.logo img{width:230px}
}
@media(max-width:980px){
 .header-top{display:none}
 .header{height:auto;padding:14px 0;max-width:1180px}
 .logo img{width:205px;height:auto}
 .nav{display:none}
 .search{width:100%}
}

/* ===== final fix header / floating contact / mobile / filters ===== */
body{font-family:"Segoe UI",Arial,sans-serif!important}
.topbar{background:#fff!important;border-bottom:1px solid #e3edf8!important;box-shadow:0 4px 18px rgba(12,31,56,.04)}
.header{height:76px!important;max-width:1280px!important;gap:18px!important}
.header-top,.header-actions,.hotline,.zalo-btn{display:none!important}
.logo-stack{width:170px!important;min-width:170px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important}
.kfu-boxes{display:flex;gap:5px}.kfu-boxes b{width:23px;height:23px;border-radius:3px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}.kfu-boxes b:nth-child(1){background:#e60012}.kfu-boxes b:nth-child(2){background:#00a651}.kfu-boxes b:nth-child(3){background:#0057c8}
.logo-text{font-size:15px;font-weight:800;color:#0752bd;line-height:1;white-space:nowrap}
.nav{justify-content:flex-start!important;gap:14px!important;overflow:visible!important}
.nav a{font-size:14px!important;font-weight:700!important;padding:27px 0!important}
.header-search{margin-left:auto;flex:0 0 auto}.header-search .search{width:220px!important}
.floating-contact{position:fixed;right:22px;top:45%;z-index:88;display:flex;flex-direction:column;gap:14px}.floating-contact a{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(0,0,0,.16)}.float-call{background:#ffc400;color:#102033;font-size:25px}.float-zalo{background:#1d75ff}.float-zalo img{width:38px;height:38px}
.footer-logo{height:56px!important;width:auto!important;opacity:1!important}
.map-box iframe{width:100%;height:290px;border:0;border-radius:14px}
.filter-toggle{display:none}
.filter-form .field{margin-bottom:14px}.filter-form label{font-weight:800;color:#0752bd;display:block;margin-bottom:6px}.filter-form input,.filter-form select{width:100%;height:40px;border:1px solid #d5e2f2;border-radius:10px;padding:0 10px}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:25px}.pagination a,.pagination span{padding:8px 12px;border:1px solid #d5e2f2;border-radius:8px;font-weight:800;color:#0752bd}.pagination .active{background:#0752bd;color:#fff}
@media(max-width:1180px){.header{max-width:100%!important}.nav{gap:9px!important}.nav a{font-size:13px!important}.header-search .search{width:175px!important}.logo-stack{width:150px!important;min-width:150px!important}.logo-text{font-size:13px}}
@media(max-width:980px){
 .header{height:auto!important;padding:12px 0!important}.logo-stack{width:auto!important;min-width:0!important}.logo-text{font-size:13px}.kfu-boxes b{width:21px;height:21px;font-size:12px}
 .header-search{order:3;width:100%!important;margin-left:0}.header-search .search{width:100%!important}
 .floating-contact{display:none}.news-grid{grid-template-columns:1fr!important}.news-grid .article-img{height:190px!important}
 .page-hero-inner{display:block!important}.page-hero img{height:210px!important;object-fit:cover!important;object-position:center!important;margin-top:16px}.page-hero h1{font-size:31px!important}
 .filter-toggle{display:flex;align-items:center;justify-content:center;margin-bottom:12px;width:100%;height:42px;border:1px solid #0752bd;border-radius:10px;color:#0752bd;font-weight:900;background:#fff}
 .listing{display:block!important}.sidebar{display:block!important;margin-bottom:16px}.sidebar.filter-sidebar{display:block!important}
 .filter-extra{display:none}.sidebar.open .filter-extra{display:block}
 .products,.product-grid{grid-template-columns:repeat(2,1fr)!important}
}

/* ===== FINAL KingF category/filter/admin/frontend polish ===== */
:root{--kf-blue:#0752bd;--kf-red:#e60012;--kf-soft:#eef6ff;--kf-line:#dce8f6;--kf-dark:#102033}
body,button,input,select,textarea{font-family:"Segoe UI",Arial,sans-serif!important}
.contact-buttons,.cta-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.cta-hotline,.cta-zalo{min-width:170px;height:58px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:12px;color:#fff;font-weight:800;box-shadow:0 14px 30px rgba(7,82,189,.12)}
.cta-hotline{background:var(--kf-red)}.cta-zalo{background:var(--kf-blue)}
.cta-hotline i,.cta-zalo i{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18);font-style:normal;font-size:18px}
.cta-hotline b,.cta-zalo b{display:block;line-height:1;font-size:15px}.cta-hotline small,.cta-zalo small{display:block;font-weight:700;font-size:12px;opacity:.95;margin-top:3px}
.filter-group{padding:17px 0;border-bottom:1px solid #e5edf7}.filter-group:first-child{padding-top:0}.filter-title{display:flex;justify-content:space-between;align-items:center;font-weight:800;color:#25384d;margin-bottom:12px}.filter-title span{color:#6b7b91}
.filter-search{width:100%;height:42px;border:1px solid #d6e2f0;border-radius:10px;padding:0 12px;outline:none}
.size-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.size-options label,.qty-options label,.material-options label{cursor:pointer}.size-options input,.material-options input,.qty-options input,.color-options input{position:absolute;opacity:0;pointer-events:none}
.size-options span{display:flex;height:40px;align-items:center;justify-content:center;border:1px solid #d9e4f1;border-radius:8px;background:#fff;font-weight:700;color:#34465a}
.size-options input:checked+span{border-color:var(--kf-blue);background:#eaf3ff;color:var(--kf-blue)}
.material-options,.qty-options{display:grid;gap:9px}.material-options span,.qty-options span{display:flex;align-items:center;gap:8px;color:#34465a}.material-options span:before,.qty-options span:before{content:"";width:18px;height:18px;border:1px solid #cfdbe9;border-radius:5px;background:#fff}.material-options input:checked+span:before,.qty-options input:checked+span:before{background:var(--kf-blue);border-color:var(--kf-blue);box-shadow:inset 0 0 0 4px #fff}
.color-options{display:flex;gap:10px;flex-wrap:wrap}.color-dot{width:34px;height:34px;border-radius:50%;display:block;border:3px solid #fff;box-shadow:0 0 0 1px #cfdbe9}.color-options input:checked+.color-dot{box-shadow:0 0 0 3px var(--kf-blue)}
.range-row{display:flex;gap:12px;align-items:center}.range-row input{width:100%;height:42px;border:1px solid #d6e2f0;border-radius:8px;text-align:center;color:#526276;font-weight:700}.range-slider{padding-top:12px}.range-slider input[type=range]{width:100%;accent-color:var(--kf-blue)}
.filter-submit{margin-top:16px;display:grid;gap:9px}.filter-submit .btn{width:100%;padding:12px}
.admin-filter-card{background:#fff;border:1px solid #e0e8f2;border-radius:20px;padding:24px;box-shadow:0 16px 35px rgba(21,45,88,.06);margin-bottom:22px}
.admin-filter-title{font-size:20px;color:var(--kf-blue);font-weight:750;margin:0 0 18px}
.admin-filter-grid{display:grid;grid-template-columns:1.2fr 1.1fr .9fr .9fr;gap:16px}.admin-filter-grid .field label{font-weight:700!important}
.admin-price-row{display:flex;gap:10px}.admin-price-row input{text-align:center}
.admin-filter-actions{display:flex;gap:10px;align-items:end}.admin-muted{color:#6b7b91;font-weight:600}
@media(max-width:980px){
 .cta-band{margin-bottom:70px}.contact-buttons,.cta-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.cta-hotline,.cta-zalo{min-width:0;width:100%}
 .size-options{grid-template-columns:repeat(4,1fr)}
 .sidebar.filter-sidebar{display:none!important}.sidebar.filter-sidebar.open{display:block!important;position:fixed;z-index:95;left:0;right:0;bottom:0;top:72px;overflow:auto;border-radius:18px 18px 0 0;padding:18px;background:#fff;box-shadow:0 -20px 60px rgba(0,0,0,.18)}
 .admin-filter-grid{grid-template-columns:1fr}
}

/* ===== FINAL requested header/banner/zalo/admin compact fix ===== */
.logo-stack{align-items:center!important;text-align:center!important;width:180px!important;min-width:180px!important}
.logo-stack .kfu-boxes{justify-content:center!important;width:100%!important}
.logo-text{display:block!important;text-align:center!important;width:100%!important}
.nav{align-items:center!important}
.nav a{font-size:15px!important;font-weight:750!important;padding-top:26px!important;padding-bottom:26px!important}
.hero h1{font-size:42px!important;line-height:1.16!important;letter-spacing:-.8px!important}
@media(max-width:980px){.hero h1{font-size:32px!important}.nav a{font-size:14px!important}.logo-stack{width:auto!important;min-width:0!important}}
.cta-zalo i{background:#fff!important;color:#0068ff!important;font-size:0!important}
.cta-zalo i:before{content:"";width:32px;height:32px;background:url('../img/zalo-sharp.png') center/contain no-repeat;display:block}
.float-zalo img,.bottom-mobile img{border-radius:10px}
.page-hero img{background:#eaf4ff}
.admin-filter-grid.compact-admin-filter{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.admin-filter-grid.compact-admin-filter .field{margin-bottom:4px!important}
.admin-filter-grid.compact-admin-filter input,.admin-filter-grid.compact-admin-filter select{height:42px!important}
.admin-price-compact{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-range-compact{grid-column:span 2}
.admin-range-compact input[type=range]{width:100%;accent-color:#0752bd;margin-top:8px}
@media(max-width:1200px){.admin-filter-grid.compact-admin-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.admin-filter-grid.compact-admin-filter{grid-template-columns:1fr!important}.admin-range-compact{grid-column:span 1}}

/* ===== FINAL font + Zalo button polish ===== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

body,
button,
input,
select,
textarea {
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif !important;
  letter-spacing: -0.01em;
}

.nav a {
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

.hero h1,
.page-hero h1,
.section-head h2,
.card h3,
.footer h4,
.admin-title h1,
.admin-filter-title {
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif !important;
}

/* Zalo CTA: separated icon box + divider + cleaner spacing */
.cta-zalo {
  min-width: 190px !important;
  height: 60px !important;
  padding: 0 16px 0 10px !important;
  border-radius: 16px !important;
  background: #0752bd !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  box-shadow: 0 14px 30px rgba(7,82,189,.20) !important;
}

.cta-zalo i {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  position: relative !important;
}

.cta-zalo i:before {
  content: "" !important;
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  background: url("../img/zalo-sharp.png") center/contain no-repeat !important;
}

.cta-zalo i:after {
  content: "" !important;
  position: absolute !important;
  right: -7px !important;
  top: 8px !important;
  width: 1px !important;
  height: 26px !important;
  background: rgba(255,255,255,.28) !important;
}

.cta-zalo span {
  display: block !important;
  line-height: 1.1 !important;
  color: #fff !important;
}

.cta-zalo b {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
}

.cta-zalo small {
  font-size: 12px !important;
  font-weight: 700 !important;
  opacity: .96 !important;
  margin-top: 4px !important;
}

/* floating zalo icon cleaner */
.float-zalo {
  background: #0752bd !important;
  border: 4px solid #fff !important;
}

.float-zalo img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 3px !important;
}

/* mobile bottom button */
.bottom-mobile a:last-child {
  gap: 8px !important;
}

.bottom-mobile a:last-child img {
  background: #fff !important;
  border-radius: 9px !important;
  padding: 3px !important;
  width: 30px !important;
  height: 30px !important;
}

@media(max-width:980px) {
  .cta-zalo {
    min-width: 0 !important;
    width: 100% !important;
    height: 56px !important;
    padding: 0 12px 0 9px !important;
  }

  .cta-zalo i {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .cta-zalo b {
    font-size: 13px !important;
  }

  .cta-zalo small {
    font-size: 11px !important;
  }
}

/* ===== FINAL requested layout/sidebar/mobile/header/admin compact ===== */

/* Font: gọn hơn, giống web thương mại */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
body,button,input,select,textarea{
  font-family:"Montserrat","Be Vietnam Pro","Segoe UI",Arial,sans-serif!important;
  letter-spacing:0!important;
}
.nav a,.logo-text,.card h3,.section-head h2,.page-hero h1,.hero h1{
  font-family:"Montserrat","Be Vietnam Pro","Segoe UI",Arial,sans-serif!important;
}

/* Header: logo trái, menu căn giữa thật, search phải */
.header{
  position:relative!important;
  max-width:1280px!important;
  height:76px!important;
  display:flex!important;
  align-items:center!important;
}
.logo-stack{
  position:relative!important;
  z-index:2!important;
  align-items:center!important;
  text-align:center!important;
  width:180px!important;
  min-width:180px!important;
}
.logo-stack .kfu-boxes{justify-content:center!important;width:100%!important}
.logo-text{display:block!important;width:100%!important;text-align:center!important;font-size:14px!important}
.header-search{
  position:relative!important;
  z-index:2!important;
  margin-left:auto!important;
}
.nav{
  position:absolute!important;
  left:50%!important;
  top:0!important;
  height:76px!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:18px!important;
  width:auto!important;
  max-width:760px!important;
  min-width:0!important;
  overflow:visible!important;
  z-index:1!important;
}
.nav a{
  font-size:15px!important;
  font-weight:700!important;
  padding:27px 0!important;
  white-space:nowrap!important;
}

/* Hero mobile spacing */
@media(max-width:980px){
  .header{
    padding:12px 16px!important;
    gap:10px!important;
  }
  .nav{
    display:none!important;
    position:fixed!important;
    left:16px!important;
    right:16px!important;
    top:78px!important;
    transform:none!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    background:#fff!important;
    border:1px solid #dce8f6!important;
    border-radius:16px!important;
    box-shadow:0 18px 50px rgba(8,28,58,.16)!important;
    padding:12px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    z-index:100!important;
  }
  body.mobile-menu-open .nav{
    display:flex!important;
  }
  .nav a{
    padding:12px 14px!important;
    border-radius:10px!important;
    font-size:14px!important;
  }
  .nav a.active:after{display:none!important}
  .mobile-toggle{
    display:flex!important;
    width:38px!important;
    height:38px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #cbd9ea!important;
    background:#fff!important;
    border-radius:8px!important;
    font-size:22px!important;
    line-height:1!important;
    cursor:pointer!important;
  }
  .logo-stack{
    width:auto!important;
    min-width:118px!important;
  }
  .header-search{
    order:3!important;
    width:100%!important;
    margin:8px 0 0!important;
  }
  .header-search .search{
    width:100%!important;
  }
  .hero,.page-hero{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .hero .container,.page-hero .container{
    padding-left:0!important;
    padding-right:0!important;
  }
  .hero-img,.page-hero img{
    border-radius:16px!important;
    overflow:hidden!important;
  }
  .hero h1{
    font-size:29px!important;
    line-height:1.25!important;
  }
}

/* Sidebar danh mục kiểu cây, mềm hơn */
.sidebar{
  background:#f4f8ff!important;
  border:1px solid #dce8f6!important;
  border-radius:18px!important;
  padding:20px!important;
}
.sidebar h3{
  color:#1d2b3a!important;
  font-size:17px!important;
  font-weight:800!important;
  margin-bottom:14px!important;
}
.sidebar a{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:7px 10px 7px 34px!important;
  margin:3px 0!important;
  border-radius:10px!important;
  color:#34465a!important;
  font-size:14px!important;
  font-weight:600!important;
  background:transparent!important;
}
.sidebar a:before{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  top:50%!important;
  width:13px!important;
  height:13px!important;
  border-radius:50%!important;
  border:1.6px solid #b7c6d9!important;
  background:#fff!important;
  transform:translateY(-50%)!important;
}
.sidebar a:after{
  content:""!important;
  position:absolute!important;
  left:18px!important;
  top:-6px!important;
  width:1px!important;
  height:13px!important;
  background:#cbd9ea!important;
  opacity:.75!important;
}
.sidebar a.active,.sidebar a:hover{
  background:#eaf3ff!important;
  color:#0752bd!important;
}
.sidebar a.active:before{
  border-color:#0752bd!important;
  box-shadow:inset 0 0 0 4px #fff!important;
  background:#0752bd!important;
}
.sidebar a[style*="padding-left"]{
  margin-left:18px!important;
  padding-left:34px!important;
  font-size:13.5px!important;
}
.sidebar a[style*="padding-left"]::after{
  height:42px!important;
  top:-27px!important;
}
.sidebar a[style*="padding-left"]::before{
  width:11px!important;
  height:11px!important;
}
.filter-group{
  background:#fff!important;
  border:1px solid #e1eaf5!important;
  border-radius:14px!important;
  padding:14px!important;
  margin-top:12px!important;
}

/* Zalo vẽ lại bằng CSS: vòng tròn xanh, chữ trắng, không dùng ảnh vuông trong nút chính */
.zalo-circle{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#0b7cff;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
  font-style:normal;
  box-shadow:inset 0 -5px 10px rgba(0,0,0,.12);
}
.cta-zalo i{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  border-radius:50%!important;
  background:#0b7cff!important;
  color:#fff!important;
  font-size:0!important;
}
.cta-zalo i:before{
  content:"Zalo"!important;
  width:auto!important;
  height:auto!important;
  background:none!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
}
.cta-zalo i:after{display:none!important}
.float-zalo{
  background:#0b7cff!important;
  border:4px solid #fff!important;
}
.float-zalo img{display:none!important}
.float-zalo:before{
  content:"Zalo";
  color:#fff;
  font-size:13px;
  font-weight:800;
}
.bottom-mobile a:last-child img{display:none!important}
.bottom-mobile a:last-child:before{
  content:"Zalo";
  width:30px;
  height:30px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0b7cff;
  color:#fff;
  font-size:10px;
  font-weight:800;
  margin-right:8px;
}

/* CTA to hơn và pulse nhẹ */
.cta-hotline,.cta-zalo{
  min-width:190px!important;
  height:62px!important;
  border-radius:16px!important;
  animation:kfPulse 1.8s infinite!important;
}
.float-call,.float-zalo{
  width:64px!important;
  height:64px!important;
  animation:kfPulse 1.8s infinite!important;
}
.bottom-mobile a{
  height:56px!important;
  font-size:14px!important;
  animation:kfPulse 2s infinite!important;
}
@keyframes kfPulse{
  0%{transform:scale(1);box-shadow:0 10px 26px rgba(7,82,189,.16)}
  50%{transform:scale(1.045);box-shadow:0 16px 36px rgba(7,82,189,.28)}
  100%{transform:scale(1);box-shadow:0 10px 26px rgba(7,82,189,.16)}
}

/* Admin product filter: co lại, không full ngang, mỗi ô vừa phải */
.admin-filter-card{
  max-width:1180px!important;
  width:fit-content!important;
  min-width:min(100%,980px)!important;
  padding:20px!important;
}
.admin-filter-grid.compact-admin-filter{
  display:grid!important;
  grid-template-columns:repeat(4,260px)!important;
  gap:12px 14px!important;
  align-items:end!important;
}
.admin-filter-grid.compact-admin-filter .field{
  margin-bottom:0!important;
}
.admin-filter-grid.compact-admin-filter input,
.admin-filter-grid.compact-admin-filter select{
  width:260px!important;
  max-width:260px!important;
  height:40px!important;
}
.admin-range-compact{
  grid-column:span 2!important;
  max-width:534px!important;
}
.admin-range-compact input[type=range]{
  width:100%!important;
}
.admin-filter-grid.compact-admin-filter .btn-admin{
  width:150px!important;
  height:42px!important;
}
@media(max-width:1320px){
  .admin-filter-grid.compact-admin-filter{grid-template-columns:repeat(3,260px)!important}
}
@media(max-width:980px){
  .admin-filter-card{width:100%!important;min-width:0!important}
  .admin-filter-grid.compact-admin-filter{grid-template-columns:1fr!important}
  .admin-filter-grid.compact-admin-filter input,
  .admin-filter-grid.compact-admin-filter select{width:100%!important;max-width:none!important}
  .admin-range-compact{grid-column:span 1!important;max-width:none!important}
}

/* ===== FINAL KINGF: slider, header font, sidebar clean, zoom, admin filter ===== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');
body,button,input,select,textarea{font-family:"Be Vietnam Pro","Montserrat","Segoe UI",Arial,sans-serif!important}
.nav a{font-size:17px!important;font-weight:800!important;letter-spacing:-.3px!important;color:#0d1f35!important}
.nav a:hover,.nav a.active{color:#e60012!important}
.nav a.active:after{height:3px!important;border-radius:999px!important;bottom:0!important}
.logo-text{font-size:15px!important;font-weight:900!important;line-height:1.05!important}
.header{position:relative!important;height:82px!important}
.nav{position:absolute!important;left:50%!important;top:0!important;height:82px!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:24px!important;max-width:900px!important;z-index:1!important}
.header-search{margin-left:auto!important;position:relative!important;z-index:2!important}
.logo-stack{position:relative!important;z-index:2!important}

/* Home hero slider */
.home-slider{position:relative;width:100%;overflow:hidden;background:#eaf4ff}
.slider-track{position:relative;width:100%;height:clamp(300px,42.85vw,720px)}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease}
.slide.active{opacity:1;z-index:1}
.slide img{width:100%;height:100%;object-fit:cover;display:block}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#0752bd;font-size:34px;font-weight:700;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.15)}
.slider-btn.prev{left:22px}.slider-btn.next{right:22px}
.slider-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:6;display:flex;gap:9px;align-items:center}
.slider-dots button{width:11px;height:11px;border-radius:999px;border:0;background:rgba(255,255,255,.75);cursor:pointer}
.slider-dots button.active{width:42px;background:#0752bd}

/* Sidebar category: remove ugly lines/dashes */
.sidebar a:after{display:none!important}
.sidebar a{font-size:14.5px!important;font-weight:600!important;color:#26364a!important}
.sidebar a[style*="padding-left"]{margin-left:18px!important;padding-left:34px!important}
.sidebar a.active{font-weight:800!important}

/* Mobile search: icon only */
.mobile-search-toggle{display:none}
@media(max-width:980px){
  .header{height:auto!important;position:relative!important;flex-wrap:wrap!important;padding:12px 16px!important}
  .nav{display:none!important;position:fixed!important;left:16px!important;right:16px!important;top:72px!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;flex-direction:column!important;align-items:stretch!important;background:#fff!important;border:1px solid #dce8f6!important;border-radius:16px!important;padding:12px!important;box-shadow:0 18px 50px rgba(8,28,58,.16)!important;z-index:100!important}
  body.mobile-menu-open .nav{display:flex!important}
  .nav a{font-size:15px!important;padding:12px 14px!important}
  .mobile-search-toggle{display:flex!important;width:38px!important;height:38px!important;border:1px solid #cbd9ea!important;border-radius:999px!important;background:#fff!important;align-items:center!important;justify-content:center!important;font-size:17px!important;margin-left:auto!important;cursor:pointer!important;z-index:5!important}
  .header-search{display:none!important;position:absolute!important;left:16px!important;right:16px!important;top:64px!important;width:auto!important;z-index:110!important;margin:0!important}
  body.mobile-search-open .header-search{display:block!important}
  .header-search .search{width:100%!important;height:44px!important;box-shadow:0 14px 34px rgba(8,28,58,.16)!important;background:#fff!important}
  .slider-track{height:clamp(175px,52vw,280px)}
  .slider-btn{display:none}
  .slider-dots{bottom:10px}
  .slider-dots button{width:8px;height:8px}
  .slider-dots button.active{width:28px}
}

/* Product zoom gallery */
.product-gallery .gallery-main{position:relative;cursor:zoom-in;overflow:hidden}
.product-gallery .gallery-main img{transition:transform .25s ease}
.product-gallery .gallery-main:hover img{transform:scale(1.04)}
.zoom-hint{position:absolute;right:14px;bottom:14px;background:rgba(7,82,189,.92);color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;box-shadow:0 10px 26px rgba(7,82,189,.25)}
.thumbs img.active{border:2px solid #0752bd!important;box-shadow:0 8px 20px rgba(7,82,189,.18)}
.swatch{cursor:pointer;position:relative}
.swatch.active{outline:3px solid #0752bd!important;outline-offset:3px!important}
.image-lightbox{position:fixed;inset:0;background:rgba(3,13,28,.86);display:none;align-items:center;justify-content:center;z-index:9999;padding:32px}
.image-lightbox.open{display:flex}
.image-lightbox img{max-width:94vw;max-height:90vh;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.lightbox-close{position:absolute;right:28px;top:20px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#061a33;font-size:30px;cursor:pointer}

/* Admin filter: 3 fields per row (col-4), compact and clean */
.product-filter-card{width:auto!important;max-width:1120px!important;min-width:0!important;padding:22px!important}
.product-filter-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 18px!important;max-width:1060px!important}
.product-filter-grid .field{margin-bottom:0!important}
.product-filter-grid input,.product-filter-grid select{width:100%!important;max-width:none!important;height:42px!important;border:1px solid #d5e2f2!important;border-radius:10px!important;padding:0 12px!important;background:#fff!important}
.price-inline{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.price-range-compact{margin-top:10px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.price-range-compact input[type=range]{width:100%!important;accent-color:#0752bd!important}
.product-filter-actions{display:flex!important;gap:10px!important;margin-top:16px!important}
.product-filter-actions .btn-admin{width:auto!important;min-width:130px!important;height:42px!important;justify-content:center!important}
.btn-reset{background:#fff!important;border:1px solid #bcd3f0!important;color:#0752bd!important;box-shadow:none!important}
.btn-reset:hover{background:#eaf3ff!important}
@media(max-width:1180px){.product-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.product-filter-grid{grid-template-columns:1fr!important}.price-range-compact{grid-template-columns:1fr!important}}

/* ===== FINAL: KingF header + slider 15s dots + mobile banner + admin filter width ===== */
:root{--kingf-blue:#0057c8;--kingf-blue-dark:#0047a8;--kingf-red:#e60012}
.nav a{color:var(--kingf-blue)!important;font-size:17px!important;font-weight:700!important;letter-spacing:-.2px!important;font-family:"Be Vietnam Pro","Montserrat","Segoe UI",Arial,sans-serif!important}
.nav a:hover{color:var(--kingf-blue-dark)!important}
.nav a.active{color:var(--kingf-red)!important;font-weight:800!important}
.nav a.active:after{background:var(--kingf-red)!important;height:3px!important;border-radius:999px!important;bottom:0!important}
.logo-text{color:var(--kingf-blue)!important;font-weight:900!important}
.slider-dots{bottom:18px!important;background:rgba(255,255,255,.45)!important;border-radius:999px!important;padding:5px 8px!important;box-shadow:0 6px 18px rgba(0,0,0,.10)!important}
.slider-dots button{width:11px!important;height:11px!important;border-radius:999px!important;background:#d4d4d4!important;border:0!important;opacity:1!important}
.slider-dots button.active{width:46px!important;background:var(--kingf-blue)!important;box-shadow:inset 0 0 0 2px #fff!important}
.sidebar a:after,.sidebar a[style*="padding-left"]::after{display:none!important;content:none!important}
.sidebar a{border-left:0!important}
@media(max-width:980px){.home-slider{padding:12px 12px 0!important;background:#eef6ff!important}.slider-track{height:210px!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(7,82,189,.10)!important}.slide img{object-fit:cover!important;object-position:center!important}.slider-dots{bottom:10px!important;padding:4px 7px!important}.slider-dots button{width:8px!important;height:8px!important}.slider-dots button.active{width:32px!important}.trust{margin-top:14px!important}}
.product-filter-card{width:100%!important;max-width:none!important;min-width:0!important;padding:22px!important}
.product-filter-grid{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 18px!important}
.product-filter-grid input,.product-filter-grid select{width:100%!important;max-width:none!important}
.price-inline{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.price-range-compact{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:10px!important}
.product-filter-actions{display:flex!important;gap:10px!important;margin-top:16px!important}
.product-filter-actions .btn-admin{width:auto!important;min-width:130px!important}
.btn-reset,.btn-light{background:#fff!important;border:1px solid #bcd3f0!important;color:var(--kingf-blue)!important;font-weight:800!important;box-shadow:none!important}
.btn-reset:hover,.btn-light:hover{background:#eaf3ff!important}
@media(max-width:1180px){.product-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.product-filter-grid{grid-template-columns:1fr!important}.price-range-compact{grid-template-columns:1fr!important}}

/* ===== FINAL MEGA MENU + HOVER CARD + MOBILE DRAWER + DOUBLE ZOOM ===== */

/* Wider site */
.container{max-width:1440px!important}

/* Header final: Trang chủ | Sản phẩm | Giới thiệu | Tin tức | Liên hệ */
.header{height:86px!important}
.nav{gap:34px!important;max-width:760px!important}
.nav a{
  font-size:18px!important;
  font-weight:500!important;
  color:#0057c8!important;
  letter-spacing:-.2px!important;
}
.nav a.active{
  color:#e60012!important;
  font-weight:500!important;
}
.nav a.active:after{
  height:3px!important;
  background:#e60012!important;
}
.has-mega{height:86px;display:flex;align-items:center}
.has-mega>a{height:86px;display:flex;align-items:center;gap:4px}
.mega-menu{
  position:fixed;
  left:0;right:0;top:86px;
  background:#fff;
  border-top:1px solid #0b56bf;
  box-shadow:0 26px 60px rgba(0,36,90,.12);
  opacity:0;visibility:hidden;
  transform:translateY(8px);
  transition:.22s ease;
  z-index:90;
  padding:34px 0 42px;
}
.has-mega:hover .mega-menu{opacity:1;visibility:visible;transform:translateY(0)}
.mega-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:36px 70px;
}
.mega-col{display:flex;flex-direction:column;gap:13px}
.mega-title{
  color:#333!important;
  font-size:18px!important;
  font-weight:700!important;
  padding:0 0 4px!important;
}
.mega-title:after{display:none!important}
.mega-link{
  color:#444!important;
  font-size:17px!important;
  font-weight:400!important;
  padding:0!important;
  line-height:1.45;
}
.mega-link:after{display:none!important}
.mega-link:hover{color:#0057c8!important}

/* Slider: no arrows, 5s interval configured in admin, benefits below banner */
.slider-btn{display:none!important}
.home-slider{margin-bottom:0!important}
.trust{
  margin-top:48px!important;
  transform:none!important;
  position:relative!important;
}
@media(max-width:980px){
  .home-slider{padding:12px 12px 0!important}
  .slider-track{height:150px!important;border-radius:16px!important}
  .slide img{object-fit:cover!important;object-position:center!important}
  .trust{margin-top:18px!important}
  .trust-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
}

/* Mobile offcanvas menu */
.mobile-backdrop{
  position:fixed;inset:0;background:rgba(5,20,42,.48);z-index:198;
  opacity:0;visibility:hidden;transition:.2s ease;
}
.mobile-drawer{
  position:fixed;left:0;top:0;bottom:0;width:min(86vw,360px);
  background:#fff;z-index:199;transform:translateX(-105%);
  transition:.25s ease;box-shadow:24px 0 60px rgba(0,0,0,.22);
  padding:18px;overflow:auto;
}
body.drawer-open .mobile-backdrop{opacity:1;visibility:visible}
body.drawer-open .mobile-drawer{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.drawer-close{width:38px;height:38px;border:1px solid #d7e4f5;background:#fff;border-radius:10px;font-size:28px;line-height:1;color:#0057c8}
.mobile-drawer>a,.drawer-accordion{
  display:flex;width:100%;align-items:center;justify-content:space-between;
  padding:13px 10px;border:0;background:#fff;color:#11233b;text-decoration:none;
  font-size:16px;font-weight:500;border-bottom:1px solid #eef3fb;text-align:left;
}
.drawer-sub{display:none;padding:8px 0 10px 12px;background:#f6f9ff;border-radius:12px}
.drawer-sub.open{display:block}
.drawer-parent{display:block;color:#0057c8;font-weight:600;text-decoration:none;padding:10px 8px}
.drawer-child{display:block;color:#445;text-decoration:none;padding:8px 8px 8px 20px}
.drawer-cta{display:grid;gap:10px;margin-top:18px}
.drawer-cta .cta-hotline,.drawer-cta .cta-zalo{width:100%!important;min-width:0!important}
@media(max-width:980px){
  body.mobile-menu-open .nav{display:none!important}
  .nav{display:none!important}
}

/* Product cards equal alignment and hover image */
.products,.product-grid{
  align-items:stretch!important;
}
.card>a{
  height:100%;
  display:flex!important;
  flex-direction:column!important;
}
.card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
}
.product-img{
  height:260px!important;
  position:relative!important;
  overflow:hidden!important;
  background:#fff!important;
  flex:0 0 260px!important;
}
.product-img img{
  position:absolute;inset:0;
  width:100%!important;height:100%!important;
  object-fit:contain!important;
  transition:opacity .28s ease,transform .28s ease!important;
}
.product-img .img-hover{opacity:0}
.card:hover .product-img .img-main{opacity:0;transform:scale(1.03)}
.card:hover .product-img .img-hover{opacity:1;transform:scale(1.03)}
.card-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1!important;
}
.card-body h3{
  min-height:58px!important;
  margin-bottom:10px!important;
}
.card-body .muted{
  min-height:64px!important;
}
.card-body .price{
  margin-top:auto!important;
}
.card-body .mini-btn{
  align-self:flex-start!important;
  margin-top:12px!important;
}
@media(max-width:980px){
  .product-img{height:180px!important;flex-basis:180px!important}
  .card-body h3{min-height:auto!important}
  .card-body .muted{min-height:auto!important}
}

/* Lightbox second-level zoom */
.image-lightbox img{
  transition:transform .12s ease!important;
  cursor:zoom-in!important;
}
.image-lightbox img.deep-zoom{
  transform:scale(2.45)!important;
  cursor:zoom-out!important;
}
.image-lightbox img.tap-zoom{
  transform:scale(2.2)!important;
  cursor:zoom-out!important;
}

/* Admin filter full width, 3 columns */
.product-filter-card{width:100%!important;max-width:none!important}
.product-filter-grid{width:100%!important;max-width:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* ===== FINAL FONT + MEGA + ZOOM PATCH ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
:root{--kingf-blue:#0057c8;--kingf-red:#e60012;--kingf-dark:#0a3470}
body,button,input,select,textarea{font-family:"SVN-Gilroy","Gilroy","Montserrat","Be Vietnam Pro",Arial,sans-serif!important;font-weight:400!important}
.container{max-width:1440px!important}

/* Header font giống mẫu */
.header{height:94px!important}
.logo-text{font-size:18px!important;font-weight:700!important;color:var(--kingf-blue)!important;line-height:1.05!important}
.nav{gap:40px!important;max-width:860px!important}
.nav a{font-family:"SVN-Gilroy","Gilroy","Montserrat","Be Vietnam Pro",Arial,sans-serif!important;font-size:22px!important;font-weight:500!important;color:var(--kingf-blue)!important;letter-spacing:-.45px!important}
.nav a.active{color:var(--kingf-red)!important;font-weight:500!important}
.nav a.active:after{height:3px!important;background:var(--kingf-red)!important;border-radius:999px!important}
.has-mega>a{display:inline-flex!important;align-items:center!important;gap:8px!important}
.chev{display:inline-block!important;width:8px!important;height:8px!important;border-right:1.8px solid currentColor!important;border-bottom:1.8px solid currentColor!important;transform:rotate(45deg) translateY(-2px)!important;margin-left:2px!important}
.chev::before{content:none!important}

/* Mega menu đúng cấu trúc cha-con */
.mega-menu{top:94px!important;padding:34px 0 38px!important;background:#fff!important;border-top:1px solid var(--kingf-blue)!important;box-shadow:0 28px 70px rgba(0,38,90,.14)!important}
.mega-grid{display:grid!important;grid-template-columns:repeat(3,minmax(240px,1fr))!important;gap:44px!important;align-items:start!important}
.mega-grid>.mega-col{display:flex!important;flex-direction:column!important;gap:0!important;min-width:0!important}
.mega-title{font-size:20px!important;font-weight:600!important;color:var(--kingf-blue)!important;margin:0 0 14px!important;padding:0!important;line-height:1.25!important}
.mega-title:after{display:none!important}
.mega-link{font-size:17px!important;font-weight:400!important;color:#333!important;padding:8px 0 8px 16px!important;line-height:1.35!important;position:relative!important}
.mega-link:before{content:"";position:absolute;left:2px;top:18px;width:5px;height:5px;border-radius:50%;background:#bdd2f2}
.mega-link:after{display:none!important}
.mega-link:hover{color:var(--kingf-blue)!important;transform:translateX(2px)}

/* Banner/benefit */
.slider-btn{display:none!important}
.trust{margin-top:52px!important;transform:none!important}

/* Card đồng hàng + hover ảnh */
.card>a{height:100%;display:flex!important;flex-direction:column!important}
.card{height:100%!important}
.product-img{height:270px!important;flex:0 0 270px!important;background:#fff!important;position:relative!important;overflow:hidden!important}
.product-img img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;transition:opacity .28s ease,transform .28s ease!important}
.product-img .img-hover{opacity:0!important}
.card:hover .product-img .img-main{opacity:0!important;transform:scale(1.03)!important}
.card:hover .product-img .img-hover{opacity:1!important;transform:scale(1.03)!important}
.card-body{display:flex!important;flex-direction:column!important;flex:1!important}
.card-body h3{min-height:62px!important}
.card-body .muted{min-height:68px!important}
.card-body .price{margin-top:auto!important}

/* Lightbox zoom chuyên nghiệp */
body.lightbox-open{overflow:hidden!important}
.image-lightbox{position:fixed!important;inset:0!important;background:rgba(0,0,0,.66)!important;z-index:99999!important;display:none!important;align-items:center!important;justify-content:center!important;padding:24px 58px!important;overflow:hidden!important}
.image-lightbox.open{display:flex!important}
.image-lightbox img{display:block!important;max-width:94vw!important;max-height:90vh!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;transform:translate(0,0) scale(1)!important;transition:transform .18s ease!important;cursor:zoom-in!important;user-select:none!important;-webkit-user-drag:none!important}
.image-lightbox img.deep-zoom,.image-lightbox img.tap-zoom{transform:translate(0,0) scale(1)!important}
.image-lightbox img.is-zoomed{cursor:grab!important;transition:transform .08s linear!important}
.image-lightbox img.is-dragging{cursor:grabbing!important;transition:none!important}
.lightbox-close{position:fixed!important;right:18px!important;top:14px!important;width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:#333!important;font-size:28px!important;line-height:42px!important;cursor:pointer!important;z-index:100002!important}
.lightbox-count{position:fixed!important;left:18px!important;top:18px!important;color:#fff!important;font-size:15px!important;font-weight:500!important;z-index:100002!important;background:rgba(0,0,0,.35)!important;padding:6px 10px!important;border-radius:999px!important}
.lightbox-help{position:fixed!important;left:50%!important;bottom:18px!important;transform:translateX(-50%)!important;color:#fff!important;background:rgba(0,0,0,.38)!important;padding:8px 14px!important;border-radius:999px!important;font-size:13px!important;z-index:100002!important}
.lightbox-nav{position:fixed!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;height:44px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.88)!important;color:#333!important;font-size:32px!important;line-height:44px!important;cursor:pointer!important;z-index:100002!important}
.lightbox-prev{left:16px!important}.lightbox-next{right:16px!important}

h1,h2,h3,.section-head h2,.detail h1{font-family:"SVN-Gilroy","Gilroy","Montserrat","Be Vietnam Pro",Arial,sans-serif!important;letter-spacing:-.65px!important}
.detail h1,.section-head h2{font-weight:700!important}
p,.muted,.breadcrumb,.spec,.checks span{font-family:"SVN-Gilroy","Gilroy","Montserrat","Be Vietnam Pro",Arial,sans-serif!important}

@media(max-width:980px){
  .header{height:auto!important}
  .logo-text{font-size:13px!important}
  .nav{display:none!important}
  .home-slider{padding:12px 12px 0!important}
  .slider-track{height:150px!important;border-radius:16px!important}
  .slide img{object-fit:cover!important;object-position:center!important}
  .trust{margin-top:18px!important}
  .product-img{height:180px!important;flex-basis:180px!important}
  .image-lightbox{padding:18px!important}
  .image-lightbox img{max-width:96vw!important;max-height:84vh!important}
  .lightbox-help{display:none!important}
  .lightbox-nav{width:38px!important;height:38px!important;font-size:28px!important}
}


/* ===== KINGF FINAL PATCH: local font hook, exact mega menu, CTA modern, zoom fixed ===== */
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy-Medium.woff2") format("woff2");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy-SemiBold.woff2") format("woff2");
  font-weight:600;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy-Bold.woff2") format("woff2");
  font-weight:700;font-style:normal;font-display:swap;
}
html,body,button,input,select,textarea,a,p,span,div,h1,h2,h3,h4,h5,h6,table{
  font-family:"SVN-Gilroy","Gilroy","Montserrat",Arial,sans-serif!important;
}
.nav a{font-size:21px!important;font-weight:500!important}
.logo-text{font-size:18px!important;font-weight:700!important}
.has-mega:hover>a,
.has-mega>a.active{
  color:#e60012!important;
}
.has-mega:hover>a:after,
.has-mega>a.active:after{
  opacity:1!important;
  transform:scaleX(1)!important;
  background:#e60012!important;
}
.chev{
  width:8px!important;height:8px!important;
  border-right:1.8px solid currentColor!important;
  border-bottom:1.8px solid currentColor!important;
  transform:rotate(45deg) translateY(-2px)!important;
  margin-left:4px!important;
}

/* Exact mega menu like reference */
.mega-menu{
  top:94px!important;
  padding:0!important;
  background:transparent!important;
  border-top:0!important;
  box-shadow:none!important;
}
.mega-wrap{
  display:grid!important;
  grid-template-columns:360px 1fr!important;
  gap:52px!important;
  align-items:start!important;
  max-width:1440px!important;
  background:#fff!important;
  border-top:1px solid #0057c8!important;
  border-radius:0 0 8px 8px!important;
  padding:28px 42px 44px!important;
  box-shadow:0 30px 70px rgba(0,0,0,.16)!important;
}
.mega-banner{
  display:block!important;
  width:100%!important;
  height:385px!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#eaf3ff!important;
}
.mega-banner img{
  width:100%!important;height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  transition:transform .35s ease!important;
}
.mega-banner:hover img{transform:scale(1.03)!important}
.mega-cats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(190px,1fr))!important;
  gap:42px 62px!important;
  align-items:start!important;
}
.mega-group{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  min-width:0!important;
}
.mega-title{
  display:block!important;
  color:#333!important;
  font-size:19px!important;
  font-weight:700!important;
  margin:0 0 14px!important;
  padding:0!important;
  line-height:1.3!important;
}
.mega-title:before,.mega-title:after,.mega-link:before,.mega-link:after{
  display:none!important;content:none!important;
}
.mega-link{
  display:block!important;
  color:#444!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.35!important;
  padding:0 0 13px!important;
  margin:0!important;
}
.mega-link:hover{
  color:#0057c8!important;
  transform:none!important;
}
@media(max-width:980px){
  .mega-menu{display:none!important}
}

/* CTA section modern buttons */
.cta-section .cta-actions,
.consult-actions,
.cta-actions{
  display:flex!important;
  gap:22px!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
}
.cta-section .btn-call,
.cta-section .btn-zalo,
.consult-actions .btn-call,
.consult-actions .btn-zalo,
.cta-actions .btn-call,
.cta-actions .btn-zalo,
.cta-hotline,
.cta-zalo{
  min-width:230px!important;
  height:76px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  padding:0 28px 0 18px!important;
  color:#fff!important;
  text-decoration:none!important;
  border:0!important;
  position:relative!important;
  overflow:hidden!important;
  box-shadow:0 18px 34px rgba(0,72,160,.22)!important;
}
.cta-section .btn-call,
.consult-actions .btn-call,
.cta-actions .btn-call,
.cta-hotline{
  background:linear-gradient(135deg,#ff8c00 0%,#ff5b00 100%)!important;
  box-shadow:0 18px 36px rgba(255,104,0,.28)!important;
}
.cta-section .btn-zalo,
.consult-actions .btn-zalo,
.cta-actions .btn-zalo,
.cta-zalo{
  background:linear-gradient(135deg,#167cff 0%,#0057c8 100%)!important;
  box-shadow:0 18px 36px rgba(0,92,220,.28)!important;
}
.cta-section .btn-call:before,
.cta-section .btn-zalo:before,
.consult-actions .btn-call:before,
.consult-actions .btn-zalo:before,
.cta-actions .btn-call:before,
.cta-actions .btn-zalo:before,
.cta-hotline:before,
.cta-zalo:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.cta-section .btn-call i,
.cta-section .btn-zalo i,
.consult-actions .btn-call i,
.consult-actions .btn-zalo i,
.cta-actions .btn-call i,
.cta-actions .btn-zalo i,
.cta-hotline i,
.cta-zalo i{
  width:56px!important;height:56px!important;
  border-radius:50%!important;
  background:#fff!important;
  color:inherit!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 56px!important;
  font-style:normal!important;
  font-size:24px!important;
  font-weight:800!important;
  box-shadow:0 8px 18px rgba(0,0,0,.12)!important;
}
.cta-hotline i,
.btn-call i{color:#ff6a00!important}
.cta-zalo i,
.btn-zalo i{color:#087bff!important;font-size:15px!important}
.cta-section .btn-call b,
.cta-section .btn-zalo b,
.consult-actions .btn-call b,
.consult-actions .btn-zalo b,
.cta-actions .btn-call b,
.cta-actions .btn-zalo b,
.cta-hotline b,
.cta-zalo b{
  display:block!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1.05!important;
  font-weight:800!important;
  letter-spacing:.2px!important;
  text-transform:uppercase!important;
}
.cta-section .btn-call small,
.cta-section .btn-zalo small,
.consult-actions .btn-call small,
.consult-actions .btn-zalo small,
.cta-actions .btn-call small,
.cta-actions .btn-zalo small,
.cta-hotline small,
.cta-zalo small{
  display:block!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:700!important;
  margin-top:3px!important;
}

/* product lightbox zoom: remove old scale blockers */
.image-lightbox img.deep-zoom,
.image-lightbox img.tap-zoom{
  transform:inherit!important;
}
.image-lightbox img.is-zoomed{
  cursor:grab!important;
}
.image-lightbox img.is-dragging{
  cursor:grabbing!important;
}
@media(max-width:760px){
  .cta-section .cta-actions,.consult-actions,.cta-actions{justify-content:center!important}
  .cta-section .btn-call,.cta-section .btn-zalo,.consult-actions .btn-call,.consult-actions .btn-zalo,.cta-actions .btn-call,.cta-actions .btn-zalo,.cta-hotline,.cta-zalo{
    min-width:100%!important;height:68px!important;
  }
  .cta-section .btn-call b,.cta-section .btn-zalo b,.consult-actions .btn-call b,.consult-actions .btn-zalo b,.cta-actions .btn-call b,.cta-actions .btn-zalo b,.cta-hotline b,.cta-zalo b{
    font-size:20px!important;
  }
}


/* ===== KINGF URL + HEADER FINAL STRUCTURE ===== */
.site-header{
  height:94px!important;
  background:#fff!important;
  border-bottom:1px solid #dfeaf8!important;
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
}
.header-inner{
  height:94px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  position:relative!important;
}
.topbar,.header{all:unset}
.logo.logo-stack{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;min-width:180px!important}
.main-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:38px!important;flex:1!important;height:94px!important}
.main-nav>a,.main-nav .has-mega>a{
  height:94px!important;
  display:flex!important;
  align-items:center!important;
  color:#0057c8!important;
  font-size:21px!important;
  font-weight:500!important;
  line-height:1!important;
  position:relative!important;
  text-decoration:none!important;
}
.main-nav>a.active{color:#e60012!important}
.main-nav>a.active:after{
  content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;background:#e60012!important;border-radius:4px!important;
}
.main-nav .has-mega>a{color:#0057c8!important}
.main-nav .has-mega:hover>a,
.main-nav .has-mega>a.active{color:#e60012!important}
.main-nav .has-mega>a:after,
.main-nav .has-mega:hover>a:after,
.main-nav .has-mega>a.active:after{display:none!important;content:none!important}
.header-search{width:260px!important;flex:0 0 260px!important}
.header-search .search{width:100%!important;height:44px!important;border-radius:999px!important;border:1px solid #cfe0f5!important;padding:0 20px!important}

.has-mega{position:static!important;height:94px!important;display:flex!important;align-items:center!important}
.has-mega .mega-menu{
  position:absolute!important;
  left:50%!important;
  top:94px!important;
  transform:translateX(-50%) translateY(8px)!important;
  width:min(1320px,calc(100vw - 88px))!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
  background:transparent!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  z-index:1001!important;
}
.has-mega:hover .mega-menu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateX(-50%) translateY(0)!important;
}
.mega-inner{
  display:grid!important;
  grid-template-columns:350px 1fr!important;
  gap:50px!important;
  min-height:430px!important;
  background:#fff!important;
  border-top:1px solid #0057c8!important;
  border-radius:0 0 10px 10px!important;
  padding:28px 44px 42px!important;
  box-shadow:0 36px 80px rgba(0,0,0,.18)!important;
}
.mega-wrap{all:unset!important}
.mega-banner{
  display:block!important;
  width:100%!important;
  height:390px!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#f3f7ff!important;
  align-self:start!important;
}
.mega-banner img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
}
.mega-cats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(180px,1fr))!important;
  gap:48px 66px!important;
  align-content:start!important;
  padding-top:18px!important;
}
.mega-group{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
.mega-title{
  color:#333!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1.25!important;
  margin:0 0 16px!important;
  padding:0!important;
  text-decoration:none!important;
}
.mega-link{
  color:#3f3f3f!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.35!important;
  padding:0 0 13px!important;
  margin:0!important;
  text-decoration:none!important;
}
.mega-title:before,.mega-title:after,.mega-link:before,.mega-link:after{display:none!important;content:none!important}
.mega-title:hover,.mega-link:hover{color:#0057c8!important}

/* CTA clean: chỉ giữ Gọi ngay + Chat Zalo */
.product-actions .btn-red,
.detail-actions .btn-red,
a[href*="contact"][class*="btn-red"]{display:none!important}
.cta-zalo i,.btn-zalo i{
  color:#087bff!important;
  background:#fff!important;
  font-size:14px!important;
  letter-spacing:-.4px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.cta-zalo i::before,.btn-zalo i::before{content:none!important}
.cta-hotline b,.cta-zalo b{text-align:left!important}
.cta-hotline,.cta-zalo{white-space:nowrap!important}

/* Detail gallery sync/zoom final helper */
.gallery-main .zoom-badge{pointer-events:none!important}

@media(max-width:1024px){
  .site-header{height:72px!important}
  .header-inner{height:72px!important}
  .main-nav,.header-search{display:none!important}
  .logo.logo-stack{min-width:0!important}
  .has-mega .mega-menu{display:none!important}
}


/* ===== KINGF FINAL DETAIL/CLEAN URL EXTRA ===== */
.swatch.active,.color-dot.active{
  outline:3px solid #087bff!important;
  outline-offset:3px!important;
}
.cta-zalo i{
  text-indent:0!important;
  font-size:13px!important;
  font-weight:800!important;
  min-width:56px!important;
}
.breadcrumb a{color:inherit;text-decoration:none}
.breadcrumb a:hover{color:#0057c8}


/* ===== KINGF FINAL: SVN-Gilroy OTF hook + header/nav/menu fixes ===== */
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy Regular"), local("SVN Gilroy Regular"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy Regular.otf") format("opentype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy Medium"), local("SVN Gilroy Medium"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy SemiBold"), local("SVN Gilroy SemiBold"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy SemiBold.otf") format("opentype");
  font-weight:600;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy Bold"), local("SVN Gilroy Bold"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy Bold.otf") format("opentype");
  font-weight:700;font-style:normal;font-display:swap;
}
html,body,button,input,select,textarea,a,p,span,div,h1,h2,h3,h4,h5,h6,table,td,th,label{
  font-family:"SVN-Gilroy","SVN Gilroy","Gilroy","Montserrat",Arial,sans-serif!important;
}

.site-header{
  height:84px!important;background:#fff!important;border-bottom:1px solid #dfeaf8!important;
  position:sticky!important;top:0!important;z-index:1000!important;
}
.header-inner{
  height:84px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:28px!important;position:relative!important;
}
.topbar,.header{all:unset}
.logo.logo-stack{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-decoration:none!important;min-width:180px!important;
}
.logo-text{font-size:18px!important;font-weight:700!important}
.main-nav{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:36px!important;
  flex:1!important;height:84px!important;
}
.main-nav>a,.main-nav .has-mega>a{
  height:84px!important;display:flex!important;align-items:center!important;
  color:#0057c8!important;font-size:19px!important;font-weight:600!important;line-height:1!important;
  position:relative!important;text-decoration:none!important;
}
.main-nav>a.active,.main-nav .has-mega>a.active{color:#e60012!important}
.main-nav>a:after,.main-nav>a.active:after,
.main-nav>a:hover:after,.main-nav .has-mega>a:after,
.main-nav .has-mega:hover>a:after,.main-nav .has-mega>a.active:after{
  display:none!important;content:none!important;
}
.main-nav .has-mega:hover>a{color:#e60012!important}
.header-search{width:260px!important;flex:0 0 260px!important}
.header-search .search{
  width:100%!important;height:44px!important;border-radius:999px!important;border:1px solid #cfe0f5!important;padding:0 20px!important;
}
.chev{
  width:8px!important;height:8px!important;border-right:1.8px solid currentColor!important;border-bottom:1.8px solid currentColor!important;
  transform:rotate(45deg) translateY(-2px)!important;margin-left:6px!important;
}

.has-mega{position:static!important;height:84px!important;display:flex!important;align-items:center!important}
.has-mega .mega-menu{
  position:absolute!important;left:50%!important;top:84px!important;
  transform:translateX(-50%) translateY(8px)!important;width:min(1320px,calc(100vw - 88px))!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
  background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;z-index:1001!important;
}
.has-mega:hover .mega-menu{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateX(-50%) translateY(0)!important;
}
.mega-inner{
  display:grid!important;grid-template-columns:350px 1fr!important;gap:50px!important;
  min-height:430px!important;background:#fff!important;border-top:1px solid #0057c8!important;
  border-radius:0 0 10px 10px!important;padding:28px 44px 42px!important;
  box-shadow:0 36px 80px rgba(0,0,0,.18)!important;
}
.mega-wrap{all:unset!important}
.mega-banner{
  display:block!important;width:100%!important;height:390px!important;border-radius:8px!important;overflow:hidden!important;background:#f3f7ff!important;
}
.mega-banner img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.mega-cats{
  display:grid!important;grid-template-columns:repeat(3,minmax(180px,1fr))!important;gap:44px 64px!important;
  align-content:start!important;padding-top:18px!important;
}
.mega-group{display:flex!important;flex-direction:column!important;align-items:flex-start!important;break-inside:avoid!important}
.mega-title{
  color:#333!important;font-size:18px!important;font-weight:700!important;line-height:1.25!important;margin:0 0 14px!important;
  padding:0!important;text-decoration:none!important;
}
.mega-link{
  color:#444!important;font-size:18px!important;font-weight:400!important;line-height:1.35!important;
  padding:0 0 12px!important;margin:0!important;text-decoration:none!important;
}
.mega-title:before,.mega-title:after,.mega-link:before,.mega-link:after{display:none!important;content:none!important}
.mega-title:hover,.mega-link:hover{color:#0057c8!important}

/* CTA + product detail clean */
.product-actions .btn-red,.detail-actions .btn-red,a[href*="contact"][class*="btn-red"]{display:none!important}
.swatch.active,.color-dot.active{outline:3px solid #087bff!important;outline-offset:3px!important}
.breadcrumb a{color:inherit;text-decoration:none}.breadcrumb a:hover{color:#0057c8}

@media(max-width:1024px){
  .site-header{height:72px!important}
  .header-inner{height:72px!important}
  .main-nav,.header-search{display:none!important}
  .logo.logo-stack{min-width:0!important}
  .has-mega .mega-menu{display:none!important}
}


/* ===== KINGF CAREFUL FINAL OVERRIDE ===== */
/* Font hook: copy licensed files into assets/fonts/SVN-Gilroy/ */
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy Regular"),local("SVN Gilroy Regular"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy Regular.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Regular.otf") format("opentype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy Medium"),local("SVN Gilroy Medium"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype");
  font-weight:500 599;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy SemiBold"),local("SVN Gilroy SemiBold"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy SemiBold.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-SemiBold.otf") format("opentype");
  font-weight:600 699;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:local("SVN-Gilroy Bold"),local("SVN Gilroy Bold"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy Bold.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Bold.otf") format("opentype");
  font-weight:700;font-style:normal;font-display:swap;
}
html,body,button,input,select,textarea,a,p,span,div,h1,h2,h3,h4,h5,h6,table,td,th,label{
  font-family:"SVN-Gilroy","SVN Gilroy","Gilroy","Montserrat",Arial,sans-serif!important;
}

/* Header active state: no underline, product red on all product pages */
.site-header .main-nav>a,
.site-header .main-nav .has-mega>a{
  font-size:19px!important;
  font-weight:550!important;
  color:#0057c8!important;
  text-decoration:none!important;
}
.site-header .main-nav>a.active,
.site-header .main-nav .has-mega>a.active,
.site-header .main-nav .has-mega:hover>a{
  color:#e60012!important;
  font-weight:550!important;
}
.site-header .main-nav>a:after,
.site-header .main-nav>a.active:after,
.site-header .main-nav>a:hover:after,
.site-header .main-nav .has-mega>a:after,
.site-header .main-nav .has-mega>a.active:after,
.site-header .main-nav .has-mega:hover>a:after{
  display:none!important;
  content:none!important;
  opacity:0!important;
}

/* Mega menu: each parent is one compact block, children directly under parent */
.site-header .mega-inner{
  display:grid!important;
  grid-template-columns:350px 1fr!important;
  gap:50px!important;
  min-height:430px!important;
  align-items:start!important;
}
.site-header .mega-cats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  align-content:start!important;
  column-gap:70px!important;
  row-gap:34px!important;
  padding-top:20px!important;
}
.site-header .mega-cats .mega-group{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.site-header .mega-cats .mega-title,
.site-header .mega-cats .mega-link{
  height:auto!important;
  min-height:0!important;
  display:block!important;
  padding:0!important;
  text-decoration:none!important;
  line-height:1.35!important;
  transform:none!important;
}
.site-header .mega-cats .mega-title{
  color:#333!important;
  font-size:18px!important;
  font-weight:700!important;
  margin:0 0 13px!important;
}
.site-header .mega-cats .mega-link{
  color:#444!important;
  font-size:18px!important;
  font-weight:400!important;
  margin:0 0 11px!important;
}
.site-header .mega-cats .mega-title:hover,
.site-header .mega-cats .mega-link:hover{color:#0057c8!important}

/* Product lightbox: real zoom inside popup */
.image-lightbox{
  position:fixed!important;
  inset:0!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(0,0,0,.68)!important;
  z-index:5000!important;
  overflow:hidden!important;
  padding:24px!important;
}
.image-lightbox.open{display:flex!important}
body.lightbox-open{overflow:hidden!important}
.image-lightbox .lightbox-close{
  position:fixed!important;
  top:18px!important;
  right:24px!important;
  width:42px!important;
  height:42px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#111!important;
  font-size:28px!important;
  line-height:42px!important;
  cursor:pointer!important;
  z-index:5010!important;
}
.image-lightbox img{
  max-width:92vw!important;
  max-height:88vh!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  transform:translate(0,0) scale(1)!important;
  transform-origin:center center!important;
  transition:transform .16s ease!important;
  cursor:zoom-in!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
  will-change:transform!important;
}
.image-lightbox img.is-zoomed{
  cursor:grab!important;
  transition:none!important;
}
.image-lightbox img.is-dragging{cursor:grabbing!important}
.swatch.active,.color-dot.active{
  outline:3px solid #087bff!important;
  outline-offset:3px!important;
}


/* ===== KINGF FONT + MENU + MEGA + ZOOM FIX 20260610 ===== */
/* Đặt các file font vào: assets/fonts/SVN-Gilroy/ */
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy Regular.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Regular.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype");
  font-weight:550;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy SemiBold.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-SemiBold.otf") format("opentype");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:url("../fonts/SVN-Gilroy/SVN-Gilroy Bold.otf") format("opentype"),
      url("../fonts/SVN-Gilroy/SVN-Gilroy-Bold.otf") format("opentype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

html,body,button,input,select,textarea,a,p,span,div,h1,h2,h3,h4,h5,h6,table,td,th,label,strong,b,small{
  font-family:"SVN-Gilroy",Arial,sans-serif!important;
}

/* Header menu */
.site-header .main-nav>a,
.site-header .main-nav .has-mega>a{
  font-family:"SVN-Gilroy",Arial,sans-serif!important;
  font-size:19px!important;
  font-weight:550!important;
  color:#0057c8!important;
  text-decoration:none!important;
}
.site-header .main-nav>a.active,
.site-header .main-nav .has-mega>a.active,
.site-header .main-nav .has-mega:hover>a{
  color:#e60012!important;
  font-weight:550!important;
}
.site-header .main-nav a:after,
.site-header .main-nav>a:after,
.site-header .main-nav>a.active:after,
.site-header .main-nav>a:hover:after,
.site-header .main-nav .has-mega>a:after,
.site-header .main-nav .has-mega>a.active:after,
.site-header .main-nav .has-mega:hover>a:after{
  display:none!important;
  content:none!important;
  opacity:0!important;
}

/* Mega menu compact parent-child blocks */
.site-header .mega-inner{
  display:grid!important;
  grid-template-columns:350px 1fr!important;
  gap:50px!important;
  min-height:430px!important;
  align-items:start!important;
}
.site-header .mega-cats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  align-content:start!important;
  column-gap:70px!important;
  row-gap:34px!important;
  padding-top:20px!important;
}
.site-header .mega-cats .mega-group{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.site-header .mega-cats .mega-title,
.site-header .mega-cats .mega-link{
  height:auto!important;
  min-height:0!important;
  display:block!important;
  padding:0!important;
  text-decoration:none!important;
  line-height:1.35!important;
}
.site-header .mega-cats .mega-title{
  color:#333!important;
  font-size:18px!important;
  font-weight:700!important;
  margin:0 0 13px!important;
}
.site-header .mega-cats .mega-link{
  color:#444!important;
  font-size:18px!important;
  font-weight:400!important;
  margin:0 0 11px!important;
}
.site-header .mega-cats .mega-title:hover,
.site-header .mega-cats .mega-link:hover{
  color:#0057c8!important;
}

/* Lightbox zoom */
.image-lightbox{
  position:fixed!important;
  inset:0!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(0,0,0,.68)!important;
  z-index:5000!important;
  overflow:hidden!important;
  padding:24px!important;
}
.image-lightbox.open{display:flex!important}
body.lightbox-open{overflow:hidden!important}
.image-lightbox .lightbox-close{
  position:fixed!important;
  top:18px!important;
  right:24px!important;
  width:42px!important;
  height:42px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#111!important;
  font-size:28px!important;
  line-height:42px!important;
  cursor:pointer!important;
  z-index:5010!important;
}
.image-lightbox img{
  max-width:92vw!important;
  max-height:88vh!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  transform:translate(0,0) scale(1)!important;
  transform-origin:center center!important;
  transition:transform .16s ease!important;
  cursor:zoom-in!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
  will-change:transform!important;
}
.image-lightbox img.is-zoomed{
  cursor:grab!important;
  transition:none!important;
}
.image-lightbox img.is-dragging{
  cursor:grabbing!important;
}
.swatch.active,.color-dot.active{
  outline:3px solid #087bff!important;
  outline-offset:3px!important;
}


/* ===== KINGF BIG UPDATE: banners, vertical products, accordion sidebar ===== */
.site-header .main-nav>a,.site-header .main-nav .has-mega>a{font-weight:600!important;color:#0057c8!important}
.site-header .main-nav>a:hover,.site-header .main-nav .has-mega:hover>a,.site-header .main-nav>a.active,.site-header .main-nav .has-mega>a.active{color:#e60012!important;font-weight:600!important}.site-header .main-nav a:after{display:none!important;content:none!important}.site-header .mega-cats .mega-title{color:#0057c8!important;font-weight:700!important}.site-header .mega-cats .mega-link{color:#0057c8!important;font-weight:600!important}.site-header .mega-cats .mega-title:hover,.site-header .mega-cats .mega-link:hover{color:#e60012!important}
.home-slider{width:100%!important;aspect-ratio:1920/720!important;height:auto!important;max-height:none!important;background:#eef6ff!important;overflow:hidden!important}.home-slider .slider-track,.home-slider .slide{height:100%!important}.home-slider img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;background:#eef6ff!important}.page-hero{background:#edf6ff!important}.page-hero-inner{min-height:340px!important}.page-hero-inner>img{aspect-ratio:1440/420!important;width:min(54%,760px)!important;height:auto!important;object-fit:contain!important;object-position:center center!important;background:#edf6ff!important;border-radius:18px!important}.mega-banner img{object-fit:contain!important;background:#f4f8ff!important}
.products,.product-grid{align-items:stretch}.card .product-img{aspect-ratio:3/4!important;height:auto!important;background:#f7fbff!important;border-bottom:1px solid #e4effb!important;overflow:hidden!important}.card .product-img img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}.card .product-img .img-hover{position:absolute!important;inset:0!important;opacity:0!important;transition:.25s}.card:hover .product-img .img-hover{opacity:1!important}.article-img{aspect-ratio:16/9!important}.article-img img{object-fit:cover!important}
.detail.detail-vertical{grid-template-columns:minmax(360px,520px) 1fr!important;align-items:start!important}.detail-vertical .gallery-main{aspect-ratio:3/4!important;height:auto!important;max-height:720px!important;background:#fff!important}.detail-vertical .gallery-main img{width:100%!important;height:100%!important;object-fit:contain!important}.detail-vertical .thumbs img{width:86px!important;height:114px!important;object-fit:cover!important}.image-lightbox img{max-width:92vw!important;max-height:92vh!important;object-fit:contain!important}
.listing-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.listing-top h2{margin:6px 0 0!important;color:#0057c8!important;font-size:34px!important;text-transform:uppercase}.listing-breadcrumb{font-weight:600;color:#64748b;margin-bottom:8px}.listing-breadcrumb a{color:#64748b}.sort-form{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.sort-form span{font-size:16px;color:#111}.sort-form select{height:44px;border:1px solid #d3e1f2;border-radius:0;padding:0 16px;min-width:220px;background:#fff}.pagination{display:flex;gap:8px;justify-content:center;margin:32px 0;flex-wrap:wrap}.pagination a{padding:10px 14px;border:1px solid #d6e2f0;border-radius:10px;font-weight:700;color:#0752bd;background:#fff}.pagination a.active{background:#0752bd;color:#fff}.home-listing-info{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.home-listing-info span{color:#333;font-weight:500}
.sidebar h3{font-size:20px!important;margin-bottom:18px!important}.cat-accordion{display:flex;flex-direction:column;gap:8px}.cat-parent-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.cat-parent,.cat-child{display:flex!important;align-items:center!important;gap:10px!important;color:#0c2340!important;border-radius:10px!important;line-height:1.35!important}.cat-parent{font-size:17px!important;font-weight:700!important;padding:11px 10px!important;flex:1}.cat-child{font-size:16px!important;font-weight:600!important;padding:8px 10px 8px 28px!important}.cat-parent.active,.cat-child.active{background:#e7f1ff!important;color:#0057c8!important}.radio-dot{width:15px;height:15px;border:1.5px solid #b9cbe3;border-radius:50%;display:inline-block;position:relative;flex:0 0 15px}.active>.radio-dot:after{content:"";position:absolute;inset:3px;background:#0057c8;border-radius:50%}.cat-toggle{border:0;background:transparent;color:#333;font-size:24px;width:32px;height:32px;line-height:28px;cursor:pointer}.cat-children{display:none;flex-direction:column;margin-top:4px;margin-bottom:8px}.cat-group.open .cat-children{display:flex}.filter-extra{margin-top:22px}.filter-sidebar{font-size:16px!important}
@media(max-width:900px){.page-hero-inner{grid-template-columns:1fr!important}.page-hero-inner>img{width:100%!important}.listing-top{display:block}.sort-form{margin-top:14px}.detail.detail-vertical{grid-template-columns:1fr!important}.home-slider{aspect-ratio:1/1!important}}


/* ===== KINGF FINAL PATCH: external font + radio + menu weights ===== */
/* 
  Font ưu tiên tải từ thư mục dùng chung:
  C:\xampp\htdocs\kingf_assets\fonts\SVN-Gilroy\
  URL: /kingf_assets/fonts/SVN-Gilroy/...
  Nếu không có, fallback về thư mục local của web:
  /kingf_uniform_php/assets/fonts/SVN-Gilroy/...
*/
@font-face{
  font-family:"SVN-Gilroy";
  src:
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy Regular.otf") format("opentype"),
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy-Regular.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy Regular.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy-Regular.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy Medium.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy-Medium.otf") format("opentype");
  font-weight:550;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy SemiBold.otf") format("opentype"),
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy-SemiBold.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy SemiBold.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy-SemiBold.otf") format("opentype");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SVN-Gilroy";
  src:
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy Bold.otf") format("opentype"),
    url("/kingf_assets/fonts/SVN-Gilroy/SVN-Gilroy-Bold.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy Bold.otf") format("opentype"),
    url("../fonts/SVN-Gilroy/SVN-Gilroy-Bold.otf") format("opentype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
html,body,button,input,select,textarea,a,p,span,div,h1,h2,h3,h4,h5,h6,table,td,th,label,strong,b,small{
  font-family:"SVN-Gilroy",Arial,sans-serif!important;
}

/* Header + mega menu weights */
.site-header .main-nav>a,
.site-header .main-nav .has-mega>a{
  font-family:"SVN-Gilroy",Arial,sans-serif!important;
  font-size:19px!important;
  font-weight:550!important;
  color:#0057c8!important;
  text-decoration:none!important;
}
.site-header .main-nav>a:hover,
.site-header .main-nav .has-mega:hover>a,
.site-header .main-nav>a.active,
.site-header .main-nav .has-mega>a.active{
  color:#e60012!important;
  font-weight:550!important;
}
.site-header .main-nav a:after,
.site-header .main-nav>a:after,
.site-header .main-nav>a.active:after,
.site-header .main-nav>a:hover:after,
.site-header .main-nav .has-mega>a:after,
.site-header .main-nav .has-mega>a.active:after,
.site-header .main-nav .has-mega:hover>a:after{
  display:none!important;
  content:none!important;
  opacity:0!important;
}

/* Mega menu: cha hơi đậm, con thường để phân cấp rõ */
.site-header .mega-cats .mega-title{
  color:#0057c8!important;
  font-size:18px!important;
  font-weight:550!important;
  margin:0 0 13px!important;
}
.site-header .mega-cats .mega-link{
  color:#0057c8!important;
  font-size:18px!important;
  font-weight:400!important;
  margin:0 0 11px!important;
}
.site-header .mega-cats .mega-title:hover,
.site-header .mega-cats .mega-link:hover{
  color:#e60012!important;
}

/* Sidebar category accordion: chỉ giữ 1 nút tròn, ẩn radio thật */
.filter-panel input[type="radio"],
.category-filter input[type="radio"],
.sidebar-cats input[type="radio"],
.cat-tree input[type="radio"],
.cat-node input[type="radio"],
.cat-link input[type="radio"],
.category-sidebar input[type="radio"],
.filters input[type="radio"]{
  position:absolute!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

/* Nếu trong label đang có span custom radio thì dùng nó làm nút duy nhất */
.cat-link .radio,
.cat-item .radio,
.filter-radio,
.fake-radio,
.radio-dot{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  border:1.5px solid #b7cbe8!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  margin-right:9px!important;
}
.cat-link.active .radio,
.cat-item.active .radio,
.active .filter-radio,
.active .fake-radio,
.active .radio-dot{
  border-color:#087bff!important;
}
.cat-link.active .radio:after,
.cat-item.active .radio:after,
.active .filter-radio:after,
.active .fake-radio:after,
.active .radio-dot:after{
  content:""!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#087bff!important;
  display:block!important;
}

.cat-parent,
.cat-link.parent,
.sidebar-cats .parent,
.cat-tree .parent{
  font-size:17px!important;
  font-weight:550!important;
}
.cat-child,
.cat-link.child,
.sidebar-cats .child,
.cat-tree .child{
  font-size:16.5px!important;
  font-weight:400!important;
}


/* ===== KINGF FINAL FIX: sidebar one radio + clear parent/child hierarchy ===== */
/* Lỗi 2 nút tròn do rule cũ .sidebar a:before tạo thêm 1 vòng tròn.
   Chỉ giữ span .radio-dot trong markup. */
.filter-sidebar .cat-accordion a::before,
.filter-sidebar .cat-accordion a:before,
.sidebar.filter-sidebar .cat-accordion a::before,
.sidebar.filter-sidebar .cat-accordion a:before,
.cat-accordion .cat-parent::before,
.cat-accordion .cat-parent:before,
.cat-accordion .cat-child::before,
.cat-accordion .cat-child:before{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}

/* Chặn mọi radio thật nếu có */
.filter-sidebar .cat-accordion input[type="radio"],
.sidebar.filter-sidebar input[type="radio"]{
  position:absolute!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

/* Nút tròn duy nhất */
.filter-sidebar .cat-accordion .radio-dot{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  border:1.5px solid #b9cbe3!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  margin:0 8px 0 0!important;
  position:relative!important;
}
.filter-sidebar .cat-accordion a.active .radio-dot{
  border-color:#075bd8!important;
}
.filter-sidebar .cat-accordion a.active .radio-dot::after{
  content:""!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#075bd8!important;
  display:block!important;
  position:static!important;
  inset:auto!important;
}

/* Sidebar category typography */
.filter-sidebar .cat-accordion{
  gap:10px!important;
}
.filter-sidebar .cat-parent-row{
  align-items:center!important;
}
.filter-sidebar .cat-parent{
  font-size:17px!important;
  font-weight:550!important;
  color:#0c2340!important;
  padding:10px 10px!important;
  gap:8px!important;
  border-radius:10px!important;
  line-height:1.28!important;
}
.filter-sidebar .cat-child{
  font-size:16px!important;
  font-weight:400!important;
  color:#0c2340!important;
  padding:8px 10px 8px 24px!important;
  gap:8px!important;
  border-radius:10px!important;
  line-height:1.32!important;
}
.filter-sidebar .cat-parent.active,
.filter-sidebar .cat-child.active{
  background:#e7f1ff!important;
  color:#0057c8!important;
}
.filter-sidebar .cat-toggle{
  font-weight:400!important;
  color:#111!important;
  font-size:22px!important;
  width:30px!important;
  min-width:30px!important;
}

/* Mega menu: phân biệt cha/con rõ hơn */
.site-header .mega-cats .mega-title{
  color:#0057c8!important;
  font-size:17px!important;
  font-weight:600!important;
  text-transform:uppercase!important;
  letter-spacing:.2px!important;
  margin:0 0 14px!important;
}
.site-header .mega-cats .mega-link{
  color:#2f65a6!important;
  font-size:17px!important;
  font-weight:400!important;
  margin:0 0 10px!important;
  padding-left:14px!important;
  position:relative!important;
}
.site-header .mega-cats .mega-link::before{
  content:"›"!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  background:none!important;
  color:#8aacd8!important;
  transform:none!important;
  font-weight:400!important;
}
.site-header .mega-cats .mega-title:hover,
.site-header .mega-cats .mega-link:hover{
  color:#e60012!important;
}


/* ===== KINGF MOBILE + FILTER + FULL BANNER FINAL PATCH ===== */

/* Full hero banner: ảnh phủ toàn vùng, text nằm một bên */
.page-hero{
  padding:0!important;
  background:#eaf4ff!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.page-hero .page-hero-inner{
  max-width:none!important;
  width:100%!important;
  min-height:420px!important;
  display:flex!important;
  align-items:center!important;
  position:relative!important;
  overflow:hidden!important;
  padding:0!important;
}
.page-hero .page-hero-inner::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg,rgba(232,244,255,.97) 0%,rgba(232,244,255,.93) 31%,rgba(232,244,255,.68) 50%,rgba(232,244,255,.12) 100%)!important;
  z-index:1!important;
  pointer-events:none!important;
}
.page-hero .page-hero-content,
.page-hero .page-hero-inner > div:first-child{
  position:relative!important;
  z-index:2!important;
  width:min(1180px,calc(100% - 36px))!important;
  margin:0 auto!important;
  max-width:1180px!important;
  padding:70px 18px!important;
}
.page-hero .page-hero-content h1,
.page-hero .page-hero-inner > div:first-child h1{
  max-width:560px!important;
}
.page-hero .page-hero-content p,
.page-hero .page-hero-inner > div:first-child p{
  max-width:620px!important;
}
.page-hero .page-hero-inner img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center right!important;
  border-radius:0!important;
  z-index:0!important;
}

/* Mobile header menu/search behavior */
.mobile-search-toggle.active{
  background:#eef6ff!important;
  border-color:#0752bd!important;
}
@media(max-width:980px){
  .site-header{position:sticky!important;top:0!important;z-index:200!important;background:#fff!important}
  .header-inner{position:relative!important}
  .header-search{
    display:none!important;
    position:absolute!important;
    left:16px!important;
    right:16px!important;
    top:calc(100% + 8px)!important;
    margin:0!important;
    z-index:210!important;
  }
  .header-search.open,
  body.mobile-search-open .header-search{
    display:block!important;
  }
  .header-search .search{
    width:100%!important;
    height:44px!important;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(8,28,58,.18)!important;
  }
  body.drawer-open .mobile-toggle{
    background:#eef6ff!important;
    border-color:#0752bd!important;
  }
}

/* Product detail CTA: mobile không tràn ngang */
@media(max-width:600px){
  .contact-buttons,
  .product-detail .contact-buttons,
  .detail .contact-buttons,
  .cta-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
  }
  .contact-buttons .cta-hotline,
  .contact-buttons .cta-zalo,
  .cta-actions .cta-hotline,
  .cta-actions .cta-zalo{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:56px!important;
    justify-content:center!important;
    border-radius:999px!important;
  }
}

/* Sidebar filter chỉ giữ danh mục + giá */
.filter-price-only{
  margin-top:22px!important;
}
.filter-price-only .price-filter-group{
  border:1px solid #dce8f6!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:16px!important;
}
.filter-price-only .range-row{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:8px!important;
}
.filter-price-only .range-row input{
  width:100%!important;
  height:42px!important;
  border:1px solid #d5e2f2!important;
  border-radius:10px!important;
  padding:0 10px!important;
}
.range-hint{
  color:#6b7a90!important;
  font-size:13px!important;
  margin-top:8px!important;
}
.filter-price-only .filter-submit{
  display:flex!important;
  gap:10px!important;
  margin-top:12px!important;
}
.filter-price-only .filter-submit .btn{
  flex:1!important;
  text-align:center!important;
  justify-content:center!important;
}

/* Chỉ giữ một nút tròn ở danh mục */
.filter-sidebar .cat-accordion a::before,
.filter-sidebar .cat-accordion a:before,
.sidebar.filter-sidebar .cat-accordion a::before,
.sidebar.filter-sidebar .cat-accordion a:before,
.cat-accordion .cat-parent::before,
.cat-accordion .cat-parent:before,
.cat-accordion .cat-child::before,
.cat-accordion .cat-child:before{
  content:none!important;
  display:none!important;
}
.filter-sidebar .cat-accordion .radio-dot{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  border:1.5px solid #b9cbe3!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  margin:0 8px 0 0!important;
  position:relative!important;
}
.filter-sidebar .cat-accordion a.active .radio-dot{
  border-color:#075bd8!important;
}
.filter-sidebar .cat-accordion a.active .radio-dot::after{
  content:""!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#075bd8!important;
  display:block!important;
  position:static!important;
}

/* Mega menu cha/con rõ cấp hơn */
.site-header .mega-cats .mega-title{
  color:#0057c8!important;
  font-size:17px!important;
  font-weight:600!important;
  text-transform:uppercase!important;
  letter-spacing:.2px!important;
  margin:0 0 14px!important;
}
.site-header .mega-cats .mega-link{
  color:#2f65a6!important;
  font-size:17px!important;
  font-weight:400!important;
  margin:0 0 10px!important;
  padding-left:14px!important;
  position:relative!important;
}
.site-header .mega-cats .mega-link::before{
  content:"›"!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  color:#8aacd8!important;
  border:0!important;
  background:none!important;
  width:auto!important;
  height:auto!important;
}
.site-header .mega-cats .mega-title:hover,
.site-header .mega-cats .mega-link:hover{
  color:#e60012!important;
}

@media(max-width:900px){
  .page-hero .page-hero-inner{
    min-height:280px!important;
  }
  .page-hero .page-hero-inner::before{
    background:linear-gradient(90deg,rgba(232,244,255,.98) 0%,rgba(232,244,255,.9) 56%,rgba(232,244,255,.45) 100%)!important;
  }
  .page-hero .page-hero-content,
  .page-hero .page-hero-inner > div:first-child{
    padding:42px 18px!important;
  }
  .page-hero h1{
    font-size:32px!important;
  }
  .page-hero p{
    font-size:15px!important;
  }
  .filter-toggle{
    display:block!important;
  }
}

/* ===== KINGF CONTENT + 27 PRODUCT UPDATE ===== */
.product-grid .product-img,.products .product-img{height:auto!important;aspect-ratio:3/4!important;flex:0 0 auto!important;background:#f8fbff!important}
.product-grid .product-img img,.products .product-img img{object-fit:cover!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.gallery-main{aspect-ratio:3/4!important;height:auto!important}.gallery-main img{height:100%!important;object-fit:cover!important}.thumbs img{aspect-ratio:3/4!important;height:auto!important;object-fit:cover!important}.detail-vertical{align-items:start!important}
.article-page{max-width:940px;padding:48px 18px 70px}.article-page h1{font-size:44px;line-height:1.18;color:#0752bd;margin:10px 0 12px}.article-meta{color:#6b7890;font-weight:700;margin-bottom:12px}.article-excerpt{font-size:18px;color:#34465a;margin:0 0 22px}.article-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:22px;margin:22px 0 30px;box-shadow:0 18px 40px rgba(7,82,189,.1)}.article-content{font-size:18px;line-height:1.85;color:#1b2a3d}.article-content h2{font-size:30px;color:#0752bd;margin:34px 0 12px;text-transform:none;letter-spacing:-.4px}.article-content h3{font-size:23px;color:#0c2f66;margin:28px 0 10px}.article-content p{margin:0 0 18px}.article-content ul{padding-left:24px}.article-content li{margin-bottom:8px}.article-figure{margin:30px 0;background:#f6faff;border:1px solid #dce8f6;border-radius:20px;overflow:hidden}.article-figure img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.article-figure figcaption{font-size:14px;line-height:1.5;color:#61718a;padding:10px 14px;background:#fff}.about-content-wrap{padding-top:0}.news-grid .article-img{height:auto!important;aspect-ratio:16/10!important}.news-grid .article-img img{object-fit:cover!important}@media(max-width:980px){.article-page{padding:34px 14px 60px}.article-page h1{font-size:30px}.article-content{font-size:16px;line-height:1.75}.article-content h2{font-size:23px}.article-cover,.article-figure{border-radius:16px}.product-grid .product-img,.products .product-img{aspect-ratio:3/4!important;height:auto!important}}
