.veyx-compare-widget {
  display: grid;
  gap: 10px;
  align-items: start;
}

.veyx-compare-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #0f766e;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.veyx-compare-toggle.is-active {
  background: #fff;
  color: #0f766e;
}

.veyx-compare-toggle[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.veyx-compare-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.veyx-compare-message {
  margin: 0;
  color: #0f766e;
  font-size: 14px;
}

.veyx-compare-message.is-error {
  color: #b91c1c;
}

.veyx-compare-table {
  display: grid;
  gap: 20px;
}

.veyx-compare-table__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.veyx-compare-clear {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d97706;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 600;
  cursor: pointer;
}

.veyx-compare-table__scroll {
  overflow-x: auto;
  border: 1px solid #e7e5e4;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.veyx-compare-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.veyx-compare-table th,
.veyx-compare-table td {
  padding: 16px;
  border-bottom: 1px solid #ece7e1;
  vertical-align: top;
  text-align: left;
}

.veyx-compare-table thead th {
  background: #fcfcfb;
}

.veyx-compare-table tbody th {
  width: 220px;
  color: #44403c;
  font-size: 14px;
}

.veyx-compare-product-card {
  position: relative;
  display: grid;
  gap: 10px;
}

.veyx-compare-product-card > span {
  display: block;
  font-weight: 700;
  color: #0f172a;
}

.veyx-compare-product-card a {
  color: inherit;
  text-decoration: none;
}

.veyx-compare-product-card img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 14px;
}

.veyx-compare-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  cursor: pointer;
}

.veyx-compare-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.veyx-compare-empty {
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  color: #475569;
}

@media (max-width: 767px) {
  .veyx-compare-table th,
  .veyx-compare-table td {
    padding: 12px;
  }

  .veyx-compare-table table {
    min-width: 640px;
  }
}
