.tool-page { padding: 30px 0; }

/* === КАРТОЧКА === */
.tool {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.tool__photo {
  background: #F0F1F3;
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tool__photo img { width: 100%; height: 100%; object-fit: cover; }

.tool__info { display: flex; flex-direction: column; gap: 14px; }

.tool__title { font-size: 26px; font-weight: 700; line-height: 1.3; }
.tool__model { font-size: 14px; color: var(--text-muted); }
.tool__status { margin: 4px 0; }

.tool__price {
  font-family: Consolas, "Courier New", monospace;
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}
.tool__price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }

.tool__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* === СЕКЦИИ === */
.tool-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}
.tool-section__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* === ХАРАКТЕРИСТИКИ === */
.specs { width: 100%; border-collapse: collapse; }
.specs tr { border-bottom: 1px solid #F0F1F3; }
.specs tr:last-child { border-bottom: none; }
.specs td { padding: 10px 0; font-size: 14px; }
.specs__key { color: var(--text-muted); width: 40%; }
.specs__value { font-weight: 500; }

/* === ФИЛИАЛ ВЫДАЧИ === */
.branch-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F1F3;
}
.branch-card__name { font-size: 16px; font-weight: 700; }
.branch-card__company { font-size: 13px; color: var(--text-muted); }

.branch-card__contacts { list-style: none; }
.branch-card__contacts li { padding: 6px 0; font-size: 14px; }
.branch-card__contacts a { color: var(--accent); font-weight: 500; }

/* === АРЕНДОДАТЕЛЬ === */
.company-card { display: flex; flex-direction: column; gap: 10px; }
.company-card__logo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #F0F1F3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-card__logo img { width: 100%; height: 100%; object-fit: contain; }

.company-card__name { font-size: 16px; font-weight: 700; }
.company-card__desc { font-size: 14px; color: var(--text-muted); }

/* === FAQ === */
.faq { border-bottom: 1px solid #F0F1F3; padding: 12px 0; }
.faq:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-left: 20px;
}
.faq summary::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  transition: transform .15s;
}
.faq[open] summary::before { transform: rotate(90deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  padding-left: 20px;
}

/* === СТАТУС === */
.status--normal { font-size: 14px; }
.status--small { font-size: 12px; }

/* === АДАПТИВ === */
@media (max-width: 960px) {
  .tool { grid-template-columns: 1fr; }
  .branch-card__header { flex-direction: column; align-items: flex-start; }
}
/* === ДРУГИЕ ФИЛИАЛЫ === */
.branch-list { display: flex; flex-direction: column; gap: 10px; }

.branch-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #FAFBFC;
  border: 1px solid #F0F1F3;
  border-radius: 8px;
}

.branch-list__main { flex: 1; min-width: 0; }
.branch-list__name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.branch-list__address { font-size: 13px; color: var(--text-muted); }
.branch-list__hours { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.branch-list__aside {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .branch-list__item { flex-direction: column; align-items: flex-start; }
}
/* === БРОНИРОВАНИЕ === */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.booking-form-wrap .form { margin: 0; }

.booking-total {
  background: #FFF7F2;
  border: 1px solid #FFD8BF;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.booking-total__label {
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
}
.booking-total__value {
  font-family: Consolas, "Courier New", monospace;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.booking-total__note {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

/* === ПРАВАЯ КОЛОНКА === */
.booking-aside { display: flex; flex-direction: column; gap: 16px; }

.booking-tool {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.booking-tool__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: #F0F1F3;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.booking-tool__photo img { width: 100%; height: 100%; object-fit: cover; }
.booking-tool__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}
.booking-tool__name a:hover { color: var(--accent); }
.booking-tool__model {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.booking-tool__price {
  font-family: Consolas, "Courier New", monospace;
  font-size: 22px;
  font-weight: 800;
}
.booking-tool__price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.booking-branch {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.booking-branch__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.booking-branch__name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.booking-branch__address {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
}
.booking-branch__line {
  font-size: 13px;
  padding-top: 4px;
}
.booking-branch__line a { color: var(--accent); font-weight: 500; }

@media (max-width: 860px) {
  .booking-layout { grid-template-columns: 1fr; }
}