.vx-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1080;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.vx-cart-overlay.vx-active {
  visibility: visible;
  opacity: 1;
}
.vx-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 19, 50, 0.4);
}
.vx-cart-card {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 360px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 90px);
  background-color: #FFFFFF;
  color: #171F27;
  border-color: #D8DEE4 !important;
  display: flex;
  flex-direction: column;
  z-index: 1081;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
  transform: translateY(-10px);
  transition: transform 0.25s ease;
}
.vx-cart-overlay.vx-active .vx-cart-card {
  transform: translateY(0);
}
.vx-cart-body {
  overflow-y: auto;
  max-height: 50vh;
  flex-grow: 1;
}
.vx-cart-header {
  border-bottom: 1px solid #D8DEE4;
}
.vx-cart-footer {
  border-top: 1px solid #D8DEE4;
  background-color: #F7F8F9 !important;
}
.vx-cart-item {
  background-color: #FFFFFF;
  border: 1px solid #D8DEE4;
}
.vx-btn-qty {
  width: 26px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: bold;
}
@media (max-width: 576px) {
  .vx-cart-card {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    max-height: 85vh;
    border-radius: 16px 16px 0 0 !important;
    transform: translateY(100%);
  }
  .vx-cart-overlay.vx-active .vx-cart-card {
    transform: translateY(0);
  }
}
/* ===== unified site header ===== */
.wx-header{position:sticky;top:0;z-index:1030;background:#fff;border-bottom:1px solid #D8DEE4;box-shadow:0 2px 10px rgba(13,19,50,.06);margin:0}
.wx-header .navbar{padding:10px 0}
.wx-header-inner{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wx-brand{display:flex;align-items:center;gap:8px;margin:0;padding:0;text-decoration:none}
.wx-logo{width:38px;height:38px;object-fit:contain}
.wx-brand-title{font-weight:900;font-size:19px;letter-spacing:-.02em;color:#171F27}
.wx-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.wx-cart-btn{position:relative;display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px;background:#E5E8F3;border:1px solid #D8DEE4;color:#253EAE;font-weight:700;font-size:14px;cursor:pointer;transition:background-color .15s,color .15s}
.wx-cart-btn i{font-size:20px;line-height:1}
.wx-cart-btn:hover,.wx-cart-btn:focus-visible{background:#253EAE;color:#fff;border-color:#253EAE}
.wx-cart-count{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#253EAE;color:#fff;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.wx-cart-btn:hover .wx-cart-count{background:#fff;color:#253EAE}
.wx-cart-count.is-empty{background:#9AA4B2}
.wx-burger{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #D8DEE4;background:#fff;color:#171F27;font-size:24px;padding:0;cursor:pointer}
.wx-nav .nav-link{color:#171F27;font-weight:700;font-size:15px;padding:8px 12px !important;white-space:nowrap;position:relative;transition:color .15s}
.wx-nav .nav-link:hover,.wx-nav .nav-link:focus,.wx-nav .nav-link.active,.wx-nav .nav-link:visited:hover{color:#253EAE}
.wx-nav .nav-link:visited{color:#171F27}
.wx-nav .nav-link.active,.wx-nav .nav-link.active:visited{color:#253EAE}
@media (min-width:992px){
  .wx-header-inner{flex-wrap:nowrap}
  .wx-actions{margin-left:0}
  .wx-nav-collapse{flex-grow:1}
  .wx-nav{flex-direction:row;gap:2px}
  .wx-nav .nav-link.active::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;background:#253EAE}
}
@media (min-width:992px) and (max-width:1199px){.wx-nav .nav-link{font-size:14px;padding:8px 9px !important}.wx-brand-title{font-size:17px}}
@media (max-width:991px){
  .wx-nav-collapse{flex-basis:100%;width:100%}
  .wx-nav{padding:8px 0 4px;border-top:1px solid #D8DEE4;margin-top:8px}
  .wx-nav .nav-link{padding:12px 4px !important;border-bottom:1px solid #EEF0F4}
  .wx-nav .nav-link.active{background:#F2F4FA;padding-left:12px !important;border-left:3px solid #253EAE}
}
@media (max-width:575px){.wx-cart-label{display:none}.wx-cart-btn{padding:0 10px}.wx-brand-title{font-size:16px}}

/* ===== mini cart extras ===== */
.vx-cart-header{background:#fff}
.vx-thumb{width:56px;height:56px;border:1px solid #D8DEE4;background:#F2F4FA;overflow:hidden;display:block}
.vx-thumb img{width:100%;height:100%;object-fit:cover}
.vx-item-name{color:#171F27;text-decoration:none}
.vx-item-name:hover{color:#253EAE}
.vx-empty-icon{font-size:40px;color:#253EAE;display:block;margin-bottom:8px}
.vx-cart-footer[hidden]{display:none !important}
.vx-cart-overlay .btn-primary{background:#253EAE;border-color:#253EAE;color:#fff}
.vx-cart-overlay .btn-primary:hover{background:#1c3190;color:#fff}

/* ===== add-to-cart toast ===== */
.vx-toast-wrap{position:fixed;right:20px;bottom:20px;z-index:1100;display:flex;flex-direction:column;gap:8px;max-width:360px}
.vx-toast{display:flex;align-items:flex-start;gap:10px;background:#0D1332;color:#fff;padding:12px 16px;font-size:14px;line-height:1.45;box-shadow:0 10px 25px rgba(0,0,0,.25);border-left:4px solid #22c55e;opacity:0;transform:translateY(10px);transition:opacity .25s,transform .25s}
.vx-toast.show{opacity:1;transform:none}
.vx-toast i{color:#22c55e;font-size:20px;line-height:1}
.vx-toast a{color:#9fb3ff;text-decoration:underline;white-space:nowrap}
.btnAddCart.is-added{filter:brightness(1.15)}
@media (max-width:576px){.vx-toast-wrap{left:12px;right:12px;bottom:12px;max-width:none}}

/* ===== quantity selector on product pages ===== */
.wx-qty{display:inline-flex;align-items:center;border:1px solid #D8DEE4;background:#fff;height:44px}
.wx-qty button{width:40px;height:100%;border:0;background:#F2F4FA;color:#171F27;font-size:18px;font-weight:700;cursor:pointer}
.wx-qty button:hover{background:#253EAE;color:#fff}
.wx-qty input{width:52px;height:100%;border:0;text-align:center;font-weight:800;font-size:16px;-moz-appearance:textfield}
.wx-qty input::-webkit-outer-spin-button,.wx-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wx-qty-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.wx-qty-label{font-weight:700;font-size:14px;color:#5A6772}

/* ===== added-to-cart modal ===== */
html.vx-lock,html.vx-lock body{overflow:hidden}
.vx-added-modal{position:fixed;inset:0;z-index:1090;display:flex;align-items:center;justify-content:center;padding:16px;visibility:hidden;opacity:0;transition:opacity .2s,visibility .2s}
.vx-added-modal.vx-active{visibility:visible;opacity:1}
.vx-added-backdrop{position:absolute;inset:0;background:rgba(13,19,50,.62)}
.vx-added-card{position:relative;width:100%;max-width:460px;max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;border:1px solid #D8DEE4;box-shadow:0 24px 60px rgba(0,0,0,.35);padding:24px;transform:translateY(12px) scale(.98);transition:transform .2s}
.vx-added-modal.vx-active .vx-added-card{transform:none}
.vx-added-x{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;background:#F2F4FA;color:#171F27;font-size:22px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.vx-added-x:hover{background:#253EAE;color:#fff}
.vx-added-head{display:flex;align-items:center;gap:10px;padding-right:40px;margin-bottom:18px}
.vx-added-head i{font-size:30px;color:#22c55e;line-height:1}
.vx-added-head h2{font-size:19px;font-weight:800;color:#171F27;margin:0}
.vx-added-body{display:flex;gap:16px;align-items:flex-start;padding:16px;background:#F7F8FC;border:1px solid #E5E8F3}
.vx-added-thumb{width:96px;height:96px;flex:0 0 96px;border:1px solid #D8DEE4;background:#fff;overflow:hidden}
.vx-added-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.vx-added-info{flex:1;min-width:0}
.vx-added-name{font-weight:800;color:#171F27;font-size:16px;line-height:1.35;margin-bottom:8px;overflow-wrap:anywhere}
.vx-added-row{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#5A6772;padding:2px 0}
.vx-added-row b{color:#171F27}
.vx-added-sum{border-top:1px dashed #D8DEE4;margin-top:4px;padding-top:6px}
.vx-added-sum b{color:#253EAE;font-size:16px}
.vx-added-cartinfo{font-size:13px;color:#5A6772;text-align:center;margin:14px 0 16px}
.vx-added-cartinfo b{color:#171F27}
.vx-added-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vx-added-actions .btn{height:48px;display:flex;align-items:center;justify-content:center;border-radius:0}
.vx-added-actions .btn-primary{background:#253EAE;border-color:#253EAE;color:#fff}
.vx-added-actions .btn-primary:hover{background:#1c3190}
@media (max-width:576px){
  .vx-added-card{padding:20px 16px}
  .vx-added-head h2{font-size:17px}
  .vx-added-thumb{width:76px;height:76px;flex-basis:76px}
  .vx-added-actions{grid-template-columns:1fr}
  .vx-added-actions .btn-primary{order:-1}
}
