/* VMPT Premium 2026 V2 / verified WooCommerce floating cart, 2026-11-13 */
.vmpt-v2-floating-cart[hidden]{display:none!important}
.vmpt-v2-floating-cart{position:fixed;right:clamp(14px,2.4vw,30px);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:9998;font-family:Inter,"Segoe UI",Arial,sans-serif;pointer-events:none}
.vmpt-v2-floating-cart__link{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:78px;height:78px;padding:9px 6px;border:2px solid #e6c56a;border-radius:21px;background:linear-gradient(145deg,#2f4960 0%,#24384c 60%,#1c2f40 100%);box-shadow:0 5px 0 #142534,0 14px 28px rgba(12,30,43,.26),0 0 0 4px rgba(212,175,55,.12);color:#fff!important;text-decoration:none!important;pointer-events:auto;transition:transform .25s cubic-bezier(.22,.9,.28,1.4),box-shadow .25s ease,border-color .25s ease;cursor:pointer}
.vmpt-v2-floating-cart__link:hover{transform:translateY(-4px);border-color:#f4d478;box-shadow:0 8px 0 #142534,0 20px 30px rgba(12,30,43,.28),0 0 0 5px rgba(212,175,55,.16);color:#fff!important}
.vmpt-v2-floating-cart__link:focus-visible{outline:4px solid #d4af37;outline-offset:6px}
.vmpt-v2-floating-cart__icon{display:block;width:33px;height:33px;color:#fff;flex:0 0 auto}
.vmpt-v2-floating-cart__title{font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.015em;color:#fff}
.vmpt-v2-floating-cart__count{position:absolute;top:-12px;right:-10px;min-width:29px;height:29px;display:flex;align-items:center;justify-content:center;padding:0 5px;border-radius:50%;background:#d4af37;border:2px solid #fff;color:#1f3345;font-size:13px;font-weight:900;line-height:1;box-shadow:0 3px 12px rgba(10,27,38,.24)}
.vmpt-v2-floating-cart.vmpt-v2-floating-cart--added .vmpt-v2-floating-cart__link{animation:vmpt-v2-cart-bounce .48s cubic-bezier(.2,.8,.25,1.2) 1}
@keyframes vmpt-v2-cart-bounce{0%{transform:translateY(9px) scale(.85);opacity:.2}50%{transform:translateY(-12px) scale(1.06);opacity:1}76%{transform:translateY(2px) scale(.98)}100%{transform:translateY(0) scale(1)}}
@media(max-width:549px){.vmpt-v2-floating-cart{right:14px;bottom:calc(17px + env(safe-area-inset-bottom,0px))}.vmpt-v2-floating-cart__link{width:69px;height:69px;border-radius:18px}.vmpt-v2-floating-cart__icon{width:28px;height:28px}.vmpt-v2-floating-cart__count{min-width:27px;height:27px;font-size:12px}}
@media(hover:none){.vmpt-v2-floating-cart__link:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.vmpt-v2-floating-cart__link{transition:none!important}.vmpt-v2-floating-cart.vmpt-v2-floating-cart--added .vmpt-v2-floating-cart__link{animation:none!important}}

/* Mini-cart opens on hover and closes on mouse leave.
   Panel overlaps icon's hover area slightly to prevent flicker. */
.vmpt-v2-floating-cart .vmpt-v2-floating-cart__panel{
  position:absolute;right:0;bottom:calc(100% - 4px);
  width:min(360px,calc(100vw - 28px));max-height:min(68vh,540px);
  overflow-y:auto;display:block;box-sizing:border-box;
  padding:17px 18px 15px;border:1px solid #dce5eb;
  border-radius:17px;background:#fff;color:#24384c;
  box-shadow:0 14px 40px rgba(21,42,58,.25);
  z-index:2;visibility:hidden;opacity:0;pointer-events:none;
  transform:translateY(8px);
  transition:transform .18s ease,opacity .18s ease,visibility .18s ease;
}
@media(hover:hover) and (pointer:fine){
  .vmpt-v2-floating-cart:hover .vmpt-v2-floating-cart__panel{
   visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)
 }
}
.vmpt-v2-cart-panel__heading{display:block;font-size:18px;font-weight:800;line-height:1.3;color:#24384c;margin-bottom:10px}
.vmpt-v2-cart-panel__items{display:block;list-style:none;padding:0!important;margin:0 0 12px!important}
.vmpt-v2-cart-panel__items li{display:flex;gap:5px;flex-direction:column;padding:9px 0;border-bottom:1px solid #e6ecf0;font-size:13px;line-height:1.35}
.vmpt-v2-cart-panel__name{color:#24384c;font-weight:700}
.vmpt-v2-cart-panel__qty{color:#60717d}
.vmpt-v2-cart-panel__empty{color:#60717d;font-size:12px;margin:8px 0!important}
.vmpt-v2-cart-panel__total{display:flex;justify-content:space-between;gap:12px;margin:12px 0!important;font-size:15px;color:#24384c}
.vmpt-v2-cart-panel__open{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:9px;background:#24384c;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:13px;pointer-events:auto}
.vmpt-v2-cart-panel__open:hover{background:#3c5a71;color:#fff!important}
@media(hover:none),(pointer:coarse){.vmpt-v2-floating-cart .vmpt-v2-floating-cart__panel{display:none!important}}
@media(prefers-reduced-motion:reduce){.vmpt-v2-floating-cart__panel{transition:none!important}}
/* Cart page classic WooCommerce: explicit, nonce-protected clear-all POST. */
.vmpt-v2-clearcart-form{text-align:right;margin:0 0 16px}
.vmpt-v2-clearcart-button{background:#fff!important;color:#873b36!important;
  border:1px solid #cc9e99!important;border-radius:9px!important;
  padding:10px 16px!important;margin:0!important;min-height:43px;
  font-weight:750;cursor:pointer
}
.vmpt-v2-clearcart-button:hover{background:#fff3f1!important}


/* Sitewide white circular cart with a navy counter. */
.vmpt-v2-floating-cart {
  bottom:calc(70px + env(safe-area-inset-bottom,0px));
}
.vmpt-v2-floating-cart__link {
  width:52px;height:52px;padding:0;border:1px solid #dce5eb;border-radius:50%;
  background:#fff;color:#24384c!important;box-shadow:0 5px 18px rgba(36,56,76,.18);
}
.vmpt-v2-floating-cart__link:hover {
  transform:none;border-color:#aebdc9;box-shadow:0 6px 20px rgba(36,56,76,.24);
}
.vmpt-v2-floating-cart__icon {width:24px;height:24px;color:inherit}
.vmpt-v2-floating-cart__title {display:none}
.vmpt-v2-floating-cart__count {
  top:-5px;right:-5px;min-width:23px;height:23px;padding:0 4px;border-radius:999px;
  background:#24384c;color:#fff;font-size:11px;border:2px solid #fff;box-shadow:none;
}

.vmpt-v2-cart-panel__items li {position:relative;padding-inline-end:36px}
.vmpt-v2-cart-panel__remove {
  position:absolute;inset-inline-end:0;top:8px;display:grid;place-items:center;
  width:30px;height:30px;border-radius:50%;font-size:21px;line-height:1;
  color:#873b36;background:#f7eeed;text-decoration:none
}
.vmpt-v2-cart-panel__clear {
  display:block;margin:0 0 9px auto;padding:0 8px;min-height:34px;
  color:#873b36;font-size:13px;text-transform:none
}
.vmpt-v2-cart-panel__error {color:#873b36;font-size:13px}
