/* ============================================================
   calculator-light.css
   Калькулятор ОСВЕЩЕНИЯ ПТИЧНИКА — автономные стили
   Префикс: .light-calc
   ============================================================ */

.light-calc {
  --light-primary: #c9a227;
  --light-primary-dark: #a17e14;
  --light-bg: #f5f7fa;
  --light-card-bg: #ffffff;
  --light-text: #2d3748;
  --light-text-light: #718096;
  --light-border: #e2e8f0;
  --light-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --light-radius: 12px;
  --light-transition: 0.2s ease;
  --light-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --light-white: #ffffff;
  --light-accent: #ea5b1f;

  background-color: var(--light-bg);
  padding: 10px;
  margin-bottom: 20px;
  font-family: var(--light-font);
}

.light-calc * { box-sizing: border-box; }

/* ============ SEO-блок ============ */
.light-calc__seo-block {
  background: var(--light-card-bg);
  border-radius: var(--light-radius);
  box-shadow: var(--light-shadow);
  max-width: 1200px;
  margin: 0 auto 10px;
  padding: 24px 30px;
}
.light-calc__seo-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--light-primary-dark);
  margin: 0 0 10px;
}
.light-calc__seo-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--light-text);
  margin: 0;
}

/* ============ Layout ============ */
.light-calc__main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}
.light-calc__card {
  background: var(--light-card-bg);
  border-radius: var(--light-radius);
  box-shadow: var(--light-shadow);
  flex: 1 1 380px;
  min-width: 0;
  max-width: 560px;
  padding: 30px;
  transition: box-shadow var(--light-transition);
}
.light-calc__card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.light-calc__info-panel {
  background: var(--light-card-bg);
  border-radius: var(--light-radius);
  box-shadow: var(--light-shadow);
  flex: 1 1 420px;
  max-width: 610px;
  padding: 30px;
  transition: box-shadow var(--light-transition);
}
.light-calc__info-panel:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }

/* ============ Поля ============ */
.light-calc__field { margin-bottom: 20px; }
.light-calc__label {
  display: block;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 6px;
  font-size: 15px;
}
.light-calc__select,
.light-calc__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--light-border);
  border-radius: 8px;
  font-size: 16px;
  background-color: #fafbfc;
  color: var(--light-text);
  transition: border-color var(--light-transition), box-shadow var(--light-transition);
  appearance: none;
  -webkit-appearance: none;
}
.light-calc__select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.light-calc__select:focus,
.light-calc__input:focus {
  outline: none;
  border-color: var(--light-primary);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.light-calc__row {
  display: flex;
  gap: 14px;
}
.light-calc__row > * { flex: 1 1 0; min-width: 0; }

/* ============ Результат ============ */
.light-calc__result {
  margin-top: 25px;
  display: none;
  animation: light-calc-fadeIn 0.4s ease;
}
@keyframes light-calc-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.light-calc__result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.light-calc__result-header h3 {
  font-size: 20px;
  color: var(--light-primary-dark);
  margin: 0;
}
.light-calc__result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.light-calc__result-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-border);
  font-size: 15px;
}
.light-calc__result-item > span:not(.light-calc__result-value) {
  max-width: 240px;
}
.light-calc__result-item:last-child { border-bottom: none; }
.light-calc__result-value {
  margin-left: auto;
  font-weight: 600;
  color: var(--light-primary-dark);
  background: #faf1d3;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  text-align: right;
  line-height: 1.3;
}

.light-calc__result-item--main {
  background: #faf1d3;
  margin: 0 -12px;
  padding: 14px 12px;
  border-radius: 8px;
  border-bottom: none;
  font-weight: 600;
}
.light-calc__result-item--main .light-calc__result-value {
  background: var(--light-primary-dark);
  color: #fff;
  font-size: 16px;
  padding: 6px 14px;
}

.light-calc__result-item--hint { opacity: .85; }
.light-calc__result-item--hint .light-calc__icon { color: var(--light-text-light); }

/* ============ Иконки ============ */
.light-calc__icon {
  width: 28px;
  margin-right: 8px;
  font-size: 19px;
  text-align: center;
  color: var(--light-primary-dark);
  flex-shrink: 0;
}

/* ============ Кнопки ============ */
.light-calc__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.light-calc__action-btn {
  background: none;
  border: 1px solid var(--light-border);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  color: var(--light-text-light);
  transition: all var(--light-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.light-calc__action-btn:hover {
  background: #f0f4f8;
  border-color: #cbd5e0;
  color: var(--light-text);
}
.light-calc__action-btn i { font-size: 16px; }

/* ============ Примечания ============ */
.light-calc__notice {
  margin-top: 12px;
  font-size: 14px;
  color: var(--light-text-light);
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 4px solid var(--light-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.light-calc__disclaimer {
  margin: 10px 0 20px;
  font-size: 13px;
  color: #6b7a8a;
  background: #fef9e7;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 4px solid #f1c40f;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

/* ============ CTA ============ */
.light-calc__product-link-container {
  margin-top: 15px;
  text-align: right;
}
.light-calc__product-link {
  display: inline-block;
  background: var(--light-accent);
  color: var(--light-white);
  border: 2px solid var(--light-accent);
  padding: 10px 20px ;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color var(--light-transition), border-color var(--light-transition);
}
.light-calc__product-link:hover {
  color: #fff;
  text-decoration: none;
  background: #dd0017;
  border-color: #dd0017;
  box-shadow: 0 4px 12px rgba(221, 0, 23, 0.4);
}

/* ============ Инфо-панель ============ */
.light-calc__info-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-primary-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.light-calc__info-section { margin-bottom: 25px; }
.light-calc__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.light-calc__info-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--light-text);
}
.light-calc__info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--light-primary-dark);
}

/* ============ Адаптив ============ */
@media (max-width: 900px) {
  .light-calc__main { flex-direction: column; align-items: center; gap: 20px; }
  .light-calc__card { flex: 1 1 auto; width: 100%; max-width: 100%; padding: 20px; }
  .light-calc__info-panel { flex: 1 1 auto; width: 100%; max-width: 100%; padding: 20px; }
  .light-calc__seo-block { padding: 20px; }
  .light-calc__actions { flex-direction: column; align-items: stretch; }
  .light-calc__row { flex-direction: column; gap: 0; }
}