/* wv-base.css — webvicon 2026-11 layer: nen + khung trang (agent A). Theo nhikhoavicon.com.
   Luu y thu tu nap: header.css + addthis-sharing.css nap SAU file nay (trong body) -> rule khung dung tien to `html ` de thang. */

/* 1. Ghi de bien mau EGA (layout/theme.liquid :root) -> toan site doi mau theo token wv */
:root{
  --text-color:var(--wv-ink);
  --text-secondary-color:var(--wv-ink-3);
  --body-background:var(--wv-bg);
  --primary-color:var(--wv-blue);
  --secondary-color:var(--wv-blue-deep);
  --price-color:var(--wv-blue-deep);
  --label-background:var(--wv-coral);
  --label-color:#fff;
  --addtocart-bg:var(--wv-blue);
  --addtocart-text-color:#fff;
  --cta-color:var(--wv-blue-deep);
  --border-color:var(--wv-line);
  --link-color:var(--wv-blue);
  --subheader-background:var(--wv-blue-deep);
  --header-category-bg:var(--wv-blue);
}

/* 2. Typography + nen trang */
html body{font-family:var(--wv-font);color:var(--wv-ink);background:var(--wv-bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html body button,html body input,html body select,html body textarea,html body .btn{font-family:inherit}
html body h1,html body h2,html body .h1,html body .h2,html body .heading-bar__title,html body .title_page,html body .title-head{font-family:var(--wv-font-display);letter-spacing:-.015em;color:var(--wv-ink)}
html body h3,html body h4,html body h5,html body h6{color:var(--wv-ink)}
html body ::selection{background:var(--wv-honey);color:var(--wv-ink)}
html body a{transition:color .15s ease}
html body a:hover{color:var(--wv-blue)}
html body .rte a,html body .article-content a,html body .page-content a{color:var(--wv-blue)}
html body .rte a:hover,html body .article-content a:hover,html body .page-content a:hover{color:var(--wv-blue-deep)}

/* 3. Vong focus ro (ban phim) */
html body a:focus-visible,html body button:focus-visible,html body input:focus-visible,html body select:focus-visible,
html body textarea:focus-visible,html body [tabindex]:focus-visible,html body .btn:focus-visible{outline:3px solid var(--wv-blue-2);outline-offset:2px;box-shadow:none}
html footer a:focus-visible,html footer button:focus-visible,html footer input:focus-visible{outline-color:var(--wv-honey)}

/* 4. Nut — tien ich chung cho moi agent: .wv-btn + bien the */
.wv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 24px;border-radius:var(--wv-r-pill);
  font-family:var(--wv-font);font-weight:600;font-size:15px;line-height:1.2;letter-spacing:-.005em;white-space:nowrap;border:1.5px solid transparent;
  cursor:pointer;text-decoration:none!important;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.wv-btn svg{width:18px;height:18px;flex:none}
.wv-btn-primary{background:var(--wv-blue);color:#fff!important;box-shadow:0 10px 24px -10px rgba(30,111,184,.55)}
.wv-btn-primary:hover{background:var(--wv-blue-deep);color:#fff!important;transform:translateY(-1px);box-shadow:0 16px 32px -12px rgba(30,111,184,.5)}
.wv-btn-honey{background:var(--wv-honey);color:var(--wv-ink)!important}
.wv-btn-honey:hover{background:#F5A623;color:var(--wv-ink)!important;transform:translateY(-1px)}
.wv-btn-ghost{background:transparent;color:var(--wv-ink)!important;border-color:var(--wv-line)}
.wv-btn-ghost:hover{border-color:var(--wv-blue);color:var(--wv-blue)!important;background:var(--wv-blue-soft)}
@media(prefers-reduced-motion:reduce){.wv-btn,.wv-btn:hover{transition:none;transform:none}}

/* nut chung cua EGA (khong dong vao nut mua tren the SP / trang SP — cua agent B/C) */
html body .btn-main{border-radius:var(--wv-r-pill);background:var(--wv-blue);border-color:var(--wv-blue);color:#fff;font-weight:600;min-height:44px;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
html body .btn-main:hover,html body .btn-main:focus{background:var(--wv-blue-deep);border-color:var(--wv-blue-deep);color:#fff;filter:none}
html body .btn-outline,html body .btn-main-outline,html body .btn-outline-primary{border-radius:var(--wv-r-pill);background:transparent;border:1.5px solid var(--wv-line);color:var(--wv-ink)}
html body .btn-outline:hover,html body .btn-main-outline:hover,html body .btn-outline-primary:hover{border-color:var(--wv-blue);background:var(--wv-blue-soft);color:var(--wv-blue)}
html body .btn-primary{background:var(--wv-blue);border-color:var(--wv-blue)}
html body .btn-primary:hover{background:var(--wv-blue-deep);border-color:var(--wv-blue-deep)}
html body .badge-primary{background:var(--wv-blue)}
html body .text-primary{color:var(--wv-blue)!important}
html body .form-control:focus{border-color:var(--wv-blue-2);box-shadow:0 0 0 3px rgba(46,143,214,.18)}

/* 5. Chong tran ngang + vung cham */
html,body{overflow-x:clip}
@media(max-width:767px){
  html body .row{margin-left:-10px;margin-right:-10px}
  html body .row>[class*="col-"]{padding-left:10px;padding-right:10px}
}

/* 6. HEADER (desktop + dien thoai) */
html .ega-header:not(.header_sticky){background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);
  border-bottom:1px solid var(--wv-line);box-shadow:none}
html .ega-header.active:not(.header_sticky){box-shadow:0 6px 24px -14px rgba(15,32,52,.25)}
@media(min-width:992px){
  html .ega-header:not(.header_sticky) .header-wrap{height:84px;grid-template-columns:200px 1fr 180px}
  html .ega-header:not(.header_sticky) .header-wrap #logo{height:84px}
  html .ega-header:not(.header_sticky) .header-wrap #logo .logo-wrapper img{height:68px;max-height:68px;width:auto}
}
@media(max-width:991px){
  html .ega-header:not(.header_sticky) .header-wrap{height:64px;padding:0 12px;grid-template-columns:44px 1fr auto;gap:8px}
  html .ega-header:not(.header_sticky) .header-wrap #logo{height:64px}
  html .ega-header:not(.header_sticky) .header-wrap #logo .logo-wrapper img{height:46px;max-height:46px;width:auto}
}
/* nut menu (hamburger) — o vuong bo goc 44px */
html .ega-header .toggle-nav{width:44px;height:44px;margin:0!important;padding:13px 11px!important;border-radius:var(--wv-r-sm);background:var(--wv-blue-soft);
  justify-content:space-between;align-items:center;cursor:pointer}
html .ega-header .toggle-nav .bar{width:22px;height:2.5px;border-radius:2px;background:var(--wv-blue-deep)}
html .ega-header .toggle-nav .bar:nth-child(2){width:22px!important}
/* menu ngang giua */
html .ega-header .navigation-horizontal{gap:2px;align-items:center}
html .ega-header .navigation-horizontal>.list-group-item,
html .ega-header .navigation-horizontal>li.menu-item.list-group-item:first-child,
html .ega-header .navigation-horizontal>li.menu-item.list-group-item:nth-child(2){color:var(--wv-ink-2);font-weight:500}
html .ega-header .navigation-horizontal>.list-group-item>a{font-size:15px;font-weight:500;color:var(--wv-ink-2);padding:10px 16px;margin:0;border-radius:var(--wv-r-md);
  background:transparent;transition:color .15s ease,background-color .15s ease}
html .ega-header .navigation-horizontal>.list-group-item>a:after{display:none}
html .ega-header .navigation-horizontal>.list-group-item:hover>a,html .ega-header .navigation-horizontal>.list-group-item>a:focus-visible{color:var(--wv-blue);background:var(--wv-blue-soft)}
html .ega-header .navigation-horizontal>.list-group-item>a i svg{width:12px;height:12px}
html .ega-header .navigation-wrapper{max-height:80px}
/* menu con (desktop) */
html .ega-header .navigation-horizontal .submenu{border-radius:0 0 var(--wv-r-lg) var(--wv-r-lg);border-top:1px solid var(--wv-line);box-shadow:0 24px 48px -24px rgba(15,32,52,.28)}
html body .navigation .submenu__item--main a,html body .navigation .submenu__item a{color:var(--wv-ink)!important;transition:color .15s ease}
html body .navigation .submenu__item--main a:hover,html body .navigation .submenu__item a:hover{color:var(--wv-blue)!important}
@media(min-width:992px){html .ega-header .navigation-horizontal .submenu .submenu__item a{display:block;padding:6px 10px;margin:0 -10px;border-radius:var(--wv-r-sm)}
  html .ega-header .navigation-horizontal .submenu .submenu__item a:hover{background:var(--wv-blue-soft)}}
/* icon phai: tim kiem / tai khoan / gio — nut tron */
html .ega-header .header-wrap .header-right__icons{width:auto;display:flex;align-items:center;justify-content:flex-end;gap:6px}
html .ega-header .header-right__icons .header-icon,html .ega-header .header-right__icons .wishlist-link{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;color:var(--wv-ink);transition:background-color .15s ease,color .15s ease;cursor:pointer;position:relative}
html .ega-header .header-right__icons .header-icon:hover,html .ega-header .header-right__icons .header-icon:focus-visible{background:var(--wv-blue-soft);color:var(--wv-blue)}
html .ega-header .header-right__icons .header-icon svg{width:22px;height:22px}
html .ega-header .header-right__icons #icon-account.d-none{display:none!important}
@media(min-width:768px){html .ega-header .header-right__icons #icon-account.d-md-block{display:inline-flex!important}}
html .ega-header .header-right__icons .mini-cart{display:inline-flex}
html .ega-header .mini-cart>a .count_item{background:var(--wv-coral);color:#fff;font-weight:700;font-size:11px;min-width:18px;height:18px;line-height:18px;
  border-radius:var(--wv-r-pill);padding:0 5px;top:4px;right:2px;box-shadow:0 0 0 2px #fff}
html .ega-header #icon-account .account-action{border-radius:var(--wv-r-md);border:1px solid var(--wv-line);box-shadow:var(--wv-shadow-md)}
html .ega-header #icon-account .account-action a:hover{color:var(--wv-blue)}
html .top-banner{background:var(--wv-blue-deep)!important}
html .top-banner a{color:#fff!important}

/* 7. Bang tim kiem tha xuong (sticky-header.liquid = .header_sticky) */
html .ega-header.header_sticky{background:#fff;box-shadow:0 24px 48px -24px rgba(15,32,52,.35);border-radius:0 0 var(--wv-r-xl) var(--wv-r-xl)}
html .ega-header.header_sticky .ega-header-layer{background:rgba(15,32,52,.55);opacity:1}
html .ega-header.header_sticky .search-bar{display:flex;flex-wrap:nowrap;align-items:center;padding:5px 5px 5px 18px;border:1.5px solid var(--wv-line);border-radius:var(--wv-r-pill);
  background:var(--wv-bg);transition:border-color .2s ease,box-shadow .2s ease}
html .ega-header.header_sticky .search-bar:focus-within{border-color:var(--wv-blue-2);box-shadow:0 0 0 4px rgba(46,143,214,.14);background:#fff}
html .ega-header.header_sticky .search-bar .form-control{height:44px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:16px;color:var(--wv-ink);padding:0}
html .ega-header.header_sticky .search-bar .input-group-btn .btn{width:48px;height:44px;padding:0;border-radius:var(--wv-r-pill)!important;background:var(--wv-blue);border:0;display:inline-flex;align-items:center;justify-content:center}
html .ega-header.header_sticky .search-bar .input-group-btn .btn:hover{background:var(--wv-blue-deep)}
html .ega-header.header_sticky .search-bar .input-group-btn .btn svg,html .ega-header.header_sticky .search-bar .input-group-btn .btn .icon{width:20px!important;height:20px!important;font-size:20px;color:#fff;fill:currentColor}
html .ega-header.header_sticky .search__list{gap:8px;margin-top:14px}
html .ega-header.header_sticky .search__list li{margin:0!important}
html .ega-header.header_sticky .search__list a{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:var(--wv-r-pill);background:var(--wv-blue-soft);
  color:var(--wv-blue-deep);font-size:13.5px;text-decoration:none}
html .ega-header.header_sticky .search__list a:hover{background:var(--wv-blue);color:#fff}

/* 8. Ngan keo menu dien thoai (#mobile-menu, nap cuoi body tu footer.liquid) */
html #mobile-menu{width:min(320px,86vw);background:#fff;box-shadow:none;font-family:var(--wv-font)}
html #mobile-menu.active{box-shadow:24px 0 48px -24px rgba(15,32,52,.35)}
html #mobile-menu .mobile-menu-logo{display:flex;align-items:center;justify-content:flex-start;padding:12px 18px;min-height:68px;
  background:linear-gradient(180deg,var(--wv-blue-soft) 0%,#fff 100%);border-bottom:1px solid var(--wv-line)}
html #mobile-menu .mobile-menu-logo img{max-height:46px;width:auto}
html #mobile-menu .user-menu{background:#fff;color:var(--wv-ink-2);padding:6px 18px;border-bottom:1px solid var(--wv-line-soft);align-items:center}
html #mobile-menu .user-menu .fa-user-circle{font-size:26px;color:var(--wv-blue)}
html #mobile-menu .user-menu .media-body{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap;text-align:left}
html #mobile-menu .user-menu .media-body a,html #mobile-menu .user-menu .media-body small{color:var(--wv-ink);font-weight:600;font-size:15px;min-height:44px;display:inline-flex!important;align-items:center;margin:0;line-height:1.2}
html #mobile-menu .user-menu .media-body small a{color:var(--wv-blue);font-weight:500;font-size:14px}
html #mobile-menu .mobile-menu-body{padding:4px 0}
html #mobile-menu .list-group-item{border:0;background:#fff;color:var(--wv-ink)}
html #mobile-menu .menu-item__link,html #mobile-menu .mobile-menu-body .list-group-item>a{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:12px 18px;
  font-size:16px;font-weight:600;color:var(--wv-ink);border-bottom:1px solid var(--wv-line-soft);background:#fff}
html #mobile-menu .menu-item__link:hover,html #mobile-menu .menu-item__link:active{color:var(--wv-blue);background:var(--wv-blue-soft)}
html #mobile-menu .menu-item__link:after{display:none}
html #mobile-menu .menu-item__link i{color:var(--wv-ink-3)}
html #mobile-menu .submenu{background:#fff}
html #mobile-menu .toggle-submenu{min-height:56px;padding:12px 18px;background:var(--wv-blue-soft);color:var(--wv-blue-deep);font-weight:700;font-size:16px;display:flex;align-items:center}
html #mobile-menu .submenu__item a,html #mobile-menu .submenu__item--main a{display:flex;align-items:center;min-height:48px;padding:10px 18px;font-size:15px}
html #mobile-menu .mobile-menu-footer{background:var(--wv-blue-soft);border-top:1px solid var(--wv-line)!important}
html #mobile-menu .mobile-menu-footer>div{padding:0!important}
html #mobile-menu .mobile-menu-footer a{display:flex;align-items:center;justify-content:center;min-height:52px;color:var(--wv-blue-deep);font-weight:600;font-size:15px}
html #mobile-menu .mobile-menu-footer a:hover{color:var(--wv-blue)}
html #mobile-menu .mobile-menu-footer .border-left{border-left:1px solid var(--wv-line)!important}
html #mobile-menu.active+.menu-overlay{background:rgba(15,32,52,.45)}

/* 9. Breadcrumb */
html body .bread-crumb{background:transparent}
html body .bread-crumb .breadcrumb{background:transparent;font-size:13.5px;color:var(--wv-ink-3)}
html body .bread-crumb .breadcrumb a{color:var(--wv-ink-2)}
html body .bread-crumb .breadcrumb a:hover{color:var(--wv-blue)}
html body .bread-crumb .breadcrumb strong,html body .bread-crumb .breadcrumb .active{color:var(--wv-ink);font-weight:600}

/* 10. FOOTER — nen gradient xanh nhu nhikhoavicon */
html body footer .mid-footer{background:var(--wv-grad);color:rgba(255,255,255,.88);border-top:1px solid rgba(255,255,255,.18);font-size:14.5px;line-height:1.6}
html footer .mid-footer .logo-wrapper img{filter:brightness(0) invert(1)}
html footer .mid-footer .footer-block .footer-title{color:#fff;font-family:var(--wv-font-display);font-size:16px;font-weight:600;letter-spacing:.01em}
html footer .mid-footer .footer-title .fa{color:rgba(255,255,255,.82)}
html footer .mid-footer .link,html footer .mid-footer a{color:rgba(255,255,255,.88);filter:none;transition:color .15s ease}
html footer .mid-footer .link:hover,html footer .mid-footer a:hover{color:var(--wv-honey);filter:none}
html footer .mid-footer .single-contact{color:rgba(255,255,255,.9)}
html footer .mid-footer .single-contact .fa,html footer .mid-footer .single-contact .fas{color:var(--wv-honey)}
html footer .mid-footer .fot_copyright{color:rgba(255,255,255,.82)}
html footer .mid-footer .col-lg-9>.row:last-child{border-top:1px solid rgba(255,255,255,.2);margin-top:24px;padding-top:8px}
html footer .form_newsletter .input-group{flex-wrap:nowrap;padding:4px;border:1px solid rgba(255,255,255,.35);border-radius:var(--wv-r-pill);background:rgba(255,255,255,.12)}
html footer .form_newsletter .form-control{height:44px;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff;padding-left:14px}
html footer .form_newsletter .form-control::placeholder{color:rgba(255,255,255,.72)}
html footer .form_newsletter .button_subscribe{min-height:44px;padding:0 20px;border-radius:var(--wv-r-pill)!important;background:var(--wv-honey)!important;color:var(--wv-ink)!important;
  font-weight:700;border:0}
html footer .form_newsletter .button_subscribe:hover{background:#fff!important}
html footer .follow_option a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
@media(max-width:767px){
  html footer .mid-footer .footer-block .footer-title{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-bottom:0;
    border-bottom:1px solid rgba(255,255,255,.2)}
  html footer .mid-footer .list-menu li a{display:inline-flex;align-items:center;min-height:40px}
  html footer .mid-footer .list-menu li+li{margin-top:0}
  html body footer .mid-footer{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}

/* 11. Nut lien he noi — gom 1 nut bung danh sach (addthis-sharing.liquid .wv-fab) */
html .addThis_listSharing{right:16px;bottom:88px;display:flex;flex-direction:column;align-items:center;gap:12px;opacity:1}
html .addThis_listSharing #back-to-top{position:static;margin:0;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--wv-blue-deep)!important;
  border:1px solid var(--wv-line);box-shadow:var(--wv-shadow-md);line-height:1}
html .addThis_listSharing #back-to-top svg{width:18px;height:18px}
html .addThis_listSharing:has(.wv-fab.is-open) #back-to-top{opacity:0!important;pointer-events:none}
.wv-fab{position:relative}
.wv-fab__btn{position:relative;width:56px;height:56px;border-radius:50%;border:0;padding:0;background:var(--wv-grad);color:#fff;display:flex;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:0 16px 30px -12px rgba(19,74,124,.7);transition:transform .25s ease}
.wv-fab__btn:hover{transform:scale(1.06)}
.wv-fab__ic{width:26px;height:26px;fill:currentColor;position:relative;z-index:1}
.wv-fab__ic--off{display:none}
.wv-fab.is-open .wv-fab__ic--on{display:none}
.wv-fab.is-open .wv-fab__ic--off{display:block}
.wv-fab__pulse{position:absolute;inset:0;border-radius:50%;background:var(--wv-blue-2);animation:wv-pulse 2.4s ease-out infinite;z-index:0}
.wv-fab.is-open .wv-fab__pulse{display:none}
@keyframes wv-pulse{0%{transform:scale(1);opacity:.45}70%,100%{transform:scale(1.6);opacity:0}}
@media(prefers-reduced-motion:reduce){.wv-fab__pulse{animation:none;display:none}}
html .wv-fab #wv-fab-list{position:absolute;right:0;bottom:68px;z-index:3;margin:0;padding:8px;min-width:240px;display:flex;flex-direction:column;gap:2px;
  background:#fff;border:1px solid var(--wv-line);border-radius:var(--wv-r-lg);box-shadow:0 30px 60px -24px rgba(15,32,52,.4);
  opacity:0;visibility:hidden;transform:translateY(10px) scale(.96);transform-origin:bottom right;transition:opacity .2s,transform .25s,visibility .2s}
html .wv-fab.is-open #wv-fab-list{opacity:1;visibility:visible;transform:none}
html .wv-fab #wv-fab-list .addThis_item{margin:0}
html .wv-fab #wv-fab-list .addThis_item+.addThis_item{border-top:1px solid var(--wv-line-soft)}
html .wv-fab #wv-fab-list .addThis_item--icon{display:flex;align-items:center;gap:12px;width:100%;height:auto;min-height:52px;line-height:1.2;padding:7px 12px 7px 8px;
  border-radius:var(--wv-r-md);background:transparent;box-shadow:none;color:var(--wv-ink);text-decoration:none;transition:background-color .2s}
html .wv-fab #wv-fab-list .addThis_item--icon:hover,html .wv-fab #wv-fab-list .addThis_item--icon:focus-visible{background:var(--wv-blue-soft);box-shadow:none;opacity:1}
html .wv-fab #wv-fab-list .addThis_item--icon img,html .wv-fab #wv-fab-list .addThis_item--icon svg{width:38px;height:38px;border-radius:50%;flex:none}
html .wv-fab #wv-fab-list .tooltip-text{position:static;display:block;visibility:visible;opacity:1;transform:none;height:auto;line-height:1.3;padding:0;background:none;
  color:var(--wv-ink);font-size:14.5px;font-weight:600;white-space:nowrap;box-shadow:none}
html .wv-fab #wv-fab-list .tooltip-text:after{display:none}
/* dien thoai: chua cho thanh day (thanh mua cua trang SP) */
@media(max-width:767px){html .addThis_listSharing{right:12px;bottom:calc(84px + env(safe-area-inset-bottom))}}
