.wcvt-variation-table {
  width: auto;
  border-collapse: collapse;
  table-layout: auto;
}

.wcvt-variation-table th,
.wcvt-variation-table td {
  padding: 8px 10px;
  vertical-align: middle;
}

.wcvt-variation-table input[type="number"] {
  width: 80px;
}

.wcvt-actions .button {
  padding: 12px 24px;
  font-size: 16px;
}

.dataTables_filter {
  display: none !important;
}

.wcvt-filters {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.wcvt-filters h3 {
  width: 100%;
}

.wcvt-filters select {
  margin-right: 15px;
  width: 150px !important;
}

.wcvt-filters-wrapper {
  width: 100%;
}

div.entry-summary {
  display: none !important;
}

.wcvt-add-to-cart {
  min-width: 135px;
  text-align: center;
  display: inline-block;
}

.wcvt-loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.wcvt-loading:after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid #999;
  border-top-color: transparent;
  border-radius: 50%;
  animation: wcvt-spin 0.6s linear infinite;
}

@keyframes wcvt-spin {
  to {
    transform: rotate(360deg);
  }
}

td.wcvt-actions {
  /* display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  /* min-width: 345px; */
  /* width: 100%; */
}

.wcvt-remove {
  padding: 5px 10px;
  padding-bottom: 8px;
  margin-left: 6px;
  border-radius: 3px;
  background: #e74c3c;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: 0.15s ease;
  box-shadow: none;
}

.wcvt-remove:hover {
  background: #c0392b;
}

/* Sticky Cart Bar (mobile-first) */
#wcvt-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top: 2px solid #eee;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.12);
  z-index: 999999;
  font-size: 15px;
}

/* Cart button */
#wcvt-cart-bar a.wcvt-cart-btn {
  background: #ffbd4b;
  color: #3d3d3d;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Cart count badge */
#wcvt-cart-bar .wcvt-cart-count {
  background: #e63946;
  color: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  margin-right: 5px;
  font-weight: bold;
  font-size: 13px;
}

/* Desktop refinement */
@media (min-width: 768px) {
  #wcvt-cart-bar {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: auto;
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
}

/* Hide count when empty */
.wcvt-count-hidden {
  visibility: hidden;
}

/* Shopify-style bounce animation */
@keyframes wcvt-bounce {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.25);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.wcvt-cart-bounce {
  animation: wcvt-bounce 0.6s ease-out;
}

#wcvt-cart-bar .wcvt-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wcvt-cart-net {
  font-weight: 600;
  color: #444;
  font-size: 14px;
  margin-right: 16px;
}

#wcvt-cart-bar.wcvt-empty .wcvt-cart-count,
#wcvt-cart-bar.wcvt-empty .wcvt-cart-net {
  visibility: hidden;
}
