/* Unit comparison table (F05) */
:root {
  --cmp-accent: var(--color-primary, #f7941e);
  --cmp-accent-soft: #fff8ec;
  --cmp-accent-soft: color-mix(in srgb, var(--color-primary, #f7941e) 10%, #fff);
  --cmp-accent-tint: #fdf0d8;
  --cmp-accent-tint: color-mix(in srgb, var(--color-primary, #f7941e) 18%, #fff);
  --cmp-accent-dark: #b8770f;
  --cmp-accent-dark: color-mix(in srgb, var(--color-primary, #f7941e) 78%, #000);
  --cmp-accent-hover: #d98a12;
  --cmp-accent-hover: color-mix(in srgb, var(--color-primary, #f7941e) 85%, #000);
}

.cmp-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 8px;
}

.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.cmp-table[data-columns="1"] {
  max-width: 620px;
}

.cmp-table[data-columns="2"] {
  max-width: 860px;
}

.cmp-table[data-columns="2"] .cmp-head {
  width: 50%;
}

.cmp-table[data-columns="3"] .cmp-head {
  width: 33.33%;
}

.cmp-label {
  position: sticky;
  left: 0;
  z-index: 4;
  background: #fff;
  text-align: left;
  font-weight: 600;
  color: #555;
  width: 1%;
  white-space: nowrap;
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
}

.cmp-corner {
  border-bottom: 0;
}

.cmp-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
  border-left: 1px solid #f2f2f2;
  min-width: 170px;
  vertical-align: middle;
}

/* ---- column heads ---- */
.cmp-head {
  position: relative;
  padding: 16px 14px;
  border-left: 1px solid #f2f2f2;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  min-width: 200px;
}

.cmp-thumb {
  display: block;
}

.cmp-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #f2f2f2;
}

.cmp-name {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.cmp-name:hover {
  color: var(--cmp-accent);
}

.cmp-cluster {
  color: #888;
  font-size: 12px;
  margin-top: 2px;
}

.cmp-basis {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef0f3;
  color: #5a6472;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.cmp-sold {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eee;
  color: #777;
  font-size: 11px;
}

.cmp-remove {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 20px;
  width: 26px;
  height: 26px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  color: #444;
  font-size: 16px;
  text-decoration: none;
}

.cmp-remove:hover {
  background: #d9534f;
  color: #fff;
}

/* ---- rows ---- */
.cmp-same td {
  opacity: 0.45;
}

.cmp-same .cmp-label {
  background: #f1f3f6;
  color: #98a0ab;
  font-weight: 500;
}

.cmp-best {
  background: var(--cmp-accent-soft);
  font-weight: 700;
  color: var(--cmp-accent-dark);
}

.cmp-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--cmp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.cmp-row-price td {
  font-size: 16px;
  font-weight: 600;
}

.cmp-none {
  color: #b5b5b5;
}

.cmp-row-cta td {
  border-bottom: 0;
  padding-top: 16px;
}

.cmp-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  background: #25d366;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.cmp-wa:hover {
  background: #1da851;
  color: #fff;
  text-decoration: none;
}

/* ---- "add unit" slot ---- */
.cmp-slot {
  vertical-align: top;
}

.cmp-slot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border: 2px dashed #dcdcdc;
  border-radius: 10px;
  background: #fcfcfc;
  min-height: 200px;
  justify-content: center;
}

.cmp-slot-plus {
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
  color: #bbb;
  font-size: 24px;
  font-weight: 300;
}

.cmp-slot-search {
  position: relative;
  width: 100%;
}

.cmp-slot-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 12px;
  background: #fff;
}

.cmp-slot-input:focus {
  outline: 2px solid var(--cmp-accent);
  outline-offset: -1px;
}

.cmp-slot-scope {
  font-size: 11px;
  color: #999;
  text-align: center;
  line-height: 1.4;
}

.cmp-slot-suggest {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.cmp-slot-suggest li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.cmp-slot-suggest li:hover,
.cmp-slot-suggest li.is-active {
  background: var(--cmp-accent-tint);
}

.cmp-slot-suggest li.is-sold {
  opacity: 0.6;
}

.cmp-slot-suggest img {
  width: 46px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  flex: none;
  background: #f0f0f0;
}

.cmp-slot-text {
  min-width: 0;
}

.cmp-slot-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.cmp-slot-name em {
  font-style: normal;
  color: #999;
  font-weight: 400;
  font-size: 11px;
}

.cmp-slot-meta,
.cmp-slot-price {
  display: block;
  font-size: 11px;
  line-height: 1.4;
}

.cmp-slot-meta {
  color: #999;
}

.cmp-slot-price {
  color: var(--cmp-accent-dark);
  font-weight: 600;
}

.cmp-slot-none {
  padding: 12px 10px;
  color: #999;
  font-size: 12px;
  text-align: center;
  cursor: default;
}

.cmp-slot-standalone {
  max-width: 380px;
  margin: 22px auto 0;
}

/* ---- empty state ---- */
.cmp-empty {
  text-align: center;
  padding: 48px 20px 56px;
  color: #666;
}

.cmp-empty-hint {
  color: #999;
  font-size: 12px;
  margin-top: 4px;
}

.cmp-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 26px;
  border-radius: 6px;
  background: var(--cmp-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.cmp-cta:hover {
  background: var(--cmp-accent-hover);
  color: #fff;
  text-decoration: none;
}

.cmp-cta-ghost {
  background: transparent;
  border: 1px solid #e0e0e0;
  color: #666;
}

.cmp-cta-ghost:hover {
  background: var(--cmp-accent);
  border-color: var(--cmp-accent);
  color: #fff;
}

.cmp-note {
  margin-top: 18px;
  color: #999;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .cmp-label {
    padding: 10px 8px;
    font-size: 11px;
  }
  .cmp-table td {
    min-width: 148px;
    padding: 10px;
  }
  .cmp-head {
    min-width: 170px;
  }
  .cmp-wa span {
    display: none;
  }
  .cmp-wa {
    padding: 10px;
  }
}

/*# sourceMappingURL=compare.css.map */
