/* Kojori Hills Villa — konfiqurator.
   Rejim düymələri app-shell.css-dəki .viewbar.left ilə gəlir. */

/* ---------- əlavə seçimlər ---------- */
.opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  background: var(--surface);
}
.opt:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.opt input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin: 0;
}
.opt b {
  font-weight: 600;
}
.opt small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.opt .p {
  font-family: var(--f-mono);
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- fasad materialı ---------- */
.swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sw {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}
/* rəng datadan gəlir: JS --sw dəyişənini qoyur */
.sw i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sw, var(--line));
}
.sw[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* ---------- yekun qiymət ---------- */
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.total span {
  color: var(--muted);
  font-size: 13px;
}
.total b {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: -.01em;
}

/* ---------- mərtəbə otaq cədvəlləri ---------- */
.levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.levels h4 {
  margin: 0 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

@media (max-width: 520px) {
  .levels {
    grid-template-columns: 1fr;
  }
}
